ground_truth listlengths 8 512 | natrual_language listlengths 1 243 | TS_V_token listlengths 1 182 | File stringlengths 2 45 | Func stringlengths 1 56 | Target stringclasses 175 values | Target_Clf stringclasses 6 values | Compiler_Type stringclasses 2 values | Idx int64 0 36.2k | Length int64 6 510 | Cover_Rate float64 1 1 | Template_token listlengths 0 0 |
|---|---|---|---|---|---|---|---|---|---|---|---|
[
"<s>",
"SDValue",
"SystemZSelectionDAGInfo",
"::",
"EmitTargetCodeForMemcpy",
"(",
"SelectionDAG",
"&",
"DAG",
",",
"SDLoc",
"DL",
",",
"SDValue",
"Chain",
",",
"SDValue",
"Dst",
",",
"SDValue",
"Src",
",",
"SDValue",
"Size",
",",
"unsigned",
"Align",
",",
"bo... | [
"Emit",
"target-specific",
"code",
"that",
"performs",
"a",
"memcpy",
"."
] | [
"SystemZ",
"SystemZ",
"SystemZISD::MVC",
"SystemZISD::MVC_LOOP"
] | SystemZSelectionDAGInfo29 | EmitTargetCodeForMemcpy | SystemZ | CPU | LLVM | 33,900 | 98 | 1 | [] |
[
"<s>",
"MachineInstrBuilder",
"SIInstrInfo",
"::",
"getAddNoCarry",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"I",
",",
"const",
"DebugLoc",
"&",
"DL",
",",
"unsigned",
"DestReg",
")",
"const",
"{",
"if",
"(",
"ST",
".",... | [
"Return",
"a",
"partially",
"built",
"integer",
"add",
"instruction",
"without",
"carry",
"."
] | [
"AMDGPU",
"SI",
"AMDGPU::V_ADD_U32_e64",
"AMDGPU::SReg_64RegClass",
"0",
"AMDGPU::VCC",
"AMDGPU::V_ADD_I32_e64"
] | SIInstrInfo (2) | getAddNoCarry | AMDGPU | GPU | LLVM | 33,901 | 124 | 1 | [] |
[
"<s>",
"static",
"bool",
"visium_pass_by_reference",
"(",
"cumulative_args_t",
"ca",
"ATTRIBUTE_UNUSED",
",",
"machine_mode",
"mode",
"ATTRIBUTE_UNUSED",
",",
"const_tree",
"type",
",",
"bool",
"named",
"ATTRIBUTE_UNUSED",
")",
"{",
"return",
"type",
"&&",
"(",
"AGG... | [
"Return",
"true",
"if",
"an",
"argument",
"must",
"be",
"passed",
"by",
"indirect",
"reference",
"."
] | [
"visium"
] | visium5 | visium_pass_by_reference | visium | Virtual ISA | GCC | 33,902 | 38 | 1 | [] |
[
"<s>",
"bool",
"evaluateBranch",
"(",
"const",
"MCInst",
"&",
"Inst",
",",
"uint64_t",
"Addr",
",",
"uint64_t",
"Size",
",",
"uint64_t",
"&",
"Target",
")",
"const",
"override",
"{",
"unsigned",
"NumOps",
"=",
"Inst",
".",
"getNumOperands",
"(",
")",
";",
... | [
"Given",
"a",
"branch",
"instruction",
"try",
"to",
"get",
"the",
"address",
"the",
"branch",
"targets",
"."
] | [
"Nyuzi",
"0",
"1",
"1"
] | NyuziMCTargetDesc | evaluateBranch | Nyuzi | GPU | LLVM | 33,903 | 99 | 1 | [] |
[
"<s>",
"int",
"class_max_nregs",
"(",
"enum",
"reg_class",
"class",
"ATTRIBUTE_UNUSED",
",",
"enum",
"machine_mode",
"mode",
")",
"{",
"return",
"(",
"(",
"GET_MODE_SIZE",
"(",
"mode",
")",
"+",
"UNITS_PER_WORD",
"-",
"1",
")",
"/",
"UNITS_PER_WORD",
")",
";... | [
"A",
"C",
"expression",
"for",
"the",
"maximum",
"number",
"of",
"consecutive",
"registers",
"of",
"class",
"CLASS",
"needed",
"to",
"hold",
"a",
"value",
"of",
"mode",
"MODE",
"."
] | [
"avr",
"1"
] | avr3 | class_max_nregs | avr | MPU | GCC | 33,904 | 30 | 1 | [] |
[
"<s>",
"static",
"void",
"register_vector_type",
"(",
"vector_type_index",
"type",
")",
"{",
"tree",
"vectype",
"=",
"abi_vector_types",
"[",
"type",
"]",
";",
"if",
"(",
"!",
"vectype",
")",
"return",
";",
"tree",
"id",
"=",
"get_identifier",
"(",
"vector_t... | [
"Register",
"vector",
"type",
"TYPE",
"under",
"its",
"risv_vector.h",
"name",
"."
] | [
"riscv"
] | riscv-vector-builtins | register_vector_type | riscv | CPU | GCC | 33,905 | 118 | 1 | [] |
[
"<s>",
"void",
"X86FrameLowering",
"::",
"inlineStackProbe",
"(",
"MachineFunction",
"&",
"MF",
",",
"MachineBasicBlock",
"&",
"PrologMBB",
")",
"const",
"{",
"const",
"StringRef",
"ChkStkStubSymbol",
"=",
"\"__chkstk_stub\"",
";",
"MachineInstr",
"*",
"ChkStkStub",
... | [
"Replace",
"a",
"StackProbe",
"inline-stub",
"with",
"the",
"actual",
"probe",
"code",
"inline",
"."
] | [
"X86",
"X86",
"\"__chkstk_stub\"",
"0",
"0",
"\"Not expecting bundled instructions here\"",
"\"MBBI expected after __chkstk_stub.\""
] | X86FrameLowering (2)2 | inlineStackProbe | X86 | CPU | LLVM | 33,906 | 158 | 1 | [] |
[
"<s>",
"const",
"uint32_t",
"*",
"ARMBaseRegisterInfo",
"::",
"getCallPreservedMask",
"(",
"CallingConv",
"::",
"ID",
"CC",
")",
"const",
"{",
"if",
"(",
"STI",
".",
"isTargetNaCl",
"(",
")",
")",
"return",
"CSR_NaCl_RegMask",
";",
"if",
"(",
"CC",
"==",
"... | [
"Return",
"a",
"mask",
"of",
"call-preserved",
"registers",
"for",
"the",
"given",
"calling",
"convention",
"on",
"the",
"current",
"function",
"."
] | [
"ARM",
"ARM"
] | ARMBaseRegisterInfo77 | getCallPreservedMask | ARM | CPU | LLVM | 33,907 | 57 | 1 | [] |
[
"<s>",
"rtx",
"c6x_subword",
"(",
"rtx",
"op",
",",
"bool",
"high_p",
")",
"{",
"unsigned",
"int",
"byte",
";",
"machine_mode",
"mode",
";",
"mode",
"=",
"GET_MODE",
"(",
"op",
")",
";",
"if",
"(",
"mode",
"==",
"VOIDmode",
")",
"mode",
"=",
"DImode"... | [
"Return",
"one",
"word",
"of",
"double-word",
"value",
"OP",
".",
"HIGH_P",
"is",
"true",
"to",
"select",
"the",
"high",
"part",
",",
"false",
"to",
"select",
"the",
"low",
"part",
".",
"When",
"encountering",
"auto-increment",
"addressing",
",",
"we",
"ma... | [
"c6x",
"0",
"0"
] | c6x | c6x_subword | c6x | VLIW | GCC | 33,908 | 112 | 1 | [] |
[
"<s>",
"static",
"void",
"ix86_set_indirect_branch_type",
"(",
"tree",
"fndecl",
")",
"{",
"if",
"(",
"cfun",
"->",
"machine",
"->",
"indirect_branch_type",
"==",
"indirect_branch_unset",
")",
"{",
"tree",
"attr",
"=",
"lookup_attribute",
"(",
"\"indirect_branch\"",... | [
"Set",
"the",
"indirect_branch_type",
"field",
"from",
"the",
"function",
"FNDECL",
"."
] | [
"i386",
"\"indirect_branch\"",
"\"keep\"",
"0",
"\"thunk\"",
"0",
"\"thunk-inline\"",
"0",
"\"thunk-extern\"",
"0",
"\"%<-mindirect-branch=%s%> and %<-mcmodel=large%> are not \"",
"\"compatible\"",
"\"thunk-extern\"",
"\"thunk\"",
"0",
"\"%<-mindirect-branch=thunk-extern%>, \"",
"\"%... | i3867 | ix86_set_indirect_branch_type | i386 | CPU | GCC | 33,909 | 478 | 1 | [] |
[
"<s>",
"bool",
"HexagonMCChecker",
"::",
"check",
"(",
"bool",
"FullCheck",
")",
"{",
"bool",
"chkP",
"=",
"checkPredicates",
"(",
")",
";",
"bool",
"chkNV",
"=",
"checkNewValues",
"(",
")",
";",
"bool",
"chkR",
"=",
"checkRegisters",
"(",
")",
";",
"boo... | [
"Check",
"if",
"the",
"constraints",
"are",
"satisfiable",
"."
] | [
"Hexagon",
"Hexagon"
] | HexagonMCChecker2 | check | Hexagon | DSP | LLVM | 33,910 | 157 | 1 | [] |
[
"<s>",
"unsigned",
"MipsRegisterInfo",
"::",
"getPICCallReg",
"(",
")",
"{",
"return",
"Mips",
"::",
"T9",
";",
"}",
"</s>"
] | [
"Get",
"PIC",
"indirect",
"call",
"register",
"."
] | [
"Mips",
"Mips",
"Mips::T9"
] | MipsRegisterInfo (2)1 | getPICCallReg | Mips | CPU | LLVM | 33,911 | 13 | 1 | [] |
[
"<s>",
"void",
"M680x0AsmBackend",
"::",
"relaxInstruction",
"(",
"const",
"MCInst",
"&",
"Inst",
",",
"const",
"MCSubtargetInfo",
"&",
"STI",
",",
"MCInst",
"&",
"Res",
")",
"const",
"{",
"unsigned",
"RelaxedOp",
"=",
"getRelaxedOpcode",
"(",
"Inst",
")",
"... | [
"Relax",
"the",
"instruction",
"in",
"the",
"given",
"fragment",
"to",
"the",
"next",
"wider",
"instruction",
"."
] | [
"M680x0",
"M680x0",
"256",
"\"\\n\"",
"\"unexpected instruction to relax: \""
] | M680x0AsmBackend | relaxInstruction | M680x0 | MPU | LLVM | 33,912 | 87 | 1 | [] |
[
"<s>",
"MipsSubtarget",
"::",
"MipsSubtarget",
"(",
"const",
"Triple",
"&",
"TT",
",",
"const",
"std",
"::",
"string",
"&",
"CPU",
",",
"const",
"std",
"::",
"string",
"&",
"FS",
",",
"bool",
"little",
",",
"const",
"MipsTargetMachine",
"&",
"TM",
")",
... | [
"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",
"Mips",
"Mips",
"Mips",
"Mips",
"Mips",
"Mips",
"Mips",
"Mips",
"Mips",
"Mips",
"Mips",
"Mips",
"Mips",
"Mips",
"Mips",
"Mips",
"\"Code generati... | MipsSubtarget54 | MipsSubtarget | Mips | CPU | LLVM | 33,913 | 460 | 1 | [] |
[
"<s>",
"void",
"sh_init_cumulative_args",
"(",
"CUMULATIVE_ARGS",
"*",
"pcum",
",",
"tree",
"fntype",
",",
"rtx",
"libname",
"ATTRIBUTE_UNUSED",
",",
"tree",
"fndecl",
",",
"signed",
"int",
"n_named_args",
",",
"machine_mode",
"mode",
")",
"{",
"pcum",
"->",
"... | [
"Initialize",
"the",
"CUMULATIVE_ARGS",
"structure",
"."
] | [
"sh",
"0",
"0",
"0",
"0",
"0",
"1",
"0",
"1",
"1",
"0",
"0",
"4",
"0",
"4",
"4",
"0"
] | sh4 | sh_init_cumulative_args | sh | CPU | GCC | 33,914 | 321 | 1 | [] |
[
"<s>",
"static",
"hsa_status_t",
"get_gpu_agent",
"(",
"hsa_agent_t",
"agent",
",",
"void",
"*",
"data",
"__attribute__",
"(",
"(",
"unused",
")",
")",
")",
"{",
"hsa_device_type_t",
"device_type",
";",
"XHSA",
"(",
"hsa_fns",
".",
"hsa_agent_get_info_fn",
"(",
... | [
"Callback",
"of",
"hsa_iterate_agents",
".",
"Called",
"once",
"for",
"each",
"available",
"device",
",",
"and",
"returns",
"``",
"break",
"''",
"when",
"a",
"suitable",
"one",
"has",
"been",
"found",
"."
] | [
"gcn",
"\"Get agent type\""
] | gcn-run | get_gpu_agent | gcn | GPU | GCC | 33,915 | 57 | 1 | [] |
[
"<s>",
"SDValue",
"BPFTargetLowering",
"::",
"LowerCallResult",
"(",
"SDValue",
"Chain",
",",
"SDValue",
"InFlag",
",",
"CallingConv",
"::",
"ID",
"CallConv",
",",
"bool",
"IsVarArg",
",",
"const",
"SmallVectorImpl",
"<",
"ISD",
"::",
"InputArg",
">",
"&",
"In... | [
"LowerCallResult",
"-",
"Lower",
"the",
"result",
"values",
"of",
"an",
"ISD",
":",
":CALL",
"into",
"the",
"appropriate",
"copies",
"out",
"of",
"appropriate",
"physical",
"registers",
"."
] | [
"BPF",
"BPF",
"ISD::InputArg",
"16",
"2",
"\"only small returns supported\"",
"0",
"0",
"1",
"0",
"1",
"BPF",
"1",
"2",
"0"
] | BPFISelLowering29 | LowerCallResult | BPF | Virtual ISA | LLVM | 33,916 | 246 | 1 | [] |
[
"<s>",
"void",
"AArch64PassConfig",
"::",
"addPreEmitPass",
"(",
")",
"{",
"if",
"(",
"TM",
"->",
"getOptLevel",
"(",
")",
">=",
"CodeGenOpt",
"::",
"Aggressive",
"&&",
"EnableLoadStoreOpt",
")",
"addPass",
"(",
"createAArch64LoadStoreOptimizationPass",
"(",
")",
... | [
"This",
"pass",
"may",
"be",
"implemented",
"by",
"targets",
"that",
"want",
"to",
"run",
"passes",
"immediately",
"before",
"machine",
"code",
"is",
"emitted",
"."
] | [
"AArch64",
"AArch64",
"AArch64",
"AArch64",
"AArch64",
"AArch64",
"AArch64",
"AArch64"
] | AArch64TargetMachine90 | addPreEmitPass | AArch64 | CPU | LLVM | 33,917 | 139 | 1 | [] |
[
"<s>",
"void",
"SystemZRegisterInfo",
"::",
"emitEpilogue",
"(",
"MachineFunction",
"&",
"MF",
",",
"MachineBasicBlock",
"&",
"MBB",
")",
"const",
"{",
"const",
"MachineFrameInfo",
"*",
"MFI",
"=",
"MF",
".",
"getFrameInfo",
"(",
")",
";",
"const",
"TargetFram... | [
"Insert",
"epilog",
"code",
"into",
"the",
"function",
"."
] | [
"SystemZ",
"SystemZ",
"SystemZ",
"SystemZ",
"SystemZ",
"SystemZ::RET",
"0",
"\"Can only insert epilog into returning blocks\"",
"SystemZ",
"SystemZ::MOV64rmm",
"SystemZ::MOV64rm",
"\"Expected to see callee-save register restore code\"",
"SystemZ::R15D",
"\"Invalid stack frame calculation!\... | SystemZRegisterInfo13 | emitEpilogue | SystemZ | CPU | LLVM | 33,918 | 325 | 1 | [] |
[
"<s>",
"const",
"TargetRegisterClass",
"*",
"ARM64RegisterInfo",
"::",
"getCrossCopyRegClass",
"(",
"const",
"TargetRegisterClass",
"*",
"RC",
")",
"const",
"{",
"if",
"(",
"RC",
"==",
"&",
"ARM64",
"::",
"CCRRegClass",
")",
"return",
"nullptr",
";",
"return",
... | [
"getCrossCopyRegClass",
"-",
"Returns",
"a",
"legal",
"register",
"class",
"to",
"copy",
"a",
"register",
"in",
"the",
"specified",
"class",
"to",
"or",
"from",
"."
] | [
"ARM64",
"ARM64",
"ARM64::CCRRegClass"
] | ARM64RegisterInfo | getCrossCopyRegClass | ARM64 | CPU | LLVM | 33,919 | 30 | 1 | [] |
[
"<s>",
"const",
"CallLowering",
"*",
"getCallLowering",
"(",
")",
"const",
"override",
"{",
"return",
"CallLoweringInfo",
".",
"get",
"(",
")",
";",
"}",
"</s>"
] | [
"Methods",
"used",
"by",
"Global",
"ISel",
"."
] | [
"SPIRV"
] | SPIRVSubtarget | getCallLowering | SPIRV | Virtual ISA | LLVM | 33,920 | 17 | 1 | [] |
[
"<s>",
"unsigned",
"char",
"X86Subtarget",
"::",
"classifyGlobalReference",
"(",
"const",
"GlobalValue",
"*",
"GV",
",",
"const",
"Module",
"&",
"M",
")",
"const",
"{",
"if",
"(",
"TM",
".",
"getCodeModel",
"(",
")",
"==",
"CodeModel",
"::",
"Large",
"&&",... | [
"Classify",
"a",
"global",
"variable",
"reference",
"for",
"the",
"current",
"subtarget",
"according",
"to",
"how",
"we",
"should",
"reference",
"it",
"in",
"a",
"non-pcrel",
"context",
"."
] | [
"X86",
"X86",
"X86II::MO_NO_FLAG",
"128",
"X86II::MO_ABS8",
"X86II::MO_NO_FLAG",
"X86II::MO_NO_FLAG",
"X86II::MO_DLLIMPORT",
"X86II::MO_COFFSTUB",
"X86II::MO_NO_FLAG",
"X86II::MO_GOT",
"X86II::MO_NO_FLAG",
"X86II::MO_GOTPCREL",
"X86II::MO_DARWIN_NONLAZY",
"X86II::MO_DARWIN_NONLAZY_PIC_BA... | X86Subtarget3 | classifyGlobalReference | X86 | CPU | LLVM | 33,921 | 236 | 1 | [] |
[
"<s>",
"bool",
"nios2_large_constant_p",
"(",
"rtx",
"x",
")",
"{",
"return",
"(",
"nios2_symbolic_constant_p",
"(",
"x",
")",
"||",
"nios2_large_unspec_reloc_p",
"(",
"x",
")",
"||",
"(",
"CONST_INT_P",
"(",
"x",
")",
"&&",
"!",
"SMALL_INT",
"(",
"INTVAL",
... | [
"Return",
"true",
"if",
"X",
"is",
"something",
"that",
"needs",
"to",
"be",
"split",
"into",
"a",
"high/lo_sum",
"pair",
"."
] | [
"nios2"
] | nios2 | nios2_large_constant_p | nios2 | MPU | GCC | 33,922 | 37 | 1 | [] |
[
"<s>",
"static",
"void",
"xputenv",
"(",
"const",
"char",
"*",
"string",
")",
"{",
"if",
"(",
"verbose",
")",
"fprintf",
"(",
"stderr",
",",
"\"%s\\n\"",
",",
"string",
")",
";",
"putenv",
"(",
"CONST_CAST",
"(",
"char",
"*",
",",
"string",
")",
")",... | [
"Add",
"or",
"change",
"the",
"value",
"of",
"an",
"environment",
"variable",
",",
"outputting",
"the",
"change",
"to",
"standard",
"error",
"if",
"in",
"verbose",
"mode",
"."
] | [
"nvptx",
"\"%s\\n\""
] | mkoffload | xputenv | nvptx | GPU | GCC | 33,923 | 35 | 1 | [] |
[
"<s>",
"static",
"bool",
"s390_legitimate_address_p",
"(",
"machine_mode",
"mode",
",",
"rtx",
"addr",
",",
"bool",
"strict",
")",
"{",
"struct",
"s390_address",
"ad",
";",
"if",
"(",
"TARGET_Z10",
"&&",
"larl_operand",
"(",
"addr",
",",
"VOIDmode",
")",
"&&... | [
"Return",
"true",
"if",
"ADDR",
"is",
"a",
"valid",
"memory",
"address",
".",
"STRICT",
"specifies",
"whether",
"strict",
"register",
"checking",
"applies",
"."
] | [
"s390"
] | s390 | s390_legitimate_address_p | s390 | MPU | GCC | 33,924 | 217 | 1 | [] |
[
"<s>",
"static",
"void",
"mips16_load_branch_target",
"(",
"rtx",
"dest",
",",
"rtx",
"src",
")",
"{",
"if",
"(",
"TARGET_ABICALLS",
"&&",
"!",
"TARGET_ABSOLUTE_ABICALLS",
")",
"{",
"rtx",
"page",
",",
"low",
";",
"if",
"(",
"mips_cfun_has_cprestore_slot_p",
"... | [
"Emit",
"code",
"to",
"load",
"LABEL_REF",
"SRC",
"into",
"MIPS16",
"register",
"DEST",
".",
"This",
"is",
"called",
"very",
"late",
"in",
"mips_reorg",
",",
"but",
"the",
"caller",
"is",
"required",
"to",
"run",
"mips16_lay_out_constants",
"on",
"the",
"res... | [
"mips"
] | mips | mips16_load_branch_target | mips | CPU | GCC | 33,925 | 125 | 1 | [] |
[
"<s>",
"static",
"void",
"adjust_subreg_index",
"(",
"rtx",
"op",
")",
"{",
"enum",
"rtx_code",
"code",
"=",
"GET_CODE",
"(",
"op",
")",
";",
"if",
"(",
"code",
"==",
"SUBREG",
"&&",
"(",
"GET_MODE_SIZE",
"(",
"GET_MODE",
"(",
"op",
")",
")",
"<",
"G... | [
"Find",
"all",
"subregs",
"of",
"a",
"vector",
"expression",
"that",
"perform",
"a",
"narrowing",
",",
"and",
"adjust",
"the",
"subreg",
"index",
"to",
"account",
"for",
"doubleword",
"swapping",
"."
] | [
"rs6000",
"0",
"8",
"8",
"8",
"0",
"0"
] | rs6000-p8swap | adjust_subreg_index | rs6000 | CPU | GCC | 33,926 | 177 | 1 | [] |
[
"<s>",
"static",
"void",
"rs6000_expand_vector_set_var_p9",
"(",
"rtx",
"target",
",",
"rtx",
"val",
",",
"rtx",
"idx",
")",
"{",
"machine_mode",
"mode",
"=",
"GET_MODE",
"(",
"target",
")",
";",
"gcc_assert",
"(",
"VECTOR_MEM_VSX_P",
"(",
"mode",
")",
"&&",... | [
"Insert",
"VAL",
"into",
"IDX",
"of",
"TARGET",
",",
"VAL",
"size",
"is",
"same",
"of",
"the",
"vector",
"element",
",",
"IDX",
"is",
"variable",
"and",
"also",
"counts",
"by",
"vector",
"element",
"size",
"for",
"p9",
"and",
"above",
"."
] | [
"rs6000",
"1",
"8",
"1",
"0"
] | rs6000 | rs6000_expand_vector_set_var_p9 | rs6000 | CPU | GCC | 33,927 | 292 | 1 | [] |
[
"<s>",
"CCAssignFn",
"*",
"AMDGPUTargetLowering",
"::",
"CCAssignFnForReturn",
"(",
"CallingConv",
"::",
"ID",
"CC",
",",
"bool",
"IsVarArg",
")",
"{",
"return",
"AMDGPUCallLowering",
"::",
"CCAssignFnForReturn",
"(",
"CC",
",",
"IsVarArg",
")",
";",
"}",
"</s>"... | [
"Selects",
"the",
"correct",
"CCAssignFn",
"for",
"a",
"given",
"CallingConvention",
"value",
"."
] | [
"AMDGPU",
"AMDGPU",
"AMDGPU"
] | AMDGPUISelLowering (2)1 | CCAssignFnForReturn | AMDGPU | GPU | LLVM | 33,928 | 26 | 1 | [] |
[
"<s>",
"Value",
"*",
"GCNTTIImpl",
"::",
"rewriteIntrinsicWithAddressSpace",
"(",
"IntrinsicInst",
"*",
"II",
",",
"Value",
"*",
"OldV",
",",
"Value",
"*",
"NewV",
")",
"const",
"{",
"auto",
"IntrID",
"=",
"II",
"->",
"getIntrinsicID",
"(",
")",
";",
"swit... | [
"Rewrite",
"intrinsic",
"call",
"II",
"such",
"that",
"OldV",
"will",
"be",
"replaced",
"with",
"NewV",
",",
"which",
"has",
"a",
"different",
"address",
"space",
"."
] | [
"AMDGPU",
"Intrinsic::amdgcn_atomic_inc",
"Intrinsic::amdgcn_atomic_dec",
"Intrinsic::amdgcn_ds_fadd",
"Intrinsic::amdgcn_ds_fmin",
"Intrinsic::amdgcn_ds_fmax",
"4",
"Intrinsic::getDeclaration",
"0",
"Intrinsic::amdgcn_is_shared",
"Intrinsic::amdgcn_is_private",
"Intrinsic::amdgcn_is_shared",
... | AMDGPUTargetTransformInfo (2)1 | rewriteIntrinsicWithAddressSpace | AMDGPU | GPU | LLVM | 33,929 | 470 | 1 | [] |
[
"<s>",
"DEBUG_FUNCTION",
"static",
"void",
"debug_insn_dispatch_info_file",
"(",
"FILE",
"*",
"file",
",",
"rtx_insn",
"*",
"insn",
")",
"{",
"int",
"byte_len",
";",
"enum",
"insn_path",
"path",
";",
"enum",
"dispatch_group",
"group",
";",
"int",
"imm_size",
"... | [
"Print",
"INSN",
"dispatch",
"information",
"to",
"FILE",
"."
] | [
"i386",
"0",
"\" insn info:\\n\"",
"\" group = %s, path = %d, byte_len = %d\\n\"",
"\" num_imm = %d, num_imm_32 = %d, num_imm_64 = %d, imm_size = %d\\n\""
] | i3864 | debug_insn_dispatch_info_file | i386 | CPU | GCC | 33,930 | 124 | 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",
"."
] | [
"VE",
"\"Invalid fixup offset!\"",
"0",
"support::little",
"1",
"8",
"0xff"
] | VEAsmBackend | applyFixup | VE | CPU | LLVM | 33,931 | 173 | 1 | [] |
[
"<s>",
"static",
"rtx_insn",
"*",
"pdp11_md_asm_adjust",
"(",
"vec",
"<",
"rtx",
">",
"&",
",",
"vec",
"<",
"rtx",
">",
"&",
",",
"vec",
"<",
"machine_mode",
">",
"&",
",",
"vec",
"<",
"const",
"char",
"*",
">",
"&",
",",
"vec",
"<",
"rtx",
">",
... | [
"Prepend",
"to",
"CLOBBERS",
"hard",
"registers",
"that",
"are",
"automatically",
"clobbered",
"for",
"an",
"asm",
"We",
"do",
"this",
"for",
"CC_REGNUM",
"and",
"FCC_REGNUM",
"(",
"on",
"FPU",
"target",
")",
"to",
"maintain",
"source",
"compatibility",
"with"... | [
"pdp11"
] | pdp11 | pdp11_md_asm_adjust | pdp11 | MPU | GCC | 33,932 | 93 | 1 | [] |
[
"<s>",
"void",
"SIScheduleBlockScheduler",
"::",
"addLiveRegs",
"(",
"std",
"::",
"set",
"<",
"unsigned",
">",
"&",
"Regs",
")",
"{",
"for",
"(",
"unsigned",
"Reg",
":",
"Regs",
")",
"{",
"if",
"(",
"!",
"Register",
"::",
"isVirtualRegister",
"(",
"Reg",... | [
"Force",
"liveness",
"of",
"virtual",
"registers",
"or",
"physical",
"register",
"units",
"."
] | [
"AMDGPU",
"SI"
] | SIMachineScheduler22 | addLiveRegs | AMDGPU | GPU | LLVM | 33,933 | 47 | 1 | [] |
[
"<s>",
"SUnit",
"*",
"GCNMaxOccupancySchedStrategy",
"::",
"pickNode",
"(",
"bool",
"&",
"IsTopNode",
")",
"{",
"if",
"(",
"DAG",
"->",
"top",
"(",
")",
"==",
"DAG",
"->",
"bottom",
"(",
")",
")",
"{",
"assert",
"(",
"Top",
".",
"Available",
".",
"em... | [
"Pick",
"the",
"next",
"node",
"to",
"schedule",
",",
"or",
"return",
"NULL",
"."
] | [
"AMDGPU",
"\"ReadyQ garbage\"",
"\"failed to find a candidate\"",
"\"failed to find a candidate\"",
"\"Scheduling SU(\"",
"\") \""
] | GCNSchedStrategy | pickNode | AMDGPU | GPU | LLVM | 33,934 | 286 | 1 | [] |
[
"<s>",
"RISCVConstantPoolValue",
"*",
"RISCVConstantPoolValue",
"::",
"Create",
"(",
"const",
"GlobalValue",
"*",
"GV",
",",
"RISCVCP",
"::",
"RISCVCPModifier",
"Modifier",
")",
"{",
"return",
"new",
"RISCVConstantPoolValue",
"(",
"GV",
",",
"Modifier",
")",
";",
... | [
"Construct",
"a",
"unary",
"instruction",
",",
"given",
"the",
"opcode",
"and",
"an",
"operand",
"."
] | [
"RISCV",
"RISCV",
"RISCV",
"RISCVCP::RISCVCPModifier",
"RISCV"
] | RISCVConstantPoolValue | Create | RISCV | CPU | LLVM | 33,935 | 27 | 1 | [] |
[
"<s>",
"bool",
"WinEHStatePass",
"::",
"runOnFunction",
"(",
"Function",
"&",
"F",
")",
"{",
"StringRef",
"WinEHParentName",
"=",
"F",
".",
"getFnAttribute",
"(",
"\"wineh-parent\"",
")",
".",
"getValueAsString",
"(",
")",
";",
"if",
"(",
"WinEHParentName",
"!... | [
"runOnFunction",
"-",
"Virtual",
"method",
"overriden",
"by",
"subclasses",
"to",
"do",
"the",
"per-function",
"processing",
"of",
"the",
"pass",
"."
] | [
"X86",
"\"wineh-parent\"",
"\"no-frame-pointer-elim\"",
"\"true\"",
"\"unexpected personality function\"",
"X86"
] | X86WinEHState28 | runOnFunction | X86 | CPU | LLVM | 33,936 | 228 | 1 | [] |
[
"<s>",
"static",
"const",
"char",
"*",
"output_probe_stack_range_stack_clash",
"(",
"rtx",
"reg1",
",",
"rtx",
"reg2",
",",
"rtx",
"reg3",
")",
"{",
"static",
"int",
"labelno",
"=",
"0",
";",
"char",
"loop_lab",
"[",
"32",
"]",
";",
"rtx",
"xops",
"[",
... | [
"Probe",
"a",
"range",
"of",
"stack",
"addresses",
"from",
"REG1",
"to",
"REG3",
"inclusive",
".",
"These",
"are",
"addresses",
",",
"not",
"offsets",
".",
"REG2",
"contains",
"the",
"backchain",
"that",
"must",
"be",
"stored",
"into",
"*",
"sp",
"at",
"... | [
"rs6000",
"0",
"32",
"3",
"\"LPSRL\"",
"0",
"1",
"2",
"\"stdu %1,%2(%0)\"",
"\"stwu %1,%2(%0)\"",
"0",
"1",
"\"cmpd 0,%0,%1\"",
"\"cmpw 0,%0,%1\"",
"\"\\tbne 0,\"",
"\"\""
] | rs6000-logue | output_probe_stack_range_stack_clash | rs6000 | CPU | GCC | 33,937 | 160 | 1 | [] |
[
"<s>",
"bool",
"shouldBuildRelLookupTables",
"(",
")",
"const",
"{",
"return",
"false",
";",
"}",
"</s>"
] | [
"Return",
"true",
"if",
"lookup",
"tables",
"should",
"be",
"turned",
"into",
"relative",
"lookup",
"tables",
"."
] | [
"VE"
] | VETargetTransformInfo | shouldBuildRelLookupTables | VE | CPU | LLVM | 33,938 | 10 | 1 | [] |
[
"<s>",
"static",
"enum",
"machine_mode",
"hfa_element_mode",
"(",
"tree",
"type",
",",
"bool",
"nested",
")",
"{",
"enum",
"machine_mode",
"element_mode",
"=",
"VOIDmode",
";",
"enum",
"machine_mode",
"mode",
";",
"enum",
"tree_code",
"code",
"=",
"TREE_CODE",
... | [
"Check",
"whether",
"TYPE",
"is",
"a",
"homogeneous",
"floating",
"point",
"aggregate",
".",
"If",
"it",
"is",
",",
"return",
"the",
"mode",
"of",
"the",
"floating",
"point",
"type",
"that",
"appears",
"in",
"all",
"leafs",
".",
"If",
"it",
"is",
"not",
... | [
"ia64",
"0",
"1",
"1",
"1"
] | ia643 | hfa_element_mode | ia64 | CPU | GCC | 33,939 | 281 | 1 | [] |
[
"<s>",
"static",
"void",
"report_not_enum",
"(",
"location_t",
"location",
",",
"tree",
"fndecl",
",",
"unsigned",
"int",
"argno",
",",
"HOST_WIDE_INT",
"actual",
",",
"tree",
"enumtype",
")",
"{",
"error_at",
"(",
"location",
",",
"\"passing %wd to argument %d of... | [
"Report",
"that",
"LOCATION",
"has",
"a",
"call",
"to",
"FNDECL",
"in",
"which",
"argument",
"ARGNO",
"has",
"the",
"value",
"ACTUAL",
",",
"whereas",
"the",
"function",
"requires",
"a",
"valid",
"value",
"of",
"enum",
"type",
"ENUMTYPE",
".",
"ARGNO",
"co... | [
"aarch64",
"\"passing %wd to argument %d of %qE, which expects\"",
"\" a valid %qT value\"",
"1"
] | aarch64-sve-builtins | report_not_enum | aarch64 | CPU | GCC | 33,940 | 40 | 1 | [] |
[
"<s>",
"static",
"void",
"nvptx_assemble_value",
"(",
"HOST_WIDE_INT",
"val",
",",
"unsigned",
"int",
"size",
")",
"{",
"unsigned",
"HOST_WIDE_INT",
"chunk_offset",
"=",
"decl_offset",
"%",
"decl_chunk_size",
";",
"gcc_assert",
"(",
"!",
"object_finished",
")",
";... | [
"Add",
"value",
"VAL",
"sized",
"SIZE",
"to",
"the",
"data",
"we",
"'re",
"emitting",
",",
"and",
"keep",
"writing",
"out",
"chunks",
"as",
"they",
"fill",
"up",
"."
] | [
"nvptx",
"0",
"2",
"1",
"1",
"0",
"0"
] | nvptx2 | nvptx_assemble_value | nvptx | GPU | GCC | 33,941 | 120 | 1 | [] |
[
"<s>",
"bool",
"isReg",
"(",
")",
"const",
"override",
"{",
"return",
"Kind",
"==",
"k_Register",
";",
"}",
"</s>"
] | [
"isReg",
"-",
"Is",
"this",
"a",
"register",
"operand",
"?"
] | [
"ARM"
] | ARMAsmParser (2) | isReg | ARM | CPU | LLVM | 33,942 | 13 | 1 | [] |
[
"<s>",
"static",
"bool",
"ix86_vector_mode_supported_p",
"(",
"machine_mode",
"mode",
")",
"{",
"if",
"(",
"!",
"TARGET_64BIT",
"&&",
"GET_MODE_INNER",
"(",
"mode",
")",
"==",
"TImode",
")",
"return",
"false",
";",
"if",
"(",
"TARGET_SSE",
"&&",
"VALID_SSE_REG... | [
"Implements",
"target",
"hook",
"vector_mode_supported_p",
"."
] | [
"i386"
] | i386 | ix86_vector_mode_supported_p | i386 | CPU | GCC | 33,943 | 116 | 1 | [] |
[
"<s>",
"bool",
"ARMCallLowering",
"::",
"lowerReturn",
"(",
"MachineIRBuilder",
"&",
"MIRBuilder",
",",
"const",
"Value",
"*",
"Val",
",",
"unsigned",
"VReg",
")",
"const",
"{",
"assert",
"(",
"!",
"Val",
"==",
"!",
"VReg",
"&&",
"\"Return value without a vreg... | [
"This",
"hook",
"behaves",
"as",
"the",
"extended",
"lowerReturn",
"function",
",",
"but",
"for",
"targets",
"that",
"do",
"not",
"support",
"swifterror",
"value",
"promotion",
"."
] | [
"ARM",
"ARM",
"\"Return value without a vreg\"",
"ARM",
"ARMCC::AL"
] | ARMCallLowering13 | lowerReturn | ARM | CPU | LLVM | 33,944 | 105 | 1 | [] |
[
"<s>",
"enum",
"non_prefixed_form",
"reg_to_non_prefixed",
"(",
"rtx",
"reg",
",",
"machine_mode",
"mode",
")",
"{",
"if",
"(",
"!",
"REG_P",
"(",
"reg",
")",
"&&",
"!",
"SUBREG_P",
"(",
"reg",
")",
")",
"return",
"NON_PREFIXED_DEFAULT",
";",
"unsigned",
"... | [
"Helper",
"function",
"to",
"take",
"a",
"REG",
"and",
"a",
"MODE",
"and",
"turn",
"it",
"into",
"the",
"non-prefixed",
"instruction",
"format",
"(",
"D/DS/DQ",
")",
"used",
"for",
"offset",
"memory",
"."
] | [
"rs6000",
"8",
"8",
"16",
"8",
"8",
"16",
"8"
] | rs6000 | reg_to_non_prefixed | rs6000 | CPU | GCC | 33,945 | 233 | 1 | [] |
[
"<s>",
"static",
"bool",
"rs6000_output_addr_const_extra",
"(",
"FILE",
"*",
"file",
",",
"rtx",
"x",
")",
"{",
"if",
"(",
"GET_CODE",
"(",
"x",
")",
"==",
"UNSPEC",
")",
"switch",
"(",
"XINT",
"(",
"x",
",",
"1",
")",
")",
"{",
"case",
"UNSPEC_TOCRE... | [
"Implement",
"TARGET_ASM_OUTPUT_ADDR_CONST_EXTRA",
"."
] | [
"rs6000",
"1",
"0",
"0",
"0",
"1",
"0",
"1",
"0",
"0",
"0",
"\"+\"",
"\"@toc\"",
"0",
"0"
] | rs60004 | rs6000_output_addr_const_extra | rs6000 | CPU | GCC | 33,946 | 208 | 1 | [] |
[
"<s>",
"bool",
"MipsTargetLowering",
"::",
"CanLowerReturn",
"(",
"CallingConv",
"::",
"ID",
"CallConv",
",",
"MachineFunction",
"&",
"MF",
",",
"bool",
"isVarArg",
",",
"const",
"SmallVectorImpl",
"<",
"ISD",
"::",
"OutputArg",
">",
"&",
"Outs",
",",
"LLVMCon... | [
"This",
"hook",
"should",
"be",
"implemented",
"to",
"check",
"whether",
"the",
"return",
"values",
"described",
"by",
"the",
"Outs",
"array",
"can",
"fit",
"into",
"the",
"return",
"registers",
"."
] | [
"Mips",
"Mips",
"ISD::OutputArg",
"16",
"Mips"
] | MipsISelLowering101 | CanLowerReturn | Mips | CPU | LLVM | 33,947 | 70 | 1 | [] |
[
"<s>",
"int",
"ix86_issue_rate",
"(",
"void",
")",
"{",
"switch",
"(",
"ix86_tune",
")",
"{",
"case",
"PROCESSOR_PENTIUM",
":",
"case",
"PROCESSOR_LAKEMONT",
":",
"case",
"PROCESSOR_BONNELL",
":",
"case",
"PROCESSOR_SILVERMONT",
":",
"case",
"PROCESSOR_KNL",
":",
... | [
"Return",
"the",
"maximum",
"number",
"of",
"instructions",
"a",
"cpu",
"can",
"issue",
"."
] | [
"i386",
"2",
"3",
"4",
"1"
] | x86-tune-sched | ix86_issue_rate | i386 | CPU | GCC | 33,948 | 117 | 1 | [] |
[
"<s>",
"void",
"F2003fInstPrinter",
"::",
"printRegName",
"(",
"raw_ostream",
"&",
"OS",
",",
"unsigned",
"RegNo",
")",
"const",
"{",
"OS",
"<<",
"getRegisterName",
"(",
"RegNo",
")",
";",
"}",
"</s>"
] | [
"Print",
"the",
"assembler",
"register",
"name",
"."
] | [
"F2003f",
"F2003f"
] | F2003fInstPrinter | printRegName | F2003f | CPU | LLVM | 33,949 | 22 | 1 | [] |
[
"<s>",
"unsigned",
"ARCInstrInfo",
"::",
"insertBranch",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"*",
"TBB",
",",
"MachineBasicBlock",
"*",
"FBB",
",",
"ArrayRef",
"<",
"MachineOperand",
">",
"Cond",
",",
"const",
"DebugLoc",
"&",
"DL",
... | [
"Insert",
"branch",
"code",
"into",
"the",
"end",
"of",
"the",
"specified",
"MachineBasicBlock",
"."
] | [
"ARC",
"ARC",
"\"Code size not handled.\"",
"\"insertBranch must not be told to insert a fallthrough\"",
"3",
"0",
"\"ARC branch conditions have two components!\"",
"ARC::BR",
"1",
"1",
"ARC::BRcc_ru6_p",
"ARC::BRcc_rr_p",
"0",
"3",
"1",
"ARC::BR",
"2"
] | ARCInstrInfo4 | insertBranch | ARC | MPU | LLVM | 33,950 | 208 | 1 | [] |
[
"<s>",
"TargetLowering",
"::",
"ConstraintType",
"MSP430TargetLowering",
"::",
"getConstraintType",
"(",
"StringRef",
"Constraint",
")",
"const",
"{",
"if",
"(",
"Constraint",
".",
"size",
"(",
")",
"==",
"1",
")",
"{",
"switch",
"(",
"Constraint",
"[",
"0",
... | [
"Given",
"a",
"constraint",
"letter",
",",
"return",
"the",
"type",
"of",
"constraint",
"for",
"this",
"target",
"."
] | [
"MSP430",
"MSP430",
"1",
"0"
] | MSP430ISelLowering (2) | getConstraintType | MSP430 | MPU | LLVM | 33,951 | 52 | 1 | [] |
[
"<s>",
"const",
"PPCInstrInfo",
"*",
"getInstrInfo",
"(",
")",
"const",
"override",
"{",
"return",
"&",
"InstrInfo",
";",
"}",
"</s>"
] | [
"TargetInstrInfo",
"getter",
"."
] | [
"PowerPC",
"PPC"
] | PPCSubtarget (2)1 | getInstrInfo | PowerPC | CPU | LLVM | 33,952 | 14 | 1 | [] |
[
"<s>",
"StringRef",
"getPassName",
"(",
")",
"const",
"override",
"{",
"return",
"\"TPC Software Loop Pipelining\"",
";",
"}",
"</s>"
] | [
"getPassName",
"-",
"Return",
"a",
"nice",
"clean",
"name",
"for",
"a",
"pass",
"."
] | [
"TPC",
"\"TPC Software Loop Pipelining\""
] | TPCSoftwareLoopPipelining | getPassName | TPC | Virtual ISA | LLVM | 33,953 | 11 | 1 | [] |
[
"<s>",
"static",
"void",
"replace_auli_pcrel",
"(",
"rtx_insn",
"*",
"insn",
")",
"{",
"rtx",
"pattern",
"=",
"PATTERN",
"(",
"insn",
")",
";",
"rtx",
"set_src",
";",
"rtx",
"high",
";",
"rtx",
"unspec",
";",
"rtx",
"opnds",
"[",
"4",
"]",
";",
"bool... | [
"Helper",
"function",
"for",
"tilepro_fixup_pcrel_references",
"."
] | [
"tilepro",
"4",
"0",
"1",
"0",
"1",
"0",
"0",
"0",
"1",
"2",
"0",
"0",
"3",
"0",
"1",
"2",
"1"
] | tilepro | replace_auli_pcrel | tilepro | VLIW | GCC | 33,954 | 219 | 1 | [] |
[
"<s>",
"static",
"int",
"arm_compute_static_chain_stack_bytes",
"(",
"void",
")",
"{",
"if",
"(",
"TARGET_APCS_FRAME",
"&&",
"frame_pointer_needed",
"&&",
"TARGET_ARM",
"&&",
"IS_NESTED",
"(",
"arm_current_func_type",
"(",
")",
")",
"&&",
"arm_r3_live_at_start_p",
"("... | [
"Compute",
"the",
"number",
"of",
"bytes",
"used",
"to",
"store",
"the",
"static",
"chain",
"register",
"on",
"the",
"stack",
",",
"above",
"the",
"stack",
"frame",
".",
"We",
"need",
"to",
"know",
"this",
"accurately",
"to",
"get",
"the",
"alignment",
"... | [
"arm",
"0",
"4",
"0"
] | arm4 | arm_compute_static_chain_stack_bytes | arm | CPU | GCC | 33,955 | 41 | 1 | [] |
[
"<s>",
"static",
"void",
"nios2_asm_output_mi_thunk",
"(",
"FILE",
"*",
"file",
",",
"tree",
"thunk_fndecl",
"ATTRIBUTE_UNUSED",
",",
"HOST_WIDE_INT",
"delta",
",",
"HOST_WIDE_INT",
"vcall_offset",
",",
"tree",
"function",
")",
"{",
"rtx",
"this_rtx",
",",
"funexp... | [
"Implement",
"TARGET_ASM_OUTPUT_MI_THUNK",
"."
] | [
"nios2",
"1",
"1",
"2",
"1",
"0",
"2",
"1",
"1",
"1",
"0"
] | nios22 | nios2_asm_output_mi_thunk | nios2 | MPU | GCC | 33,956 | 254 | 1 | [] |
[
"<s>",
"bool",
"NVPTXTargetLowering",
"::",
"getTgtMemIntrinsic",
"(",
"IntrinsicInfo",
"&",
"Info",
",",
"const",
"CallInst",
"&",
"I",
",",
"unsigned",
"Intrinsic",
")",
"const",
"{",
"switch",
"(",
"Intrinsic",
")",
"{",
"default",
":",
"return",
"false",
... | [
"Given",
"an",
"intrinsic",
",",
"checks",
"if",
"on",
"the",
"target",
"the",
"intrinsic",
"will",
"need",
"to",
"map",
"to",
"a",
"MemIntrinsicNode",
"(",
"touches",
"memory",
")",
"."
] | [
"NVPTX",
"NVPTX",
"Intrinsic::nvvm_atomic_load_add_f32",
"ISD::INTRINSIC_W_CHAIN",
"MVT::f32",
"0",
"0",
"0",
"0",
"Intrinsic::nvvm_atomic_load_inc_32",
"Intrinsic::nvvm_atomic_load_dec_32",
"ISD::INTRINSIC_W_CHAIN",
"MVT::i32",
"0",
"0",
"0",
"0",
"Intrinsic::nvvm_ldu_global_i",
... | NVPTXISelLowering22 | getTgtMemIntrinsic | NVPTX | GPU | LLVM | 33,957 | 288 | 1 | [] |
[
"<s>",
"void",
"AGCMCELFStreamer",
"::",
"EmitInstruction",
"(",
"const",
"MCInst",
"&",
"Inst",
",",
"const",
"MCSubtargetInfo",
"&",
"STI",
",",
"bool",
")",
"{",
"switch",
"(",
"Inst",
".",
"getOpcode",
"(",
")",
")",
"{",
"default",
":",
"break",
";"... | [
"EmitInstruction",
"-",
"This",
"callback",
"is",
"invoked",
"when",
"an",
"instruction",
"is",
"emitted",
",",
"to",
"advance",
"the",
"hazard",
"state",
"."
] | [
"AGC",
"AGC",
"AGC::DirectiveBLOCK",
"0",
"0",
"\"BLOCK0\"",
"\"BANK\"",
"AGC::DirectiveBANK",
"\"BANK\"",
"0",
"AGC::DirectiveBNKSUM",
"AGC::DirectiveSETLOC",
"\"ADDR\"",
"0"
] | AGCMCELFStreamer | EmitInstruction | AGC | MPU | LLVM | 33,958 | 262 | 1 | [] |
[
"<s>",
"bool",
"h8300_operands_match_p",
"(",
"rtx",
"*",
"operands",
")",
"{",
"if",
"(",
"register_operand",
"(",
"operands",
"[",
"0",
"]",
",",
"VOIDmode",
")",
"&&",
"register_operand",
"(",
"operands",
"[",
"1",
"]",
",",
"VOIDmode",
")",
")",
"ret... | [
"Return",
"true",
"if",
"OPERANDS",
"[",
"1",
"]",
"can",
"be",
"mapped",
"to",
"the",
"same",
"assembly",
"operand",
"as",
"OPERANDS",
"[",
"0",
"]",
"."
] | [
"h8300",
"0",
"1",
"0",
"1"
] | h8300 | h8300_operands_match_p | h8300 | MPU | GCC | 33,959 | 55 | 1 | [] |
[
"<s>",
"SDValue",
"XtensaTargetLowering",
"::",
"LowerOperation",
"(",
"SDValue",
"Op",
",",
"SelectionDAG",
"&",
"DAG",
")",
"const",
"{",
"LLVM_DEBUG",
"(",
"dbgs",
"(",
")",
"<<",
"\"Custom lowering: \"",
")",
";",
"LLVM_DEBUG",
"(",
"Op",
".",
"dump",
"(... | [
"LowerOperation",
"-",
"Provide",
"custom",
"lowering",
"hooks",
"for",
"some",
"operations",
"."
] | [
"Xtensa",
"Xtensa",
"\"Custom lowering: \"",
"ISD::BR_CC",
"\"unimplemented operand\""
] | XtensaISelLowering | LowerOperation | Xtensa | MPU | LLVM | 33,960 | 68 | 1 | [] |
[
"<s>",
"static",
"rtx",
"find_addr_reg",
"(",
"rtx",
"addr",
")",
"{",
"while",
"(",
"GET_CODE",
"(",
"addr",
")",
"==",
"PLUS",
")",
"{",
"if",
"(",
"GET_CODE",
"(",
"XEXP",
"(",
"addr",
",",
"0",
")",
")",
"==",
"REG",
")",
"addr",
"=",
"XEXP",... | [
"Return",
"a",
"REG",
"that",
"occurs",
"in",
"ADDR",
"with",
"coefficient",
"1",
".",
"ADDR",
"can",
"be",
"effectively",
"incremented",
"by",
"incrementing",
"REG",
".",
"r0",
"is",
"special",
"and",
"we",
"must",
"not",
"select",
"it",
"as",
"an",
"ad... | [
"pa",
"0",
"0",
"1",
"1",
"0",
"1",
"1",
"0"
] | pa | find_addr_reg | pa | CPU | GCC | 33,961 | 129 | 1 | [] |
[
"<s>",
"static",
"bool",
"rs6000_discover_homogeneous_aggregate",
"(",
"machine_mode",
"mode",
",",
"const_tree",
"type",
",",
"machine_mode",
"*",
"elt_mode",
",",
"int",
"*",
"n_elts",
")",
"{",
"if",
"(",
"TARGET_HARD_FLOAT",
"&&",
"DEFAULT_ABI",
"==",
"ABI_ELF... | [
"If",
"an",
"argument",
",",
"whose",
"type",
"is",
"described",
"by",
"TYPE",
"and",
"MODE",
",",
"is",
"a",
"homogeneous",
"float",
"or",
"vector",
"aggregate",
"that",
"shall",
"be",
"passed",
"in",
"FP/vector",
"registers",
"according",
"to",
"the",
"E... | [
"rs6000",
"0",
"16",
"8",
"1"
] | rs60008 | rs6000_discover_homogeneous_aggregate | rs6000 | CPU | GCC | 33,962 | 140 | 1 | [] |
[
"<s>",
"int",
"direct_return",
"(",
"void",
")",
"{",
"if",
"(",
"!",
"reload_completed",
")",
"return",
"FALSE",
";",
"if",
"(",
"M32R_INTERRUPT_P",
"(",
"m32r_compute_function_type",
"(",
"current_function_decl",
")",
")",
")",
"return",
"FALSE",
";",
"if",
... | [
"Return",
"non-zero",
"if",
"this",
"function",
"is",
"known",
"to",
"have",
"a",
"null",
"epilogue",
"."
] | [
"m32r",
"0"
] | m32r | direct_return | m32r | MPU | GCC | 33,963 | 49 | 1 | [] |
[
"<s>",
"rtx",
"mep_mulr_source",
"(",
"rtx_insn",
"*",
"insn",
",",
"rtx",
"dest",
",",
"rtx",
"src1",
",",
"rtx",
"src2",
")",
"{",
"if",
"(",
"rtx_equal_p",
"(",
"dest",
",",
"src1",
")",
")",
"return",
"src2",
";",
"else",
"if",
"(",
"rtx_equal_p"... | [
"Given",
"three",
"integer",
"registers",
"DEST",
",",
"SRC1",
"and",
"SRC2",
",",
"return",
"an",
"rtx",
"X",
"such",
"that",
"``",
"mulr",
"DEST",
",",
"X",
"''",
"will",
"calculate",
"DEST",
"=",
"SRC1",
"*",
"SRC2",
".",
"If",
"a",
"move",
"is",
... | [
"mep",
"0"
] | mep | mep_mulr_source | mep | CPU | GCC | 33,964 | 84 | 1 | [] |
[
"<s>",
"bool",
"X86PassConfig",
"::",
"addPreEmitPass",
"(",
")",
"{",
"bool",
"ShouldPrint",
"=",
"false",
";",
"if",
"(",
"getOptLevel",
"(",
")",
"!=",
"CodeGenOpt",
"::",
"None",
"&&",
"getX86Subtarget",
"(",
")",
".",
"hasSSE2",
"(",
")",
")",
"{",
... | [
"This",
"pass",
"may",
"be",
"implemented",
"by",
"targets",
"that",
"want",
"to",
"run",
"passes",
"immediately",
"before",
"machine",
"code",
"is",
"emitted",
"."
] | [
"X86",
"X86",
"X86",
"X86::VR128RegClass",
"X86",
"X86",
"X86"
] | X86TargetMachine | addPreEmitPass | X86 | CPU | LLVM | 33,965 | 98 | 1 | [] |
[
"<s>",
"static",
"void",
"frv_io_check_address",
"(",
"rtx",
"x",
",",
"const_rtx",
"pat",
"ATTRIBUTE_UNUSED",
",",
"void",
"*",
"data",
")",
"{",
"rtx",
"*",
"other",
"=",
"(",
"rtx",
"*",
")",
"data",
";",
"if",
"(",
"REG_P",
"(",
"x",
")",
"&&",
... | [
"A",
"note_stores",
"callback",
"for",
"which",
"DATA",
"points",
"to",
"an",
"rtx",
".",
"Nullify",
"*",
"DATA",
"if",
"X",
"is",
"a",
"register",
"and",
"*",
"DATA",
"depends",
"on",
"X",
"."
] | [
"frv",
"0",
"0"
] | frv | frv_io_check_address | frv | VLIW | GCC | 33,966 | 52 | 1 | [] |
[
"<s>",
"bool",
"HexagonFrameLowering",
"::",
"hasFP",
"(",
"const",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"if",
"(",
"MF",
".",
"getFunction",
"(",
")",
".",
"hasFnAttribute",
"(",
"Attribute",
"::",
"Naked",
")",
")",
"return",
"false",
";",
... | [
"hasFP",
"-",
"Return",
"true",
"if",
"the",
"specified",
"function",
"should",
"have",
"a",
"dedicated",
"frame",
"pointer",
"register",
"."
] | [
"Hexagon",
"Hexagon",
"Hexagon",
"0",
"Hexagon"
] | HexagonFrameLowering26 | hasFP | Hexagon | DSP | LLVM | 33,967 | 188 | 1 | [] |
[
"<s>",
"static",
"rtx",
"m68k_function_arg",
"(",
"cumulative_args_t",
",",
"const",
"function_arg_info",
"&",
")",
"{",
"return",
"NULL_RTX",
";",
"}",
"</s>"
] | [
"On",
"the",
"m68k",
"all",
"args",
"are",
"always",
"pushed",
"."
] | [
"m68k"
] | m68k | m68k_function_arg | m68k | MPU | GCC | 33,968 | 15 | 1 | [] |
[
"<s>",
"void",
"J2RegisterInfo",
"::",
"eliminateFrameIndex",
"(",
"MachineBasicBlock",
"::",
"iterator",
"II",
",",
"int",
"SPAdj",
",",
"unsigned",
"FIOperandNum",
",",
"RegScavenger",
"*",
"RS",
")",
"const",
"{",
"MachineInstr",
"&",
"MI",
"=",
"*",
"II",
... | [
"This",
"method",
"must",
"be",
"overriden",
"to",
"eliminate",
"abstract",
"frame",
"indices",
"from",
"instructions",
"which",
"may",
"use",
"them",
"."
] | [
"J2",
"J2",
"J2::R15"
] | J2RegisterInfo | eliminateFrameIndex | J2 | MPU | LLVM | 33,969 | 117 | 1 | [] |
[
"<s>",
"bool",
"aarch64_return_address_signing_enabled",
"(",
"void",
")",
"{",
"gcc_assert",
"(",
"cfun",
"->",
"machine",
"->",
"frame",
".",
"laid_out",
")",
";",
"return",
"(",
"aarch64_ra_sign_scope",
"==",
"AARCH64_FUNCTION_ALL",
"||",
"(",
"aarch64_ra_sign_sc... | [
"Return",
"TRUE",
"if",
"return",
"address",
"signing",
"should",
"be",
"enabled",
"for",
"the",
"current",
"function",
",",
"otherwise",
"return",
"FALSE",
"."
] | [
"aarch64",
"0"
] | aarch64 | aarch64_return_address_signing_enabled | aarch64 | CPU | GCC | 33,970 | 47 | 1 | [] |
[
"<s>",
"bool",
"ARMLoadStoreOpt",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"Fn",
")",
"{",
"const",
"TargetMachine",
"&",
"TM",
"=",
"Fn",
".",
"getTarget",
"(",
")",
";",
"TL",
"=",
"TM",
".",
"getTargetLowering",
"(",
")",
";",
"AFI",
... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"ARM",
"ARM",
"ARM",
"ARM",
"ARM"
] | ARMLoadStoreOptimizer35 | runOnMachineFunction | ARM | CPU | LLVM | 33,971 | 184 | 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",
"PPC::R29",
... | PPCRegisterInfo76 | getReservedRegs | PowerPC | CPU | LLVM | 33,972 | 406 | 1 | [] |
[
"<s>",
"void",
"AArch64TargetLowering",
"::",
"LowerAsmOperandForConstraint",
"(",
"SDValue",
"Op",
",",
"std",
"::",
"string",
"&",
"Constraint",
",",
"std",
"::",
"vector",
"<",
"SDValue",
">",
"&",
"Ops",
",",
"SelectionDAG",
"&",
"DAG",
")",
"const",
"{"... | [
"Lower",
"the",
"specified",
"operand",
"into",
"the",
"Ops",
"vector",
"."
] | [
"AArch64",
"AArch64",
"0",
"0",
"1",
"0",
"0",
"\"Unimplemented C_Other constraint\"",
"0xfff",
"32",
"64",
"0",
"0",
"0",
"0",
"0.0",
"0.0",
"0"
] | AArch64ISelLowering113 | LowerAsmOperandForConstraint | AArch64 | CPU | LLVM | 33,973 | 427 | 1 | [] |
[
"<s>",
"int",
"mips_register_move_cost",
"(",
"enum",
"machine_mode",
"mode",
"ATTRIBUTE_UNUSED",
",",
"enum",
"reg_class",
"to",
",",
"enum",
"reg_class",
"from",
")",
"{",
"if",
"(",
"from",
"==",
"M16_REGS",
"&&",
"GR_REG_CLASS_P",
"(",
"to",
")",
")",
"r... | [
"Implement",
"TARGET_REGISTER_MOVE_COST",
".",
"Return",
"0",
"for",
"classes",
"that",
"are",
"the",
"maximum",
"of",
"the",
"move",
"costs",
"for",
"subclasses",
";",
"regclass",
"will",
"work",
"out",
"the",
"maximum",
"for",
"us",
"."
] | [
"mips",
"2",
"2",
"2",
"2",
"4",
"2",
"4",
"12",
"6",
"5",
"4",
"2",
"8",
"12",
"6",
"4",
"5",
"12"
] | mips3 | mips_register_move_cost | mips | CPU | GCC | 33,974 | 245 | 1 | [] |
[
"<s>",
"bool",
"AArch64TargetLowering",
"::",
"isProfitableToHoist",
"(",
"Instruction",
"*",
"I",
")",
"const",
"{",
"if",
"(",
"I",
"->",
"getOpcode",
"(",
")",
"!=",
"Instruction",
"::",
"FMul",
")",
"return",
"true",
";",
"if",
"(",
"!",
"I",
"->",
... | [
"Return",
"true",
"if",
"it",
"is",
"profitable",
"to",
"hoist",
"instruction",
"in",
"the",
"then/else",
"to",
"before",
"if",
"."
] | [
"AArch64",
"AArch64",
"0",
"ISD::FMA"
] | AArch64ISelLowering (2)2 | isProfitableToHoist | AArch64 | CPU | LLVM | 33,975 | 171 | 1 | [] |
[
"<s>",
"SDValue",
"HexagonTargetLowering",
"::",
"getZero",
"(",
"const",
"SDLoc",
"&",
"dl",
",",
"MVT",
"Ty",
",",
"SelectionDAG",
"&",
"DAG",
")",
"const",
"{",
"if",
"(",
"Ty",
".",
"isVector",
"(",
")",
")",
"{",
"unsigned",
"W",
"=",
"Ty",
".",... | [
"Return",
"a",
"SCEV",
"for",
"the",
"constant",
"0",
"of",
"a",
"specific",
"type",
"."
] | [
"Hexagon",
"Hexagon",
"64",
"0",
"MVT::getIntegerVT",
"ISD::SPLAT_VECTOR",
"MVT::i32",
"0",
"0.0",
"\"Invalid type for zero\""
] | HexagonISelLowering24 | getZero | Hexagon | DSP | LLVM | 33,976 | 139 | 1 | [] |
[
"<s>",
"void",
"Thumb2InstrInfo",
"::",
"ReplaceTailWithBranchTo",
"(",
"MachineBasicBlock",
"::",
"iterator",
"Tail",
",",
"MachineBasicBlock",
"*",
"NewDest",
")",
"const",
"{",
"MachineBasicBlock",
"*",
"MBB",
"=",
"Tail",
"->",
"getParent",
"(",
")",
";",
"A... | [
"Delete",
"the",
"instruction",
"OldInst",
"and",
"everything",
"after",
"it",
",",
"replacing",
"it",
"with",
"an",
"unconditional",
"branch",
"to",
"NewDest",
"."
] | [
"ARM",
"ARM",
"ARM",
"0",
"ARMCC::CondCodes",
"ARMCC::AL",
"ARMCC::AL",
"4",
"ARM::t2IT",
"1",
"4",
"1",
"1",
"1"
] | Thumb2InstrInfo15 | ReplaceTailWithBranchTo | ARM | CPU | LLVM | 33,977 | 249 | 1 | [] |
[
"<s>",
"bool",
"arm_pad_arg_upward",
"(",
"enum",
"machine_mode",
"mode",
",",
"tree",
"type",
")",
"{",
"if",
"(",
"!",
"TARGET_AAPCS_BASED",
")",
"return",
"DEFAULT_FUNCTION_ARG_PADDING",
"(",
"mode",
",",
"type",
")",
"==",
"upward",
";",
"if",
"(",
"type... | [
"For",
"use",
"by",
"FUNCTION_ARG_PADDING",
"(",
"MODE",
",",
"TYPE",
")",
".",
"Return",
"true",
"if",
"an",
"argument",
"passed",
"on",
"the",
"stack",
"should",
"be",
"padded",
"upwards",
",",
"i.e",
".",
"if",
"the",
"least-significant",
"byte",
"has",... | [
"arm"
] | arm3 | arm_pad_arg_upward | arm | CPU | GCC | 33,978 | 44 | 1 | [] |
[
"<s>",
"bool",
"MSP430TargetLowering",
"::",
"isZExtFree",
"(",
"SDValue",
"Val",
",",
"EVT",
"VT2",
")",
"const",
"{",
"return",
"isZExtFree",
"(",
"Val",
".",
"getValueType",
"(",
")",
",",
"VT2",
")",
";",
"}",
"</s>"
] | [
"Return",
"true",
"if",
"zero-extending",
"the",
"specific",
"node",
"Val",
"to",
"type",
"VT2",
"is",
"free",
"(",
"either",
"because",
"it",
"'s",
"implicitly",
"zero-extended",
"such",
"as",
"ARM",
"ldrb",
"/",
"ldrh",
"or",
"because",
"it",
"'s",
"fold... | [
"MSP430",
"MSP430"
] | MSP430ISelLowering (2) | isZExtFree | MSP430 | MPU | LLVM | 33,979 | 26 | 1 | [] |
[
"<s>",
"bool",
"VZeroUpperInserter",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"{",
"const",
"X86Subtarget",
"&",
"ST",
"=",
"MF",
".",
"getTarget",
"(",
")",
".",
"getSubtarget",
"<",
"X86Subtarget",
">",
"(",
")",
";",
"if",
"... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"X86",
"X86",
"X86",
"X86::VR256RegClass",
"\"X86VZeroUpper state should be clear\"",
"\"MBB #\"",
"\" was Pass-through, is now Dirty-out.\\n\""
] | X86VZeroUpper17 | runOnMachineFunction | X86 | CPU | LLVM | 33,980 | 370 | 1 | [] |
[
"<s>",
"void",
"ARCInstrInfo",
"::",
"loadRegFromStackSlot",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"I",
",",
"unsigned",
"DestReg",
",",
"int",
"FrameIndex",
",",
"const",
"TargetRegisterClass",
"*",
"RC",
",",
"const",
... | [
"Load",
"the",
"specified",
"register",
"of",
"the",
"given",
"register",
"class",
"from",
"the",
"specified",
"stack",
"frame",
"index",
"."
] | [
"ARC",
"ARC",
"\"Couldn't get MachineMemOperand for store to stack.\"",
"4",
"\"Only support 4-byte loads from stack now.\"",
"ARC::GPR32RegClass",
"\"Only support GPR32 stores to stack now.\"",
"\"Created load reg=\"",
"\" from FrameIndex=\"",
"\"\\n\"",
"ARC::LD_rs9",
"0"
] | ARCInstrInfo10 | loadRegFromStackSlot | ARC | MPU | LLVM | 33,981 | 203 | 1 | [] |
[
"<s>",
"void",
"PatmosPostRASchedStrategy",
"::",
"finalize",
"(",
"ScheduleDAGPostRA",
"*",
"dag",
")",
"{",
"DAG",
"=",
"NULL",
";",
"}",
"</s>"
] | [
"Analyze",
"the",
"strings",
"and",
"build",
"the",
"final",
"table",
"."
] | [
"Patmos",
"Patmos"
] | PatmosSchedStrategy | finalize | Patmos | VLIW | LLVM | 33,982 | 15 | 1 | [] |
[
"<s>",
"void",
"getAnalysisUsage",
"(",
"AnalysisUsage",
"&",
"AU",
")",
"const",
"override",
"{",
"AU",
".",
"addRequired",
"<",
"MachineDominatorTree",
">",
"(",
")",
";",
"AU",
".",
"setPreservesCFG",
"(",
")",
";",
"MachineFunctionPass",
"::",
"getAnalysis... | [
"getAnalysisUsage",
"-",
"Subclasses",
"that",
"override",
"getAnalysisUsage",
"must",
"call",
"this",
"."
] | [
"AMDGPU"
] | SIFoldOperands53 | getAnalysisUsage | AMDGPU | GPU | LLVM | 33,983 | 33 | 1 | [] |
[
"<s>",
"void",
"SITargetLowering",
"::",
"computeKnownBitsForFrameIndex",
"(",
"const",
"SDValue",
"Op",
",",
"KnownBits",
"&",
"Known",
",",
"const",
"APInt",
"&",
"DemandedElts",
",",
"const",
"SelectionDAG",
"&",
"DAG",
",",
"unsigned",
"Depth",
")",
"const",... | [
"Determine",
"which",
"of",
"the",
"bits",
"of",
"FrameIndex",
"FIOp",
"are",
"known",
"to",
"be",
"0",
"."
] | [
"AMDGPU",
"SI"
] | SIISelLowering (2)3 | computeKnownBitsForFrameIndex | AMDGPU | GPU | LLVM | 33,984 | 65 | 1 | [] |
[
"<s>",
"unsigned",
"assignCustomValue",
"(",
"ARMCallLowering",
"::",
"ArgInfo",
"&",
"Arg",
",",
"ArrayRef",
"<",
"CCValAssign",
">",
"VAs",
",",
"std",
"::",
"function",
"<",
"void",
"(",
")",
">",
"*",
"Thunk",
")",
"override",
"{",
"assert",
"(",
"Ar... | [
"Handle",
"custom",
"values",
",",
"which",
"may",
"be",
"passed",
"into",
"one",
"or",
"more",
"of",
"VAs",
"."
] | [
"ARM",
"ARM",
"1",
"\"Can't handle multple regs yet\"",
"0",
"\"Value doesn't need custom handling\"",
"MVT::f64",
"0",
"1",
"\"Value doesn't need custom handling\"",
"MVT::f64",
"\"Unsupported type\"",
"\"Values belong to different arguments\"",
"\"Value should be in reg\"",
"\"Value sh... | ARMCallLowering14 | assignCustomValue | ARM | CPU | LLVM | 33,985 | 271 | 1 | [] |
[
"<s>",
"bool",
"ARMCallLowering",
"::",
"lowerFormalArguments",
"(",
"MachineIRBuilder",
"&",
"MIRBuilder",
",",
"const",
"Function",
"&",
"F",
",",
"ArrayRef",
"<",
"ArrayRef",
"<",
"Register",
">>",
"VRegs",
")",
"const",
"{",
"auto",
"&",
"TLI",
"=",
"*",... | [
"This",
"hook",
"must",
"be",
"implemented",
"to",
"lower",
"the",
"incoming",
"(",
"formal",
")",
"arguments",
",",
"described",
"by",
"VRegs",
",",
"for",
"GlobalISel",
"."
] | [
"ARM",
"ARM",
"ARM",
"8",
"0"
] | ARMCallLowering | lowerFormalArguments | ARM | CPU | LLVM | 33,986 | 306 | 1 | [] |
[
"<s>",
"const",
"char",
"*",
"avr_out_addto_sp",
"(",
"rtx",
"*",
"op",
",",
"int",
"*",
"plen",
")",
"{",
"int",
"pc_len",
"=",
"AVR_2_BYTE_PC",
"?",
"2",
":",
"3",
";",
"int",
"addend",
"=",
"INTVAL",
"(",
"op",
"[",
"0",
"]",
")",
";",
"if",
... | [
"PLEN",
"==",
"NULL",
":",
"Output",
"code",
"to",
"add",
"CONST_INT",
"OP",
"[",
"0",
"]",
"to",
"SP",
".",
"PLEN",
"!",
"=",
"NULL",
":",
"Set",
"*",
"PLEN",
"to",
"the",
"length",
"of",
"that",
"sequence",
".",
"Return",
"``",
"''",
"."
] | [
"avr",
"2",
"3",
"0",
"0",
"0",
"\"SP -= %n0\"",
"0",
"\"rcall .\"",
"1",
"0",
"\"push __zero_reg__\"",
"1",
"0",
"\"SP += %0\"",
"0",
"0",
"\"pop __tmp_reg__\"",
"1",
"\"\""
] | avr4 | avr_out_addto_sp | avr | MPU | GCC | 33,987 | 160 | 1 | [] |
[
"<s>",
"static",
"void",
"rs6000_print_options_internal",
"(",
"FILE",
"*",
"file",
",",
"int",
"indent",
",",
"const",
"char",
"*",
"string",
",",
"HOST_WIDE_INT",
"flags",
",",
"const",
"char",
"*",
"prefix",
",",
"const",
"struct",
"rs6000_opt_mask",
"*",
... | [
"Helper",
"function",
"to",
"print",
"the",
"current",
"isa",
"or",
"misc",
"options",
"on",
"a",
"line",
"."
] | [
"rs6000",
"0",
"120",
"0",
"\"\"",
"\"%*s\"",
"\"\"",
"\"<none>\"",
"0",
"\"\"",
"0",
"\"no-\"",
"\"no-\"",
"1",
"0",
"\"no-\"",
"\"no-\"",
"1",
"\", \\\\\\n%*s\"",
"\"\"",
"\"\"",
"\"%s%s%s%s\"",
"\", \"",
"\", \"",
"1",
"\"\\n\""
] | rs60006 | rs6000_print_options_internal | rs6000 | CPU | GCC | 33,988 | 331 | 1 | [] |
[
"<s>",
"static",
"void",
"h8300_push_pop",
"(",
"int",
"regno",
",",
"int",
"nregs",
",",
"int",
"pop_p",
",",
"int",
"return_p",
")",
"{",
"int",
"i",
",",
"j",
";",
"rtvec",
"vec",
";",
"rtx",
"sp",
",",
"offset",
";",
"if",
"(",
"!",
"return_p",... | [
"Emit",
"an",
"instruction",
"to",
"push",
"or",
"pop",
"NREGS",
"consecutive",
"registers",
"starting",
"at",
"register",
"REGNO",
".",
"POP_P",
"selects",
"a",
"pop",
"rather",
"than",
"a",
"push",
"and",
"RETURN_P",
"is",
"true",
"if",
"the",
"instruction... | [
"h8300",
"1",
"0",
"1",
"0",
"0",
"1",
"4",
"1",
"4",
"4"
] | h83003 | h8300_push_pop | h8300 | MPU | GCC | 33,989 | 266 | 1 | [] |
[
"<s>",
"static",
"bool",
"anticipatable_occurrence_p",
"(",
"const",
"bb_info",
"*",
"bb",
",",
"const",
"vector_insn_info",
"dem",
")",
"{",
"insn_info",
"*",
"insn",
"=",
"dem",
".",
"get_insn",
"(",
")",
";",
"if",
"(",
"dem",
".",
"has_avl_reg",
"(",
... | [
"An",
"``",
"anticipatable",
"occurrence",
"''",
"is",
"one",
"that",
"is",
"the",
"first",
"occurrence",
"in",
"the",
"basic",
"block",
",",
"the",
"operands",
"are",
"not",
"modified",
"in",
"the",
"basic",
"block",
"prior",
"to",
"the",
"occurrence",
"a... | [
"riscv"
] | riscv-vsetvl | anticipatable_occurrence_p | riscv | CPU | GCC | 33,990 | 189 | 1 | [] |
[
"<s>",
"bool",
"x86_extended_QIreg_mentioned_p",
"(",
"rtx_insn",
"*",
"insn",
")",
"{",
"int",
"i",
";",
"extract_insn_cached",
"(",
"insn",
")",
";",
"for",
"(",
"i",
"=",
"0",
";",
"i",
"<",
"recog_data",
".",
"n_operands",
";",
"i",
"++",
")",
"if"... | [
"Return",
"nonzero",
"when",
"QImode",
"register",
"that",
"must",
"be",
"represented",
"via",
"REX",
"prefix",
"is",
"used",
"."
] | [
"i386",
"0"
] | i386 | x86_extended_QIreg_mentioned_p | i386 | CPU | GCC | 33,991 | 64 | 1 | [] |
[
"<s>",
"bool",
"PatmosSinglePathInfo",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"{",
"if",
"(",
"Root",
")",
"{",
"delete",
"Root",
";",
"Root",
"=",
"NULL",
";",
"}",
"std",
"::",
"string",
"curfunc",
"=",
"MF",
".",
"getFun... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"Patmos",
"Patmos",
"\"[Single-Path] Analyze '\"",
"\"'\\n\""
] | PatmosSinglePathInfo | runOnMachineFunction | Patmos | VLIW | LLVM | 33,992 | 69 | 1 | [] |
[
"<s>",
"static",
"void",
"aarch64_add_cfa_expression",
"(",
"rtx_insn",
"*",
"insn",
",",
"unsigned",
"int",
"reg",
",",
"rtx",
"base",
",",
"poly_int64",
"offset",
")",
"{",
"rtx",
"mem",
"=",
"gen_frame_mem",
"(",
"DImode",
",",
"plus_constant",
"(",
"Pmod... | [
"Add",
"a",
"REG_CFA_EXPRESSION",
"note",
"to",
"INSN",
"to",
"say",
"that",
"register",
"REG",
"is",
"saved",
"at",
"BASE",
"+",
"OFFSET",
"."
] | [
"aarch64"
] | aarch645 | aarch64_add_cfa_expression | aarch64 | CPU | GCC | 33,993 | 54 | 1 | [] |
[
"<s>",
"void",
"X86InstrInfo",
"::",
"loadRegFromStackSlot",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"MI",
",",
"Register",
"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"
] | X86InstrInfo136 | loadRegFromStackSlot | X86 | CPU | LLVM | 33,994 | 127 | 1 | [] |
[
"<s>",
"void",
"AArch64PassConfig",
"::",
"addPreEmitPass",
"(",
")",
"{",
"if",
"(",
"EnableA53Fix835769",
")",
"addPass",
"(",
"createAArch64A53Fix835769",
"(",
")",
")",
";",
"if",
"(",
"BranchRelaxation",
")",
"addPass",
"(",
"&",
"BranchRelaxationPassID",
"... | [
"This",
"pass",
"may",
"be",
"implemented",
"by",
"targets",
"that",
"want",
"to",
"run",
"passes",
"immediately",
"before",
"machine",
"code",
"is",
"emitted",
"."
] | [
"AArch64",
"AArch64",
"AArch64",
"AArch64",
"AArch64",
"AArch64"
] | AArch64TargetMachine87 | addPreEmitPass | AArch64 | CPU | LLVM | 33,995 | 92 | 1 | [] |
[
"<s>",
"const",
"unsigned",
"*",
"ARMBaseRegisterInfo",
"::",
"getCalleeSavedRegs",
"(",
"const",
"MachineFunction",
"*",
"MF",
")",
"const",
"{",
"static",
"const",
"unsigned",
"CalleeSavedRegs",
"[",
"]",
"=",
"{",
"ARM",
"::",
"LR",
",",
"ARM",
"::",
"R11... | [
"Code",
"Generation",
"virtual",
"methods",
"..."
] | [
"ARM",
"ARM",
"ARM::LR",
"ARM::R11",
"ARM::R10",
"ARM::R9",
"ARM::R8",
"ARM::R7",
"ARM::R6",
"ARM::R5",
"ARM::R4",
"ARM::D15",
"ARM::D14",
"ARM::D13",
"ARM::D12",
"ARM::D11",
"ARM::D10",
"ARM::D9",
"ARM::D8",
"0",
"ARM::LR",
"ARM::R7",
"ARM::R6",
"ARM::R5",
"ARM::R4",... | ARMBaseRegisterInfo1 | getCalleeSavedRegs | ARM | CPU | LLVM | 33,996 | 180 | 1 | [] |
[
"<s>",
"enum",
"avms_arg_type",
"alpha_arg_type",
"(",
"machine_mode",
"mode",
")",
"{",
"switch",
"(",
"mode",
")",
"{",
"case",
"E_SFmode",
":",
"return",
"TARGET_FLOAT_VAX",
"?",
"FF",
":",
"FS",
";",
"case",
"E_DFmode",
":",
"return",
"TARGET_FLOAT_VAX",
... | [
"Return",
"the",
"VMS",
"argument",
"type",
"corresponding",
"to",
"MODE",
"."
] | [
"alpha"
] | alpha | alpha_arg_type | alpha | MPU | GCC | 33,997 | 40 | 1 | [] |
[
"<s>",
"bool",
"aarch64_expand_sve_vec_cmp_float",
"(",
"rtx",
"target",
",",
"rtx_code",
"code",
",",
"rtx",
"op0",
",",
"rtx",
"op1",
",",
"bool",
"can_invert_p",
")",
"{",
"machine_mode",
"pred_mode",
"=",
"GET_MODE",
"(",
"target",
")",
";",
"machine_mode"... | [
"Expand",
"an",
"SVE",
"floating-point",
"comparison",
":",
"TARGET",
"=",
"CODE",
"(",
"OP0",
",",
"OP1",
")",
"If",
"CAN_INVERT_P",
"is",
"true",
",",
"the",
"caller",
"can",
"also",
"handle",
"inverted",
"results",
";",
"return",
"true",
"if",
"the",
... | [
"aarch64"
] | aarch64 | aarch64_expand_sve_vec_cmp_float | aarch64 | CPU | GCC | 33,998 | 343 | 1 | [] |
[
"<s>",
"int",
"m32c_expand_setmemhi",
"(",
"rtx",
"*",
"operands",
")",
"{",
"rtx",
"desta",
",",
"count",
",",
"val",
";",
"rtx",
"desto",
",",
"counto",
";",
"desta",
"=",
"XEXP",
"(",
"operands",
"[",
"0",
"]",
",",
"0",
")",
";",
"count",
"=",
... | [
"This",
"is",
"a",
"memset",
"(",
")",
"opcode",
".",
"All",
"operands",
"are",
"implied",
",",
"so",
"we",
"need",
"to",
"arrange",
"for",
"them",
"to",
"be",
"in",
"the",
"right",
"registers",
".",
"The",
"opcode",
"wants",
"addresses",
",",
"not",
... | [
"m32c",
"0",
"0",
"1",
"2",
"1",
"1",
"7",
"8",
"0xff",
"8",
"2",
"1",
"1"
] | m32c | m32c_expand_setmemhi | m32c | MPU | GCC | 33,999 | 319 | 1 | [] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.