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>",
"unsigned",
"getNumFixupKinds",
"(",
")",
"const",
"override",
"{",
"return",
"1",
";",
"}",
"</s>"
] | [
"Get",
"the",
"number",
"of",
"target",
"specific",
"fixup",
"kinds",
"."
] | [
"ECLair",
"1"
] | ECLairAsmBackend | getNumFixupKinds | ECLair | MPU | LLVM | 3,600 | 11 | 1 | [] |
[
"<s>",
"void",
"X86InstrInfo",
"::",
"loadRegFromStackSlot",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"MI",
",",
"unsigned",
"DestReg",
",",
"int",
"FrameIdx",
",",
"const",
"TargetRegisterClass",
"*",
"RC",
",",
"const",
... | [
"Load",
"the",
"specified",
"register",
"of",
"the",
"given",
"register",
"class",
"from",
"the",
"specified",
"stack",
"frame",
"index",
"."
] | [
"X86",
"X86",
"16"
] | X86InstrInfo12 | loadRegFromStackSlot | X86 | CPU | LLVM | 3,601 | 110 | 1 | [] |
[
"<s>",
"void",
"SparcFrameLowering",
"::",
"emitEpilogue",
"(",
"MachineFunction",
"&",
"MF",
",",
"MachineBasicBlock",
"&",
"MBB",
")",
"const",
"{",
"}",
"</s>"
] | [
"Insert",
"epilog",
"code",
"into",
"the",
"function",
"."
] | [
"Sparc",
"Sparc"
] | SparcFrameLowering18 | emitEpilogue | Sparc | CPU | LLVM | 3,602 | 16 | 1 | [] |
[
"<s>",
"void",
"A57ChainingConstraint",
"::",
"apply",
"(",
"PBQPRAGraph",
"&",
"G",
")",
"{",
"const",
"MachineFunction",
"&",
"MF",
"=",
"G",
".",
"getMetadata",
"(",
")",
".",
"MF",
";",
"LiveIntervals",
"&",
"LIs",
"=",
"G",
".",
"getMetadata",
"(",
... | [
"Apply",
"the",
"profile",
"inference",
"algorithm",
"for",
"a",
"given",
"function",
"."
] | [
"AArch64",
"8",
"\"Killing chain \"",
"\" at \"",
"AArch64::FMSUBSrrr",
"AArch64::FMADDSrrr",
"AArch64::FNMSUBSrrr",
"AArch64::FNMADDSrrr",
"AArch64::FMSUBDrrr",
"AArch64::FMADDDrrr",
"AArch64::FNMSUBDrrr",
"AArch64::FNMADDDrrr",
"0",
"3",
"AArch64::FMLAv2f32",
"AArch64::FMLSv2f32",
... | AArch64PBQPRegAlloc12 | apply | AArch64 | CPU | LLVM | 3,603 | 325 | 1 | [] |
[
"<s>",
"bool",
"AlphaTargetMachine",
"::",
"addPreEmitPass",
"(",
"PassManagerBase",
"&",
"PM",
",",
"CodeGenOpt",
"::",
"Level",
"OptLevel",
")",
"{",
"PM",
".",
"add",
"(",
"createAlphaBranchSelectionPass",
"(",
")",
")",
";",
"return",
"false",
";",
"}",
... | [
"This",
"pass",
"may",
"be",
"implemented",
"by",
"targets",
"that",
"want",
"to",
"run",
"passes",
"immediately",
"before",
"machine",
"code",
"is",
"emitted",
"."
] | [
"Alpha",
"Alpha",
"Alpha"
] | AlphaTargetMachine4 | addPreEmitPass | Alpha | MPU | LLVM | 3,604 | 28 | 1 | [] |
[
"<s>",
"void",
"AMDGPUPromoteKernelArguments",
"::",
"enqueueUsers",
"(",
"Value",
"*",
"Ptr",
")",
"{",
"SmallVector",
"<",
"User",
"*",
">",
"PtrUsers",
"(",
"Ptr",
"->",
"users",
"(",
")",
")",
";",
"while",
"(",
"!",
"PtrUsers",
".",
"empty",
"(",
... | [
"Enqueue",
"the",
"users",
"of",
"this",
"instruction",
"in",
"the",
"visit",
"worklist",
"."
] | [
"AMDGPU",
"AMDGPU",
"AMDGPU::isClobberedInFunction",
"0"
] | AMDGPUPromoteKernelArguments | enqueueUsers | AMDGPU | GPU | LLVM | 3,605 | 176 | 1 | [] |
[
"<s>",
"bool",
"mayNeedRelaxation",
"(",
"MCInst",
"const",
"&",
"Inst",
",",
"MCSubtargetInfo",
"const",
"&",
"STI",
")",
"const",
"override",
"{",
"return",
"false",
";",
"}",
"</s>"
] | [
"Check",
"whether",
"the",
"given",
"instruction",
"may",
"need",
"relaxation",
"."
] | [
"AAP"
] | AAPAsmBackend | mayNeedRelaxation | AAP | MPU | LLVM | 3,606 | 20 | 1 | [] |
[
"<s>",
"virtual",
"const",
"char",
"*",
"getPassName",
"(",
")",
"const",
"{",
"return",
"\"ARM64 Collect Linker Optimization Hint (LOH)\"",
";",
"}",
"</s>"
] | [
"getPassName",
"-",
"Return",
"a",
"nice",
"clean",
"name",
"for",
"a",
"pass",
"."
] | [
"ARM64",
"\"ARM64 Collect Linker Optimization Hint (LOH)\""
] | ARM64CollectLOH | getPassName | ARM64 | CPU | LLVM | 3,607 | 13 | 1 | [] |
[
"<s>",
"inline",
"set_of_reg",
"rx_find_set_of_reg",
"(",
"rtx",
"reg",
",",
"rtx_insn",
"*",
"insn",
",",
"F",
"stepfunc",
",",
"bool",
"ignore_reg_reg_copies",
"=",
"false",
")",
"{",
"set_of_reg",
"result",
";",
"result",
".",
"insn",
"=",
"insn",
";",
... | [
"FIXME",
":",
"Copy-pasta",
"from",
"SH",
".",
"Move",
"to",
"rtl.h",
".",
"Given",
"a",
"reg",
"rtx",
"and",
"a",
"start",
"insn",
",",
"try",
"to",
"find",
"the",
"insn",
"that",
"sets",
"the",
"specified",
"reg",
"by",
"using",
"the",
"specified",
... | [
"rx",
"1"
] | rx-protos | rx_find_set_of_reg | rx | CPU | GCC | 3,608 | 254 | 1 | [] |
[
"<s>",
"static",
"unsigned",
"getHashValue",
"(",
"const",
"SlotWithTag",
"&",
"V",
")",
"{",
"return",
"hash_combine",
"(",
"DenseMapInfo",
"<",
"int",
">",
"::",
"getHashValue",
"(",
"V",
".",
"FI",
")",
",",
"DenseMapInfo",
"<",
"int",
">",
"::",
"get... | [
"Using",
"name",
"and",
"line",
"to",
"get",
"hash",
"value",
".",
"It",
"should",
"already",
"be",
"mostly",
"unique",
"."
] | [
"AArch64"
] | AArch64StackTaggingPreRA1 | getHashValue | AArch64 | CPU | LLVM | 3,609 | 39 | 1 | [] |
[
"<s>",
"void",
"override_options",
"(",
")",
"{",
"int",
"def_align",
";",
"int",
"i",
";",
"def_align",
"=",
"1",
";",
"m68k_align_loops",
"=",
"def_align",
";",
"if",
"(",
"m68k_align_loops_string",
")",
"{",
"i",
"=",
"atoi",
"(",
"m68k_align_loops_string... | [
"Set",
"global",
"variables",
"as",
"needed",
"for",
"the",
"options",
"enabled",
"."
] | [
"m68k",
"1",
"1",
"\"-malign-loops=%d is not between 1 and %d\"",
"1",
"\"-malign-jumps=%d is not between 1 and %d\"",
"1",
"\"-malign-functions=%d is not between 1 and %d\""
] | m68k2 | override_options | m68k | MPU | GCC | 3,610 | 139 | 1 | [] |
[
"<s>",
"SDValue",
"LanaiSelectionDAGInfo",
"::",
"EmitTargetCodeForMemcpy",
"(",
"SelectionDAG",
"&",
"DAG",
",",
"SDLoc",
"dl",
",",
"SDValue",
"Chain",
",",
"SDValue",
"Dst",
",",
"SDValue",
"Src",
",",
"SDValue",
"Size",
",",
"unsigned",
"Align",
",",
"bool... | [
"Emit",
"target-specific",
"code",
"that",
"performs",
"a",
"memcpy",
"."
] | [
"Lanai",
"Lanai"
] | LanaiSelectionDAGInfo6 | EmitTargetCodeForMemcpy | Lanai | CPU | LLVM | 3,611 | 69 | 1 | [] |
[
"<s>",
"bool",
"AArch64FrameLowering",
"::",
"hasFP",
"(",
"const",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"const",
"MachineFrameInfo",
"&",
"MFI",
"=",
"MF",
".",
"getFrameInfo",
"(",
")",
";",
"const",
"TargetRegisterInfo",
"*",
"RegInfo",
"=",
"... | [
"hasFP",
"-",
"Return",
"true",
"if",
"the",
"specified",
"function",
"should",
"have",
"a",
"dedicated",
"frame",
"pointer",
"register",
"."
] | [
"AArch64",
"AArch64"
] | AArch64FrameLowering26 | hasFP | AArch64 | CPU | LLVM | 3,612 | 144 | 1 | [] |
[
"<s>",
"bool",
"ARMBaseTargetMachine",
"::",
"addPreSched2",
"(",
"PassManagerBase",
"&",
"PM",
",",
"CodeGenOpt",
"::",
"Level",
"OptLevel",
")",
"{",
"if",
"(",
"OptLevel",
"!=",
"CodeGenOpt",
"::",
"None",
")",
"{",
"if",
"(",
"!",
"Subtarget",
".",
"is... | [
"This",
"method",
"may",
"be",
"implemented",
"by",
"targets",
"that",
"want",
"to",
"run",
"passes",
"after",
"prolog-epilog",
"insertion",
"and",
"before",
"the",
"second",
"instruction",
"scheduling",
"pass",
"."
] | [
"ARM",
"ARM",
"ARM",
"ARM"
] | ARMTargetMachine23 | addPreSched2 | ARM | CPU | LLVM | 3,613 | 118 | 1 | [] |
[
"<s>",
"bool",
"shouldInsertFencesForAtomic",
"(",
"const",
"Instruction",
"*",
"I",
")",
"const",
"override",
"{",
"return",
"true",
";",
"}",
"</s>"
] | [
"Helper",
"functions",
"for",
"atomic",
"operations",
"."
] | [
"VE"
] | VEISelLowering | shouldInsertFencesForAtomic | VE | CPU | LLVM | 3,614 | 15 | 1 | [] |
[
"<s>",
"bool",
"aarch64_member_type_forces_blk",
"(",
"const_tree",
"field_or_array",
",",
"machine_mode",
"mode",
")",
"{",
"const_tree",
"type",
"=",
"TREE_TYPE",
"(",
"field_or_array",
")",
";",
"unsigned",
"int",
"num_zr",
",",
"num_pr",
";",
"if",
"(",
"aar... | [
"Implement",
"TARGET_MEMBER_TYPE_FORCES_BLK",
"."
] | [
"aarch64",
"aarch64_sve::builtin_type_p",
"0"
] | aarch64 | aarch64_member_type_forces_blk | aarch64 | CPU | GCC | 3,615 | 83 | 1 | [] |
[
"<s>",
"virtual",
"EVT",
"getSetCCResultType",
"(",
"LLVMContext",
"&",
",",
"EVT",
"VT",
")",
"const",
"{",
"if",
"(",
"VT",
".",
"isVector",
"(",
")",
")",
"return",
"MVT",
"::",
"getVectorVT",
"(",
"MVT",
"::",
"i1",
",",
"VT",
".",
"getVectorNumEle... | [
"Return",
"the",
"value",
"type",
"to",
"use",
"for",
"ISD",
":",
":SETCC",
"."
] | [
"NVPTX",
"MVT::getVectorVT",
"MVT::i1",
"MVT::i1"
] | NVPTXISelLowering26 | getSetCCResultType | NVPTX | GPU | LLVM | 3,616 | 42 | 1 | [] |
[
"<s>",
"unsigned",
"SIRegisterInfo",
"::",
"getRegPressureSetLimit",
"(",
"const",
"MachineFunction",
"&",
"MF",
",",
"unsigned",
"Idx",
")",
"const",
"{",
"const",
"AMDGPUSubtarget",
"&",
"STI",
"=",
"MF",
".",
"getSubtarget",
"<",
"AMDGPUSubtarget",
">",
"(",
... | [
"Get",
"the",
"register",
"unit",
"pressure",
"limit",
"for",
"this",
"dimension",
"."
] | [
"R600",
"SI",
"4",
"1",
"0",
"1",
"256"
] | SIRegisterInfo33 | getRegPressureSetLimit | R600 | GPU | LLVM | 3,617 | 190 | 1 | [] |
[
"<s>",
"bool",
"M680x0FrameLowering",
"::",
"hasReservedCallFrame",
"(",
"const",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"return",
"!",
"MF",
".",
"getFrameInfo",
"(",
")",
".",
"hasVarSizedObjects",
"(",
")",
"&&",
"!",
"MF",
".",
"getInfo",
"<",
... | [
"hasReservedCallFrame",
"-",
"Under",
"normal",
"circumstances",
",",
"when",
"a",
"frame",
"pointer",
"is",
"not",
"required",
",",
"we",
"reserve",
"argument",
"space",
"for",
"call",
"sites",
"in",
"the",
"function",
"immediately",
"on",
"entry",
"to",
"the... | [
"M680x0",
"M680x0",
"M680x0"
] | M680x0FrameLowering | hasReservedCallFrame | M680x0 | MPU | LLVM | 3,618 | 39 | 1 | [] |
[
"<s>",
"void",
"MBlazeInstrInfo",
"::",
"storeRegToStackSlot",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"I",
",",
"unsigned",
"SrcReg",
",",
"bool",
"isKill",
",",
"int",
"FI",
",",
"const",
"TargetRegisterClass",
"*",
"R... | [
"Store",
"the",
"specified",
"register",
"of",
"the",
"given",
"register",
"class",
"to",
"the",
"specified",
"stack",
"frame",
"index",
"."
] | [
"MBlaze",
"MBlaze",
"MBlaze::SWI",
"0"
] | MBlazeInstrInfo2 | storeRegToStackSlot | MBlaze | MPU | LLVM | 3,619 | 75 | 1 | [] |
[
"<s>",
"virtual",
"const",
"char",
"*",
"getPassName",
"(",
")",
"const",
"{",
"return",
"\"DCPU16 Assembly Printer\"",
";",
"}",
"</s>"
] | [
"getPassName",
"-",
"Return",
"a",
"nice",
"clean",
"name",
"for",
"a",
"pass",
"."
] | [
"Dcpu16",
"\"DCPU16 Assembly Printer\""
] | Dcpu16AsmPrinter | getPassName | Dcpu16 | CPU | LLVM | 3,620 | 13 | 1 | [] |
[
"<s>",
"void",
"assignValueToReg",
"(",
"Register",
"ValVReg",
",",
"Register",
"PhysReg",
",",
"CCValAssign",
"&",
"VA",
")",
"override",
"{",
"MIB",
".",
"addUse",
"(",
"PhysReg",
")",
";",
"MIRBuilder",
".",
"buildCopy",
"(",
"PhysReg",
",",
"ValVReg",
... | [
"The",
"specified",
"value",
"has",
"been",
"assigned",
"to",
"a",
"physical",
"register",
",",
"handle",
"the",
"appropriate",
"COPY",
"(",
"either",
"to",
"or",
"from",
")",
"and",
"mark",
"any",
"relevant",
"uses/defines",
"as",
"needed",
"."
] | [
"AMDGPU"
] | AMDGPUCallLowering24 | assignValueToReg | AMDGPU | GPU | LLVM | 3,621 | 32 | 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",
"."
] | [
"Teak"
] | TeakAsmBackend | fixupNeedsRelaxation | Teak | DSP | LLVM | 3,622 | 28 | 1 | [] |
[
"<s>",
"bool",
"HexagonAsmParser",
"::",
"isLabel",
"(",
"AsmToken",
"&",
"Token",
")",
"{",
"MCAsmLexer",
"&",
"Lexer",
"=",
"getLexer",
"(",
")",
";",
"AsmToken",
"const",
"&",
"Second",
"=",
"Lexer",
".",
"getTok",
"(",
")",
";",
"AsmToken",
"Third",
... | [
"Returns",
"true",
"if",
"the",
"MachineInstr",
"represents",
"a",
"label",
"."
] | [
"Hexagon",
"Hexagon",
"\"vwhist256\"",
"\"sat\""
] | HexagonAsmParser10 | isLabel | Hexagon | DSP | LLVM | 3,623 | 252 | 1 | [] |
[
"<s>",
"static",
"int",
"get_reservation_flags",
"(",
"enum",
"attr_units",
"units",
")",
"{",
"switch",
"(",
"units",
")",
"{",
"case",
"UNITS_D",
":",
"case",
"UNITS_D_ADDR",
":",
"return",
"RESERVATION_FLAG_D",
";",
"case",
"UNITS_L",
":",
"return",
"RESERV... | [
"Translate",
"UNITS",
"into",
"a",
"bitmask",
"of",
"units",
"we",
"can",
"reserve",
"for",
"this",
"insn",
"."
] | [
"c6x",
"0"
] | c6x | get_reservation_flags | c6x | VLIW | GCC | 3,624 | 72 | 1 | [] |
[
"<s>",
"static",
"bool",
"chain_already_loaded",
"(",
"rtx_insn",
"*",
"last",
")",
"{",
"for",
"(",
";",
"last",
"!=",
"NULL",
";",
"last",
"=",
"PREV_INSN",
"(",
"last",
")",
")",
"{",
"if",
"(",
"NONJUMP_INSN_P",
"(",
"last",
")",
")",
"{",
"rtx",... | [
"Return",
"TRUE",
"iff",
"the",
"sequence",
"ending",
"in",
"LAST",
"sets",
"the",
"static",
"chain",
"."
] | [
"powerpcspe",
"0"
] | powerpcspe | chain_already_loaded | powerpcspe | CPU | GCC | 3,625 | 84 | 1 | [] |
[
"<s>",
"int",
"double_memory_operand",
"(",
"rtx",
"op",
",",
"machine_mode",
"mode",
")",
"{",
"rtx",
"addr",
";",
"if",
"(",
"GET_CODE",
"(",
"op",
")",
"!=",
"MEM",
"||",
"!",
"memory_operand",
"(",
"op",
",",
"mode",
")",
")",
"{",
"if",
"(",
"... | [
"Return",
"nonzero",
"for",
"a",
"memory",
"address",
"that",
"can",
"be",
"used",
"to",
"load",
"or",
"store",
"a",
"doubleword",
"."
] | [
"microblaze",
"0",
"0",
"1",
"0",
"0",
"1",
"4"
] | microblaze2 | double_memory_operand | microblaze | MPU | GCC | 3,626 | 135 | 1 | [] |
[
"<s>",
"void",
"PPCAsmPrinter",
"::",
"EmitInstruction",
"(",
"const",
"MachineInstr",
"*",
"MI",
")",
"{",
"MCInst",
"TmpInst",
";",
"switch",
"(",
"MI",
"->",
"getOpcode",
"(",
")",
")",
"{",
"default",
":",
"break",
";",
"case",
"TargetOpcode",
"::",
... | [
"EmitInstruction",
"-",
"This",
"callback",
"is",
"invoked",
"when",
"an",
"instruction",
"is",
"emitted",
",",
"to",
"advance",
"the",
"hazard",
"state",
"."
] | [
"PowerPC",
"PPC",
"32",
"4",
"\"DEBUG_VALUE: \"",
"1",
"\" <- \"",
"0",
"1",
"0",
"1",
"\"+\"",
"2",
"PPC::MovePCtoLR",
"PPC::MovePCtoLR8",
"PPC::BL_Darwin",
"PPC::LDtoc",
"PPC",
"PPC::LD",
"1",
"0",
"\"C\"",
"PPC",
"1",
"PPC::MFCRpseud",
"PPC",
"1",
"PPC::MFCR"... | PPCAsmPrinter31 | EmitInstruction | PowerPC | CPU | LLVM | 3,627 | 482 | 1 | [] |
[
"<s>",
"void",
"TL45InstrInfo",
"::",
"copyPhysReg",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"MI",
",",
"const",
"DebugLoc",
"&",
"DL",
",",
"unsigned",
"DestReg",
",",
"unsigned",
"SrcReg",
",",
"bool",
"KillSrc",
")"... | [
"}",
"Branch",
"Analysis",
"&",
"Modification"
] | [
"TL45",
"TL45",
"TL45::ADD",
"TL45::r0"
] | TL45InstrInfo | copyPhysReg | TL45 | MPU | LLVM | 3,628 | 64 | 1 | [] |
[
"<s>",
"SDValue",
"PIC16TargetLowering",
"::",
"LowerReturn",
"(",
"SDValue",
"Chain",
",",
"unsigned",
"CallConv",
",",
"bool",
"isVarArg",
",",
"const",
"SmallVectorImpl",
"<",
"ISD",
"::",
"OutputArg",
">",
"&",
"Outs",
",",
"DebugLoc",
"dl",
",",
"Selectio... | [
"This",
"hook",
"must",
"be",
"implemented",
"to",
"lower",
"outgoing",
"return",
"values",
",",
"described",
"by",
"the",
"Outs",
"array",
",",
"into",
"the",
"specified",
"DAG",
"."
] | [
"PIC16",
"PIC16",
"ISD::OutputArg",
"MVT::i8",
"MVT::Other",
"MVT::i8",
"1",
"MVT::i8",
"0",
"PIC16ISD::PIC16Store",
"MVT::Other",
"MVT::i8",
"PIC16ISD::RET",
"MVT::Other"
] | PIC16ISelLowering3 | LowerReturn | PIC16 | MPU | LLVM | 3,629 | 215 | 1 | [] |
[
"<s>",
"virtual",
"const",
"X86InstrInfo",
"*",
"getInstrInfo",
"(",
")",
"const",
"{",
"llvm_unreachable",
"(",
"\"getInstrInfo not implemented\"",
")",
";",
"}",
"</s>"
] | [
"TargetInstrInfo",
"getter",
"."
] | [
"X86",
"X86",
"\"getInstrInfo not implemented\""
] | X86TargetMachine18 | getInstrInfo | X86 | CPU | LLVM | 3,630 | 15 | 1 | [] |
[
"<s>",
"bool",
"arm_sat_operator_match",
"(",
"rtx",
"lo_bound",
",",
"rtx",
"hi_bound",
",",
"int",
"*",
"mask",
",",
"bool",
"*",
"signed_sat",
")",
"{",
"int",
"log",
"=",
"exact_log2",
"(",
"INTVAL",
"(",
"hi_bound",
")",
"+",
"1",
")",
";",
"if",
... | [
"Match",
"pair",
"of",
"min/max",
"operators",
"that",
"can",
"be",
"implemented",
"via",
"usat/ssat",
"."
] | [
"arm",
"1",
"1",
"0",
"1",
"1"
] | arm | arm_sat_operator_match | arm | CPU | GCC | 3,631 | 117 | 1 | [] |
[
"<s>",
"bool",
"SITypeRewriter",
"::",
"runOnFunction",
"(",
"Function",
"&",
"F",
")",
"{",
"AttributeSet",
"Set",
"=",
"F",
".",
"getAttributes",
"(",
")",
";",
"Attribute",
"A",
"=",
"Set",
".",
"getAttribute",
"(",
"AttributeSet",
"::",
"FunctionIndex",
... | [
"runOnFunction",
"-",
"Virtual",
"method",
"overriden",
"by",
"subclasses",
"to",
"do",
"the",
"per-function",
"processing",
"of",
"the",
"pass",
"."
] | [
"R600",
"SI",
"\"ShaderType\"",
"0"
] | SITypeRewriter8 | runOnFunction | R600 | GPU | LLVM | 3,632 | 92 | 1 | [] |
[
"<s>",
"void",
"X86AvoidSFBPass",
"::",
"buildCopy",
"(",
"MachineInstr",
"*",
"LoadInst",
",",
"unsigned",
"NLoadOpcode",
",",
"int64_t",
"LoadDisp",
",",
"MachineInstr",
"*",
"StoreInst",
",",
"unsigned",
"NStoreOpcode",
",",
"int64_t",
"StoreDisp",
",",
"unsign... | [
"Build",
"and",
"insert",
"Res",
"=",
"COPY",
"Op",
"."
] | [
"X86",
"X86",
"0",
"1",
"X86::NoRegister",
"X86::NoRegister",
"1",
"X86::NoRegister",
"X86::NoRegister",
"X86::AddrNumOperands",
"\"Expected virtual register\"",
"X86::AddrNumOperands"
] | X86AvoidStoreForwardingBlocks1 | buildCopy | X86 | CPU | LLVM | 3,633 | 405 | 1 | [] |
[
"<s>",
"static",
"inline",
"bool",
"pdp11_saved_regno",
"(",
"unsigned",
"regno",
")",
"{",
"return",
"!",
"call_used_or_fixed_reg_p",
"(",
"regno",
")",
"&&",
"df_regs_ever_live_p",
"(",
"regno",
")",
";",
"}",
"</s>"
] | [
"A",
"helper",
"function",
"to",
"determine",
"if",
"REGNO",
"should",
"be",
"saved",
"in",
"the",
"current",
"function",
"'s",
"stack",
"frame",
"."
] | [
"pdp11"
] | pdp11 | pdp11_saved_regno | pdp11 | MPU | GCC | 3,634 | 22 | 1 | [] |
[
"<s>",
"static",
"tree",
"aarch64_preferred_else_value",
"(",
"unsigned",
",",
"tree",
",",
"unsigned",
"int",
"nops",
",",
"tree",
"*",
"ops",
")",
"{",
"return",
"nops",
"==",
"3",
"?",
"ops",
"[",
"2",
"]",
":",
"ops",
"[",
"0",
"]",
";",
"}",
"... | [
"Implement",
"TARGET_PREFERRED_ELSE_VALUE",
".",
"For",
"binary",
"operations",
",",
"prefer",
"to",
"use",
"the",
"first",
"arithmetic",
"operand",
"as",
"the",
"else",
"value",
"if",
"the",
"else",
"value",
"does",
"n't",
"matter",
",",
"since",
"that",
"exa... | [
"aarch64",
"3",
"2",
"0"
] | aarch64 | aarch64_preferred_else_value | aarch64 | CPU | GCC | 3,635 | 33 | 1 | [] |
[
"<s>",
"bool",
"shouldConvertConstantLoadToIntImm",
"(",
"const",
"APInt",
"&",
"Imm",
",",
"Type",
"*",
"Ty",
")",
"const",
"override",
"{",
"return",
"true",
";",
"}",
"</s>"
] | [
"Returns",
"true",
"if",
"it",
"is",
"beneficial",
"to",
"convert",
"a",
"load",
"of",
"a",
"constant",
"to",
"just",
"the",
"constant",
"itself",
"."
] | [
"RI5CY"
] | RISCVISelLowering | shouldConvertConstantLoadToIntImm | RI5CY | CPU | LLVM | 3,636 | 19 | 1 | [] |
[
"<s>",
"MachineBasicBlock",
"*",
"MOSTargetLowering",
"::",
"EmitInstrWithCustomInserter",
"(",
"MachineInstr",
"&",
"MI",
",",
"MachineBasicBlock",
"*",
"MBB",
")",
"const",
"{",
"switch",
"(",
"MI",
".",
"getOpcode",
"(",
")",
")",
"{",
"default",
":",
"llvm... | [
"This",
"method",
"should",
"be",
"implemented",
"by",
"targets",
"that",
"mark",
"instructions",
"with",
"the",
"'usesCustomInserter",
"'",
"flag",
"."
] | [
"MOS",
"MOS",
"\"Bad opcode.\"",
"MOS::SelectImm",
"MOS::IncMB",
"MOS::DecMB"
] | MOSISelLowering | EmitInstrWithCustomInserter | MOS | MPU | LLVM | 3,637 | 65 | 1 | [] |
[
"<s>",
"static",
"bool",
"mips_refers_to_kernel_reg_p",
"(",
"const_rtx",
"x",
")",
"{",
"subrtx_iterator",
"::",
"array_type",
"array",
";",
"FOR_EACH_SUBRTX",
"(",
"iter",
",",
"array",
",",
"x",
",",
"NONCONST",
")",
"if",
"(",
"REG_P",
"(",
"*",
"iter",
... | [
"Return",
"true",
"if",
"X",
"contains",
"a",
"kernel",
"register",
"."
] | [
"mips"
] | mips | mips_refers_to_kernel_reg_p | mips | CPU | GCC | 3,638 | 47 | 1 | [] |
[
"<s>",
"bool",
"ARCRegisterInfo",
"::",
"trackLivenessAfterRegAlloc",
"(",
"const",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"return",
"true",
";",
"}",
"</s>"
] | [
"Returns",
"true",
"if",
"the",
"live-ins",
"should",
"be",
"tracked",
"after",
"register",
"allocation",
"."
] | [
"ARC",
"ARC"
] | ARCRegisterInfo | trackLivenessAfterRegAlloc | ARC | MPU | LLVM | 3,639 | 16 | 1 | [] |
[
"<s>",
"LoadInst",
"*",
"X86TargetLowering",
"::",
"lowerIdempotentRMWIntoFencedLoad",
"(",
"AtomicRMWInst",
"*",
"AI",
")",
"const",
"{",
"unsigned",
"NativeWidth",
"=",
"Subtarget",
".",
"is64Bit",
"(",
")",
"?",
"64",
":",
"32",
";",
"Type",
"*",
"MemType",... | [
"On",
"some",
"platforms",
",",
"an",
"AtomicRMW",
"that",
"never",
"actually",
"modifies",
"the",
"value",
"(",
"such",
"as",
"fetch_add",
"of",
"0",
")",
"can",
"be",
"turned",
"into",
"a",
"fence",
"followed",
"by",
"an",
"atomic",
"load",
"."
] | [
"X86",
"X86",
"64",
"32",
"Intrinsic::getDeclaration",
"Intrinsic::x86_sse2_mfence"
] | X86ISelLowering (2)6 | lowerIdempotentRMWIntoFencedLoad | X86 | CPU | LLVM | 3,640 | 251 | 1 | [] |
[
"<s>",
"SDValue",
"MipsTargetLowering",
"::",
"LowerOperation",
"(",
"SDValue",
"Op",
",",
"SelectionDAG",
"&",
"DAG",
")",
"const",
"{",
"switch",
"(",
"Op",
".",
"getOpcode",
"(",
")",
")",
"{",
"case",
"ISD",
"::",
"AND",
":",
"return",
"LowerANDOR",
... | [
"LowerOperation",
"-",
"Provide",
"custom",
"lowering",
"hooks",
"for",
"some",
"operations",
"."
] | [
"Mips",
"Mips",
"ISD::AND",
"ISD::BRCOND",
"ISD::ConstantPool",
"ISD::DYNAMIC_STACKALLOC",
"ISD::FP_TO_SINT",
"ISD::GlobalAddress",
"ISD::BlockAddress",
"ISD::GlobalTLSAddress",
"ISD::JumpTable",
"ISD::OR",
"ISD::SELECT",
"ISD::SETCC",
"ISD::VASTART"
] | MipsISelLowering36 | LowerOperation | Mips | CPU | LLVM | 3,641 | 199 | 1 | [] |
[
"<s>",
"void",
"ARMELFStreamer",
"::",
"reset",
"(",
")",
"{",
"MCTargetStreamer",
"&",
"TS",
"=",
"*",
"getTargetStreamer",
"(",
")",
";",
"ARMTargetStreamer",
"&",
"ATS",
"=",
"static_cast",
"<",
"ARMTargetStreamer",
"&",
">",
"(",
"TS",
")",
";",
"ATS",... | [
"Reset",
"an",
"existing",
"scalar",
"value",
"for",
"Def",
"and",
"a",
"given",
"Instance",
"."
] | [
"ARM",
"ARM",
"ARM",
"ARM",
"0",
"ARM"
] | ARMELFStreamer14 | reset | ARM | CPU | LLVM | 3,642 | 69 | 1 | [] |
[
"<s>",
"const",
"char",
"*",
"getPassName",
"(",
")",
"const",
"override",
"{",
"return",
"\"AMDGPU Assembly Printer\"",
";",
"}",
"</s>"
] | [
"getPassName",
"-",
"Return",
"a",
"nice",
"clean",
"name",
"for",
"a",
"pass",
"."
] | [
"R600",
"\"AMDGPU Assembly Printer\""
] | AMDGPUAsmPrinter1 | getPassName | R600 | GPU | LLVM | 3,643 | 13 | 1 | [] |
[
"<s>",
"void",
"SparcFrameInfo",
"::",
"emitPrologue",
"(",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"MachineBasicBlock",
"&",
"MBB",
"=",
"MF",
".",
"front",
"(",
")",
";",
"MachineFrameInfo",
"*",
"MFI",
"=",
"MF",
".",
"getFrameInfo",
"(",
")",
... | [
"emitProlog/emitEpilog",
"-",
"These",
"methods",
"insert",
"prolog",
"and",
"epilog",
"code",
"into",
"the",
"function",
"."
] | [
"Sparc",
"Sparc",
"Sparc",
"Sparc",
"92",
"7",
"7",
"4096",
"SP::SAVEri",
"SP::O6",
"SP::O6",
"10U",
"SP::SETHIi",
"SP::G1",
"SP::ORri",
"SP::G1",
"SP::G1",
"1",
"10",
"1",
"SP::SAVErr",
"SP::O6",
"SP::O6",
"SP::G1"
] | SparcFrameInfo | emitPrologue | Sparc | CPU | LLVM | 3,644 | 283 | 1 | [] |
[
"<s>",
"unsigned",
"getNumFixupKinds",
"(",
")",
"const",
"override",
"{",
"return",
"Nyuzi",
"::",
"NumTargetFixupKinds",
";",
"}",
"</s>"
] | [
"Get",
"the",
"number",
"of",
"target",
"specific",
"fixup",
"kinds",
"."
] | [
"Nyuzi",
"Nyuzi::NumTargetFixupKinds"
] | NyuziAsmBackend | getNumFixupKinds | Nyuzi | GPU | LLVM | 3,645 | 13 | 1 | [] |
[
"<s>",
"GCNSubtarget",
"&",
"GCNSubtarget",
"::",
"initializeSubtargetDependencies",
"(",
"const",
"Triple",
"&",
"TT",
",",
"StringRef",
"GPU",
",",
"StringRef",
"FS",
")",
"{",
"SmallString",
"<",
"256",
">",
"FullFS",
"(",
"\"+promote-alloca,+load-store-opt,\"",
... | [
"initializeSubtargetDependencies",
"-",
"Initializes",
"using",
"a",
"CPU",
",",
"a",
"TuneCPU",
",",
"and",
"feature",
"string",
"so",
"that",
"we",
"can",
"use",
"initializer",
"lists",
"for",
"subtarget",
"initialization",
"."
] | [
"AMDGPU",
"256",
"\"+promote-alloca,+load-store-opt,\"",
"\"+flat-for-global,+unaligned-buffer-access,+trap-handler,\"",
"AMDGPU",
"\"+fp64-fp16-denormals,\"",
"\"-fp32-denormals,\"",
"\"+enable-prt-strict-null,\"",
"AMDGPU",
"\"flat-for-global\"",
"0",
"4",
"0",
"32",
"0",
"32768",
... | AMDGPUSubtarget94 | initializeSubtargetDependencies | AMDGPU | GPU | LLVM | 3,646 | 195 | 1 | [] |
[
"<s>",
"const",
"MCPhysReg",
"*",
"PPCRegisterInfo",
"::",
"getCalleeSavedRegs",
"(",
"const",
"MachineFunction",
"*",
"MF",
")",
"const",
"{",
"const",
"PPCSubtarget",
"&",
"Subtarget",
"=",
"MF",
"->",
"getSubtarget",
"<",
"PPCSubtarget",
">",
"(",
")",
";",... | [
"Code",
"Generation",
"virtual",
"methods",
"..."
] | [
"PowerPC",
"PPC",
"PPC",
"PPC",
"PPC",
"\"AnyReg unimplemented on 32-bit AIX.\"",
"PPC::X2",
"\"Cold calling unimplemented on AIX.\"",
"PPC",
"PPC",
"PPC",
"PPC",
"PPC",
"PPC"
] | PPCRegisterInfo (2)3 | getCalleeSavedRegs | PowerPC | CPU | LLVM | 3,647 | 415 | 1 | [] |
[
"<s>",
"void",
"VideocoreInstrInfo",
"::",
"copyPhysReg",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"I",
",",
"DebugLoc",
"DL",
",",
"unsigned",
"DestReg",
",",
"unsigned",
"SrcReg",
",",
"bool",
"KillSrc",
")",
"const",
... | [
"}",
"Branch",
"Analysis",
"&",
"Modification"
] | [
"Videocore",
"Videocore",
"VC::LowRegRegClass",
"VC::LowRegRegClass",
"VC::MOVqq",
"VC::MOVrr"
] | VideocoreInstrInfo | copyPhysReg | Videocore | DSP | LLVM | 3,648 | 89 | 1 | [] |
[
"<s>",
"int",
"mcore_num_arg_regs",
"(",
"enum",
"machine_mode",
"mode",
",",
"tree",
"type",
")",
"{",
"int",
"size",
";",
"if",
"(",
"targetm",
".",
"calls",
".",
"must_pass_in_stack",
"(",
"mode",
",",
"type",
")",
")",
"return",
"0",
";",
"if",
"("... | [
"Compute",
"the",
"number",
"of",
"word",
"sized",
"registers",
"needed",
"to",
"hold",
"a",
"function",
"argument",
"of",
"mode",
"MODE",
"and",
"type",
"TYPE",
"."
] | [
"mcore",
"0"
] | mcore3 | mcore_num_arg_regs | mcore | MPU | GCC | 3,649 | 60 | 1 | [] |
[
"<s>",
"void",
"X86FrameLowering",
"::",
"eliminateCallFramePseudoInstr",
"(",
"MachineFunction",
"&",
"MF",
",",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"I",
")",
"const",
"{",
"const",
"X86Subtarget",
"&",
"STI",
"=",
"MF",
... | [
"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",
")",
"."
] | [
"X86",
"X86",
"X86",
"X86",
"X86",
"0",
"0",
"1",
"0",
"0",
"1",
"3",
"3"
] | X86FrameLowering65 | eliminateCallFramePseudoInstr | X86 | CPU | LLVM | 3,650 | 453 | 1 | [] |
[
"<s>",
"int",
"mips_trampoline_code_size",
"(",
"void",
")",
"{",
"if",
"(",
"TARGET_USE_PIC_FN_ADDR_REG",
")",
"return",
"4",
"*",
"4",
";",
"else",
"if",
"(",
"ptr_mode",
"==",
"DImode",
")",
"return",
"8",
"*",
"4",
";",
"else",
"if",
"(",
"ISA_HAS_LO... | [
"Return",
"the",
"size",
"in",
"bytes",
"of",
"the",
"trampoline",
"code",
",",
"padded",
"to",
"TRAMPOLINE_ALIGNMENT",
"bits",
".",
"The",
"static",
"chain",
"pointer",
"and",
"target",
"function",
"address",
"immediately",
"follow",
"."
] | [
"mips",
"4",
"4",
"8",
"4",
"6",
"4",
"4",
"4"
] | mips | mips_trampoline_code_size | mips | CPU | GCC | 3,651 | 44 | 1 | [] |
[
"<s>",
"int",
"ix86_secondary_memory_needed",
"(",
"enum",
"reg_class",
"class1",
",",
"enum",
"reg_class",
"class2",
",",
"enum",
"machine_mode",
"mode",
",",
"int",
"strict",
")",
"{",
"if",
"(",
"MAYBE_FLOAT_CLASS_P",
"(",
"class1",
")",
"!=",
"FLOAT_CLASS_P"... | [
"If",
"we",
"are",
"copying",
"between",
"general",
"and",
"FP",
"registers",
",",
"we",
"need",
"a",
"memory",
"location",
".",
"The",
"same",
"is",
"true",
"for",
"SSE",
"and",
"MMX",
"registers",
".",
"The",
"macro",
"ca",
"n't",
"work",
"reliably",
... | [
"i386"
] | i3863 | ix86_secondary_memory_needed | i386 | CPU | GCC | 3,652 | 184 | 1 | [] |
[
"<s>",
"virtual",
"void",
"*",
"getAdjustedAnalysisPointer",
"(",
"const",
"void",
"*",
"ID",
")",
"{",
"if",
"(",
"ID",
"==",
"&",
"TargetTransformInfo",
"::",
"ID",
")",
"return",
"(",
"TargetTransformInfo",
"*",
")",
"this",
";",
"return",
"this",
";",
... | [
"getAdjustedAnalysisPointer",
"-",
"This",
"method",
"is",
"used",
"when",
"a",
"pass",
"implements",
"an",
"analysis",
"interface",
"through",
"multiple",
"inheritance",
"."
] | [
"PowerPC"
] | PPCTargetTransformInfo58 | getAdjustedAnalysisPointer | PowerPC | CPU | LLVM | 3,653 | 31 | 1 | [] |
[
"<s>",
"void",
"print",
"(",
"raw_ostream",
"&",
"OS",
")",
"const",
"override",
"{",
"switch",
"(",
"Kind",
")",
"{",
"case",
"OpKind",
"::",
"Token",
":",
"OS",
"<<",
"\"Tok: \"",
"<<",
"Token",
".",
"Data",
";",
"break",
";",
"case",
"OpKind",
"::... | [
"print",
"-",
"Print",
"a",
"debug",
"representation",
"of",
"the",
"operand",
"to",
"the",
"given",
"stream",
"."
] | [
"TPC",
"\"Tok: \"",
"\"Reg: \"",
"TPC",
"\"ImmExpr: \"",
"\"Imm: \"",
"\"Offset: \"",
"\", Reg: \"",
"TPC",
"\"f32\"",
"\"bf16\"",
"\"i32\"",
"\"u32\"",
"\"i8\"",
"\"u8\"",
"\"b\"",
"\"i16\"",
"\"u16\"",
"\"f16\"",
"TPC",
"\"DataType: \"",
"32",
"\"DimMask: \"",
"5",
... | TPCAsmParser | print | TPC | Virtual ISA | LLVM | 3,654 | 506 | 1 | [] |
[
"<s>",
"SDValue",
"SICTargetLowering",
"::",
"getTargetNode",
"(",
"JumpTableSDNode",
"*",
"N",
",",
"EVT",
"Ty",
",",
"SelectionDAG",
"&",
"DAG",
",",
"unsigned",
"Flag",
")",
"const",
"{",
"return",
"DAG",
".",
"getTargetJumpTable",
"(",
"N",
"->",
"getInd... | [
"Retrieve",
"the",
"target",
"node",
"this",
"edge",
"connects",
"to",
"."
] | [
"SIC",
"SIC"
] | SICISelLowering | getTargetNode | SIC | CPU | LLVM | 3,655 | 38 | 1 | [] |
[
"<s>",
"int",
"mcore_is_dead",
"(",
"rtx_insn",
"*",
"first",
",",
"rtx",
"reg",
")",
"{",
"rtx_insn",
"*",
"insn",
";",
"if",
"(",
"GET_CODE",
"(",
"reg",
")",
"==",
"SUBREG",
")",
"reg",
"=",
"SUBREG_REG",
"(",
"reg",
")",
";",
"if",
"(",
"dead_o... | [
"Check",
"whether",
"reg",
"is",
"dead",
"at",
"first",
".",
"This",
"is",
"done",
"by",
"searching",
"ahead",
"for",
"either",
"the",
"next",
"use",
"(",
"i.e.",
",",
"reg",
"is",
"live",
")",
",",
"a",
"death",
"note",
",",
"or",
"a",
"set",
"of"... | [
"mcore",
"1",
"0",
"0",
"1",
"0",
"1",
"0"
] | mcore | mcore_is_dead | mcore | MPU | GCC | 3,656 | 162 | 1 | [] |
[
"<s>",
"bool",
"RISCVAsmBackend",
"::",
"mayNeedRelaxation",
"(",
"const",
"MCInst",
"&",
"Inst",
",",
"const",
"MCSubtargetInfo",
"&",
"STI",
")",
"const",
"{",
"return",
"getRelaxedOpcode",
"(",
"Inst",
".",
"getOpcode",
"(",
")",
")",
"!=",
"Inst",
".",
... | [
"Check",
"whether",
"the",
"given",
"instruction",
"may",
"need",
"relaxation",
"."
] | [
"RI5CY",
"RISCV"
] | RISCVAsmBackend | mayNeedRelaxation | RI5CY | CPU | LLVM | 3,657 | 34 | 1 | [] |
[
"<s>",
"SUnit",
"*",
"SystemZPostRASchedStrategy",
"::",
"pickNode",
"(",
"bool",
"&",
"IsTopNode",
")",
"{",
"IsTopNode",
"=",
"true",
";",
"if",
"(",
"Available",
".",
"empty",
"(",
")",
")",
"return",
"nullptr",
";",
"if",
"(",
"Available",
".",
"size... | [
"Pick",
"the",
"next",
"node",
"to",
"schedule",
",",
"or",
"return",
"NULL",
"."
] | [
"SystemZ",
"SystemZ",
"1",
"\"+++ Only one: \"",
"\"\\n\"",
"\"+++ Available: \"",
"\"+++ Best sofar: \"",
"0",
"\"\\tGrouping cost:\"",
"0",
"\" Resource cost:\"",
"\" Height:\"",
"\"\\n\""
] | SystemZMachineScheduler13 | pickNode | SystemZ | CPU | LLVM | 3,658 | 243 | 1 | [] |
[
"<s>",
"static",
"void",
"mips_function_rodata_section",
"(",
"tree",
"decl",
")",
"{",
"if",
"(",
"!",
"TARGET_ABICALLS",
"||",
"TARGET_GPWORD",
")",
"default_function_rodata_section",
"(",
"decl",
")",
";",
"else",
"if",
"(",
"decl",
"&&",
"DECL_SECTION_NAME",
... | [
"Implement",
"TARGET_ASM_FUNCTION_RODATA_SECTION",
".",
"The",
"complication",
"here",
"is",
"that",
",",
"with",
"the",
"combination",
"TARGET_ABICALLS",
"&",
"&",
"!",
"TARGET_GPWORD",
",",
"jump",
"tables",
"will",
"use",
"absolute",
"addresses",
",",
"and",
"s... | [
"mips",
"\".gnu.linkonce.t.\"",
"16",
"0",
"14",
"\".text.\"",
"6",
"0",
"1",
"\"data\"",
"4"
] | mips3 | mips_function_rodata_section | mips | CPU | GCC | 3,659 | 150 | 1 | [] |
[
"<s>",
"llvm",
"::",
"Optional",
"<",
"unsigned",
">",
"X86TTIImpl",
"::",
"getCacheSize",
"(",
"TargetTransformInfo",
"::",
"CacheLevel",
"Level",
")",
"const",
"{",
"switch",
"(",
"Level",
")",
"{",
"case",
"TargetTransformInfo",
"::",
"CacheLevel",
"::",
"L... | [
"Return",
"the",
"cache",
"size",
"in",
"bytes",
"for",
"the",
"given",
"level",
"of",
"cache",
"."
] | [
"X86",
"X86",
"32",
"1024",
"256",
"1024",
"\"Unknown TargetTransformInfo::CacheLevel\""
] | X86TargetTransformInfo (2) | getCacheSize | X86 | CPU | LLVM | 3,660 | 53 | 1 | [] |
[
"<s>",
"static",
"void",
"riscv_set_current_function",
"(",
"tree",
"decl",
")",
"{",
"if",
"(",
"decl",
"==",
"NULL_TREE",
"||",
"current_function_decl",
"==",
"NULL_TREE",
"||",
"current_function_decl",
"==",
"error_mark_node",
"||",
"!",
"cfun",
"->",
"machine"... | [
"Sanity",
"cheching",
"for",
"above",
"function",
"attributes",
"."
] | [
"riscv"
] | riscv3 | riscv_set_current_function | riscv | CPU | GCC | 3,661 | 41 | 1 | [] |
[
"<s>",
"void",
"getAnalysisUsage",
"(",
"AnalysisUsage",
"&",
"AU",
")",
"const",
"override",
"{",
"AU",
".",
"addRequired",
"<",
"MachineDominatorTree",
">",
"(",
")",
";",
"AU",
".",
"addPreserved",
"<",
"MachineDominatorTree",
">",
"(",
")",
";",
"Machine... | [
"getAnalysisUsage",
"-",
"Subclasses",
"that",
"override",
"getAnalysisUsage",
"must",
"call",
"this",
"."
] | [
"TPC"
] | TPCElfSet | getAnalysisUsage | TPC | Virtual ISA | LLVM | 3,662 | 36 | 1 | [] |
[
"<s>",
"bool",
"PPCTTIImpl",
"::",
"isHardwareLoopProfitable",
"(",
"Loop",
"*",
"L",
",",
"ScalarEvolution",
"&",
"SE",
",",
"AssumptionCache",
"&",
"AC",
",",
"TargetLibraryInfo",
"*",
"LibInfo",
",",
"HardwareLoopInfo",
"&",
"HWLoopInfo",
")",
"{",
"const",
... | [
"Query",
"the",
"target",
"whether",
"it",
"would",
"be",
"profitable",
"to",
"convert",
"the",
"given",
"loop",
"into",
"a",
"hardware",
"loop",
"."
] | [
"PowerPC",
"PPC",
"PPC",
"32",
"6",
"4",
"4",
"0",
"0",
"0",
"4",
"0",
"PPC",
"1"
] | PPCTargetTransformInfo1 | isHardwareLoopProfitable | PowerPC | CPU | LLVM | 3,663 | 481 | 1 | [] |
[
"<s>",
"void",
"BPFAsmBackend",
"::",
"applyFixup",
"(",
"const",
"MCFixup",
"&",
"Fixup",
",",
"MutableArrayRef",
"<",
"char",
">",
"Data",
",",
"uint64_t",
"Value",
",",
"bool",
"IsPCRel",
",",
"MCContext",
"&",
"Ctx",
")",
"const",
"{",
"if",
"(",
"Fi... | [
"Apply",
"the",
"Value",
"for",
"given",
"Fixup",
"into",
"the",
"provided",
"data",
"fragment",
",",
"at",
"the",
"offset",
"specified",
"by",
"the",
"fixup",
"and",
"following",
"the",
"fixup",
"kind",
"as",
"appropriate",
"."
] | [
"BPF",
"BPF",
"0",
"4",
"8",
"0",
"1",
"8",
"8",
"8",
"2",
"0xFF",
"3",
"8",
"2",
"8",
"3",
"0xFF"
] | BPFAsmBackend1 | applyFixup | BPF | Virtual ISA | LLVM | 3,664 | 241 | 1 | [] |
[
"<s>",
"virtual",
"void",
"getAnalysisUsage",
"(",
"AnalysisUsage",
"&",
"AU",
")",
"const",
"override",
"{",
"AU",
".",
"setPreservesCFG",
"(",
")",
";",
"AU",
".",
"addRequired",
"<",
"MachineTraceMetrics",
">",
"(",
")",
";",
"AU",
".",
"addPreserved",
... | [
"getAnalysisUsage",
"-",
"Subclasses",
"that",
"override",
"getAnalysisUsage",
"must",
"call",
"this",
"."
] | [
"ARM64"
] | ARM64StorePairSuppress | getAnalysisUsage | ARM64 | CPU | LLVM | 3,665 | 43 | 1 | [] |
[
"<s>",
"bool",
"LM32PassConfig",
"::",
"addInstSelector",
"(",
")",
"{",
"addPass",
"(",
"createLM32ISelDag",
"(",
"getLM32TargetMachine",
"(",
")",
",",
"getOptLevel",
"(",
")",
")",
")",
";",
"return",
"false",
";",
"}",
"</s>"
] | [
"addInstSelector",
"-",
"This",
"method",
"should",
"install",
"an",
"instruction",
"selector",
"pass",
",",
"which",
"converts",
"from",
"LLVM",
"code",
"to",
"machine",
"instructions",
"."
] | [
"LM32",
"LM32",
"LM32",
"LM32"
] | LM32TargetMachine | addInstSelector | LM32 | MPU | LLVM | 3,666 | 25 | 1 | [] |
[
"<s>",
"const",
"char",
"*",
"getPassName",
"(",
")",
"const",
"override",
"{",
"return",
"\"Local Dynamic TLS Access Clean-up\"",
";",
"}",
"</s>"
] | [
"getPassName",
"-",
"Return",
"a",
"nice",
"clean",
"name",
"for",
"a",
"pass",
"."
] | [
"ARM64",
"\"Local Dynamic TLS Access Clean-up\""
] | ARM64CleanupLocalDynamicTLSPass1 | getPassName | ARM64 | CPU | LLVM | 3,667 | 13 | 1 | [] |
[
"<s>",
"static",
"tree",
"ix86_generate_version_dispatcher_body",
"(",
"void",
"*",
"node_p",
")",
"{",
"tree",
"resolver_decl",
";",
"basic_block",
"empty_bb",
";",
"tree",
"default_ver_decl",
";",
"struct",
"cgraph_node",
"*",
"versn",
";",
"struct",
"cgraph_node"... | [
"Generate",
"the",
"dispatching",
"code",
"body",
"to",
"dispatch",
"multi-versioned",
"function",
"DECL",
".",
"The",
"target",
"hook",
"is",
"called",
"to",
"process",
"the",
"``",
"target",
"''",
"attributes",
"and",
"provide",
"the",
"code",
"to",
"dispatc... | [
"i386",
"2",
"\"Virtual function multiversioning not supported\""
] | i3864 | ix86_generate_version_dispatcher_body | i386 | CPU | GCC | 3,668 | 204 | 1 | [] |
[
"<s>",
"bool",
"nds32_n8_load_to_ii_p",
"(",
"rtx_insn",
"*",
"producer",
",",
"rtx_insn",
"*",
"consumer",
")",
"{",
"if",
"(",
"post_update_insn_p",
"(",
"producer",
")",
")",
"return",
"false",
";",
"rtx",
"def_reg",
"=",
"SET_DEST",
"(",
"PATTERN",
"(",
... | [
"Guard",
"functions",
"for",
"N8",
"core",
"."
] | [
"nds32"
] | nds32-pipelines-auxiliary | nds32_n8_load_to_ii_p | nds32 | CPU | GCC | 3,669 | 42 | 1 | [] |
[
"<s>",
"static",
"const",
"FunctionType",
"*",
"getType",
"(",
"LLVMContext",
"&",
"Context",
",",
"unsigned",
"id",
")",
"{",
"const",
"Type",
"*",
"ResultTy",
"=",
"NULL",
";",
"std",
"::",
"vector",
"<",
"const",
"Type",
"*",
">",
"ArgTys",
";",
"bo... | [
"Overload",
"to",
"return",
"most",
"specific",
"vector",
"type",
"."
] | [
"MBlaze"
] | MBlazeIntrinsicInfo | getType | MBlaze | MPU | LLVM | 3,670 | 49 | 1 | [] |
[
"<s>",
"unsigned",
"ARMBaseRegisterInfo",
"::",
"getRegPressureLimit",
"(",
"const",
"TargetRegisterClass",
"*",
"RC",
",",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"const",
"ARMSubtarget",
"&",
"STI",
"=",
"MF",
".",
"getSubtarget",
"<",
"ARMSubtarget",
... | [
"Return",
"the",
"register",
"pressure",
"``",
"high",
"water",
"mark",
"''",
"for",
"the",
"specific",
"register",
"class",
"."
] | [
"ARM",
"ARM",
"ARM",
"ARM",
"ARM",
"0",
"ARM::tGPRRegClassID",
"5",
"ARM::GPRRegClassID",
"10",
"ARM::SPRRegClassID",
"ARM::DPRRegClassID",
"32",
"10"
] | ARMBaseRegisterInfo91 | getRegPressureLimit | ARM | CPU | LLVM | 3,671 | 145 | 1 | [] |
[
"<s>",
"unsigned",
"ARMBaseInstrInfo",
"::",
"removeBranch",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"int",
"*",
"BytesRemoved",
")",
"const",
"{",
"assert",
"(",
"!",
"BytesRemoved",
"&&",
"\"code size not handled\"",
")",
";",
"MachineBasicBlock",
"::",
"iter... | [
"Remove",
"the",
"branching",
"code",
"at",
"the",
"end",
"of",
"the",
"specific",
"MBB",
"."
] | [
"ARM",
"ARM",
"\"code size not handled\"",
"0",
"0",
"1",
"1",
"2"
] | ARMBaseInstrInfo1 | removeBranch | ARM | CPU | LLVM | 3,672 | 127 | 1 | [] |
[
"<s>",
"bool",
"AArch64AsmPrinter",
"::",
"PrintAsmOperand",
"(",
"const",
"MachineInstr",
"*",
"MI",
",",
"unsigned",
"OpNum",
",",
"const",
"char",
"*",
"ExtraCode",
",",
"raw_ostream",
"&",
"O",
")",
"{",
"const",
"MachineOperand",
"&",
"MO",
"=",
"MI",
... | [
"PrintAsmOperand",
"-",
"Print",
"out",
"an",
"operand",
"for",
"an",
"inline",
"asm",
"expression",
"."
] | [
"AArch64",
"AArch64",
"0",
"1",
"0",
"0",
"0",
"0",
"0",
"AArch64::WZR",
"AArch64::XZR",
"AArch64",
"0",
"AArch64::FPR8RegClass",
"AArch64::FPR16RegClass",
"AArch64::FPR32RegClass",
"AArch64::FPR64RegClass",
"AArch64::FPR128RegClass",
"AArch64::ZPRRegClass",
"AArch64::NoRegAltN... | AArch64AsmPrinter1 | PrintAsmOperand | AArch64 | CPU | LLVM | 3,673 | 487 | 1 | [] |
[
"<s>",
"DecodeStatus",
"HexagonDisassembler",
"::",
"getInstruction",
"(",
"MCInst",
"&",
"MI",
",",
"uint64_t",
"&",
"Size",
",",
"ArrayRef",
"<",
"uint8_t",
">",
"Bytes",
",",
"uint64_t",
"Address",
",",
"raw_ostream",
"&",
"os",
",",
"raw_ostream",
"&",
"... | [
"Returns",
"the",
"disassembly",
"of",
"a",
"single",
"instruction",
"."
] | [
"Hexagon",
"Hexagon",
"0",
"Hexagon::BUNDLE",
"0"
] | HexagonDisassembler30 | getInstruction | Hexagon | DSP | LLVM | 3,674 | 163 | 1 | [] |
[
"<s>",
"unsigned",
"MCS51InstrInfo",
"::",
"insertBranch",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"*",
"TBB",
",",
"MachineBasicBlock",
"*",
"FBB",
",",
"ArrayRef",
"<",
"MachineOperand",
">",
"Cond",
",",
"const",
"DebugLoc",
"&",
"DL",... | [
"Insert",
"branch",
"code",
"into",
"the",
"end",
"of",
"the",
"specified",
"MachineBasicBlock",
"."
] | [
"MCS51",
"MCS51",
"0",
"\"insertBranch must not be told to insert a fallthrough\"",
"1",
"0",
"\"MCS51 branch conditions have one component!\"",
"\"Unconditional branch with multiple successors!\"",
"MCS51::RJMPk",
"1",
"0",
"MCS51CC::CondCodes",
"MCS51CC::CondCodes",
"0",
"MCS51::RJMPk"... | MCS51InstrInfo | insertBranch | MCS51 | MPU | LLVM | 3,675 | 243 | 1 | [] |
[
"<s>",
"virtual",
"const",
"IA64RegisterInfo",
"&",
"getRegisterInfo",
"(",
")",
"const",
"{",
"return",
"RI",
";",
"}",
"</s>"
] | [
"getRegisterInfo",
"-",
"TargetInstrInfo",
"is",
"a",
"superset",
"of",
"MRegister",
"info",
"."
] | [
"IA64",
"IA64"
] | IA64InstrInfo | getRegisterInfo | IA64 | CPU | LLVM | 3,676 | 13 | 1 | [] |
[
"<s>",
"SDNode",
"*",
"PTXDAGToDAGISel",
"::",
"Select",
"(",
"SDNode",
"*",
"Node",
")",
"{",
"if",
"(",
"Node",
"->",
"getOpcode",
"(",
")",
"==",
"PTXISD",
"::",
"READ_PARAM",
")",
"return",
"SelectREAD_PARAM",
"(",
"Node",
")",
";",
"else",
"return",... | [
"Main",
"hook",
"for",
"targets",
"to",
"transform",
"nodes",
"into",
"machine",
"nodes",
"."
] | [
"PTX",
"PTX",
"PTXISD::READ_PARAM"
] | PTXISelDAGToDAG | Select | PTX | GPU | LLVM | 3,677 | 37 | 1 | [] |
[
"<s>",
"static",
"int",
"loongarch_fp_div_cost",
"(",
"machine_mode",
"mode",
")",
"{",
"return",
"mode",
"==",
"DFmode",
"?",
"loongarch_cost",
"->",
"fp_div_df",
":",
"loongarch_cost",
"->",
"fp_div_sf",
";",
"}",
"</s>"
] | [
"Return",
"the",
"cost",
"of",
"floating-point",
"divisions",
"of",
"mode",
"MODE",
"."
] | [
"loongarch"
] | loongarch | loongarch_fp_div_cost | loongarch | CPU | GCC | 3,678 | 22 | 1 | [] |
[
"<s>",
"std",
"::",
"unique_ptr",
"<",
"PBQPRAConstraint",
">",
"AArch64Subtarget",
"::",
"getCustomPBQPConstraints",
"(",
")",
"const",
"{",
"if",
"(",
"!",
"isCortexA57",
"(",
")",
")",
"return",
"nullptr",
";",
"return",
"llvm",
"::",
"make_unique",
"<",
... | [
"Return",
"PBQPConstraint",
"(",
"s",
")",
"for",
"the",
"target",
"."
] | [
"AArch64",
"AArch64"
] | AArch64Subtarget11 | getCustomPBQPConstraints | AArch64 | CPU | LLVM | 3,679 | 34 | 1 | [] |
[
"<s>",
"static",
"void",
"rs6000_emit_allocate_stack",
"(",
"HOST_WIDE_INT",
"size",
",",
"int",
"copy_r12",
")",
"{",
"rtx",
"insn",
";",
"rtx",
"stack_reg",
"=",
"gen_rtx_REG",
"(",
"Pmode",
",",
"STACK_POINTER_REGNUM",
")",
";",
"rtx",
"tmp_reg",
"=",
"gen_... | [
"Emit",
"the",
"correct",
"code",
"for",
"allocating",
"stack",
"space",
",",
"as",
"insns",
".",
"If",
"COPY_R12",
",",
"make",
"sure",
"a",
"copy",
"of",
"the",
"old",
"frame",
"is",
"left",
"in",
"r12",
".",
"The",
"generated",
"code",
"may",
"use",... | [
"rs6000",
"0",
"0",
"\"stack frame too large\"",
"1",
"31",
"0",
"\"stack limit expression is not supported\"",
"12",
"32767",
"0",
"12",
"1"
] | rs60003 | rs6000_emit_allocate_stack | rs6000 | CPU | GCC | 3,680 | 415 | 1 | [] |
[
"<s>",
"static",
"rtx",
"mips_function_value_1",
"(",
"const_tree",
"valtype",
",",
"const_tree",
"fn_decl_or_type",
",",
"machine_mode",
"mode",
")",
"{",
"if",
"(",
"valtype",
")",
"{",
"tree",
"fields",
"[",
"2",
"]",
";",
"int",
"unsigned_p",
";",
"const... | [
"Implement",
"TARGET_FUNCTION_VALUE",
"and",
"TARGET_LIBCALL_VALUE",
".",
"For",
"normal",
"calls",
",",
"VALTYPE",
"is",
"the",
"return",
"type",
"and",
"MODE",
"is",
"VOIDmode",
".",
"For",
"libcalls",
",",
"VALTYPE",
"is",
"null",
"and",
"MODE",
"is",
"the"... | [
"mips",
"2",
"1",
"0",
"\"gcc-12/changes.html#zero_width_bitfields\"",
"\"the ABI for returning a value containing \"",
"\"zero-width bit-fields but otherwise an aggregate \"",
"\"with only one or two floating-point fields was \"",
"\"changed in GCC %{12.1%}\"",
"0",
"0",
"\"gcc-12/changes.htm... | mips | mips_function_value_1 | mips | CPU | GCC | 3,681 | 477 | 1 | [] |
[
"<s>",
"enum",
"reg_class",
"mips_preferred_reload_class",
"(",
"rtx",
"x",
",",
"enum",
"reg_class",
"class",
")",
"{",
"if",
"(",
"mips_dangerous_for_la25_p",
"(",
"x",
")",
"&&",
"reg_class_subset_p",
"(",
"LEA_REGS",
",",
"class",
")",
")",
"return",
"LEA_... | [
"Implement",
"PREFERRED_RELOAD_CLASS",
"."
] | [
"mips"
] | mips3 | mips_preferred_reload_class | mips | CPU | GCC | 3,682 | 83 | 1 | [] |
[
"<s>",
"SDValue",
"XCoreSelectionDAGInfo",
"::",
"EmitTargetCodeForMemcpy",
"(",
"SelectionDAG",
"&",
"DAG",
",",
"SDLoc",
"dl",
",",
"SDValue",
"Chain",
",",
"SDValue",
"Dst",
",",
"SDValue",
"Src",
",",
"SDValue",
"Size",
",",
"unsigned",
"Align",
",",
"bool... | [
"Emit",
"target-specific",
"code",
"that",
"performs",
"a",
"memcpy",
"."
] | [
"XCore",
"XCore",
"3",
"0",
"3",
"0",
"\"__memcpy_4\""
] | XCoreSelectionDAGInfo15 | EmitTargetCodeForMemcpy | XCore | MPU | LLVM | 3,683 | 260 | 1 | [] |
[
"<s>",
"bool",
"RISCVOptimizeVSETVLUses",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"Fn",
")",
"{",
"if",
"(",
"skipFunction",
"(",
"Fn",
".",
"getFunction",
"(",
")",
")",
")",
"return",
"false",
";",
"if",
"(",
"!",
"Fn",
".",
"getSubtar... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"RISCV",
"RISCV",
"RISCV",
"\"*** Optimizing VSETVL in \"",
"\" ***\\n\"",
"0",
"1",
"RISCV::VSETVL",
"\"*** Found COPY instruction from VSETVL\"",
"\"across register class\"",
"\" ***\\n\"",
"0",
"1"
] | RISCVOptimizeVSETVLUses | runOnMachineFunction | RISCV | CPU | LLVM | 3,684 | 283 | 1 | [] |
[
"<s>",
"StringRef",
"getPassName",
"(",
")",
"const",
"override",
"{",
"return",
"\"Hexagon Store Widening\"",
";",
"}",
"</s>"
] | [
"getPassName",
"-",
"Return",
"a",
"nice",
"clean",
"name",
"for",
"a",
"pass",
"."
] | [
"Hexagon",
"\"Hexagon Store Widening\""
] | HexagonStoreWidening | getPassName | Hexagon | DSP | LLVM | 3,685 | 11 | 1 | [] |
[
"<s>",
"unsigned",
"getPointerSize",
"(",
")",
"const",
"{",
"return",
"8",
";",
"}",
"</s>"
] | [
"Layout",
"pointer",
"size",
"in",
"bytes",
",",
"rounded",
"up",
"to",
"a",
"whole",
"number",
"of",
"bytes",
"."
] | [
"ARM64",
"8"
] | ARM64AsmBackend | getPointerSize | ARM64 | CPU | LLVM | 3,686 | 10 | 1 | [] |
[
"<s>",
"void",
"aarch64_init_builtins",
"(",
"void",
")",
"{",
"tree",
"ftype_set_fpr",
"=",
"build_function_type_list",
"(",
"void_type_node",
",",
"unsigned_type_node",
",",
"NULL",
")",
";",
"tree",
"ftype_get_fpr",
"=",
"build_function_type_list",
"(",
"unsigned_t... | [
"Implement",
"TARGET_INIT_BUILTINS",
"."
] | [
"aarch64",
"\"__builtin_aarch64_get_fpcr\"",
"\"__builtin_aarch64_set_fpcr\"",
"\"__builtin_aarch64_get_fpsr\"",
"\"__builtin_aarch64_set_fpsr\"",
"16",
"\"__fp16\""
] | aarch64-builtins3 | aarch64_init_builtins | aarch64 | CPU | GCC | 3,687 | 158 | 1 | [] |
[
"<s>",
"bool",
"SICRegisterInfo",
"::",
"requiresRegisterScavenging",
"(",
"const",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"return",
"true",
";",
"}",
"</s>"
] | [
"Returns",
"true",
"if",
"the",
"target",
"requires",
"(",
"and",
"can",
"make",
"use",
"of",
")",
"the",
"register",
"scavenger",
"."
] | [
"SIC",
"SIC"
] | SICRegisterInfo | requiresRegisterScavenging | SIC | CPU | LLVM | 3,688 | 16 | 1 | [] |
[
"<s>",
"void",
"AArch64PassConfig",
"::",
"addIRPasses",
"(",
")",
"{",
"addPass",
"(",
"createAtomicExpandPass",
"(",
")",
")",
";",
"if",
"(",
"EnableSVEIntrinsicOpts",
"&&",
"TM",
"->",
"getOptLevel",
"(",
")",
"==",
"CodeGenOpt",
"::",
"Aggressive",
")",
... | [
"Add",
"common",
"target",
"configurable",
"passes",
"that",
"perform",
"LLVM",
"IR",
"to",
"IR",
"transforms",
"following",
"machine",
"independent",
"optimization",
"."
] | [
"AArch64",
"AArch64",
"1",
"AArch64"
] | AArch64TargetMachine27 | addIRPasses | AArch64 | CPU | LLVM | 3,689 | 209 | 1 | [] |
[
"<s>",
"void",
"gen_conditional_branch",
"(",
"rtx",
"operands",
"[",
"]",
",",
"machine_mode",
"mode",
")",
"{",
"enum",
"rtx_code",
"test_code",
"=",
"GET_CODE",
"(",
"operands",
"[",
"0",
"]",
")",
";",
"rtx",
"cmp0",
"=",
"operands",
"[",
"1",
"]",
... | [
"Emit",
"the",
"common",
"code",
"for",
"doing",
"conditional",
"branches",
".",
"operand",
"[",
"0",
"]",
"is",
"the",
"label",
"to",
"jump",
"to",
".",
"The",
"comparison",
"operands",
"are",
"saved",
"away",
"by",
"cmp",
"{",
"si",
",",
"di",
",",
... | [
"iq2000",
"0",
"1",
"2",
"0",
"0",
"3"
] | iq2000 | gen_conditional_branch | iq2000 | CPU | GCC | 3,690 | 174 | 1 | [] |
[
"<s>",
"const",
"char",
"*",
"getPassName",
"(",
")",
"const",
"override",
"{",
"return",
"\"Lanai load / store optimization pass\"",
";",
"}",
"</s>"
] | [
"getPassName",
"-",
"Return",
"a",
"nice",
"clean",
"name",
"for",
"a",
"pass",
"."
] | [
"Lanai",
"\"Lanai load / store optimization pass\""
] | LanaiMemAluCombiner | getPassName | Lanai | CPU | LLVM | 3,691 | 13 | 1 | [] |
[
"<s>",
"void",
"Mips16FrameLowering",
"::",
"emitPrologue",
"(",
"MachineFunction",
"&",
"MF",
",",
"MachineBasicBlock",
"&",
"MBB",
")",
"const",
"{",
"assert",
"(",
"&",
"MF",
".",
"front",
"(",
")",
"==",
"&",
"MBB",
"&&",
"\"Shrink-wrapping not yet support... | [
"emitProlog/emitEpilog",
"-",
"These",
"methods",
"insert",
"prolog",
"and",
"epilog",
"code",
"into",
"the",
"function",
"."
] | [
"Mips",
"Mips",
"\"Shrink-wrapping not yet supported\"",
"Mips",
"Mips",
"0",
"Mips::SP",
"Mips::MoveR3216",
"Mips::S0",
"Mips::SP"
] | Mips16FrameLowering21 | emitPrologue | Mips | CPU | LLVM | 3,692 | 383 | 1 | [] |
[
"<s>",
"static",
"bool",
"vax_mode_dependent_address_p",
"(",
"const_rtx",
"x",
",",
"addr_space_t",
"as",
"ATTRIBUTE_UNUSED",
")",
"{",
"rtx",
"xfoo0",
",",
"xfoo1",
";",
"if",
"(",
"GET_CODE",
"(",
"x",
")",
"!=",
"PLUS",
")",
"return",
"false",
";",
"xf... | [
"Return",
"1",
"if",
"x",
"(",
"a",
"legitimate",
"address",
"expression",
")",
"has",
"an",
"effect",
"that",
"depends",
"on",
"the",
"machine",
"mode",
"it",
"is",
"used",
"for",
".",
"On",
"the",
"VAX",
",",
"the",
"predecrement",
"and",
"postincremen... | [
"vax",
"0",
"1"
] | vax | vax_mode_dependent_address_p | vax | CPU | GCC | 3,693 | 117 | 1 | [] |
[
"<s>",
"rtx",
"legitimize_address",
"(",
"rtx",
"x",
",",
"rtx",
"oldx",
"ATTRIBUTE_UNUSED",
",",
"enum",
"machine_mode",
"mode",
")",
"{",
"rtx",
"orig_x",
"=",
"x",
";",
"if",
"(",
"GET_CODE",
"(",
"x",
")",
"==",
"PLUS",
"&&",
"GET_CODE",
"(",
"XEXP... | [
"Try",
"machine-dependent",
"ways",
"of",
"modifying",
"an",
"illegitimate",
"address",
"X",
"to",
"be",
"legitimate",
".",
"If",
"we",
"find",
"one",
",",
"return",
"the",
"new",
",",
"valid",
"address",
".",
"OLDX",
"is",
"the",
"address",
"as",
"it",
... | [
"sparc",
"0",
"1",
"0",
"1",
"0",
"1",
"0",
"0",
"1",
"1",
"0",
"1",
"0",
"1",
"0",
"1",
"0",
"1",
"0"
] | sparc3 | legitimize_address | sparc | CPU | GCC | 3,694 | 387 | 1 | [] |
[
"<s>",
"SDValue",
"HexagonTargetLowering",
"::",
"PerformDAGCombine",
"(",
"SDNode",
"*",
"N",
",",
"DAGCombinerInfo",
"&",
"DCI",
")",
"const",
"{",
"SDValue",
"Op",
"(",
"N",
",",
"0",
")",
";",
"if",
"(",
"isHvxOperation",
"(",
"Op",
")",
")",
"{",
... | [
"This",
"method",
"will",
"be",
"invoked",
"for",
"all",
"target",
"nodes",
"and",
"for",
"any",
"target-independent",
"nodes",
"that",
"the",
"target",
"has",
"registered",
"with",
"invoke",
"it",
"for",
"."
] | [
"Hexagon",
"Hexagon",
"0",
"HexagonISD::P2D",
"0",
"HexagonISD::PTRUE",
"1",
"HexagonISD::PFALSE",
"ISD::VSELECT",
"0",
"ISD::XOR",
"0",
"1",
"HexagonISD::PTRUE",
"ISD::VSELECT",
"2",
"1"
] | HexagonISelLowering103 | PerformDAGCombine | Hexagon | DSP | LLVM | 3,695 | 260 | 1 | [] |
[
"<s>",
"int",
"c4x_Q_constraint",
"(",
"rtx",
"op",
")",
"{",
"enum",
"machine_mode",
"mode",
"=",
"GET_MODE",
"(",
"op",
")",
";",
"if",
"(",
"GET_CODE",
"(",
"op",
")",
"!=",
"MEM",
")",
"return",
"0",
";",
"op",
"=",
"XEXP",
"(",
"op",
",",
"0... | [
"ARx",
"+",
"9-bit",
"signed",
"const",
"or",
"IRn",
"*",
"ARx",
",",
"*",
"+ARx",
"(",
"n",
")",
",",
"*",
"-ARx",
"(",
"n",
")",
",",
"*",
"+ARx",
"(",
"IRn",
")",
",",
"*",
"-Arx",
"(",
"IRn",
")",
"for",
"-256",
"<",
"n",
"<",
"256",
... | [
"c4x",
"0",
"0",
"1",
"0",
"1",
"0",
"1",
"0",
"0"
] | c4x1 | c4x_Q_constraint | c4x | DSP | GCC | 3,696 | 148 | 1 | [] |
[
"<s>",
"unsigned",
"HexagonRegisterInfo",
"::",
"getNumRegPressureSets",
"(",
")",
"const",
"{",
"return",
"4",
";",
"}",
"</s>"
] | [
"Get",
"the",
"number",
"of",
"dimensions",
"of",
"register",
"pressure",
"."
] | [
"Hexagon",
"Hexagon",
"4"
] | HexagonRegisterInfo23 | getNumRegPressureSets | Hexagon | DSP | LLVM | 3,697 | 12 | 1 | [] |
[
"<s>",
"MachineInstr",
"*",
"SystemZInstrInfo",
"::",
"foldMemoryOperandImpl",
"(",
"MachineFunction",
"&",
"MF",
",",
"MachineInstr",
"*",
"MI",
",",
"const",
"SmallVectorImpl",
"<",
"unsigned",
">",
"&",
"Ops",
",",
"MachineInstr",
"*",
"LoadMI",
")",
"const",... | [
"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",
"."
] | [
"SystemZ",
"SystemZ"
] | SystemZInstrInfo38 | foldMemoryOperandImpl | SystemZ | CPU | LLVM | 3,698 | 32 | 1 | [] |
[
"<s>",
"SDValue",
"HexagonTargetLowering",
"::",
"LowerOperation",
"(",
"SDValue",
"Op",
",",
"SelectionDAG",
"&",
"DAG",
")",
"const",
"{",
"switch",
"(",
"Op",
".",
"getOpcode",
"(",
")",
")",
"{",
"default",
":",
"llvm_unreachable",
"(",
"\"Should not custo... | [
"LowerOperation",
"-",
"Provide",
"custom",
"lowering",
"hooks",
"for",
"some",
"operations",
"."
] | [
"Hexagon",
"Hexagon",
"\"Should not custom lower this!\"",
"ISD::RETURNADDR",
"ISD::FRAMEADDR",
"ISD::GlobalTLSAddress",
"\"TLS not implemented for Hexagon.\"",
"ISD::MEMBARRIER",
"ISD::ATOMIC_FENCE",
"ISD::GlobalAddress",
"ISD::VASTART",
"ISD::BR_JT",
"ISD::DYNAMIC_STACKALLOC",
"ISD::SELE... | HexagonISelLowering15 | LowerOperation | Hexagon | DSP | LLVM | 3,699 | 185 | 1 | [] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.