ground_truth listlengths 8 512 | natrual_language listlengths 1 243 | TS_V_token listlengths 1 182 | File stringlengths 2 45 | Func stringlengths 1 56 | Target stringclasses 175
values | Target_Clf stringclasses 6
values | Compiler_Type stringclasses 2
values | Idx int64 0 36.2k | Length int64 6 510 | Cover_Rate float64 1 1 | Template_token listlengths 0 0 |
|---|---|---|---|---|---|---|---|---|---|---|---|
[
"<s>",
"static",
"bool",
"insn_dependent_p",
"(",
"rtx",
"x",
",",
"rtx",
"y",
")",
"{",
"rtx",
"tmp",
";",
"if",
"(",
"!",
"INSN_P",
"(",
"x",
")",
"||",
"!",
"INSN_P",
"(",
"y",
")",
")",
"return",
"0",
";",
"tmp",
"=",
"PATTERN",
"(",
"y",
... | [
"Return",
"true",
"if",
"anything",
"in",
"insn",
"X",
"is",
"(",
"anti",
",",
"output",
",",
"true",
")",
"dependent",
"on",
"anything",
"in",
"insn",
"Y",
"."
] | [
"mt",
"0"
] | mt | insn_dependent_p | mt | CPU | GCC | 6,900 | 88 | 1 | [] |
[
"<s>",
"bool",
"ARMTargetMachine",
"::",
"addInstSelector",
"(",
"PassManagerBase",
"&",
"PM",
",",
"CodeGenOpt",
"::",
"Level",
"OptLevel",
")",
"{",
"PM",
".",
"add",
"(",
"createARMISelDag",
"(",
"*",
"this",
")",
")",
";",
"return",
"false",
";",
"}",
... | [
"addInstSelector",
"-",
"This",
"method",
"should",
"install",
"an",
"instruction",
"selector",
"pass",
",",
"which",
"converts",
"from",
"LLVM",
"code",
"to",
"machine",
"instructions",
"."
] | [
"ARM",
"ARM",
"ARM"
] | ARMTargetMachine26 | addInstSelector | ARM | CPU | LLVM | 6,901 | 30 | 1 | [] |
[
"<s>",
"static",
"reg_class_t",
"rs6000_ira_change_pseudo_allocno_class",
"(",
"int",
"regno",
"ATTRIBUTE_UNUSED",
",",
"reg_class_t",
"allocno_class",
",",
"reg_class_t",
"best_class",
")",
"{",
"switch",
"(",
"allocno_class",
")",
"{",
"case",
"GEN_OR_VSX_REGS",
":",
... | [
"Implement",
"TARGET_IRA_CHANGE_PSEUDO_ALLOCNO_CLASS",
".",
"The",
"register",
"allocator",
"chooses",
"GEN_OR_VSX_REGS",
"for",
"the",
"allocno",
"class",
"if",
"GENERAL_REGS",
"and",
"VSX_REGS",
"cost",
"is",
"lower",
"than",
"the",
"memory",
"cost",
".",
"This",
... | [
"rs6000"
] | rs6000 | rs6000_ira_change_pseudo_allocno_class | rs6000 | CPU | GCC | 6,902 | 98 | 1 | [] |
[
"<s>",
"SDValue",
"HexagonTargetLowering",
"::",
"getInt",
"(",
"unsigned",
"IntId",
",",
"MVT",
"ResTy",
",",
"ArrayRef",
"<",
"SDValue",
">",
"Ops",
",",
"const",
"SDLoc",
"&",
"dl",
",",
"SelectionDAG",
"&",
"DAG",
")",
"const",
"{",
"SmallVector",
"<",... | [
"Get",
"a",
"constant",
"integer",
"value",
"."
] | [
"Hexagon",
"Hexagon",
"4",
"MVT::i32",
"ISD::INTRINSIC_WO_CHAIN"
] | HexagonISelLoweringHVX (2) | getInt | Hexagon | DSP | LLVM | 6,903 | 78 | 1 | [] |
[
"<s>",
"static",
"rtx",
"sparc_legitimize_pic_address",
"(",
"rtx",
"orig",
",",
"rtx",
"reg",
")",
"{",
"if",
"(",
"GET_CODE",
"(",
"orig",
")",
"==",
"SYMBOL_REF",
"||",
"(",
"GET_CODE",
"(",
"orig",
")",
"==",
"LABEL_REF",
"&&",
"!",
"can_use_mov_pic_la... | [
"Legitimize",
"PIC",
"addresses",
".",
"If",
"the",
"address",
"is",
"already",
"position-independent",
",",
"we",
"return",
"ORIG",
".",
"Newly",
"generated",
"position-independent",
"addresses",
"go",
"into",
"a",
"reg",
".",
"This",
"is",
"REG",
"if",
"nonz... | [
"sparc",
"2",
"1",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"1",
"1"
] | sparc | sparc_legitimize_pic_address | sparc | CPU | GCC | 6,904 | 460 | 1 | [] |
[
"<s>",
"static",
"void",
"mips_encode_section_info",
"(",
"tree",
"decl",
",",
"rtx",
"rtl",
",",
"int",
"first",
")",
"{",
"default_encode_section_info",
"(",
"decl",
",",
"rtl",
",",
"first",
")",
";",
"if",
"(",
"TREE_CODE",
"(",
"decl",
")",
"==",
"F... | [
"Set",
"SYMBOL_REF_FLAGS",
"for",
"the",
"SYMBOL_REF",
"inside",
"RTL",
",",
"which",
"belongs",
"to",
"DECL",
".",
"FIRST",
"is",
"true",
"if",
"this",
"is",
"the",
"first",
"time",
"handling",
"this",
"decl",
"."
] | [
"mips",
"\"long_call\"",
"0"
] | mips3 | mips_encode_section_info | mips | CPU | GCC | 6,905 | 65 | 1 | [] |
[
"<s>",
"static",
"inline",
"int",
"atomic_alloc",
"(",
"unsigned",
"int",
"*",
"mask",
")",
"{",
"unsigned",
"int",
"old",
"=",
"*",
"mask",
",",
"ret",
",",
"new",
";",
"while",
"(",
"1",
")",
"{",
"if",
"(",
"old",
"==",
"0",
")",
"return",
"-"... | [
"MASK",
"is",
"a",
"bitmap",
"describing",
"the",
"allocation",
"state",
"of",
"emergency",
"buffers",
",",
"with",
"bit",
"set",
"indicating",
"free",
".",
"Return",
">",
"=",
"0",
"if",
"allocation",
"is",
"successful",
";",
"<",
"0",
"if",
"failure",
... | [
"ia64",
"1",
"0",
"1",
"1"
] | unwind-ia64 | atomic_alloc | ia64 | CPU | GCC | 6,906 | 84 | 1 | [] |
[
"<s>",
"static",
"bool",
"loongarch_pass_aggregate_in_fpr_and_gpr_p",
"(",
"const_tree",
"type",
",",
"loongarch_aggregate_field",
"fields",
"[",
"2",
"]",
")",
"{",
"unsigned",
"num_int",
"=",
"0",
",",
"num_float",
"=",
"0",
";",
"int",
"n",
"=",
"loongarch_fl... | [
"See",
"whether",
"TYPE",
"is",
"a",
"record",
"whose",
"fields",
"should",
"be",
"returned",
"in",
"one",
"floating-point",
"register",
"and",
"one",
"integer",
"register",
".",
"If",
"so",
",",
"populate",
"FIELDS",
"accordingly",
"."
] | [
"loongarch",
"2",
"0",
"0",
"0",
"1",
"1"
] | loongarch | loongarch_pass_aggregate_in_fpr_and_gpr_p | loongarch | CPU | GCC | 6,907 | 83 | 1 | [] |
[
"<s>",
"static",
"bool",
"v850_modes_tieable_p",
"(",
"machine_mode",
"mode1",
",",
"machine_mode",
"mode2",
")",
"{",
"return",
"(",
"mode1",
"==",
"mode2",
"||",
"(",
"GET_MODE_SIZE",
"(",
"mode1",
")",
"<=",
"4",
"&&",
"GET_MODE_SIZE",
"(",
"mode2",
")",
... | [
"Implement",
"TARGET_MODES_TIEABLE_P",
"."
] | [
"v850",
"4",
"4"
] | v850 | v850_modes_tieable_p | v850 | MPU | GCC | 6,908 | 35 | 1 | [] |
[
"<s>",
"static",
"void",
"move_to_end_of_ready",
"(",
"rtx_insn",
"*",
"*",
"ready",
",",
"int",
"pos",
",",
"int",
"lastpos",
")",
"{",
"rtx_insn",
"*",
"tmp",
";",
"int",
"i",
";",
"tmp",
"=",
"ready",
"[",
"pos",
"]",
";",
"for",
"(",
"i",
"=",
... | [
"Move",
"instruction",
"at",
"POS",
"to",
"the",
"end",
"of",
"the",
"READY",
"list",
"."
] | [
"rs6000",
"1"
] | rs6000 | move_to_end_of_ready | rs6000 | CPU | GCC | 6,909 | 63 | 1 | [] |
[
"<s>",
"bool",
"X86FrameLowering",
"::",
"stackProbeFunctionModifiesSP",
"(",
")",
"const",
"{",
"return",
"STI",
".",
"isOSWindows",
"(",
")",
"&&",
"!",
"STI",
".",
"isTargetWin64",
"(",
")",
";",
"}",
"</s>"
] | [
"Does",
"the",
"stack",
"probe",
"function",
"call",
"return",
"with",
"a",
"modified",
"stack",
"pointer",
"?"
] | [
"X86",
"X86"
] | X86FrameLowering (2)3 | stackProbeFunctionModifiesSP | X86 | CPU | LLVM | 6,910 | 23 | 1 | [] |
[
"<s>",
"bool",
"ARMBaseInstrInfo",
"::",
"isCopyInstr",
"(",
"const",
"MachineInstr",
"&",
"MI",
",",
"const",
"MachineOperand",
"*",
"&",
"Src",
",",
"const",
"MachineOperand",
"*",
"&",
"Dest",
")",
"const",
"{",
"if",
"(",
"!",
"MI",
".",
"isMoveReg",
... | [
"If",
"the",
"specific",
"machine",
"instruction",
"is",
"a",
"instruction",
"that",
"moves/copies",
"value",
"from",
"one",
"register",
"to",
"another",
"register",
"return",
"destination",
"and",
"source",
"registers",
"as",
"machine",
"operands",
"."
] | [
"ARM",
"ARM",
"ARM::VORRq",
"1",
"2",
"0",
"1"
] | ARMBaseInstrInfo18 | isCopyInstr | ARM | CPU | LLVM | 6,911 | 94 | 1 | [] |
[
"<s>",
"int",
"ia64_produce_address_p",
"(",
"rtx",
"insn",
")",
"{",
"return",
"insn",
"->",
"call",
";",
"}",
"</s>"
] | [
"The",
"following",
"function",
"returns",
"TRUE",
"if",
"INSN",
"produces",
"address",
"for",
"a",
"load/store",
"insn",
".",
"We",
"will",
"place",
"such",
"insns",
"into",
"M",
"slot",
"because",
"it",
"decreases",
"its",
"latency",
"time",
"."
] | [
"ia64"
] | ia64 | ia64_produce_address_p | ia64 | CPU | GCC | 6,912 | 13 | 1 | [] |
[
"<s>",
"enum",
"rtx_code",
"arm_canonicalize_comparison",
"(",
"enum",
"rtx_code",
"code",
",",
"enum",
"machine_mode",
"mode",
",",
"rtx",
"*",
"op1",
")",
"{",
"unsigned",
"HOST_WIDE_INT",
"i",
"=",
"INTVAL",
"(",
"*",
"op1",
")",
";",
"unsigned",
"HOST_WI... | [
"Canonicalize",
"a",
"comparison",
"so",
"that",
"we",
"are",
"more",
"likely",
"to",
"recognize",
"it",
".",
"This",
"can",
"be",
"done",
"for",
"a",
"few",
"constant",
"compares",
",",
"where",
"we",
"can",
"make",
"the",
"immediate",
"value",
"easier",
... | [
"arm",
"1",
"1",
"1",
"1",
"1",
"1",
"1",
"1",
"1",
"0",
"1",
"1",
"1",
"0",
"1",
"1",
"1"
] | arm3 | arm_canonicalize_comparison | arm | CPU | GCC | 6,913 | 303 | 1 | [] |
[
"<s>",
"void",
"X86InstrInfo",
"::",
"loadRegFromStackSlot",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"MI",
",",
"unsigned",
"DestReg",
",",
"int",
"FrameIdx",
",",
"const",
"TargetRegisterClass",
"*",
"RC",
",",
"const",
... | [
"Load",
"the",
"specified",
"register",
"of",
"the",
"given",
"register",
"class",
"from",
"the",
"specified",
"stack",
"frame",
"index",
"."
] | [
"X86",
"X86",
"16"
] | X86InstrInfo (2)1 | loadRegFromStackSlot | X86 | CPU | LLVM | 6,914 | 133 | 1 | [] |
[
"<s>",
"SDValue",
"MINA32TargetLowering",
"::",
"LowerOperation",
"(",
"SDValue",
"Op",
",",
"SelectionDAG",
"&",
"DAG",
")",
"const",
"{",
"llvm_unreachable",
"(",
"\"LowerOperation() unimplemented\"",
")",
";",
"}",
"</s>"
] | [
"LowerOperation",
"-",
"Provide",
"custom",
"lowering",
"hooks",
"for",
"some",
"operations",
"."
] | [
"MINA32",
"MINA32",
"\"LowerOperation() unimplemented\""
] | MINA32ISelLowering | LowerOperation | MINA32 | CPU | LLVM | 6,915 | 20 | 1 | [] |
[
"<s>",
"static",
"int",
"s390_issue_rate",
"(",
"void",
")",
"{",
"switch",
"(",
"s390_tune",
")",
"{",
"case",
"PROCESSOR_2084_Z990",
":",
"case",
"PROCESSOR_2094_Z9_109",
":",
"case",
"PROCESSOR_2094_Z9_EC",
":",
"case",
"PROCESSOR_2817_Z196",
":",
"return",
"3"... | [
"The",
"number",
"of",
"instructions",
"that",
"can",
"be",
"issued",
"per",
"cycle",
"."
] | [
"s390",
"3",
"2",
"1"
] | s3907 | s390_issue_rate | s390 | MPU | GCC | 6,916 | 58 | 1 | [] |
[
"<s>",
"const",
"char",
"*",
"output_call_mem",
"(",
"rtx",
"*",
"operands",
")",
"{",
"gcc_assert",
"(",
"!",
"arm_arch5",
")",
";",
"if",
"(",
"TARGET_INTERWORK",
")",
"{",
"output_asm_insn",
"(",
"\"ldr%?\\t%|ip, %0\"",
",",
"operands",
")",
";",
"output_... | [
"Output",
"a",
"'call",
"'",
"insn",
"that",
"is",
"a",
"reference",
"in",
"memory",
".",
"This",
"is",
"disabled",
"for",
"ARMv5",
"and",
"we",
"prefer",
"a",
"blx",
"instead",
"because",
"otherwise",
"there",
"'s",
"a",
"significant",
"performance",
"ove... | [
"arm",
"\"ldr%?\\t%|ip, %0\"",
"\"mov%?\\t%|lr, %|pc\"",
"\"bx%?\\t%|ip\"",
"0",
"\"ldr%?\\t%|ip, %0\"",
"\"mov%?\\t%|lr, %|pc\"",
"\"bx%?\\t%|ip\"",
"\"mov%?\\t%|pc, %|ip\"",
"\"mov%?\\t%|lr, %|pc\"",
"\"ldr%?\\t%|pc, %0\"",
"\"\""
] | arm4 | output_call_mem | arm | CPU | GCC | 6,917 | 112 | 1 | [] |
[
"<s>",
"static",
"bool",
"pru_hard_regno_scratch_ok",
"(",
"unsigned",
"int",
"regno",
")",
"{",
"if",
"(",
"(",
"!",
"reload_completed",
"||",
"frame_pointer_needed",
")",
"&&",
"(",
"IN_RANGE",
"(",
"regno",
",",
"HARD_FRAME_POINTER_REGNUM",
",",
"HARD_FRAME_POI... | [
"Implement",
"`",
"TARGET_HARD_REGNO_SCRATCH_OK",
"'",
".",
"Returns",
"true",
"if",
"REGNO",
"is",
"safe",
"to",
"be",
"allocated",
"as",
"a",
"scratch",
"register",
"(",
"for",
"a",
"define_peephole2",
")",
"in",
"the",
"current",
"function",
"."
] | [
"pru",
"3",
"3"
] | pru | pru_hard_regno_scratch_ok | pru | CPU | GCC | 6,918 | 49 | 1 | [] |
[
"<s>",
"void",
"AMDGPUTargetMachine",
"::",
"registerDefaultAliasAnalyses",
"(",
"AAManager",
"&",
"AAM",
")",
"{",
"AAM",
".",
"registerFunctionAnalysis",
"<",
"AMDGPUAA",
">",
"(",
")",
";",
"}",
"</s>"
] | [
"Allow",
"the",
"target",
"to",
"register",
"alias",
"analyses",
"with",
"the",
"AAManager",
"for",
"use",
"with",
"the",
"new",
"pass",
"manager",
"."
] | [
"AMDGPU",
"AMDGPU",
"AMDGPU"
] | AMDGPUTargetMachine (2)1 | registerDefaultAliasAnalyses | AMDGPU | GPU | LLVM | 6,919 | 20 | 1 | [] |
[
"<s>",
"void",
"applyFixup",
"(",
"const",
"MCAssembler",
"&",
"Asm",
",",
"const",
"MCFixup",
"&",
"Fixup",
",",
"const",
"MCValue",
"&",
"Target",
",",
"MutableArrayRef",
"<",
"char",
">",
"Data",
",",
"uint64_t",
"Value",
",",
"bool",
"IsResolved",
",",... | [
"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",
"."
] | [
"Sparc",
"0",
"support::little",
"1",
"8",
"0xff"
] | SparcAsmBackend19 | applyFixup | Sparc | CPU | LLVM | 6,920 | 137 | 1 | [] |
[
"<s>",
"int",
"xt_true_regnum",
"(",
"rtx",
"x",
")",
"{",
"if",
"(",
"REG_P",
"(",
"x",
")",
")",
"{",
"if",
"(",
"!",
"HARD_REGISTER_P",
"(",
"x",
")",
"&&",
"reg_renumber",
"&&",
"(",
"lra_in_progress",
"||",
"reg_renumber",
"[",
"REGNO",
"(",
"x"... | [
"This",
"is",
"just",
"like",
"the",
"standard",
"true_regnum",
"(",
")",
"function",
"except",
"that",
"it",
"works",
"even",
"when",
"reg_renumber",
"is",
"not",
"initialized",
"."
] | [
"xtensa",
"0",
"0",
"1"
] | xtensa1 | xt_true_regnum | xtensa | MPU | GCC | 6,921 | 149 | 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"
] | SIPreEmitPeephole3 | runOnMachineFunction | AMDGPU | GPU | LLVM | 6,922 | 123 | 1 | [] |
[
"<s>",
"void",
"prepare",
"(",
")",
"{",
"assert",
"(",
"RS",
"&&",
"\"Cannot spill SGPR to memory without RegScavenger\"",
")",
";",
"TmpVGPR",
"=",
"RS",
"->",
"scavengeRegister",
"(",
"&",
"AMDGPU",
"::",
"VGPR_32RegClass",
",",
"MI",
",",
"0",
",",
"false"... | [
"prepare",
"-",
"Reset",
"state",
"and",
"prepare",
"for",
"a",
"new",
"spill",
"placement",
"computation",
"."
] | [
"AMDGPU",
"\"Cannot spill SGPR to memory without RegScavenger\"",
"AMDGPU::VGPR_32RegClass",
"0",
"AMDGPU::VGPR0",
"\"Exec is already saved, refuse to save again\"",
"AMDGPU::SGPR_32RegClass",
"AMDGPU::SGPR_64RegClass",
"0",
"0",
"0",
"2",
"0"
] | SIRegisterInfo87 | prepare | AMDGPU | GPU | LLVM | 6,923 | 310 | 1 | [] |
[
"<s>",
"static",
"int",
"nios2_compute_frame_layout",
"(",
"void",
")",
"{",
"unsigned",
"int",
"regno",
";",
"unsigned",
"int",
"save_mask",
"=",
"0",
";",
"int",
"total_size",
";",
"int",
"var_size",
";",
"int",
"out_args_size",
";",
"int",
"save_reg_size",
... | [
"Return",
"the",
"bytes",
"needed",
"to",
"compute",
"the",
"frame",
"pointer",
"from",
"the",
"current",
"stack",
"pointer",
"."
] | [
"nios2",
"0",
"0",
"0",
"1",
"4",
"0",
"1",
"0",
"1",
"4",
"23",
"16",
"1",
"0",
"1",
"16",
"1",
"0",
"1",
"4",
"0",
"1",
"1",
"4",
"0",
"1",
"0",
"0",
"1",
"4"
] | nios2 | nios2_compute_frame_layout | nios2 | MPU | GCC | 6,924 | 434 | 1 | [] |
[
"<s>",
"const",
"char",
"*",
"AArch64TargetLowering",
"::",
"getTargetNodeName",
"(",
"unsigned",
"Opcode",
")",
"const",
"{",
"switch",
"(",
"Opcode",
")",
"{",
"case",
"AArch64ISD",
"::",
"BR_CC",
":",
"return",
"\"AArch64ISD::BR_CC\"",
";",
"case",
"AArch64IS... | [
"getTargetNodeName",
"-",
"This",
"method",
"returns",
"the",
"name",
"of",
"a",
"target",
"specific"
] | [
"AArch64",
"AArch64",
"AArch64ISD::BR_CC",
"\"AArch64ISD::BR_CC\"",
"AArch64ISD::Call",
"\"AArch64ISD::Call\"",
"AArch64ISD::FPMOV",
"\"AArch64ISD::FPMOV\"",
"AArch64ISD::GOTLoad",
"\"AArch64ISD::GOTLoad\"",
"AArch64ISD::BFI",
"\"AArch64ISD::BFI\"",
"AArch64ISD::EXTR",
"\"AArch64ISD::EXTR\... | AArch64ISelLowering113 | getTargetNodeName | AArch64 | CPU | LLVM | 6,925 | 304 | 1 | [] |
[
"<s>",
"bool",
"HexagonRegisterInfo",
"::",
"useFPForScavengingIndex",
"(",
"const",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"const",
"HexagonFrameLowering",
"*",
"TFI",
"=",
"getFrameLowering",
"(",
"MF",
")",
";",
"return",
"TFI",
"->",
"hasFP",
"(",
... | [
"Returns",
"true",
"if",
"the",
"target",
"wants",
"to",
"use",
"frame",
"pointer",
"based",
"accesses",
"to",
"spill",
"to",
"the",
"scavenger",
"emergency",
"spill",
"slot",
"."
] | [
"Hexagon",
"Hexagon",
"Hexagon"
] | HexagonRegisterInfo42 | useFPForScavengingIndex | Hexagon | DSP | LLVM | 6,926 | 31 | 1 | [] |
[
"<s>",
"void",
"GCNPassConfig",
"::",
"addMachineSSAOptimization",
"(",
")",
"{",
"TargetPassConfig",
"::",
"addMachineSSAOptimization",
"(",
")",
";",
"addPass",
"(",
"&",
"SIFoldOperandsID",
")",
";",
"if",
"(",
"EnableDPPCombine",
")",
"addPass",
"(",
"&",
"G... | [
"Methods",
"with",
"trivial",
"inline",
"returns",
"are",
"convenient",
"points",
"in",
"the",
"common",
"codegen",
"pass",
"pipeline",
"where",
"targets",
"may",
"insert",
"passes",
"."
] | [
"AMDGPU",
"SI",
"SI",
"SI",
"SI",
"SI"
] | AMDGPUTargetMachine10 | addMachineSSAOptimization | AMDGPU | GPU | LLVM | 6,927 | 85 | 1 | [] |
[
"<s>",
"void",
"vms_c_register_includes",
"(",
"const",
"char",
"*",
"sysroot",
"ATTRIBUTE_UNUSED",
",",
"const",
"char",
"*",
"iprefix",
"ATTRIBUTE_UNUSED",
",",
"int",
"stdinc",
"ATTRIBUTE_UNUSED",
")",
"{",
"}",
"</s>"
] | [
"Find",
"include",
"modules",
"in",
"the",
"include",
"path",
"."
] | [
"vms"
] | vms-f | vms_c_register_includes | vms | Virtual ISA | GCC | 6,928 | 21 | 1 | [] |
[
"<s>",
"void",
"AMDGPUInstPrinter",
"::",
"printOffset",
"(",
"const",
"MCInst",
"*",
"MI",
",",
"unsigned",
"OpNo",
",",
"const",
"MCSubtargetInfo",
"&",
"STI",
",",
"raw_ostream",
"&",
"O",
")",
"{",
"uint16_t",
"Imm",
"=",
"MI",
"->",
"getOperand",
"(",... | [
"This",
"is",
"just",
"convenient",
"handler",
"for",
"printing",
"offsets",
"."
] | [
"AMDGPU",
"AMDGPU",
"0",
"\" offset:\""
] | AMDGPUInstPrinter28 | printOffset | AMDGPU | GPU | LLVM | 6,929 | 59 | 1 | [] |
[
"<s>",
"void",
"XCoreRegisterInfo",
"::",
"processFunctionBeforeFrameFinalized",
"(",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"}",
"</s>"
] | [
"processFunctionBeforeFrameFinalized",
"-",
"This",
"method",
"is",
"called",
"immediately",
"before",
"the",
"specified",
"function",
"'s",
"frame",
"layout",
"(",
"MF.getFrameInfo",
"(",
")",
")",
"is",
"finalized",
"."
] | [
"XCore",
"XCore"
] | XCoreRegisterInfo11 | processFunctionBeforeFrameFinalized | XCore | MPU | LLVM | 6,930 | 12 | 1 | [] |
[
"<s>",
"static",
"struct",
"machine_function",
"*",
"or1k_init_machine_status",
"(",
"void",
")",
"{",
"return",
"ggc_cleared_alloc",
"<",
"machine_function",
">",
"(",
")",
";",
"}",
"</s>"
] | [
"Zero",
"initialization",
"is",
"OK",
"for",
"all",
"current",
"fields",
"."
] | [
"or1k"
] | or1k | or1k_init_machine_status | or1k | CPU | GCC | 6,931 | 18 | 1 | [] |
[
"<s>",
"ISD",
"::",
"NodeType",
"getExtendForAtomicOps",
"(",
")",
"const",
"override",
"{",
"return",
"ISD",
"::",
"ANY_EXTEND",
";",
"}",
"</s>"
] | [
"Returns",
"how",
"the",
"platform",
"'s",
"atomic",
"operations",
"are",
"extended",
"(",
"ZERO_EXTEND",
",",
"SIGN_EXTEND",
",",
"or",
"ANY_EXTEND",
")",
"."
] | [
"SystemZ",
"ISD::NodeType",
"ISD::ANY_EXTEND"
] | SystemZISelLowering | getExtendForAtomicOps | SystemZ | CPU | LLVM | 6,932 | 15 | 1 | [] |
[
"<s>",
"unsigned",
"SITargetLowering",
"::",
"getRegisterByName",
"(",
"const",
"char",
"*",
"RegName",
",",
"EVT",
"VT",
",",
"SelectionDAG",
"&",
"DAG",
")",
"const",
"{",
"unsigned",
"Reg",
"=",
"StringSwitch",
"<",
"unsigned",
">",
"(",
"RegName",
")",
... | [
"Return",
"the",
"register",
"ID",
"of",
"the",
"name",
"passed",
"in",
"."
] | [
"AMDGPU",
"SI",
"\"m0\"",
"AMDGPU::M0",
"\"exec\"",
"AMDGPU::EXEC",
"\"exec_lo\"",
"AMDGPU::EXEC_LO",
"\"exec_hi\"",
"AMDGPU::EXEC_HI",
"\"flat_scratch\"",
"AMDGPU::FLAT_SCR",
"\"flat_scratch_lo\"",
"AMDGPU::FLAT_SCR_LO",
"\"flat_scratch_hi\"",
"AMDGPU::FLAT_SCR_HI",
"AMDGPU::NoRegis... | SIISelLowering (2)3 | getRegisterByName | AMDGPU | GPU | LLVM | 6,933 | 263 | 1 | [] |
[
"<s>",
"void",
"split_double_move",
"(",
"rtx",
"*",
"operands",
",",
"enum",
"machine_mode",
"mode",
")",
"{",
"bool",
"swap",
"=",
"false",
";",
"if",
"(",
"GET_CODE",
"(",
"operands",
"[",
"0",
"]",
")",
"==",
"REG",
"&&",
"GET_CODE",
"(",
"operands... | [
"Split",
"a",
"double",
"move",
"of",
"OPERANDS",
"in",
"MODE",
"."
] | [
"visium",
"0",
"1",
"0",
"1",
"1",
"0",
"1",
"1",
"0",
"0",
"0",
"1",
"0",
"0",
"2",
"0",
"1",
"1",
"3",
"1",
"1",
"1",
"4",
"0",
"0",
"1",
"5",
"1",
"0",
"1",
"2",
"0",
"0",
"1",
"3",
"1",
"0",
"1",
"4",
"0",
"1",
"1",
"5",
"1"... | visium2 | split_double_move | visium | Virtual ISA | GCC | 6,934 | 385 | 1 | [] |
[
"<s>",
"bool",
"SILowerLiteralConstantsPass",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"{",
"for",
"(",
"MachineFunction",
"::",
"iterator",
"BB",
"=",
"MF",
".",
"begin",
"(",
")",
",",
"BB_E",
"=",
"MF",
".",
"end",
"(",
")",... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"R600",
"SI",
"1",
"0",
"SI",
"SI",
"0",
"SI",
"1"
] | SILowerLiteralConstants | runOnMachineFunction | R600 | GPU | LLVM | 6,935 | 320 | 1 | [] |
[
"<s>",
"MipsSubtarget",
"::",
"MipsSubtarget",
"(",
"const",
"std",
"::",
"string",
"&",
"TT",
",",
"const",
"std",
"::",
"string",
"&",
"CPU",
",",
"const",
"std",
"::",
"string",
"&",
"FS",
",",
"bool",
"little",
",",
"Reloc",
"::",
"Model",
"_RM",
... | [
"This",
"constructor",
"initializes",
"the",
"data",
"members",
"to",
"match",
"that",
"of",
"the",
"specified",
"triple",
"."
] | [
"Mips",
"Mips",
"Mips",
"Mips",
"Mips",
"Mips",
"Mips",
"Mips",
"Mips",
"Mips",
"Mips",
"Mips",
"Mips",
"Mips",
"\"mips32\"",
"Mips",
"Mips",
"Mips",
"Mips",
"Mips",
"Mips",
"Mips",
"\"Invalid Arch & ABI pair.\"",
"\"linux\""
] | MipsSubtarget2 | MipsSubtarget | Mips | CPU | LLVM | 6,936 | 290 | 1 | [] |
[
"<s>",
"rtx",
"neon_make_constant",
"(",
"rtx",
"vals",
")",
"{",
"machine_mode",
"mode",
"=",
"GET_MODE",
"(",
"vals",
")",
";",
"rtx",
"target",
";",
"rtx",
"const_vec",
"=",
"NULL_RTX",
";",
"int",
"n_elts",
"=",
"GET_MODE_NUNITS",
"(",
"mode",
")",
"... | [
"Generate",
"code",
"to",
"load",
"VALS",
",",
"which",
"is",
"a",
"PARALLEL",
"containing",
"only",
"constants",
"(",
"for",
"vec_init",
")",
"or",
"CONST_VECTOR",
",",
"efficiently",
"into",
"a",
"register",
".",
"Returns",
"an",
"RTX",
"to",
"copy",
"in... | [
"arm",
"0",
"0",
"0",
"0"
] | arm4 | neon_make_constant | arm | CPU | GCC | 6,937 | 183 | 1 | [] |
[
"<s>",
"bool",
"aarch64_float_const_representable_p",
"(",
"rtx",
"x",
")",
"{",
"int",
"point_pos",
"=",
"2",
"*",
"HOST_BITS_PER_WIDE_INT",
"-",
"1",
";",
"int",
"exponent",
";",
"unsigned",
"HOST_WIDE_INT",
"mantissa",
",",
"mask",
";",
"REAL_VALUE_TYPE",
"r"... | [
"Return",
"true",
"iff",
"X",
"can",
"be",
"represented",
"by",
"a",
"quarter-precision",
"floating",
"point",
"immediate",
"operand",
"X",
".",
"Note",
",",
"we",
"can",
"not",
"represent",
"0.0",
"."
] | [
"aarch64",
"2",
"1",
"2",
"0",
"1",
"1",
"5",
"1",
"0",
"5",
"0",
"1",
"4",
"15",
"5",
"0",
"7"
] | aarch646 | aarch64_float_const_representable_p | aarch64 | CPU | GCC | 6,938 | 247 | 1 | [] |
[
"<s>",
"std",
"::",
"string",
"BTFTypeStruct",
"::",
"getName",
"(",
")",
"{",
"return",
"STy",
"->",
"getName",
"(",
")",
";",
"}",
"</s>"
] | [
"Return",
"a",
"string",
"with",
"the",
"name",
"of",
"the",
"plan",
"and",
"the",
"applicable",
"VFs",
"and",
"UFs",
"."
] | [
"BPF"
] | BTFDebug11 | getName | BPF | Virtual ISA | LLVM | 6,939 | 17 | 1 | [] |
[
"<s>",
"void",
"PPCFrameLowering",
"::",
"determineFrameLayout",
"(",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"MachineFrameInfo",
"*",
"MFI",
"=",
"MF",
".",
"getFrameInfo",
"(",
")",
";",
"unsigned",
"FrameSize",
"=",
"MFI",
"->",
"getStackSize",
"("... | [
"Determine",
"the",
"frame",
"layout",
"but",
"do",
"not",
"update",
"the",
"machine",
"function",
"."
] | [
"PowerPC",
"PPC",
"1",
"224",
"PPC",
"0",
"PPC"
] | PPCFrameLowering13 | determineFrameLayout | PowerPC | CPU | LLVM | 6,940 | 227 | 1 | [] |
[
"<s>",
"SDValue",
"XCoreTargetLowering",
"::",
"LowerFormalArguments",
"(",
"SDValue",
"Chain",
",",
"CallingConv",
"::",
"ID",
"CallConv",
",",
"bool",
"isVarArg",
",",
"const",
"SmallVectorImpl",
"<",
"ISD",
"::",
"InputArg",
">",
"&",
"Ins",
",",
"DebugLoc",
... | [
"This",
"hook",
"must",
"be",
"implemented",
"to",
"lower",
"the",
"incoming",
"(",
"formal",
")",
"arguments",
",",
"described",
"by",
"the",
"Ins",
"array",
",",
"into",
"the",
"specified",
"DAG",
"."
] | [
"XCore",
"XCore",
"ISD::InputArg",
"\"Unsupported calling convention\""
] | XCoreISelLowering43 | LowerFormalArguments | XCore | MPU | LLVM | 6,941 | 83 | 1 | [] |
[
"<s>",
"static",
"rtx_insn",
"*",
"F",
"(",
"rtx_insn",
"*",
"x",
")",
"{",
"RTX_FRAME_RELATED_P",
"(",
"x",
")",
"=",
"1",
";",
"return",
"x",
";",
"}",
"</s>"
] | [
"We",
"use",
"this",
"to",
"wrap",
"all",
"emitted",
"insns",
"in",
"the",
"prologue",
",",
"so",
"they",
"get",
"the",
"``",
"frame-related",
"''",
"(",
"/f",
")",
"flag",
"set",
"."
] | [
"mep",
"1"
] | mep | F | mep | CPU | GCC | 6,942 | 21 | 1 | [] |
[
"<s>",
"TargetIRAnalysis",
"NVPTXTargetMachine",
"::",
"getTargetIRAnalysis",
"(",
")",
"{",
"return",
"TargetIRAnalysis",
"(",
"[",
"this",
"]",
"(",
"Function",
"&",
")",
"{",
"return",
"TargetTransformInfo",
"(",
"NVPTXTTIImpl",
"(",
"this",
")",
")",
";",
... | [
"Get",
"a",
"TargetIRAnalysis",
"appropriate",
"for",
"the",
"target",
"."
] | [
"NVPTX",
"NVPTX",
"NVPTX"
] | NVPTXTargetMachine17 | getTargetIRAnalysis | NVPTX | GPU | LLVM | 6,943 | 31 | 1 | [] |
[
"<s>",
"const",
"uint32_t",
"*",
"GBZ80RegisterInfo",
"::",
"getCallPreservedMask",
"(",
"const",
"MachineFunction",
"&",
"MF",
",",
"CallingConv",
"::",
"ID",
"CC",
")",
"const",
"{",
"if",
"(",
"MF",
".",
"getFunction",
"(",
")",
".",
"getFunctionType",
"(... | [
"Return",
"a",
"mask",
"of",
"call-preserved",
"registers",
"for",
"the",
"given",
"calling",
"convention",
"on",
"the",
"current",
"function",
"."
] | [
"GBZ80",
"GB",
"1"
] | GBZ80RegisterInfo | getCallPreservedMask | GBZ80 | MPU | LLVM | 6,944 | 45 | 1 | [] |
[
"<s>",
"int",
"AMDGPUInstrInfo",
"::",
"pseudoToMCOpcode",
"(",
"int",
"Opcode",
")",
"const",
"{",
"SIEncodingFamily",
"Gen",
"=",
"subtargetEncodingFamily",
"(",
"ST",
")",
";",
"if",
"(",
"get",
"(",
"Opcode",
")",
".",
"TSFlags",
"&",
"SIInstrFlags",
"::... | [
"Return",
"a",
"target-specific",
"opcode",
"if",
"Opcode",
"is",
"a",
"pseudo",
"instruction",
"."
] | [
"AMDGPU",
"AMDGPU",
"SI",
"SIInstrFlags::SDWA",
"AMDGPU",
"SIEncodingFamily::SDWA9",
"SIEncodingFamily::SDWA",
"SIInstrFlags::F16_ZFILL",
"0",
"AMDGPU",
"SIEncodingFamily::GFX9",
"AMDGPU::getMCOpcode",
"1",
"1",
"1"
] | AMDGPUInstrInfo14 | pseudoToMCOpcode | AMDGPU | GPU | LLVM | 6,945 | 124 | 1 | [] |
[
"<s>",
"unsigned",
"PPCTTIImpl",
"::",
"getArithmeticInstrCost",
"(",
"unsigned",
"Opcode",
",",
"Type",
"*",
"Ty",
",",
"TTI",
"::",
"OperandValueKind",
"Op1Info",
",",
"TTI",
"::",
"OperandValueKind",
"Op2Info",
",",
"TTI",
"::",
"OperandValueProperties",
"Opd1P... | [
"This",
"is",
"an",
"approximation",
"of",
"reciprocal",
"throughput",
"of",
"a",
"math/logic",
"op",
"."
] | [
"PowerPC",
"PPC",
"\"Invalid opcode\""
] | PPCTargetTransformInfo19 | getArithmeticInstrCost | PowerPC | CPU | LLVM | 6,946 | 64 | 1 | [] |
[
"<s>",
"std",
"::",
"pair",
"<",
"const",
"TargetRegisterClass",
"*",
",",
"uint8_t",
">",
"X86TargetLowering",
"::",
"findRepresentativeClass",
"(",
"const",
"TargetRegisterInfo",
"*",
"TRI",
",",
"MVT",
"VT",
")",
"const",
"{",
"const",
"TargetRegisterClass",
... | [
"Return",
"the",
"largest",
"legal",
"super-reg",
"register",
"class",
"of",
"the",
"register",
"class",
"for",
"the",
"specified",
"type",
"and",
"its",
"associated",
"``",
"cost",
"''",
"."
] | [
"X86",
"X86",
"1",
"MVT::i8",
"MVT::i16",
"MVT::i32",
"MVT::i64",
"X86::GR64RegClass",
"X86::GR32RegClass",
"MVT::x86mmx",
"X86::VR64RegClass",
"MVT::f32",
"MVT::f64",
"MVT::v16i8",
"MVT::v8i16",
"MVT::v4i32",
"MVT::v2i64",
"MVT::v4f32",
"MVT::v2f64",
"MVT::v32i8",
"MVT::v8i3... | X86ISelLowering (2)3 | findRepresentativeClass | X86 | CPU | LLVM | 6,947 | 195 | 1 | [] |
[
"<s>",
"bool",
"rs6000_split_128bit_ok_p",
"(",
"rtx",
"operands",
"[",
"]",
")",
"{",
"if",
"(",
"!",
"reload_completed",
")",
"return",
"false",
";",
"if",
"(",
"!",
"gpr_or_gpr_p",
"(",
"operands",
"[",
"0",
"]",
",",
"operands",
"[",
"1",
"]",
")",... | [
"Return",
"true",
"if",
"a",
"128-bit",
"move",
"needs",
"to",
"be",
"split",
"."
] | [
"powerpcspe",
"0",
"1",
"0",
"1"
] | powerpcspe | rs6000_split_128bit_ok_p | powerpcspe | CPU | GCC | 6,948 | 58 | 1 | [] |
[
"<s>",
"bool",
"PPCTargetLowering",
"::",
"mayBeEmittedAsTailCall",
"(",
"const",
"CallInst",
"*",
"CI",
")",
"const",
"{",
"if",
"(",
"!",
"Subtarget",
".",
"is64BitELFABI",
"(",
")",
")",
"return",
"false",
";",
"if",
"(",
"!",
"CI",
"->",
"isTailCall",
... | [
"Return",
"true",
"if",
"the",
"target",
"may",
"be",
"able",
"emit",
"the",
"call",
"instruction",
"as",
"a",
"tail",
"call",
"."
] | [
"PowerPC",
"PPC"
] | PPCISelLowering100 | mayBeEmittedAsTailCall | PowerPC | CPU | LLVM | 6,949 | 137 | 1 | [] |
[
"<s>",
"bool",
"sh_ashlsi_clobbers_t_reg_p",
"(",
"rtx",
"shift_amount",
")",
"{",
"gcc_assert",
"(",
"CONST_INT_P",
"(",
"shift_amount",
")",
")",
";",
"const",
"int",
"shift_amount_i",
"=",
"INTVAL",
"(",
"shift_amount",
")",
"&",
"31",
";",
"if",
"(",
"sh... | [
"Return",
"true",
"if",
"a",
"shift",
"left",
"consisting",
"of",
"1/2/8/16",
"shift",
"instructions",
"will",
"clobber",
"the",
"T",
"bit",
"."
] | [
"sh",
"31",
"31",
"0"
] | sh | sh_ashlsi_clobbers_t_reg_p | sh | CPU | GCC | 6,950 | 50 | 1 | [] |
[
"<s>",
"void",
"setType",
"(",
"GBSectionType",
"T",
")",
"{",
"Type",
"=",
"T",
";",
"}",
"</s>"
] | [
"Set",
"the",
"low-level",
"type",
"of",
"VReg",
"to",
"Ty",
"."
] | [
"GBZ80",
"GB"
] | GBZ80TargetObjectFile | setType | GBZ80 | MPU | LLVM | 6,951 | 12 | 1 | [] |
[
"<s>",
"static",
"void",
"do_load_for_compare",
"(",
"rtx",
"reg",
",",
"rtx",
"mem",
",",
"machine_mode",
"mode",
")",
"{",
"switch",
"(",
"GET_MODE",
"(",
"reg",
")",
")",
"{",
"case",
"DImode",
":",
"switch",
"(",
"mode",
")",
"{",
"case",
"QImode",... | [
"Figure",
"out",
"the",
"correct",
"instructions",
"to",
"generate",
"to",
"load",
"data",
"for",
"block",
"compare",
".",
"MODE",
"is",
"used",
"for",
"the",
"read",
"from",
"memory",
",",
"and",
"data",
"is",
"zero",
"extended",
"if",
"REG",
"is",
"wid... | [
"rs6000"
] | rs60006 | do_load_for_compare | rs6000 | CPU | GCC | 6,952 | 305 | 1 | [] |
[
"<s>",
"unsigned",
"VideocoreAsmParser",
"::",
"validateTargetOperandClass",
"(",
"MCParsedAsmOperand",
"*",
"AsmOp",
",",
"unsigned",
"Kind",
")",
"{",
"switch",
"(",
"Kind",
")",
"{",
"case",
"MCK_ImmU5",
":",
"case",
"MCK_ImmS6",
":",
"case",
"MCK_ImmS16",
":... | [
"Allow",
"a",
"target",
"to",
"add",
"special",
"case",
"operand",
"matching",
"for",
"things",
"that",
"tblgen",
"doesn't/ca",
"n't",
"handle",
"effectively",
"."
] | [
"Videocore",
"Videocore"
] | VideocoreAsmParser | validateTargetOperandClass | Videocore | DSP | LLVM | 6,953 | 43 | 1 | [] |
[
"<s>",
"virtual",
"unsigned",
"int",
"execute",
"(",
"function",
"*",
")",
"{",
"return",
"move_elim_pass",
"(",
")",
";",
"}",
"</s>"
] | [
"Main",
"entry",
"point",
"for",
"this",
"pass",
"."
] | [
"rl78"
] | rl78 | execute | rl78 | MPU | GCC | 6,954 | 15 | 1 | [] |
[
"<s>",
"unsigned",
"char",
"M68kSubtarget",
"::",
"classifyExternalReference",
"(",
"const",
"Module",
"&",
"M",
")",
"const",
"{",
"if",
"(",
"TM",
".",
"shouldAssumeDSOLocal",
"(",
"M",
",",
"nullptr",
")",
")",
"return",
"classifyLocalReference",
"(",
"null... | [
"Classify",
"a",
"external",
"variable",
"reference",
"for",
"the",
"current",
"subtarget",
"according",
"to",
"how",
"we",
"should",
"reference",
"it",
"in",
"a",
"non-pcrel",
"context",
"."
] | [
"M68k",
"M68k",
"M68kII::MO_GOTPCREL",
"M68kII::MO_GOT"
] | M68kSubtarget | classifyExternalReference | M68k | MPU | LLVM | 6,955 | 47 | 1 | [] |
[
"<s>",
"void",
"getAnalysisUsage",
"(",
"AnalysisUsage",
"&",
"AU",
")",
"const",
"override",
"{",
"AU",
".",
"addRequired",
"<",
"TargetPassConfig",
">",
"(",
")",
";",
"ModulePass",
"::",
"getAnalysisUsage",
"(",
"AU",
")",
";",
"}",
"</s>"
] | [
"getAnalysisUsage",
"-",
"Subclasses",
"that",
"override",
"getAnalysisUsage",
"must",
"call",
"this",
"."
] | [
"Mips"
] | Mips16HardFloat1 | getAnalysisUsage | Mips | CPU | LLVM | 6,956 | 27 | 1 | [] |
[
"<s>",
"static",
"unsigned",
"getRegClass",
"(",
"bool",
"IsVgpr",
",",
"unsigned",
"RegWidth",
")",
"{",
"if",
"(",
"IsVgpr",
")",
"{",
"switch",
"(",
"RegWidth",
")",
"{",
"default",
":",
"llvm_unreachable",
"(",
"\"Unknown register width\"",
")",
";",
"ca... | [
"Given",
"a",
"machine",
"instruction",
"descriptor",
",",
"returns",
"the",
"register",
"class",
"constraint",
"for",
"OpNum",
",",
"or",
"NULL",
"."
] | [
"AMDGPU",
"\"Unknown register width\"",
"1",
"AMDGPU::VGPR_32RegClassID",
"2",
"AMDGPU::VReg_64RegClassID",
"3",
"AMDGPU::VReg_96RegClassID",
"4",
"AMDGPU::VReg_128RegClassID",
"8",
"AMDGPU::VReg_256RegClassID",
"16",
"AMDGPU::VReg_512RegClassID",
"\"Unknown register width\"",
"1",
"... | AMDGPUAsmParser | getRegClass | AMDGPU | GPU | LLVM | 6,957 | 132 | 1 | [] |
[
"<s>",
"void",
"ARMTargetLowering",
"::",
"initializeSplitCSR",
"(",
"MachineBasicBlock",
"*",
"Entry",
")",
"const",
"{",
"ARMFunctionInfo",
"*",
"AFI",
"=",
"Entry",
"->",
"getParent",
"(",
")",
"->",
"getInfo",
"<",
"ARMFunctionInfo",
">",
"(",
")",
";",
... | [
"Perform",
"necessary",
"initialization",
"to",
"handle",
"a",
"subset",
"of",
"CSRs",
"explicitly",
"via",
"copies",
"."
] | [
"ARM",
"ARM",
"ARM",
"ARM"
] | ARMISelLowering (2)5 | initializeSplitCSR | ARM | CPU | LLVM | 6,958 | 36 | 1 | [] |
[
"<s>",
"static",
"void",
"microblaze_function_arg_advance",
"(",
"cumulative_args_t",
"cum_v",
",",
"machine_mode",
"mode",
",",
"const_tree",
"type",
",",
"bool",
"named",
"ATTRIBUTE_UNUSED",
")",
"{",
"CUMULATIVE_ARGS",
"*",
"cum",
"=",
"get_cumulative_args",
"(",
... | [
"Advance",
"the",
"argument",
"to",
"the",
"next",
"argument",
"position",
"."
] | [
"microblaze",
"1",
"1",
"1",
"1",
"2",
"1",
"1",
"2",
"2",
"2",
"2",
"1",
"2",
"1",
"2",
"1"
] | microblaze5 | microblaze_function_arg_advance | microblaze | MPU | GCC | 6,959 | 245 | 1 | [] |
[
"<s>",
"const",
"MCGSCANodeMap",
"&",
"getNodes",
"(",
")",
"const",
"{",
"return",
"Nodes",
";",
"}",
"</s>"
] | [
"Get",
"the",
"list",
"of",
"nodes",
"in",
"this",
"pi-block",
"."
] | [
"Patmos"
] | PatmosStackCacheAnalysis | getNodes | Patmos | VLIW | LLVM | 6,960 | 12 | 1 | [] |
[
"<s>",
"void",
"SparcDAGToDAGISel",
"::",
"Select",
"(",
"SDNode",
"*",
"N",
")",
"{",
"SDLoc",
"dl",
"(",
"N",
")",
";",
"if",
"(",
"N",
"->",
"isMachineOpcode",
"(",
")",
")",
"{",
"N",
"->",
"setNodeId",
"(",
"-",
"1",
")",
";",
"return",
";",... | [
"Main",
"hook",
"for",
"targets",
"to",
"transform",
"nodes",
"into",
"machine",
"nodes",
"."
] | [
"Sparc",
"Sparc",
"1",
"ISD::INLINEASM",
"ISD::INLINEASM_BR",
"SPISD::GLOBAL_BASE_REG",
"ISD::SDIV",
"ISD::UDIV",
"0",
"MVT::i64",
"0",
"1",
"ISD::SDIV",
"SP::SRAri",
"MVT::i32",
"31",
"MVT::i32",
"0",
"SP::G0",
"MVT::i32",
"SP::Y",
"1",
"ISD::SDIV",
"SP::SDIVrr",
"SP... | SparcISelDAGToDAG19 | Select | Sparc | CPU | LLVM | 6,961 | 286 | 1 | [] |
[
"<s>",
"const",
"char",
"*",
"VETargetLowering",
"::",
"getTargetNodeName",
"(",
"unsigned",
"Opcode",
")",
"const",
"{",
"case",
"VEISD",
"::",
"NAME",
":",
"\\",
"return",
"\"VEISD::\"",
"#",
"NAME",
";",
"switch",
"(",
"(",
"VEISD",
"::",
"NodeType",
")... | [
"getTargetNodeName",
"-",
"This",
"method",
"returns",
"the",
"name",
"of",
"a",
"target",
"specific"
] | [
"VE",
"VE",
"VEISD::NAME",
"\"VEISD::\"",
"VEISD::NodeType",
"VEISD::FIRST_NUMBER"
] | VEISelLowering1 | getTargetNodeName | VE | CPU | LLVM | 6,962 | 81 | 1 | [] |
[
"<s>",
"Register",
"X86TargetLowering",
"::",
"getExceptionSelectorRegister",
"(",
"const",
"Constant",
"*",
"PersonalityFn",
")",
"const",
"{",
"assert",
"(",
"!",
"isFuncletEHPersonality",
"(",
"classifyEHPersonality",
"(",
"PersonalityFn",
")",
")",
")",
";",
"re... | [
"If",
"a",
"physical",
"register",
",",
"this",
"returns",
"the",
"register",
"that",
"receives",
"the",
"exception",
"typeid",
"on",
"entry",
"to",
"a",
"landing",
"pad",
"."
] | [
"X86",
"X86",
"X86::RDX",
"X86::EDX"
] | X86ISelLowering101 | getExceptionSelectorRegister | X86 | CPU | LLVM | 6,963 | 40 | 1 | [] |
[
"<s>",
"static",
"section",
"*",
"riscv_elf_select_rtx_section",
"(",
"machine_mode",
"mode",
",",
"rtx",
"x",
",",
"unsigned",
"HOST_WIDE_INT",
"align",
")",
"{",
"section",
"*",
"s",
"=",
"default_elf_select_rtx_section",
"(",
"mode",
",",
"x",
",",
"align",
... | [
"Return",
"a",
"section",
"for",
"X",
",",
"handling",
"small",
"data",
"."
] | [
"riscv",
"\".rodata.cst\"",
"2",
"\".s%s\"",
"1"
] | riscv1 | riscv_elf_select_rtx_section | riscv | CPU | GCC | 6,964 | 126 | 1 | [] |
[
"<s>",
"bool",
"mayNeedRelaxation",
"(",
"const",
"MCInst",
"&",
"Inst",
")",
"const",
"{",
"return",
"false",
";",
"}",
"</s>"
] | [
"Check",
"whether",
"the",
"given",
"instruction",
"may",
"need",
"relaxation",
"."
] | [
"BPF"
] | BPFAsmBackend27 | mayNeedRelaxation | BPF | Virtual ISA | LLVM | 6,965 | 14 | 1 | [] |
[
"<s>",
"bool",
"AArch64TargetLowering",
"::",
"allowsMisalignedMemoryAccesses",
"(",
"LLT",
"Ty",
",",
"unsigned",
"AddrSpace",
",",
"Align",
"Alignment",
",",
"MachineMemOperand",
"::",
"Flags",
"Flags",
",",
"bool",
"*",
"Fast",
")",
"const",
"{",
"if",
"(",
... | [
"Returns",
"true",
"if",
"the",
"target",
"allows",
"unaligned",
"memory",
"accesses",
"of",
"the",
"specified",
"type",
"."
] | [
"AArch64",
"AArch64",
"16",
"2",
"2",
"64"
] | AArch64ISelLowering10 | allowsMisalignedMemoryAccesses | AArch64 | CPU | LLVM | 6,966 | 79 | 1 | [] |
[
"<s>",
"static",
"gimple",
"va_list_skip_additions",
"(",
"tree",
"lhs",
")",
"{",
"gimple",
"stmt",
";",
"for",
"(",
";",
";",
")",
"{",
"enum",
"tree_code",
"code",
";",
"stmt",
"=",
"SSA_NAME_DEF_STMT",
"(",
"lhs",
")",
";",
"if",
"(",
"gimple_code",
... | [
"Helper",
"function",
"for",
"alpha_stdarg_optimize_hook",
".",
"Skip",
"over",
"casts",
"and",
"constant",
"additions",
"."
] | [
"alpha"
] | alpha4 | va_list_skip_additions | alpha | MPU | GCC | 6,967 | 131 | 1 | [] |
[
"<s>",
"bool",
"enableAggressiveInterleaving",
"(",
"bool",
"LoopHasReductions",
")",
"{",
"return",
"false",
";",
"}",
"</s>"
] | [
"Do",
"n't",
"restrict",
"interleaved",
"unrolling",
"to",
"small",
"loops",
"."
] | [
"Hexagon"
] | HexagonTargetTransformInfo1 | enableAggressiveInterleaving | Hexagon | DSP | LLVM | 6,968 | 11 | 1 | [] |
[
"<s>",
"static",
"rtx",
"z8k_function_value",
"(",
"const_tree",
"valtype",
",",
"const_tree",
"fn_decl_or_type",
",",
"bool",
"outgoing",
"ATTRIBUTE_UNUSED",
")",
"{",
"return",
"z8k_libcall_value",
"(",
"TYPE_MODE",
"(",
"valtype",
")",
",",
"NULL",
")",
";",
... | [
"Define",
"how",
"to",
"find",
"the",
"value",
"returned",
"by",
"a",
"function",
".",
"VALTYPE",
"is",
"the",
"data",
"type",
"of",
"the",
"value",
"(",
"as",
"a",
"tree",
")",
".",
"If",
"the",
"precise",
"function",
"being",
"called",
"is",
"known",... | [
"z8k"
] | z8k | z8k_function_value | z8k | MPU | GCC | 6,969 | 27 | 1 | [] |
[
"<s>",
"void",
"relaxInstruction",
"(",
"const",
"MCInst",
"&",
",",
"llvm",
"::",
"MCInst",
"&",
")",
"const",
"override",
"{",
"llvm_unreachable",
"(",
"\"Cannot relax instructions\"",
")",
";",
"}",
"</s>"
] | [
"Relax",
"the",
"instruction",
"in",
"the",
"given",
"fragment",
"to",
"the",
"next",
"wider",
"instruction",
"."
] | [
"AArch64",
"\"Cannot relax instructions\""
] | AArch64AsmBackend37 | relaxInstruction | AArch64 | CPU | LLVM | 6,970 | 21 | 1 | [] |
[
"<s>",
"void",
"nvptx_record_needed_fndecl",
"(",
"tree",
"decl",
")",
"{",
"if",
"(",
"TYPE_ARG_TYPES",
"(",
"TREE_TYPE",
"(",
"decl",
")",
")",
"==",
"NULL_TREE",
")",
"{",
"tree",
"*",
"slot",
"=",
"needed_fndecls_htab",
"->",
"find_slot",
"(",
"decl",
... | [
"Record",
"that",
"we",
"need",
"to",
"emit",
"a",
"ptx",
"decl",
"for",
"DECL",
".",
"Either",
"do",
"it",
"now",
",",
"or",
"record",
"it",
"for",
"later",
"in",
"case",
"we",
"have",
"no",
"argument",
"information",
"at",
"this",
"point",
"."
] | [
"nvptx"
] | nvptx | nvptx_record_needed_fndecl | nvptx | GPU | GCC | 6,971 | 53 | 1 | [] |
[
"<s>",
"bool",
"arm_can_eliminate",
"(",
"const",
"int",
"from",
",",
"const",
"int",
"to",
")",
"{",
"return",
"(",
"(",
"to",
"==",
"FRAME_POINTER_REGNUM",
"&&",
"from",
"==",
"ARG_POINTER_REGNUM",
")",
"?",
"false",
":",
"(",
"to",
"==",
"STACK_POINTER_... | [
"Given",
"FROM",
"and",
"TO",
"register",
"numbers",
",",
"say",
"whether",
"this",
"elimination",
"is",
"allowed",
".",
"Frame",
"pointer",
"elimination",
"is",
"automatically",
"handled",
".",
"All",
"eliminations",
"are",
"permissible",
".",
"Note",
"that",
... | [
"arm"
] | arm | arm_can_eliminate | arm | CPU | GCC | 6,972 | 60 | 1 | [] |
[
"<s>",
"static",
"unsigned",
"getIntrinsicID",
"(",
"const",
"SDNode",
"*",
"N",
")",
"{",
"unsigned",
"Opcode",
"=",
"N",
"->",
"getOpcode",
"(",
")",
";",
"switch",
"(",
"Opcode",
")",
"{",
"default",
":",
"return",
"Intrinsic",
"::",
"not_intrinsic",
... | [
"Return",
"the",
"target",
"intrinsic",
"ID",
"of",
"a",
"function",
",",
"or",
"0",
"."
] | [
"ARM64",
"Intrinsic::not_intrinsic",
"ISD::INTRINSIC_WO_CHAIN",
"0",
"Intrinsic::num_intrinsics",
"Intrinsic::not_intrinsic"
] | ARM64ISelLowering | getIntrinsicID | ARM64 | CPU | LLVM | 6,973 | 76 | 1 | [] |
[
"<s>",
"const",
"LoongArchRegisterInfo",
"*",
"getRegisterInfo",
"(",
")",
"const",
"override",
"{",
"return",
"&",
"RegInfo",
";",
"}",
"</s>"
] | [
"getRegisterInfo",
"-",
"TargetInstrInfo",
"is",
"a",
"superset",
"of",
"MRegister",
"info",
"."
] | [
"LoongArch",
"LoongArch"
] | LoongArchSubtarget | getRegisterInfo | LoongArch | CPU | LLVM | 6,974 | 14 | 1 | [] |
[
"<s>",
"int",
"riscv_address_insns",
"(",
"rtx",
"x",
",",
"machine_mode",
"mode",
",",
"bool",
"might_split_p",
")",
"{",
"struct",
"riscv_address_info",
"addr",
"=",
"{",
"}",
";",
"int",
"n",
"=",
"1",
";",
"if",
"(",
"!",
"riscv_classify_address",
"(",... | [
"Return",
"the",
"number",
"of",
"instructions",
"needed",
"to",
"load",
"or",
"store",
"a",
"value",
"of",
"mode",
"MODE",
"at",
"address",
"X",
".",
"Return",
"0",
"if",
"X",
"is",
"n't",
"valid",
"for",
"MODE",
".",
"Assume",
"that",
"multiword",
"m... | [
"riscv",
"1",
"3",
"1",
"1"
] | riscv | riscv_address_insns | riscv | CPU | GCC | 6,975 | 91 | 1 | [] |
[
"<s>",
"void",
"KudeyarFrameLowering",
"::",
"processFunctionBeforeFrameFinalized",
"(",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"const",
"TargetFrameLowering",
"*",
"TFI",
"=",
"MF",
".",
"getTarget",
"(",
")",
".",
"getFrameLowering",
"(",
")",
";",
"... | [
"processFunctionBeforeFrameFinalized",
"-",
"This",
"method",
"is",
"called",
"immediately",
"before",
"the",
"specified",
"function",
"'s",
"frame",
"layout",
"(",
"MF.getFrameInfo",
"(",
")",
")",
"is",
"finalized",
"."
] | [
"Kudeyar",
"Kudeyar",
"4",
"4",
"\"Slot for FP register must be last in order to be found!\""
] | KudeyarFrameLowering | processFunctionBeforeFrameFinalized | Kudeyar | CPU | LLVM | 6,976 | 79 | 1 | [] |
[
"<s>",
"void",
"insert",
"(",
"const",
"GepNode",
"*",
"N",
")",
"{",
"Map",
".",
"insert",
"(",
"std",
"::",
"make_pair",
"(",
"N",
",",
"++",
"LastNum",
")",
")",
";",
"}",
"</s>"
] | [
"insert",
"-",
"Append",
"entry",
"to",
"the",
"vector",
"if",
"it",
"does",
"n't",
"already",
"exist",
"."
] | [
"Hexagon"
] | HexagonCommonGEP | insert | Hexagon | DSP | LLVM | 6,977 | 25 | 1 | [] |
[
"<s>",
"const",
"TargetRegisterClass",
"*",
"TLCS900RegisterInfo",
"::",
"getPointerRegClass",
"(",
"unsigned",
"Kind",
")",
"const",
"{",
"return",
"&",
"TLCS900",
"::",
"GR16RegClass",
";",
"}",
"</s>"
] | [
"getPointerRegClass",
"-",
"Returns",
"a",
"TargetRegisterClass",
"used",
"for",
"pointer",
"values",
"."
] | [
"TLCS900",
"TLCS900",
"TLCS900::GR16RegClass"
] | TLCS900RegisterInfo | getPointerRegClass | TLCS900 | MPU | LLVM | 6,978 | 19 | 1 | [] |
[
"<s>",
"const",
"char",
"*",
"getPassName",
"(",
")",
"const",
"override",
"{",
"return",
"AARCH64_LOAD_STORE_OPT_NAME",
";",
"}",
"</s>"
] | [
"getPassName",
"-",
"Return",
"a",
"nice",
"clean",
"name",
"for",
"a",
"pass",
"."
] | [
"AArch64"
] | AArch64LoadStoreOptimizer (2) | getPassName | AArch64 | CPU | LLVM | 6,979 | 13 | 1 | [] |
[
"<s>",
"bool",
"M680x0AsmPrinter",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"{",
"MMFI",
"=",
"MF",
".",
"getInfo",
"<",
"M680x0MachineFunctionInfo",
">",
"(",
")",
";",
"MCInstLowering",
"=",
"make_unique",
"<",
"M680x0MCInstLower",
... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"M680x0",
"M680x0",
"M680x0",
"M680x0"
] | M680x0AsmPrinter | runOnMachineFunction | M680x0 | MPU | LLVM | 6,980 | 45 | 1 | [] |
[
"<s>",
"bool",
"ARMTargetLowering",
"::",
"allowTruncateForTailCall",
"(",
"Type",
"*",
"Ty1",
",",
"Type",
"*",
"Ty2",
")",
"const",
"{",
"if",
"(",
"!",
"Ty1",
"->",
"isIntegerTy",
"(",
")",
"||",
"!",
"Ty2",
"->",
"isIntegerTy",
"(",
")",
")",
"retu... | [
"Return",
"true",
"if",
"a",
"truncation",
"from",
"FromTy",
"to",
"ToTy",
"is",
"permitted",
"when",
"deciding",
"whether",
"a",
"call",
"is",
"in",
"tail",
"position",
"."
] | [
"ARM",
"ARM",
"64",
"\"i128 is probably not a noop\""
] | ARMISelLowering (2) | allowTruncateForTailCall | ARM | CPU | LLVM | 6,981 | 67 | 1 | [] |
[
"<s>",
"const",
"char",
"*",
"getPassName",
"(",
")",
"const",
"override",
"{",
"return",
"\"Hexagon Expand Predicate Spill Code\"",
";",
"}",
"</s>"
] | [
"getPassName",
"-",
"Return",
"a",
"nice",
"clean",
"name",
"for",
"a",
"pass",
"."
] | [
"Hexagon",
"\"Hexagon Expand Predicate Spill Code\""
] | HexagonExpandPredSpillCode | getPassName | Hexagon | DSP | LLVM | 6,982 | 13 | 1 | [] |
[
"<s>",
"static",
"void",
"mips_epilogue_set_cfa",
"(",
"rtx",
"reg",
",",
"HOST_WIDE_INT",
"offset",
")",
"{",
"rtx_insn",
"*",
"insn",
";",
"insn",
"=",
"mips_epilogue_emit_cfa_restores",
"(",
")",
";",
"if",
"(",
"reg",
"!=",
"mips_epilogue",
".",
"cfa_reg",... | [
"Like",
"mips_epilogue_emit_cfa_restores",
",",
"but",
"also",
"record",
"that",
"the",
"CFA",
"is",
"now",
"at",
"REG",
"+",
"OFFSET",
"."
] | [
"mips",
"1"
] | mips | mips_epilogue_set_cfa | mips | CPU | GCC | 6,983 | 81 | 1 | [] |
[
"<s>",
"bool",
"arm_validize_comparison",
"(",
"rtx",
"*",
"comparison",
",",
"rtx",
"*",
"op1",
",",
"rtx",
"*",
"op2",
")",
"{",
"enum",
"rtx_code",
"code",
"=",
"GET_CODE",
"(",
"*",
"comparison",
")",
";",
"int",
"code_int",
";",
"machine_mode",
"mod... | [
"Returns",
"true",
"if",
"a",
"valid",
"comparison",
"operation",
"and",
"makes",
"the",
"operands",
"in",
"a",
"form",
"that",
"is",
"valid",
"."
] | [
"arm",
"0",
"1",
"1"
] | arm | arm_validize_comparison | arm | CPU | GCC | 6,984 | 280 | 1 | [] |
[
"<s>",
"bool",
"processBlock",
"(",
"MachineBasicBlock",
"&",
"MBB",
")",
"{",
"bool",
"Changed",
"=",
"false",
";",
"bool",
"Is64Bit",
"=",
"MBB",
".",
"getParent",
"(",
")",
"->",
"getSubtarget",
"<",
"PPCSubtarget",
">",
"(",
")",
".",
"isPPC64",
"(",... | [
"processBlock",
"-",
"If",
"there",
"are",
"any",
"predecessors",
"whose",
"control",
"can",
"be",
"threaded",
"through",
"to",
"a",
"successor",
",",
"transform",
"them",
"now",
"."
] | [
"PowerPC",
"PPC",
"PPC",
"PPC::ADDItlsgdLADDR",
"PPC::ADDItlsldLADDR",
"PPC::ADDItlsgdLADDR32",
"PPC::ADDItlsldLADDR32",
"\"TLS Dynamic Call Fixup:\\n \"",
"0",
"1",
"PPC::X3",
"PPC::R3",
"4",
"\"Opcode inconsistency error\"",
"PPC::ADDItlsgdLADDR",
"PPC::ADDItlsgdL",
"PPC::GETtls... | PPCTLSDynamicCall | processBlock | PowerPC | CPU | LLVM | 6,985 | 462 | 1 | [] |
[
"<s>",
"bool",
"MipsCallLowering",
"::",
"lowerFormalArguments",
"(",
"MachineIRBuilder",
"&",
"MIRBuilder",
",",
"const",
"Function",
"&",
"F",
",",
"ArrayRef",
"<",
"unsigned",
">",
"VRegs",
")",
"const",
"{",
"if",
"(",
"F",
".",
"arg_empty",
"(",
")",
... | [
"This",
"hook",
"must",
"be",
"implemented",
"to",
"lower",
"the",
"incoming",
"(",
"formal",
")",
"arguments",
",",
"described",
"by",
"VRegs",
",",
"for",
"GlobalISel",
"."
] | [
"Mips",
"Mips",
"Mips",
"Mips",
"8",
"8",
"0",
"ISD::InputArg",
"8",
"ISD::ArgFlagsTy",
"16",
"Mips"
] | MipsCallLowering13 | lowerFormalArguments | Mips | CPU | LLVM | 6,986 | 329 | 1 | [] |
[
"<s>",
"void",
"rs6000_split_logical",
"(",
"rtx",
"operands",
"[",
"3",
"]",
",",
"enum",
"rtx_code",
"code",
",",
"bool",
"complement_final_p",
",",
"bool",
"complement_op1_p",
",",
"bool",
"complement_op2_p",
")",
"{",
"machine_mode",
"mode",
"=",
"GET_MODE",... | [
"Split",
"the",
"insns",
"that",
"make",
"up",
"boolean",
"operations",
"operating",
"on",
"multiple",
"GPR",
"registers",
".",
"The",
"boolean",
"MD",
"patterns",
"ensure",
"that",
"the",
"inputs",
"either",
"are",
"exactly",
"the",
"same",
"as",
"the",
"ou... | [
"powerpcspe",
"3",
"0",
"0",
"1",
"2",
"1",
"0"
] | powerpcspe | rs6000_split_logical | powerpcspe | CPU | GCC | 6,987 | 310 | 1 | [] |
[
"<s>",
"static",
"void",
"rs6000_secondary_reload_trace",
"(",
"int",
"line",
",",
"rtx",
"reg",
",",
"rtx",
"mem",
",",
"rtx",
"scratch",
",",
"bool",
"store_p",
")",
"{",
"rtx",
"set",
",",
"clobber",
";",
"gcc_assert",
"(",
"reg",
"!=",
"NULL_RTX",
"&... | [
"Better",
"tracing",
"for",
"rs6000_secondary_reload_inner",
"."
] | [
"powerpcspe",
"\"rs6000_secondary_reload_inner:%d, type = %s\\n\"",
"\"store\"",
"\"load\"",
"2"
] | powerpcspe | rs6000_secondary_reload_trace | powerpcspe | CPU | GCC | 6,988 | 105 | 1 | [] |
[
"<s>",
"StringRef",
"getPassName",
"(",
")",
"const",
"override",
"{",
"return",
"\"AArch64 Compress Jump Tables\"",
";",
"}",
"</s>"
] | [
"getPassName",
"-",
"Return",
"a",
"nice",
"clean",
"name",
"for",
"a",
"pass",
"."
] | [
"AArch64",
"\"AArch64 Compress Jump Tables\""
] | AArch64CompressJumpTables | getPassName | AArch64 | CPU | LLVM | 6,989 | 11 | 1 | [] |
[
"<s>",
"bool",
"WebAssemblyPrepareForLiveIntervals",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"{",
"LLVM_DEBUG",
"(",
"{",
"dbgs",
"(",
")",
"<<",
"\"********** Prepare For LiveIntervals **********\\n\"",
"<<",
"\"********** Function: \"",
"<<",... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"WebAssembly",
"WebAssembly",
"\"********** Prepare For LiveIntervals **********\\n\"",
"\"********** Function: \"",
"WebAssembly",
"\"LiveIntervals shouldn't be active yet!\"",
"0",
"WebAssembly::IMPLICIT_DEF",
"WebAssembly::isArgument"
] | WebAssemblyPrepareForLiveIntervals15 | runOnMachineFunction | WebAssembly | Virtual ISA | LLVM | 6,990 | 264 | 1 | [] |
[
"<s>",
"const",
"CallLowering",
"*",
"RISCVSubtarget",
"::",
"getCallLowering",
"(",
")",
"const",
"{",
"return",
"CallLoweringInfo",
".",
"get",
"(",
")",
";",
"}",
"</s>"
] | [
"Methods",
"used",
"by",
"Global",
"ISel",
"."
] | [
"RI5CY",
"RISCV"
] | RISCVSubtarget | getCallLowering | RI5CY | CPU | LLVM | 6,991 | 18 | 1 | [] |
[
"<s>",
"bool",
"Warning",
"(",
"SMLoc",
"L",
",",
"const",
"Twine",
"&",
"Msg",
",",
"ArrayRef",
"<",
"SMRange",
">",
"Ranges",
"=",
"ArrayRef",
"<",
"SMRange",
">",
"(",
")",
")",
"{",
"return",
"Parser",
".",
"Warning",
"(",
"L",
",",
"Msg",
",",... | [
"Emit",
"a",
"warning",
"at",
"the",
"location",
"L",
",",
"with",
"the",
"message",
"Msg",
"."
] | [
"ARM"
] | ARMAsmParser | Warning | ARM | CPU | LLVM | 6,992 | 38 | 1 | [] |
[
"<s>",
"bool",
"isNoopAddrSpaceCast",
"(",
"unsigned",
"SrcAS",
",",
"unsigned",
"DestAS",
")",
"const",
"override",
"{",
"return",
"true",
";",
"}",
"</s>"
] | [
"Returns",
"true",
"if",
"a",
"cast",
"between",
"SrcAS",
"and",
"DestAS",
"is",
"a",
"noop",
"."
] | [
"ARM"
] | ARMISelLowering (2)1 | isNoopAddrSpaceCast | ARM | CPU | LLVM | 6,993 | 16 | 1 | [] |
[
"<s>",
"unsigned",
"SITargetLowering",
"::",
"getNumRegistersForCallingConv",
"(",
"LLVMContext",
"&",
"Context",
",",
"CallingConv",
"::",
"ID",
"CC",
",",
"EVT",
"VT",
")",
"const",
"{",
"if",
"(",
"CC",
"!=",
"CallingConv",
"::",
"AMDGPU_KERNEL",
"&&",
"VT"... | [
"Certain",
"targets",
"require",
"unusual",
"breakdowns",
"of",
"certain",
"types",
"."
] | [
"AMDGPU",
"SI",
"AMDGPU",
"32",
"64",
"2",
"16",
"1",
"2"
] | SIISelLowering (2)3 | getNumRegistersForCallingConv | AMDGPU | GPU | LLVM | 6,994 | 120 | 1 | [] |
[
"<s>",
"void",
"print",
"(",
"raw_ostream",
"&",
"OS",
")",
"const",
"override",
"{",
"auto",
"PrintImmValue",
"=",
"[",
"&",
"]",
"(",
"const",
"MCExpr",
"*",
"Val",
",",
"const",
"char",
"*",
"VName",
")",
"{",
"if",
"(",
"Val",
"->",
"getKind",
... | [
"print",
"-",
"Print",
"a",
"debug",
"representation",
"of",
"the",
"operand",
"to",
"the",
"given",
"stream",
"."
] | [
"X86",
"\"Reg:\"",
"X86",
"\"DXReg\"",
"\"Imm:\"",
"\"Prefix:\"",
"\"Memory: ModeSize=\"",
"\",Size=\"",
"\",BaseReg=\"",
"X86",
"\",IndexReg=\"",
"X86",
"\",Scale=\"",
"\",Disp=\"",
"\",SegReg=\"",
"X86"
] | X86Operand14 | print | X86 | CPU | LLVM | 6,995 | 317 | 1 | [] |
[
"<s>",
"unsigned",
"P2MCCodeEmitter",
"::",
"getJumpTargetOpValue",
"(",
"const",
"MCInst",
"&",
"MI",
",",
"unsigned",
"OpNo",
",",
"SmallVectorImpl",
"<",
"MCFixup",
">",
"&",
"Fixups",
",",
"const",
"MCSubtargetInfo",
"&",
"STI",
")",
"const",
"{",
"const",... | [
"getJumpTargetOpValue",
"-",
"Return",
"binary",
"encoding",
"of",
"the",
"jump",
"target",
"operand",
"."
] | [
"P2",
"P2",
"\"getJumpTargetOpValue expects only expressions\"",
"\"--- creating fixup for jump operand\\n\"",
"0",
"P2::fixup_P2_PC20",
"0"
] | P2MCCodeEmitter | getJumpTargetOpValue | P2 | MPU | LLVM | 6,996 | 110 | 1 | [] |
[
"<s>",
"void",
"TOYDAGToDAGISel",
"::",
"Select",
"(",
"SDNode",
"*",
"Node",
")",
"{",
"DEBUG",
"(",
"dbgs",
"(",
")",
"<<",
"\"Selecting: \"",
";",
"Node",
"->",
"dump",
"(",
"CurDAG",
")",
";",
"dbgs",
"(",
")",
"<<",
"\"\\n\"",
")",
";",
"if",
... | [
"Main",
"hook",
"for",
"targets",
"to",
"transform",
"nodes",
"into",
"machine",
"nodes",
"."
] | [
"TOY",
"TOY",
"\"Selecting: \"",
"\"\\n\"",
"\"== custom Opcode \"",
"\"\\n\""
] | TOYISelDAGToDAG1 | Select | TOY | CPU | LLVM | 6,997 | 72 | 1 | [] |
[
"<s>",
"bool",
"requiresFrameIndexScavenging",
"(",
"const",
"MachineFunction",
"&",
"MF",
")",
"const",
"override",
"{",
"return",
"true",
";",
"}",
"</s>"
] | [
"Returns",
"true",
"if",
"the",
"target",
"requires",
"post",
"PEI",
"scavenging",
"of",
"registers",
"for",
"materializing",
"frame",
"index",
"constants",
"."
] | [
"RISCV"
] | RISCVRegisterInfo (2) | requiresFrameIndexScavenging | RISCV | CPU | LLVM | 6,998 | 15 | 1 | [] |
[
"<s>",
"std",
"::",
"unique_ptr",
"<",
"CSEConfigBase",
">",
"AArch64PassConfig",
"::",
"getCSEConfig",
"(",
")",
"const",
"{",
"return",
"getStandardCSEConfigForOpt",
"(",
"TM",
"->",
"getOptLevel",
"(",
")",
")",
";",
"}",
"</s>"
] | [
"Returns",
"the",
"CSEConfig",
"object",
"to",
"use",
"for",
"the",
"current",
"optimization",
"level",
"."
] | [
"AArch64",
"AArch64"
] | AArch64TargetMachine1 | getCSEConfig | AArch64 | CPU | LLVM | 6,999 | 24 | 1 | [] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.