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",
"section",
"*",
"riscv_elf_select_rtx_section",
"(",
"enum",
"machine_mode",
"mode",
",",
"rtx",
"x",
",",
"unsigned",
"HOST_WIDE_INT",
"align",
")",
"{",
"section",
"*",
"s",
"=",
"default_elf_select_rtx_section",
"(",
"mode",
",",
"x",
",",
... | [
"Return",
"a",
"section",
"for",
"X",
",",
"handling",
"small",
"data",
"."
] | [
"riscv",
"\".rodata.cst\"",
"\".rodata.cst\"",
"0",
"2",
"\".s%s\"",
"1"
] | riscv2 | riscv_elf_select_rtx_section | riscv | CPU | GCC | 4,400 | 130 | 1 | [] |
[
"<s>",
"const",
"TargetRegisterClass",
"*",
"MipsSETargetLowering",
"::",
"getRepRegClassFor",
"(",
"MVT",
"VT",
")",
"const",
"{",
"if",
"(",
"VT",
"==",
"MVT",
"::",
"Untyped",
")",
"return",
"Subtarget",
".",
"hasDSP",
"(",
")",
"?",
"&",
"Mips",
"::",
... | [
"Return",
"the",
"'representative",
"'",
"register",
"class",
"for",
"the",
"specified",
"value",
"type",
"."
] | [
"Mips",
"Mips",
"MVT::Untyped",
"Mips::ACC64DSPRegClass",
"Mips::ACC64RegClass"
] | MipsSEISelLowering (2)4 | getRepRegClassFor | Mips | CPU | LLVM | 4,401 | 46 | 1 | [] |
[
"<s>",
"const",
"MipsTargetLowering",
"*",
"MipsTargetLowering",
"::",
"create",
"(",
"MipsTargetMachine",
"&",
"TM",
",",
"const",
"MipsSubtarget",
"&",
"STI",
")",
"{",
"if",
"(",
"STI",
".",
"inMips16Mode",
"(",
")",
")",
"return",
"llvm",
"::",
"createMi... | [
"This",
"creates",
"an",
"identified",
"struct",
"."
] | [
"Mips",
"Mips",
"Mips",
"Mips",
"Mips",
"Mips",
"Mips",
"Mips"
] | MipsISelLowering106 | create | Mips | CPU | LLVM | 4,402 | 46 | 1 | [] |
[
"<s>",
"void",
"avr_notice_update_cc",
"(",
"rtx",
"body",
"ATTRIBUTE_UNUSED",
",",
"rtx_insn",
"*",
"insn",
")",
"{",
"rtx",
"set",
";",
"enum",
"attr_cc",
"cc",
"=",
"get_attr_cc",
"(",
"insn",
")",
";",
"switch",
"(",
"cc",
")",
"{",
"default",
":",
... | [
"Update",
"the",
"condition",
"code",
"in",
"the",
"INSN",
"."
] | [
"avr",
"1",
"0",
"0"
] | avr4 | avr_notice_update_cc | avr | MPU | GCC | 4,403 | 277 | 1 | [] |
[
"<s>",
"int",
"cr16_initial_elimination_offset",
"(",
"int",
"from",
",",
"int",
"to",
")",
"{",
"cr16_compute_save_regs",
"(",
")",
";",
"cr16_compute_frame",
"(",
")",
";",
"if",
"(",
"(",
"(",
"from",
")",
"==",
"FRAME_POINTER_REGNUM",
")",
"&&",
"(",
"... | [
"Implements",
"the",
"macro",
"INITIAL_ELIMINATION_OFFSET",
",",
"return",
"the",
"OFFSET",
"."
] | [
"cr16",
"0",
"0"
] | cr162 | cr16_initial_elimination_offset | cr16 | MPU | GCC | 4,404 | 123 | 1 | [] |
[
"<s>",
"MachineInstr",
"*",
"X86InstrInfo",
"::",
"foldMemoryOperandImpl",
"(",
"MachineFunction",
"&",
"MF",
",",
"MachineInstr",
"*",
"MI",
",",
"const",
"SmallVectorImpl",
"<",
"unsigned",
">",
"&",
"Ops",
",",
"MachineInstr",
"*",
"LoadMI",
")",
"const",
"... | [
"foldMemoryOperand",
"-",
"Same",
"as",
"the",
"previous",
"version",
"except",
"it",
"allows",
"folding",
"of",
"any",
"load",
"and",
"store",
"from",
"/",
"to",
"any",
"address",
",",
"not",
"just",
"from",
"a",
"specific",
"stack",
"slot",
"."
] | [
"X86",
"X86",
"0",
"16",
"X86::FsANDNPDrr",
"X86::FsANDNPSrr",
"X86::FsANDPDrr",
"X86::FsANDPSrr",
"X86::FsORPDrr",
"X86::FsORPSrr",
"X86::FsXORPDrr",
"X86::FsXORPSrr",
"2",
"0",
"0",
"1",
"1",
"0",
"X86::TEST8rr",
"X86::CMP8ri",
"X86::TEST16rr",
"X86::CMP16ri",
"X86::TES... | X86InstrInfo101 | foldMemoryOperandImpl | X86 | CPU | LLVM | 4,405 | 506 | 1 | [] |
[
"<s>",
"static",
"save_entry",
"*",
"sh5_schedule_saves",
"(",
"HARD_REG_SET",
"*",
"live_regs_mask",
",",
"save_schedule",
"*",
"schedule",
",",
"int",
"offset_base",
")",
"{",
"int",
"align",
",",
"i",
";",
"save_entry",
"*",
"entry",
"=",
"schedule",
"->",
... | [
"Fill",
"in",
"SCHEDULE",
"according",
"to",
"LIVE_REGS_MASK",
".",
"If",
"RESTORE",
"is",
"nonzero",
",",
"use",
"reverse",
"order",
".",
"Returns",
"the",
"last",
"entry",
"written",
"to",
"(",
"not",
"counting",
"the",
"delimiter",
")",
".",
"OFFSET_BASE"... | [
"sh",
"0",
"0",
"3",
"1",
"1",
"0",
"1",
"0",
"2",
"1",
"1",
"0",
"1",
"1",
"1"
] | sh4 | sh5_schedule_saves | sh | CPU | GCC | 4,406 | 466 | 1 | [] |
[
"<s>",
"static",
"bool",
"xstormy16_return_in_memory",
"(",
"const_tree",
"type",
",",
"const_tree",
"fntype",
"ATTRIBUTE_UNUSED",
")",
"{",
"const",
"HOST_WIDE_INT",
"size",
"=",
"int_size_in_bytes",
"(",
"type",
")",
";",
"return",
"(",
"size",
"==",
"-",
"1",... | [
"Worker",
"function",
"for",
"TARGET_RETURN_IN_MEMORY",
"."
] | [
"stormy16",
"1"
] | stormy16 | xstormy16_return_in_memory | stormy16 | CPU | GCC | 4,407 | 36 | 1 | [] |
[
"<s>",
"static",
"unsigned",
"convertToFlagSettingOpc",
"(",
"unsigned",
"Opc",
",",
"bool",
"&",
"Is64Bit",
")",
"{",
"switch",
"(",
"Opc",
")",
"{",
"default",
":",
"llvm_unreachable",
"(",
"\"Opcode has no flag setting equivalent!\"",
")",
";",
"case",
"AArch64... | [
"Return",
"the",
"opcode",
"that",
"set",
"flags",
"when",
"possible",
"."
] | [
"AArch64",
"\"Opcode has no flag setting equivalent!\"",
"AArch64::ADDWri",
"AArch64::ADDSWri",
"AArch64::ADDWrr",
"AArch64::ADDSWrr",
"AArch64::ADDWrs",
"AArch64::ADDSWrs",
"AArch64::ADDWrx",
"AArch64::ADDSWrx",
"AArch64::ANDWri",
"AArch64::ANDSWri",
"AArch64::ANDWrr",
"AArch64::ANDSWrr",... | AArch64InstrInfo17 | convertToFlagSettingOpc | AArch64 | CPU | LLVM | 4,408 | 390 | 1 | [] |
[
"<s>",
"ScheduleDAGInstrs",
"*",
"createMachineScheduler",
"(",
"MachineSchedContext",
"*",
"C",
")",
"const",
"override",
"{",
"const",
"AMDGPUSubtarget",
"&",
"ST",
"=",
"TM",
"->",
"getSubtarget",
"<",
"AMDGPUSubtarget",
">",
"(",
")",
";",
"if",
"(",
"ST",... | [
"Create",
"an",
"instance",
"of",
"ScheduleDAGInstrs",
"to",
"be",
"run",
"within",
"the",
"standard",
"MachineScheduler",
"pass",
"for",
"this",
"function",
"and",
"target",
"at",
"the",
"current",
"optimization",
"level",
"."
] | [
"R600"
] | AMDGPUTargetMachine100 | createMachineScheduler | R600 | GPU | LLVM | 4,409 | 47 | 1 | [] |
[
"<s>",
"bool",
"enablePostRAScheduler",
"(",
")",
"const",
"{",
"return",
"DoILP",
";",
"}",
"</s>"
] | [
"True",
"if",
"the",
"subtarget",
"should",
"run",
"a",
"scheduler",
"after",
"register",
"allocation",
"."
] | [
"TMS320C64X"
] | TMS320C64XSubtarget | enablePostRAScheduler | TMS320C64X | VLIW | LLVM | 4,410 | 10 | 1 | [] |
[
"<s>",
"void",
"machopic_output_stub",
"(",
"FILE",
"*",
"file",
",",
"const",
"char",
"*",
"symb",
",",
"const",
"char",
"*",
"stub",
")",
"{",
"unsigned",
"int",
"length",
";",
"char",
"*",
"binder_name",
",",
"*",
"symbol_name",
",",
"lazy_ptr_name",
... | [
"Generate",
"external",
"symbol",
"indirection",
"stubs",
"(",
"PIC",
"and",
"non-PIC",
")",
"."
] | [
"i386",
"32",
"32",
"32",
"\"L%d$lz\"",
"\"%s:\\n\"",
"\"\\t.indirect_symbol %s\\n\"",
"\"\\thlt ; hlt ; hlt ; hlt ; hlt\\n\"",
"2",
"\"LPC$%d:\\tmovl\\t%s-LPC$%d(%%ecx),%%ecx\\n\"",
"\"\\tjmp\\t*%%ecx\\n\"",
"\"\\tjmp\\t*%s\\n\"",
"\"%s:\\n\"",
"\"\\tlea\\t%s-%s(%%ecx),%%ecx\\n\"",
"\"\... | i386 | machopic_output_stub | i386 | CPU | GCC | 4,411 | 345 | 1 | [] |
[
"<s>",
"static",
"void",
"cr16_override_options",
"(",
"void",
")",
"{",
"flag_delete_null_pointer_checks",
"=",
"0",
";",
"if",
"(",
"flag_exceptions",
")",
"flag_cse_follow_jumps",
"=",
"0",
";",
"if",
"(",
"flag_pic",
"==",
"NEAR_PIC",
")",
"{",
"data_model",... | [
"Parse",
"relevant",
"options",
"and",
"override",
"."
] | [
"cr16",
"0",
"0",
"\"medium\"",
"0",
"\"near\"",
"0",
"\"far\"",
"0",
"\"data-model=far not valid for cr16c architecture\"",
"\"invalid data model option %<-mdata-model=%s%>\""
] | cr16 | cr16_override_options | cr16 | MPU | GCC | 4,412 | 110 | 1 | [] |
[
"<s>",
"BitVector",
"ARMBaseRegisterInfo",
"::",
"getReservedRegs",
"(",
"const",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"const",
"ARMSubtarget",
"&",
"STI",
"=",
"MF",
".",
"getSubtarget",
"<",
"ARMSubtarget",
">",
"(",
")",
";",
"const",
"ARMFrameL... | [
"getReservedRegs",
"-",
"Returns",
"a",
"bitset",
"indexed",
"by",
"physical",
"register",
"number",
"indicating",
"if",
"a",
"register",
"is",
"a",
"special",
"register",
"that",
"has",
"particular",
"uses",
"and",
"should",
"be",
"considered",
"unavailable",
"... | [
"ARM",
"ARM",
"ARM",
"ARM",
"ARM",
"ARM::SP",
"ARM::PC",
"ARM::FPSCR",
"ARM::APSR_NZCV",
"ARM::R9",
"ARM::D31",
"ARM::D16",
"15",
"\"Register list not consecutive!\"",
"0",
"16",
"ARM::D16",
"ARM::GPRPairRegClass"
] | ARMBaseRegisterInfo10 | getReservedRegs | ARM | CPU | LLVM | 4,413 | 275 | 1 | [] |
[
"<s>",
"static",
"void",
"parse_mtune_ctrl_str",
"(",
"struct",
"gcc_options",
"*",
"opts",
",",
"bool",
"dump",
")",
"{",
"if",
"(",
"!",
"opts",
"->",
"x_ix86_tune_ctrl_string",
")",
"return",
";",
"char",
"*",
"next_feature_string",
"=",
"NULL",
";",
"cha... | [
"parse",
"-mtune-ctrl=",
"option",
".",
"When",
"DUMP",
"is",
"true",
",",
"print",
"the",
"features",
"that",
"are",
"explicitly",
"set",
"."
] | [
"i386",
"0",
"\"Explicitly %s feature %s\\n\"",
"\"clear\"",
"\"set\"",
"\"unknown parameter to option %<-mtune-ctrl%>: %s\"",
"1"
] | i386-options | parse_mtune_ctrl_str | i386 | CPU | GCC | 4,414 | 187 | 1 | [] |
[
"<s>",
"Register",
"XCoreRegisterInfo",
"::",
"getFrameRegister",
"(",
"const",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"const",
"XCoreFrameLowering",
"*",
"TFI",
"=",
"getFrameLowering",
"(",
"MF",
")",
";",
"return",
"TFI",
"->",
"hasFP",
"(",
"MF",... | [
"Debug",
"information",
"queries",
"."
] | [
"XCore",
"XCore",
"XCore",
"XCore::R10",
"XCore::SP"
] | XCoreRegisterInfo (2)1 | getFrameRegister | XCore | MPU | LLVM | 4,415 | 39 | 1 | [] |
[
"<s>",
"SparcSubtarget",
"&",
"SparcSubtarget",
"::",
"initializeSubtargetDependencies",
"(",
"StringRef",
"CPU",
",",
"StringRef",
"FS",
")",
"{",
"UseSoftMulDiv",
"=",
"false",
";",
"IsV9",
"=",
"false",
";",
"IsLeon",
"=",
"false",
";",
"V8DeprecatedInsts",
"... | [
"initializeSubtargetDependencies",
"-",
"Initializes",
"using",
"a",
"CPU",
",",
"a",
"TuneCPU",
",",
"and",
"feature",
"string",
"so",
"that",
"we",
"can",
"use",
"initializer",
"lists",
"for",
"subtarget",
"initialization",
"."
] | [
"Sparc",
"Sparc",
"Sparc",
"\"v9\"",
"\"v8\""
] | SparcSubtarget41 | initializeSubtargetDependencies | Sparc | CPU | LLVM | 4,416 | 131 | 1 | [] |
[
"<s>",
"int",
"avr_simple_epilogue",
"(",
"void",
")",
"{",
"return",
"(",
"!",
"frame_pointer_needed",
"&&",
"get_frame_size",
"(",
")",
"==",
"0",
"&&",
"avr_regs_to_save",
"(",
"NULL",
")",
"==",
"0",
"&&",
"!",
"interrupt_function_p",
"(",
"current_functio... | [
"Return",
"1",
"if",
"the",
"function",
"epilogue",
"is",
"just",
"a",
"single",
"``",
"ret",
"''",
"."
] | [
"avr",
"0",
"0"
] | avr3 | avr_simple_epilogue | avr | MPU | GCC | 4,417 | 59 | 1 | [] |
[
"<s>",
"void",
"handle_arm_sve_h",
"(",
")",
"{",
"if",
"(",
"function_table",
")",
"{",
"error",
"(",
"\"duplicate definition of %qs\"",
",",
"\"arm_sve.h\"",
")",
";",
"return",
";",
"}",
"sve_switcher",
"sve",
";",
"for",
"(",
"unsigned",
"int",
"type_i",
... | [
"Implement",
"#",
"pragma",
"GCC",
"aarch64",
"``",
"arm_sve.h",
"''",
"."
] | [
"aarch64",
"\"duplicate definition of %qs\"",
"\"arm_sve.h\"",
"0",
"2",
"1023",
"0"
] | aarch64-sve-builtins | handle_arm_sve_h | aarch64 | CPU | GCC | 4,418 | 132 | 1 | [] |
[
"<s>",
"SDValue",
"MipsTargetLowering",
"::",
"PerformDAGCombine",
"(",
"SDNode",
"*",
"N",
",",
"DAGCombinerInfo",
"&",
"DCI",
")",
"const",
"{",
"SelectionDAG",
"&",
"DAG",
"=",
"DCI",
".",
"DAG",
";",
"unsigned",
"Opc",
"=",
"N",
"->",
"getOpcode",
"(",... | [
"This",
"method",
"will",
"be",
"invoked",
"for",
"all",
"target",
"nodes",
"and",
"for",
"any",
"target-independent",
"nodes",
"that",
"the",
"target",
"has",
"registered",
"with",
"invoke",
"it",
"for",
"."
] | [
"Mips",
"Mips",
"ISD::SDIVREM",
"ISD::UDIVREM",
"ISD::SELECT",
"ISD::AND",
"ISD::OR",
"ISD::ADD"
] | MipsISelLowering (2) | PerformDAGCombine | Mips | CPU | LLVM | 4,419 | 138 | 1 | [] |
[
"<s>",
"void",
"VERegisterInfo",
"::",
"eliminateFrameIndex",
"(",
"MachineBasicBlock",
"::",
"iterator",
"II",
",",
"int",
"SPAdj",
",",
"unsigned",
"FIOperandNum",
",",
"RegScavenger",
"*",
"RS",
")",
"const",
"{",
"assert",
"(",
"SPAdj",
"==",
"0",
"&&",
... | [
"This",
"method",
"must",
"be",
"overriden",
"to",
"eliminate",
"abstract",
"frame",
"indices",
"from",
"instructions",
"which",
"may",
"use",
"them",
"."
] | [
"VE",
"VE",
"0",
"\"Unexpected\"",
"VE",
"1"
] | VERegisterInfo1 | eliminateFrameIndex | VE | CPU | LLVM | 4,420 | 138 | 1 | [] |
[
"<s>",
"bool",
"RedundantInstrElimination",
"::",
"processBlock",
"(",
"MachineBasicBlock",
"&",
"B",
",",
"const",
"RegisterSet",
"&",
")",
"{",
"bool",
"Changed",
"=",
"false",
";",
"for",
"(",
"auto",
"I",
"=",
"B",
".",
"begin",
"(",
")",
",",
"E",
... | [
"processBlock",
"-",
"If",
"there",
"are",
"any",
"predecessors",
"whose",
"control",
"can",
"be",
"threaded",
"through",
"to",
"a",
"successor",
",",
"transform",
"them",
"now",
"."
] | [
"Hexagon",
"1",
"0",
"0",
"0",
"0"
] | HexagonBitSimplify36 | processBlock | Hexagon | DSP | LLVM | 4,421 | 423 | 1 | [] |
[
"<s>",
"bool",
"SITargetLowering",
"::",
"isLegalAddressingMode",
"(",
"const",
"DataLayout",
"&",
"DL",
",",
"const",
"AddrMode",
"&",
"AM",
",",
"Type",
"*",
"Ty",
",",
"unsigned",
"AS",
",",
"Instruction",
"*",
"I",
")",
"const",
"{",
"if",
"(",
"AM",... | [
"isLegalAddressingMode",
"-",
"Return",
"true",
"if",
"the",
"addressing",
"mode",
"represented",
"by",
"AM",
"is",
"legal",
"for",
"this",
"target",
",",
"for",
"a",
"load/store",
"of",
"the",
"specified",
"type",
"."
] | [
"AMDGPU",
"SI",
"SI",
"SI",
"SI",
"4",
"0",
"4",
"SI",
"8",
"4",
"SI",
"32",
"4",
"SI",
"20",
"\"unhandled generation\"",
"0",
"1",
"SI",
"SI",
"SI",
"16",
"0",
"1",
"SI",
"SI",
"\"unhandled address space\""
] | SIISelLowering108 | isLegalAddressingMode | AMDGPU | GPU | LLVM | 4,422 | 348 | 1 | [] |
[
"<s>",
"void",
"mips_restore_gp_from_cprestore_slot",
"(",
"rtx",
"temp",
")",
"{",
"gcc_assert",
"(",
"TARGET_ABICALLS",
"&&",
"TARGET_OLDABI",
"&&",
"epilogue_completed",
")",
";",
"if",
"(",
"!",
"cfun",
"->",
"machine",
"->",
"must_restore_gp_when_clobbered_p",
... | [
"Restore",
"$",
"gp",
"from",
"its",
"save",
"slot",
",",
"using",
"TEMP",
"as",
"a",
"temporary",
"base",
"register",
"if",
"need",
"be",
".",
"This",
"function",
"is",
"for",
"o32",
"and",
"o64",
"abicalls",
"only",
".",
"See",
"mips_must_initialize_gp_p... | [
"mips"
] | mips | mips_restore_gp_from_cprestore_slot | mips | CPU | GCC | 4,423 | 85 | 1 | [] |
[
"<s>",
"void",
"CustomListScheduler",
"::",
"Schedule",
"(",
")",
"{",
"HazardRec",
"->",
"Reset",
"(",
")",
";",
"BuildSchedGraph",
"(",
"AA",
")",
";",
"if",
"(",
"AntiDepBreak",
"!=",
"NULL",
")",
"{",
"unsigned",
"Broken",
"=",
"AntiDepBreak",
"->",
... | [
"Schedule",
"-",
"Order",
"nodes",
"according",
"to",
"selected",
"style",
",",
"filling",
"in",
"the",
"Sequence",
"member",
"."
] | [
"TMS320C64X",
"0",
"\"********** List Scheduling **********\\n\"",
"0"
] | TMS320C64XScheduler | Schedule | TMS320C64X | VLIW | LLVM | 4,424 | 150 | 1 | [] |
[
"<s>",
"TargetLoweringObjectFile",
"*",
"getObjFileLowering",
"(",
")",
"const",
"override",
"{",
"return",
"this",
"->",
"TLOF",
".",
"get",
"(",
")",
";",
"}",
"</s>"
] | [
"Return",
"information",
"about",
"object",
"file",
"lowering",
"."
] | [
"SNES"
] | SNESTargetMachine | getObjFileLowering | SNES | DSP | LLVM | 4,425 | 18 | 1 | [] |
[
"<s>",
"unsigned",
"getNumFixupKinds",
"(",
")",
"const",
"{",
"return",
"2",
";",
"}",
"</s>"
] | [
"Get",
"the",
"number",
"of",
"target",
"specific",
"fixup",
"kinds",
"."
] | [
"MBlaze",
"2"
] | MBlazeAsmBackend1 | getNumFixupKinds | MBlaze | MPU | LLVM | 4,426 | 10 | 1 | [] |
[
"<s>",
"void",
"mips_declare_object_name",
"(",
"FILE",
"*",
"stream",
",",
"const",
"char",
"*",
"name",
",",
"tree",
"decl",
"ATTRIBUTE_UNUSED",
")",
"{",
"ASM_OUTPUT_TYPE_DIRECTIVE",
"(",
"stream",
",",
"name",
",",
"\"object\"",
")",
";",
"size_directive_out... | [
"Implement",
"ASM_DECLARE_OBJECT_NAME",
".",
"This",
"is",
"like",
"most",
"of",
"the",
"standard",
"ELF",
"definitions",
"except",
"that",
"it",
"uses",
"mips_declare_object",
"(",
")",
"to",
"emit",
"the",
"label",
"."
] | [
"mips",
"\"object\"",
"0",
"1",
"\"\"",
"\":\\n\""
] | mips3 | mips_declare_object_name | mips | CPU | GCC | 4,427 | 80 | 1 | [] |
[
"<s>",
"unsigned",
"MipsInstrInfo",
"::",
"getInstSizeInBytes",
"(",
"const",
"MachineInstr",
"&",
"MI",
")",
"const",
"{",
"switch",
"(",
"MI",
".",
"getOpcode",
"(",
")",
")",
"{",
"default",
":",
"return",
"MI",
".",
"getDesc",
"(",
")",
".",
"getSize... | [
"Returns",
"the",
"size",
"in",
"bytes",
"of",
"the",
"specified",
"MachineInstr",
",",
"or",
"~0U",
"when",
"this",
"function",
"is",
"not",
"implemented",
"by",
"a",
"target",
"."
] | [
"Mips",
"Mips",
"0",
"Mips::CONSTPOOL_ENTRY",
"2"
] | MipsInstrInfo | getInstSizeInBytes | Mips | CPU | LLVM | 4,428 | 108 | 1 | [] |
[
"<s>",
"static",
"unsigned",
"getNumInterleavedAccesses",
"(",
"VectorType",
"*",
"VecTy",
",",
"const",
"DataLayout",
"&",
"DL",
")",
"{",
"return",
"(",
"DL",
".",
"getTypeSizeInBits",
"(",
"VecTy",
")",
"+",
"127",
")",
"/",
"128",
";",
"}",
"</s>"
] | [
"Returns",
"the",
"number",
"of",
"interleaved",
"accesses",
"that",
"will",
"be",
"generated",
"when",
"lowering",
"accesses",
"of",
"the",
"given",
"type",
"."
] | [
"AArch64",
"127",
"128"
] | AArch64ISelLowering132 | getNumInterleavedAccesses | AArch64 | CPU | LLVM | 4,429 | 29 | 1 | [] |
[
"<s>",
"X86Subtarget",
"::",
"X86Subtarget",
"(",
"const",
"Triple",
"&",
"TT",
",",
"StringRef",
"CPU",
",",
"StringRef",
"FS",
",",
"const",
"X86TargetMachine",
"&",
"TM",
",",
"unsigned",
"StackAlignOverride",
")",
":",
"X86GenSubtargetInfo",
"(",
"TT",
","... | [
"This",
"constructor",
"initializes",
"the",
"data",
"members",
"to",
"match",
"that",
"of",
"the",
"specified",
"triple",
"."
] | [
"X86",
"X86",
"X86",
"X86",
"X86",
"X86"
] | X86Subtarget45 | X86Subtarget | X86 | CPU | LLVM | 4,430 | 222 | 1 | [] |
[
"<s>",
"void",
"PPCAIXAsmPrinter",
"::",
"emitFunctionBodyEnd",
"(",
")",
"{",
"if",
"(",
"!",
"TM",
".",
"getXCOFFTracebackTable",
"(",
")",
")",
"return",
";",
"emitTracebackTable",
"(",
")",
";",
"if",
"(",
"!",
"TargetLoweringObjectFileXCOFF",
"::",
"Shoul... | [
"Targets",
"can",
"override",
"this",
"to",
"emit",
"stuff",
"after",
"the",
"last",
"basic",
"block",
"in",
"the",
"function",
"."
] | [
"PowerPC",
"PPC",
"0",
"0",
"0",
"0"
] | PPCAsmPrinter (2)3 | emitFunctionBodyEnd | PowerPC | CPU | LLVM | 4,431 | 142 | 1 | [] |
[
"<s>",
"void",
"X86PassConfig",
"::",
"addPreEmitPass",
"(",
")",
"{",
"if",
"(",
"getOptLevel",
"(",
")",
"!=",
"CodeGenOpt",
"::",
"None",
")",
"{",
"addPass",
"(",
"new",
"X86ExecutionDomainFix",
"(",
")",
")",
";",
"addPass",
"(",
"createBreakFalseDeps",... | [
"This",
"pass",
"may",
"be",
"implemented",
"by",
"targets",
"that",
"want",
"to",
"run",
"passes",
"immediately",
"before",
"machine",
"code",
"is",
"emitted",
"."
] | [
"X86",
"X86",
"X86",
"X86",
"X86",
"X86",
"X86",
"X86",
"X86",
"X86",
"X86",
"X86"
] | X86TargetMachine16 | addPreEmitPass | X86 | CPU | LLVM | 4,432 | 114 | 1 | [] |
[
"<s>",
"rtx",
"rs6000_address_for_altivec",
"(",
"rtx",
"x",
")",
"{",
"gcc_assert",
"(",
"MEM_P",
"(",
"x",
")",
")",
";",
"if",
"(",
"!",
"altivec_indexed_or_indirect_operand",
"(",
"x",
",",
"GET_MODE",
"(",
"x",
")",
")",
")",
"{",
"rtx",
"addr",
"... | [
"Given",
"a",
"memory",
"reference",
",",
"if",
"it",
"is",
"not",
"in",
"the",
"form",
"for",
"altivec",
"memory",
"reference",
"instructions",
"(",
"i.e",
".",
"reg",
"or",
"reg+reg",
"addressing",
"with",
"AND",
"of",
"-16",
")",
",",
"convert",
"to",... | [
"rs6000",
"0",
"16"
] | rs60004 | rs6000_address_for_altivec | rs6000 | CPU | GCC | 4,433 | 109 | 1 | [] |
[
"<s>",
"const",
"F2003fSubtarget",
"*",
"getSubtargetImpl",
"(",
"const",
"Function",
"&",
"F",
")",
"const",
"override",
"{",
"return",
"&",
"Subtarget",
";",
"}",
"</s>"
] | [
"Virtual",
"method",
"implemented",
"by",
"subclasses",
"that",
"returns",
"a",
"reference",
"to",
"that",
"target",
"'s",
"TargetSubtargetInfo-derived",
"member",
"variable",
"."
] | [
"F2003f",
"F2003f"
] | F2003fTargetMachine | getSubtargetImpl | F2003f | CPU | LLVM | 4,434 | 18 | 1 | [] |
[
"<s>",
"bool",
"isMem",
"(",
")",
"const",
"override",
"{",
"return",
"isMemImm",
"(",
")",
"||",
"isMemRegImm",
"(",
")",
"||",
"isMemRegReg",
"(",
")",
";",
"}",
"</s>"
] | [
"isMem",
"-",
"Is",
"this",
"a",
"memory",
"operand",
"?"
] | [
"Lanai"
] | LanaiAsmParser (2) | isMem | Lanai | CPU | LLVM | 4,435 | 21 | 1 | [] |
[
"<s>",
"virtual",
"const",
"char",
"*",
"getPassName",
"(",
")",
"const",
"{",
"return",
"\"Hexagon Expand Condsets\"",
";",
"}",
"</s>"
] | [
"getPassName",
"-",
"Return",
"a",
"nice",
"clean",
"name",
"for",
"a",
"pass",
"."
] | [
"Hexagon",
"\"Hexagon Expand Condsets\""
] | HexagonExpandCondsets1 | getPassName | Hexagon | DSP | LLVM | 4,436 | 13 | 1 | [] |
[
"<s>",
"bool",
"X86TargetLowering",
"::",
"isBinOp",
"(",
"unsigned",
"Opcode",
")",
"const",
"{",
"switch",
"(",
"Opcode",
")",
"{",
"case",
"X86ISD",
"::",
"ANDNP",
":",
"case",
"X86ISD",
"::",
"PCMPGT",
":",
"case",
"X86ISD",
"::",
"FMAX",
":",
"case"... | [
"Add",
"x86-specific",
"opcodes",
"to",
"the",
"default",
"list",
"."
] | [
"X86",
"X86",
"X86ISD::ANDNP",
"X86ISD::PCMPGT",
"X86ISD::FMAX",
"X86ISD::FMIN",
"X86ISD::FANDN"
] | X86ISelLowering (2)5 | isBinOp | X86 | CPU | LLVM | 4,437 | 53 | 1 | [] |
[
"<s>",
"static",
"rtx",
"alphaev4_next_group",
"(",
"rtx",
"insn",
",",
"int",
"*",
"pin_use",
",",
"int",
"*",
"plen",
")",
"{",
"int",
"len",
",",
"in_use",
";",
"len",
"=",
"in_use",
"=",
"0",
";",
"if",
"(",
"!",
"INSN_P",
"(",
"insn",
")",
"... | [
"IN_USE",
"is",
"a",
"mask",
"of",
"the",
"slots",
"currently",
"filled",
"within",
"the",
"insn",
"group",
".",
"The",
"mask",
"bits",
"come",
"from",
"alphaev4_pipe",
"above",
".",
"If",
"EV4_IBX",
"is",
"set",
",",
"then",
"the",
"insn",
"in",
"EV4_IB... | [
"alpha",
"0",
"1",
"0",
"1",
"4"
] | alpha3 | alphaev4_next_group | alpha | MPU | GCC | 4,438 | 307 | 1 | [] |
[
"<s>",
"initialize_trampoline",
"(",
"TRAMP",
",",
"FNADDR",
",",
"CXT",
")",
"{",
"{",
"ARG_POINTER_REGNUM",
",",
"STACK_POINTER_REGNUM",
"}",
",",
"\\",
"{",
"ARG_POINTER_REGNUM",
",",
"FRAME_POINTER_REGNUM",
"}",
",",
"\\",
"{",
"FRAME_POINTER_REGNUM",
",",
"... | [
"Emit",
"RTL",
"insns",
"to",
"initialize",
"the",
"variable",
"parts",
"of",
"a",
"trampoline",
"at",
"TRAMP",
".",
"FNADDR",
"is",
"an",
"RTX",
"for",
"the",
"address",
"of",
"the",
"function",
"'s",
"pure",
"code",
".",
"CXT",
"is",
"an",
"RTX",
"fo... | [
"bfin"
] | bfin4 | initialize_trampoline | bfin | DSP | GCC | 4,439 | 29 | 1 | [] |
[
"<s>",
"static",
"void",
"push_csky_minipool_barrier",
"(",
"rtx_insn",
"*",
"insn",
",",
"HOST_WIDE_INT",
"address",
")",
"{",
"Mfix",
"*",
"fix",
"=",
"(",
"Mfix",
"*",
")",
"obstack_alloc",
"(",
"&",
"minipool_obstack",
",",
"sizeof",
"(",
"*",
"fix",
"... | [
"Record",
"that",
"there",
"is",
"a",
"natural",
"barrier",
"in",
"the",
"insn",
"stream",
"at",
"ADDRESS",
"."
] | [
"csky"
] | csky | push_csky_minipool_barrier | csky | CPU | GCC | 4,440 | 72 | 1 | [] |
[
"<s>",
"SDValue",
"X86TargetLowering",
"::",
"PerformDAGCombine",
"(",
"SDNode",
"*",
"N",
",",
"DAGCombinerInfo",
"&",
"DCI",
")",
"const",
"{",
"SelectionDAG",
"&",
"DAG",
"=",
"DCI",
".",
"DAG",
";",
"switch",
"(",
"N",
"->",
"getOpcode",
"(",
")",
")... | [
"This",
"method",
"will",
"be",
"invoked",
"for",
"all",
"target",
"nodes",
"and",
"for",
"any",
"target-independent",
"nodes",
"that",
"the",
"target",
"has",
"registered",
"with",
"invoke",
"it",
"for",
"."
] | [
"X86",
"X86",
"ISD::EXTRACT_VECTOR_ELT",
"ISD::VSELECT",
"ISD::SELECT",
"X86ISD::CMOV",
"ISD::ADD",
"ISD::SUB",
"X86ISD::ADC",
"ISD::MUL",
"ISD::SHL",
"ISD::SRA",
"ISD::SRL",
"ISD::AND",
"ISD::OR",
"ISD::XOR",
"ISD::LOAD",
"ISD::STORE",
"ISD::SINT_TO_FP",
"ISD::FADD",
"ISD::F... | X86ISelLowering198 | PerformDAGCombine | X86 | CPU | LLVM | 4,441 | 487 | 1 | [] |
[
"<s>",
"void",
"X86InstrInfo",
"::",
"setSpecialOperandAttr",
"(",
"MachineInstr",
"&",
"OldMI1",
",",
"MachineInstr",
"&",
"OldMI2",
",",
"MachineInstr",
"&",
"NewMI1",
",",
"MachineInstr",
"&",
"NewMI2",
")",
"const",
"{",
"uint16_t",
"IntersectedFlags",
"=",
... | [
"This",
"is",
"an",
"architecture-specific",
"helper",
"function",
"of",
"reassociateOps",
"."
] | [
"X86",
"X86",
"X86::EFLAGS",
"X86::EFLAGS",
"\"Unexpected instruction type for reassociation\"",
"\"Must have dead EFLAGS operand in reassociable instruction\"",
"X86::EFLAGS",
"X86::EFLAGS",
"\"Unexpected operand in reassociable instruction\""
] | X86InstrInfo (2)3 | setSpecialOperandAttr | X86 | CPU | LLVM | 4,442 | 230 | 1 | [] |
[
"<s>",
"void",
"DataFlowGraph",
"::",
"reset",
"(",
")",
"{",
"Memory",
".",
"clear",
"(",
")",
";",
"Func",
"=",
"NodeAddr",
"<",
"FuncNode",
"*",
">",
"(",
")",
";",
"}",
"</s>"
] | [
"Reset",
"an",
"existing",
"scalar",
"value",
"for",
"Def",
"and",
"a",
"given",
"Instance",
"."
] | [
"Hexagon"
] | RDFGraph | reset | Hexagon | DSP | LLVM | 4,443 | 24 | 1 | [] |
[
"<s>",
"bool",
"SIPreEmitPeephole",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"{",
"const",
"GCNSubtarget",
"&",
"ST",
"=",
"MF",
".",
"getSubtarget",
"<",
"GCNSubtarget",
">",
"(",
")",
";",
"TII",
"=",
"ST",
".",
"getInstrInfo",... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"AMDGPU",
"SI",
"AMDGPU::S_CBRANCH_VCCZ",
"AMDGPU::S_CBRANCH_VCCNZ",
"20",
"0",
"AMDGPU::S_SET_GPR_IDX_ON",
"0"
] | SIPreEmitPeephole9 | runOnMachineFunction | AMDGPU | GPU | LLVM | 4,444 | 247 | 1 | [] |
[
"<s>",
"BitVector",
"HexagonRegisterInfo",
"::",
"getReservedRegs",
"(",
"const",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"BitVector",
"Reserved",
"(",
"getNumRegs",
"(",
")",
")",
";",
"Reserved",
".",
"set",
"(",
"HEXAGON_RESERVED_REG_1",
")",
";",
... | [
"getReservedRegs",
"-",
"Returns",
"a",
"bitset",
"indexed",
"by",
"physical",
"register",
"number",
"indicating",
"if",
"a",
"register",
"is",
"a",
"special",
"register",
"that",
"has",
"particular",
"uses",
"and",
"should",
"be",
"considered",
"unavailable",
"... | [
"Hexagon",
"Hexagon",
"Hexagon::R29",
"Hexagon::R30",
"Hexagon::R31",
"Hexagon::PC",
"Hexagon::GP",
"Hexagon::D14",
"Hexagon::D15",
"Hexagon::LC0",
"Hexagon::LC1",
"Hexagon::SA0",
"Hexagon::SA1"
] | HexagonRegisterInfo | getReservedRegs | Hexagon | DSP | LLVM | 4,445 | 137 | 1 | [] |
[
"<s>",
"enum",
"reg_class",
"class_likely_spilled_p",
"(",
"int",
"c",
")",
"{",
"return",
"(",
"c",
"!=",
"ALL_REGS",
"&&",
"c",
"!=",
"ADDW_REGS",
")",
";",
"}",
"</s>"
] | [
"Return",
"value",
"is",
"nonzero",
"if",
"pseudos",
"that",
"have",
"been",
"assigned",
"to",
"registers",
"of",
"class",
"CLASS",
"would",
"likely",
"be",
"spilled",
"because",
"registers",
"of",
"CLASS",
"are",
"needed",
"for",
"spill",
"registers",
"."
] | [
"avr"
] | avr3 | class_likely_spilled_p | avr | MPU | GCC | 4,446 | 20 | 1 | [] |
[
"<s>",
"bool",
"SIInstrInfo",
"::",
"isTriviallyReMaterializable",
"(",
"const",
"MachineInstr",
"*",
"MI",
",",
"AliasAnalysis",
"*",
"AA",
")",
"const",
"{",
"switch",
"(",
"MI",
"->",
"getOpcode",
"(",
")",
")",
"{",
"default",
":",
"return",
"AMDGPUInstr... | [
"Return",
"true",
"if",
"the",
"instruction",
"is",
"trivially",
"rematerializable",
",",
"meaning",
"it",
"has",
"no",
"side",
"effects",
"and",
"requires",
"no",
"operands",
"that",
"are",
"n't",
"always",
"available",
"."
] | [
"AMDGPU",
"SI",
"AMDGPU",
"AMDGPU::S_MOV_B32",
"AMDGPU::S_MOV_B64",
"AMDGPU::V_MOV_B32_e32",
"1"
] | SIInstrInfo102 | isTriviallyReMaterializable | AMDGPU | GPU | LLVM | 4,447 | 66 | 1 | [] |
[
"<s>",
"static",
"void",
"mmix_emit_sp_add",
"(",
"HOST_WIDE_INT",
"offset",
")",
"{",
"rtx",
"insn",
";",
"if",
"(",
"offset",
"<",
"0",
")",
"{",
"if",
"(",
"offset",
">",
"-",
"255",
")",
"insn",
"=",
"emit_insn",
"(",
"gen_adddi3",
"(",
"stack_poin... | [
"Local",
"(",
"static",
")",
"helper",
"functions",
"."
] | [
"mmix",
"0",
"255",
"255",
"1",
"1",
"255"
] | mmix | mmix_emit_sp_add | mmix | CPU | GCC | 4,448 | 157 | 1 | [] |
[
"<s>",
"void",
"MSP430FrameLowering",
"::",
"emitPrologue",
"(",
"MachineFunction",
"&",
"MF",
",",
"MachineBasicBlock",
"&",
"MBB",
")",
"const",
"{",
"assert",
"(",
"&",
"MF",
".",
"front",
"(",
")",
"==",
"&",
"MBB",
"&&",
"\"Shrink-wrapping not yet support... | [
"emitProlog/emitEpilog",
"-",
"These",
"methods",
"insert",
"prolog",
"and",
"epilog",
"code",
"into",
"the",
"function",
"."
] | [
"MSP430",
"MSP430",
"\"Shrink-wrapping not yet supported\"",
"MSP430",
"MSP430",
"MSP430",
"MSP430",
"MSP430",
"0",
"2",
"MSP430",
"MSP430::PUSH16r",
"MSP430::R4",
"MSP430::MOV16rr",
"MSP430::R4",
"MSP430::SP",
"MSP430::R4",
"MSP430",
"MSP430::SUB16ri",
"MSP430::SP",
"MSP430:... | MSP430FrameLowering31 | emitPrologue | MSP430 | MPU | LLVM | 4,449 | 364 | 1 | [] |
[
"<s>",
"EVT",
"X86TargetLowering",
"::",
"getSetCCResultType",
"(",
"const",
"DataLayout",
"&",
"DL",
",",
"LLVMContext",
"&",
"Context",
",",
"EVT",
"VT",
")",
"const",
"{",
"if",
"(",
"!",
"VT",
".",
"isVector",
"(",
")",
")",
"return",
"Subtarget",
".... | [
"Return",
"the",
"value",
"type",
"to",
"use",
"for",
"ISD",
":",
":SETCC",
"."
] | [
"X86",
"X86",
"MVT::i1",
"MVT::i8",
"MVT::i32",
"MVT::i64",
"MVT::f32",
"MVT::f64",
"8",
"MVT::v8i1",
"16",
"MVT::v16i1",
"MVT::i8",
"MVT::i16",
"32",
"MVT::v32i1",
"64",
"MVT::v64i1",
"MVT::getVectorVT",
"MVT::i1",
"32",
"2",
"MVT::v2i1",
"4",
"MVT::v4i1",
"8",
"... | X86ISelLowering (3) | getSetCCResultType | X86 | CPU | LLVM | 4,450 | 312 | 1 | [] |
[
"<s>",
"static",
"void",
"vax_function_arg_advance",
"(",
"cumulative_args_t",
"cum_v",
",",
"machine_mode",
"mode",
",",
"const_tree",
"type",
",",
"bool",
"named",
"ATTRIBUTE_UNUSED",
")",
"{",
"CUMULATIVE_ARGS",
"*",
"cum",
"=",
"get_cumulative_args",
"(",
"cum_v... | [
"Update",
"the",
"data",
"in",
"CUM",
"to",
"advance",
"over",
"an",
"argument",
"of",
"mode",
"MODE",
"and",
"data",
"type",
"TYPE",
".",
"(",
"TYPE",
"is",
"null",
"for",
"libcalls",
"where",
"that",
"information",
"may",
"not",
"be",
"available",
".",... | [
"vax",
"3",
"3",
"3",
"3"
] | vax4 | vax_function_arg_advance | vax | CPU | GCC | 4,451 | 61 | 1 | [] |
[
"<s>",
"WebAssemblySubtarget",
"::",
"WebAssemblySubtarget",
"(",
"const",
"Triple",
"&",
"TT",
",",
"const",
"std",
"::",
"string",
"&",
"CPU",
",",
"const",
"std",
"::",
"string",
"&",
"FS",
",",
"const",
"TargetMachine",
"&",
"TM",
")",
":",
"WebAssembl... | [
"This",
"constructor",
"initializes",
"the",
"data",
"members",
"to",
"match",
"that",
"of",
"the",
"specified",
"triple",
"."
] | [
"WebAssembly",
"WebAssembly",
"WebAssembly",
"WebAssembly"
] | WebAssemblySubtarget6 | WebAssemblySubtarget | WebAssembly | Virtual ISA | LLVM | 4,452 | 64 | 1 | [] |
[
"<s>",
"unsigned",
"char",
"X86Subtarget",
"::",
"classifyGlobalReference",
"(",
"const",
"GlobalValue",
"*",
"GV",
",",
"const",
"Module",
"&",
"M",
")",
"const",
"{",
"if",
"(",
"TM",
".",
"getCodeModel",
"(",
")",
"==",
"CodeModel",
"::",
"Large",
")",
... | [
"Classify",
"a",
"global",
"variable",
"reference",
"for",
"the",
"current",
"subtarget",
"according",
"to",
"how",
"we",
"should",
"reference",
"it",
"in",
"a",
"non-pcrel",
"context",
"."
] | [
"X86",
"X86",
"X86II::MO_NO_FLAG",
"128",
"X86II::MO_ABS8",
"X86II::MO_NO_FLAG",
"X86II::MO_DLLIMPORT",
"X86II::MO_GOTPCREL",
"X86II::MO_DARWIN_NONLAZY",
"X86II::MO_DARWIN_NONLAZY_PIC_BASE",
"X86II::MO_GOT"
] | X86Subtarget109 | classifyGlobalReference | X86 | CPU | LLVM | 4,453 | 151 | 1 | [] |
[
"<s>",
"void",
"relaxInstruction",
"(",
"const",
"MCInst",
"&",
"Inst",
",",
"const",
"MCSubtargetInfo",
"&",
"STI",
",",
"MCInst",
"&",
"Res",
")",
"const",
"override",
"{",
"llvm_unreachable",
"(",
"\"SystemZ does do not have assembler relaxation\"",
")",
";",
"... | [
"Relax",
"the",
"instruction",
"in",
"the",
"given",
"fragment",
"to",
"the",
"next",
"wider",
"instruction",
"."
] | [
"SystemZ",
"\"SystemZ does do not have assembler relaxation\""
] | SystemZMCAsmBackend | relaxInstruction | SystemZ | CPU | LLVM | 4,454 | 26 | 1 | [] |
[
"<s>",
"SDValue",
"MipsSETargetLowering",
"::",
"PerformDAGCombine",
"(",
"SDNode",
"*",
"N",
",",
"DAGCombinerInfo",
"&",
"DCI",
")",
"const",
"{",
"SelectionDAG",
"&",
"DAG",
"=",
"DCI",
".",
"DAG",
";",
"SDValue",
"Val",
";",
"switch",
"(",
"N",
"->",
... | [
"This",
"method",
"will",
"be",
"invoked",
"for",
"all",
"target",
"nodes",
"and",
"for",
"any",
"target-independent",
"nodes",
"that",
"the",
"target",
"has",
"registered",
"with",
"invoke",
"it",
"for",
"."
] | [
"Mips",
"Mips",
"ISD::ADDE",
"ISD::AND",
"ISD::OR",
"ISD::SUBE",
"ISD::MUL",
"ISD::SHL",
"ISD::SRA",
"ISD::SRL",
"ISD::VSELECT",
"ISD::XOR",
"ISD::SETCC",
"\"\\nMipsSE DAG Combine:\\n\"",
"\"\\n=> \\n\"",
"\"\\n\"",
"Mips"
] | MipsSEISelLowering14 | PerformDAGCombine | Mips | CPU | LLVM | 4,455 | 301 | 1 | [] |
[
"<s>",
"unsigned",
"RISCVTargetLowering",
"::",
"ComputeNumSignBitsForTargetNode",
"(",
"SDValue",
"Op",
",",
"const",
"APInt",
"&",
"DemandedElts",
",",
"const",
"SelectionDAG",
"&",
"DAG",
",",
"unsigned",
"Depth",
")",
"const",
"{",
"switch",
"(",
"Op",
".",
... | [
"Determine",
"the",
"number",
"of",
"bits",
"in",
"the",
"operation",
"that",
"are",
"sign",
"bits",
"."
] | [
"RISCV",
"RISCV",
"RISCVISD::SLLW",
"RISCVISD::SRAW",
"RISCVISD::SRLW",
"RISCVISD::DIVW",
"RISCVISD::DIVUW",
"RISCVISD::REMUW",
"RISCVISD::ROLW",
"RISCVISD::RORW",
"RISCVISD::GREVW",
"RISCVISD::GORCW",
"RISCVISD::FSLW",
"RISCVISD::FSRW",
"RISCVISD::SHFLW",
"RISCVISD::UNSHFLW",
"RISCV... | RISCVISelLowering34 | ComputeNumSignBitsForTargetNode | RISCV | CPU | LLVM | 4,456 | 253 | 1 | [] |
[
"<s>",
"StringRef",
"getPassName",
"(",
")",
"const",
"override",
"{",
"return",
"\"Patmos Delay Slot Filler\"",
";",
"}",
"</s>"
] | [
"getPassName",
"-",
"Return",
"a",
"nice",
"clean",
"name",
"for",
"a",
"pass",
"."
] | [
"Patmos",
"\"Patmos Delay Slot Filler\""
] | PatmosDelaySlotFiller1 | getPassName | Patmos | VLIW | LLVM | 4,457 | 11 | 1 | [] |
[
"<s>",
"void",
"AMDGPUInstPrinter",
"::",
"printInst",
"(",
"const",
"MCInst",
"*",
"MI",
",",
"raw_ostream",
"&",
"OS",
",",
"StringRef",
"Annot",
",",
"const",
"MCSubtargetInfo",
"&",
"STI",
")",
"{",
"OS",
".",
"flush",
"(",
")",
";",
"printInstruction"... | [
"Print",
"the",
"specified",
"MCInst",
"to",
"the",
"specified",
"raw_ostream",
"."
] | [
"AMDGPU",
"AMDGPU"
] | AMDGPUInstPrinter | printInst | AMDGPU | GPU | LLVM | 4,458 | 44 | 1 | [] |
[
"<s>",
"void",
"addExpr",
"(",
"MCInst",
"&",
"Inst",
",",
"const",
"MCExpr",
"*",
"Expr",
")",
"const",
"{",
"if",
"(",
"!",
"Expr",
")",
"Inst",
".",
"addOperand",
"(",
"MCOperand",
"::",
"createImm",
"(",
"0",
")",
")",
";",
"else",
"if",
"(",
... | [
"Add",
"a",
"new",
"MCExpr",
"operand",
"."
] | [
"Mips",
"0"
] | MipsAsmParser (2)4 | addExpr | Mips | CPU | LLVM | 4,459 | 77 | 1 | [] |
[
"<s>",
"void",
"MipsPassConfig",
"::",
"addIRPasses",
"(",
")",
"{",
"TargetPassConfig",
"::",
"addIRPasses",
"(",
")",
";",
"if",
"(",
"getMipsSubtarget",
"(",
")",
".",
"os16",
"(",
")",
")",
"addPass",
"(",
"createMipsOs16",
"(",
"getMipsTargetMachine",
"... | [
"Add",
"common",
"target",
"configurable",
"passes",
"that",
"perform",
"LLVM",
"IR",
"to",
"IR",
"transforms",
"following",
"machine",
"independent",
"optimization",
"."
] | [
"Mips",
"Mips",
"Mips",
"Mips",
"Mips"
] | MipsTargetMachine31 | addIRPasses | Mips | CPU | LLVM | 4,460 | 34 | 1 | [] |
[
"<s>",
"bool",
"M88kAsmParser",
"::",
"MatchAndEmitInstruction",
"(",
"SMLoc",
"IdLoc",
",",
"unsigned",
"&",
"Opcode",
",",
"OperandVector",
"&",
"Operands",
",",
"MCStreamer",
"&",
"Out",
",",
"uint64_t",
"&",
"ErrorInfo",
",",
"bool",
"MatchingInlineAsm",
")"... | [
"MatchAndEmitInstruction",
"-",
"Recognize",
"a",
"series",
"of",
"operands",
"of",
"a",
"parsed",
"instruction",
"as",
"an",
"actual",
"MCInst",
"and",
"emit",
"it",
"to",
"the",
"specified",
"MCStreamer",
"."
] | [
"M88k",
"M88k",
"\"Instruction use requires option to be enabled\"",
"0U",
"\"Too few operands for instruction\"",
"M88k",
"\"Invalid operand for instruction\"",
"M88k",
"M88k",
"0",
"M88k",
"0",
"\"invalid instruction\"",
"0ULL",
"\"too few operands for instruction\"",
"M88k",
"M88k... | M88kAsmParser | MatchAndEmitInstruction | M88k | MPU | LLVM | 4,461 | 313 | 1 | [] |
[
"<s>",
"bool",
"PPCCTRLoops",
"::",
"runOnFunction",
"(",
"Function",
"&",
"F",
")",
"{",
"LI",
"=",
"&",
"getAnalysis",
"<",
"LoopInfo",
">",
"(",
")",
";",
"SE",
"=",
"&",
"getAnalysis",
"<",
"ScalarEvolution",
">",
"(",
")",
";",
"DT",
"=",
"&",
... | [
"runOnFunction",
"-",
"Virtual",
"method",
"overriden",
"by",
"subclasses",
"to",
"do",
"the",
"per-function",
"processing",
"of",
"the",
"pass",
"."
] | [
"PowerPC",
"PPC"
] | PPCCTRLoops26 | runOnFunction | PowerPC | CPU | LLVM | 4,462 | 139 | 1 | [] |
[
"<s>",
"ARCSubtarget",
"::",
"ARCSubtarget",
"(",
"const",
"Triple",
"&",
"TT",
",",
"const",
"std",
"::",
"string",
"&",
"CPU",
",",
"const",
"std",
"::",
"string",
"&",
"FS",
",",
"const",
"TargetMachine",
"&",
"TM",
")",
":",
"ARCGenSubtargetInfo",
"(... | [
"This",
"constructor",
"initializes",
"the",
"data",
"members",
"to",
"match",
"that",
"of",
"the",
"specified",
"triple",
"."
] | [
"ARC",
"ARC",
"ARC",
"ARC"
] | ARCSubtarget | ARCSubtarget | ARC | MPU | LLVM | 4,463 | 53 | 1 | [] |
[
"<s>",
"bool",
"WebAssemblyCFGStackify",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"{",
"LLVM_DEBUG",
"(",
"dbgs",
"(",
")",
"<<",
"\"********** CFG Stackifying **********\\n\"",
"\"********** Function: \"",
"<<",
"MF",
".",
"getName",
"(",
... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"WebAssembly",
"WebAssembly",
"\"********** CFG Stackifying **********\\n\"",
"\"********** Function: \"",
"WebAssembly",
"WebAssembly",
"WebAssembly"
] | WebAssemblyCFGStackify16 | runOnMachineFunction | WebAssembly | Virtual ISA | LLVM | 4,464 | 167 | 1 | [] |
[
"<s>",
"void",
"P2PassConfig",
"::",
"addPreRegAlloc",
"(",
")",
"{",
"P2TargetMachine",
"&",
"TM",
"=",
"getP2TargetMachine",
"(",
")",
";",
"addPass",
"(",
"createP2ExpandPseudosPass",
"(",
"TM",
")",
")",
";",
"}",
"</s>"
] | [
"This",
"method",
"may",
"be",
"implemented",
"by",
"targets",
"that",
"want",
"to",
"run",
"passes",
"immediately",
"before",
"register",
"allocation",
"."
] | [
"P2",
"P2",
"P2",
"P2",
"P2"
] | P2TargetMachine | addPreRegAlloc | P2 | MPU | LLVM | 4,465 | 24 | 1 | [] |
[
"<s>",
"bool",
"HexagonAsmParser",
"::",
"MatchAndEmitInstruction",
"(",
"SMLoc",
"IDLoc",
",",
"unsigned",
"&",
"Opcode",
",",
"OperandVector",
"&",
"Operands",
",",
"MCStreamer",
"&",
"Out",
",",
"uint64_t",
"&",
"ErrorInfo",
",",
"bool",
"MatchingInlineAsm",
... | [
"MatchAndEmitInstruction",
"-",
"Recognize",
"a",
"series",
"of",
"operands",
"of",
"a",
"parsed",
"instruction",
"as",
"an",
"actual",
"MCInst",
"and",
"emit",
"it",
"to",
"the",
"specified",
"MCStreamer",
"."
] | [
"Hexagon",
"Hexagon",
"0",
"Hexagon",
"Hexagon",
"0",
"\"{\"",
"1",
"\"Brackets should be by themselves\"",
"\"Already in a packet\"",
"\"}\"",
"1",
"\"Brackets should be by themselves\"",
"\"Not in a packet\"",
"Hexagon"
] | HexagonAsmParser | MatchAndEmitInstruction | Hexagon | DSP | LLVM | 4,466 | 299 | 1 | [] |
[
"<s>",
"static",
"const",
"char",
"*",
"generate_host_descr_file",
"(",
"const",
"char",
"*",
"host_compiler",
")",
"{",
"char",
"*",
"dump_filename",
"=",
"concat",
"(",
"dumppfx",
",",
"\"_host_descr.c\"",
",",
"NULL",
")",
";",
"const",
"char",
"*",
"src_... | [
"Generates",
"object",
"file",
"with",
"the",
"host",
"side",
"descriptor",
"."
] | [
"i386",
"\"_host_descr.c\"",
"\"_host_descr.c\"",
"\"_host_descr.o\"",
"\"_host_descr.o\"",
"\"w\"",
"\"cannot open '%s'\"",
"\"extern const void *const __OFFLOAD_TABLE__;\\n\"",
"\"extern const void *const __offload_image_intelmic_start;\\n\"",
"\"extern const void *const __offload_image_intelmic... | intelmic-mkoffload | generate_host_descr_file | i386 | CPU | GCC | 4,467 | 379 | 1 | [] |
[
"<s>",
"static",
"void",
"macho_branch_islands",
"(",
"void",
")",
"{",
"char",
"tmp_buf",
"[",
"512",
"]",
";",
"while",
"(",
"!",
"vec_safe_is_empty",
"(",
"branch_islands",
")",
")",
"{",
"branch_island",
"*",
"bi",
"=",
"&",
"branch_islands",
"->",
"la... | [
"Generate",
"far-jump",
"branch",
"islands",
"for",
"everything",
"on",
"the",
"branch_island_list",
".",
"Invoked",
"immediately",
"after",
"the",
"last",
"instruction",
"of",
"the",
"epilogue",
"has",
"been",
"emitted",
";",
"the",
"branch-islands",
"must",
"be"... | [
"rs6000",
"512",
"512",
"0",
"0",
"1",
"0",
"1",
"\"\\n\"",
"\":\\n\\tmflr r0\\n\\tbcl 20,31,\"",
"\"_pic\\n\"",
"\"_pic:\\n\\tmflr r11\\n\"",
"\"\\taddis r11,r11,ha16(\"",
"\" - \"",
"\"_pic)\\n\"",
"\"\\tmtlr r0\\n\"",
"\"\\taddi r12,r11,lo16(\"",
"\" - \"",
"\"_pic)\\n\"",
"... | rs6000-logue | macho_branch_islands | rs6000 | CPU | GCC | 4,468 | 337 | 1 | [] |
[
"<s>",
"static",
"bool",
"mips_function_ok_for_sibcall",
"(",
"tree",
"decl",
"ATTRIBUTE_UNUSED",
",",
"tree",
"exp",
"ATTRIBUTE_UNUSED",
")",
"{",
"return",
"TARGET_SIBCALLS",
";",
"}",
"</s>"
] | [
"We",
"can",
"handle",
"any",
"sibcall",
"when",
"TARGET_SIBCALLS",
"is",
"true",
"."
] | [
"mips"
] | mips3 | mips_function_ok_for_sibcall | mips | CPU | GCC | 4,469 | 17 | 1 | [] |
[
"<s>",
"void",
"dimode_scalar_chain",
"::",
"make_vector_copies",
"(",
"unsigned",
"regno",
")",
"{",
"rtx",
"reg",
"=",
"regno_reg_rtx",
"[",
"regno",
"]",
";",
"rtx",
"vreg",
"=",
"gen_reg_rtx",
"(",
"DImode",
")",
";",
"df_ref",
"ref",
";",
"for",
"(",
... | [
"Make",
"vector",
"copies",
"for",
"all",
"register",
"REGNO",
"definitions",
"and",
"replace",
"its",
"uses",
"in",
"a",
"chain",
"."
] | [
"i386",
"0",
"0",
"4",
"4",
"0",
"0",
"0",
"0",
"4",
"2",
"0",
"0",
"0",
"4",
"0",
"0",
"0",
"\" Copied r%d to a vector register r%d for insn %d\\n\"",
"\" Replaced r%d with r%d in insn %d\\n\""
] | i3868 | make_vector_copies | i386 | CPU | GCC | 4,470 | 432 | 1 | [] |
[
"<s>",
"unsigned",
"CAHPInstrInfo",
"::",
"getInstSizeInBytes",
"(",
"const",
"MachineInstr",
"&",
"MI",
")",
"const",
"{",
"unsigned",
"Opcode",
"=",
"MI",
".",
"getOpcode",
"(",
")",
";",
"switch",
"(",
"Opcode",
")",
"{",
"default",
":",
"return",
"get"... | [
"Returns",
"the",
"size",
"in",
"bytes",
"of",
"the",
"specified",
"MachineInstr",
",",
"or",
"~0U",
"when",
"this",
"function",
"is",
"not",
"implemented",
"by",
"a",
"target",
"."
] | [
"CAHP",
"CAHP",
"0",
"CAHP",
"0"
] | CAHPInstrInfo | getInstSizeInBytes | CAHP | CPU | LLVM | 4,471 | 127 | 1 | [] |
[
"<s>",
"void",
"function_expander",
"::",
"add_input_operand",
"(",
"insn_code",
"icode",
",",
"rtx",
"x",
")",
"{",
"unsigned",
"int",
"opno",
"=",
"m_ops",
".",
"length",
"(",
")",
";",
"const",
"insn_operand_data",
"&",
"operand",
"=",
"insn_data",
"[",
... | [
"Create",
"op",
"and",
"add",
"it",
"into",
"M_OPS",
"and",
"increase",
"OPNO",
"."
] | [
"aarch64",
"1"
] | aarch64-sve-builtins1 | add_input_operand | aarch64 | CPU | GCC | 4,472 | 155 | 1 | [] |
[
"<s>",
"void",
"GCNHazardRecognizer",
"::",
"EmitNoop",
"(",
")",
"{",
"EmittedInstrs",
".",
"push_front",
"(",
"nullptr",
")",
";",
"}",
"</s>"
] | [
"EmitNoop",
"-",
"This",
"callback",
"is",
"invoked",
"when",
"a",
"noop",
"was",
"added",
"to",
"the",
"instruction",
"stream",
"."
] | [
"AMDGPU"
] | GCNHazardRecognizer (2) | EmitNoop | AMDGPU | GPU | LLVM | 4,473 | 15 | 1 | [] |
[
"<s>",
"void",
"addInstruction",
"(",
"MachineInstr",
"*",
"I",
")",
"{",
"Instrs",
".",
"push_back",
"(",
"I",
")",
";",
"}",
"</s>"
] | [
"Record",
"pressure",
"difference",
"induced",
"by",
"the",
"given",
"operand",
"list",
"to",
"node",
"with",
"index",
"Idx",
"."
] | [
"X86"
] | X86DomainReassignment | addInstruction | X86 | CPU | LLVM | 4,474 | 16 | 1 | [] |
[
"<s>",
"void",
"getAnalysisUsage",
"(",
"AnalysisUsage",
"&",
"AU",
")",
"const",
"override",
"{",
"MachineFunctionPass",
"::",
"getAnalysisUsage",
"(",
"AU",
")",
";",
"AU",
".",
"addRequired",
"<",
"MachineBranchProbabilityInfo",
">",
"(",
")",
";",
"}",
"</... | [
"getAnalysisUsage",
"-",
"Subclasses",
"that",
"override",
"getAnalysisUsage",
"must",
"call",
"this",
"."
] | [
"X86"
] | X86CondBrFolding | getAnalysisUsage | X86 | CPU | LLVM | 4,475 | 27 | 1 | [] |
[
"<s>",
"unsigned",
"AArch64Subtarget",
"::",
"classifyGlobalFunctionReference",
"(",
"const",
"GlobalValue",
"*",
"GV",
",",
"const",
"TargetMachine",
"&",
"TM",
")",
"const",
"{",
"if",
"(",
"TM",
".",
"getCodeModel",
"(",
")",
"==",
"CodeModel",
"::",
"Large... | [
"Classify",
"a",
"global",
"function",
"reference",
"for",
"the",
"current",
"subtarget",
"."
] | [
"AArch64",
"AArch64",
"AArch64II::MO_GOT",
"AArch64II::MO_GOT",
"AArch64II::MO_NO_FLAG"
] | AArch64Subtarget34 | classifyGlobalFunctionReference | AArch64 | CPU | LLVM | 4,476 | 98 | 1 | [] |
[
"<s>",
"bool",
"enableEarlyIfConversion",
"(",
")",
"const",
"override",
"{",
"return",
"true",
";",
"}",
"</s>"
] | [
"Enable",
"the",
"use",
"of",
"the",
"early",
"if",
"conversion",
"pass",
"."
] | [
"SystemZ"
] | SystemZSubtarget | enableEarlyIfConversion | SystemZ | CPU | LLVM | 4,477 | 11 | 1 | [] |
[
"<s>",
"void",
"AArch64_ELFTargetObjectFile",
"::",
"Initialize",
"(",
"MCContext",
"&",
"Ctx",
",",
"const",
"TargetMachine",
"&",
"TM",
")",
"{",
"TargetLoweringObjectFileELF",
"::",
"Initialize",
"(",
"Ctx",
",",
"TM",
")",
";",
"SupportDebugThreadLocalLocation",... | [
"This",
"method",
"must",
"be",
"called",
"before",
"any",
"actual",
"lowering",
"is",
"done",
"."
] | [
"AArch64",
"AArch64"
] | AArch64TargetObjectFile10 | Initialize | AArch64 | CPU | LLVM | 4,478 | 29 | 1 | [] |
[
"<s>",
"bool",
"GCNPassConfig",
"::",
"addPreISel",
"(",
")",
"{",
"AMDGPUPassConfig",
"::",
"addPreISel",
"(",
")",
";",
"addPass",
"(",
"createSinkingPass",
"(",
")",
")",
";",
"addPass",
"(",
"createSITypeRewriter",
"(",
")",
")",
";",
"addPass",
"(",
"... | [
"{",
"{",
"@",
"For",
"GlobalISel"
] | [
"R600",
"SI",
"SI"
] | AMDGPUTargetMachine80 | addPreISel | R600 | GPU | LLVM | 4,479 | 38 | 1 | [] |
[
"<s>",
"SDValue",
"MBlazeTargetLowering",
"::",
"LowerOperation",
"(",
"SDValue",
"Op",
",",
"SelectionDAG",
"&",
"DAG",
")",
"const",
"{",
"switch",
"(",
"Op",
".",
"getOpcode",
"(",
")",
")",
"{",
"case",
"ISD",
"::",
"ConstantPool",
":",
"return",
"Lowe... | [
"LowerOperation",
"-",
"Provide",
"custom",
"lowering",
"hooks",
"for",
"some",
"operations",
"."
] | [
"MBlaze",
"MBlaze",
"ISD::ConstantPool",
"ISD::GlobalAddress",
"ISD::GlobalTLSAddress",
"ISD::JumpTable",
"ISD::SELECT_CC",
"ISD::VASTART"
] | MBlazeISelLowering | LowerOperation | MBlaze | MPU | LLVM | 4,480 | 108 | 1 | [] |
[
"<s>",
"void",
"X86FrameLowering",
"::",
"orderFrameObjects",
"(",
"const",
"MachineFunction",
"&",
"MF",
",",
"SmallVectorImpl",
"<",
"int",
">",
"&",
"ObjectsToAllocate",
")",
"const",
"{",
"const",
"MachineFrameInfo",
"&",
"MFI",
"=",
"MF",
".",
"getFrameInfo... | [
"Order",
"the",
"symbols",
"in",
"the",
"local",
"stack",
"."
] | [
"X86",
"X86",
"X86",
"0",
"4",
"0",
"X86",
"0"
] | X86FrameLowering105 | orderFrameObjects | X86 | CPU | LLVM | 4,481 | 314 | 1 | [] |
[
"<s>",
"void",
"M88kInstrInfo",
"::",
"insertIndirectBranch",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"&",
"NewDestBB",
",",
"MachineBasicBlock",
"&",
"RestoreBB",
",",
"const",
"DebugLoc",
"&",
"DL",
",",
"int64_t",
"BrOffset",
",",
"RegSc... | [
"Insert",
"an",
"unconditional",
"indirect",
"branch",
"at",
"the",
"end",
"of",
"MBB",
"to",
"NewDestBB",
"."
] | [
"M88k",
"M88k",
"\"RegScavenger required for long branching\"",
"\"new block should be inserted for expanding unconditional branch\"",
"1",
"M88k::GPRRCRegClass",
"M88k::ORriu",
"M88k::R0",
"M88kII::MO_ABS_HI",
"M88k::ORri",
"M88kII::MO_ABS_LO",
"M88k::JMP",
"M88k::GPRRCRegClass",
"0",
"... | M88kInstrInfo | insertIndirectBranch | M88k | MPU | LLVM | 4,482 | 272 | 1 | [] |
[
"<s>",
"const",
"char",
"*",
"F2003fTargetLowering",
"::",
"getTargetNodeName",
"(",
"unsigned",
"Opcode",
")",
"const",
"{",
"switch",
"(",
"(",
"F2003fISD",
"::",
"NodeType",
")",
"Opcode",
")",
"{",
"case",
"F2003fISD",
"::",
"FIRST_NUMBER",
":",
"break",
... | [
"getTargetNodeName",
"-",
"This",
"method",
"returns",
"the",
"name",
"of",
"a",
"target",
"specific"
] | [
"F2003f",
"F2003f",
"F2003fISD::NodeType",
"F2003fISD::FIRST_NUMBER",
"F2003fISD::Wrapper",
"\"F2003fISD::Wrapper\"",
"F2003fISD::FENXEO",
"\"F2003fISD::FENXEO\"",
"F2003fISD::DOSNUD",
"\"F2003fISD::DOSNUD\"",
"F2003fISD::SELECT_CC",
"\"F2003fISD::SELECT_CC\"",
"F2003fISD::BR_CC",
"\"F2003... | F2003fISelLowering | getTargetNodeName | F2003f | CPU | LLVM | 4,483 | 74 | 1 | [] |
[
"<s>",
"bool",
"Mips16TargetLowering",
"::",
"isEligibleForTailCallOptimization",
"(",
"const",
"MipsCC",
"&",
"MipsCCInfo",
",",
"unsigned",
"NextStackOffset",
",",
"const",
"MipsFunctionInfo",
"&",
"FI",
")",
"const",
"{",
"return",
"false",
";",
"}",
"</s>"
] | [
"Returns",
"true",
"if",
"the",
"call",
"can",
"be",
"lowered",
"as",
"a",
"tail",
"call",
"."
] | [
"Mips",
"Mips",
"Mips",
"Mips",
"Mips"
] | Mips16ISelLowering | isEligibleForTailCallOptimization | Mips | CPU | LLVM | 4,484 | 24 | 1 | [] |
[
"<s>",
"static",
"rtx",
"frame_emit_store",
"(",
"int",
"regno",
",",
"int",
"regno_note",
",",
"rtx",
"addr",
",",
"rtx",
"cfa",
",",
"int",
"cfa_offset",
")",
"{",
"rtx",
"reg",
"=",
"gen_rtx_REG",
"(",
"Pmode",
",",
"regno",
")",
";",
"rtx",
"mem",
... | [
"Emit",
"a",
"store",
"in",
"the",
"stack",
"frame",
"to",
"save",
"REGNO",
"at",
"address",
"ADDR",
",",
"and",
"emit",
"the",
"corresponding",
"REG_CFA_OFFSET",
"note",
"described",
"by",
"CFA",
"and",
"CFA_OFFSET",
".",
"Return",
"the",
"emitted",
"insn",... | [
"tilepro"
] | tilepro2 | frame_emit_store | tilepro | VLIW | GCC | 4,485 | 113 | 1 | [] |
[
"<s>",
"int",
"rs6000_store_data_bypass_p",
"(",
"rtx_insn",
"*",
"out_insn",
",",
"rtx_insn",
"*",
"in_insn",
")",
"{",
"rtx",
"out_set",
",",
"in_set",
";",
"rtx",
"out_pat",
",",
"in_pat",
";",
"rtx",
"out_exp",
",",
"in_exp",
";",
"int",
"i",
",",
"j... | [
"Given",
"that",
"there",
"exists",
"at",
"least",
"one",
"variable",
"that",
"is",
"set",
"(",
"produced",
")",
"by",
"OUT_INSN",
"and",
"read",
"(",
"consumed",
")",
"by",
"IN_INSN",
",",
"return",
"true",
"iff",
"IN_INSN",
"represents",
"one",
"or",
"... | [
"rs6000",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"0"
] | rs6000 | rs6000_store_data_bypass_p | rs6000 | CPU | GCC | 4,486 | 363 | 1 | [] |
[
"<s>",
"ArrayRef",
"<",
"std",
"::",
"pair",
"<",
"unsigned",
",",
"const",
"char",
"*",
">>",
"MipsInstrInfo",
"::",
"getSerializableDirectMachineOperandTargetFlags",
"(",
")",
"const",
"{",
"using",
"namespace",
"MipsII",
";",
"static",
"const",
"std",
"::",
... | [
"Return",
"an",
"array",
"that",
"contains",
"the",
"direct",
"target",
"flag",
"values",
"and",
"their",
"names",
"."
] | [
"Mips",
"Mips",
"Mips",
"\"mips-got\"",
"\"mips-got-call\"",
"\"mips-gprel\"",
"\"mips-abs-hi\"",
"\"mips-abs-lo\"",
"\"mips-tlsgd\"",
"\"mips-tlsldm\"",
"\"mips-dtprel-hi\"",
"\"mips-dtprel-lo\"",
"\"mips-gottprel\"",
"\"mips-tprel-hi\"",
"\"mips-tprel-lo\"",
"\"mips-gpoff-hi\"",
"\... | MipsInstrInfo36 | getSerializableDirectMachineOperandTargetFlags | Mips | CPU | LLVM | 4,487 | 301 | 1 | [] |
[
"<s>",
"TargetPassConfig",
"*",
"SHUXITargetMachine",
"::",
"createPassConfig",
"(",
"PassManagerBase",
"&",
"PM",
")",
"{",
"return",
"new",
"SHUXIPassConfig",
"(",
"*",
"this",
",",
"PM",
")",
";",
"}",
"</s>"
] | [
"Create",
"a",
"pass",
"configuration",
"object",
"to",
"be",
"used",
"by",
"addPassToEmitX",
"methods",
"for",
"generating",
"a",
"pipeline",
"of",
"CodeGen",
"passes",
"."
] | [
"SHUXI",
"SHUXI",
"SHUXI"
] | SHUXITargetMachine | createPassConfig | SHUXI | CPU | LLVM | 4,488 | 22 | 1 | [] |
[
"<s>",
"bool",
"NVPTXAsmPrinter",
"::",
"lowerOperand",
"(",
"const",
"MachineOperand",
"&",
"MO",
",",
"MCOperand",
"&",
"MCOp",
")",
"{",
"switch",
"(",
"MO",
".",
"getType",
"(",
")",
")",
"{",
"default",
":",
"llvm_unreachable",
"(",
"\"unknown operand t... | [
"Wrapper",
"for",
"MCInstLowering.lowerOperand",
"(",
")",
"for",
"the",
"tblgen'erated",
"pseudo",
"lowering",
"."
] | [
"NVPTX",
"NVPTX",
"\"unknown operand type\"",
"\"Unsupported FP type\"",
"NVPTX",
"NVPTX"
] | NVPTXAsmPrinter18 | lowerOperand | NVPTX | GPU | LLVM | 4,489 | 252 | 1 | [] |
[
"<s>",
"static",
"rtx",
"s390_function_arg",
"(",
"cumulative_args_t",
"cum_v",
",",
"const",
"function_arg_info",
"&",
"arg",
")",
"{",
"CUMULATIVE_ARGS",
"*",
"cum",
"=",
"get_cumulative_args",
"(",
"cum_v",
")",
";",
"if",
"(",
"!",
"arg",
".",
"named",
"... | [
"Define",
"where",
"to",
"put",
"the",
"arguments",
"to",
"a",
"function",
".",
"Value",
"is",
"zero",
"to",
"push",
"the",
"argument",
"on",
"the",
"stack",
",",
"or",
"a",
"hard",
"register",
"in",
"which",
"to",
"store",
"the",
"argument",
".",
"MOD... | [
"s390",
"1",
"1",
"16",
"1",
"1",
"2",
"2",
"2",
"0",
"2",
"1",
"3",
"4"
] | s390 | s390_function_arg | s390 | MPU | GCC | 4,490 | 311 | 1 | [] |
[
"<s>",
"static",
"void",
"rs6000_darwin_file_start",
"(",
"void",
")",
"{",
"static",
"const",
"struct",
"{",
"const",
"char",
"*",
"arg",
";",
"const",
"char",
"*",
"name",
";",
"HOST_WIDE_INT",
"if_set",
";",
"}",
"mapping",
"[",
"]",
"=",
"{",
"{",
... | [
"Output",
"a",
".machine",
"directive",
"for",
"the",
"Darwin",
"assembler",
",",
"and",
"call",
"the",
"generic",
"start_file",
"routine",
"."
] | [
"powerpcspe",
"\"ppc64\"",
"\"ppc64\"",
"\"970\"",
"\"ppc970\"",
"\"power4\"",
"\"ppc970\"",
"0",
"\"G5\"",
"\"ppc970\"",
"0",
"\"7450\"",
"\"ppc7450\"",
"0",
"\"7400\"",
"\"ppc7400\"",
"\"G4\"",
"\"ppc7400\"",
"0",
"\"750\"",
"\"ppc750\"",
"0",
"\"740\"",
"\"ppc750\"",... | powerpcspe | rs6000_darwin_file_start | powerpcspe | CPU | GCC | 4,491 | 273 | 1 | [] |
[
"<s>",
"static",
"int",
"rs6000_builtin_vectorization_cost",
"(",
"enum",
"vect_cost_for_stmt",
"type_of_cost",
",",
"tree",
"vectype",
",",
"int",
"misalign",
")",
"{",
"unsigned",
"elements",
";",
"tree",
"elem_type",
";",
"switch",
"(",
"type_of_cost",
")",
"{"... | [
"Implement",
"targetm.vectorize.builtin_vectorization_cost",
"."
] | [
"rs6000",
"1",
"3",
"1",
"4",
"1",
"3",
"2",
"2",
"4",
"8",
"2",
"1",
"4",
"12",
"22",
"2",
"2",
"2",
"4",
"8",
"2",
"1",
"4",
"12",
"23",
"2",
"32",
"1",
"2",
"1"
] | rs60004 | rs6000_builtin_vectorization_cost | rs6000 | CPU | GCC | 4,492 | 296 | 1 | [] |
[
"<s>",
"EVT",
"SystemZTargetLowering",
"::",
"getOptimalMemOpType",
"(",
"const",
"MemOp",
"&",
"Op",
",",
"const",
"AttributeList",
"&",
"FuncAttributes",
")",
"const",
"{",
"return",
"Subtarget",
".",
"hasVector",
"(",
")",
"?",
"MVT",
"::",
"v2i64",
":",
... | [
"It",
"returns",
"EVT",
":",
":Other",
"if",
"the",
"type",
"should",
"be",
"determined",
"using",
"generic",
"target-independent",
"logic",
"."
] | [
"SystemZ",
"SystemZ",
"MVT::v2i64",
"MVT::Other"
] | SystemZISelLowering57 | getOptimalMemOpType | SystemZ | CPU | LLVM | 4,493 | 33 | 1 | [] |
[
"<s>",
"bool",
"mayNeedRelaxation",
"(",
"const",
"MCInst",
"&",
"Inst",
")",
"const",
"{",
"return",
"false",
";",
"}",
"</s>"
] | [
"Check",
"whether",
"the",
"given",
"instruction",
"may",
"need",
"relaxation",
"."
] | [
"Videocore"
] | VideocoreAsmBackend | mayNeedRelaxation | Videocore | DSP | LLVM | 4,494 | 14 | 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"
] | AArch64AsmPrinter15 | emitJumpTableInfo | AArch64 | CPU | LLVM | 4,495 | 279 | 1 | [] |
[
"<s>",
"bool",
"WebAssemblyTargetLowering",
"::",
"isCheapToSpeculateCttz",
"(",
")",
"const",
"{",
"return",
"true",
";",
"}",
"</s>"
] | [
"Return",
"true",
"if",
"it",
"is",
"cheap",
"to",
"speculate",
"a",
"call",
"to",
"intrinsic",
"cttz",
"."
] | [
"WebAssembly",
"WebAssembly"
] | WebAssemblyISelLowering (2)1 | isCheapToSpeculateCttz | WebAssembly | Virtual ISA | LLVM | 4,496 | 12 | 1 | [] |
[
"<s>",
"virtual",
"void",
"initializePass",
"(",
")",
"{",
"pushTTIStack",
"(",
"this",
")",
";",
"}",
"</s>"
] | [
"initializePass",
"-",
"This",
"method",
"may",
"be",
"overriden",
"by",
"immutable",
"passes",
"to",
"allow",
"them",
"to",
"perform",
"various",
"initialization",
"actions",
"they",
"require",
"."
] | [
"X86"
] | X86TargetTransformInfo113 | initializePass | X86 | CPU | LLVM | 4,497 | 12 | 1 | [] |
[
"<s>",
"static",
"void",
"load_lr_save",
"(",
"int",
"regno",
",",
"rtx",
"frame_reg_rtx",
",",
"int",
"offset",
")",
"{",
"rtx",
"mem",
"=",
"gen_frame_mem_offset",
"(",
"Pmode",
",",
"frame_reg_rtx",
",",
"offset",
")",
";",
"rtx",
"reg",
"=",
"gen_rtx_R... | [
"Like",
"cr",
",",
"the",
"move",
"to",
"lr",
"instruction",
"can",
"be",
"scheduled",
"after",
"the",
"stack",
"deallocation",
",",
"but",
"unlike",
"cr",
",",
"its",
"stack",
"frame",
"save",
"is",
"still",
"valid",
".",
"So",
"we",
"only",
"need",
"... | [
"rs6000"
] | rs6000-logue | load_lr_save | rs6000 | CPU | GCC | 4,498 | 44 | 1 | [] |
[
"<s>",
"static",
"bool",
"riscv_valid_offset_p",
"(",
"rtx",
"x",
",",
"machine_mode",
"mode",
")",
"{",
"if",
"(",
"!",
"const_arith_operand",
"(",
"x",
",",
"Pmode",
")",
")",
"return",
"false",
";",
"if",
"(",
"GET_MODE_SIZE",
"(",
"mode",
")",
".",
... | [
"Return",
"true",
"if",
",",
"for",
"every",
"base",
"register",
"BASE_REG",
",",
"(",
"plus",
"BASE_REG",
"X",
")",
"can",
"address",
"a",
"value",
"of",
"mode",
"MODE",
"."
] | [
"riscv"
] | riscv1 | riscv_valid_offset_p | riscv | CPU | GCC | 4,499 | 64 | 1 | [] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.