ground_truth listlengths 8 512 | natrual_language listlengths 1 243 | TS_V_token listlengths 1 182 | File stringlengths 2 45 | Func stringlengths 1 56 | Target stringclasses 175
values | Target_Clf stringclasses 6
values | Compiler_Type stringclasses 2
values | Idx int64 0 36.2k | Length int64 6 510 | Cover_Rate float64 1 1 | Template_token listlengths 0 0 |
|---|---|---|---|---|---|---|---|---|---|---|---|
[
"<s>",
"void",
"NVPTXAsmPrinter",
"::",
"emitGlobals",
"(",
"const",
"Module",
"&",
"M",
")",
"{",
"SmallString",
"<",
"128",
">",
"Str2",
";",
"raw_svector_ostream",
"OS2",
"(",
"Str2",
")",
";",
"emitDeclarations",
"(",
"M",
",",
"OS2",
")",
";",
"Smal... | [
"EmitGlobals",
"-",
"Emit",
"all",
"of",
"the",
"global",
"variables",
"to",
"memory",
",",
"storing",
"their",
"addresses",
"into",
"GlobalAddress",
"."
] | [
"NVPTX",
"NVPTX",
"128",
"8",
"\"Missed a global variable\"",
"0",
"\"Did not fully process a global variable\"",
"0"
] | NVPTXAsmPrinter1 | emitGlobals | NVPTX | GPU | LLVM | 27,100 | 177 | 1 | [] |
[
"<s>",
"MCSection",
"*",
"getExplicitSectionGlobal",
"(",
"const",
"GlobalValue",
"*",
"GV",
",",
"SectionKind",
"Kind",
",",
"Mangler",
"&",
"Mang",
",",
"const",
"TargetMachine",
"&",
"TM",
")",
"const",
"override",
"{",
"return",
"DataSection",
";",
"}",
... | [
"Targets",
"should",
"implement",
"this",
"method",
"to",
"assign",
"a",
"section",
"to",
"globals",
"with",
"an",
"explicit",
"section",
"specfied",
"."
] | [
"NVPTX"
] | NVPTXTargetObjectFile (2) | getExplicitSectionGlobal | NVPTX | GPU | LLVM | 27,101 | 28 | 1 | [] |
[
"<s>",
"Value",
"*",
"AArch64TargetLowering",
"::",
"getSafeStackPointerLocation",
"(",
"IRBuilderBase",
"&",
"IRB",
")",
"const",
"{",
"if",
"(",
"Subtarget",
"->",
"isTargetAndroid",
"(",
")",
")",
"return",
"UseTlsOffset",
"(",
"IRB",
",",
"0x48",
")",
";",... | [
"Return",
"true",
"if",
"the",
"target",
"stores",
"SafeStack",
"pointer",
"at",
"a",
"fixed",
"offset",
"in",
"some",
"non-standard",
"address",
"space",
",",
"and",
"populates",
"the",
"address",
"space",
"and",
"offset",
"as",
"appropriate",
"."
] | [
"AArch64",
"AArch64",
"0x48",
"0x8"
] | AArch64ISelLowering (2)2 | getSafeStackPointerLocation | AArch64 | CPU | LLVM | 27,102 | 54 | 1 | [] |
[
"<s>",
"DecodeStatus",
"SystemZDisassembler",
"::",
"getInstruction",
"(",
"MCInst",
"&",
"MI",
",",
"uint64_t",
"&",
"Size",
",",
"ArrayRef",
"<",
"uint8_t",
">",
"Bytes",
",",
"uint64_t",
"Address",
",",
"raw_ostream",
"&",
"OS",
",",
"raw_ostream",
"&",
"... | [
"Returns",
"the",
"disassembly",
"of",
"a",
"single",
"instruction",
"."
] | [
"SystemZ",
"SystemZ",
"0",
"2",
"0",
"0x40",
"2",
"0",
"0xc0",
"4",
"6",
"0",
"0",
"8"
] | SystemZDisassembler (2)1 | getInstruction | SystemZ | CPU | LLVM | 27,103 | 170 | 1 | [] |
[
"<s>",
"const",
"MBlazeInstrInfo",
"*",
"getInstrInfo",
"(",
")",
"{",
"return",
"getTargetMachine",
"(",
")",
".",
"getInstrInfo",
"(",
")",
";",
"}",
"</s>"
] | [
"TargetInstrInfo",
"getter",
"."
] | [
"MBlaze",
"MBlaze"
] | MBlazeISelDAGToDAG | getInstrInfo | MBlaze | MPU | LLVM | 27,104 | 17 | 1 | [] |
[
"<s>",
"SUnit",
"*",
"R600SchedStrategy",
"::",
"pickNode",
"(",
"bool",
"&",
"IsTopNode",
")",
"{",
"SUnit",
"*",
"SU",
"=",
"nullptr",
";",
"NextInstKind",
"=",
"IDOther",
";",
"IsTopNode",
"=",
"false",
";",
"bool",
"AllowSwitchToAlu",
"=",
"(",
"CurEmi... | [
"Pick",
"the",
"next",
"node",
"to",
"schedule",
",",
"or",
"return",
"NULL",
"."
] | [
"AMDGPU",
"R600",
"0",
"62.5f",
"\" approx. Wavefronts Required\\n\"",
"2",
"0",
"\" ** Pick node **\\n\"",
"\"NO NODE \\n\"",
"0"
] | R600MachineScheduler13 | pickNode | AMDGPU | GPU | LLVM | 27,105 | 404 | 1 | [] |
[
"<s>",
"bool",
"LinuxAsmPrinter",
"::",
"doFinalization",
"(",
"Module",
"&",
"M",
")",
"{",
"for",
"(",
"Module",
"::",
"const_global_iterator",
"I",
"=",
"M",
".",
"global_begin",
"(",
")",
",",
"E",
"=",
"M",
".",
"global_end",
"(",
")",
";",
"I",
... | [
"doFinalization",
"-",
"Virtual",
"method",
"overriden",
"by",
"subclasses",
"to",
"do",
"any",
"necessary",
"clean",
"up",
"after",
"all",
"passes",
"have",
"run",
"."
] | [
"CellSPU"
] | SPUAsmPrinter10 | doFinalization | CellSPU | MPU | LLVM | 27,106 | 58 | 1 | [] |
[
"<s>",
"void",
"s390_function_arg_advance",
"(",
"CUMULATIVE_ARGS",
"*",
"cum",
",",
"enum",
"machine_mode",
"mode",
",",
"tree",
"type",
",",
"int",
"named",
"ATTRIBUTE_UNUSED",
")",
"{",
"if",
"(",
"s390_function_arg_float",
"(",
"mode",
",",
"type",
")",
")... | [
"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.",
")"... | [
"s390",
"1",
"1"
] | s3903 | s390_function_arg_advance | s390 | MPU | GCC | 27,107 | 80 | 1 | [] |
[
"<s>",
"static",
"machine_mode",
"rs6000_preferred_doloop_mode",
"(",
"machine_mode",
")",
"{",
"return",
"word_mode",
";",
"}",
"</s>"
] | [
"Implement",
"TARGET_PREFERRED_DOLOOP_MODE",
"."
] | [
"rs6000"
] | rs6000 | rs6000_preferred_doloop_mode | rs6000 | CPU | GCC | 27,108 | 11 | 1 | [] |
[
"<s>",
"enum",
"reg_class",
"s390_preferred_reload_class",
"(",
"rtx",
"op",
",",
"enum",
"reg_class",
"class",
")",
"{",
"switch",
"(",
"GET_CODE",
"(",
"op",
")",
")",
"{",
"case",
"CONST_DOUBLE",
":",
"case",
"CONST_INT",
":",
"if",
"(",
"legitimate_reloa... | [
"Given",
"an",
"rtx",
"OP",
"being",
"reloaded",
"into",
"a",
"reg",
"required",
"to",
"be",
"in",
"class",
"CLASS",
",",
"return",
"the",
"class",
"of",
"reg",
"to",
"actually",
"use",
"."
] | [
"s390"
] | s3903 | s390_preferred_reload_class | s390 | MPU | GCC | 27,109 | 77 | 1 | [] |
[
"<s>",
"int64_t",
"getOffset",
"(",
")",
"{",
"return",
"Offset",
";",
"}",
"</s>"
] | [
"Get",
"the",
"offest",
"of",
"a",
"string",
"in",
"the",
"string",
"table",
"."
] | [
"AArch64"
] | AArch64FastISel (2) | getOffset | AArch64 | CPU | LLVM | 27,110 | 9 | 1 | [] |
[
"<s>",
"void",
"rs6000_final_prescan_insn",
"(",
"rtx_insn",
"*",
"insn",
",",
"rtx",
"*",
"operand",
"ATTRIBUTE_UNUSED",
",",
"int",
"num_operands",
"ATTRIBUTE_UNUSED",
")",
"{",
"if",
"(",
"rs6000_warn_cell_microcode",
")",
"{",
"const",
"char",
"*",
"temp",
"... | [
"Define",
"FINAL_PRESCAN_INSN",
"if",
"some",
"processing",
"needs",
"to",
"be",
"done",
"before",
"outputting",
"the",
"assembler",
"code",
".",
"On",
"the",
"PowerPC",
",",
"we",
"remember",
"if",
"the",
"current",
"insn",
"is",
"a",
"prefixed",
"insn",
"w... | [
"rs6000",
"0",
"\"emitting microcode insn %s\\t[%s] #%d\"",
"\"emitting conditional microcode insn %s\\t[%s] #%d\""
] | rs60004 | rs6000_final_prescan_insn | rs6000 | CPU | GCC | 27,111 | 133 | 1 | [] |
[
"<s>",
"virtual",
"const",
"MCSection",
"*",
"getSectionForConstant",
"(",
"SectionKind",
"Kind",
")",
"const",
"{",
"return",
"ReadOnlySection",
";",
"}",
"</s>"
] | [
"Given",
"a",
"constant",
"with",
"the",
"SectionKind",
",",
"return",
"a",
"section",
"that",
"it",
"should",
"be",
"placed",
"in",
"."
] | [
"Z80"
] | Z80TargetObjectFile | getSectionForConstant | Z80 | MPU | LLVM | 27,112 | 15 | 1 | [] |
[
"<s>",
"bool",
"pass_vsetvl",
"::",
"hard_empty_block_p",
"(",
"const",
"bb_info",
"*",
"bb",
",",
"const",
"vector_insn_info",
"&",
"info",
")",
"const",
"{",
"if",
"(",
"!",
"info",
".",
"dirty_p",
"(",
")",
"||",
"!",
"info",
".",
"has_avl_reg",
"(",
... | [
"We",
"almost",
"enable",
"all",
"cases",
"in",
"get_backward_fusion_type",
",",
"this",
"function",
"disable",
"the",
"backward",
"fusion",
"by",
"changing",
"dirty",
"blocks",
"into",
"hard",
"empty",
"blocks",
"in",
"forward",
"dataflow",
".",
"We",
"can",
... | [
"riscv"
] | riscv-vsetvl | hard_empty_block_p | riscv | CPU | GCC | 27,113 | 415 | 1 | [] |
[
"<s>",
"bool",
"CookieSetter",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"{",
"TII",
"=",
"MF",
".",
"getSubtarget",
"(",
")",
".",
"getInstrInfo",
"(",
")",
";",
"TRI",
"=",
"MF",
".",
"getSubtarget",
"(",
")",
".",
"getRegis... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"X86",
"\"Setting cookies for \"",
"\"\\n\""
] | CookieSetter | runOnMachineFunction | X86 | CPU | LLVM | 27,114 | 87 | 1 | [] |
[
"<s>",
"bool",
"GCNHazardRecognizer",
"::",
"ShouldPreferAnother",
"(",
"SUnit",
"*",
"SU",
")",
"{",
"if",
"(",
"!",
"SU",
"->",
"isInstr",
"(",
")",
")",
"return",
"false",
";",
"MachineInstr",
"*",
"MAI",
"=",
"nullptr",
";",
"auto",
"IsMFMAFn",
"=",
... | [
"ShouldPreferAnother",
"-",
"This",
"callback",
"may",
"be",
"invoked",
"if",
"getHazardType",
"returns",
"NoHazard",
"."
] | [
"AMDGPU",
"SI",
"AMDGPU::V_ACCVGPR_WRITE_B32_e64",
"AMDGPU::V_ACCVGPR_READ_B32_e64",
"16"
] | GCNHazardRecognizer16 | ShouldPreferAnother | AMDGPU | GPU | LLVM | 27,115 | 136 | 1 | [] |
[
"<s>",
"void",
"ARMPassConfig",
"::",
"addPreRegAlloc",
"(",
")",
"{",
"if",
"(",
"getOptLevel",
"(",
")",
"!=",
"CodeGenOpt",
"::",
"None",
")",
"addPass",
"(",
"createARMLoadStoreOptimizationPass",
"(",
"true",
")",
")",
";",
"if",
"(",
"getOptLevel",
"(",... | [
"This",
"method",
"may",
"be",
"implemented",
"by",
"targets",
"that",
"want",
"to",
"run",
"passes",
"immediately",
"before",
"register",
"allocation",
"."
] | [
"ARM",
"ARM",
"ARM",
"ARM",
"ARM",
"ARM"
] | ARMTargetMachine25 | addPreRegAlloc | ARM | CPU | LLVM | 27,116 | 89 | 1 | [] |
[
"<s>",
"static",
"void",
"bpf_asm_named_section",
"(",
"const",
"char",
"*",
"name",
",",
"unsigned",
"int",
"flags",
"ATTRIBUTE_UNUSED",
",",
"tree",
"decl",
"ATTRIBUTE_UNUSED",
")",
"{",
"fprintf",
"(",
"asm_out_file",
",",
"\"\\t.section\\t%s\\n\"",
",",
"name"... | [
"Output",
"assembly",
"directives",
"to",
"switch",
"to",
"section",
"NAME",
".",
"The",
"section",
"should",
"have",
"attributes",
"as",
"specified",
"by",
"FLAGS",
",",
"which",
"is",
"a",
"bit",
"mask",
"of",
"the",
"'SECTION_",
"*",
"'",
"flags",
"defi... | [
"bpf",
"\"\\t.section\\t%s\\n\""
] | bpf | bpf_asm_named_section | bpf | Virtual ISA | GCC | 27,117 | 29 | 1 | [] |
[
"<s>",
"void",
"GCNPassConfig",
"::",
"addOptimizedRegAlloc",
"(",
"FunctionPass",
"*",
"RegAllocPass",
")",
"{",
"insertPass",
"(",
"&",
"MachineSchedulerID",
",",
"&",
"SIFixControlFlowLiveIntervalsID",
")",
";",
"insertPass",
"(",
"&",
"PHIEliminationID",
",",
"&... | [
"addOptimizedRegAlloc",
"-",
"Add",
"passes",
"related",
"to",
"register",
"allocation",
"."
] | [
"AMDGPU",
"SI",
"SI"
] | AMDGPUTargetMachine113 | addOptimizedRegAlloc | AMDGPU | GPU | LLVM | 27,118 | 38 | 1 | [] |
[
"<s>",
"static",
"const",
"char",
"*",
"rs6000_indirect_call_template_1",
"(",
"rtx",
"*",
"operands",
",",
"unsigned",
"int",
"funop",
",",
"bool",
"sibcall",
")",
"{",
"gcc_assert",
"(",
"funop",
"<=",
"MAX_RECOG_OPERANDS",
")",
";",
"static",
"char",
"str",... | [
"As",
"above",
",",
"for",
"indirect",
"calls",
"."
] | [
"rs6000",
"160",
"\"d\"",
"\"wz\"",
"\"l%s 2,%%%u\\n\\t\"",
"3",
"\"64\"",
"\"\"",
"29",
"0",
"0",
"1",
"1",
"1",
"\".reloc .,R_PPC%s_TLSGD,%%%u\\n\\t\"",
"1",
"1",
"1",
"\".reloc .,R_PPC%s_TLSLD,%%&\\n\\t\"",
"\"_NOTOC\"",
"\"\"",
"2",
"\"+32768\"",
"\"\"",
"\"%s.rel... | rs6000 | rs6000_indirect_call_template_1 | rs6000 | CPU | GCC | 27,119 | 484 | 1 | [] |
[
"<s>",
"void",
"loongarch_expand_conditional_move",
"(",
"rtx",
"*",
"operands",
")",
"{",
"enum",
"rtx_code",
"code",
"=",
"GET_CODE",
"(",
"operands",
"[",
"1",
"]",
")",
";",
"rtx",
"op0",
"=",
"XEXP",
"(",
"operands",
"[",
"1",
"]",
",",
"0",
")",
... | [
"Perform",
"the",
"comparison",
"in",
"OPERANDS",
"[",
"1",
"]",
".",
"Move",
"OPERANDS",
"[",
"2",
"]",
"into",
"OPERANDS",
"[",
"0",
"]",
"if",
"the",
"condition",
"holds",
",",
"otherwise",
"move",
"OPERANDS",
"[",
"3",
"]",
"into",
"OPERANDS",
"[",... | [
"loongarch",
"1",
"1",
"0",
"1",
"1",
"2",
"2",
"3",
"0",
"2",
"3",
"0",
"0",
"0",
"2",
"3"
] | loongarch | loongarch_expand_conditional_move | loongarch | CPU | GCC | 27,120 | 368 | 1 | [] |
[
"<s>",
"SDValue",
"AVRTargetLowering",
"::",
"LowerReturn",
"(",
"SDValue",
"Chain",
",",
"CallingConv",
"::",
"ID",
"CallConv",
",",
"bool",
"isVarArg",
",",
"const",
"SmallVectorImpl",
"<",
"ISD",
"::",
"OutputArg",
">",
"&",
"Outs",
",",
"const",
"SmallVect... | [
"This",
"hook",
"must",
"be",
"implemented",
"to",
"lower",
"outgoing",
"return",
"values",
",",
"described",
"by",
"the",
"Outs",
"array",
",",
"into",
"the",
"specified",
"DAG",
"."
] | [
"AVR",
"AVR",
"ISD::OutputArg",
"16",
"AVR",
"AVR",
"4",
"1",
"0",
"\"Can only return in registers!\"",
"1",
"AVR",
"AVR",
"AVRISD::RETI_FLAG",
"AVRISD::RET_FLAG",
"0",
"MVT::Other"
] | AVRISelLowering13 | LowerReturn | AVR | MPU | LLVM | 27,121 | 330 | 1 | [] |
[
"<s>",
"static",
"bool",
"can_use_callp",
"(",
"rtx_insn",
"*",
"insn",
")",
"{",
"int",
"icode",
"=",
"recog_memoized",
"(",
"insn",
")",
";",
"if",
"(",
"!",
"TARGET_INSNS_64PLUS",
"||",
"icode",
"<",
"0",
"||",
"GET_CODE",
"(",
"PATTERN",
"(",
"insn",... | [
"Determine",
"whether",
"INSN",
"'s",
"pattern",
"can",
"be",
"converted",
"to",
"use",
"callp",
"."
] | [
"c6x",
"0"
] | c6x | can_use_callp | c6x | VLIW | GCC | 27,122 | 64 | 1 | [] |
[
"<s>",
"bool",
"X86AsmPrinter",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"{",
"Subtarget",
"=",
"&",
"MF",
".",
"getSubtarget",
"<",
"X86Subtarget",
">",
"(",
")",
";",
"SMShadowTracker",
".",
"startFunction",
"(",
"MF",
")",
";"... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"X86",
"X86",
"X86"
] | X86AsmPrinter50 | runOnMachineFunction | X86 | CPU | LLVM | 27,123 | 163 | 1 | [] |
[
"<s>",
"SDValue",
"PPCTargetLowering",
"::",
"getNegatedExpression",
"(",
"SDValue",
"Op",
",",
"SelectionDAG",
"&",
"DAG",
",",
"bool",
"LegalOps",
",",
"bool",
"OptForSize",
",",
"NegatibleCost",
"&",
"Cost",
",",
"unsigned",
"Depth",
")",
"const",
"{",
"if"... | [
"Return",
"the",
"newly",
"negated",
"expression",
"if",
"the",
"cost",
"is",
"not",
"expensive",
"and",
"set",
"the",
"cost",
"in",
"Cost",
"to",
"indicate",
"that",
"if",
"it",
"is",
"cheaper",
"or",
"neutral",
"to",
"do",
"the",
"negation",
"."
] | [
"PowerPC",
"PPC",
"PPCISD::FNMSUB",
"0",
"1",
"2",
"1",
"1",
"1",
"ISD::FMA",
"ISD::FMA"
] | PPCISelLowering100 | getNegatedExpression | PowerPC | CPU | LLVM | 27,124 | 390 | 1 | [] |
[
"<s>",
"bool",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"{",
"if",
"(",
"!",
"MF",
".",
"getFrameInfo",
"(",
")",
".",
"hasVarSizedObjects",
"(",
")",
")",
"{",
"return",
"false",
";",
"}",
"const",
"GBZ80Subtarget",
"&",
"STI",
"=... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"GBZ80",
"GB",
"GB",
"GB::DREGSRegClass",
"GB::COPY",
"GB::SP",
"GB::COPY",
"GB::SP"
] | GBZ80FrameLowering | runOnMachineFunction | GBZ80 | MPU | LLVM | 27,125 | 209 | 1 | [] |
[
"<s>",
"std",
"::",
"vector",
"<",
"MachineBasicBlock",
"*",
">",
"&",
"getBlocksVector",
"(",
")",
"{",
"return",
"Blocks",
";",
"}",
"</s>"
] | [
"Return",
"a",
"direct",
",",
"mutable",
"handle",
"to",
"the",
"blocks",
"vector",
"so",
"that",
"we",
"can",
"mutate",
"it",
"efficiently",
"with",
"techniques",
"like",
"std",
":",
":remove",
"."
] | [
"WebAssembly"
] | WebAssemblyExceptionInfo | getBlocksVector | WebAssembly | Virtual ISA | LLVM | 27,126 | 16 | 1 | [] |
[
"<s>",
"bool",
"X86FrameLowering",
"::",
"assignCalleeSavedSpillSlots",
"(",
"MachineFunction",
"&",
"MF",
",",
"const",
"TargetRegisterInfo",
"*",
"TRI",
",",
"std",
"::",
"vector",
"<",
"CalleeSavedInfo",
">",
"&",
"CSI",
")",
"const",
"{",
"MachineFrameInfo",
... | [
"This",
"function",
"will",
"assign",
"callee",
"saved",
"gprs",
"to",
"volatile",
"vector",
"registers",
"for",
"prologue",
"spills",
"when",
"applicable",
"."
] | [
"X86",
"X86",
"X86",
"X86",
"X86",
"X86",
"X86",
"0",
"X86",
"0",
"0",
"1",
"X86::GR64RegClass",
"X86::GR32RegClass",
"1",
"X86",
"0",
"1",
"X86::GR64RegClass",
"X86::GR32RegClass",
"1"
] | X86FrameLowering115 | assignCalleeSavedSpillSlots | X86 | CPU | LLVM | 27,127 | 409 | 1 | [] |
[
"<s>",
"SDValue",
"NVPTXTargetLowering",
"::",
"LowerReturn",
"(",
"SDValue",
"Chain",
",",
"CallingConv",
"::",
"ID",
"CallConv",
",",
"bool",
"isVarArg",
",",
"const",
"SmallVectorImpl",
"<",
"ISD",
"::",
"OutputArg",
">",
"&",
"Outs",
",",
"const",
"SmallVe... | [
"This",
"hook",
"must",
"be",
"implemented",
"to",
"lower",
"outgoing",
"return",
"values",
",",
"described",
"by",
"the",
"Outs",
"array",
",",
"into",
"the",
"specified",
"DAG",
"."
] | [
"NVPTX",
"NVPTX",
"ISD::OutputArg",
"20",
"\"Non-ABI compilation is not supported\"",
"16",
"16",
"\"Bad return value decomposition\"",
"1",
"32",
"6",
"0",
"\"Orphaned operand list.\"",
"MVT::i32",
"ISD::SIGN_EXTEND",
"ISD::ZERO_EXTEND",
"MVT::i32",
"16",
"ISD::ANY_EXTEND",
"M... | NVPTXISelLowering24 | LowerReturn | NVPTX | GPU | LLVM | 27,128 | 509 | 1 | [] |
[
"<s>",
"void",
"BPFAsmBackend",
"::",
"applyFixup",
"(",
"const",
"MCAssembler",
"&",
"Asm",
",",
"const",
"MCFixup",
"&",
"Fixup",
",",
"const",
"MCValue",
"&",
"Target",
",",
"MutableArrayRef",
"<",
"char",
">",
"Data",
",",
"uint64_t",
"Value",
",",
"bo... | [
"Apply",
"the",
"Value",
"for",
"given",
"Fixup",
"into",
"the",
"provided",
"data",
"fragment",
",",
"at",
"the",
"offset",
"specified",
"by",
"the",
"fixup",
"and",
"following",
"the",
"fixup",
"kind",
"as",
"appropriate",
"."
] | [
"BPF",
"BPF",
"support::endian",
"4",
"support::endian",
"support::endian",
"8",
"8",
"support::little",
"1",
"0x10",
"support::endian",
"4",
"1",
"0x1",
"support::endian",
"4",
"8",
"8",
"8",
"\"Branch target out of insn range\"",
"8",
"8",
"support::endian",
"2"
] | BPFAsmBackend (2)1 | applyFixup | BPF | Virtual ISA | LLVM | 27,129 | 358 | 1 | [] |
[
"<s>",
"virtual",
"MVT",
"getScalarShiftAmountTy",
"(",
"EVT",
"LHSTy",
")",
"const",
"{",
"return",
"MVT",
"::",
"i32",
";",
"}",
"</s>"
] | [
"Return",
"the",
"type",
"to",
"use",
"for",
"a",
"scalar",
"shift",
"opcode",
",",
"given",
"the",
"shifted",
"amount",
"type",
"."
] | [
"Mandarin",
"MVT::i32"
] | MandarinISelLowering | getScalarShiftAmountTy | Mandarin | CPU | LLVM | 27,130 | 15 | 1 | [] |
[
"<s>",
"static",
"void",
"ix86_warn_parameter_passing_abi",
"(",
"cumulative_args_t",
"cum_v",
",",
"tree",
"type",
")",
"{",
"CUMULATIVE_ARGS",
"*",
"cum",
"=",
"get_cumulative_args",
"(",
"cum_v",
")",
";",
"if",
"(",
"!",
"cum",
"->",
"warn_empty",
")",
"re... | [
"Implement",
"TARGET_WARN_PARAMETER_PASSING_ABI",
"."
] | [
"i386",
"0",
"\"empty class %qT parameter passing ABI \"",
"\"changes in -fabi-version=12 (GCC 8)\""
] | i3867 | ix86_warn_parameter_passing_abi | i386 | CPU | GCC | 27,131 | 91 | 1 | [] |
[
"<s>",
"bool",
"AArch64RegisterInfo",
"::",
"isFrameOffsetLegal",
"(",
"const",
"MachineInstr",
"*",
"MI",
",",
"int64_t",
"Offset",
")",
"const",
"{",
"assert",
"(",
"Offset",
"<=",
"INT_MAX",
"&&",
"\"Offset too big to fit in int.\"",
")",
";",
"assert",
"(",
... | [
"Determine",
"whether",
"a",
"given",
"base",
"register",
"plus",
"offset",
"immediate",
"is",
"encodable",
"to",
"resolve",
"a",
"frame",
"index",
"."
] | [
"AArch64",
"AArch64",
"\"Offset too big to fit in int.\"",
"\"Unable to get the legal offset for nil instruction.\"",
"AArch64",
"AArch64"
] | AArch64RegisterInfo1 | isFrameOffsetLegal | AArch64 | CPU | LLVM | 27,132 | 48 | 1 | [] |
[
"<s>",
"const",
"MCPhysReg",
"*",
"PPCRegisterInfo",
"::",
"getCalleeSavedRegs",
"(",
"const",
"MachineFunction",
"*",
"MF",
")",
"const",
"{",
"const",
"PPCSubtarget",
"&",
"Subtarget",
"=",
"MF",
"->",
"getSubtarget",
"<",
"PPCSubtarget",
">",
"(",
")",
";",... | [
"Code",
"Generation",
"virtual",
"methods",
"..."
] | [
"PowerPC",
"PPC",
"PPC",
"PPC",
"\"the default AIX Altivec ABI is not yet \"",
"\"supported.\"",
"PPC",
"\"AnyReg unimplemented on 32-bit AIX.\"",
"PPC::X2",
"\"Cold calling unimplemented on AIX.\"",
"PPC",
"PPC",
"PPC",
"PPC",
"PPC",
"PPC"
] | PPCRegisterInfo40 | getCalleeSavedRegs | PowerPC | CPU | LLVM | 27,133 | 315 | 1 | [] |
[
"<s>",
"void",
"ARM64BranchRelaxation",
"::",
"verify",
"(",
")",
"{",
"unsigned",
"PrevNum",
"=",
"MF",
"->",
"begin",
"(",
")",
"->",
"getNumber",
"(",
")",
";",
"for",
"(",
"MachineBasicBlock",
"&",
"MBB",
":",
"*",
"MF",
")",
"{",
"unsigned",
"Alig... | [
"Check",
"if",
"this",
"register",
"bank",
"is",
"valid",
"."
] | [
"ARM64",
"ARM64",
"1u",
"0"
] | ARM64BranchRelaxation | verify | ARM64 | CPU | LLVM | 27,134 | 94 | 1 | [] |
[
"<s>",
"void",
"altivec_expand_stvx_be",
"(",
"rtx",
"op0",
",",
"rtx",
"op1",
",",
"machine_mode",
"mode",
",",
"unsigned",
"unspec",
")",
"{",
"rtx",
"tmp",
"=",
"gen_reg_rtx",
"(",
"mode",
")",
";",
"rtx",
"store",
"=",
"gen_rtx_SET",
"(",
"VOIDmode",
... | [
"Generate",
"code",
"for",
"a",
"``",
"stvx",
"''",
"or",
"``",
"stvxl",
"''",
"built-in",
"for",
"a",
"little",
"endian",
"target",
"with",
"-maltivec=be",
"specified",
".",
"Issue",
"the",
"store",
"preceded",
"by",
"an",
"element-reversing",
"permute",
".... | [
"rs6000",
"1",
"2",
"3"
] | rs60004 | altivec_expand_stvx_be | rs6000 | CPU | GCC | 27,135 | 127 | 1 | [] |
[
"<s>",
"const",
"char",
"*",
"getPassName",
"(",
")",
"const",
"{",
"return",
"\"Hexagon remove redundant zero and size extends\"",
";",
"}",
"</s>"
] | [
"getPassName",
"-",
"Return",
"a",
"nice",
"clean",
"name",
"for",
"a",
"pass",
"."
] | [
"Hexagon",
"\"Hexagon remove redundant zero and size extends\""
] | HexagonOptimizeSZextends | getPassName | Hexagon | DSP | LLVM | 27,136 | 12 | 1 | [] |
[
"<s>",
"bool",
"PPCInstrInfo",
"::",
"isAssociativeAndCommutative",
"(",
"const",
"MachineInstr",
"&",
"Inst",
")",
"const",
"{",
"switch",
"(",
"Inst",
".",
"getOpcode",
"(",
")",
")",
"{",
"case",
"PPC",
"::",
"FADD",
":",
"case",
"PPC",
"::",
"FADDS",
... | [
"Return",
"true",
"when",
"\\P",
"Inst",
"is",
"both",
"associative",
"and",
"commutative",
"."
] | [
"PowerPC",
"PPC",
"PPC::FADD",
"PPC::FADDS",
"PPC::FMUL",
"PPC::FMULS",
"PPC::VADDFP",
"PPC::XSADDDP",
"PPC::XVADDDP",
"PPC::XVADDSP",
"PPC::XSADDSP",
"PPC::XSMULDP",
"PPC::XVMULDP",
"PPC::XVMULSP",
"PPC::XSMULSP",
"PPC::QVFADD",
"PPC::QVFADDS",
"PPC::QVFADDSs",
"PPC::QVFMUL",
... | PPCInstrInfo72 | isAssociativeAndCommutative | PowerPC | CPU | LLVM | 27,137 | 146 | 1 | [] |
[
"<s>",
"const",
"uint16_t",
"*",
"TLCS900RegisterInfo",
"::",
"getCalleeSavedRegs",
"(",
"const",
"MachineFunction",
"*",
"MF",
")",
"const",
"{",
"const",
"TargetFrameLowering",
"*",
"TFI",
"=",
"MF",
"->",
"getTarget",
"(",
")",
".",
"getFrameLowering",
"(",
... | [
"Code",
"Generation",
"virtual",
"methods",
"..."
] | [
"TLCS900",
"TLCS900",
"TLCS900::FPW",
"TLCS900::R5W",
"TLCS900::R6W",
"TLCS900::R7W",
"TLCS900::R8W",
"TLCS900::R9W",
"TLCS900::R10W",
"TLCS900::R11W",
"0",
"TLCS900::R5W",
"TLCS900::R6W",
"TLCS900::R7W",
"TLCS900::R8W",
"TLCS900::R9W",
"TLCS900::R10W",
"TLCS900::R11W",
"0",
"T... | TLCS900RegisterInfo | getCalleeSavedRegs | TLCS900 | MPU | LLVM | 27,138 | 282 | 1 | [] |
[
"<s>",
"static",
"unsigned",
"selectBinaryOp",
"(",
"unsigned",
"GenericOpc",
",",
"unsigned",
"RegBankID",
",",
"unsigned",
"OpSize",
")",
"{",
"switch",
"(",
"RegBankID",
")",
"{",
"case",
"AArch64",
"::",
"GPRRegBankID",
":",
"if",
"(",
"OpSize",
"==",
"3... | [
"Select",
"and",
"emit",
"code",
"for",
"a",
"binary",
"operator",
"instruction",
",",
"which",
"has",
"an",
"opcode",
"which",
"directly",
"corresponds",
"to",
"the",
"given",
"ISD",
"opcode",
"."
] | [
"AArch64",
"AArch64::GPRRegBankID",
"32",
"AArch64::LSLVWr",
"AArch64::LSRVWr",
"AArch64::ASRVWr",
"64",
"AArch64::ADDXrr",
"AArch64::LSLVXr",
"AArch64::LSRVXr",
"AArch64::ASRVXr",
"AArch64::FPRRegBankID",
"32",
"AArch64::FADDSrr",
"AArch64::FSUBSrr",
"AArch64::FMULSrr",
"AArch64::FD... | AArch64InstructionSelector (2) | selectBinaryOp | AArch64 | CPU | LLVM | 27,139 | 271 | 1 | [] |
[
"<s>",
"static",
"rtx",
"frv_alloc_temp_reg",
"(",
"frv_tmp_reg_t",
"*",
"info",
",",
"enum",
"reg_class",
"rclass",
",",
"machine_mode",
"mode",
",",
"int",
"mark_as_used",
",",
"int",
"no_abort",
")",
"{",
"int",
"regno",
"=",
"info",
"->",
"next_reg",
"["... | [
"Return",
"the",
"next",
"available",
"temporary",
"register",
"in",
"a",
"given",
"class",
"."
] | [
"frv",
"0",
"0"
] | frv | frv_alloc_temp_reg | frv | VLIW | GCC | 27,140 | 173 | 1 | [] |
[
"<s>",
"bool",
"sparc_modes_tieable_p",
"(",
"machine_mode",
"mode1",
",",
"machine_mode",
"mode2",
")",
"{",
"enum",
"mode_class",
"mclass1",
",",
"mclass2",
";",
"unsigned",
"short",
"size1",
",",
"size2",
";",
"if",
"(",
"mode1",
"==",
"mode2",
")",
"retu... | [
"Return",
"TRUE",
"if",
"it",
"is",
"a",
"good",
"idea",
"to",
"tie",
"two",
"pseudo",
"registers",
"when",
"one",
"has",
"mode",
"MODE1",
"and",
"one",
"has",
"mode",
"MODE2",
".",
"If",
"HARD_REGNO_MODE_OK",
"could",
"produce",
"different",
"values",
"fo... | [
"sparc",
"4",
"4",
"4",
"4"
] | sparc4 | sparc_modes_tieable_p | sparc | CPU | GCC | 27,141 | 118 | 1 | [] |
[
"<s>",
"void",
"WebAssemblyAsmPrinter",
"::",
"EmitInstruction",
"(",
"const",
"MachineInstr",
"*",
"MI",
")",
"{",
"DEBUG",
"(",
"dbgs",
"(",
")",
"<<",
"\"EmitInstruction: \"",
"<<",
"*",
"MI",
"<<",
"'\\n'",
")",
";",
"switch",
"(",
"MI",
"->",
"getOpco... | [
"EmitInstruction",
"-",
"This",
"callback",
"is",
"invoked",
"when",
"an",
"instruction",
"is",
"emitted",
",",
"to",
"advance",
"the",
"hazard",
"state",
"."
] | [
"WebAssembly",
"WebAssembly",
"\"EmitInstruction: \"",
"WebAssembly::ARGUMENT_I32",
"WebAssembly::ARGUMENT_I64",
"WebAssembly::ARGUMENT_F32",
"WebAssembly::ARGUMENT_F64",
"WebAssembly::FALLTHROUGH_RETURN_I32",
"WebAssembly::FALLTHROUGH_RETURN_I64",
"WebAssembly::FALLTHROUGH_RETURN_F32",
"WebAsse... | WebAssemblyAsmPrinter39 | EmitInstruction | WebAssembly | Virtual ISA | LLVM | 27,142 | 209 | 1 | [] |
[
"<s>",
"void",
"AlphaInstrInfo",
"::",
"insertNoop",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"MI",
")",
"const",
"{",
"DebugLoc",
"DL",
";",
"if",
"(",
"MI",
"!=",
"MBB",
".",
"end",
"(",
")",
")",
"DL",
"=",
"... | [
"Insert",
"a",
"noop",
"into",
"the",
"instruction",
"stream",
"at",
"the",
"specified",
"point",
"."
] | [
"Alpha",
"Alpha",
"Alpha::BISr",
"Alpha::R31",
"Alpha::R31",
"Alpha::R31"
] | AlphaInstrInfo1 | insertNoop | Alpha | MPU | LLVM | 27,143 | 72 | 1 | [] |
[
"<s>",
"MipsSubtarget",
"::",
"MipsSubtarget",
"(",
"const",
"std",
"::",
"string",
"&",
"TT",
",",
"const",
"std",
"::",
"string",
"&",
"CPU",
",",
"const",
"std",
"::",
"string",
"&",
"FS",
",",
"bool",
"little",
")",
":",
"MipsGenSubtargetInfo",
"(",
... | [
"This",
"constructor",
"initializes",
"the",
"data",
"members",
"to",
"match",
"that",
"of",
"the",
"specified",
"triple",
"."
] | [
"Mips",
"Mips",
"Mips",
"Mips",
"Mips",
"Mips",
"Mips",
"\"mips32r1\"",
"Mips",
"Mips",
"Mips",
"Mips",
"Mips",
"\"Invalid Arch & ABI pair.\"",
"\"linux\""
] | MipsSubtarget65 | MipsSubtarget | Mips | CPU | LLVM | 27,144 | 217 | 1 | [] |
[
"<s>",
"const",
"char",
"*",
"getPassName",
"(",
")",
"const",
"override",
"{",
"return",
"\"HSAIL Assembly Printer\"",
";",
"}",
"</s>"
] | [
"getPassName",
"-",
"Return",
"a",
"nice",
"clean",
"name",
"for",
"a",
"pass",
"."
] | [
"HSAIL",
"\"HSAIL Assembly Printer\""
] | HSAILAsmPrinter | getPassName | HSAIL | Virtual ISA | LLVM | 27,145 | 13 | 1 | [] |
[
"<s>",
"const",
"char",
"*",
"SystemZTargetLowering",
"::",
"getTargetNodeName",
"(",
"unsigned",
"Opcode",
")",
"const",
"{",
"switch",
"(",
"Opcode",
")",
"{",
"OPCODE",
"(",
"RET_FLAG",
")",
";",
"OPCODE",
"(",
"CALL",
")",
";",
"OPCODE",
"(",
"PCREL_WR... | [
"getTargetNodeName",
"-",
"This",
"method",
"returns",
"the",
"name",
"of",
"a",
"target",
"specific"
] | [
"SystemZ",
"SystemZ"
] | SystemZISelLowering (2) | getTargetNodeName | SystemZ | CPU | LLVM | 27,146 | 152 | 1 | [] |
[
"<s>",
"static",
"void",
"nios2_emit_stack_limit_check",
"(",
"void",
")",
"{",
"if",
"(",
"REG_P",
"(",
"stack_limit_rtx",
")",
")",
"emit_insn",
"(",
"gen_ctrapsi4",
"(",
"gen_rtx_LTU",
"(",
"VOIDmode",
",",
"stack_pointer_rtx",
",",
"stack_limit_rtx",
")",
",... | [
"Emit",
"conditional",
"trap",
"for",
"checking",
"stack",
"limit",
"."
] | [
"nios2",
"3",
"\"only register based stack limit is supported\""
] | nios22 | nios2_emit_stack_limit_check | nios2 | MPU | GCC | 27,147 | 45 | 1 | [] |
[
"<s>",
"void",
"GBZ80PassConfig",
"::",
"addPostRegAlloc",
"(",
")",
"{",
"addPass",
"(",
"createGBZ80PostRAPass",
"(",
")",
")",
";",
"}",
"</s>"
] | [
"This",
"method",
"may",
"be",
"implemented",
"by",
"targets",
"that",
"want",
"to",
"run",
"passes",
"after",
"register",
"allocation",
"pass",
"pipeline",
"but",
"before",
"prolog-epilog",
"insertion",
"."
] | [
"GBZ80",
"GB",
"GB"
] | GBZ80TargetMachine | addPostRegAlloc | GBZ80 | MPU | LLVM | 27,148 | 15 | 1 | [] |
[
"<s>",
"void",
"XCoreFrameInfo",
"::",
"processFunctionBeforeFrameFinalized",
"(",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"}",
"</s>"
] | [
"processFunctionBeforeFrameFinalized",
"-",
"This",
"method",
"is",
"called",
"immediately",
"before",
"the",
"specified",
"function",
"'s",
"frame",
"layout",
"(",
"MF.getFrameInfo",
"(",
")",
")",
"is",
"finalized",
"."
] | [
"XCore",
"XCore"
] | XCoreFrameInfo | processFunctionBeforeFrameFinalized | XCore | MPU | LLVM | 27,149 | 12 | 1 | [] |
[
"<s>",
"void",
"M68kAsmPrinter",
"::",
"emitFunctionBodyEnd",
"(",
")",
"{",
"}",
"</s>"
] | [
"Targets",
"can",
"override",
"this",
"to",
"emit",
"stuff",
"after",
"the",
"last",
"basic",
"block",
"in",
"the",
"function",
"."
] | [
"M68k",
"M68k"
] | M68kAsmPrinter | emitFunctionBodyEnd | M68k | MPU | LLVM | 27,150 | 8 | 1 | [] |
[
"<s>",
"bool",
"canMergeStoresTo",
"(",
"unsigned",
"AddressSpace",
",",
"EVT",
"MemVT",
",",
"const",
"MachineFunction",
"&",
"MF",
")",
"const",
"override",
"{",
"return",
"(",
"MemVT",
".",
"getSizeInBits",
"(",
")",
"<=",
"32",
")",
";",
"}",
"</s>"
] | [
"Returns",
"if",
"it",
"'s",
"reasonable",
"to",
"merge",
"stores",
"to",
"MemVT",
"size",
"."
] | [
"ARM",
"32"
] | ARMISelLowering | canMergeStoresTo | ARM | CPU | LLVM | 27,151 | 29 | 1 | [] |
[
"<s>",
"static",
"void",
"riscv_function_arg_advance",
"(",
"cumulative_args_t",
"cum_v",
",",
"enum",
"machine_mode",
"mode",
",",
"const_tree",
"type",
",",
"bool",
"named",
")",
"{",
"CUMULATIVE_ARGS",
"*",
"cum",
"=",
"get_cumulative_args",
"(",
"cum_v",
")",
... | [
"Implement",
"TARGET_FUNCTION_ARG_ADVANCE",
"."
] | [
"riscv"
] | riscv2 | riscv_function_arg_advance | riscv | CPU | GCC | 27,152 | 72 | 1 | [] |
[
"<s>",
"bool",
"X86PassConfig",
"::",
"addPreEmitPass",
"(",
")",
"{",
"bool",
"ShouldPrint",
"=",
"false",
";",
"if",
"(",
"getOptLevel",
"(",
")",
"!=",
"CodeGenOpt",
"::",
"None",
"&&",
"getX86Subtarget",
"(",
")",
".",
"hasSSE2",
"(",
")",
")",
"{",
... | [
"This",
"pass",
"may",
"be",
"implemented",
"by",
"targets",
"that",
"want",
"to",
"run",
"passes",
"immediately",
"before",
"machine",
"code",
"is",
"emitted",
"."
] | [
"X86",
"X86",
"X86",
"X86::VR128RegClass",
"X86",
"X86"
] | X86TargetMachine103 | addPreEmitPass | X86 | CPU | LLVM | 27,153 | 76 | 1 | [] |
[
"<s>",
"void",
"VEInstrInfo",
"::",
"loadRegFromStackSlot",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"I",
",",
"Register",
"DestReg",
",",
"int",
"FI",
",",
"const",
"TargetRegisterClass",
"*",
"RC",
",",
"const",
"Target... | [
"Load",
"the",
"specified",
"register",
"of",
"the",
"given",
"register",
"class",
"from",
"the",
"specified",
"stack",
"frame",
"index",
"."
] | [
"VE",
"VE",
"VE::I64RegClass",
"VE::LDSri",
"0",
"VE::I32RegClass",
"VE::LDLri",
"0",
"VE::F32RegClass",
"VE::LDUri",
"0",
"\"Can't load this register from stack slot\""
] | VEInstrInfo15 | loadRegFromStackSlot | VE | CPU | LLVM | 27,154 | 252 | 1 | [] |
[
"<s>",
"int",
"GCNTTIImpl",
"::",
"getIntrinsicInstrCost",
"(",
"Intrinsic",
"::",
"ID",
"ID",
",",
"Type",
"*",
"RetTy",
",",
"ArrayRef",
"<",
"T",
"*",
">",
"Args",
",",
"FastMathFlags",
"FMF",
",",
"unsigned",
"VF",
",",
"const",
"Instruction",
"*",
"... | [
"Get",
"intrinsic",
"cost",
"based",
"on",
"arguments",
"."
] | [
"AMDGPU",
"Intrinsic::ID",
"1",
"MVT::SimpleValueType",
"MVT::f64",
"MVT::f16",
"1",
"2",
"Intrinsic::fma"
] | AMDGPUTargetTransformInfo44 | getIntrinsicInstrCost | AMDGPU | GPU | LLVM | 27,155 | 241 | 1 | [] |
[
"<s>",
"bool",
"NVPTXPrologEpilogPass",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"{",
"const",
"TargetSubtargetInfo",
"&",
"STI",
"=",
"MF",
".",
"getSubtarget",
"(",
")",
";",
"const",
"TargetFrameLowering",
"&",
"TFI",
"=",
"*",
... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"NVPTX",
"NVPTX",
"0",
"0"
] | NVPTXPrologEpilogPass (2) | runOnMachineFunction | NVPTX | GPU | LLVM | 27,156 | 239 | 1 | [] |
[
"<s>",
"int",
"AMDGPUFrameLowering",
"::",
"getFrameIndexReference",
"(",
"const",
"MachineFunction",
"&",
"MF",
",",
"int",
"FI",
",",
"unsigned",
"&",
"FrameReg",
")",
"const",
"{",
"const",
"MachineFrameInfo",
"*",
"MFI",
"=",
"MF",
".",
"getFrameInfo",
"("... | [
"getFrameIndexReference",
"-",
"This",
"method",
"should",
"return",
"the",
"base",
"register",
"and",
"offset",
"used",
"to",
"reference",
"a",
"frame",
"index",
"location",
"."
] | [
"AMDGPU",
"AMDGPU",
"2",
"4",
"1",
"4",
"1",
"4"
] | AMDGPUFrameLowering10 | getFrameIndexReference | AMDGPU | GPU | LLVM | 27,157 | 170 | 1 | [] |
[
"<s>",
"static",
"MCSymbol",
"*",
"GetSymbolFromOperand",
"(",
"const",
"MachineOperand",
"&",
"MO",
",",
"AsmPrinter",
"&",
"AP",
")",
"{",
"const",
"TargetMachine",
"&",
"TM",
"=",
"AP",
".",
"TM",
";",
"Mangler",
"*",
"Mang",
"=",
"AP",
".",
"Mang",
... | [
"Lower",
"an",
"MO_GlobalAddress",
"or",
"MO_ExternalSymbol",
"operand",
"to",
"an",
"MCSymbol",
"."
] | [
"PowerPC",
"128",
"PPCII::MO_PLT_OR_STUB",
"\"$stub\"",
"PPCII::MO_NLP_FLAG",
"\"$non_lazy_ptr\"",
"\"Isn't a symbol reference\"",
"PPCII::MO_PLT_OR_STUB",
"PPCII::MO_NLP_FLAG",
"\"Extern symbol not handled yet\""
] | PPCMCInstLower52 | GetSymbolFromOperand | PowerPC | CPU | LLVM | 27,158 | 440 | 1 | [] |
[
"<s>",
"const",
"char",
"*",
"pa_output_lbranch",
"(",
"rtx",
"dest",
",",
"rtx_insn",
"*",
"insn",
",",
"int",
"xdelay",
")",
"{",
"rtx",
"xoperands",
"[",
"4",
"]",
";",
"xoperands",
"[",
"0",
"]",
"=",
"dest",
";",
"if",
"(",
"xdelay",
"&&",
"db... | [
"This",
"routine",
"handles",
"output",
"of",
"long",
"unconditional",
"branches",
"that",
"exceed",
"the",
"maximum",
"range",
"of",
"a",
"simple",
"branch",
"instruction",
".",
"Since",
"we",
"do",
"n't",
"have",
"a",
"register",
"available",
"for",
"the",
... | [
"pa",
"4",
"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)\"",
"1",
"1",
"2",
"1",
"\"bv %%r0(%%r1)\"",
"\"ldil L... | pa | pa_output_lbranch | pa | CPU | GCC | 27,159 | 264 | 1 | [] |
[
"<s>",
"StringRef",
"getPassName",
"(",
")",
"const",
"override",
"{",
"return",
"\"AArch64PreLegalizerCombiner\"",
";",
"}",
"</s>"
] | [
"getPassName",
"-",
"Return",
"a",
"nice",
"clean",
"name",
"for",
"a",
"pass",
"."
] | [
"AArch64",
"\"AArch64PreLegalizerCombiner\""
] | AArch64PreLegalizerCombiner | getPassName | AArch64 | CPU | LLVM | 27,160 | 11 | 1 | [] |
[
"<s>",
"const",
"char",
"*",
"thumb1_output_casesi",
"(",
"rtx",
"*",
"operands",
")",
"{",
"rtx",
"diff_vec",
"=",
"PATTERN",
"(",
"NEXT_INSN",
"(",
"as_a",
"<",
"rtx_insn",
"*",
">",
"(",
"operands",
"[",
"0",
"]",
")",
")",
")",
";",
"gcc_assert",
... | [
"Output",
"a",
"Thumb-1",
"casesi",
"dispatch",
"sequence",
"."
] | [
"arm",
"0",
"\"bl\\t%___gnu_thumb1_case_uqi\"",
"\"bl\\t%___gnu_thumb1_case_sqi\"",
"\"bl\\t%___gnu_thumb1_case_uhi\"",
"\"bl\\t%___gnu_thumb1_case_shi\"",
"\"bl\\t%___gnu_thumb1_case_si\""
] | arm4 | thumb1_output_casesi | arm | CPU | GCC | 27,161 | 97 | 1 | [] |
[
"<s>",
"void",
"GCNTTIImpl",
"::",
"getPeelingPreferences",
"(",
"Loop",
"*",
"L",
",",
"ScalarEvolution",
"&",
"SE",
",",
"TTI",
"::",
"PeelingPreferences",
"&",
"PP",
")",
"{",
"CommonTTI",
".",
"getPeelingPreferences",
"(",
"L",
",",
"SE",
",",
"PP",
")... | [
"Get",
"target-customized",
"preferences",
"for",
"the",
"generic",
"loop",
"peeling",
"transformation",
"."
] | [
"AMDGPU"
] | AMDGPUTargetTransformInfo (2)1 | getPeelingPreferences | AMDGPU | GPU | LLVM | 27,162 | 32 | 1 | [] |
[
"<s>",
"int",
"label_mentioned_p",
"(",
"rtx",
"x",
")",
"{",
"const",
"char",
"*",
"fmt",
";",
"int",
"i",
";",
"if",
"(",
"LABEL_REF_P",
"(",
"x",
")",
")",
"return",
"1",
";",
"if",
"(",
"GET_CODE",
"(",
"x",
")",
"==",
"UNSPEC",
"&&",
"XINT",... | [
"Return",
"TRUE",
"if",
"X",
"references",
"a",
"LABEL_REF",
"."
] | [
"arm",
"1",
"1",
"0",
"1",
"0",
"1",
"0",
"1",
"1",
"0"
] | arm | label_mentioned_p | arm | CPU | GCC | 27,163 | 157 | 1 | [] |
[
"<s>",
"static",
"void",
"add_pop_cfi_notes",
"(",
"rtx_insn",
"*",
"insn",
",",
"unsigned",
"int",
"high",
",",
"unsigned",
"int",
"low",
")",
"{",
"rtx",
"t",
"=",
"plus_constant",
"(",
"Pmode",
",",
"stack_pointer_rtx",
",",
"(",
"high",
"-",
"low",
"... | [
"Create",
"CFI",
"notes",
"for",
"register",
"pops",
"."
] | [
"rx",
"1",
"1"
] | rx | add_pop_cfi_notes | rx | CPU | GCC | 27,164 | 92 | 1 | [] |
[
"<s>",
"uint32_t",
"BTFDebug",
"::",
"addType",
"(",
"std",
"::",
"unique_ptr",
"<",
"BTFTypeBase",
">",
"TypeEntry",
",",
"const",
"DIType",
"*",
"Ty",
")",
"{",
"TypeEntry",
"->",
"setId",
"(",
"TypeEntries",
".",
"size",
"(",
")",
"+",
"1",
")",
";"... | [
"Add",
"a",
"new",
"type",
"attribute",
"to",
"the",
"specified",
"entity",
"."
] | [
"BPF",
"1"
] | BTFDebug1 | addType | BPF | Virtual ISA | LLVM | 27,165 | 64 | 1 | [] |
[
"<s>",
"bool",
"AVRFrameLowering",
"::",
"hasReservedCallFrame",
"(",
"const",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"const",
"MachineFrameInfo",
"&",
"MFI",
"=",
"MF",
".",
"getFrameInfo",
"(",
")",
";",
"return",
"hasFP",
"(",
"MF",
")",
"&&",
... | [
"hasReservedCallFrame",
"-",
"Under",
"normal",
"circumstances",
",",
"when",
"a",
"frame",
"pointer",
"is",
"not",
"required",
",",
"we",
"reserve",
"argument",
"space",
"for",
"call",
"sites",
"in",
"the",
"function",
"immediately",
"on",
"entry",
"to",
"the... | [
"AVR",
"AVR"
] | AVRFrameLowering (2) | hasReservedCallFrame | AVR | MPU | LLVM | 27,166 | 37 | 1 | [] |
[
"<s>",
"const",
"char",
"*",
"getPassName",
"(",
")",
"const",
"{",
"return",
"\"Hexagon Split TFRCondSets\"",
";",
"}",
"</s>"
] | [
"getPassName",
"-",
"Return",
"a",
"nice",
"clean",
"name",
"for",
"a",
"pass",
"."
] | [
"Hexagon",
"\"Hexagon Split TFRCondSets\""
] | HexagonSplitTFRCondSets11 | getPassName | Hexagon | DSP | LLVM | 27,167 | 12 | 1 | [] |
[
"<s>",
"StringRef",
"getPassName",
"(",
")",
"const",
"override",
"{",
"return",
"\"PPC Lower MASS Entries\"",
";",
"}",
"</s>"
] | [
"getPassName",
"-",
"Return",
"a",
"nice",
"clean",
"name",
"for",
"a",
"pass",
"."
] | [
"PowerPC",
"\"PPC Lower MASS Entries\""
] | PPCLowerMASSVEntries | getPassName | PowerPC | CPU | LLVM | 27,168 | 11 | 1 | [] |
[
"<s>",
"const",
"SDValue",
"&",
"getMask",
"(",
")",
"const",
"{",
"return",
"getOperand",
"(",
"3",
")",
";",
"}",
"</s>"
] | [
"Return",
"the",
"mask",
"used",
"by",
"this",
"recipe",
"."
] | [
"X86",
"3"
] | X86ISelLowering103 | getMask | X86 | CPU | LLVM | 27,169 | 15 | 1 | [] |
[
"<s>",
"bool",
"AMDGPUCodeGenPrepare",
"::",
"doInitialization",
"(",
"Module",
"&",
"M",
")",
"{",
"return",
"false",
";",
"}",
"</s>"
] | [
"Set",
"up",
"the",
"AsmPrinter",
"when",
"we",
"are",
"working",
"on",
"a",
"new",
"module",
"."
] | [
"AMDGPU",
"AMDGPU"
] | AMDGPUCodeGenPrepare6 | doInitialization | AMDGPU | GPU | LLVM | 27,170 | 14 | 1 | [] |
[
"<s>",
"static",
"void",
"split_quadword_operands",
"(",
"rtx",
"insn",
",",
"enum",
"rtx_code",
"code",
",",
"rtx",
"*",
"operands",
",",
"rtx",
"*",
"low",
",",
"int",
"n",
")",
"{",
"int",
"i",
";",
"for",
"(",
"i",
"=",
"0",
";",
"i",
"<",
"n... | [
"This",
"is",
"like",
"nonimmediate_operand",
"with",
"a",
"restriction",
"on",
"the",
"type",
"of",
"MEM",
"."
] | [
"vax",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"1",
"0",
"0",
"0",
"0",
"0",
"1",
"0"
] | vax | split_quadword_operands | vax | CPU | GCC | 27,171 | 283 | 1 | [] |
[
"<s>",
"bool",
"R600InstrInfo",
"::",
"isPredicable",
"(",
"MachineInstr",
"&",
"MI",
")",
"const",
"{",
"if",
"(",
"MI",
".",
"getOpcode",
"(",
")",
"==",
"AMDGPU",
"::",
"KILLGT",
")",
"{",
"return",
"false",
";",
"}",
"else",
"if",
"(",
"MI",
".",... | [
"Return",
"true",
"if",
"the",
"specified",
"instruction",
"can",
"be",
"predicated",
"."
] | [
"AMDGPU",
"R600",
"AMDGPU::KILLGT",
"AMDGPU::CF_ALU",
"3",
"0",
"4",
"0",
"AMDGPU"
] | R600InstrInfo10 | isPredicable | AMDGPU | GPU | LLVM | 27,172 | 117 | 1 | [] |
[
"<s>",
"Instruction",
"*",
"VETargetLowering",
"::",
"emitLeadingFence",
"(",
"IRBuilderBase",
"&",
"Builder",
",",
"Instruction",
"*",
"Inst",
",",
"AtomicOrdering",
"Ord",
")",
"const",
"{",
"switch",
"(",
"Ord",
")",
"{",
"case",
"AtomicOrdering",
"::",
"No... | [
"Custom",
"Lower",
"{",
"."
] | [
"VE",
"VE",
"\"Invalid fence: unordered/non-atomic\"",
"\"Unknown fence ordering in emitLeadingFence\""
] | VEISelLowering18 | emitLeadingFence | VE | CPU | LLVM | 27,173 | 106 | 1 | [] |
[
"<s>",
"bool",
"WaitInsert",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"{",
"if",
"(",
"!",
"MF",
".",
"getFunction",
"(",
")",
".",
"hasFnAttribute",
"(",
"Attribute",
"::",
"StrictFP",
")",
")",
"return",
"false",
";",
"const"... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"X86",
"X86",
"X86",
"X86",
"X86::isX87Instruction",
"X86::isX87Instruction",
"X86::WAIT",
"\"\\nInsert wait after:\\t\""
] | X86InsertWait | runOnMachineFunction | X86 | CPU | LLVM | 27,174 | 217 | 1 | [] |
[
"<s>",
"bool",
"HexagonTargetLowering",
"::",
"IsEligibleForTailCallOptimization",
"(",
"SDValue",
"Callee",
",",
"CallingConv",
"::",
"ID",
"CalleeCC",
",",
"bool",
"isVarArg",
",",
"bool",
"isCalleeStructRet",
",",
"bool",
"isCallerStructRet",
",",
"const",
"SmallVe... | [
"IsEligibleForTailCallOptimization",
"-",
"Check",
"whether",
"the",
"call",
"is",
"eligible",
"for",
"tail",
"call",
"optimization",
"."
] | [
"Hexagon",
"Hexagon",
"ISD::OutputArg",
"ISD::InputArg"
] | HexagonISelLowering114 | IsEligibleForTailCallOptimization | Hexagon | DSP | LLVM | 27,175 | 186 | 1 | [] |
[
"<s>",
"static",
"void",
"darwin_rs6000_override_options",
"(",
"void",
")",
"{",
"rs6000_altivec_abi",
"=",
"1",
";",
"TARGET_ALTIVEC_VRSAVE",
"=",
"1",
";",
"rs6000_current_abi",
"=",
"ABI_DARWIN",
";",
"if",
"(",
"DEFAULT_ABI",
"==",
"ABI_DARWIN",
"&&",
"TARGET... | [
"The",
"Darwin",
"version",
"of",
"SUBTARGET_OVERRIDE_OPTIONS",
"."
] | [
"rs6000",
"1",
"1",
"1",
"0",
"\"%qs requires PowerPC64 architecture, enabling\"",
"\"-m64\"",
"0",
"1",
"\"10.5\"",
"0"
] | rs6000 | darwin_rs6000_override_options | rs6000 | CPU | GCC | 27,176 | 142 | 1 | [] |
[
"<s>",
"static",
"bool",
"s390_legitimate_constant_p",
"(",
"machine_mode",
"mode",
",",
"rtx",
"op",
")",
"{",
"if",
"(",
"TARGET_VX",
"&&",
"VECTOR_MODE_P",
"(",
"mode",
")",
"&&",
"GET_CODE",
"(",
"op",
")",
"==",
"CONST_VECTOR",
")",
"{",
"if",
"(",
... | [
"Returns",
"true",
"if",
"the",
"constant",
"value",
"OP",
"is",
"a",
"legitimate",
"general",
"operand",
".",
"It",
"is",
"given",
"that",
"OP",
"satisfies",
"CONSTANT_P",
"or",
"is",
"a",
"CONST_DOUBLE",
"."
] | [
"s390",
"16",
"0",
"0",
"1",
"1",
"0",
"1",
"0"
] | s3905 | s390_legitimate_constant_p | s390 | MPU | GCC | 27,177 | 122 | 1 | [] |
[
"<s>",
"static",
"std",
"::",
"string",
"toString",
"(",
"const",
"APFloat",
"&",
"FP",
")",
"{",
"if",
"(",
"FP",
".",
"isNaN",
"(",
")",
"&&",
"!",
"FP",
".",
"bitwiseIsEqual",
"(",
"APFloat",
"::",
"getQNaN",
"(",
"FP",
".",
"getSemantics",
"(",
... | [
"Convert",
"to",
"a",
"decimal",
"representation",
"in",
"a",
"string",
"."
] | [
"WebAssembly",
"\"-\"",
"\"\"",
"\"nan:0x\"",
"32",
"0x007fffff",
"0x000fffffffffffff",
"128",
"0",
"0"
] | WebAssemblyInstPrinter16 | toString | WebAssembly | Virtual ISA | LLVM | 27,178 | 170 | 1 | [] |
[
"<s>",
"static",
"bool",
"m68k_hard_regno_mode_ok",
"(",
"unsigned",
"int",
"regno",
",",
"machine_mode",
"mode",
")",
"{",
"if",
"(",
"DATA_REGNO_P",
"(",
"regno",
")",
")",
"{",
"if",
"(",
"regno",
"+",
"GET_MODE_SIZE",
"(",
"mode",
")",
"/",
"4",
"<="... | [
"Implement",
"TARGET_HARD_REGNO_MODE_OK",
".",
"On",
"the",
"68000",
",",
"we",
"let",
"the",
"cpu",
"registers",
"can",
"hold",
"any",
"mode",
",",
"but",
"restrict",
"the",
"68881",
"registers",
"to",
"floating-point",
"modes",
"."
] | [
"m68k",
"4",
"8",
"4",
"16"
] | m68k | m68k_hard_regno_mode_ok | m68k | MPU | GCC | 27,179 | 105 | 1 | [] |
[
"<s>",
"unsigned",
"ARMMCCodeEmitter",
"::",
"getMachineOpValue",
"(",
"const",
"MCInst",
"&",
"MI",
",",
"const",
"MCOperand",
"&",
"MO",
",",
"SmallVectorImpl",
"<",
"MCFixup",
">",
"&",
"Fixups",
")",
"const",
"{",
"if",
"(",
"MO",
".",
"isReg",
"(",
... | [
"getMachineOpValue",
"-",
"Return",
"binary",
"encoding",
"of",
"operand",
"."
] | [
"ARM",
"ARM",
"ARM::Q0",
"ARM::Q1",
"ARM::Q2",
"ARM::Q3",
"ARM::Q4",
"ARM::Q5",
"ARM::Q6",
"ARM::Q7",
"ARM::Q8",
"ARM::Q9",
"ARM::Q10",
"ARM::Q11",
"ARM::Q12",
"ARM::Q13",
"ARM::Q14",
"ARM::Q15",
"2",
"32",
"\"Unable to encode MCOperand!\""
] | ARMMCCodeEmitter14 | getMachineOpValue | ARM | CPU | LLVM | 27,180 | 223 | 1 | [] |
[
"<s>",
"const",
"uint32_t",
"*",
"RISCVRegisterInfo",
"::",
"getCallPreservedMask",
"(",
"const",
"MachineFunction",
"&",
"MF",
",",
"CallingConv",
"::",
"ID",
"CC",
")",
"const",
"{",
"auto",
"&",
"Subtarget",
"=",
"MF",
".",
"getSubtarget",
"<",
"RISCVSubtar... | [
"Return",
"a",
"mask",
"of",
"call-preserved",
"registers",
"for",
"the",
"given",
"calling",
"convention",
"on",
"the",
"current",
"function",
"."
] | [
"RISCV",
"RISCV",
"RISCV",
"\"Unrecognized ABI\"",
"RISCVABI::ABI_ILP32",
"RISCVABI::ABI_LP64",
"RISCVABI::ABI_IL32PC64",
"RISCVABI::ABI_L64PC128",
"RISCVABI::ABI_ILP32F",
"RISCVABI::ABI_LP64F",
"RISCVABI::ABI_IL32PC64F",
"RISCVABI::ABI_L64PC128F",
"RISCVABI::ABI_ILP32D",
"RISCVABI::ABI_LP... | RISCVRegisterInfo17 | getCallPreservedMask | RISCV | CPU | LLVM | 27,181 | 139 | 1 | [] |
[
"<s>",
"Register",
"R600RegisterInfo",
"::",
"getFrameRegister",
"(",
"const",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"return",
"R600",
"::",
"NoRegister",
";",
"}",
"</s>"
] | [
"Debug",
"information",
"queries",
"."
] | [
"AMDGPU",
"R600",
"R600::NoRegister"
] | R600RegisterInfo1 | getFrameRegister | AMDGPU | GPU | LLVM | 27,182 | 18 | 1 | [] |
[
"<s>",
"const",
"char",
"*",
"loongarch_output_order_conditional_branch",
"(",
"rtx_insn",
"*",
"insn",
",",
"rtx",
"*",
"operands",
",",
"bool",
"inverted_p",
")",
"{",
"const",
"char",
"*",
"branch",
"[",
"2",
"]",
";",
"if",
"(",
"operands",
"[",
"3",
... | [
"Return",
"the",
"assembly",
"code",
"for",
"INSN",
",",
"which",
"branches",
"to",
"OPERANDS",
"[",
"0",
"]",
"if",
"some",
"ordering",
"condition",
"is",
"true",
".",
"The",
"condition",
"is",
"given",
"by",
"OPERANDS",
"[",
"1",
"]",
"if",
"!",
"INV... | [
"loongarch",
"2",
"3",
"2",
"3",
"1",
"\"b\"",
"\"%0\"",
"\"\\t# branch never\"",
"1",
"\"b%C1\"",
"\"%2,%3,%0\"",
"\"b%N1\"",
"\"%2,%3,%0\"",
"1",
"\"b%C1\"",
"\"%2,$r0,%0\"",
"\"b%N1\"",
"\"%2,$r0,%0\"",
"1",
"0"
] | loongarch | loongarch_output_order_conditional_branch | loongarch | CPU | GCC | 27,183 | 288 | 1 | [] |
[
"<s>",
"const",
"char",
"*",
"getPassName",
"(",
")",
"const",
"override",
"{",
"return",
"\"SI annotate control flow\"",
";",
"}",
"</s>"
] | [
"getPassName",
"-",
"Return",
"a",
"nice",
"clean",
"name",
"for",
"a",
"pass",
"."
] | [
"AMDGPU",
"\"SI annotate control flow\""
] | SIAnnotateControlFlow14 | getPassName | AMDGPU | GPU | LLVM | 27,184 | 13 | 1 | [] |
[
"<s>",
"bool",
"WinEHStatePass",
"::",
"runOnFunction",
"(",
"Function",
"&",
"F",
")",
"{",
"if",
"(",
"!",
"F",
".",
"hasPersonalityFn",
"(",
")",
")",
"return",
"false",
";",
"PersonalityFn",
"=",
"dyn_cast",
"<",
"Function",
">",
"(",
"F",
".",
"ge... | [
"runOnFunction",
"-",
"Virtual",
"method",
"overriden",
"by",
"subclasses",
"to",
"do",
"the",
"per-function",
"processing",
"of",
"the",
"pass",
"."
] | [
"X86",
"\"_setjmp3\"",
"\"no-frame-pointer-elim\"",
"\"true\""
] | X86WinEHState19 | runOnFunction | X86 | CPU | LLVM | 27,185 | 213 | 1 | [] |
[
"<s>",
"static",
"bool",
"pa_scalar_mode_supported_p",
"(",
"scalar_mode",
"mode",
")",
"{",
"int",
"precision",
"=",
"GET_MODE_PRECISION",
"(",
"mode",
")",
";",
"if",
"(",
"TARGET_64BIT",
"&&",
"mode",
"==",
"TImode",
")",
"return",
"true",
";",
"switch",
... | [
"True",
"if",
"MODE",
"is",
"valid",
"for",
"the",
"target",
".",
"By",
"``",
"valid",
"''",
",",
"we",
"mean",
"able",
"to",
"be",
"manipulated",
"in",
"non-trivial",
"ways",
".",
"In",
"particular",
",",
"this",
"means",
"all",
"the",
"arithmetic",
"... | [
"pa"
] | pa | pa_scalar_mode_supported_p | pa | CPU | GCC | 27,186 | 136 | 1 | [] |
[
"<s>",
"void",
"AMDGPUDAGToDAGISel",
"::",
"PostprocessISelDAG",
"(",
")",
"{",
"if",
"(",
"Subtarget",
".",
"getGeneration",
"(",
")",
"<",
"AMDGPUSubtarget",
"::",
"SOUTHERN_ISLANDS",
")",
"{",
"return",
";",
"}",
"const",
"AMDGPUTargetLowering",
"&",
"Lowerin... | [
"PostprocessISelDAG",
"(",
")",
"-",
"This",
"hook",
"allows",
"the",
"target",
"to",
"hack",
"on",
"the",
"graph",
"right",
"after",
"selection",
"."
] | [
"R600",
"ISD::CopyToReg",
"1",
"2",
"0"
] | AMDILISelDAGToDAG7 | PostprocessISelDAG | R600 | GPU | LLVM | 27,187 | 283 | 1 | [] |
[
"<s>",
"void",
"SPUInstrInfo",
"::",
"storeRegToStackSlot",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"MI",
",",
"unsigned",
"SrcReg",
",",
"bool",
"isKill",
",",
"int",
"FrameIdx",
",",
"const",
"TargetRegisterClass",
"*",
... | [
"Store",
"the",
"specified",
"register",
"of",
"the",
"given",
"register",
"class",
"to",
"the",
"specified",
"stack",
"frame",
"index",
"."
] | [
"CellSPU",
"SPU",
"SPU",
"SPU::GPRCRegisterClass",
"SPU::STQDr128",
"SPU::STQXr128",
"SPU::R64CRegisterClass",
"SPU::STQDr64",
"SPU::STQXr64",
"SPU::R64FPRegisterClass",
"SPU::STQDr64",
"SPU::STQXr64",
"SPU::R32CRegisterClass",
"SPU::STQDr32",
"SPU::STQXr32",
"SPU::R32FPRegisterClass",... | SPUInstrInfo9 | storeRegToStackSlot | CellSPU | MPU | LLVM | 27,188 | 317 | 1 | [] |
[
"<s>",
"void",
"addExpr",
"(",
"MCInst",
"&",
"Inst",
",",
"const",
"MCExpr",
"*",
"Expr",
")",
"const",
"{",
"assert",
"(",
"Expr",
"&&",
"\"Expr shouldn't be null!\"",
")",
";",
"if",
"(",
"auto",
"*",
"CE",
"=",
"dyn_cast",
"<",
"MCConstantExpr",
">",... | [
"Add",
"a",
"new",
"MCExpr",
"operand",
"."
] | [
"RV16K",
"\"Expr shouldn't be null!\""
] | RV16KAsmParser | addExpr | RV16K | Virtual ISA | LLVM | 27,189 | 65 | 1 | [] |
[
"<s>",
"int64_t",
"getRegNo",
"(",
")",
"const",
"{",
"return",
"RegNo",
";",
"}",
"</s>"
] | [
"getSubExpr",
"-",
"Get",
"the",
"child",
"of",
"this",
"expression",
"."
] | [
"X86"
] | X86MCExpr (2) | getRegNo | X86 | CPU | LLVM | 27,190 | 10 | 1 | [] |
[
"<s>",
"bool",
"MLxExpansion",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"Fn",
")",
"{",
"TII",
"=",
"static_cast",
"<",
"const",
"ARMBaseInstrInfo",
"*",
">",
"(",
"Fn",
".",
"getSubtarget",
"(",
")",
".",
"getInstrInfo",
"(",
")",
")",
"... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"ARM",
"ARM",
"ARM",
"ARM"
] | MLxExpansionPass23 | runOnMachineFunction | ARM | CPU | LLVM | 27,191 | 124 | 1 | [] |
[
"<s>",
"void",
"AArch64PassConfig",
"::",
"addPreGlobalInstructionSelect",
"(",
")",
"{",
"addPass",
"(",
"new",
"Localizer",
"(",
")",
")",
";",
"}",
"</s>"
] | [
"This",
"method",
"may",
"be",
"implemented",
"by",
"targets",
"that",
"want",
"to",
"run",
"passes",
"immediately",
"before",
"the",
"(",
"global",
")",
"instruction",
"selection",
"."
] | [
"AArch64",
"AArch64"
] | AArch64TargetMachine1 | addPreGlobalInstructionSelect | AArch64 | CPU | LLVM | 27,192 | 16 | 1 | [] |
[
"<s>",
"void",
"CAHPInstrInfo",
"::",
"loadRegFromStackSlot",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"I",
",",
"unsigned",
"DstReg",
",",
"int",
"FI",
",",
"const",
"TargetRegisterClass",
"*",
"RC",
",",
"const",
"Targe... | [
"Load",
"the",
"specified",
"register",
"of",
"the",
"given",
"register",
"class",
"from",
"the",
"specified",
"stack",
"frame",
"index",
"."
] | [
"CAHP",
"CAHP",
"CAHP::GPRRegClass",
"\"Can't load this register from stack slot\"",
"CAHP::LW",
"0"
] | CAHPInstrInfo | loadRegFromStackSlot | CAHP | CPU | LLVM | 27,193 | 99 | 1 | [] |
[
"<s>",
"void",
"frv_expand_builtin_va_start",
"(",
"tree",
"valist",
",",
"rtx",
"nextarg",
")",
"{",
"tree",
"t",
";",
"int",
"num",
"=",
"cfun",
"->",
"args_info",
"-",
"FIRST_ARG_REGNUM",
"-",
"FRV_NUM_ARG_REGS",
";",
"nextarg",
"=",
"gen_rtx_PLUS",
"(",
... | [
"Expand",
"__builtin_va_start",
"to",
"do",
"the",
"va_start",
"macro",
"."
] | [
"frv",
"\"va_start: args_info = %d, num = %d\\n\"",
"1"
] | frv2 | frv_expand_builtin_va_start | frv | VLIW | GCC | 27,194 | 104 | 1 | [] |
[
"<s>",
"static",
"void",
"csky_trampoline_init",
"(",
"rtx",
"m_tramp",
",",
"tree",
"fndecl",
",",
"rtx",
"chain_value",
")",
"{",
"rtx",
"fnaddr",
"=",
"XEXP",
"(",
"DECL_RTL",
"(",
"fndecl",
")",
",",
"0",
")",
";",
"rtx",
"mem",
",",
"a_tramp",
";"... | [
"Worker",
"function",
"for",
"TARGET_TRAMPOLINE_INIT",
"."
] | [
"csky",
"0",
"8",
"4",
"0"
] | csky | csky_trampoline_init | csky | CPU | GCC | 27,195 | 117 | 1 | [] |
[
"<s>",
"BitVector",
"HexagonRegisterInfo",
"::",
"getReservedRegs",
"(",
"const",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"BitVector",
"Reserved",
"(",
"getNumRegs",
"(",
")",
")",
";",
"Reserved",
".",
"set",
"(",
"Hexagon",
"::",
"R29",
")",
";",
... | [
"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::VTMP",
"Hexagon::SA0",
"Hexagon::LC0",
"Hexagon::SA1",
"Hexagon::LC1",
"Hexagon::P3_0",
"Hexagon::USR",
"Hexagon::PC",
"Hexagon::UGP",
"Hexagon::GP",
"Hexagon::CS0",
"Hexagon::CS1",
"Hexagon::UPCYCLELO"... | HexagonRegisterInfo45 | getReservedRegs | Hexagon | DSP | LLVM | 27,196 | 280 | 1 | [] |
[
"<s>",
"void",
"AVRShiftExpand",
"::",
"expand",
"(",
"BinaryOperator",
"*",
"BI",
")",
"{",
"auto",
"&",
"Ctx",
"=",
"BI",
"->",
"getContext",
"(",
")",
";",
"IRBuilder",
"<",
">",
"Builder",
"(",
"BI",
")",
";",
"Type",
"*",
"Int32Ty",
"=",
"Type",... | [
"expand",
"-",
"Expand",
"a",
"record",
"into",
"a",
"set",
"of",
"elements",
"if",
"possible",
"."
] | [
"AVR",
"AVR",
"0",
"\"shift.done\"",
"\"shift.loop\"",
"1",
"2",
"2",
"0",
"1",
"1",
"1",
"1",
"\"asked to expand an instruction that is not a shift\"",
"2",
"0"
] | AVRShiftExpand | expand | AVR | MPU | LLVM | 27,197 | 448 | 1 | [] |
[
"<s>",
"bool",
"WebAssembly",
"::",
"mayThrow",
"(",
"const",
"MachineInstr",
"&",
"MI",
")",
"{",
"switch",
"(",
"MI",
".",
"getOpcode",
"(",
")",
")",
"{",
"case",
"WebAssembly",
"::",
"THROW",
":",
"case",
"WebAssembly",
"::",
"THROW_S",
":",
"case",
... | [
"Return",
"true",
"if",
"this",
"instruction",
"may",
"throw",
"an",
"exception",
"."
] | [
"WebAssembly",
"WebAssembly::mayThrow",
"WebAssembly::THROW",
"WebAssembly::THROW_S",
"WebAssembly::RETHROW",
"WebAssembly::RETHROW_S",
"\"memcpy\"",
"0",
"\"memmove\"",
"0",
"\"memset\"",
"0"
] | WebAssemblyUtilities10 | mayThrow | WebAssembly | Virtual ISA | LLVM | 27,198 | 220 | 1 | [] |
[
"<s>",
"static",
"unsigned",
"ix86_loop_unroll_adjust",
"(",
"unsigned",
"nunroll",
",",
"struct",
"loop",
"*",
"loop",
")",
"{",
"basic_block",
"*",
"bbs",
";",
"rtx_insn",
"*",
"insn",
";",
"unsigned",
"i",
";",
"unsigned",
"mem_count",
"=",
"0",
";",
"i... | [
"This",
"function",
"adjusts",
"the",
"unroll",
"factor",
"based",
"on",
"the",
"hardware",
"capabilities",
".",
"For",
"ex",
",",
"bdver3",
"has",
"a",
"loop",
"buffer",
"which",
"makes",
"unrolling",
"of",
"smaller",
"loops",
"less",
"important",
".",
"Thi... | [
"i386",
"0",
"0",
"4",
"2",
"1",
"32",
"32"
] | i3865 | ix86_loop_unroll_adjust | i386 | CPU | GCC | 27,199 | 166 | 1 | [] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.