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",
"arm_modes_tieable_p",
"(",
"machine_mode",
"mode1",
",",
"machine_mode",
"mode2",
")",
"{",
"if",
"(",
"GET_MODE_CLASS",
"(",
"mode1",
")",
"==",
"GET_MODE_CLASS",
"(",
"mode2",
")",
")",
"return",
"true",
";",
"if",
"(",
"(",
"TA... | [
"Implement",
"MODES_TIEABLE_P",
"."
] | [
"arm"
] | arm | arm_modes_tieable_p | arm | CPU | GCC | 20,800 | 101 | 1 | [] |
[
"<s>",
"rtx",
"get_unaligned_address",
"(",
"rtx",
"ref",
")",
"{",
"rtx",
"base",
";",
"HOST_WIDE_INT",
"offset",
"=",
"0",
";",
"gcc_assert",
"(",
"MEM_P",
"(",
"ref",
")",
")",
";",
"if",
"(",
"reload_in_progress",
")",
"{",
"base",
"=",
"find_replace... | [
"Similar",
",",
"but",
"just",
"get",
"the",
"address",
".",
"Handle",
"the",
"two",
"reload",
"cases",
".",
"Add",
"EXTRA_OFFSET",
"to",
"the",
"address",
"we",
"return",
"."
] | [
"alpha",
"0",
"0",
"0",
"1",
"0"
] | alpha | get_unaligned_address | alpha | MPU | GCC | 20,801 | 106 | 1 | [] |
[
"<s>",
"bool",
"SIInstrInfo",
"::",
"mayReadEXEC",
"(",
"const",
"MachineRegisterInfo",
"&",
"MRI",
",",
"const",
"MachineInstr",
"&",
"MI",
")",
"const",
"{",
"if",
"(",
"MI",
".",
"isMetaInstruction",
"(",
")",
")",
"return",
"false",
";",
"if",
"(",
"... | [
"Returns",
"true",
"if",
"the",
"instruction",
"could",
"potentially",
"depend",
"on",
"the",
"value",
"of",
"exec",
"."
] | [
"AMDGPU",
"SI",
"0",
"AMDGPU::EXEC",
"AMDGPU::EXEC"
] | SIInstrInfo11 | mayReadEXEC | AMDGPU | GPU | LLVM | 20,802 | 121 | 1 | [] |
[
"<s>",
"bool",
"TVMFrameLowering",
"::",
"hasFP",
"(",
"const",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"return",
"false",
";",
"}",
"</s>"
] | [
"hasFP",
"-",
"Return",
"true",
"if",
"the",
"specified",
"function",
"should",
"have",
"a",
"dedicated",
"frame",
"pointer",
"register",
"."
] | [
"TVM",
"TVM"
] | TVMFrameLowering | hasFP | TVM | Virtual ISA | LLVM | 20,803 | 16 | 1 | [] |
[
"<s>",
"static",
"int",
"bpf_core_is_maybe_aggregate_access",
"(",
"tree",
"expr",
")",
"{",
"enum",
"tree_code",
"code",
"=",
"TREE_CODE",
"(",
"expr",
")",
";",
"if",
"(",
"code",
"==",
"COMPONENT_REF",
"||",
"code",
"==",
"ARRAY_REF",
")",
"return",
"1",
... | [
"Return",
"whether",
"EXPR",
"could",
"access",
"some",
"aggregate",
"data",
"structure",
"that",
"BPF",
"CO-RE",
"support",
"needs",
"to",
"know",
"about",
"."
] | [
"bpf",
"1",
"0",
"0"
] | bpf | bpf_core_is_maybe_aggregate_access | bpf | Virtual ISA | GCC | 20,804 | 51 | 1 | [] |
[
"<s>",
"bool",
"SIRegisterInfo",
"::",
"trackLivenessAfterRegAlloc",
"(",
"const",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"return",
"true",
";",
"}",
"</s>"
] | [
"Returns",
"true",
"if",
"the",
"live-ins",
"should",
"be",
"tracked",
"after",
"register",
"allocation",
"."
] | [
"AMDGPU",
"SI"
] | SIRegisterInfo10 | trackLivenessAfterRegAlloc | AMDGPU | GPU | LLVM | 20,805 | 16 | 1 | [] |
[
"<s>",
"bool",
"Mips16FrameLowering",
"::",
"hasReservedCallFrame",
"(",
"const",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"return",
"true",
";",
"}",
"</s>"
] | [
"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... | [
"Mips",
"Mips"
] | Mips16FrameLowering26 | hasReservedCallFrame | Mips | CPU | LLVM | 20,806 | 16 | 1 | [] |
[
"<s>",
"static",
"NodeType",
"*",
"getEntryNode",
"(",
"const",
"agraph",
"&",
"G",
")",
"{",
"return",
"G",
".",
"Blocks",
".",
"front",
"(",
")",
";",
"}",
"</s>"
] | [
"Return",
"the",
"token",
"chain",
"corresponding",
"to",
"the",
"entry",
"of",
"the",
"function",
"."
] | [
"Patmos"
] | PatmosFunctionSplitter | getEntryNode | Patmos | VLIW | LLVM | 20,807 | 21 | 1 | [] |
[
"<s>",
"static",
"int",
"avr_hregs_split_reg",
"(",
"HARD_REG_SET",
"*",
"set",
")",
"{",
"for",
"(",
"int",
"regno",
"=",
"0",
";",
"regno",
"<",
"32",
";",
"regno",
"++",
")",
"if",
"(",
"TEST_HARD_REG_BIT",
"(",
"*",
"set",
",",
"regno",
")",
")",... | [
"Unset",
"a",
"bit",
"in",
"*",
"SET",
".",
"If",
"successful",
",",
"return",
"the",
"respective",
"bit",
"number",
".",
"Otherwise",
",",
"return",
"-1",
"and",
"*",
"SET",
"is",
"unaltered",
"."
] | [
"avr",
"0",
"32",
"1",
"1",
"1",
"1",
"1",
"1",
"1"
] | avr | avr_hregs_split_reg | avr | MPU | GCC | 20,808 | 162 | 1 | [] |
[
"<s>",
"static",
"recpe_type",
"get_recpe_type",
"(",
"machine_mode",
"mode",
")",
"{",
"switch",
"(",
"mode",
")",
"{",
"case",
"E_SFmode",
":",
"return",
"(",
"gen_aarch64_frecpesf",
")",
";",
"case",
"E_V2SFmode",
":",
"return",
"(",
"gen_aarch64_frecpev2sf",... | [
"Select",
"reciprocal",
"initial",
"estimate",
"insn",
"depending",
"on",
"machine",
"mode",
"."
] | [
"aarch64"
] | aarch645 | get_recpe_type | aarch64 | CPU | GCC | 20,809 | 61 | 1 | [] |
[
"<s>",
"virtual",
"bool",
"addPassesToEmitMC",
"(",
"PassManagerBase",
"&",
",",
"MCContext",
"*",
"&",
",",
"raw_ostream",
"&",
",",
"CodeGenOpt",
"::",
"Level",
",",
"bool",
"=",
"true",
")",
"{",
"return",
"true",
";",
"}",
"</s>"
] | [
"Add",
"passes",
"to",
"the",
"specified",
"pass",
"manager",
"to",
"get",
"machine",
"code",
"emitted",
"with",
"the",
"MCJIT",
"."
] | [
"PTX"
] | PTXTargetMachine | addPassesToEmitMC | PTX | GPU | LLVM | 20,810 | 27 | 1 | [] |
[
"<s>",
"void",
"bpf_expand_prologue",
"(",
"void",
")",
"{",
"HOST_WIDE_INT",
"size",
";",
"size",
"=",
"(",
"cfun",
"->",
"machine",
"->",
"local_vars_size",
"+",
"cfun",
"->",
"machine",
"->",
"callee_saved_reg_size",
")",
";",
"if",
"(",
"TARGET_XBPF",
")... | [
"Expand",
"to",
"the",
"instructions",
"in",
"a",
"function",
"prologue",
".",
"This",
"function",
"is",
"called",
"when",
"expanding",
"the",
"'prologue",
"'",
"pattern",
"in",
"bpf.md",
"."
] | [
"bpf",
"0",
"1",
"0x7fff",
"0x7fff",
"8",
"8",
"0"
] | bpf1 | bpf_expand_prologue | bpf | Virtual ISA | GCC | 20,811 | 188 | 1 | [] |
[
"<s>",
"unsigned",
"PIC16RegisterInfo",
"::",
"eliminateFrameIndex",
"(",
"MachineBasicBlock",
"::",
"iterator",
"II",
",",
"int",
"SPAdj",
",",
"FrameIndexValue",
"*",
"Value",
",",
"RegScavenger",
"*",
"RS",
")",
"const",
"{",
"return",
"0",
";",
"}",
"</s>"... | [
"This",
"method",
"must",
"be",
"overriden",
"to",
"eliminate",
"abstract",
"frame",
"indices",
"from",
"instructions",
"which",
"may",
"use",
"them",
"."
] | [
"PIC16",
"PIC16",
"0"
] | PIC16RegisterInfo4 | eliminateFrameIndex | PIC16 | MPU | LLVM | 20,812 | 27 | 1 | [] |
[
"<s>",
"bool",
"mips_const_vector_same_bytes_p",
"(",
"rtx",
"op",
",",
"machine_mode",
"mode",
")",
"{",
"int",
"i",
",",
"bytes",
";",
"HOST_WIDE_INT",
"val",
",",
"first_byte",
";",
"rtx",
"first",
";",
"if",
"(",
"!",
"mips_const_vector_same_val_p",
"(",
... | [
"Return",
"true",
"if",
"OP",
"is",
"a",
"constant",
"vector",
"with",
"the",
"number",
"of",
"units",
"in",
"MODE",
",",
"and",
"each",
"unit",
"has",
"the",
"same",
"value",
"as",
"well",
"as",
"replicated",
"bytes",
"in",
"the",
"value",
"."
] | [
"mips",
"0",
"0xff",
"1",
"8",
"0xff"
] | mips | mips_const_vector_same_bytes_p | mips | CPU | GCC | 20,813 | 101 | 1 | [] |
[
"<s>",
"unsigned",
"AAPMCCodeEmitter",
"::",
"getMachineOpValue",
"(",
"MCInst",
"const",
"&",
"MI",
",",
"MCOperand",
"const",
"&",
"MO",
",",
"SmallVectorImpl",
"<",
"MCFixup",
">",
"&",
"Fixups",
",",
"MCSubtargetInfo",
"const",
"&",
"STI",
")",
"const",
... | [
"getMachineOpValue",
"-",
"Return",
"binary",
"encoding",
"of",
"operand",
"."
] | [
"AAP",
"AAP",
"\"Currently only symbol operands are supported\"",
"AAP::Fixups",
"AAP::Fixups",
"0",
"AAP::BAL",
"AAP::fixup_AAP_BAL32",
"AAP::BAL_short",
"\"Unhandled MCInst for getMachineOpValue\"",
"AAP::fixup_AAP_BAL16",
"0",
"0"
] | AAPMCCodeEmitter | getMachineOpValue | AAP | MPU | LLVM | 20,814 | 218 | 1 | [] |
[
"<s>",
"static",
"void",
"ix86_emit_save_regs_using_mov",
"(",
"HOST_WIDE_INT",
"cfa_offset",
")",
"{",
"unsigned",
"int",
"regno",
";",
"for",
"(",
"regno",
"=",
"0",
";",
"regno",
"<",
"FIRST_PSEUDO_REGISTER",
";",
"regno",
"++",
")",
"if",
"(",
"GENERAL_REG... | [
"Emit",
"code",
"to",
"save",
"registers",
"using",
"MOV",
"insns",
".",
"First",
"register",
"is",
"restored",
"from",
"POINTER",
"+",
"OFFSET",
"."
] | [
"i386",
"0"
] | i3865 | ix86_emit_save_regs_using_mov | i386 | CPU | GCC | 20,815 | 55 | 1 | [] |
[
"<s>",
"const",
"char",
"*",
"AMDGPUTargetLowering",
"::",
"getTargetNodeName",
"(",
"unsigned",
"Opcode",
")",
"const",
"{",
"switch",
"(",
"Opcode",
")",
"{",
"default",
":",
"return",
"0",
";",
"NODE_NAME_CASE",
"(",
"CALL",
")",
";",
"NODE_NAME_CASE",
"(... | [
"getTargetNodeName",
"-",
"This",
"method",
"returns",
"the",
"name",
"of",
"a",
"target",
"specific"
] | [
"R600",
"0"
] | AMDGPUISelLowering108 | getTargetNodeName | R600 | GPU | LLVM | 20,816 | 133 | 1 | [] |
[
"<s>",
"static",
"bool",
"pdp11_handle_option",
"(",
"size_t",
"code",
",",
"const",
"char",
"*",
"arg",
"ATTRIBUTE_UNUSED",
",",
"int",
"value",
"ATTRIBUTE_UNUSED",
")",
"{",
"switch",
"(",
"code",
")",
"{",
"case",
"OPT_m10",
":",
"target_flags",
"&=",
"~"... | [
"Implement",
"TARGET_HANDLE_OPTION",
"."
] | [
"pdp11"
] | pdp113 | pdp11_handle_option | pdp11 | MPU | GCC | 20,817 | 45 | 1 | [] |
[
"<s>",
"static",
"bool",
"arm_output_ttype",
"(",
"rtx",
"x",
")",
"{",
"fputs",
"(",
"\"\\t.word\\t\"",
",",
"asm_out_file",
")",
";",
"output_addr_const",
"(",
"asm_out_file",
",",
"x",
")",
";",
"if",
"(",
"GET_CODE",
"(",
"x",
")",
"!=",
"CONST_INT",
... | [
"Output",
"a",
"reference",
"from",
"a",
"function",
"exception",
"table",
"to",
"the",
"type_info",
"object",
"X",
".",
"The",
"EABI",
"specifies",
"that",
"the",
"symbol",
"should",
"be",
"relocated",
"by",
"an",
"R_ARM_TARGET2",
"relocation",
"."
] | [
"arm",
"\"\\t.word\\t\"",
"\"(TARGET2)\""
] | arm3 | arm_output_ttype | arm | CPU | GCC | 20,818 | 49 | 1 | [] |
[
"<s>",
"bool",
"writeNopData",
"(",
"raw_ostream",
"&",
"OS",
",",
"uint64_t",
"Count",
")",
"const",
"override",
"{",
"uint64_t",
"NumNops",
"=",
"Count",
"/",
"4",
";",
"for",
"(",
"uint64_t",
"i",
"=",
"0",
";",
"i",
"!=",
"NumNops",
";",
"++",
"i... | [
"Write",
"an",
"(",
"optimal",
")",
"nop",
"sequence",
"of",
"Count",
"bytes",
"to",
"the",
"given",
"output",
"."
] | [
"PowerPC",
"4",
"0",
"support::endian",
"0x60000000",
"4"
] | PPCAsmBackend (2)1 | writeNopData | PowerPC | CPU | LLVM | 20,819 | 63 | 1 | [] |
[
"<s>",
"SDValue",
"VideoCore4TargetLowering",
"::",
"LowerCall",
"(",
"TargetLowering",
"::",
"CallLoweringInfo",
"&",
"CLI",
",",
"SmallVectorImpl",
"<",
"SDValue",
">",
"&",
"InVals",
")",
"const",
"{",
"SelectionDAG",
"&",
"DAG",
"=",
"CLI",
".",
"DAG",
";"... | [
"This",
"hook",
"must",
"be",
"implemented",
"to",
"lower",
"calls",
"into",
"the",
"specified",
"DAG",
"."
] | [
"VideoCore4",
"VideoCore4",
"ISD::OutputArg",
"ISD::InputArg",
"\"Unsupported calling convention\""
] | VideoCore4ISelLowering | LowerCall | VideoCore4 | DSP | LLVM | 20,820 | 165 | 1 | [] |
[
"<s>",
"static",
"void",
"update_total_code_bytes",
"(",
"unsigned",
"int",
"nbytes",
")",
"{",
"if",
"(",
"(",
"TARGET_PORTABLE_RUNTIME",
"||",
"!",
"TARGET_GAS",
"||",
"!",
"TARGET_SOM",
")",
"&&",
"!",
"IN_NAMED_SECTION_P",
"(",
"cfun",
"->",
"decl",
")",
... | [
"Update",
"the",
"total",
"code",
"bytes",
"output",
"to",
"the",
"text",
"section",
"."
] | [
"pa"
] | pa | update_total_code_bytes | pa | CPU | GCC | 20,821 | 52 | 1 | [] |
[
"<s>",
"unsigned",
"NVPTXInstrInfo",
"::",
"removeBranch",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"int",
"*",
"BytesRemoved",
")",
"const",
"{",
"assert",
"(",
"!",
"BytesRemoved",
"&&",
"\"code size not handled\"",
")",
";",
"MachineBasicBlock",
"::",
"iterat... | [
"Remove",
"the",
"branching",
"code",
"at",
"the",
"end",
"of",
"the",
"specific",
"MBB",
"."
] | [
"NVPTX",
"NVPTX",
"\"code size not handled\"",
"0",
"NVPTX::GOTO",
"NVPTX::CBranch",
"0",
"1",
"NVPTX::CBranch",
"1",
"2"
] | NVPTXInstrInfo1 | removeBranch | NVPTX | GPU | LLVM | 20,822 | 130 | 1 | [] |
[
"<s>",
"void",
"ARMTargetLowering",
"::",
"AdjustInstrPostInstrSelection",
"(",
"MachineInstr",
"*",
"MI",
",",
"SDNode",
"*",
"Node",
")",
"const",
"{",
"const",
"MCInstrDesc",
"*",
"MCID",
"=",
"&",
"MI",
"->",
"getDesc",
"(",
")",
";",
"unsigned",
"NewOpc... | [
"This",
"method",
"should",
"be",
"implemented",
"by",
"targets",
"that",
"mark",
"instructions",
"with",
"the",
"'hasPostISelHook",
"'",
"flag",
"."
] | [
"ARM",
"ARM",
"ARM",
"ARM",
"1",
"\"converted opcode should be the same except for cc_out\"",
"0",
"1",
"\"Optional cc_out operand required\"",
"ARM::CPSR",
"\"Optional cc_out operand required\"",
"1",
"\"inconsistent dead flag\"",
"\"expect uninitialized optional cc_out operand\"",
"ARM... | ARMISelLowering133 | AdjustInstrPostInstrSelection | ARM | CPU | LLVM | 20,823 | 355 | 1 | [] |
[
"<s>",
"MachineBasicBlock",
"::",
"iterator",
"MSP430FrameLowering",
"::",
"eliminateCallFramePseudoInstr",
"(",
"MachineFunction",
"&",
"MF",
",",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"I",
")",
"const",
"{",
"const",
"MSP430Ins... | [
"This",
"method",
"is",
"called",
"during",
"prolog/epilog",
"code",
"insertion",
"to",
"eliminate",
"call",
"frame",
"setup",
"and",
"destroy",
"pseudo",
"instructions",
"(",
"but",
"only",
"if",
"the",
"Target",
"is",
"using",
"them",
")",
"."
] | [
"MSP430",
"MSP430",
"MSP430",
"MSP430",
"0",
"MSP430::SUB16ri",
"MSP430::SP",
"MSP430::SP",
"MSP430::ADD16ri",
"MSP430::SP",
"MSP430::SP",
"3",
"MSP430::SUB16ri",
"MSP430::SP",
"MSP430::SP",
"3"
] | MSP430FrameLowering (2) | eliminateCallFramePseudoInstr | MSP430 | MPU | LLVM | 20,824 | 355 | 1 | [] |
[
"<s>",
"bool",
"requiresRegisterScavenging",
"(",
"const",
"MachineFunction",
"&",
"MF",
")",
"const",
"override",
"{",
"return",
"true",
";",
"}",
"</s>"
] | [
"Returns",
"true",
"if",
"the",
"target",
"requires",
"(",
"and",
"can",
"make",
"use",
"of",
")",
"the",
"register",
"scavenger",
"."
] | [
"AArch64"
] | AArch64RegisterInfo24 | requiresRegisterScavenging | AArch64 | CPU | LLVM | 20,825 | 15 | 1 | [] |
[
"<s>",
"void",
"rs6000_d_target_versions",
"(",
"void",
")",
"{",
"if",
"(",
"TARGET_64BIT",
")",
"d_add_builtin_version",
"(",
"\"PPC64\"",
")",
";",
"else",
"d_add_builtin_version",
"(",
"\"PPC\"",
")",
";",
"if",
"(",
"TARGET_HARD_FLOAT",
")",
"{",
"d_add_bui... | [
"Implement",
"TARGET_D_CPU_VERSIONS",
"for",
"PowerPC",
"targets",
"."
] | [
"rs6000",
"\"PPC64\"",
"\"PPC\"",
"\"PPC_HardFloat\"",
"\"D_HardFloat\"",
"\"PPC_SoftFloat\"",
"\"D_SoftFloat\""
] | rs6000-d | rs6000_d_target_versions | rs6000 | CPU | GCC | 20,826 | 55 | 1 | [] |
[
"<s>",
"std",
"::",
"unique_ptr",
"<",
"TargetInstrInfo",
"::",
"PipelinerLoopInfo",
">",
"HexagonInstrInfo",
"::",
"analyzeLoopForPipelining",
"(",
"MachineBasicBlock",
"*",
"LoopBB",
")",
"const",
"{",
"MachineBasicBlock",
"::",
"iterator",
"I",
"=",
"LoopBB",
"->... | [
"Analyze",
"loop",
"L",
",",
"which",
"must",
"be",
"a",
"single-basic-block",
"loop",
",",
"and",
"if",
"the",
"conditions",
"can",
"be",
"understood",
"enough",
"produce",
"a",
"PipelinerLoopInfo",
"object",
"."
] | [
"Hexagon",
"Hexagon",
"8",
"0",
"Hexagon"
] | HexagonInstrInfo15 | analyzeLoopForPipelining | Hexagon | DSP | LLVM | 20,827 | 110 | 1 | [] |
[
"<s>",
"unsigned",
"SIInstrInfo",
"::",
"getNumWaitStates",
"(",
"const",
"MachineInstr",
"&",
"MI",
")",
"const",
"{",
"switch",
"(",
"MI",
".",
"getOpcode",
"(",
")",
")",
"{",
"default",
":",
"return",
"1",
";",
"case",
"AMDGPU",
"::",
"S_NOP",
":",
... | [
"Return",
"the",
"number",
"of",
"wait",
"states",
"that",
"result",
"from",
"executing",
"this",
"instruction",
"."
] | [
"AMDGPU",
"SI",
"1",
"AMDGPU::S_NOP",
"0",
"1"
] | SIInstrInfo (2) | getNumWaitStates | AMDGPU | GPU | LLVM | 20,828 | 47 | 1 | [] |
[
"<s>",
"static",
"void",
"microblaze_adjust_block_mem",
"(",
"rtx",
"mem",
",",
"HOST_WIDE_INT",
"length",
",",
"rtx",
"*",
"loop_reg",
",",
"rtx",
"*",
"loop_mem",
")",
"{",
"*",
"loop_reg",
"=",
"copy_addr_to_reg",
"(",
"XEXP",
"(",
"mem",
",",
"0",
")",... | [
"Helper",
"function",
"for",
"doing",
"a",
"loop-based",
"block",
"operation",
"on",
"memory",
"reference",
"MEM",
".",
"Each",
"iteration",
"of",
"the",
"loop",
"will",
"operate",
"on",
"LENGTH",
"bytes",
"of",
"MEM",
".",
"Create",
"a",
"new",
"base",
"r... | [
"microblaze",
"0"
] | microblaze | microblaze_adjust_block_mem | microblaze | MPU | GCC | 20,829 | 67 | 1 | [] |
[
"<s>",
"bool",
"HexagonFrameLowering",
"::",
"restoreCalleeSavedRegisters",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"MI",
",",
"const",
"std",
"::",
"vector",
"<",
"CalleeSavedInfo",
">",
"&",
"CSI",
",",
"const",
"TargetR... | [
"restoreCalleeSavedRegisters",
"-",
"Issues",
"instruction",
"(",
"s",
")",
"to",
"restore",
"all",
"callee",
"saved",
"registers",
"and",
"returns",
"true",
"if",
"it",
"is",
"n't",
"possible",
"/",
"profitable",
"to",
"do",
"so",
"by",
"issuing",
"a",
"ser... | [
"Hexagon",
"Hexagon",
"0",
"1",
"1",
"1"
] | HexagonFrameLowering33 | restoreCalleeSavedRegisters | Hexagon | DSP | LLVM | 20,830 | 279 | 1 | [] |
[
"<s>",
"void",
"X86WinCOFFStreamer",
"::",
"finishImpl",
"(",
")",
"{",
"emitFrames",
"(",
"nullptr",
")",
";",
"emitWindowsUnwindTables",
"(",
")",
";",
"MCWinCOFFStreamer",
"::",
"finishImpl",
"(",
")",
";",
"}",
"</s>"
] | [
"Streamer",
"specific",
"finalization",
"."
] | [
"X86",
"X86"
] | X86WinCOFFStreamer13 | finishImpl | X86 | CPU | LLVM | 20,831 | 23 | 1 | [] |
[
"<s>",
"const",
"char",
"*",
"getPassName",
"(",
")",
"const",
"override",
"{",
"return",
"\"ARM64 pseudo instruction expansion pass\"",
";",
"}",
"</s>"
] | [
"getPassName",
"-",
"Return",
"a",
"nice",
"clean",
"name",
"for",
"a",
"pass",
"."
] | [
"ARM64",
"\"ARM64 pseudo instruction expansion pass\""
] | ARM64ExpandPseudoInsts1 | getPassName | ARM64 | CPU | LLVM | 20,832 | 13 | 1 | [] |
[
"<s>",
"static",
"rtx",
"pro_epilogue_adjust_stack",
"(",
"rtx",
"dest",
",",
"rtx",
"src",
",",
"rtx",
"offset",
",",
"int",
"style",
",",
"bool",
"set_cfa",
")",
"{",
"struct",
"machine_function",
"*",
"m",
"=",
"cfun",
"->",
"machine",
";",
"rtx",
"ad... | [
"Expand",
"prologue",
"or",
"epilogue",
"stack",
"adjustment",
".",
"The",
"pattern",
"exist",
"to",
"put",
"a",
"dependency",
"on",
"all",
"ebp-based",
"memory",
"accesses",
".",
"STYLE",
"should",
"be",
"negative",
"if",
"instructions",
"should",
"be",
"mark... | [
"i386",
"0",
"0",
"1",
"0",
"1",
"0"
] | i386 | pro_epilogue_adjust_stack | i386 | CPU | GCC | 20,833 | 396 | 1 | [] |
[
"<s>",
"bool",
"RISCVCallLowering",
"::",
"lowerFormalArguments",
"(",
"MachineIRBuilder",
"&",
"MIRBuilder",
",",
"const",
"Function",
"&",
"F",
",",
"ArrayRef",
"<",
"ArrayRef",
"<",
"Register",
">>",
"VRegs",
",",
"FunctionLoweringInfo",
"&",
"FLI",
")",
"con... | [
"This",
"hook",
"must",
"be",
"implemented",
"to",
"lower",
"the",
"incoming",
"(",
"formal",
")",
"arguments",
",",
"described",
"by",
"VRegs",
",",
"for",
"GlobalISel",
"."
] | [
"RI5CY",
"RISCV"
] | RISCVCallLowering | lowerFormalArguments | RI5CY | CPU | LLVM | 20,834 | 43 | 1 | [] |
[
"<s>",
"bool",
"CFGStructurizer",
"<",
"PassT",
">",
"::",
"prepare",
"(",
"FuncT",
"&",
"func",
",",
"PassT",
"&",
"pass",
",",
"const",
"AMDGPURegisterInfo",
"*",
"tri",
")",
"{",
"passRep",
"=",
"&",
"pass",
";",
"funcRep",
"=",
"&",
"func",
";",
... | [
"prepare",
"-",
"Reset",
"state",
"and",
"prepare",
"for",
"a",
"new",
"spill",
"placement",
"computation",
"."
] | [
"R600",
"\"AMDGPUCFGStructurizer::prepare\\n\"",
"\"LoopInfo:\\n\"",
"\"Ordered blocks:\\n\"",
"0",
"2",
"2"
] | AMDILCFGStructurizer16 | prepare | R600 | GPU | LLVM | 20,835 | 308 | 1 | [] |
[
"<s>",
"SDValue",
"MipsTargetLowering",
"::",
"LowerReturn",
"(",
"SDValue",
"Chain",
",",
"CallingConv",
"::",
"ID",
"CallConv",
",",
"bool",
"isVarArg",
",",
"const",
"SmallVectorImpl",
"<",
"ISD",
"::",
"OutputArg",
">",
"&",
"Outs",
",",
"const",
"SmallVec... | [
"This",
"hook",
"must",
"be",
"implemented",
"to",
"lower",
"outgoing",
"return",
"values",
",",
"described",
"by",
"the",
"Outs",
"array",
",",
"into",
"the",
"specified",
"DAG",
"."
] | [
"Mips",
"Mips",
"ISD::OutputArg",
"16",
"Mips",
"4",
"1",
"0",
"\"Can only return in registers!\"",
"1",
"Mips",
"Mips",
"Mips",
"Mips",
"\"sret virtual register not created in the entry block\"",
"Mips::V0_64",
"Mips::V0",
"1",
"0",
"MipsISD::Ret",
"MVT::Other",
"0"
] | MipsISelLowering24 | LowerReturn | Mips | CPU | LLVM | 20,836 | 382 | 1 | [] |
[
"<s>",
"void",
"rs6000_emit_le_vsx_load",
"(",
"rtx",
"dest",
",",
"rtx",
"source",
",",
"machine_mode",
"mode",
")",
"{",
"rtx",
"tmp",
",",
"permute_mem",
",",
"permute_reg",
";",
"if",
"(",
"mode",
"==",
"TImode",
"||",
"mode",
"==",
"V1TImode",
")",
... | [
"Emit",
"a",
"little-endian",
"load",
"from",
"vector",
"memory",
"location",
"SOURCE",
"to",
"VSX",
"register",
"DEST",
"in",
"mode",
"MODE",
".",
"The",
"load",
"is",
"done",
"with",
"two",
"permuting",
"insn",
"'s",
"that",
"represent",
"an",
"lxvd2x",
... | [
"rs6000",
"0"
] | rs60005 | rs6000_emit_le_vsx_load | rs6000 | CPU | GCC | 20,837 | 108 | 1 | [] |
[
"<s>",
"const",
"TargetRegisterClass",
"*",
"X86RegisterInfo",
"::",
"getPointerRegClass",
"(",
"const",
"MachineFunction",
"&",
"MF",
",",
"unsigned",
"Kind",
")",
"const",
"{",
"const",
"X86Subtarget",
"&",
"Subtarget",
"=",
"TM",
".",
"getSubtarget",
"<",
"X8... | [
"getPointerRegClass",
"-",
"Returns",
"a",
"TargetRegisterClass",
"used",
"for",
"pointer",
"values",
"."
] | [
"X86",
"X86",
"X86",
"X86",
"\"Unexpected Kind in getPointerRegClass!\"",
"0",
"X86::GR64RegClass",
"X86::GR32RegClass",
"1",
"X86::GR64_NOSPRegClass",
"X86::GR32_NOSPRegClass",
"2",
"X86::GR64_TCW64RegClass",
"X86::GR64_TCRegClass",
"X86::GR32RegClass",
"X86::GR32_TCRegClass"
] | X86RegisterInfo21 | getPointerRegClass | X86 | CPU | LLVM | 20,838 | 169 | 1 | [] |
[
"<s>",
"bool",
"useAA",
"(",
")",
"const",
"override",
"{",
"return",
"true",
";",
"}",
"</s>"
] | [
"Enable",
"use",
"of",
"alias",
"analysis",
"during",
"code",
"generation",
"(",
"during",
"MI",
"scheduling",
",",
"DAGCombine",
",",
"etc",
".",
")",
"."
] | [
"SystemZ"
] | SystemZSubtarget | useAA | SystemZ | CPU | LLVM | 20,839 | 11 | 1 | [] |
[
"<s>",
"bool",
"ARMTTIImpl",
"::",
"isLegalMaskedGather",
"(",
"Type",
"*",
"Ty",
",",
"MaybeAlign",
"Alignment",
")",
"{",
"if",
"(",
"!",
"EnableMaskedGatherScatters",
"||",
"!",
"ST",
"->",
"hasMVEIntegerOps",
"(",
")",
")",
"return",
"false",
";",
"if",
... | [
"Return",
"true",
"if",
"the",
"target",
"supports",
"masked",
"gather",
"."
] | [
"ARM",
"ARM",
"32",
"4",
"16",
"2",
"8"
] | ARMTargetTransformInfo10 | isLegalMaskedGather | ARM | CPU | LLVM | 20,840 | 88 | 1 | [] |
[
"<s>",
"static",
"void",
"output_file_start",
"(",
"void",
")",
"{",
"FILE",
"*",
"file",
"=",
"asm_out_file",
";",
"int",
"i",
";",
"fprintf",
"(",
"file",
",",
"\".file \\\"%s\\\";\\n\"",
",",
"LOCATION_FILE",
"(",
"input_location",
")",
")",
";",
"for",
... | [
"Output",
"to",
"FILE",
"the",
"start",
"of",
"the",
"assembler",
"file",
"."
] | [
"bfin",
"\".file \\\"%s\\\";\\n\"",
"0",
"0"
] | bfin | output_file_start | bfin | DSP | GCC | 20,841 | 50 | 1 | [] |
[
"<s>",
"unsigned",
"TOYMCCodeEmitter",
"::",
"getBranchTargetOpValue",
"(",
"const",
"MCInst",
"&",
"MI",
",",
"unsigned",
"OpNo",
",",
"SmallVectorImpl",
"<",
"MCFixup",
">",
"&",
"Fixups",
")",
"const",
"{",
"llvm_unreachable",
"(",
"\"getBranchTargetOpValue is no... | [
"getBranchTargetOpValue",
"-",
"Return",
"binary",
"encoding",
"of",
"the",
"branch",
"target",
"operand",
"."
] | [
"TOY",
"TOY",
"\"getBranchTargetOpValue is not implemented yet\""
] | TOYMCCodeEmitter | getBranchTargetOpValue | TOY | CPU | LLVM | 20,842 | 28 | 1 | [] |
[
"<s>",
"bool",
"X86AsmPrinter",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"{",
"SetupMachineFunction",
"(",
"MF",
")",
";",
"if",
"(",
"Subtarget",
"->",
"isTargetCOFF",
"(",
")",
"&&",
"!",
"Subtarget",
"->",
"isTargetEnvMacho",
"(... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"X86",
"X86"
] | X86AsmPrinter101 | runOnMachineFunction | X86 | CPU | LLVM | 20,843 | 98 | 1 | [] |
[
"<s>",
"MVT",
"getScalarShiftAmountTy",
"(",
"EVT",
"LHSTy",
")",
"const",
"override",
"{",
"return",
"MVT",
"::",
"i32",
";",
"}",
"</s>"
] | [
"Return",
"the",
"type",
"to",
"use",
"for",
"a",
"scalar",
"shift",
"opcode",
",",
"given",
"the",
"shifted",
"amount",
"type",
"."
] | [
"XCore",
"MVT::i32"
] | XCoreISelLowering | getScalarShiftAmountTy | XCore | MPU | LLVM | 20,844 | 15 | 1 | [] |
[
"<s>",
"void",
"SVEIntrinsicOpts",
"::",
"getAnalysisUsage",
"(",
"AnalysisUsage",
"&",
"AU",
")",
"const",
"{",
"AU",
".",
"addRequired",
"<",
"DominatorTreeWrapperPass",
">",
"(",
")",
";",
"AU",
".",
"setPreservesCFG",
"(",
")",
";",
"}",
"</s>"
] | [
"getAnalysisUsage",
"-",
"Subclasses",
"that",
"override",
"getAnalysisUsage",
"must",
"call",
"this",
"."
] | [
"AArch64"
] | SVEIntrinsicOpts | getAnalysisUsage | AArch64 | CPU | LLVM | 20,845 | 27 | 1 | [] |
[
"<s>",
"static",
"void",
"riscv_for_each_saved_reg",
"(",
"HOST_WIDE_INT",
"sp_offset",
",",
"riscv_save_restore_fn",
"fn",
")",
"{",
"HOST_WIDE_INT",
"offset",
";",
"offset",
"=",
"cfun",
"->",
"machine",
"->",
"frame",
".",
"gp_sp_offset",
"-",
"sp_offset",
";",... | [
"Call",
"FN",
"for",
"each",
"register",
"that",
"is",
"saved",
"by",
"the",
"current",
"function",
".",
"SP_OFFSET",
"is",
"the",
"offset",
"of",
"the",
"current",
"stack",
"pointer",
"from",
"the",
"start",
"of",
"the",
"frame",
"."
] | [
"riscv",
"1"
] | riscv2 | riscv_for_each_saved_reg | riscv | CPU | GCC | 20,846 | 150 | 1 | [] |
[
"<s>",
"static",
"bool",
"mips_strict_matching_cpu_name_p",
"(",
"const",
"char",
"*",
"canonical",
",",
"const",
"char",
"*",
"given",
")",
"{",
"while",
"(",
"*",
"given",
"!=",
"0",
"&&",
"TOLOWER",
"(",
"*",
"given",
")",
"==",
"TOLOWER",
"(",
"*",
... | [
"Return",
"true",
"if",
"GIVEN",
"is",
"the",
"same",
"as",
"CANONICAL",
",",
"or",
"if",
"it",
"is",
"CANONICAL",
"with",
"a",
"final",
"``",
"000",
"''",
"replaced",
"by",
"``",
"k",
"''",
".",
"Ignore",
"case",
".",
"Note",
":",
"this",
"function"... | [
"mips",
"0",
"0",
"0",
"\"000\"",
"0",
"\"k\"",
"0"
] | mips3 | mips_strict_matching_cpu_name_p | mips | CPU | GCC | 20,847 | 76 | 1 | [] |
[
"<s>",
"rtx",
"aarch64_return_addr",
"(",
"int",
"count",
",",
"rtx",
"frame",
"ATTRIBUTE_UNUSED",
")",
"{",
"if",
"(",
"count",
"!=",
"0",
")",
"return",
"const0_rtx",
";",
"return",
"get_hard_reg_initial_val",
"(",
"Pmode",
",",
"LR_REGNUM",
")",
";",
"}",... | [
"Implement",
"RETURN_ADDR_RTX",
".",
"We",
"do",
"not",
"support",
"moving",
"back",
"to",
"a",
"previous",
"frame",
"."
] | [
"aarch64",
"0"
] | aarch64 | aarch64_return_addr | aarch64 | CPU | GCC | 20,848 | 29 | 1 | [] |
[
"<s>",
"bool",
"AMDGPUPassConfig",
"::",
"addPreISel",
"(",
")",
"{",
"const",
"AMDGPUSubtarget",
"&",
"ST",
"=",
"TM",
"->",
"getSubtarget",
"<",
"AMDGPUSubtarget",
">",
"(",
")",
";",
"addPass",
"(",
"createFlattenCFGPass",
"(",
")",
")",
";",
"if",
"(",... | [
"{",
"{",
"@",
"For",
"GlobalISel"
] | [
"R600",
"SI",
"SI"
] | AMDGPUTargetMachine100 | addPreISel | R600 | GPU | LLVM | 20,849 | 92 | 1 | [] |
[
"<s>",
"void",
"AArch64TargetLowering",
"::",
"computeKnownBitsForTargetNode",
"(",
"const",
"SDValue",
"Op",
",",
"APInt",
"&",
"KnownZero",
",",
"APInt",
"&",
"KnownOne",
",",
"const",
"APInt",
"&",
"DemandedElts",
",",
"const",
"SelectionDAG",
"&",
"DAG",
","... | [
"Determine",
"which",
"of",
"the",
"bits",
"specified",
"in",
"Mask",
"are",
"known",
"to",
"be",
"either",
"zero",
"or",
"one",
"and",
"return",
"them",
"in",
"the",
"KnownZero/KnownOne",
"bitsets",
"."
] | [
"AArch64",
"AArch64",
"AArch64ISD::CSEL",
"0",
"1",
"1",
"1",
"ISD::INTRINSIC_W_CHAIN",
"1",
"Intrinsic::ID",
"Intrinsic::ID",
"Intrinsic::aarch64_ldaxr",
"Intrinsic::aarch64_ldxr",
"ISD::INTRINSIC_WO_CHAIN",
"ISD::INTRINSIC_VOID",
"0",
"Intrinsic::aarch64_neon_umaxv",
"Intrinsic::... | AArch64ISelLowering120 | computeKnownBitsForTargetNode | AArch64 | CPU | LLVM | 20,850 | 396 | 1 | [] |
[
"<s>",
"const",
"TargetRegisterClass",
"*",
"MipsRegisterInfo",
"::",
"getPointerRegClass",
"(",
"const",
"MachineFunction",
"&",
"MF",
",",
"unsigned",
"Kind",
")",
"const",
"{",
"MipsABIInfo",
"ABI",
"=",
"MF",
".",
"getSubtarget",
"<",
"MipsSubtarget",
">",
"... | [
"getPointerRegClass",
"-",
"Returns",
"a",
"TargetRegisterClass",
"used",
"for",
"pointer",
"values",
"."
] | [
"Mips",
"Mips",
"Mips",
"Mips",
"Mips",
"Mips",
"MipsPtrClass::Default",
"Mips::GPR64RegClass",
"Mips::GPR32RegClass",
"MipsPtrClass::GPR16MM",
"Mips::GPRMM16RegClass",
"MipsPtrClass::StackPointer",
"Mips::SP64RegClass",
"Mips::SP32RegClass",
"MipsPtrClass::GlobalPointer",
"Mips::GP64R... | MipsRegisterInfo (2)2 | getPointerRegClass | Mips | CPU | LLVM | 20,851 | 133 | 1 | [] |
[
"<s>",
"Optional",
"<",
"DestSourcePair",
">",
"RISCVInstrInfo",
"::",
"isCopyInstrImpl",
"(",
"const",
"MachineInstr",
"&",
"MI",
")",
"const",
"{",
"if",
"(",
"MI",
".",
"isMoveReg",
"(",
")",
")",
"return",
"DestSourcePair",
"{",
"MI",
".",
"getOperand",
... | [
"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",
"."
] | [
"RISCV",
"RISCV",
"0",
"1",
"RISCV::ADDI",
"1",
"2",
"2",
"0",
"0",
"1",
"RISCV::FSGNJ_D",
"RISCV::FSGNJ_S",
"RISCV::FSGNJ_H",
"1",
"2",
"1",
"2",
"0",
"1"
] | RISCVInstrInfo22 | isCopyInstrImpl | RISCV | CPU | LLVM | 20,852 | 202 | 1 | [] |
[
"<s>",
"bool",
"MBlazePassConfig",
"::",
"addInstSelector",
"(",
")",
"{",
"PM",
".",
"add",
"(",
"createMBlazeISelDag",
"(",
"getMBlazeTargetMachine",
"(",
")",
")",
")",
";",
"return",
"false",
";",
"}",
"</s>"
] | [
"addInstSelector",
"-",
"This",
"method",
"should",
"install",
"an",
"instruction",
"selector",
"pass",
",",
"which",
"converts",
"from",
"LLVM",
"code",
"to",
"machine",
"instructions",
"."
] | [
"MBlaze",
"MBlaze",
"MBlaze",
"MBlaze"
] | MBlazeTargetMachine2 | addInstSelector | MBlaze | MPU | LLVM | 20,853 | 23 | 1 | [] |
[
"<s>",
"BitVector",
"PPCRegisterInfo",
"::",
"getReservedRegs",
"(",
"const",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"BitVector",
"Reserved",
"(",
"getNumRegs",
"(",
")",
")",
";",
"const",
"PPCSubtarget",
"&",
"Subtarget",
"=",
"MF",
".",
"getSubtar... | [
"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",
"... | [
"PowerPC",
"PPC",
"PPC",
"PPC",
"PPC",
"PPC::ZERO",
"PPC::FP",
"PPC::BP",
"PPC::CTR",
"PPC::CTR8",
"PPC::R1",
"PPC::LR",
"PPC::LR8",
"PPC::RM",
"PPC::VRSAVE",
"PPC",
"PPC",
"PPC",
"PPC::R2",
"PPC::R13",
"PPC::R2",
"PPC",
"PPC::R13",
"PPC::R31",
"PPC::R29",
"PPC::R30... | PPCRegisterInfo56 | getReservedRegs | PowerPC | CPU | LLVM | 20,854 | 392 | 1 | [] |
[
"<s>",
"const",
"DLXInstrInfo",
"*",
"getInstrInfo",
"(",
")",
"const",
"override",
"{",
"return",
"&",
"InstrInfo",
";",
"}",
"</s>"
] | [
"TargetInstrInfo",
"getter",
"."
] | [
"DLX",
"DLX"
] | DLXSubtarget | getInstrInfo | DLX | CPU | LLVM | 20,855 | 14 | 1 | [] |
[
"<s>",
"bool",
"MBlazeTargetObjectFile",
"::",
"IsGlobalInSmallSection",
"(",
"const",
"GlobalValue",
"*",
"GV",
",",
"const",
"TargetMachine",
"&",
"TM",
",",
"SectionKind",
"Kind",
")",
"const",
"{",
"const",
"GlobalVariable",
"*",
"GVA",
"=",
"dyn_cast",
"<",... | [
"Return",
"true",
"if",
"this",
"global",
"address",
"should",
"be",
"placed",
"into",
"small",
"data/bss",
"section",
"."
] | [
"MBlaze",
"MBlaze"
] | MBlazeTargetObjectFile6 | IsGlobalInSmallSection | MBlaze | MPU | LLVM | 20,856 | 101 | 1 | [] |
[
"<s>",
"void",
"RISCVFrameLowering",
"::",
"emitPrologue",
"(",
"MachineFunction",
"&",
"MF",
",",
"MachineBasicBlock",
"&",
"MBB",
")",
"const",
"{",
"assert",
"(",
"&",
"MF",
".",
"front",
"(",
")",
"==",
"&",
"MBB",
"&&",
"\"Shrink-wrapping not yet supporte... | [
"emitProlog/emitEpilog",
"-",
"These",
"methods",
"insert",
"prolog",
"and",
"epilog",
"code",
"into",
"the",
"function",
"."
] | [
"RISCV",
"RISCV",
"\"Shrink-wrapping not yet supported\"",
"RISCV",
"RISCV::VCONFIG",
"0x60",
"0"
] | RISCVFrameLowering41 | emitPrologue | RISCV | CPU | LLVM | 20,857 | 230 | 1 | [] |
[
"<s>",
"void",
"X86ATTInstPrinter",
"::",
"printRegName",
"(",
"raw_ostream",
"&",
"OS",
",",
"unsigned",
"RegNo",
")",
"const",
"{",
"OS",
"<<",
"'%'",
"<<",
"getRegisterName",
"(",
"RegNo",
")",
";",
"}",
"</s>"
] | [
"Print",
"the",
"assembler",
"register",
"name",
"."
] | [
"X86",
"X86"
] | X86ATTInstPrinter18 | printRegName | X86 | CPU | LLVM | 20,858 | 24 | 1 | [] |
[
"<s>",
"unsigned",
"SPIRVTargetLowering",
"::",
"getNumRegistersForCallingConv",
"(",
"LLVMContext",
"&",
"Context",
",",
"CallingConv",
"::",
"ID",
"CC",
",",
"EVT",
"VT",
")",
"const",
"{",
"if",
"(",
"VT",
".",
"isVector",
"(",
")",
"&&",
"VT",
".",
"ge... | [
"Certain",
"targets",
"require",
"unusual",
"breakdowns",
"of",
"certain",
"types",
"."
] | [
"SPIRV",
"SPIRV",
"3",
"MVT::i1",
"MVT::i8",
"1"
] | SPIRVISelLowering | getNumRegistersForCallingConv | SPIRV | Virtual ISA | LLVM | 20,859 | 69 | 1 | [] |
[
"<s>",
"static",
"inline",
"int",
"shiftcosts",
"(",
"rtx",
"x",
")",
"{",
"int",
"value",
";",
"if",
"(",
"TARGET_SHMEDIA",
")",
"return",
"1",
";",
"if",
"(",
"GET_MODE_SIZE",
"(",
"GET_MODE",
"(",
"x",
")",
")",
">",
"UNITS_PER_WORD",
")",
"{",
"i... | [
"Return",
"the",
"cost",
"of",
"a",
"shift",
"."
] | [
"sh",
"1",
"1",
"1",
"1",
"2",
"10000",
"1",
"1",
"1",
"1"
] | sh3 | shiftcosts | sh | CPU | GCC | 20,860 | 145 | 1 | [] |
[
"<s>",
"unsigned",
"ARM64TargetLowering",
"::",
"getRegisterByName",
"(",
"const",
"char",
"*",
"RegName",
")",
"const",
"{",
"unsigned",
"Reg",
"=",
"StringSwitch",
"<",
"unsigned",
">",
"(",
"RegName",
")",
".",
"Case",
"(",
"\"sp\"",
",",
"ARM64",
"::",
... | [
"Return",
"the",
"register",
"ID",
"of",
"the",
"name",
"passed",
"in",
"."
] | [
"ARM64",
"ARM64",
"\"sp\"",
"ARM64::SP",
"0",
"\"Invalid register name global variable\""
] | ARM64ISelLowering1 | getRegisterByName | ARM64 | CPU | LLVM | 20,861 | 50 | 1 | [] |
[
"<s>",
"static",
"bool",
"insn_is_function_arg",
"(",
"rtx",
"insn",
",",
"bool",
"*",
"is_spilled",
")",
"{",
"rtx",
"dst",
";",
"if",
"(",
"!",
"NONDEBUG_INSN_P",
"(",
"insn",
")",
")",
"return",
"false",
";",
"if",
"(",
"CALL_P",
"(",
"insn",
")",
... | [
"Returns",
"true",
"if",
"lhs",
"of",
"insn",
"is",
"HW",
"function",
"argument",
"register",
"and",
"set",
"up",
"is_spilled",
"to",
"true",
"if",
"it",
"is",
"likely",
"spilled",
"HW",
"register",
"."
] | [
"i386",
"0",
"0"
] | i386 | insn_is_function_arg | i386 | CPU | GCC | 20,862 | 140 | 1 | [] |
[
"<s>",
"bool",
"MSP430DAGToDAGISel",
"::",
"SelectInlineAsmMemoryOperand",
"(",
"const",
"SDValue",
"&",
"Op",
",",
"char",
"ConstraintCode",
",",
"std",
"::",
"vector",
"<",
"SDValue",
">",
"&",
"OutOps",
")",
"{",
"SDValue",
"Op0",
",",
"Op1",
";",
"switch... | [
"SelectInlineAsmMemoryOperand",
"-",
"Select",
"the",
"specified",
"address",
"as",
"a",
"target",
"addressing",
"mode",
",",
"according",
"to",
"the",
"specified",
"constraint",
"."
] | [
"MSP430",
"MSP430"
] | MSP430ISelDAGToDAG12 | SelectInlineAsmMemoryOperand | MSP430 | MPU | LLVM | 20,863 | 83 | 1 | [] |
[
"<s>",
"void",
"MipsDAGToDAGISel",
"::",
"Select",
"(",
"SDNode",
"*",
"Node",
")",
"{",
"unsigned",
"Opcode",
"=",
"Node",
"->",
"getOpcode",
"(",
")",
";",
"if",
"(",
"Node",
"->",
"isMachineOpcode",
"(",
")",
")",
"{",
"DEBUG",
"(",
"errs",
"(",
"... | [
"Main",
"hook",
"for",
"targets",
"to",
"transform",
"nodes",
"into",
"machine",
"nodes",
"."
] | [
"Mips",
"Mips",
"\"== \"",
"\"\\n\"",
"1",
"ISD::GLOBAL_OFFSET_TABLE",
"ISD::LOAD",
"ISD::STORE",
"8",
"\"Unexpected unaligned loads/stores.\""
] | MipsISelDAGToDAG21 | Select | Mips | CPU | LLVM | 20,864 | 157 | 1 | [] |
[
"<s>",
"bool",
"mprocFrameLowering",
"::",
"hasFP",
"(",
"const",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"const",
"MachineFrameInfo",
"*",
"MFI",
"=",
"MF",
".",
"getFrameInfo",
"(",
")",
";",
"return",
"(",
"MF",
".",
"getTarget",
"(",
")",
".... | [
"hasFP",
"-",
"Return",
"true",
"if",
"the",
"specified",
"function",
"should",
"have",
"a",
"dedicated",
"frame",
"pointer",
"register",
"."
] | [
"mproc",
"mproc"
] | mprocFrameLowering | hasFP | mproc | Virtual ISA | LLVM | 20,865 | 56 | 1 | [] |
[
"<s>",
"bool",
"Cpu0SETargetLowering",
"::",
"isEligibleForTailCallOptimization",
"(",
"const",
"Cpu0CC",
"&",
"Cpu0CCInfo",
",",
"unsigned",
"NextStackOffset",
",",
"const",
"Cpu0MachineFunctionInfo",
"&",
"FI",
")",
"const",
"{",
"if",
"(",
"!",
"EnableCpu0TailCalls... | [
"Returns",
"true",
"if",
"the",
"call",
"can",
"be",
"lowered",
"as",
"a",
"tail",
"call",
"."
] | [
"Cpu0",
"Cpu0",
"Cpu0",
"Cpu0",
"Cpu0",
"Cpu0",
"Cpu0"
] | Cpu0SEISelLowering | isEligibleForTailCallOptimization | Cpu0 | CPU | LLVM | 20,866 | 55 | 1 | [] |
[
"<s>",
"static",
"rtx",
"rs6000_load_constant_and_splat",
"(",
"machine_mode",
"mode",
",",
"REAL_VALUE_TYPE",
"dconst",
")",
"{",
"rtx",
"reg",
";",
"if",
"(",
"mode",
"==",
"SFmode",
"||",
"mode",
"==",
"DFmode",
")",
"{",
"rtx",
"d",
"=",
"const_double_fr... | [
"Load",
"up",
"a",
"constant",
".",
"If",
"the",
"mode",
"is",
"a",
"vector",
"mode",
",",
"splat",
"the",
"value",
"across",
"all",
"of",
"the",
"vector",
"elements",
"."
] | [
"rs6000",
"4",
"2"
] | rs6000 | rs6000_load_constant_and_splat | rs6000 | CPU | GCC | 20,867 | 158 | 1 | [] |
[
"<s>",
"int",
"m32r_legitimate_pic_operand_p",
"(",
"rtx",
"x",
")",
"{",
"if",
"(",
"GET_CODE",
"(",
"x",
")",
"==",
"SYMBOL_REF",
"||",
"GET_CODE",
"(",
"x",
")",
"==",
"LABEL_REF",
")",
"return",
"0",
";",
"if",
"(",
"GET_CODE",
"(",
"x",
")",
"==... | [
"PIC",
"."
] | [
"m32r",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"1",
"0",
"1"
] | m32r3 | m32r_legitimate_pic_operand_p | m32r | MPU | GCC | 20,868 | 109 | 1 | [] |
[
"<s>",
"bool",
"X86CmovConverterPass",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"{",
"if",
"(",
"skipFunction",
"(",
"MF",
".",
"getFunction",
"(",
")",
")",
")",
"return",
"false",
";",
"if",
"(",
"!",
"EnableCmovConverter",
")"... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"X86",
"X86",
"\"********** \"",
"\" : \"",
"\"**********\\n\"",
"4",
"4",
"0"
] | X86CmovConversion (2)1 | runOnMachineFunction | X86 | CPU | LLVM | 20,869 | 369 | 1 | [] |
[
"<s>",
"Function",
"*",
"AMDGPUIntrinsicInfo",
"::",
"getDeclaration",
"(",
"Module",
"*",
"M",
",",
"unsigned",
"IntrID",
",",
"Type",
"*",
"*",
"Tys",
",",
"unsigned",
"numTys",
")",
"const",
"{",
"llvm_unreachable",
"(",
"\"Not implemented\"",
")",
";",
"... | [
"Create",
"or",
"insert",
"an",
"LLVM",
"Function",
"declaration",
"for",
"an",
"intrinsic",
",",
"and",
"return",
"it",
"."
] | [
"AMDGPU",
"AMDGPU",
"\"Not implemented\""
] | AMDGPUIntrinsicInfo1 | getDeclaration | AMDGPU | GPU | LLVM | 20,870 | 29 | 1 | [] |
[
"<s>",
"void",
"WebAssemblyDebugValueManager",
"::",
"clone",
"(",
"MachineInstr",
"*",
"Insert",
",",
"unsigned",
"NewReg",
")",
"{",
"MachineBasicBlock",
"*",
"MBB",
"=",
"Insert",
"->",
"getParent",
"(",
")",
";",
"MachineFunction",
"*",
"MF",
"=",
"MBB",
... | [
"Make",
"a",
"functionally",
"equivalent",
"copy",
"of",
"this",
"MachineFunctionInfo",
"in",
"MF",
"."
] | [
"WebAssembly",
"WebAssembly"
] | WebAssemblyDebugValueManager2 | clone | WebAssembly | Virtual ISA | LLVM | 20,871 | 87 | 1 | [] |
[
"<s>",
"bool",
"Z80AsmParser",
"::",
"ParseDirective",
"(",
"AsmToken",
"DirectiveID",
")",
"{",
"return",
"false",
";",
"}",
"</s>"
] | [
"ParseDirective",
"-",
"Parse",
"a",
"target",
"specific",
"assembler",
"directive",
"This",
"method",
"is",
"deprecated",
",",
"use",
"'parseDirective",
"'",
"instead",
"."
] | [
"Z80",
"Z80"
] | Z80AsmParser | ParseDirective | Z80 | MPU | LLVM | 20,872 | 13 | 1 | [] |
[
"<s>",
"void",
"PPCOperand",
"::",
"print",
"(",
"raw_ostream",
"&",
"OS",
")",
"const",
"{",
"switch",
"(",
"Kind",
")",
"{",
"case",
"Token",
":",
"OS",
"<<",
"\"'\"",
"<<",
"getToken",
"(",
")",
"<<",
"\"'\"",
";",
"break",
";",
"case",
"Immediate... | [
"print",
"-",
"Print",
"a",
"debug",
"representation",
"of",
"the",
"operand",
"to",
"the",
"given",
"stream",
"."
] | [
"PowerPC",
"PPC",
"\"'\"",
"\"'\""
] | PPCAsmParser (2) | print | PowerPC | CPU | LLVM | 20,873 | 72 | 1 | [] |
[
"<s>",
"static",
"void",
"rs6000_emit_dot_insn",
"(",
"rtx",
"dst",
",",
"rtx",
"src",
",",
"int",
"dot",
",",
"rtx",
"ccreg",
")",
"{",
"if",
"(",
"dot",
"==",
"0",
")",
"{",
"emit_move_insn",
"(",
"dst",
",",
"src",
")",
";",
"return",
";",
"}",
... | [
"Emit",
"a",
"potentially",
"record-form",
"instruction",
",",
"setting",
"DST",
"from",
"SRC",
".",
"If",
"DOT",
"is",
"0",
",",
"that",
"is",
"all",
";",
"otherwise",
",",
"set",
"CCREG",
"to",
"the",
"result",
"of",
"the",
"signed",
"comparison",
"of"... | [
"powerpcspe",
"0",
"1",
"2",
"2"
] | powerpcspe | rs6000_emit_dot_insn | powerpcspe | CPU | GCC | 20,874 | 151 | 1 | [] |
[
"<s>",
"bool",
"M68kCallLowering",
"::",
"lowerReturn",
"(",
"MachineIRBuilder",
"&",
"MIRBuilder",
",",
"const",
"Value",
"*",
"Val",
",",
"ArrayRef",
"<",
"Register",
">",
"VRegs",
",",
"FunctionLoweringInfo",
"&",
"FLI",
",",
"Register",
"SwiftErrorVReg",
")"... | [
"This",
"hook",
"behaves",
"as",
"the",
"extended",
"lowerReturn",
"function",
",",
"but",
"for",
"targets",
"that",
"do",
"not",
"support",
"swifterror",
"value",
"promotion",
"."
] | [
"M68k",
"M68k",
"M68k::RTS",
"M68k",
"M68k",
"8",
"0",
"M68k"
] | M68kCallLowering1 | lowerReturn | M68k | MPU | LLVM | 20,875 | 240 | 1 | [] |
[
"<s>",
"static",
"void",
"ix86_avx256_split_vector_move_misalign",
"(",
"rtx",
"op0",
",",
"rtx",
"op1",
")",
"{",
"rtx",
"m",
";",
"rtx",
"(",
"*",
"extract",
")",
"(",
"rtx",
",",
"rtx",
",",
"rtx",
")",
";",
"machine_mode",
"mode",
";",
"if",
"(",
... | [
"Split",
"32-byte",
"AVX",
"unaligned",
"load",
"and",
"store",
"if",
"needed",
"."
] | [
"i386",
"0",
"16",
"0",
"16"
] | i3866 | ix86_avx256_split_vector_move_misalign | i386 | CPU | GCC | 20,876 | 360 | 1 | [] |
[
"<s>",
"bool",
"NVPTXAsmPrinter",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"F",
")",
"{",
"bool",
"Result",
"=",
"AsmPrinter",
"::",
"runOnMachineFunction",
"(",
"F",
")",
";",
"OutStreamer",
"->",
"EmitRawText",
"(",
"StringRef",
"(",
"\"}\\n\... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"NVPTX",
"NVPTX",
"\"}\\n\""
] | NVPTXAsmPrinter2 | runOnMachineFunction | NVPTX | GPU | LLVM | 20,877 | 34 | 1 | [] |
[
"<s>",
"bool",
"MipsAsmParser",
"::",
"ParseDirective",
"(",
"AsmToken",
"DirectiveID",
")",
"{",
"if",
"(",
"DirectiveID",
".",
"getString",
"(",
")",
"==",
"\".ent\"",
")",
"{",
"Parser",
".",
"Lex",
"(",
")",
";",
"return",
"false",
";",
"}",
"if",
... | [
"ParseDirective",
"-",
"Parse",
"a",
"target",
"specific",
"assembler",
"directive",
"This",
"method",
"is",
"deprecated",
",",
"use",
"'parseDirective",
"'",
"instead",
"."
] | [
"Mips",
"Mips",
"\".ent\"",
"\".end\"",
"\".frame\"",
"\".set\"",
"\".fmask\"",
"\".mask\"",
"\".gpword\""
] | MipsAsmParser18 | ParseDirective | Mips | CPU | LLVM | 20,878 | 156 | 1 | [] |
[
"<s>",
"void",
"HSAILPassConfig",
"::",
"addIRPasses",
"(",
")",
"{",
"addPass",
"(",
"createHSAILAlwaysInlinePass",
"(",
")",
")",
";",
"addPass",
"(",
"createAlwaysInlinerPass",
"(",
")",
")",
";",
"TargetPassConfig",
"::",
"addIRPasses",
"(",
")",
";",
"}",... | [
"Add",
"common",
"target",
"configurable",
"passes",
"that",
"perform",
"LLVM",
"IR",
"to",
"IR",
"transforms",
"following",
"machine",
"independent",
"optimization",
"."
] | [
"HSAIL",
"HSAIL",
"HSAIL"
] | HSAILTargetMachine | addIRPasses | HSAIL | Virtual ISA | LLVM | 20,879 | 28 | 1 | [] |
[
"<s>",
"const",
"char",
"*",
"getPassName",
"(",
")",
"const",
"override",
"{",
"return",
"\"MSP430 Assembly Printer\"",
";",
"}",
"</s>"
] | [
"getPassName",
"-",
"Return",
"a",
"nice",
"clean",
"name",
"for",
"a",
"pass",
"."
] | [
"MSP430",
"\"MSP430 Assembly Printer\""
] | MSP430AsmPrinter (2) | getPassName | MSP430 | MPU | LLVM | 20,880 | 13 | 1 | [] |
[
"<s>",
"char",
"*",
"emit_cond_move",
"(",
"rtx",
"*",
"operands",
",",
"rtx",
"insn",
"ATTRIBUTE_UNUSED",
")",
"{",
"static",
"char",
"buffer",
"[",
"100",
"]",
";",
"const",
"char",
"*",
"dest",
"=",
"reg_names",
"[",
"REGNO",
"(",
"operands",
"[",
"... | [
"Generate",
"the",
"correct",
"assembler",
"code",
"to",
"handle",
"the",
"conditional",
"loading",
"of",
"a",
"value",
"into",
"a",
"register",
".",
"It",
"is",
"known",
"that",
"the",
"operands",
"satisfy",
"the",
"conditional_move_operand",
"(",
")",
"funct... | [
"m32r",
"100",
"0",
"0",
"0",
"0",
"2",
"3",
"1",
"2",
"2",
"3",
"3",
"\"mvfc %s, cbr\"",
"2",
"0",
"\"\\n\\txor3 %s, %s, #1\""
] | m32r | emit_cond_move | m32r | MPU | GCC | 20,881 | 160 | 1 | [] |
[
"<s>",
"const",
"char",
"*",
"output_sibcall",
"(",
"rtx_insn",
"*",
"insn",
",",
"rtx",
"call_operand",
")",
"{",
"rtx",
"operands",
"[",
"1",
"]",
";",
"gcc_assert",
"(",
"flag_delayed_branch",
")",
";",
"operands",
"[",
"0",
"]",
"=",
"call_operand",
... | [
"Output",
"a",
"sibling",
"call",
"."
] | [
"sparc",
"1",
"0",
"\"sethi\\t%%hi(%a0), %%g1\\n\\tjmp\\t%%g1 + %%lo(%a0)%#\"",
"\"or\\t%%o7, %%g0, %%g1\\n\\tcall\\t%a0, 0\\n\\t or\\t%%g1, %%g0, %%o7\"",
"\"call\\t%a0, 0\"",
"1",
"\"\""
] | sparc4 | output_sibcall | sparc | CPU | GCC | 20,882 | 133 | 1 | [] |
[
"<s>",
"void",
"getAnalysisUsage",
"(",
"AnalysisUsage",
"&",
"AU",
")",
"const",
"override",
"{",
"AU",
".",
"setPreservesCFG",
"(",
")",
";",
"AU",
".",
"addRequired",
"<",
"MachineDominatorTree",
">",
"(",
")",
";",
"AU",
".",
"addRequired",
"<",
"Machi... | [
"getAnalysisUsage",
"-",
"Subclasses",
"that",
"override",
"getAnalysisUsage",
"must",
"call",
"this",
"."
] | [
"Hexagon"
] | HexagonVLIWPacketizer | getAnalysisUsage | Hexagon | DSP | LLVM | 20,883 | 69 | 1 | [] |
[
"<s>",
"static",
"rtx",
"m32c_function_arg",
"(",
"cumulative_args_t",
"ca_v",
",",
"machine_mode",
"mode",
",",
"const_tree",
"type",
",",
"bool",
"named",
")",
"{",
"CUMULATIVE_ARGS",
"*",
"ca",
"=",
"get_cumulative_args",
"(",
"ca_v",
")",
";",
"rtx",
"rv",... | [
"Implements",
"FUNCTION_ARG",
".",
"Arguments",
"are",
"passed",
"partly",
"in",
"registers",
",",
"partly",
"on",
"stack",
".",
"If",
"our",
"function",
"returns",
"a",
"struct",
",",
"a",
"pointer",
"to",
"a",
"buffer",
"for",
"it",
"is",
"at",
"the",
... | [
"m32c",
"\"func_arg %d (%s, %d)\\n\"",
"0",
"\"func arg: force %d named %d, mem\\n\"",
"1",
"1",
"2",
"2",
"2"
] | m32c3 | m32c_function_arg | m32c | MPU | GCC | 20,884 | 201 | 1 | [] |
[
"<s>",
"bool",
"SIWholeQuadMode",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"{",
"Instructions",
".",
"clear",
"(",
")",
";",
"Blocks",
".",
"clear",
"(",
")",
";",
"LiveMaskQueries",
".",
"clear",
"(",
")",
";",
"LowerToCopyInstr... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"AMDGPU",
"SI",
"0",
"AMDGPU::EXEC_LO",
"AMDGPU::EXEC",
"AMDGPU::COPY",
"AMDGPU::S_WQM_B32",
"AMDGPU::S_WQM_B64",
"AMDGPU::SCC"
] | SIWholeQuadMode13 | runOnMachineFunction | AMDGPU | GPU | LLVM | 20,885 | 370 | 1 | [] |
[
"<s>",
"unsigned",
"PIC16RegisterInfo",
"::",
"getFrameRegister",
"(",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"assert",
"(",
"0",
"&&",
"\"PIC16 Does not have any frame register\"",
")",
";",
"return",
"0",
";",
"}",
"</s>"
] | [
"Debug",
"information",
"queries",
"."
] | [
"PIC16",
"PIC16",
"0",
"\"PIC16 Does not have any frame register\"",
"0"
] | PIC16RegisterInfo3 | getFrameRegister | PIC16 | MPU | LLVM | 20,886 | 22 | 1 | [] |
[
"<s>",
"MVT",
"getScalarShiftAmountTy",
"(",
"const",
"DataLayout",
"&",
",",
"EVT",
"VT",
")",
"const",
"override",
"{",
"return",
"MVT",
"::",
"i8",
";",
"}",
"</s>"
] | [
"Return",
"the",
"type",
"to",
"use",
"for",
"a",
"scalar",
"shift",
"opcode",
",",
"given",
"the",
"shifted",
"amount",
"type",
"."
] | [
"X86",
"MVT::i8"
] | X86ISelLowering | getScalarShiftAmountTy | X86 | CPU | LLVM | 20,887 | 19 | 1 | [] |
[
"<s>",
"void",
"sh_emit_compare_and_branch",
"(",
"rtx",
"*",
"operands",
",",
"machine_mode",
"mode",
")",
"{",
"enum",
"rtx_code",
"code",
"=",
"GET_CODE",
"(",
"operands",
"[",
"0",
"]",
")",
";",
"enum",
"rtx_code",
"branch_code",
";",
"rtx",
"op0",
"=... | [
"Called",
"from",
"the",
"md",
"file",
",",
"set",
"up",
"the",
"operands",
"of",
"a",
"compare",
"instruction",
"."
] | [
"sh",
"0",
"1",
"2",
"3",
"3"
] | sh | sh_emit_compare_and_branch | sh | CPU | GCC | 20,888 | 359 | 1 | [] |
[
"<s>",
"static",
"void",
"mips_insert_attributes",
"(",
"tree",
"decl",
",",
"tree",
"*",
"attributes",
")",
"{",
"const",
"char",
"*",
"name",
";",
"unsigned",
"int",
"compression_flags",
",",
"nocompression_flags",
";",
"compression_flags",
"=",
"mips_get_compre... | [
"Implement",
"TARGET_INSERT_ATTRIBUTES",
"."
] | [
"mips",
"\"%qs attribute only applies to functions\"",
"\"%qs attribute only applies to functions\"",
"\"%qE cannot have both %qs and %qs attributes\"",
"\"%qE cannot have both %qs and %qs attributes\"",
"\"mips16\"",
"\"micromips\"",
"0",
"0",
"\"mips16\"",
"\"nomips16\"",
"\"nomicromips\""
] | mips | mips_insert_attributes | mips | CPU | GCC | 20,889 | 219 | 1 | [] |
[
"<s>",
"bool",
"SIRegisterInfo",
"::",
"requiresFrameIndexReplacementScavenging",
"(",
"const",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"return",
"MF",
".",
"getFrameInfo",
"(",
")",
".",
"hasStackObjects",
"(",
")",
"&&",
"MF",
".",
"getSubtarget",
"<"... | [
"Returns",
"true",
"if",
"the",
"target",
"requires",
"using",
"the",
"RegScavenger",
"directly",
"for",
"frame",
"elimination",
"despite",
"using",
"requiresFrameIndexScavenging",
"."
] | [
"AMDGPU",
"SI",
"SI",
"SI"
] | SIRegisterInfo103 | requiresFrameIndexReplacementScavenging | AMDGPU | GPU | LLVM | 20,890 | 50 | 1 | [] |
[
"<s>",
"void",
"X86InstrInfo",
"::",
"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",
"."
] | [
"X86",
"X86",
"16"
] | X86InstrInfo134 | storeRegToStackSlot | X86 | CPU | LLVM | 20,891 | 116 | 1 | [] |
[
"<s>",
"bool",
"X86FastISel",
"::",
"tryToFoldLoadIntoMI",
"(",
"MachineInstr",
"*",
"MI",
",",
"unsigned",
"OpNo",
",",
"const",
"LoadInst",
"*",
"LI",
")",
"{",
"const",
"Value",
"*",
"Ptr",
"=",
"LI",
"->",
"getPointerOperand",
"(",
")",
";",
"X86Addres... | [
"The",
"specified",
"machine",
"instr",
"operand",
"is",
"a",
"vreg",
",",
"and",
"that",
"vreg",
"is",
"being",
"provided",
"by",
"the",
"specified",
"load",
"instruction",
"."
] | [
"X86",
"X86",
"X86",
"X86",
"X86",
"X86",
"0",
"8"
] | X86FastISel (2)1 | tryToFoldLoadIntoMI | X86 | CPU | LLVM | 20,892 | 184 | 1 | [] |
[
"<s>",
"static",
"unsigned",
"HOST_WIDE_INT",
"s390_asan_shadow_offset",
"(",
"void",
")",
"{",
"return",
"TARGET_64BIT",
"?",
"HOST_WIDE_INT_1U",
"<<",
"52",
":",
"HOST_WIDE_INT_UC",
"(",
"0x20000000",
")",
";",
"}",
"</s>"
] | [
"Implement",
"the",
"TARGET_ASAN_SHADOW_OFFSET",
"hook",
"."
] | [
"s390",
"52",
"0x20000000"
] | s390 | s390_asan_shadow_offset | s390 | MPU | GCC | 20,893 | 21 | 1 | [] |
[
"<s>",
"rtx",
"visium_dynamic_chain_address",
"(",
"rtx",
"frame",
")",
"{",
"visium_frame_needed",
"=",
"true",
";",
"return",
"frame",
";",
"}",
"</s>"
] | [
"A",
"C",
"expression",
"whose",
"value",
"is",
"RTL",
"representing",
"the",
"address",
"in",
"a",
"stack",
"frame",
"where",
"the",
"pointer",
"to",
"the",
"caller",
"'s",
"frame",
"is",
"stored",
".",
"Assume",
"that",
"FRAMEADDR",
"is",
"an",
"RTL",
... | [
"visium"
] | visium | visium_dynamic_chain_address | visium | Virtual ISA | GCC | 20,894 | 15 | 1 | [] |
[
"<s>",
"static",
"rtx",
"x86_this_parameter",
"(",
"tree",
"function",
")",
"{",
"tree",
"type",
"=",
"TREE_TYPE",
"(",
"function",
")",
";",
"bool",
"aggr",
"=",
"aggregate_value_p",
"(",
"TREE_TYPE",
"(",
"type",
")",
",",
"type",
")",
"!=",
"0",
";",
... | [
"Returns",
"an",
"expression",
"indicating",
"where",
"the",
"this",
"parameter",
"is",
"located",
"on",
"entry",
"to",
"the",
"FUNCTION",
"."
] | [
"i386",
"0",
"0",
"0",
"0",
"4",
"1",
"4",
"8",
"4"
] | i386 | x86_this_parameter | i386 | CPU | GCC | 20,895 | 229 | 1 | [] |
[
"<s>",
"bool",
"requiresRegisterScavenging",
"(",
"const",
"MachineFunction",
"&",
"MF",
")",
"const",
"override",
"{",
"return",
"true",
";",
"}",
"</s>"
] | [
"Returns",
"true",
"if",
"the",
"target",
"requires",
"(",
"and",
"can",
"make",
"use",
"of",
")",
"the",
"register",
"scavenger",
"."
] | [
"MOS"
] | MOSRegisterInfo | requiresRegisterScavenging | MOS | MPU | LLVM | 20,896 | 15 | 1 | [] |
[
"<s>",
"enum",
"reg_class",
"mips_secondary_reload_class",
"(",
"enum",
"reg_class",
"rclass",
",",
"machine_mode",
"mode",
",",
"rtx",
"x",
",",
"bool",
")",
"{",
"int",
"regno",
";",
"if",
"(",
"mips_dangerous_for_la25_p",
"(",
"x",
")",
")",
"return",
"re... | [
"This",
"function",
"returns",
"the",
"register",
"class",
"required",
"for",
"a",
"secondary",
"register",
"when",
"copying",
"between",
"one",
"of",
"the",
"registers",
"in",
"CLASS",
",",
"and",
"X",
",",
"using",
"MODE",
".",
"If",
"IN_P",
"is",
"nonze... | [
"mips",
"0",
"4",
"8"
] | mips4 | mips_secondary_reload_class | mips | CPU | GCC | 20,897 | 233 | 1 | [] |
[
"<s>",
"int",
"PPCTTIImpl",
"::",
"getIntImmCostInst",
"(",
"unsigned",
"Opcode",
",",
"unsigned",
"Idx",
",",
"const",
"APInt",
"&",
"Imm",
",",
"Type",
"*",
"Ty",
",",
"TTI",
"::",
"TargetCostKind",
"CostKind",
")",
"{",
"if",
"(",
"DisablePPCConstHoist",
... | [
"Return",
"the",
"expected",
"cost",
"of",
"materialization",
"for",
"the",
"given",
"integer",
"immediate",
"of",
"the",
"specified",
"type",
"for",
"a",
"given",
"instruction",
"."
] | [
"PowerPC",
"PPC",
"PPC",
"0",
"0U",
"0U",
"0",
"2",
"1",
"1",
"0",
"64",
"16",
"32",
"PPC",
"16",
"0xFFFF",
"0",
"PPC"
] | PPCTargetTransformInfo24 | getIntImmCostInst | PowerPC | CPU | LLVM | 20,898 | 428 | 1 | [] |
[
"<s>",
"void",
"s390_expand_cs",
"(",
"machine_mode",
"mode",
",",
"rtx",
"btarget",
",",
"rtx",
"vtarget",
",",
"rtx",
"mem",
",",
"rtx",
"cmp",
",",
"rtx",
"new_rtx",
",",
"bool",
"is_weak",
")",
"{",
"switch",
"(",
"mode",
")",
"{",
"case",
"E_TImod... | [
"Expand",
"an",
"atomic",
"compare",
"and",
"swap",
"operation",
".",
"MEM",
"is",
"the",
"memory",
"location",
",",
"CMP",
"the",
"old",
"value",
"to",
"compare",
"MEM",
"with",
"and",
"NEW_RTX",
"the",
"value",
"to",
"set",
"if",
"CMP",
"==",
"MEM",
... | [
"s390"
] | s390 | s390_expand_cs | s390 | MPU | GCC | 20,899 | 91 | 1 | [] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.