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>",
"BitVector",
"PPCRegisterInfo",
"::",
"getReservedRegs",
"(",
"const",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"BitVector",
"Reserved",
"(",
"getNumRegs",
"(",
")",
")",
";",
"const",
"TargetFrameInfo",
"*",
"TFI",
"=",
"MF",
".",
"getTarget",
... | [
"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::R0",
"PPC::R1",
"PPC::LR",
"PPC::LR8",
"PPC::RM",
"PPC::R2",
"PPC::R13",
"PPC::R2",
"PPC",
"PPC::R13",
"PPC::R31",
"PPC::R0",
"PPC::X0",
"PPC::X1",
"PPC::X13",
"PPC::X31",
"PPC::X2",
"PPC::X2",
"PPC::R31"
] | PPCRegisterInfo31 | getReservedRegs | PowerPC | CPU | LLVM | 11,900 | 268 | 1 | [] |
[
"<s>",
"static",
"unsigned",
"getBasePtrIndex",
"(",
"const",
"MemSDNode",
"*",
"N",
")",
"{",
"switch",
"(",
"N",
"->",
"getOpcode",
"(",
")",
")",
"{",
"case",
"ISD",
"::",
"STORE",
":",
"case",
"ISD",
"::",
"INTRINSIC_W_CHAIN",
":",
"case",
"ISD",
"... | [
"The",
"index",
"into",
"the",
"associate",
"statepoint",
"'s",
"argument",
"list",
"which",
"contains",
"the",
"base",
"pointer",
"of",
"the",
"pointer",
"whose",
"relocation",
"this",
"gc.relocate",
"describes",
"."
] | [
"AMDGPU",
"ISD::STORE",
"ISD::INTRINSIC_W_CHAIN",
"ISD::INTRINSIC_VOID",
"2",
"1"
] | SIISelLowering10 | getBasePtrIndex | AMDGPU | GPU | LLVM | 11,901 | 44 | 1 | [] |
[
"<s>",
"SDValue",
"LanaiTargetLowering",
"::",
"LowerCall",
"(",
"TargetLowering",
"::",
"CallLoweringInfo",
"&",
"CLI",
",",
"SmallVectorImpl",
"<",
"SDValue",
">",
"&",
"InVals",
")",
"const",
"{",
"SelectionDAG",
"&",
"DAG",
"=",
"CLI",
".",
"DAG",
";",
"... | [
"This",
"hook",
"must",
"be",
"implemented",
"to",
"lower",
"calls",
"into",
"the",
"specified",
"DAG",
"."
] | [
"Lanai",
"Lanai",
"ISD::OutputArg",
"ISD::InputArg",
"\"Unsupported calling convention\""
] | LanaiISelLowering | LowerCall | Lanai | CPU | LLVM | 11,902 | 165 | 1 | [] |
[
"<s>",
"void",
"GCNUpwardRPTracker",
"::",
"recede",
"(",
"const",
"MachineInstr",
"&",
"MI",
")",
"{",
"assert",
"(",
"MRI",
"&&",
"\"call reset first\"",
")",
";",
"LastTrackedMI",
"=",
"&",
"MI",
";",
"if",
"(",
"MI",
".",
"isDebugInstr",
"(",
")",
")... | [
"Recede",
"across",
"the",
"previous",
"instruction",
"."
] | [
"AMDGPU",
"\"call reset first\""
] | GCNRegPressure24 | recede | AMDGPU | GPU | LLVM | 11,903 | 293 | 1 | [] |
[
"<s>",
"void",
"ix86_expand_fp_absneg_operator",
"(",
"enum",
"rtx_code",
"code",
",",
"machine_mode",
"mode",
",",
"rtx",
"operands",
"[",
"]",
")",
"{",
"rtx",
"mask",
",",
"set",
",",
"dst",
",",
"src",
";",
"bool",
"use_sse",
"=",
"false",
";",
"bool... | [
"Generate",
"code",
"for",
"floating",
"point",
"ABS",
"or",
"NEG",
"."
] | [
"i386",
"0",
"1",
"2",
"3"
] | i3864 | ix86_expand_fp_absneg_operator | i386 | CPU | GCC | 11,904 | 240 | 1 | [] |
[
"<s>",
"unsigned",
"BlackfinRegisterInfo",
"::",
"getFrameRegister",
"(",
"const",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"const",
"TargetFrameLowering",
"*",
"TFI",
"=",
"MF",
".",
"getTarget",
"(",
")",
".",
"getFrameLowering",
"(",
")",
";",
"retu... | [
"Debug",
"information",
"queries",
"."
] | [
"Blackfin",
"BF::FP",
"BF::SP"
] | BlackfinRegisterInfo6 | getFrameRegister | Blackfin | DSP | LLVM | 11,905 | 44 | 1 | [] |
[
"<s>",
"EVT",
"PPCTargetLowering",
"::",
"getSetCCResultType",
"(",
"EVT",
"VT",
")",
"const",
"{",
"return",
"MVT",
"::",
"i32",
";",
"}",
"</s>"
] | [
"Return",
"the",
"value",
"type",
"to",
"use",
"for",
"ISD",
":",
":SETCC",
"."
] | [
"PowerPC",
"PPC",
"MVT::i32"
] | PPCISelLowering113 | getSetCCResultType | PowerPC | CPU | LLVM | 11,906 | 16 | 1 | [] |
[
"<s>",
"unsigned",
"getExceptionPointerRegister",
"(",
"const",
"Constant",
"*",
"PersonalityFn",
")",
"const",
"override",
"{",
"return",
"Hexagon",
"::",
"R0",
";",
"}",
"</s>"
] | [
"If",
"a",
"physical",
"register",
",",
"this",
"returns",
"the",
"register",
"that",
"receives",
"the",
"exception",
"address",
"on",
"entry",
"to",
"an",
"EH",
"pad",
"."
] | [
"Hexagon",
"Hexagon::R0"
] | HexagonISelLowering (2) | getExceptionPointerRegister | Hexagon | DSP | LLVM | 11,907 | 17 | 1 | [] |
[
"<s>",
"MachineInstr",
"*",
"Thumb1InstrInfo",
"::",
"foldMemoryOperandImpl",
"(",
"MachineFunction",
"&",
"MF",
",",
"MachineInstr",
"*",
"MI",
",",
"const",
"SmallVectorImpl",
"<",
"unsigned",
">",
"&",
"Ops",
",",
"int",
"FI",
")",
"const",
"{",
"if",
"("... | [
"foldMemoryOperand",
"-",
"Same",
"as",
"the",
"previous",
"version",
"except",
"it",
"allows",
"folding",
"of",
"any",
"load",
"and",
"store",
"from",
"/",
"to",
"any",
"address",
",",
"not",
"just",
"from",
"a",
"specific",
"stack",
"slot",
"."
] | [
"ARM",
"1",
"0",
"ARM::tMOVr",
"ARM::tMOVtgpr2gpr",
"ARM::tMOVgpr2tgpr",
"ARM::tMOVgpr2gpr",
"0",
"1",
"1",
"ARM",
"ARM::tSpill",
"0",
"0",
"ARM",
"0",
"ARM::tRestore",
"0"
] | Thumb1InstrInfo15 | foldMemoryOperandImpl | ARM | CPU | LLVM | 11,908 | 292 | 1 | [] |
[
"<s>",
"static",
"bool",
"loongarch_function_ok_for_sibcall",
"(",
"tree",
"decl",
"ATTRIBUTE_UNUSED",
",",
"tree",
"exp",
"ATTRIBUTE_UNUSED",
")",
"{",
"return",
"true",
";",
"}",
"</s>"
] | [
"Implement",
"TARGET_FUNCTION_OK_FOR_SIBCALL",
"."
] | [
"loongarch"
] | loongarch | loongarch_function_ok_for_sibcall | loongarch | CPU | GCC | 11,909 | 17 | 1 | [] |
[
"<s>",
"static",
"void",
"nvptx_print_operand_address",
"(",
"FILE",
"*",
"file",
",",
"machine_mode",
"mode",
",",
"rtx",
"addr",
")",
"{",
"nvptx_print_address_operand",
"(",
"file",
",",
"addr",
",",
"mode",
")",
";",
"}",
"</s>"
] | [
"Write",
"assembly",
"language",
"output",
"for",
"the",
"address",
"ADDR",
"to",
"FILE",
"."
] | [
"nvptx"
] | nvptx | nvptx_print_operand_address | nvptx | GPU | GCC | 11,910 | 25 | 1 | [] |
[
"<s>",
"bool",
"X86TargetMachine",
"::",
"addPostRegAlloc",
"(",
"PassManagerBase",
"&",
"PM",
")",
"{",
"PM",
".",
"add",
"(",
"createX86FloatingPointStackifierPass",
"(",
")",
")",
";",
"return",
"true",
";",
"}",
"</s>"
] | [
"This",
"method",
"may",
"be",
"implemented",
"by",
"targets",
"that",
"want",
"to",
"run",
"passes",
"after",
"register",
"allocation",
"pass",
"pipeline",
"but",
"before",
"prolog-epilog",
"insertion",
"."
] | [
"X86",
"X86",
"X86"
] | X86TargetMachine116 | addPostRegAlloc | X86 | CPU | LLVM | 11,911 | 23 | 1 | [] |
[
"<s>",
"void",
"RISCVPassConfig",
"::",
"addIRPasses",
"(",
")",
"{",
"addPass",
"(",
"createAtomicExpandPass",
"(",
")",
")",
";",
"addPass",
"(",
"createCheriBoundAllocasPass",
"(",
")",
")",
";",
"TargetPassConfig",
"::",
"addIRPasses",
"(",
")",
";",
"}",
... | [
"Add",
"common",
"target",
"configurable",
"passes",
"that",
"perform",
"LLVM",
"IR",
"to",
"IR",
"transforms",
"following",
"machine",
"independent",
"optimization",
"."
] | [
"RISCV",
"RISCV"
] | RISCVTargetMachine22 | addIRPasses | RISCV | CPU | LLVM | 11,912 | 28 | 1 | [] |
[
"<s>",
"bool",
"X86FrameLowering",
"::",
"restoreCalleeSavedRegisters",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"MI",
",",
"std",
"::",
"vector",
"<",
"CalleeSavedInfo",
">",
"&",
"CSI",
",",
"const",
"TargetRegisterInfo",
... | [
"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... | [
"X86",
"X86",
"X86::CATCHRET",
"X86",
"X86",
"X86",
"X86",
"0",
"X86::VR128RegClass",
"1",
"16",
"X86::RSP",
"X86::GR64RegClass",
"X86::GR32RegClass",
"MVT::Other",
"X86::VK16RegClass",
"MVT::v64i1",
"MVT::v16i1",
"X86::POP64r",
"X86::POP32r",
"0",
"X86::GR64RegClass",
"X... | X86FrameLowering7 | restoreCalleeSavedRegisters | X86 | CPU | LLVM | 11,913 | 506 | 1 | [] |
[
"<s>",
"tree",
"arm_resolve_overloaded_builtin",
"(",
"location_t",
"loc",
",",
"tree",
"fndecl",
",",
"void",
"*",
"arglist",
")",
"{",
"if",
"(",
"arm_describe_resolver",
"(",
"fndecl",
")",
"==",
"arm_cde_resolver",
")",
"return",
"arm_resolve_cde_builtin",
"("... | [
"Implement",
"TARGET_RESOLVE_OVERLOADED_BUILTIN",
".",
"This",
"is",
"currently",
"only",
"used",
"for",
"the",
"MVE",
"related",
"builtins",
"for",
"the",
"CDE",
"extension",
".",
"Here",
"we",
"ensure",
"the",
"type",
"of",
"arguments",
"is",
"such",
"that",
... | [
"arm"
] | arm-c | arm_resolve_overloaded_builtin | arm | CPU | GCC | 11,914 | 37 | 1 | [] |
[
"<s>",
"static",
"short",
"find_insn_regmode_weight",
"(",
"rtx",
"insn",
",",
"enum",
"machine_mode",
"mode",
")",
"{",
"short",
"reg_weight",
"=",
"0",
";",
"rtx",
"x",
";",
"x",
"=",
"PATTERN",
"(",
"insn",
")",
";",
"reg_weight",
"+=",
"find_set_regmod... | [
"Get",
"regmode",
"weight",
"for",
"insn",
"."
] | [
"sh",
"0",
"0",
"1",
"0",
"0",
"1",
"0"
] | sh3 | find_insn_regmode_weight | sh | CPU | GCC | 11,915 | 168 | 1 | [] |
[
"<s>",
"void",
"AAPDAGToDAGISel",
"::",
"Select",
"(",
"SDNode",
"*",
"Node",
")",
"{",
"unsigned",
"Opcode",
"=",
"Node",
"->",
"getOpcode",
"(",
")",
";",
"SDLoc",
"dl",
"(",
"Node",
")",
";",
"LLVM_DEBUG",
"(",
"errs",
"(",
")",
"<<",
"\"Selecting: ... | [
"Main",
"hook",
"for",
"targets",
"to",
"transform",
"nodes",
"into",
"machine",
"nodes",
"."
] | [
"AAP",
"AAP",
"\"Selecting: \"",
"\"\\n\"",
"\"== \"",
"\"\\n\"",
"ISD::FrameIndex",
"0",
"MVT::i16",
"MVT::i16",
"AAP::LEA",
"MVT::i16",
"0",
"MVT::i16"
] | AAPISelDAGToDAG | Select | AAP | MPU | LLVM | 11,916 | 190 | 1 | [] |
[
"<s>",
"const",
"std",
"::",
"string",
"&",
"getAddress",
"(",
")",
"const",
"{",
"return",
"Address",
";",
"}",
"</s>"
] | [
"Returns",
"the",
"address",
"of",
"this",
"pointer",
"in",
"this",
"block",
"."
] | [
"PIC16"
] | PIC16Section2 | getAddress | PIC16 | MPU | LLVM | 11,917 | 14 | 1 | [] |
[
"<s>",
"SparcTargetMachine",
"::",
"SparcTargetMachine",
"(",
"const",
"Module",
"&",
"M",
",",
"const",
"std",
"::",
"string",
"&",
"FS",
")",
":",
"DataLayout",
"(",
"\"E-p:32:32-f128:128:128\"",
")",
",",
"Subtarget",
"(",
"M",
",",
"FS",
")",
",",
"TLI... | [
"Create",
"an",
"ILP32",
"architecture",
"model",
"."
] | [
"Sparc",
"Sparc",
"Sparc",
"\"E-p:32:32-f128:128:128\"",
"8",
"0"
] | SparcTargetMachine14 | SparcTargetMachine | Sparc | CPU | LLVM | 11,918 | 52 | 1 | [] |
[
"<s>",
"MachineBasicBlock",
"::",
"iterator",
"AArch64FrameLowering",
"::",
"eliminateCallFramePseudoInstr",
"(",
"MachineFunction",
"&",
"MF",
",",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"I",
")",
"const",
"{",
"const",
"AArch64I... | [
"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",
")",
"."
] | [
"AArch64",
"AArch64",
"AArch64",
"AArch64",
"1",
"0",
"0",
"0",
"0xffffff",
"0xffffff",
"\"call frame too large\"",
"AArch64::SP",
"AArch64::SP",
"MVT::i8",
"0",
"0xffffff",
"\"call frame too large\"",
"AArch64::SP",
"AArch64::SP",
"MVT::i8"
] | AArch64FrameLowering103 | eliminateCallFramePseudoInstr | AArch64 | CPU | LLVM | 11,919 | 249 | 1 | [] |
[
"<s>",
"bool",
"ARMCallLowering",
"::",
"lowerFormalArguments",
"(",
"MachineIRBuilder",
"&",
"MIRBuilder",
",",
"const",
"Function",
"&",
"F",
",",
"ArrayRef",
"<",
"ArrayRef",
"<",
"Register",
">>",
"VRegs",
",",
"FunctionLoweringInfo",
"&",
"FLI",
")",
"const... | [
"This",
"hook",
"must",
"be",
"implemented",
"to",
"lower",
"the",
"incoming",
"(",
"formal",
")",
"arguments",
",",
"described",
"by",
"VRegs",
",",
"for",
"GlobalISel",
"."
] | [
"ARM",
"ARM",
"ARM",
"8",
"0"
] | ARMCallLowering14 | lowerFormalArguments | ARM | CPU | LLVM | 11,920 | 338 | 1 | [] |
[
"<s>",
"bool",
"ARMAsmBackend",
"::",
"writeNopData",
"(",
"uint64_t",
"Count",
",",
"MCObjectWriter",
"*",
"OW",
")",
"const",
"{",
"const",
"uint16_t",
"Thumb1_16bitNopEncoding",
"=",
"0x46c0",
";",
"const",
"uint16_t",
"Thumb2_16bitNopEncoding",
"=",
"0xbf00",
... | [
"Write",
"an",
"(",
"optimal",
")",
"nop",
"sequence",
"of",
"Count",
"bytes",
"to",
"the",
"given",
"output",
"."
] | [
"ARM",
"ARM",
"0x46c0",
"0xbf00",
"ARM",
"0xe1a00000",
"ARM",
"0xe320f000",
"2",
"0",
"1",
"0",
"ARM",
"ARM",
"4",
"0",
"4",
"1",
"0",
"2",
"0",
"3",
"0",
"0xa0"
] | ARMAsmBackend (2)1 | writeNopData | ARM | CPU | LLVM | 11,921 | 201 | 1 | [] |
[
"<s>",
"static",
"bool",
"canonicalize_vector_int_perm",
"(",
"const",
"struct",
"expand_vec_perm_d",
"*",
"d",
",",
"struct",
"expand_vec_perm_d",
"*",
"nd",
")",
"{",
"int",
"i",
";",
"enum",
"machine_mode",
"mode",
"=",
"VOIDmode",
";",
"switch",
"(",
"d",
... | [
"For",
"V",
"*",
"[",
"QHS",
"]",
"Imode",
"permutations",
",",
"check",
"if",
"the",
"same",
"permutation",
"ca",
"n't",
"be",
"performed",
"in",
"a",
"2x",
",",
"4x",
"or",
"8x",
"wider",
"inner",
"mode",
"."
] | [
"i386",
"0",
"2",
"1",
"1",
"1",
"2",
"0",
"2",
"2",
"1"
] | i3865 | canonicalize_vector_int_perm | i386 | CPU | GCC | 11,922 | 357 | 1 | [] |
[
"<s>",
"bool",
"allocateScavengingFrameIndexesNearIncomingSP",
"(",
"const",
"MachineFunction",
"&",
"MF",
")",
"const",
"override",
"{",
"return",
"false",
";",
"}",
"</s>"
] | [
"Control",
"the",
"placement",
"of",
"special",
"register",
"scavenging",
"spill",
"slots",
"when",
"allocating",
"a",
"stack",
"frame",
"."
] | [
"SystemZ"
] | SystemZFrameLowering10 | allocateScavengingFrameIndexesNearIncomingSP | SystemZ | CPU | LLVM | 11,923 | 15 | 1 | [] |
[
"<s>",
"bool",
"AMDGPUAsmBackend",
"::",
"mayNeedRelaxation",
"(",
"const",
"MCInst",
"&",
"Inst",
",",
"const",
"MCSubtargetInfo",
"&",
"STI",
")",
"const",
"{",
"if",
"(",
"!",
"STI",
".",
"getFeatureBits",
"(",
")",
"[",
"AMDGPU",
"::",
"FeatureOffset3fBu... | [
"Check",
"whether",
"the",
"given",
"instruction",
"may",
"need",
"relaxation",
"."
] | [
"AMDGPU",
"AMDGPU",
"AMDGPU::FeatureOffset3fBug",
"AMDGPU::getSOPPWithRelaxation",
"0"
] | AMDGPUAsmBackend (2)1 | mayNeedRelaxation | AMDGPU | GPU | LLVM | 11,924 | 56 | 1 | [] |
[
"<s>",
"bool",
"MVETPAndVPTOptimisations",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"Fn",
")",
"{",
"const",
"ARMSubtarget",
"&",
"STI",
"=",
"Fn",
".",
"getSubtarget",
"<",
"ARMSubtarget",
">",
"(",
")",
";",
"if",
"(",
"!",
"STI",
".",
... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"ARM",
"ARM",
"ARM",
"\"********** ARM MVE VPT Optimisations **********\\n\"",
"\"********** Function: \"",
"\"**************************************\\n\""
] | MVETPAndVPTOptimisationsPass4 | runOnMachineFunction | ARM | CPU | LLVM | 11,925 | 217 | 1 | [] |
[
"<s>",
"static",
"void",
"v850_trampoline_init",
"(",
"rtx",
"m_tramp",
",",
"tree",
"fndecl",
",",
"rtx",
"chain_value",
")",
"{",
"rtx",
"mem",
",",
"fnaddr",
"=",
"XEXP",
"(",
"DECL_RTL",
"(",
"fndecl",
")",
",",
"0",
")",
";",
"emit_block_move",
"(",... | [
"Worker",
"function",
"for",
"TARGET_TRAMPOLINE_INIT",
"."
] | [
"v850",
"0",
"16",
"20"
] | v850 | v850_trampoline_init | v850 | MPU | GCC | 11,926 | 82 | 1 | [] |
[
"<s>",
"void",
"X86FrameLowering",
"::",
"processFunctionBeforeFrameIndicesReplaced",
"(",
"MachineFunction",
"&",
"MF",
",",
"RegScavenger",
"*",
"RS",
")",
"const",
"{",
"if",
"(",
"STI",
".",
"is32Bit",
"(",
")",
"&&",
"MF",
".",
"hasEHFunclets",
"(",
")",
... | [
"processFunctionBeforeFrameIndicesReplaced",
"-",
"This",
"method",
"is",
"called",
"immediately",
"before",
"MO_FrameIndex",
"operands",
"are",
"eliminated",
",",
"but",
"after",
"the",
"frame",
"is",
"finalized",
"."
] | [
"X86",
"X86"
] | X86FrameLowering (2)3 | processFunctionBeforeFrameIndicesReplaced | X86 | CPU | LLVM | 11,927 | 35 | 1 | [] |
[
"<s>",
"unsigned",
"MipsMCCodeEmitter",
"::",
"getBranchTargetOpValueLsl2MMR6",
"(",
"const",
"MCInst",
"&",
"MI",
",",
"unsigned",
"OpNo",
",",
"SmallVectorImpl",
"<",
"MCFixup",
">",
"&",
"Fixups",
",",
"const",
"MCSubtargetInfo",
"&",
"STI",
")",
"const",
"{"... | [
"getBranchTargetOpValueLsl2MMR6",
"-",
"Return",
"binary",
"encoding",
"of",
"the",
"branch",
"target",
"operand",
"."
] | [
"Mips",
"Mips",
"2",
"\"getBranchTargetOpValueLsl2MMR6 expects only expressions or immediates\"",
"4",
"0",
"Mips::fixup_Mips_PC16",
"0"
] | MipsMCCodeEmitter (2)2 | getBranchTargetOpValueLsl2MMR6 | Mips | CPU | LLVM | 11,928 | 120 | 1 | [] |
[
"<s>",
"bool",
"MSP430DAGToDAGISel",
"::",
"SelectInlineAsmMemoryOperand",
"(",
"const",
"SDValue",
"&",
"Op",
",",
"unsigned",
"ConstraintID",
",",
"std",
"::",
"vector",
"<",
"SDValue",
">",
"&",
"OutOps",
")",
"{",
"SDValue",
"Op0",
",",
"Op1",
";",
"swit... | [
"SelectInlineAsmMemoryOperand",
"-",
"Select",
"the",
"specified",
"address",
"as",
"a",
"target",
"addressing",
"mode",
",",
"according",
"to",
"the",
"specified",
"constraint",
"."
] | [
"MSP430",
"MSP430"
] | MSP430ISelDAGToDAG11 | SelectInlineAsmMemoryOperand | MSP430 | MPU | LLVM | 11,929 | 79 | 1 | [] |
[
"<s>",
"bool",
"AArch64TargetLowering",
"::",
"isTruncateFree",
"(",
"EVT",
"VT1",
",",
"EVT",
"VT2",
")",
"const",
"{",
"if",
"(",
"VT1",
".",
"isVector",
"(",
")",
"||",
"VT2",
".",
"isVector",
"(",
")",
"||",
"!",
"VT1",
".",
"isInteger",
"(",
")"... | [
"Return",
"true",
"if",
"it",
"'s",
"free",
"to",
"truncate",
"a",
"value",
"of",
"type",
"Ty1",
"to",
"type",
"Ty2",
"."
] | [
"AArch64",
"AArch64"
] | AArch64ISelLowering (2) | isTruncateFree | AArch64 | CPU | LLVM | 11,930 | 68 | 1 | [] |
[
"<s>",
"BitVector",
"RISCVRegisterInfo",
"::",
"getReservedRegs",
"(",
"const",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"const",
"RISCVFrameLowering",
"*",
"TFI",
"=",
"getFrameLowering",
"(",
"MF",
")",
";",
"BitVector",
"Reserved",
"(",
"getNumRegs",
... | [
"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",
"... | [
"RISCV",
"RISCV",
"RISCV",
"0",
"RISCV",
"RISCV::X0",
"RISCV::X2",
"RISCV::X3",
"RISCV::X4",
"RISCV::X8",
"RISCVABI::getBPReg",
"RISCV::VL",
"RISCV::VTYPE",
"RISCV::VXSAT",
"RISCV::VXRM",
"RISCV::FRM",
"RISCV::FFLAGS"
] | RISCVRegisterInfo2 | getReservedRegs | RISCV | CPU | LLVM | 11,931 | 211 | 1 | [] |
[
"<s>",
"static",
"const",
"char",
"*",
"aarch64_invalid_binary_op",
"(",
"int",
"op",
"ATTRIBUTE_UNUSED",
",",
"const_tree",
"type1",
",",
"const_tree",
"type2",
")",
"{",
"if",
"(",
"element_mode",
"(",
"type1",
")",
"==",
"BFmode",
"||",
"element_mode",
"(",... | [
"Return",
"the",
"diagnostic",
"message",
"string",
"if",
"the",
"binary",
"operation",
"OP",
"is",
"not",
"permitted",
"on",
"TYPE1",
"and",
"TYPE2",
",",
"NULL",
"otherwise",
"."
] | [
"aarch64",
"\"operation not permitted on type %<bfloat16_t%>\"",
"aarch64_sve::builtin_type_p",
"aarch64_sve::builtin_type_p",
"\"cannot combine GNU and SVE vectors in a binary operation\""
] | aarch64 | aarch64_invalid_binary_op | aarch64 | CPU | GCC | 11,932 | 89 | 1 | [] |
[
"<s>",
"static",
"bool",
"s390_handle_option",
"(",
"size_t",
"code",
",",
"const",
"char",
"*",
"arg",
",",
"int",
"value",
"ATTRIBUTE_UNUSED",
")",
"{",
"switch",
"(",
"code",
")",
"{",
"case",
"OPT_march_",
":",
"return",
"s390_handle_arch_option",
"(",
"... | [
"Implement",
"TARGET_HANDLE_OPTION",
"."
] | [
"s390",
"1",
"1",
"\"stack guard value must be an exact power of 2\"",
"1",
"1",
"\"stack size must be an exact power of 2\"",
"1"
] | s3903 | s390_handle_option | s390 | MPU | GCC | 11,933 | 151 | 1 | [] |
[
"<s>",
"void",
"rx_copy_reg_dead_or_unused_notes",
"(",
"rtx",
"reg",
",",
"const",
"rtx_insn",
"*",
"src",
",",
"rtx_insn",
"*",
"dst",
")",
"{",
"int",
"regno",
"=",
"REGNO",
"(",
"SUBREG_P",
"(",
"reg",
")",
"?",
"SUBREG_REG",
"(",
"reg",
")",
":",
... | [
"Copy",
"dead",
"and",
"unused",
"notes",
"from",
"SRC",
"to",
"DST",
"for",
"the",
"specified",
"REGNO",
"."
] | [
"rx"
] | rx | rx_copy_reg_dead_or_unused_notes | rx | CPU | GCC | 11,934 | 77 | 1 | [] |
[
"<s>",
"bool",
"HexagonEarlyIfConversion",
"::",
"isValid",
"(",
"const",
"FlowPattern",
"&",
"FP",
")",
"const",
"{",
"if",
"(",
"hasEHLabel",
"(",
"FP",
".",
"SplitB",
")",
")",
"return",
"false",
";",
"if",
"(",
"FP",
".",
"TrueB",
"&&",
"!",
"isVal... | [
"Returns",
"true",
"if",
"this",
"iterator",
"is",
"still",
"pointing",
"at",
"a",
"valid",
"entry",
"."
] | [
"Hexagon",
"Hexagon",
"0"
] | HexagonEarlyIfConv22 | isValid | Hexagon | DSP | LLVM | 11,935 | 136 | 1 | [] |
[
"<s>",
"static",
"void",
"replace_swap_with_copy",
"(",
"swap_web_entry",
"*",
"insn_entry",
",",
"unsigned",
"i",
")",
"{",
"rtx_insn",
"*",
"insn",
"=",
"insn_entry",
"[",
"i",
"]",
".",
"insn",
";",
"rtx",
"body",
"=",
"PATTERN",
"(",
"insn",
")",
";"... | [
"Find",
"the",
"insn",
"from",
"the",
"Ith",
"table",
"entry",
",",
"which",
"is",
"known",
"to",
"be",
"a",
"register",
"swap",
"Y",
"=",
"SWAP",
"(",
"X",
")",
".",
"Replace",
"it",
"with",
"a",
"copy",
"Y",
"=",
"X",
"."
] | [
"rs6000",
"0",
"\"Replacing swap %d with copy %d\\n\""
] | rs60004 | replace_swap_with_copy | rs6000 | CPU | GCC | 11,936 | 128 | 1 | [] |
[
"<s>",
"const",
"char",
"*",
"output_jump_label_table",
"(",
"void",
")",
"{",
"int",
"i",
";",
"if",
"(",
"pool_size",
")",
"{",
"fprintf",
"(",
"asm_out_file",
",",
"\"\\t.align 2\\n\"",
")",
";",
"for",
"(",
"i",
"=",
"0",
";",
"i",
"<",
"pool_size"... | [
"Dump",
"out",
"any",
"constants",
"accumulated",
"in",
"the",
"final",
"pass",
".",
"These",
"will",
"only",
"be",
"labels",
"."
] | [
"sh",
"\"\\t.align 2\\n\"",
"0",
"\"L\"",
"\".long\t%O0\"",
"0",
"\"\""
] | sh3 | output_jump_label_table | sh | CPU | GCC | 11,937 | 88 | 1 | [] |
[
"<s>",
"static",
"rtx",
"aarch64_expand_builtin",
"(",
"tree",
"exp",
",",
"rtx",
"target",
",",
"rtx",
",",
"machine_mode",
",",
"int",
"ignore",
")",
"{",
"tree",
"fndecl",
"=",
"TREE_OPERAND",
"(",
"CALL_EXPR_FN",
"(",
"exp",
")",
",",
"0",
")",
";",
... | [
"Implement",
"TARGET_EXPAND_BUILTIN",
"."
] | [
"aarch64",
"0",
"aarch64_sve::expand_builtin"
] | aarch64 | aarch64_expand_builtin | aarch64 | CPU | GCC | 11,938 | 91 | 1 | [] |
[
"<s>",
"static",
"rtx",
"s390_delegitimize_address",
"(",
"rtx",
"orig_x",
")",
"{",
"rtx",
"x",
"=",
"orig_x",
",",
"y",
";",
"if",
"(",
"GET_CODE",
"(",
"x",
")",
"!=",
"MEM",
")",
"return",
"orig_x",
";",
"x",
"=",
"XEXP",
"(",
"x",
",",
"0",
... | [
"In",
"the",
"name",
"of",
"slightly",
"smaller",
"debug",
"output",
",",
"and",
"to",
"cater",
"to",
"general",
"assembler",
"lossage",
",",
"recognize",
"various",
"UNSPEC",
"sequences",
"and",
"turn",
"them",
"back",
"into",
"a",
"direct",
"symbol",
"refe... | [
"s390",
"0",
"1",
"0",
"0",
"1",
"0",
"1",
"0",
"0",
"0",
"1",
"0",
"0"
] | s3903 | s390_delegitimize_address | s390 | MPU | GCC | 11,939 | 183 | 1 | [] |
[
"<s>",
"bool",
"MipsAsmParser",
"::",
"ParseDirective",
"(",
"AsmToken",
"DirectiveID",
")",
"{",
"StringRef",
"IDVal",
"=",
"DirectiveID",
".",
"getString",
"(",
")",
";",
"if",
"(",
"IDVal",
"==",
"\".ent\"",
")",
"{",
"Parser",
".",
"Lex",
"(",
")",
"... | [
"ParseDirective",
"-",
"Parse",
"a",
"target",
"specific",
"assembler",
"directive",
"This",
"method",
"is",
"deprecated",
",",
"use",
"'parseDirective",
"'",
"instead",
"."
] | [
"Mips",
"Mips",
"\".ent\"",
"\".end\"",
"\".frame\"",
"\".set\"",
"\".fmask\"",
"\".mask\"",
"\".gpword\"",
"\".word\"",
"4"
] | MipsAsmParser81 | ParseDirective | Mips | CPU | LLVM | 11,940 | 157 | 1 | [] |
[
"<s>",
"bool",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"override",
"{",
"LLVMContext",
"&",
"Cxt",
"=",
"MF",
".",
"getFunction",
"(",
")",
".",
"getContext",
"(",
")",
";",
"ForCodeSize",
"=",
"MF",
".",
"getFunction",
"(",
")",
... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"JVM",
"JVM",
"JVM",
"JVM",
"JVM",
"\"ConstantInitStruct\"",
"\"Global constants structure not present\"",
"0",
"\".ll\""
] | JVMISelDAGToDAG | runOnMachineFunction | JVM | Virtual ISA | LLVM | 11,941 | 206 | 1 | [] |
[
"<s>",
"static",
"bool",
"pa_pass_by_reference",
"(",
"cumulative_args_t",
",",
"const",
"function_arg_info",
"&",
"arg",
")",
"{",
"HOST_WIDE_INT",
"size",
"=",
"arg",
".",
"type_size_in_bytes",
"(",
")",
";",
"if",
"(",
"TARGET_64BIT",
")",
"return",
"size",
... | [
"In",
"the",
"32-bit",
"runtime",
",",
"arguments",
"larger",
"than",
"eight",
"bytes",
"are",
"passed",
"by",
"invisible",
"reference",
".",
"As",
"a",
"GCC",
"extension",
",",
"we",
"also",
"pass",
"anything",
"with",
"a",
"zero",
"or",
"variable",
"size... | [
"pa",
"0",
"0",
"8"
] | pa | pa_pass_by_reference | pa | CPU | GCC | 11,942 | 41 | 1 | [] |
[
"<s>",
"MachineInstr",
"*",
"SIInstrInfo",
"::",
"convertToThreeAddress",
"(",
"MachineFunction",
"::",
"iterator",
"&",
"MBB",
",",
"MachineInstr",
"&",
"MI",
",",
"LiveVariables",
"*",
"LV",
")",
"const",
"{",
"bool",
"IsF16",
"=",
"false",
";",
"switch",
... | [
"convertToThreeAddress",
"-",
"This",
"method",
"must",
"be",
"implemented",
"by",
"targets",
"that",
"set",
"the",
"M_CONVERTIBLE_TO_3_ADDR",
"flag",
"."
] | [
"AMDGPU",
"SI",
"AMDGPU::V_MAC_F16_e64",
"AMDGPU::V_MAC_F32_e64",
"AMDGPU::V_MAC_F16_e32",
"AMDGPU::V_MAC_F32_e32",
"AMDGPU::getNamedOperandIdx",
"AMDGPU::OpName",
"AMDGPU::OpName",
"AMDGPU::OpName",
"AMDGPU::OpName",
"AMDGPU::OpName",
"AMDGPU::V_MAD_F16",
"AMDGPU::V_MAD_F32",
"0",
"0"... | SIInstrInfo145 | convertToThreeAddress | AMDGPU | GPU | LLVM | 11,943 | 273 | 1 | [] |
[
"<s>",
"SDValue",
"MSP430TargetLowering",
"::",
"LowerCall",
"(",
"SDValue",
"Chain",
",",
"SDValue",
"Callee",
",",
"CallingConv",
"::",
"ID",
"CallConv",
",",
"bool",
"isVarArg",
",",
"bool",
"&",
"isTailCall",
",",
"const",
"SmallVectorImpl",
"<",
"ISD",
":... | [
"This",
"hook",
"must",
"be",
"implemented",
"to",
"lower",
"calls",
"into",
"the",
"specified",
"DAG",
"."
] | [
"MSP430",
"MSP430",
"ISD::OutputArg",
"ISD::InputArg",
"\"Unsupported calling convention\"",
"MSP430",
"\"ISRs cannot be called directly\""
] | MSP430ISelLowering39 | LowerCall | MSP430 | MPU | LLVM | 11,944 | 125 | 1 | [] |
[
"<s>",
"bool",
"SIWholeQuadMode",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"{",
"Instructions",
".",
"clear",
"(",
")",
";",
"Blocks",
".",
"clear",
"(",
")",
";",
"LiveMaskQueries",
".",
"clear",
"(",
")",
";",
"LowerToCopyInstr... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"AMDGPU",
"SI",
"AMDGPU::S_AND_B32",
"AMDGPU::S_XOR_B32_term",
"AMDGPU::S_OR_SAVEEXEC_B32",
"AMDGPU::EXEC_LO",
"AMDGPU::S_AND_B64",
"AMDGPU::S_XOR_B64_term",
"AMDGPU::S_OR_SAVEEXEC_B64",
"AMDGPU::EXEC",
"0",
"AMDGPU::COPY",
"AMDGPU::S_WQM_B32",
"AMDGPU::S_WQM_B64",
"AMDGPU::SCC"
] | SIWholeQuadMode19 | runOnMachineFunction | AMDGPU | GPU | LLVM | 11,945 | 453 | 1 | [] |
[
"<s>",
"bool",
"sh_is_logical_t_store_expr",
"(",
"rtx",
"op",
",",
"rtx_insn",
"*",
"insn",
")",
"{",
"if",
"(",
"!",
"logical_operator",
"(",
"op",
",",
"SImode",
")",
")",
"return",
"false",
";",
"rtx",
"ops",
"[",
"2",
"]",
"=",
"{",
"XEXP",
"(",... | [
"Given",
"an",
"op",
"rtx",
"and",
"an",
"insn",
",",
"try",
"to",
"find",
"out",
"whether",
"the",
"result",
"of",
"the",
"specified",
"op",
"consists",
"only",
"of",
"logical",
"operations",
"on",
"T",
"bit",
"stores",
"."
] | [
"sh",
"2",
"0",
"1",
"0",
"0",
"2",
"2"
] | sh4 | sh_is_logical_t_store_expr | sh | CPU | GCC | 11,946 | 160 | 1 | [] |
[
"<s>",
"AArch64TargetMachine",
"::",
"AArch64TargetMachine",
"(",
"const",
"Target",
"&",
"T",
",",
"const",
"Triple",
"&",
"TT",
",",
"StringRef",
"CPU",
",",
"StringRef",
"FS",
",",
"const",
"TargetOptions",
"&",
"Options",
",",
"Optional",
"<",
"Reloc",
"... | [
"Create",
"an",
"AArch64",
"architecture",
"model",
"."
] | [
"AArch64",
"AArch64",
"AArch64",
"AArch64",
"0",
"24",
"32",
"32",
"24",
"24"
] | AArch64TargetMachine1 | AArch64TargetMachine | AArch64 | CPU | LLVM | 11,947 | 321 | 1 | [] |
[
"<s>",
"enum",
"reg_class",
"avr_regno_reg_class",
"(",
"int",
"r",
")",
"{",
"if",
"(",
"r",
"<=",
"33",
")",
"return",
"reg_class_tab",
"[",
"r",
"]",
";",
"return",
"ALL_REGS",
";",
"}",
"</s>"
] | [
"Return",
"register",
"class",
"for",
"register",
"R"
] | [
"avr",
"33"
] | avr3 | avr_regno_reg_class | avr | MPU | GCC | 11,948 | 24 | 1 | [] |
[
"<s>",
"void",
"function_expander",
"::",
"add_vundef_operand",
"(",
"machine_mode",
"mode",
")",
"{",
"add_input_operand",
"(",
"mode",
",",
"RVV_VUNDEF",
"(",
"mode",
")",
")",
";",
"}",
"</s>"
] | [
"Since",
"we",
"may",
"normalize",
"vop/vop_tu/vop_m/vop_tumu",
"..",
"into",
"a",
"single",
"patter",
".",
"We",
"add",
"a",
"undef",
"for",
"the",
"intrinsics",
"that",
"do",
"n't",
"need",
"a",
"real",
"merge",
"."
] | [
"riscv"
] | riscv-vector-builtins | add_vundef_operand | riscv | CPU | GCC | 11,949 | 20 | 1 | [] |
[
"<s>",
"static",
"rtx",
"function_value_32",
"(",
"machine_mode",
"orig_mode",
",",
"machine_mode",
"mode",
",",
"const_tree",
"fntype",
",",
"const_tree",
"fn",
")",
"{",
"unsigned",
"int",
"regno",
";",
"if",
"(",
"VECTOR_MODE_P",
"(",
"mode",
")",
"&&",
"... | [
"Define",
"how",
"to",
"find",
"the",
"value",
"returned",
"by",
"a",
"function",
".",
"VALTYPE",
"is",
"the",
"data",
"type",
"of",
"the",
"value",
"(",
"as",
"a",
"tree",
")",
".",
"If",
"the",
"precise",
"function",
"being",
"called",
"is",
"known",... | [
"i386",
"8",
"16",
"32",
"64",
"1",
"0",
"0",
"0",
"1",
"\"calling %qD with SSE calling convention without \"",
"\"SSE/SSE2 enabled\"",
"\"this is a GCC bug that can be worked around by adding \"",
"\"attribute used to function called\"",
"1",
"2"
] | i3861 | function_value_32 | i386 | CPU | GCC | 11,950 | 283 | 1 | [] |
[
"<s>",
"const",
"char",
"*",
"ashrqi3_out",
"(",
"rtx_insn",
"*",
"insn",
",",
"rtx",
"operands",
"[",
"]",
",",
"int",
"*",
"len",
")",
"{",
"if",
"(",
"CONST_INT_P",
"(",
"operands",
"[",
"2",
"]",
")",
")",
"{",
"int",
"k",
";",
"if",
"(",
"... | [
"8bit",
"arithmetic",
"shift",
"right",
"(",
"(",
"signed",
"char",
")",
"x",
">",
">",
"i",
")"
] | [
"avr",
"2",
"2",
"1",
"1",
"\"asr %0\"",
"2",
"2",
"\"asr %0\"",
"\"asr %0\"",
"3",
"3",
"\"asr %0\"",
"\"asr %0\"",
"\"asr %0\"",
"4",
"4",
"\"asr %0\"",
"\"asr %0\"",
"\"asr %0\"",
"\"asr %0\"",
"5",
"5",
"\"asr %0\"",
"\"asr %0\"",
"\"asr %0\"",
"\"asr %0\"",
... | avr | ashrqi3_out | avr | MPU | GCC | 11,951 | 224 | 1 | [] |
[
"<s>",
"static",
"rtx",
"visium_function_value_1",
"(",
"enum",
"machine_mode",
"mode",
")",
"{",
"if",
"(",
"TARGET_FPU",
"&&",
"(",
"(",
"GET_MODE_CLASS",
"(",
"mode",
")",
"==",
"MODE_FLOAT",
"&&",
"GET_MODE_SIZE",
"(",
"mode",
")",
"<=",
"UNITS_PER_HWFPVAL... | [
"Define",
"how",
"scalar",
"values",
"are",
"returned",
"."
] | [
"visium",
"2"
] | visium2 | visium_function_value_1 | visium | Virtual ISA | GCC | 11,952 | 66 | 1 | [] |
[
"<s>",
"bool",
"AMDGPUTargetLowering",
"::",
"isTruncateFree",
"(",
"Type",
"*",
"Source",
",",
"Type",
"*",
"Dest",
")",
"const",
"{",
"unsigned",
"SrcSize",
"=",
"Source",
"->",
"getScalarSizeInBits",
"(",
")",
";",
"unsigned",
"DestSize",
"=",
"Dest",
"->... | [
"Return",
"true",
"if",
"it",
"'s",
"free",
"to",
"truncate",
"a",
"value",
"of",
"type",
"Ty1",
"to",
"type",
"Ty2",
"."
] | [
"AMDGPU",
"AMDGPU",
"16",
"32",
"32",
"0"
] | AMDGPUISelLowering (2)1 | isTruncateFree | AMDGPU | GPU | LLVM | 11,953 | 62 | 1 | [] |
[
"<s>",
"virtual",
"bool",
"doInitialization",
"(",
"Module",
"&",
"M",
")",
"{",
"LLVMContext",
"&",
"Ctx",
"=",
"M",
".",
"getContext",
"(",
")",
";",
"Mod",
"=",
"&",
"M",
";",
"FloatType",
"=",
"Type",
"::",
"getFloatTy",
"(",
"Ctx",
")",
";",
"... | [
"Set",
"up",
"the",
"AsmPrinter",
"when",
"we",
"are",
"working",
"on",
"a",
"new",
"module",
"."
] | [
"R600",
"4",
"4"
] | R600TextureIntrinsicsReplacer2 | doInitialization | R600 | GPU | LLVM | 11,954 | 152 | 1 | [] |
[
"<s>",
"void",
"emitGlobalType",
"(",
"const",
"MCSymbolWasm",
"*",
")",
"override",
"{",
"}",
"</s>"
] | [
".globaltype"
] | [
"WebAssembly"
] | WebAssemblyTargetStreamer (2)1 | emitGlobalType | WebAssembly | Virtual ISA | LLVM | 11,955 | 10 | 1 | [] |
[
"<s>",
"unsigned",
"char",
"X86Subtarget",
"::",
"ClassifyGlobalReference",
"(",
"const",
"GlobalValue",
"*",
"GV",
",",
"const",
"TargetMachine",
"&",
"TM",
")",
"const",
"{",
"if",
"(",
"GV",
"->",
"hasDLLImportLinkage",
"(",
")",
")",
"return",
"X86II",
"... | [
"ClassifyGlobalReference",
"-",
"Find",
"the",
"target",
"operand",
"flags",
"that",
"describe",
"how",
"a",
"global",
"value",
"should",
"be",
"referenced",
"for",
"the",
"current",
"subtarget",
"."
] | [
"X86",
"X86",
"X86II::MO_DLLIMPORT",
"X86II::MO_NO_FLAG",
"X86II::MO_GOTPCREL",
"\"Unknown rip-relative target\"",
"X86II::MO_GOTPCREL",
"X86II::MO_NO_FLAG",
"X86II::MO_GOTOFF",
"X86II::MO_GOT",
"X86II::MO_PIC_BASE_OFFSET",
"X86II::MO_DARWIN_NONLAZY_PIC_BASE",
"X86II::MO_DARWIN_HIDDEN_NONLAZ... | X86Subtarget10 | ClassifyGlobalReference | X86 | CPU | LLVM | 11,956 | 283 | 1 | [] |
[
"<s>",
"void",
"dump",
"(",
")",
"const",
"{",
"if",
"(",
"Start",
")",
"dbgs",
"(",
")",
"<<",
"\"ARM Loops: Found Loop Start: \"",
"<<",
"*",
"Start",
";",
"if",
"(",
"Dec",
")",
"dbgs",
"(",
")",
"<<",
"\"ARM Loops: Found Loop Dec: \"",
"<<",
"*",
"De... | [
"Dump",
"the",
"plan",
"to",
"stderr",
"(",
"for",
"debugging",
")",
"."
] | [
"ARM",
"\"ARM Loops: Found Loop Start: \"",
"\"ARM Loops: Found Loop Dec: \"",
"\"ARM Loops: Found Loop End: \"",
"\"ARM Loops: Found VCTP(s):\\n\"",
"\" - \"",
"\"ARM Loops: Not a low-overhead loop.\\n\"",
"\"ARM Loops: Failed to find all loop components.\\n\""
] | ARMLowOverheadLoops | dump | ARM | CPU | LLVM | 11,957 | 111 | 1 | [] |
[
"<s>",
"bool",
"ARMAsmPrinter",
"::",
"lowerOperand",
"(",
"const",
"MachineOperand",
"&",
"MO",
",",
"MCOperand",
"&",
"MCOp",
")",
"{",
"switch",
"(",
"MO",
".",
"getType",
"(",
")",
")",
"{",
"default",
":",
"llvm_unreachable",
"(",
"\"unknown operand typ... | [
"Wrapper",
"for",
"MCInstLowering.lowerOperand",
"(",
")",
"for",
"the",
"tblgen'erated",
"pseudo",
"lowering",
"."
] | [
"ARM",
"ARM",
"\"unknown operand type\"",
"ARM::CPSR",
"\"Subregs should be eliminated!\"",
"ARM",
"\"execute-only should not generate constant pools\""
] | ARMMCInstLower10 | lowerOperand | ARM | CPU | LLVM | 11,958 | 338 | 1 | [] |
[
"<s>",
"Val",
"(",
"unsigned",
"int",
"Op",
",",
"std",
"::",
"vector",
"<",
"unsigned",
"int",
">",
"Nums",
")",
":",
"Op",
"(",
"Op",
")",
",",
"Nums",
"(",
"Nums",
")",
"{",
"}",
"</s>"
] | [
"The",
"constant",
"itself",
"."
] | [
"TOY"
] | TOYPreEmit | Val | TOY | CPU | LLVM | 11,959 | 27 | 1 | [] |
[
"<s>",
"void",
"HexagonAsmPrinter",
"::",
"EmitInstruction",
"(",
"const",
"MachineInstr",
"*",
"MI",
")",
"{",
"MCInst",
"MCB",
";",
"MCB",
".",
"setOpcode",
"(",
"Hexagon",
"::",
"BUNDLE",
")",
";",
"MCB",
".",
"addOperand",
"(",
"MCOperand",
"::",
"crea... | [
"EmitInstruction",
"-",
"This",
"callback",
"is",
"invoked",
"when",
"an",
"instruction",
"is",
"emitted",
",",
"to",
"advance",
"the",
"hazard",
"state",
"."
] | [
"Hexagon",
"Hexagon",
"Hexagon::BUNDLE",
"0",
"0",
"Hexagon",
"Hexagon",
"Hexagon",
"Hexagon",
"8",
"Hexagon",
"Hexagon"
] | HexagonAsmPrinter35 | EmitInstruction | Hexagon | DSP | LLVM | 11,960 | 232 | 1 | [] |
[
"<s>",
"bool",
"ARMBaseInstrInfo",
"::",
"expandPostRAPseudo",
"(",
"MachineBasicBlock",
"::",
"iterator",
"MI",
")",
"const",
"{",
"if",
"(",
"!",
"WidenVMOVS",
"||",
"!",
"MI",
"->",
"isCopy",
"(",
")",
"||",
"Subtarget",
".",
"isCortexA15",
"(",
")",
")... | [
"This",
"function",
"is",
"called",
"for",
"all",
"pseudo",
"instructions",
"that",
"remain",
"after",
"register",
"allocation",
"."
] | [
"ARM",
"ARM",
"0",
"1",
"ARM::SPRRegClass",
"ARM::ssub_0",
"ARM::DPRRegClass",
"ARM::ssub_0",
"ARM::DPRRegClass",
"0",
"\"widening: \"",
"1",
"ARM::VMOVD",
"0",
"1",
"1",
"1",
"1",
"\"replaced by: \""
] | ARMBaseInstrInfo (2) | expandPostRAPseudo | ARM | CPU | LLVM | 11,961 | 347 | 1 | [] |
[
"<s>",
"static",
"void",
"avr_encode_section_info",
"(",
"tree",
"decl",
",",
"rtx",
"rtl",
",",
"int",
"new_decl_p",
")",
"{",
"tree",
"addr_attr",
"=",
"NULL_TREE",
";",
"if",
"(",
"new_decl_p",
"&&",
"decl",
"&&",
"DECL_P",
"(",
"decl",
")",
"&&",
"NU... | [
"Implement",
"`",
"TARGET_ENCODE_SECTION_INFO",
"'",
"."
] | [
"avr",
"\"uninitialized variable %q+D put into \"",
"\"program memory area\"",
"0",
"0",
"1",
"\"io_low\"",
"\"io\"",
"\"address\"",
"0",
"0",
"1",
"0xc0",
"\"%q+D has incompatible attributes %qs and %qs\"",
"\"progmem\"",
"\"absdata\""
] | avr6 | avr_encode_section_info | avr | MPU | GCC | 11,962 | 497 | 1 | [] |
[
"<s>",
"void",
"X86DAGToDAGISel",
"::",
"PreprocessISelDAG",
"(",
")",
"{",
"OptForSize",
"=",
"MF",
"->",
"getFunction",
"(",
")",
"->",
"hasFnAttr",
"(",
"Attribute",
"::",
"OptimizeForSize",
")",
";",
"for",
"(",
"SelectionDAG",
"::",
"allnodes_iterator",
"... | [
"PreprocessISelDAG",
"-",
"This",
"hook",
"allows",
"targets",
"to",
"hack",
"on",
"the",
"graph",
"before",
"instruction",
"selection",
"starts",
"."
] | [
"X86",
"X86",
"X86ISD::CALL",
"X86ISD::TC_RETURN",
"X86ISD::CALL",
"0",
"1",
"0",
"ISD::FP_ROUND",
"ISD::FP_EXTEND",
"0",
"0",
"X86",
"X86",
"ISD::FP_EXTEND",
"1",
"ISD::FP_ROUND",
"0",
"0",
"ISD::EXTLOAD",
"0",
"0"
] | X86ISelDAGToDAG55 | PreprocessISelDAG | X86 | CPU | LLVM | 11,963 | 412 | 1 | [] |
[
"<s>",
"void",
"pa_d_register_target_info",
"(",
"void",
")",
"{",
"const",
"struct",
"d_target_info_spec",
"handlers",
"[",
"]",
"=",
"{",
"{",
"\"floatAbi\"",
",",
"pa_d_handle_target_float_abi",
"}",
",",
"{",
"\"objectFormat\"",
",",
"pa_d_handle_target_object_for... | [
"Implement",
"TARGET_D_REGISTER_CPU_TARGET_INFO",
"."
] | [
"pa",
"\"floatAbi\"",
"\"objectFormat\""
] | pa-d | pa_d_register_target_info | pa | CPU | GCC | 11,964 | 40 | 1 | [] |
[
"<s>",
"unsigned",
"ARMFastISel",
"::",
"fastMaterializeAlloca",
"(",
"const",
"AllocaInst",
"*",
"AI",
")",
"{",
"if",
"(",
"!",
"FuncInfo",
".",
"StaticAllocaMap",
".",
"count",
"(",
"AI",
")",
")",
"return",
"0",
";",
"MVT",
"VT",
";",
"if",
"(",
"!... | [
"Emit",
"an",
"alloca",
"address",
"in",
"a",
"register",
"using",
"target-specific",
"logic",
"."
] | [
"ARM",
"ARM",
"0",
"0",
"ARM::t2ADDri",
"ARM::ADDri",
"0",
"0",
"0"
] | ARMFastISel (2)2 | fastMaterializeAlloca | ARM | CPU | LLVM | 11,965 | 175 | 1 | [] |
[
"<s>",
"bool",
"X86PassConfig",
"::",
"addPreRegAlloc",
"(",
")",
"{",
"addPass",
"(",
"createX86ProtectJTSupport",
"(",
")",
")",
";",
"return",
"false",
";",
"}",
"</s>"
] | [
"This",
"method",
"may",
"be",
"implemented",
"by",
"targets",
"that",
"want",
"to",
"run",
"passes",
"immediately",
"before",
"register",
"allocation",
"."
] | [
"X86",
"X86",
"X86"
] | X86TargetMachine2 | addPreRegAlloc | X86 | CPU | LLVM | 11,966 | 18 | 1 | [] |
[
"<s>",
"void",
"SparcRegisterInfo",
"::",
"eliminateFrameIndex",
"(",
"MachineBasicBlock",
"::",
"iterator",
"II",
",",
"int",
"SPAdj",
",",
"unsigned",
"FIOperandNum",
",",
"RegScavenger",
"*",
"RS",
")",
"const",
"{",
"assert",
"(",
"SPAdj",
"==",
"0",
"&&",... | [
"This",
"method",
"must",
"be",
"overriden",
"to",
"eliminate",
"abstract",
"frame",
"indices",
"from",
"instructions",
"which",
"may",
"use",
"them",
"."
] | [
"Sparc",
"Sparc",
"SP",
"SP",
"0",
"\"Unexpected\"",
"Sparc",
"Sparc",
"Sparc",
"1",
"SP::STQFri",
"2",
"SP::sub_even64",
"SP::sub_odd64",
"SP::STDFri",
"0",
"0",
"SP::STDFri",
"2",
"8",
"SP::LDQFri",
"0",
"SP::sub_even64",
"SP::sub_odd64",
"SP::LDDFri",
"0",
"1",... | SparcRegisterInfo22 | eliminateFrameIndex | Sparc | CPU | LLVM | 11,967 | 478 | 1 | [] |
[
"<s>",
"static",
"void",
"get_scratch_register_on_entry",
"(",
"struct",
"scratch_reg",
"*",
"sr",
")",
"{",
"int",
"regno",
";",
"sr",
"->",
"saved",
"=",
"false",
";",
"if",
"(",
"TARGET_64BIT",
")",
"{",
"regno",
"=",
"R11_REG",
";",
"}",
"else",
"{",... | [
"Return",
"a",
"short-lived",
"scratch",
"register",
"for",
"use",
"on",
"function",
"entry",
".",
"In",
"32-bit",
"mode",
",",
"it",
"is",
"valid",
"only",
"after",
"the",
"registers",
"are",
"saved",
"in",
"the",
"prologue",
".",
"This",
"register",
"mus... | [
"i386",
"\"fastcall\"",
"\"thiscall\"",
"1",
"2",
"3",
"3",
"1"
] | i3865 | get_scratch_register_on_entry | i386 | CPU | GCC | 11,968 | 302 | 1 | [] |
[
"<s>",
"static",
"tree",
"ix86_get_builtin_func_type",
"(",
"enum",
"ix86_builtin_func_type",
"tcode",
")",
"{",
"tree",
"type",
";",
"gcc_assert",
"(",
"(",
"unsigned",
")",
"tcode",
"<",
"ARRAY_SIZE",
"(",
"ix86_builtin_func_type_tab",
")",
")",
";",
"type",
"... | [
"Retrieve",
"an",
"element",
"from",
"the",
"above",
"table",
",",
"building",
"some",
"of",
"the",
"types",
"lazily",
"."
] | [
"i386",
"1",
"1",
"1"
] | i386-builtins | ix86_get_builtin_func_type | i386 | CPU | GCC | 11,969 | 189 | 1 | [] |
[
"<s>",
"const",
"TL45Subtarget",
"*",
"getSubtargetImpl",
"(",
"const",
"Function",
"&",
")",
"const",
"override",
"{",
"return",
"&",
"DefaultSubtarget",
";",
"}",
"</s>"
] | [
"Virtual",
"method",
"implemented",
"by",
"subclasses",
"that",
"returns",
"a",
"reference",
"to",
"that",
"target",
"'s",
"TargetSubtargetInfo-derived",
"member",
"variable",
"."
] | [
"TL45",
"TL45"
] | TL45TargetMachine | getSubtargetImpl | TL45 | MPU | LLVM | 11,970 | 17 | 1 | [] |
[
"<s>",
"static",
"int",
"get_num_immediates",
"(",
"rtx_insn",
"*",
"insn",
",",
"int",
"*",
"imm",
",",
"int",
"*",
"imm32",
",",
"int",
"*",
"imm64",
")",
"{",
"imm_info",
"imm_values",
"=",
"{",
"0",
",",
"0",
",",
"0",
"}",
";",
"find_constant",
... | [
"Return",
"total",
"size",
"of",
"immediate",
"operands",
"of",
"an",
"instruction",
"along",
"with",
"number",
"of",
"corresponding",
"immediate-operands",
".",
"It",
"initializes",
"its",
"parameters",
"to",
"zero",
"befor",
"calling",
"FIND_CONSTANT",
".",
"INS... | [
"i386",
"0",
"0",
"0",
"4",
"8"
] | i3865 | get_num_immediates | i386 | CPU | GCC | 11,971 | 75 | 1 | [] |
[
"<s>",
"bool",
"isStackIdSafeForLocalArea",
"(",
"unsigned",
"StackId",
")",
"const",
"override",
"{",
"return",
"StackId",
"!=",
"TargetStackID",
"::",
"ScalableVector",
";",
"}",
"</s>"
] | [
"This",
"method",
"returns",
"whether",
"or",
"not",
"it",
"is",
"safe",
"for",
"an",
"object",
"with",
"the",
"given",
"stack",
"id",
"to",
"be",
"bundled",
"into",
"the",
"local",
"area",
"."
] | [
"AArch64"
] | AArch64FrameLowering (2)1 | isStackIdSafeForLocalArea | AArch64 | CPU | LLVM | 11,972 | 17 | 1 | [] |
[
"<s>",
"void",
"mmix_init_expanders",
"(",
"void",
")",
"{",
"init_machine_status",
"=",
"mmix_init_machine_status",
";",
"}",
"</s>"
] | [
"INIT_EXPANDERS",
"."
] | [
"mmix"
] | mmix | mmix_init_expanders | mmix | CPU | GCC | 11,973 | 11 | 1 | [] |
[
"<s>",
"bool",
"NVPTXReplaceImageHandles",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"{",
"bool",
"Changed",
"=",
"false",
";",
"InstrsToRemove",
".",
"clear",
"(",
")",
";",
"for",
"(",
"MachineBasicBlock",
"&",
"MBB",
":",
"MF",
... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"NVPTX",
"NVPTX"
] | NVPTXReplaceImageHandles17 | runOnMachineFunction | NVPTX | GPU | LLVM | 11,974 | 62 | 1 | [] |
[
"<s>",
"bool",
"fixupNeedsRelaxation",
"(",
"const",
"MCFixup",
"&",
"Fixup",
",",
"uint64_t",
"Value",
",",
"const",
"MCRelaxableFragment",
"*",
"DF",
",",
"const",
"MCAsmLayout",
"&",
"Layout",
")",
"const",
"override",
"{",
"return",
"false",
";",
"}",
"<... | [
"Simple",
"predicate",
"for",
"targets",
"where",
"!",
"Resolved",
"implies",
"requiring",
"relaxation",
"."
] | [
"UPT"
] | UPTAsmBackend | fixupNeedsRelaxation | UPT | CPU | LLVM | 11,975 | 28 | 1 | [] |
[
"<s>",
"const",
"RegisterBankInfo",
"::",
"InstructionMapping",
"&",
"MipsRegisterBankInfo",
"::",
"getInstrMapping",
"(",
"const",
"MachineInstr",
"&",
"MI",
")",
"const",
"{",
"unsigned",
"Opc",
"=",
"MI",
".",
"getOpcode",
"(",
")",
";",
"const",
"RegisterBan... | [
"Get",
"the",
"mapping",
"of",
"the",
"different",
"operands",
"of",
"MI",
"on",
"the",
"register",
"bank",
"."
] | [
"Mips",
"Mips",
"Mips::ValueMappings",
"Mips::GPRIdx",
"Mips::ValueMappings",
"Mips::GPRIdx",
"Mips::ValueMappings",
"Mips::GPRIdx",
"Mips::ValueMappings",
"Mips::GPRIdx",
"Mips::ValueMappings",
"Mips::GPRIdx",
"Mips::ValueMappings",
"Mips::GPRIdx",
"Mips::ValueMappings",
"Mips::GPRIdx... | MipsRegisterBankInfo12 | getInstrMapping | Mips | CPU | LLVM | 11,976 | 290 | 1 | [] |
[
"<s>",
"void",
"init_cumulative_args",
"(",
"CUMULATIVE_ARGS",
"*",
"cum",
",",
"tree",
"fntype",
",",
"rtx",
"libname",
"ATTRIBUTE_UNUSED",
",",
"int",
"incoming",
",",
"int",
"libcall",
",",
"int",
"n_named_args",
",",
"tree",
"fndecl",
"ATTRIBUTE_UNUSED",
","... | [
"Handle",
"the",
"INIT_CUMULATIVE_ARGS",
"macro",
".",
"Initialize",
"a",
"variable",
"CUM",
"of",
"type",
"CUMULATIVE_ARGS",
"for",
"a",
"call",
"to",
"a",
"function",
"whose",
"data",
"type",
"is",
"FNTYPE",
".",
"For",
"a",
"library",
"call",
",",
"FNTYPE... | [
"powerpcspe",
"0",
"0",
"\"longcall\"",
"\"shortcall\"",
"\"\\ninit_cumulative_args:\"",
"\" ret code = %s,\"",
"\" longcall,\"",
"\" proto = %d, nargs = %d\\n\"",
"0",
"8",
"\"cannot return value in vector register because\"",
"\" altivec instructions are disabled, use -maltivec\"",
"\" t... | powerpcspe | init_cumulative_args | powerpcspe | CPU | GCC | 11,977 | 474 | 1 | [] |
[
"<s>",
"bool",
"X86AsmBackend",
"::",
"writeNopData",
"(",
"uint64_t",
"Count",
",",
"MCObjectWriter",
"*",
"OW",
")",
"const",
"{",
"static",
"const",
"uint8_t",
"Nops",
"[",
"10",
"]",
"[",
"10",
"]",
"=",
"{",
"{",
"0x90",
"}",
",",
"{",
"0x66",
"... | [
"Write",
"an",
"(",
"optimal",
")",
"nop",
"sequence",
"of",
"Count",
"bytes",
"to",
"the",
"given",
"output",
"."
] | [
"X86",
"X86",
"10",
"10",
"0x90",
"0x66",
"0x90",
"0x0f",
"0x1f",
"0x00",
"0x0f",
"0x1f",
"0x40",
"0x00",
"0x0f",
"0x1f",
"0x44",
"0x00",
"0x00",
"0x66",
"0x0f",
"0x1f",
"0x44",
"0x00",
"0x00",
"0x0f",
"0x1f",
"0x80",
"0x00",
"0x00",
"0x00",
"0x00",
"0... | X86AsmBackend19 | writeNopData | X86 | CPU | LLVM | 11,978 | 322 | 1 | [] |
[
"<s>",
"bool",
"HexagonPacketizer",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"Fn",
")",
"{",
"const",
"TargetInstrInfo",
"*",
"TII",
"=",
"Fn",
".",
"getSubtarget",
"(",
")",
".",
"getInstrInfo",
"(",
")",
";",
"MachineLoopInfo",
"&",
"MLI",
... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"Hexagon",
"Hexagon",
"Hexagon",
"\"Empty DFA table!\""
] | HexagonVLIWPacketizer | runOnMachineFunction | Hexagon | DSP | LLVM | 11,979 | 352 | 1 | [] |
[
"<s>",
"static",
"tree",
"make_resolver_func",
"(",
"const",
"tree",
"default_decl",
",",
"const",
"tree",
"dispatch_decl",
",",
"basic_block",
"*",
"empty_bb",
")",
"{",
"tree",
"decl_name",
"=",
"clone_function_name",
"(",
"default_decl",
",",
"\"resolver\"",
")... | [
"Make",
"the",
"resolver",
"function",
"decl",
"to",
"dispatch",
"the",
"versions",
"of",
"a",
"multi-",
"versioned",
"function",
",",
"DEFAULT_DECL",
".",
"Create",
"an",
"empty",
"basic",
"block",
"in",
"the",
"resolver",
"and",
"store",
"the",
"pointer",
... | [
"rs6000",
"\"resolver\"",
"1",
"1",
"0",
"0",
"1",
"0",
"0",
"0",
"1",
"0",
"1",
"1",
"\"ifunc\""
] | rs6000 | make_resolver_func | rs6000 | CPU | GCC | 11,980 | 309 | 1 | [] |
[
"<s>",
"static",
"bool",
"mips_cannot_force_const_mem",
"(",
"machine_mode",
"mode",
",",
"rtx",
"x",
")",
"{",
"enum",
"mips_symbol_type",
"type",
";",
"rtx",
"base",
",",
"offset",
";",
"if",
"(",
"GET_CODE",
"(",
"x",
")",
"==",
"HIGH",
")",
"return",
... | [
"Return",
"true",
"if",
"X",
"can",
"not",
"be",
"forced",
"into",
"a",
"constant",
"pool",
"."
] | [
"mips",
"0"
] | mips4 | mips_cannot_force_const_mem | mips | CPU | GCC | 11,981 | 132 | 1 | [] |
[
"<s>",
"SDValue",
"R600TargetLowering",
"::",
"LowerFormalArguments",
"(",
"SDValue",
"Chain",
",",
"CallingConv",
"::",
"ID",
"CallConv",
",",
"bool",
"isVarArg",
",",
"const",
"SmallVectorImpl",
"<",
"ISD",
"::",
"InputArg",
">",
"&",
"Ins",
",",
"SDLoc",
"D... | [
"This",
"hook",
"must",
"be",
"implemented",
"to",
"lower",
"the",
"incoming",
"(",
"formal",
")",
"arguments",
",",
"described",
"by",
"the",
"Ins",
"array",
",",
"into",
"the",
"specified",
"DAG",
"."
] | [
"AMDGPU",
"R600",
"ISD::InputArg",
"16",
"R600",
"R600",
"ISD::InputArg",
"8",
"0",
"ISD::InputArg",
"AMDGPU::isShader",
"AMDGPU::R600_Reg128RegClass",
"AMDGPU",
"ISD::LoadExtType",
"ISD::NON_EXTLOAD",
"ISD::SEXTLOAD",
"36",
"ISD::UNINDEXED",
"MVT::i32",
"MVT::i32",
"4"
] | R600ISelLowering56 | LowerFormalArguments | AMDGPU | GPU | LLVM | 11,982 | 453 | 1 | [] |
[
"<s>",
"void",
"BPFRegisterInfo",
"::",
"eliminateFrameIndex",
"(",
"MachineBasicBlock",
"::",
"iterator",
"II",
",",
"int",
"SPAdj",
",",
"unsigned",
"FIOperandNum",
",",
"RegScavenger",
"*",
"RS",
")",
"const",
"{",
"assert",
"(",
"SPAdj",
"==",
"0",
"&&",
... | [
"This",
"method",
"must",
"be",
"overriden",
"to",
"eliminate",
"abstract",
"frame",
"indices",
"from",
"instructions",
"which",
"may",
"use",
"them",
"."
] | [
"BPF",
"BPF",
"0",
"\"Unexpected\"",
"0",
"\"Instr doesn't have FrameIndex operand!\"",
"BPF::MOV_rr",
"1",
"BPF::ADD_ri",
"1",
"32",
"\"bug in frame offset\"",
"BPF::FI_ri",
"1",
"BPF::MOV_rr",
"BPF::ADD_ri",
"1"
] | BPFRegisterInfo | eliminateFrameIndex | BPF | Virtual ISA | LLVM | 11,983 | 453 | 1 | [] |
[
"<s>",
"virtual",
"ScheduleHazardRecognizer",
"*",
"CreateTargetHazardRecognizer",
"(",
")",
"{",
"const",
"TargetInstrInfo",
"*",
"II",
"=",
"TM",
".",
"getInstrInfo",
"(",
")",
";",
"assert",
"(",
"II",
"&&",
"\"No InstrInfo?\"",
")",
";",
"return",
"new",
"... | [
"Allocate",
"and",
"return",
"a",
"hazard",
"recognizer",
"to",
"use",
"for",
"this",
"target",
"when",
"scheduling",
"the",
"machine",
"instructions",
"before",
"register",
"allocation",
"."
] | [
"PowerPC",
"\"No InstrInfo?\"",
"PPC"
] | PPCISelDAGToDAG12 | CreateTargetHazardRecognizer | PowerPC | CPU | LLVM | 11,984 | 34 | 1 | [] |
[
"<s>",
"unsigned",
"int",
"mn10300_store_multiple_regs",
"(",
"rtx",
"op",
")",
"{",
"int",
"count",
";",
"int",
"mask",
";",
"int",
"i",
";",
"unsigned",
"int",
"last",
";",
"rtx",
"elt",
";",
"count",
"=",
"XVECLEN",
"(",
"op",
",",
"0",
")",
";",
... | [
"Recognize",
"the",
"PARALLEL",
"rtx",
"generated",
"by",
"mn10300_gen_multiple_store",
"(",
")",
".",
"This",
"function",
"is",
"for",
"MATCH_PARALLEL",
"and",
"so",
"assumes",
"OP",
"is",
"known",
"to",
"be",
"parallel",
".",
"If",
"OP",
"is",
"a",
"multip... | [
"mn10300",
"0",
"2",
"0",
"0",
"0",
"0",
"0",
"0",
"1",
"1",
"1",
"4",
"0",
"0",
"1",
"0",
"0",
"1",
"0",
"0",
"0",
"1",
"1",
"4",
"0",
"0x3c000",
"0",
"0x3c000",
"0x3c000",
"0"
] | mn10300 | mn10300_store_multiple_regs | mn10300 | MPU | GCC | 11,985 | 349 | 1 | [] |
[
"<s>",
"static",
"void",
"finish_bundle_states",
"(",
"void",
")",
"{",
"struct",
"bundle_state",
"*",
"curr_state",
",",
"*",
"next_state",
";",
"for",
"(",
"curr_state",
"=",
"allocated_bundle_states_chain",
";",
"curr_state",
"!=",
"NULL",
";",
"curr_state",
... | [
"Finish",
"work",
"with",
"abstract",
"data",
"`",
"bundle",
"states",
"'",
"."
] | [
"ia64"
] | ia64 | finish_bundle_states | ia64 | CPU | GCC | 11,986 | 50 | 1 | [] |
[
"<s>",
"void",
"visium_expand_fp_cstore",
"(",
"rtx",
"*",
"operands",
",",
"enum",
"machine_mode",
"mode",
"ATTRIBUTE_UNUSED",
")",
"{",
"enum",
"rtx_code",
"code",
"=",
"GET_CODE",
"(",
"operands",
"[",
"1",
"]",
")",
";",
"rtx",
"op0",
"=",
"operands",
... | [
"Expand",
"a",
"cstore",
"of",
"OPERANDS",
"in",
"MODE",
"for",
"LT/GT/UNGE/UNLE",
".",
"We",
"generate",
"the",
"result",
"in",
"the",
"C",
"flag",
"and",
"use",
"the",
"ADC/SUBC",
"instructions",
"to",
"write",
"it",
"into",
"the",
"destination",
"register... | [
"visium",
"1",
"0",
"2",
"3"
] | visium3 | visium_expand_fp_cstore | visium | Virtual ISA | GCC | 11,987 | 168 | 1 | [] |
[
"<s>",
"bool",
"X86TargetLowering",
"::",
"isExtractSubvectorCheap",
"(",
"EVT",
"ResVT",
",",
"EVT",
"SrcVT",
",",
"unsigned",
"Index",
")",
"const",
"{",
"if",
"(",
"!",
"isOperationLegalOrCustom",
"(",
"ISD",
"::",
"EXTRACT_SUBVECTOR",
",",
"ResVT",
")",
")... | [
"Return",
"true",
"if",
"EXTRACT_SUBVECTOR",
"is",
"cheap",
"for",
"this",
"result",
"type",
"with",
"this",
"index",
"."
] | [
"X86",
"X86",
"ISD::EXTRACT_SUBVECTOR",
"MVT::i1",
"0",
"2",
"0"
] | X86ISelLowering (2)5 | isExtractSubvectorCheap | X86 | CPU | LLVM | 11,988 | 90 | 1 | [] |
[
"<s>",
"SDValue",
"SITargetLowering",
"::",
"PerformDAGCombine",
"(",
"SDNode",
"*",
"N",
",",
"DAGCombinerInfo",
"&",
"DCI",
")",
"const",
"{",
"SelectionDAG",
"&",
"DAG",
"=",
"DCI",
".",
"DAG",
";",
"DebugLoc",
"DL",
"=",
"N",
"->",
"getDebugLoc",
"(",
... | [
"This",
"method",
"will",
"be",
"invoked",
"for",
"all",
"target",
"nodes",
"and",
"for",
"any",
"target-independent",
"nodes",
"that",
"the",
"target",
"has",
"registered",
"with",
"invoke",
"it",
"for",
"."
] | [
"R600",
"SI",
"0",
"ISD::SELECT_CC",
"2",
"3",
"MVT::i1",
"ISD::SETCC",
"0",
"1",
"4",
"ISD::SETCC",
"0",
"1",
"2",
"ISD::CondCode",
"MVT::i1",
"ISD::SIGN_EXTEND",
"0",
"MVT::i1",
"ISD::SETNE",
"0",
"0",
"MVT::i1"
] | SIISelLowering104 | PerformDAGCombine | R600 | GPU | LLVM | 11,989 | 328 | 1 | [] |
[
"<s>",
"bool",
"MCS51DAGToDAGISel",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"{",
"Subtarget",
"=",
"&",
"MF",
".",
"getSubtarget",
"<",
"MCS51Subtarget",
">",
"(",
")",
";",
"return",
"SelectionDAGISel",
"::",
"runOnMachineFunction",
... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"MCS51",
"MCS51",
"MCS51"
] | MCS51ISelDAGToDAG | runOnMachineFunction | MCS51 | MPU | LLVM | 11,990 | 31 | 1 | [] |
[
"<s>",
"bool",
"mayNeedRelaxation",
"(",
"const",
"MCInst",
"&",
"Inst",
",",
"const",
"MCSubtargetInfo",
"&",
"STI",
")",
"const",
"override",
"{",
"return",
"false",
";",
"}",
"</s>"
] | [
"Check",
"whether",
"the",
"given",
"instruction",
"may",
"need",
"relaxation",
"."
] | [
"Sparc"
] | SparcAsmBackend16 | mayNeedRelaxation | Sparc | CPU | LLVM | 11,991 | 20 | 1 | [] |
[
"<s>",
"int",
"RV16KFrameLowering",
"::",
"getFrameIndexReference",
"(",
"const",
"MachineFunction",
"&",
"MF",
",",
"int",
"FI",
",",
"unsigned",
"&",
"FrameReg",
")",
"const",
"{",
"const",
"MachineFrameInfo",
"&",
"MFI",
"=",
"MF",
".",
"getFrameInfo",
"(",... | [
"getFrameIndexReference",
"-",
"This",
"method",
"should",
"return",
"the",
"base",
"register",
"and",
"offset",
"used",
"to",
"reference",
"a",
"frame",
"index",
"location",
"."
] | [
"RV16K",
"RV16K",
"0",
"1",
"0",
"1",
"RV16K::X1"
] | RV16KFrameLowering | getFrameIndexReference | RV16K | Virtual ISA | LLVM | 11,992 | 181 | 1 | [] |
[
"<s>",
"bool",
"X86TargetLowering",
"::",
"hasAndNotCompare",
"(",
"SDValue",
"Y",
")",
"const",
"{",
"EVT",
"VT",
"=",
"Y",
".",
"getValueType",
"(",
")",
";",
"if",
"(",
"VT",
".",
"isVector",
"(",
")",
")",
"return",
"false",
";",
"if",
"(",
"!",
... | [
"Return",
"true",
"if",
"the",
"target",
"should",
"transform",
":",
"(",
"X",
"&",
"Y",
")",
"==",
"Y",
"�",
"?",
"(",
"~X",
"&",
"Y",
")",
"==",
"0",
"(",
"X",
"&",
"Y",
")",
"!",
"=",
"Y",
"�",
"?",
"(",
"~X",
"&",
"Y",
")",
"!",
"="... | [
"X86",
"X86",
"MVT::i32",
"MVT::i64"
] | X86ISelLowering (2)5 | hasAndNotCompare | X86 | CPU | LLVM | 11,993 | 70 | 1 | [] |
[
"<s>",
"const",
"MCPhysReg",
"*",
"AArch64RegisterInfo",
"::",
"getCalleeSavedRegs",
"(",
"const",
"MachineFunction",
"*",
"MF",
")",
"const",
"{",
"assert",
"(",
"MF",
"&&",
"\"Invalid MachineFunction pointer.\"",
")",
";",
"if",
"(",
"MF",
"->",
"getFunction",
... | [
"Code",
"Generation",
"virtual",
"methods",
"..."
] | [
"AArch64",
"AArch64",
"\"Invalid MachineFunction pointer.\"",
"AArch64",
"AArch64",
"AArch64",
"AArch64",
"AArch64",
"AArch64",
"AArch64"
] | AArch64RegisterInfo10 | getCalleeSavedRegs | AArch64 | CPU | LLVM | 11,994 | 117 | 1 | [] |
[
"<s>",
"void",
"RISCVAsmBackend",
"::",
"applyFixup",
"(",
"const",
"MCFixup",
"&",
"Fixup",
",",
"char",
"*",
"Data",
",",
"unsigned",
"DataSize",
",",
"uint64_t",
"Value",
",",
"bool",
"IsPCRel",
",",
"MCContext",
"&",
"Ctx",
")",
"const",
"{",
"return",... | [
"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",
"."
] | [
"RISCV",
"RISCV"
] | RISCVAsmBackend33 | applyFixup | RISCV | CPU | LLVM | 11,995 | 32 | 1 | [] |
[
"<s>",
"bool",
"ix86_epilogue_uses",
"(",
"int",
"regno",
")",
"{",
"return",
"(",
"epilogue_completed",
"&&",
"cfun",
"->",
"machine",
"->",
"no_caller_saved_registers",
"&&",
"!",
"fixed_regs",
"[",
"regno",
"]",
"&&",
"!",
"STACK_REGNO_P",
"(",
"regno",
")"... | [
"Return",
"true",
"if",
"REGNO",
"is",
"used",
"by",
"the",
"epilogue",
"."
] | [
"i386"
] | i386 | ix86_epilogue_uses | i386 | CPU | GCC | 11,996 | 37 | 1 | [] |
[
"<s>",
"SDValue",
"RISCVTargetLowering",
"::",
"LowerOperation",
"(",
"SDValue",
"Op",
",",
"SelectionDAG",
"&",
"DAG",
")",
"const",
"{",
"switch",
"(",
"Op",
".",
"getOpcode",
"(",
")",
")",
"{",
"default",
":",
"report_fatal_error",
"(",
"\"unimplemented op... | [
"LowerOperation",
"-",
"Provide",
"custom",
"lowering",
"hooks",
"for",
"some",
"operations",
"."
] | [
"RISCV",
"RISCV",
"\"unimplemented operand\"",
"ISD::GlobalAddress",
"ISD::BlockAddress",
"ISD::ConstantPool",
"ISD::SELECT",
"ISD::VASTART",
"ISD::FRAMEADDR",
"ISD::RETURNADDR",
"ISD::SHL_PARTS",
"ISD::SRA_PARTS",
"ISD::SRL_PARTS",
"ISD::BITCAST",
"\"Unexpected custom legalisation\"",
... | RISCVISelLowering56 | LowerOperation | RISCV | CPU | LLVM | 11,997 | 276 | 1 | [] |
[
"<s>",
"Value",
"*",
"AArch64TargetLowering",
"::",
"emitStoreConditional",
"(",
"IRBuilder",
"<",
">",
"&",
"Builder",
",",
"Value",
"*",
"Val",
",",
"Value",
"*",
"Addr",
",",
"AtomicOrdering",
"Ord",
")",
"const",
"{",
"Module",
"*",
"M",
"=",
"Builder"... | [
"Perform",
"a",
"store-conditional",
"operation",
"to",
"Addr",
"."
] | [
"AArch64",
"AArch64",
"128",
"Intrinsic::ID",
"Intrinsic::aarch64_stlxp",
"Intrinsic::aarch64_stxp",
"Intrinsic::getDeclaration",
"\"lo\"",
"64",
"\"hi\"",
"Intrinsic::ID",
"Intrinsic::aarch64_stlxr",
"Intrinsic::aarch64_stxr",
"Intrinsic::getDeclaration",
"0"
] | AArch64ISelLowering (2) | emitStoreConditional | AArch64 | CPU | LLVM | 11,998 | 258 | 1 | [] |
[
"<s>",
"bool",
"AMDGPUCFGStructurizer",
"::",
"prepare",
"(",
")",
"{",
"bool",
"Changed",
"=",
"false",
";",
"LLVM_DEBUG",
"(",
"dbgs",
"(",
")",
"<<",
"\"AMDGPUCFGStructurizer::prepare\\n\"",
";",
")",
";",
"orderBlocks",
"(",
"FuncRep",
")",
";",
"SmallVect... | [
"prepare",
"-",
"Reset",
"state",
"and",
"prepare",
"for",
"a",
"new",
"spill",
"placement",
"computation",
"."
] | [
"AMDGPU",
"AMDGPU",
"\"AMDGPUCFGStructurizer::prepare\\n\"",
"0",
"2",
"2"
] | AMDILCFGStructurizer36 | prepare | AMDGPU | GPU | LLVM | 11,999 | 161 | 1 | [] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.