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>",
"void",
"mcore_print_operand",
"(",
"FILE",
"*",
"stream",
",",
"rtx",
"x",
",",
"int",
"code",
")",
"{",
"switch",
"(",
"code",
")",
"{",
"case",
"'N'",
":",
"if",
"(",
"INTVAL",
"(",
"x",
")",
"==",
"-",
"1",
")",
"fprintf",
"(",
"asm_ou... | [
"Print",
"operand",
"x",
"(",
"an",
"rtx",
")",
"in",
"assembler",
"syntax",
"to",
"file",
"stream",
"according",
"to",
"modifier",
"code",
".",
"'",
"R",
"'",
"print",
"the",
"next",
"register",
"or",
"memory",
"location",
"along",
",",
"ie",
"the",
"... | [
"mcore",
"1",
"\"32\"",
"\"%d\"",
"1",
"\"%d\"",
"\"%d\"",
"1",
"4",
"0",
"\"%s-%s\"",
"3",
"3",
"8",
"0"
] | mcore3 | mcore_print_operand | mcore | MPU | GCC | 3,000 | 330 | 1 | [] |
[
"<s>",
"inline",
"rtx",
"function_expander",
"::",
"expand",
"(",
")",
"{",
"return",
"base",
"->",
"expand",
"(",
"*",
"this",
")",
";",
"}",
"</s>"
] | [
"Expand",
"the",
"call",
"and",
"return",
"its",
"lhs",
"."
] | [
"riscv"
] | riscv-vector-builtins | expand | riscv | CPU | GCC | 3,001 | 18 | 1 | [] |
[
"<s>",
"bool",
"AArch64ConditionalCompares",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"{",
"DEBUG",
"(",
"dbgs",
"(",
")",
"<<",
"\"********** AArch64 Conditional Compares **********\\n\"",
"<<",
"\"********** Function: \"",
"<<",
"MF",
".",
... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"AArch64",
"AArch64",
"\"********** AArch64 Conditional Compares **********\\n\"",
"\"********** Function: \""
] | AArch64ConditionalCompares (2) | runOnMachineFunction | AArch64 | CPU | LLVM | 3,002 | 161 | 1 | [] |
[
"<s>",
"CCAssignFn",
"*",
"ARMFastISel",
"::",
"CCAssignFnForCall",
"(",
"CallingConv",
"::",
"ID",
"CC",
",",
"bool",
"Return",
",",
"bool",
"isVarArg",
")",
"{",
"switch",
"(",
"CC",
")",
"{",
"default",
":",
"report_fatal_error",
"(",
"\"Unsupported calling... | [
"Selects",
"the",
"correct",
"CCAssignFn",
"for",
"a",
"given",
"CallingConvention",
"value",
"."
] | [
"ARM",
"ARM",
"\"Unsupported calling convention\"",
"ARM",
"ARM",
"ARM",
"ARM",
"ARM",
"ARM",
"ARM",
"ARM",
"ARM",
"ARM",
"ARM",
"ARM",
"ARM",
"ARM",
"ARM",
"ARM",
"ARM",
"ARM",
"ARM",
"\"Can't return in GHC call convention\"",
"ARM",
"ARM",
"ARM"
] | ARMFastISel24 | CCAssignFnForCall | ARM | CPU | LLVM | 3,003 | 242 | 1 | [] |
[
"<s>",
"bool",
"verify_type_context",
"(",
"location_t",
"loc",
",",
"type_context_kind",
"context",
",",
"const_tree",
"type",
",",
"bool",
"silent_p",
")",
"{",
"if",
"(",
"!",
"sizeless_type_p",
"(",
"type",
")",
")",
"return",
"true",
";",
"switch",
"(",... | [
"Implement",
"TARGET_VERIFY_TYPE_CONTEXT",
"for",
"RVV",
"types",
"."
] | [
"aarch64",
"\"SVE type %qT does not have a fixed size\"",
"\"SVE type %qT does not have a defined alignment\"",
"\"variables of type %qT cannot have thread-local\"",
"\" storage duration\"",
"\"arithmetic on pointer to SVE type %qT\"",
"\"member variables cannot have SVE type %qT\"",
"\"fields cannot ... | aarch64-sve-builtins | verify_type_context | aarch64 | CPU | GCC | 3,004 | 259 | 1 | [] |
[
"<s>",
"unsigned",
"getReg",
"(",
")",
"const",
"override",
"{",
"assert",
"(",
"Kind",
"==",
"k_Register",
"&&",
"\"Invalid access!\"",
")",
";",
"return",
"Reg",
".",
"Num",
";",
"}",
"</s>"
] | [
"Returns",
"the",
"register",
"associated",
"with",
"this",
"edge",
"."
] | [
"TL45",
"\"Invalid access!\""
] | TL45AsmParser | getReg | TL45 | MPU | LLVM | 3,005 | 22 | 1 | [] |
[
"<s>",
"void",
"CAHPFrameLowering",
"::",
"determineFrameLayout",
"(",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"MachineFrameInfo",
"&",
"MFI",
"=",
"MF",
".",
"getFrameInfo",
"(",
")",
";",
"const",
"CAHPRegisterInfo",
"*",
"RI",
"=",
"STI",
".",
"g... | [
"Determine",
"the",
"frame",
"layout",
"but",
"do",
"not",
"update",
"the",
"machine",
"function",
"."
] | [
"CAHP",
"CAHP",
"CAHP"
] | CAHPFrameLowering | determineFrameLayout | CAHP | CPU | LLVM | 3,006 | 78 | 1 | [] |
[
"<s>",
"static",
"SDValue",
"getTargetNode",
"(",
"JumpTableSDNode",
"*",
"N",
",",
"SDLoc",
"DL",
",",
"EVT",
"Ty",
",",
"SelectionDAG",
"&",
"DAG",
",",
"unsigned",
"Flags",
")",
"{",
"return",
"DAG",
".",
"getTargetJumpTable",
"(",
"N",
"->",
"getIndex"... | [
"Retrieve",
"the",
"target",
"node",
"this",
"edge",
"connects",
"to",
"."
] | [
"RI5CY"
] | RISCVISelLowering | getTargetNode | RI5CY | CPU | LLVM | 3,007 | 39 | 1 | [] |
[
"<s>",
"static",
"void",
"emitSPUpdate",
"(",
"bool",
"isARM",
",",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"&",
"MBBI",
",",
"DebugLoc",
"dl",
",",
"const",
"ARMBaseInstrInfo",
"&",
"TII",
",",
"int",
"NumBytes",
",",
"u... | [
"Emit",
"a",
"series",
"of",
"instructions",
"to",
"increment",
"/",
"decrement",
"the",
"stack",
"pointer",
"by",
"a",
"constant",
"value",
"."
] | [
"ARM",
"ARM",
"ARM",
"ARM",
"ARM",
"ARM::SP",
"ARM::SP",
"ARMCC::AL",
"0",
"ARM::SP",
"ARM::SP",
"ARMCC::AL",
"0"
] | ARMFrameLowering104 | emitSPUpdate | ARM | CPU | LLVM | 3,008 | 100 | 1 | [] |
[
"<s>",
"void",
"XCoreFrameLowering",
"::",
"determineCalleeSaves",
"(",
"MachineFunction",
"&",
"MF",
",",
"BitVector",
"&",
"SavedRegs",
",",
"RegScavenger",
"*",
"RS",
")",
"const",
"{",
"TargetFrameLowering",
"::",
"determineCalleeSaves",
"(",
"MF",
",",
"Saved... | [
"This",
"method",
"determines",
"which",
"of",
"the",
"registers",
"reported",
"by",
"TargetRegisterInfo",
":",
":getCalleeSavedRegs",
"(",
")",
"should",
"actually",
"get",
"saved",
"."
] | [
"XCore",
"XCore",
"XCore",
"XCore",
"XCore::LR",
"XCore::LR"
] | XCoreFrameLowering12 | determineCalleeSaves | XCore | MPU | LLVM | 3,009 | 161 | 1 | [] |
[
"<s>",
"bool",
"HexagonTargetLowering",
"::",
"getPostIndexedAddressParts",
"(",
"SDNode",
"*",
"N",
",",
"SDNode",
"*",
"Op",
",",
"SDValue",
"&",
"Base",
",",
"SDValue",
"&",
"Offset",
",",
"ISD",
"::",
"MemIndexedMode",
"&",
"AM",
",",
"SelectionDAG",
"&"... | [
"Returns",
"true",
"by",
"value",
",",
"base",
"pointer",
"and",
"offset",
"pointer",
"and",
"addressing",
"mode",
"by",
"reference",
"if",
"this",
"node",
"can",
"be",
"combined",
"with",
"a",
"load",
"/",
"store",
"to",
"form",
"a",
"post-indexed",
"load... | [
"Hexagon",
"Hexagon",
"ISD::MemIndexedMode",
"MVT::i64",
"ISD::POST_INC",
"ISD::POST_DEC"
] | HexagonISelLowering (2)1 | getPostIndexedAddressParts | Hexagon | DSP | LLVM | 3,010 | 207 | 1 | [] |
[
"<s>",
"const",
"char",
"*",
"rs6000_xcoff_strip_dollar",
"(",
"const",
"char",
"*",
"name",
")",
"{",
"char",
"*",
"strip",
",",
"*",
"p",
";",
"const",
"char",
"*",
"q",
";",
"size_t",
"len",
";",
"q",
"=",
"(",
"const",
"char",
"*",
")",
"strchr... | [
"Return",
"a",
"GGC-allocated",
"character",
"string",
"translating",
"dollar",
"signs",
"in",
"input",
"NAME",
"to",
"underscores",
".",
"Used",
"by",
"XCOFF",
"ASM_OUTPUT_LABELREF",
"."
] | [
"powerpcspe",
"0",
"1",
"1"
] | powerpcspe | rs6000_xcoff_strip_dollar | powerpcspe | CPU | GCC | 3,011 | 119 | 1 | [] |
[
"<s>",
"void",
"RISCVTargetLowering",
"::",
"ReplaceNodeResults",
"(",
"SDNode",
"*",
"N",
",",
"SmallVectorImpl",
"<",
"SDValue",
">",
"&",
"Results",
",",
"SelectionDAG",
"&",
"DAG",
")",
"const",
"{",
"SDLoc",
"DL",
"(",
"N",
")",
";",
"switch",
"(",
... | [
"ReplaceNodeResults",
"-",
"Replace",
"the",
"results",
"of",
"node",
"with",
"an",
"illegal",
"result",
"type",
"with",
"new",
"values",
"built",
"out",
"of",
"custom",
"code",
"."
] | [
"RISCV",
"RISCV",
"\"Don't know how to custom type legalize this operation!\"",
"ISD::SHL",
"ISD::SRA",
"ISD::SRL",
"0",
"MVT::i32",
"\"Unexpected custom legalisation\"",
"1",
"ISD::Constant",
"ISD::SDIV",
"ISD::UDIV",
"ISD::UREM",
"0",
"MVT::i32",
"\"Unexpected custom legalisation\"... | RISCVISelLowering26 | ReplaceNodeResults | RISCV | CPU | LLVM | 3,012 | 207 | 1 | [] |
[
"<s>",
"static",
"void",
"handle_special_swappables",
"(",
"swap_web_entry",
"*",
"insn_entry",
",",
"unsigned",
"i",
")",
"{",
"rtx_insn",
"*",
"insn",
"=",
"insn_entry",
"[",
"i",
"]",
".",
"insn",
";",
"rtx",
"body",
"=",
"PATTERN",
"(",
"insn",
")",
... | [
"The",
"insn",
"described",
"by",
"INSN_ENTRY",
"[",
"I",
"]",
"can",
"be",
"swapped",
",",
"but",
"only",
"with",
"special",
"handling",
".",
"Take",
"care",
"of",
"that",
"here",
"."
] | [
"powerpcspe",
"\"Swapping constant halves in insn %d\\n\"",
"\"Adjusting subreg in insn %d\\n\""
] | powerpcspe | handle_special_swappables | powerpcspe | CPU | GCC | 3,013 | 181 | 1 | [] |
[
"<s>",
"const",
"char",
"*",
"SICAsmPrinter",
"::",
"getCurrentABIString",
"(",
")",
"const",
"{",
"switch",
"(",
"static_cast",
"<",
"SICTargetMachine",
"&",
">",
"(",
"TM",
")",
".",
"getABI",
"(",
")",
".",
"GetEnumValue",
"(",
")",
")",
"{",
"case",
... | [
"Emit",
"Set",
"directives",
"."
] | [
"SIC",
"SIC",
"SIC",
"SIC",
"ABI::O32",
"\"abiO32\"",
"SIC",
"ABI::S32",
"\"abiS32\"",
"\"Unknown SIC ABI\""
] | SICAsmPrinter | getCurrentABIString | SIC | CPU | LLVM | 3,014 | 59 | 1 | [] |
[
"<s>",
"bool",
"MCS51MCExpr",
"::",
"evaluateAsConstant",
"(",
"int64_t",
"&",
"Result",
")",
"const",
"{",
"MCValue",
"Value",
";",
"bool",
"isRelocatable",
"=",
"getSubExpr",
"(",
")",
"->",
"evaluateAsRelocatable",
"(",
"Value",
",",
"nullptr",
",",
"nullpt... | [
"Evaluates",
"the",
"fixup",
"as",
"a",
"constant",
"value",
"."
] | [
"MCS51",
"MCS51"
] | MCS51MCExpr | evaluateAsConstant | MCS51 | MPU | LLVM | 3,015 | 66 | 1 | [] |
[
"<s>",
"void",
"DLXFrameLowering",
"::",
"determineFrameLayout",
"(",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"MachineFrameInfo",
"&",
"MFI",
"=",
"MF",
".",
"getFrameInfo",
"(",
")",
";",
"const",
"DLXRegisterInfo",
"*",
"LRI",
"=",
"STI",
".",
"ge... | [
"Determine",
"the",
"frame",
"layout",
"but",
"do",
"not",
"update",
"the",
"machine",
"function",
"."
] | [
"DLX",
"DLX",
"DLX"
] | DLXFrameLowering | determineFrameLayout | DLX | CPU | LLVM | 3,016 | 131 | 1 | [] |
[
"<s>",
"void",
"ia64_vms_output_aligned_decl_common",
"(",
"FILE",
"*",
"file",
",",
"tree",
"decl",
",",
"const",
"char",
"*",
"name",
",",
"unsigned",
"HOST_WIDE_INT",
"size",
",",
"unsigned",
"int",
"align",
")",
"{",
"tree",
"attr",
"=",
"DECL_ATTRIBUTES",... | [
"Part",
"of",
"the",
"low",
"level",
"implementation",
"of",
"DEC",
"Ada",
"pragma",
"Common_Object",
"."
] | [
"ia64",
"\"common_object\"",
"\"\\t.vms_common\\t\\\"%s\\\",\"",
"\"%s\"",
"\",\"",
"\",%u\""
] | ia64 | ia64_vms_output_aligned_decl_common | ia64 | CPU | GCC | 3,017 | 154 | 1 | [] |
[
"<s>",
"bool",
"PPCRegisterInfo",
"::",
"isCallerPreservedPhysReg",
"(",
"MCRegister",
"PhysReg",
",",
"const",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"assert",
"(",
"Register",
"::",
"isPhysicalRegister",
"(",
"PhysReg",
")",
")",
";",
"const",
"PPCSu... | [
"Physical",
"registers",
"that",
"may",
"be",
"modified",
"within",
"a",
"function",
"but",
"are",
"guaranteed",
"to",
"be",
"restored",
"before",
"any",
"uses",
"."
] | [
"PowerPC",
"PPC",
"PPC",
"PPC",
"PPC",
"PPC::X2",
"PPC::X2",
"PPC::X1"
] | PPCRegisterInfo10 | isCallerPreservedPhysReg | PowerPC | CPU | LLVM | 3,018 | 130 | 1 | [] |
[
"<s>",
"static",
"bool",
"bpf_legitimate_address_p",
"(",
"machine_mode",
"mode",
"ATTRIBUTE_UNUSED",
",",
"rtx",
"x",
",",
"bool",
"strict",
")",
"{",
"switch",
"(",
"GET_CODE",
"(",
"x",
")",
")",
"{",
"case",
"REG",
":",
"return",
"bpf_address_base_p",
"(... | [
"Return",
"true",
"if",
"X",
"(",
"a",
"RTX",
")",
"is",
"a",
"legitimate",
"memory",
"address",
"on",
"the",
"target",
"machine",
"for",
"a",
"memory",
"operand",
"of",
"mode",
"MODE",
"."
] | [
"bpf",
"0",
"1",
"1",
"0x7fff",
"0x7fff"
] | bpf | bpf_legitimate_address_p | bpf | Virtual ISA | GCC | 3,019 | 102 | 1 | [] |
[
"<s>",
"void",
"SparcFrameLowering",
"::",
"emitEpilogue",
"(",
"MachineFunction",
"&",
"MF",
",",
"MachineBasicBlock",
"&",
"MBB",
")",
"const",
"{",
"SparcMachineFunctionInfo",
"*",
"FuncInfo",
"=",
"MF",
".",
"getInfo",
"<",
"SparcMachineFunctionInfo",
">",
"("... | [
"Insert",
"epilog",
"code",
"into",
"the",
"function",
"."
] | [
"WDC65816",
"SP::RETL",
"\"Can only put epilog before 'retl' instruction!\"",
"SP::RESTORErr",
"SP::G0",
"SP::G0",
"SP::G0",
"0",
"SP::ADDrr",
"SP::ADDri"
] | WDC65816FrameLowering | emitEpilogue | WDC65816 | MPU | LLVM | 3,020 | 195 | 1 | [] |
[
"<s>",
"static",
"void",
"recombine_stvx_pattern",
"(",
"rtx_insn",
"*",
"insn",
",",
"del_info",
"*",
"to_delete",
")",
"{",
"rtx",
"body",
"=",
"PATTERN",
"(",
"insn",
")",
";",
"gcc_assert",
"(",
"GET_CODE",
"(",
"body",
")",
"==",
"SET",
"&&",
"GET_C... | [
"If",
"INSN",
"is",
"the",
"store",
"for",
"an",
"stvx",
"pattern",
",",
"put",
"it",
"in",
"canonical",
"form",
"."
] | [
"powerpcspe",
"0",
"0",
"0",
"0",
"1",
"\"stvx opportunity found at %d\\n\""
] | powerpcspe | recombine_stvx_pattern | powerpcspe | CPU | GCC | 3,021 | 258 | 1 | [] |
[
"<s>",
"bool",
"M88kFrameLowering",
"::",
"spillCalleeSavedRegisters",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"MBBI",
",",
"ArrayRef",
"<",
"CalleeSavedInfo",
">",
"CSI",
",",
"const",
"TargetRegisterInfo",
"*",
"TRI",
")",... | [
"spillCalleeSavedRegisters",
"-",
"Issues",
"instruction",
"(",
"s",
")",
"to",
"spill",
"all",
"callee",
"saved",
"registers",
"and",
"returns",
"true",
"if",
"it",
"is",
"n't",
"possible",
"/",
"profitable",
"to",
"do",
"so",
"by",
"issuing",
"a",
"series"... | [
"M88k",
"M88k",
"M88k::R1",
"M88k::R30"
] | M88kFrameLowering | spillCalleeSavedRegisters | M88k | MPU | LLVM | 3,022 | 164 | 1 | [] |
[
"<s>",
"bool",
"ARCAsmPrinter",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"{",
"MF",
".",
"ensureAlignment",
"(",
"Align",
"(",
"4",
")",
")",
";",
"return",
"AsmPrinter",
"::",
"runOnMachineFunction",
"(",
"MF",
")",
";",
"}",
... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"ARC",
"ARC",
"4"
] | ARCAsmPrinter4 | runOnMachineFunction | ARC | MPU | LLVM | 3,023 | 29 | 1 | [] |
[
"<s>",
"static",
"bool",
"getConstantValue",
"(",
"SDValue",
"N",
",",
"uint32_t",
"&",
"Out",
")",
"{",
"if",
"(",
"N",
".",
"isUndef",
"(",
")",
")",
"{",
"Out",
"=",
"0",
";",
"return",
"true",
";",
"}",
"if",
"(",
"const",
"ConstantSDNode",
"*"... | [
"Converts",
"a",
"Constant",
"*",
"into",
"a",
"GenericValue",
",",
"including",
"handling",
"of",
"ConstantExpr",
"values",
"."
] | [
"AMDGPU",
"0"
] | AMDGPUISelDAGToDAG106 | getConstantValue | AMDGPU | GPU | LLVM | 3,024 | 101 | 1 | [] |
[
"<s>",
"static",
"int",
"xbbo_next_reg_cluster",
"(",
"int",
"regno_start",
",",
"int",
"*",
"sp_offset",
",",
"bool",
"do_store",
")",
"{",
"int",
"regno",
",",
"nregs",
",",
"i",
";",
"rtx",
"addr",
";",
"rtx_insn",
"*",
"insn",
";",
"nregs",
"=",
"0... | [
"Helper",
"function",
"used",
"during",
"prologue/epilogue",
".",
"Emits",
"a",
"single",
"LBBO/SBBO",
"instruction",
"for",
"load/store",
"of",
"the",
"next",
"group",
"of",
"consecutive",
"registers",
"."
] | [
"pru",
"0",
"1",
"1"
] | pru | xbbo_next_reg_cluster | pru | CPU | GCC | 3,025 | 255 | 1 | [] |
[
"<s>",
"static",
"bool",
"sparc_can_eliminate",
"(",
"const",
"int",
"from",
"ATTRIBUTE_UNUSED",
",",
"const",
"int",
"to",
")",
"{",
"return",
"to",
"==",
"HARD_FRAME_POINTER_REGNUM",
"||",
"!",
"sparc_frame_pointer_required",
"(",
")",
";",
"}",
"</s>"
] | [
"The",
"way",
"this",
"is",
"structured",
",",
"we",
"ca",
"n't",
"eliminate",
"SFP",
"in",
"favor",
"of",
"SP",
"if",
"the",
"frame",
"pointer",
"is",
"required",
":",
"we",
"want",
"to",
"use",
"the",
"SFP-",
">",
"HFP",
"elimination",
"in",
"that",
... | [
"sparc"
] | sparc | sparc_can_eliminate | sparc | CPU | GCC | 3,026 | 25 | 1 | [] |
[
"<s>",
"bool",
"ARMLoadStoreOpt",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"Fn",
")",
"{",
"const",
"TargetMachine",
"&",
"TM",
"=",
"Fn",
".",
"getTarget",
"(",
")",
";",
"TL",
"=",
"TM",
".",
"getTargetLowering",
"(",
")",
";",
"AFI",
... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"ARM",
"ARM",
"ARM",
"ARM",
"ARM"
] | ARMLoadStoreOptimizer48 | runOnMachineFunction | ARM | CPU | LLVM | 3,027 | 172 | 1 | [] |
[
"<s>",
"bool",
"NVPTXTargetLowering",
"::",
"getTgtMemIntrinsic",
"(",
"IntrinsicInfo",
"&",
"Info",
",",
"const",
"CallInst",
"&",
"I",
",",
"unsigned",
"Intrinsic",
")",
"const",
"{",
"switch",
"(",
"Intrinsic",
")",
"{",
"default",
":",
"return",
"false",
... | [
"Given",
"an",
"intrinsic",
",",
"checks",
"if",
"on",
"the",
"target",
"the",
"intrinsic",
"will",
"need",
"to",
"map",
"to",
"a",
"MemIntrinsicNode",
"(",
"touches",
"memory",
")",
"."
] | [
"NVPTX",
"NVPTX",
"Intrinsic::nvvm_atomic_load_add_f32",
"ISD::INTRINSIC_W_CHAIN",
"MVT::f32",
"0",
"0",
"0",
"0",
"Intrinsic::nvvm_atomic_load_inc_32",
"Intrinsic::nvvm_atomic_load_dec_32",
"ISD::INTRINSIC_W_CHAIN",
"MVT::i32",
"0",
"0",
"0",
"0",
"Intrinsic::nvvm_ldu_global_i",
... | NVPTXISelLowering15 | getTgtMemIntrinsic | NVPTX | GPU | LLVM | 3,028 | 278 | 1 | [] |
[
"<s>",
"bool",
"M88kMCAsmBackend",
"::",
"writeNopData",
"(",
"raw_ostream",
"&",
"OS",
",",
"uint64_t",
"Count",
",",
"const",
"MCSubtargetInfo",
"*",
"STI",
")",
"const",
"{",
"if",
"(",
"(",
"Count",
"%",
"4",
")",
"!=",
"0",
")",
"return",
"false",
... | [
"Write",
"an",
"(",
"optimal",
")",
"nop",
"sequence",
"of",
"Count",
"bytes",
"to",
"the",
"given",
"output",
"."
] | [
"M88k",
"M88k",
"4",
"0",
"0",
"\"\\xf4\\x00\\x58\\x00\""
] | M88kMCAsmBackend | writeNopData | M88k | MPU | LLVM | 3,029 | 54 | 1 | [] |
[
"<s>",
"TargetPassConfig",
"*",
"ARMBaseTargetMachine",
"::",
"createPassConfig",
"(",
"PassManagerBase",
"&",
"PM",
")",
"{",
"return",
"new",
"ARMPassConfig",
"(",
"*",
"this",
",",
"PM",
")",
";",
"}",
"</s>"
] | [
"Create",
"a",
"pass",
"configuration",
"object",
"to",
"be",
"used",
"by",
"addPassToEmitX",
"methods",
"for",
"generating",
"a",
"pipeline",
"of",
"CodeGen",
"passes",
"."
] | [
"ARM",
"ARM",
"ARM"
] | ARMTargetMachine | createPassConfig | ARM | CPU | LLVM | 3,030 | 22 | 1 | [] |
[
"<s>",
"bool",
"shouldBuildLookupTables",
"(",
")",
"const",
"{",
"return",
"false",
";",
"}",
"</s>"
] | [
"Return",
"true",
"if",
"switches",
"should",
"be",
"turned",
"into",
"lookup",
"tables",
"for",
"the",
"target",
"."
] | [
"DLX"
] | DLXTargetTransformInfo | shouldBuildLookupTables | DLX | CPU | LLVM | 3,031 | 10 | 1 | [] |
[
"<s>",
"static",
"bool",
"aarch64_return_in_msb",
"(",
"const_tree",
"valtype",
")",
"{",
"machine_mode",
"dummy_mode",
";",
"int",
"dummy_int",
";",
"if",
"(",
"!",
"BYTES_BIG_ENDIAN",
")",
"return",
"false",
";",
"if",
"(",
"!",
"aarch64_composite_type_p",
"("... | [
"Return",
"TRUE",
"if",
"VALTYPE",
"is",
"padded",
"to",
"its",
"least",
"significant",
"bits",
"."
] | [
"aarch64",
"0",
"16"
] | aarch642 | aarch64_return_in_msb | aarch64 | CPU | GCC | 3,032 | 79 | 1 | [] |
[
"<s>",
"static",
"rtx_insn",
"*",
"mips_epilogue_emit_cfa_restores",
"(",
"void",
")",
"{",
"rtx_insn",
"*",
"insn",
";",
"insn",
"=",
"get_last_insn",
"(",
")",
";",
"gcc_assert",
"(",
"insn",
"&&",
"!",
"REG_NOTES",
"(",
"insn",
")",
")",
";",
"if",
"(... | [
"Attach",
"all",
"pending",
"register",
"saves",
"to",
"the",
"previous",
"instruction",
".",
"Return",
"that",
"instruction",
"."
] | [
"mips",
"1",
"0"
] | mips4 | mips_epilogue_emit_cfa_restores | mips | CPU | GCC | 3,033 | 63 | 1 | [] |
[
"<s>",
"static",
"MCSymbol",
"*",
"GetSymbolFromOperand",
"(",
"const",
"MachineOperand",
"&",
"MO",
",",
"AsmPrinter",
"&",
"AP",
")",
"{",
"const",
"TargetMachine",
"&",
"TM",
"=",
"AP",
".",
"TM",
";",
"Mangler",
"&",
"Mang",
"=",
"TM",
".",
"getObjFi... | [
"Lower",
"an",
"MO_GlobalAddress",
"or",
"MO_ExternalSymbol",
"operand",
"to",
"an",
"MCSymbol",
"."
] | [
"PowerPC",
"128",
"PPCII::MO_NLP_FLAG",
"\"$non_lazy_ptr\"",
"\"Isn't a symbol reference\"",
"PPCII::MO_NLP_FLAG",
"\"Extern symbol not handled yet\""
] | PPCMCInstLower (2)1 | GetSymbolFromOperand | PowerPC | CPU | LLVM | 3,034 | 270 | 1 | [] |
[
"<s>",
"bool",
"ARMTargetLowering",
"::",
"isLegalICmpImmediate",
"(",
"int64_t",
"Imm",
")",
"const",
"{",
"if",
"(",
"!",
"Subtarget",
"->",
"isThumb",
"(",
")",
")",
"return",
"ARM_AM",
"::",
"getSOImmVal",
"(",
"(",
"uint32_t",
")",
"Imm",
")",
"!=",
... | [
"Return",
"true",
"if",
"the",
"specified",
"immediate",
"is",
"legal",
"icmp",
"immediate",
",",
"that",
"is",
"the",
"target",
"has",
"icmp",
"instructions",
"which",
"can",
"compare",
"a",
"register",
"against",
"the",
"immediate",
"without",
"having",
"to"... | [
"ARM",
"ARM",
"ARM_AM::getSOImmVal",
"1",
"ARM_AM::getSOImmVal",
"1",
"ARM_AM::getT2SOImmVal",
"1",
"ARM_AM::getT2SOImmVal",
"1",
"0",
"255"
] | ARMISelLowering (2)5 | isLegalICmpImmediate | ARM | CPU | LLVM | 3,035 | 93 | 1 | [] |
[
"<s>",
"rtx",
"mmix_return_addr_rtx",
"(",
"int",
"count",
",",
"rtx",
"frame",
"ATTRIBUTE_UNUSED",
")",
"{",
"return",
"count",
"==",
"0",
"?",
"(",
"MMIX_CFUN_NEEDS_SAVED_EH_RETURN_ADDRESS",
"?",
"validize_mem",
"(",
"gen_rtx_MEM",
"(",
"Pmode",
",",
"plus_const... | [
"RETURN_ADDR_RTX",
"."
] | [
"mmix",
"0",
"16"
] | mmix3 | mmix_return_addr_rtx | mmix | CPU | GCC | 3,036 | 46 | 1 | [] |
[
"<s>",
"BitVector",
"mprocRegisterInfo",
"::",
"getReservedRegs",
"(",
"const",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"BitVector",
"Reserved",
"(",
"getNumRegs",
"(",
")",
")",
";",
"return",
"Reserved",
";",
"}",
"</s>"
] | [
"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",
"... | [
"mproc",
"mproc"
] | mprocRegisterInfo | getReservedRegs | mproc | Virtual ISA | LLVM | 3,037 | 24 | 1 | [] |
[
"<s>",
"inline",
"hashval_t",
"bundle_state_hasher",
"::",
"hash",
"(",
"const",
"bundle_state",
"*",
"state",
")",
"{",
"unsigned",
"result",
",",
"i",
";",
"for",
"(",
"result",
"=",
"i",
"=",
"0",
";",
"i",
"<",
"dfa_state_size",
";",
"i",
"++",
")"... | [
"Hash",
"function",
"for",
"builtin",
"functions",
"with",
"up",
"to",
"3",
"arguments",
"and",
"a",
"return",
"type",
"."
] | [
"ia64",
"0",
"3"
] | ia64 | hash | ia64 | CPU | GCC | 3,038 | 70 | 1 | [] |
[
"<s>",
"void",
"ARMConstantPoolMBB",
"::",
"print",
"(",
"raw_ostream",
"&",
"O",
")",
"const",
"{",
"O",
"<<",
"printMBBReference",
"(",
"*",
"MBB",
")",
";",
"ARMConstantPoolValue",
"::",
"print",
"(",
"O",
")",
";",
"}",
"</s>"
] | [
"print",
"-",
"Print",
"a",
"debug",
"representation",
"of",
"the",
"operand",
"to",
"the",
"given",
"stream",
"."
] | [
"ARM",
"ARM",
"ARM"
] | ARMConstantPoolValue1 | print | ARM | CPU | LLVM | 3,039 | 27 | 1 | [] |
[
"<s>",
"bool",
"AArch64FrameLowering",
"::",
"spillCalleeSavedRegisters",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"MI",
",",
"const",
"std",
"::",
"vector",
"<",
"CalleeSavedInfo",
">",
"&",
"CSI",
",",
"const",
"TargetReg... | [
"spillCalleeSavedRegisters",
"-",
"Issues",
"instruction",
"(",
"s",
")",
"to",
"spill",
"all",
"callee",
"saved",
"registers",
"and",
"returns",
"true",
"if",
"it",
"is",
"n't",
"possible",
"/",
"profitable",
"to",
"do",
"so",
"by",
"issuing",
"a",
"series"... | [
"AArch64",
"AArch64",
"8",
"AArch64::STRXpost",
"AArch64::X18",
"AArch64::LR",
"AArch64::X18",
"8",
"AArch64::X18",
"AArch64::STPXi",
"AArch64::STRXui",
"AArch64::STPDi",
"AArch64::STRDui",
"\"CSR spill: (\"",
"\", \"",
"\") -> fi#(\"",
"\", \"",
"1",
"\")\\n\"",
"1",
"8",
... | AArch64FrameLowering13 | spillCalleeSavedRegisters | AArch64 | CPU | LLVM | 3,040 | 507 | 1 | [] |
[
"<s>",
"SDValue",
"AArch64TargetLowering",
"::",
"LowerReturn",
"(",
"SDValue",
"Chain",
",",
"CallingConv",
"::",
"ID",
"CallConv",
",",
"bool",
"isVarArg",
",",
"const",
"SmallVectorImpl",
"<",
"ISD",
"::",
"OutputArg",
">",
"&",
"Outs",
",",
"const",
"Small... | [
"This",
"hook",
"must",
"be",
"implemented",
"to",
"lower",
"outgoing",
"return",
"values",
",",
"described",
"by",
"the",
"Outs",
"array",
",",
"into",
"the",
"specified",
"DAG",
"."
] | [
"AArch64",
"AArch64",
"ISD::OutputArg",
"16",
"4",
"1",
"0",
"\"Only register-returns should be created by PCS\"",
"\"Unknown loc info\"",
"ISD::ANY_EXTEND",
"ISD::BITCAST",
"1",
"0",
"AArch64ISD::Ret",
"MVT::Other",
"0"
] | AArch64ISelLowering113 | LowerReturn | AArch64 | CPU | LLVM | 3,041 | 351 | 1 | [] |
[
"<s>",
"const",
"CallLowering",
"*",
"getCallLowering",
"(",
")",
"const",
"override",
"{",
"return",
"CL",
".",
"get",
"(",
")",
";",
"}",
"</s>"
] | [
"Methods",
"used",
"by",
"Global",
"ISel",
"."
] | [
"X86"
] | X86TargetMachine45 | getCallLowering | X86 | CPU | LLVM | 3,042 | 17 | 1 | [] |
[
"<s>",
"bool",
"X86CondBrFolding",
"::",
"analyzeCompare",
"(",
"const",
"MachineInstr",
"&",
"MI",
",",
"unsigned",
"&",
"SrcReg",
",",
"int",
"&",
"CmpValue",
")",
"{",
"unsigned",
"SrcRegIndex",
"=",
"0",
";",
"unsigned",
"ValueIndex",
"=",
"0",
";",
"s... | [
"analyzeCompare",
"-",
"For",
"a",
"comparison",
"instruction",
",",
"return",
"the",
"source",
"registers",
"in",
"SrcReg",
"and",
"SrcReg2",
"if",
"having",
"two",
"register",
"operands",
",",
"and",
"the",
"value",
"it",
"compares",
"against",
"in",
"CmpVal... | [
"X86",
"X86",
"0",
"0",
"X86::CMP64ri32",
"X86::CMP64ri8",
"X86::CMP32ri",
"X86::CMP32ri8",
"X86::CMP16ri",
"X86::CMP16ri8",
"X86::CMP8ri",
"0",
"1",
"X86::SUB64ri32",
"X86::SUB64ri8",
"X86::SUB32ri",
"X86::SUB32ri8",
"X86::SUB16ri",
"X86::SUB16ri8",
"X86::SUB8ri",
"1",
"2"... | X86CondBrFolding | analyzeCompare | X86 | CPU | LLVM | 3,043 | 181 | 1 | [] |
[
"<s>",
"static",
"rtx",
"mips_call_expr_from_insn",
"(",
"rtx_insn",
"*",
"insn",
",",
"rtx",
"*",
"second_call",
")",
"{",
"rtx",
"x",
";",
"rtx",
"x2",
";",
"if",
"(",
"!",
"CALL_P",
"(",
"insn",
")",
")",
"return",
"NULL_RTX",
";",
"x",
"=",
"PATT... | [
"If",
"INSN",
"is",
"a",
"call",
",",
"return",
"the",
"underlying",
"CALL",
"expr",
".",
"Return",
"NULL_RTX",
"otherwise",
".",
"If",
"INSN",
"has",
"two",
"call",
"rtx",
",",
"then",
"store",
"the",
"second",
"one",
"in",
"SECOND_CALL",
"."
] | [
"mips",
"0",
"1",
"1",
"0",
"0",
"1"
] | mips | mips_call_expr_from_insn | mips | CPU | GCC | 3,044 | 134 | 1 | [] |
[
"<s>",
"StringRef",
"getPassName",
"(",
")",
"const",
"override",
"{",
"return",
"\"R600 OpenCL Image Type Pass\"",
";",
"}",
"</s>"
] | [
"getPassName",
"-",
"Return",
"a",
"nice",
"clean",
"name",
"for",
"a",
"pass",
"."
] | [
"AMDGPU",
"\"R600 OpenCL Image Type Pass\""
] | R600OpenCLImageTypeLoweringPass | getPassName | AMDGPU | GPU | LLVM | 3,045 | 11 | 1 | [] |
[
"<s>",
"int",
"arm_const_double_rtx",
"(",
"rtx",
"x",
")",
"{",
"REAL_VALUE_TYPE",
"r",
";",
"if",
"(",
"!",
"fp_consts_inited",
")",
"init_fp_table",
"(",
")",
";",
"REAL_VALUE_FROM_CONST_DOUBLE",
"(",
"r",
",",
"x",
")",
";",
"if",
"(",
"REAL_VALUE_MINUS_... | [
"Return",
"TRUE",
"if",
"rtx",
"X",
"is",
"a",
"valid",
"immediate",
"FP",
"constant",
"."
] | [
"arm",
"0",
"1",
"0"
] | arm4 | arm_const_double_rtx | arm | CPU | GCC | 3,046 | 52 | 1 | [] |
[
"<s>",
"bool",
"SIPreEmitPeephole",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"{",
"const",
"GCNSubtarget",
"&",
"ST",
"=",
"MF",
".",
"getSubtarget",
"<",
"GCNSubtarget",
">",
"(",
")",
";",
"TII",
"=",
"ST",
".",
"getInstrInfo",... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"AMDGPU",
"SI",
"AMDGPU::S_CBRANCH_VCCZ",
"AMDGPU::S_CBRANCH_VCCNZ",
"AMDGPU::SI_RETURN_TO_EPILOG",
"SI",
"AMDGPU::S_BRANCH",
"20",
"0",
"AMDGPU::S_SET_GPR_IDX_ON",
"0"
] | SIPreEmitPeephole2 | runOnMachineFunction | AMDGPU | GPU | LLVM | 3,047 | 378 | 1 | [] |
[
"<s>",
"static",
"bool",
"avr_return_in_memory",
"(",
"const_tree",
"type",
",",
"const_tree",
"fntype",
"ATTRIBUTE_UNUSED",
")",
"{",
"HOST_WIDE_INT",
"size",
"=",
"int_size_in_bytes",
"(",
"type",
")",
";",
"HOST_WIDE_INT",
"ret_size_limit",
"=",
"AVR_TINY",
"?",
... | [
"Worker",
"function",
"for",
"TARGET_RETURN_IN_MEMORY",
"."
] | [
"avr",
"4",
"8",
"1"
] | avr | avr_return_in_memory | avr | MPU | GCC | 3,048 | 52 | 1 | [] |
[
"<s>",
"void",
"UPTInstrInfo",
"::",
"storeRegToStackSlot",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"MI",
",",
"unsigned",
"SrcReg",
",",
"bool",
"isKill",
",",
"int",
"FrameIndex",
",",
"const",
"TargetRegisterClass",
"*"... | [
"Store",
"the",
"specified",
"register",
"of",
"the",
"given",
"register",
"class",
"to",
"the",
"specified",
"stack",
"frame",
"index",
"."
] | [
"UPT",
"UPT",
"UPT::STR",
"0"
] | UPTInstrInfo | storeRegToStackSlot | UPT | CPU | LLVM | 3,049 | 76 | 1 | [] |
[
"<s>",
"MCSection",
"*",
"XtensaTargetObjectFile",
"::",
"getSectionForConstant",
"(",
"const",
"DataLayout",
"&",
"DL",
",",
"SectionKind",
"Kind",
",",
"const",
"Constant",
"*",
"C",
",",
"unsigned",
"&",
"Align",
")",
"const",
"{",
"assert",
"(",
"false",
... | [
"Given",
"a",
"constant",
"with",
"the",
"SectionKind",
",",
"return",
"a",
"section",
"that",
"it",
"should",
"be",
"placed",
"in",
"."
] | [
"Xtensa",
"Xtensa",
"\"XtensaTargetObjectFile::getSectionForConstant\"",
"\" not implemented\"",
"0"
] | XtensaTargetObjectFile | getSectionForConstant | Xtensa | MPU | LLVM | 3,050 | 37 | 1 | [] |
[
"<s>",
"static",
"void",
"nvptx_option_override",
"(",
"void",
")",
"{",
"init_machine_status",
"=",
"nvptx_init_machine_status",
";",
"flag_toplevel_reorder",
"=",
"1",
";",
"flag_var_tracking",
"=",
"0",
";",
"if",
"(",
"nvptx_optimize",
"<",
"0",
")",
"nvptx_op... | [
"Implement",
"TARGET_OPTION_OVERRIDE",
"."
] | [
"nvptx",
"1",
"0",
"0",
"0",
"17",
"17",
"17",
"\"__worker_bcast\"",
"\"__worker_red\""
] | nvptx3 | nvptx_option_override | nvptx | GPU | GCC | 3,051 | 118 | 1 | [] |
[
"<s>",
"static",
"bool",
"rs6000_vector_alignment_reachable",
"(",
"const_tree",
"type",
"ATTRIBUTE_UNUSED",
",",
"bool",
"is_packed",
")",
"{",
"if",
"(",
"is_packed",
")",
"return",
"false",
";",
"if",
"(",
"TARGET_32BIT",
")",
"{",
"if",
"(",
"rs6000_alignmen... | [
"Return",
"true",
"iff",
",",
"data",
"reference",
"of",
"TYPE",
"can",
"reach",
"vector",
"alignment",
"(",
"16",
")",
"after",
"applying",
"N",
"number",
"of",
"iterations",
".",
"This",
"routine",
"does",
"not",
"determine",
"how",
"may",
"iterations",
... | [
"powerpcspe"
] | powerpcspe | rs6000_vector_alignment_reachable | powerpcspe | CPU | GCC | 3,052 | 60 | 1 | [] |
[
"<s>",
"void",
"BPFDAGToDAGISel",
"::",
"PreprocessISelDAG",
"(",
")",
"{",
"for",
"(",
"SelectionDAG",
"::",
"allnodes_iterator",
"I",
"=",
"CurDAG",
"->",
"allnodes_begin",
"(",
")",
",",
"E",
"=",
"CurDAG",
"->",
"allnodes_end",
"(",
")",
";",
"I",
"!="... | [
"PreprocessISelDAG",
"-",
"This",
"hook",
"allows",
"targets",
"to",
"hack",
"on",
"the",
"graph",
"before",
"instruction",
"selection",
"starts",
"."
] | [
"BPF",
"BPF",
"ISD::LOAD",
"ISD::AND"
] | BPFISelDAGToDAG10 | PreprocessISelDAG | BPF | Virtual ISA | LLVM | 3,053 | 85 | 1 | [] |
[
"<s>",
"bool",
"SIOptimizeVGPRLiveRange",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"{",
"const",
"GCNSubtarget",
"&",
"ST",
"=",
"MF",
".",
"getSubtarget",
"<",
"GCNSubtarget",
">",
"(",
")",
";",
"TII",
"=",
"ST",
".",
"getInstr... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"AMDGPU",
"SI",
"AMDGPU::SI_IF",
"2",
"16",
"\"Checking IF-ELSE-ENDIF: \"",
"AMDGPU::SI_WATERFALL_LOOP",
"\"Checking Waterfall loop: \"",
"16"
] | SIOptimizeVGPRLiveRange1 | runOnMachineFunction | AMDGPU | GPU | LLVM | 3,054 | 343 | 1 | [] |
[
"<s>",
"unsigned",
"postOffset",
"(",
")",
"const",
"{",
"return",
"Offset",
"+",
"Size",
";",
"}",
"</s>"
] | [
"Compute",
"the",
"offset",
"immediately",
"following",
"this",
"block",
"."
] | [
"CSKY"
] | CSKYConstantIslandPass | postOffset | CSKY | CPU | LLVM | 3,055 | 12 | 1 | [] |
[
"<s>",
"unsigned",
"X86TargetLowering",
"::",
"getByValTypeAlignment",
"(",
"const",
"Type",
"*",
"Ty",
")",
"const",
"{",
"if",
"(",
"Subtarget",
"->",
"is64Bit",
"(",
")",
")",
"{",
"unsigned",
"TyAlign",
"=",
"TD",
"->",
"getABITypeAlignment",
"(",
"Ty",
... | [
"Return",
"the",
"desired",
"alignment",
"for",
"ByVal",
"aggregate",
"function",
"arguments",
"in",
"the",
"caller",
"parameter",
"area",
"."
] | [
"X86",
"X86",
"8",
"8",
"4"
] | X86ISelLowering170 | getByValTypeAlignment | X86 | CPU | LLVM | 3,056 | 68 | 1 | [] |
[
"<s>",
"static",
"unsigned",
"int",
"ix86_minimum_incoming_stack_boundary",
"(",
"bool",
"sibcall",
")",
"{",
"unsigned",
"int",
"incoming_stack_boundary",
";",
"if",
"(",
"ix86_user_incoming_stack_boundary",
")",
"incoming_stack_boundary",
"=",
"ix86_user_incoming_stack_boun... | [
"Return",
"minimum",
"incoming",
"stack",
"alignment",
"."
] | [
"i386",
"128"
] | i3864 | ix86_minimum_incoming_stack_boundary | i386 | CPU | GCC | 3,057 | 116 | 1 | [] |
[
"<s>",
"std",
"::",
"pair",
"<",
"unsigned",
",",
"const",
"TargetRegisterClass",
"*",
">",
"PPCTargetLowering",
"::",
"getRegForInlineAsmConstraint",
"(",
"const",
"std",
"::",
"string",
"&",
"Constraint",
",",
"MVT",
"VT",
")",
"const",
"{",
"if",
"(",
"Co... | [
"Given",
"a",
"physical",
"register",
"constraint",
"(",
"e.g",
"."
] | [
"PowerPC",
"PPC",
"1",
"0",
"MVT::i64",
"PPC",
"PPC",
"0U",
"PPC::G8RCRegisterClass",
"0U",
"PPC::GPRCRegisterClass",
"MVT::f32",
"0U",
"PPC::F4RCRegisterClass",
"MVT::f64",
"0U",
"PPC::F8RCRegisterClass",
"0U",
"PPC::VRRCRegisterClass",
"0U",
"PPC::CRRCRegisterClass"
] | PPCISelLowering123 | getRegForInlineAsmConstraint | PowerPC | CPU | LLVM | 3,058 | 178 | 1 | [] |
[
"<s>",
"bool",
"SparcAsmPrinter",
"::",
"PrintAsmMemoryOperand",
"(",
"const",
"MachineInstr",
"*",
"MI",
",",
"unsigned",
"OpNo",
",",
"const",
"char",
"*",
"ExtraCode",
",",
"raw_ostream",
"&",
"O",
")",
"{",
"if",
"(",
"ExtraCode",
"&&",
"ExtraCode",
"[",... | [
"Print",
"the",
"specified",
"operand",
"of",
"MI",
",",
"an",
"INLINEASM",
"instruction",
",",
"using",
"the",
"specified",
"assembler",
"variant",
"as",
"an",
"address",
"."
] | [
"Sparc",
"Sparc",
"0"
] | SparcAsmPrinter17 | PrintAsmMemoryOperand | Sparc | CPU | LLVM | 3,059 | 56 | 1 | [] |
[
"<s>",
"static",
"rtx",
"legitimize_pe_coff_symbol",
"(",
"rtx",
"addr",
",",
"bool",
"inreg",
")",
"{",
"if",
"(",
"!",
"TARGET_PECOFF",
")",
"return",
"NULL_RTX",
";",
"if",
"(",
"TARGET_DLLIMPORT_DECL_ATTRIBUTES",
")",
"{",
"if",
"(",
"GET_CODE",
"(",
"ad... | [
"Expand",
"SYMBOL",
"into",
"its",
"corresponding",
"dllimport",
"or",
"refptr",
"symbol",
".",
"WANT_REG",
"is",
"true",
"if",
"we",
"require",
"the",
"result",
"be",
"a",
"register",
"."
] | [
"i386",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"1",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"1"
] | i3864 | legitimize_pe_coff_symbol | i386 | CPU | GCC | 3,060 | 318 | 1 | [] |
[
"<s>",
"static",
"bool",
"is_cracked_insn",
"(",
"rtx_insn",
"*",
"insn",
")",
"{",
"if",
"(",
"!",
"insn",
"||",
"!",
"NONDEBUG_INSN_P",
"(",
"insn",
")",
"||",
"GET_CODE",
"(",
"PATTERN",
"(",
"insn",
")",
")",
"==",
"USE",
"||",
"GET_CODE",
"(",
"... | [
"The",
"function",
"returns",
"true",
"if",
"INSN",
"is",
"cracked",
"into",
"2",
"instructions",
"by",
"the",
"processor",
"(",
"and",
"therefore",
"occupies",
"2",
"issue",
"slots",
")",
"."
] | [
"rs6000"
] | rs6000 | is_cracked_insn | rs6000 | CPU | GCC | 3,061 | 239 | 1 | [] |
[
"<s>",
"static",
"void",
"arc_output_mi_thunk",
"(",
"FILE",
"*",
"file",
",",
"tree",
"thunk",
"ATTRIBUTE_UNUSED",
",",
"HOST_WIDE_INT",
"delta",
",",
"HOST_WIDE_INT",
"vcall_offset",
",",
"tree",
"function",
")",
"{",
"int",
"mi_delta",
"=",
"delta",
";",
"c... | [
"Output",
"code",
"to",
"add",
"DELTA",
"to",
"the",
"first",
"argument",
",",
"and",
"then",
"jump",
"to",
"FUNCTION",
".",
"Used",
"for",
"C++",
"multiple",
"inheritance",
"."
] | [
"arc",
"0",
"\"sub\"",
"\"add\"",
"0",
"1",
"0",
"0",
"0",
"3",
"0",
"2",
"\"\\t%s\\t%s, %s, %d\\n\"",
"0xff",
"0xff",
"8",
"0",
"\"\\tld\\t%s, [%s]\\n\"",
"\"\\tadd\\t%s, %s, \"",
"\"\\n\"",
"\"\\tld\\t%s, [%s]\\n\"",
"\"\\tadd\\t%s, %s, %s\\n\"",
"0",
"\"\\tld\\t%s, [... | arc7 | arc_output_mi_thunk | arc | MPU | GCC | 3,062 | 343 | 1 | [] |
[
"<s>",
"void",
"OpenRISCInstrInfo",
"::",
"copyPhysReg",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"I",
",",
"DebugLoc",
"DL",
",",
"unsigned",
"DestReg",
",",
"unsigned",
"SrcReg",
",",
"bool",
"KillSrc",
")",
"const",
... | [
"}",
"Branch",
"Analysis",
"&",
"Modification"
] | [
"OpenRISC",
"OpenRISC",
"OpenRISC::GR32RegClass",
"OpenRISC::OR32rr",
"\"Impossible reg-to-reg copy\""
] | OpenRISCInstrInfo | copyPhysReg | OpenRISC | CPU | LLVM | 3,063 | 93 | 1 | [] |
[
"<s>",
"void",
"tilegx_post_atomic_barrier",
"(",
"enum",
"memmodel",
"model",
")",
"{",
"if",
"(",
"need_atomic_barrier_p",
"(",
"model",
",",
"false",
")",
")",
"emit_insn",
"(",
"gen_memory_barrier",
"(",
")",
")",
";",
"}",
"</s>"
] | [
"Emit",
"barrier",
"after",
"an",
"atomic",
",",
"as",
"needed",
"for",
"the",
"memory",
"MODEL",
"."
] | [
"tilegx"
] | tilegx | tilegx_post_atomic_barrier | tilegx | VLIW | GCC | 3,064 | 25 | 1 | [] |
[
"<s>",
"static",
"rtx",
"strip_salt",
"(",
"rtx",
"x",
")",
"{",
"rtx",
"search",
"=",
"x",
";",
"if",
"(",
"GET_CODE",
"(",
"search",
")",
"==",
"CONST",
")",
"search",
"=",
"XEXP",
"(",
"search",
",",
"0",
")",
";",
"if",
"(",
"GET_CODE",
"(",
... | [
"If",
"X",
"is",
"an",
"UNSPEC_SALT_ADDR",
"expression",
",",
"return",
"the",
"address",
"that",
"it",
"wraps",
",",
"otherwise",
"return",
"X",
"itself",
"."
] | [
"aarch64",
"0",
"1",
"0",
"0"
] | aarch641 | strip_salt | aarch64 | CPU | GCC | 3,065 | 64 | 1 | [] |
[
"<s>",
"virtual",
"void",
"getAnalysisUsage",
"(",
"AnalysisUsage",
"&",
"AU",
")",
"const",
"override",
"{",
"AU",
".",
"setPreservesCFG",
"(",
")",
";",
"MachineFunctionPass",
"::",
"getAnalysisUsage",
"(",
"AU",
")",
";",
"}",
"</s>"
] | [
"getAnalysisUsage",
"-",
"Subclasses",
"that",
"override",
"getAnalysisUsage",
"must",
"call",
"this",
"."
] | [
"ARM64"
] | ARM64DeadRegisterDefinitionsPass1 | getAnalysisUsage | ARM64 | CPU | LLVM | 3,066 | 25 | 1 | [] |
[
"<s>",
"bool",
"PPCTargetLowering",
"::",
"getPreIndexedAddressParts",
"(",
"SDNode",
"*",
"N",
",",
"SDValue",
"&",
"Base",
",",
"SDValue",
"&",
"Offset",
",",
"ISD",
"::",
"MemIndexedMode",
"&",
"AM",
",",
"SelectionDAG",
"&",
"DAG",
")",
"const",
"{",
"... | [
"Returns",
"true",
"by",
"value",
",",
"base",
"pointer",
"and",
"offset",
"pointer",
"and",
"addressing",
"mode",
"by",
"reference",
"if",
"the",
"node",
"'s",
"address",
"can",
"be",
"legally",
"represented",
"as",
"pre-indexed",
"load",
"/",
"store",
"add... | [
"PowerPC",
"PPC",
"ISD::MemIndexedMode",
"PPC",
"MVT::v4f64",
"MVT::v4f32",
"ISD::PRE_INC",
"ISD::PRE_INC",
"MVT::i64",
"0",
"4",
"4",
"0",
"MVT::i64",
"MVT::i32",
"ISD::SEXTLOAD",
"ISD::PRE_INC"
] | PPCISelLowering (2)7 | getPreIndexedAddressParts | PowerPC | CPU | LLVM | 3,067 | 458 | 1 | [] |
[
"<s>",
"void",
"s390_cpu_cpp_builtins",
"(",
"cpp_reader",
"*",
"pfile",
")",
"{",
"struct",
"cl_target_option",
"opts",
";",
"cpp_assert",
"(",
"pfile",
",",
"\"cpu=s390\"",
")",
";",
"cpp_assert",
"(",
"pfile",
",",
"\"machine=s390\"",
")",
";",
"cpp_define",
... | [
"Define",
"platform",
"dependent",
"macros",
"."
] | [
"s390",
"\"cpu=s390\"",
"\"machine=s390\"",
"\"__s390__\"",
"\"__zarch__\"",
"\"__s390x__\"",
"\"__LONG_DOUBLE_128__\""
] | s390-c | s390_cpu_cpp_builtins | s390 | MPU | GCC | 3,068 | 89 | 1 | [] |
[
"<s>",
"const",
"char",
"*",
"getClearCacheBuiltinName",
"(",
")",
"const",
"override",
"{",
"report_fatal_error",
"(",
"\"llvm.clear_cache is not supported on wasm\"",
")",
";",
"}",
"</s>"
] | [
"Intel",
"processors",
"have",
"a",
"unified",
"instruction",
"and",
"data",
"cache",
"."
] | [
"WebAssembly",
"\"llvm.clear_cache is not supported on wasm\""
] | WebAssemblyISelLowering12 | getClearCacheBuiltinName | WebAssembly | Virtual ISA | LLVM | 3,069 | 15 | 1 | [] |
[
"<s>",
"virtual",
"const",
"char",
"*",
"getPassName",
"(",
")",
"const",
"{",
"return",
"\"optimise barriers pass\"",
";",
"}",
"</s>"
] | [
"getPassName",
"-",
"Return",
"a",
"nice",
"clean",
"name",
"for",
"a",
"pass",
"."
] | [
"ARM",
"\"optimise barriers pass\""
] | ARMOptimizeBarriersPass7 | getPassName | ARM | CPU | LLVM | 3,070 | 13 | 1 | [] |
[
"<s>",
"SDValue",
"BlackfinTargetLowering",
"::",
"LowerReturn",
"(",
"SDValue",
"Chain",
",",
"unsigned",
"CallConv",
",",
"bool",
"isVarArg",
",",
"const",
"SmallVectorImpl",
"<",
"ISD",
"::",
"OutputArg",
">",
"&",
"Outs",
",",
"DebugLoc",
"dl",
",",
"Selec... | [
"This",
"hook",
"must",
"be",
"implemented",
"to",
"lower",
"outgoing",
"return",
"values",
",",
"described",
"by",
"the",
"Outs",
"array",
",",
"into",
"the",
"specified",
"DAG",
"."
] | [
"Blackfin",
"ISD::OutputArg",
"16",
"0",
"0",
"\"Can only return in registers!\"",
"\"Unknown loc info!\"",
"ISD::SIGN_EXTEND",
"ISD::ZERO_EXTEND",
"ISD::ANY_EXTEND",
"1",
"BFISD::RET_FLAG",
"MVT::Other",
"BFISD::RET_FLAG",
"MVT::Other"
] | BlackfinISelLowering4 | LowerReturn | Blackfin | DSP | LLVM | 3,071 | 375 | 1 | [] |
[
"<s>",
"void",
"AVRInstrInfo",
"::",
"loadRegFromStackSlot",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"MI",
",",
"unsigned",
"DestReg",
",",
"int",
"FrameIndex",
",",
"const",
"TargetRegisterClass",
"*",
"RC",
",",
"const",... | [
"Load",
"the",
"specified",
"register",
"of",
"the",
"given",
"register",
"class",
"from",
"the",
"specified",
"stack",
"frame",
"index",
"."
] | [
"AVR",
"AVR",
"0",
"MVT::i8",
"AVR::LDDRdPtrQ",
"MVT::i16",
"AVR::LDDWRdYQ",
"\"Cannot load this register from a stack slot!\"",
"0"
] | AVRInstrInfo12 | loadRegFromStackSlot | AVR | MPU | LLVM | 3,072 | 203 | 1 | [] |
[
"<s>",
"const",
"X86Subtarget",
"*",
"X86TargetMachine",
"::",
"getSubtargetImpl",
"(",
"const",
"Function",
"&",
"F",
")",
"const",
"{",
"Attribute",
"CPUAttr",
"=",
"F",
".",
"getFnAttribute",
"(",
"\"target-cpu\"",
")",
";",
"Attribute",
"FSAttr",
"=",
"F",... | [
"Virtual",
"method",
"implemented",
"by",
"subclasses",
"that",
"returns",
"a",
"reference",
"to",
"that",
"target",
"'s",
"TargetSubtargetInfo-derived",
"member",
"variable",
"."
] | [
"X86",
"X86",
"X86",
"\"target-cpu\"",
"\"target-features\"",
"512",
"\"use-soft-float\"",
"\"true\"",
"\"+soft-float\"",
"\",+soft-float\"",
"0",
"\"prefer-vector-width\"",
"\"prefer-vector-width\"",
"0",
"\",prefer-vector-width=\"",
"\"min-legal-vector-width\"",
"\"min-legal-vector... | X86TargetMachine123 | getSubtargetImpl | X86 | CPU | LLVM | 3,073 | 343 | 1 | [] |
[
"<s>",
"virtual",
"const",
"char",
"*",
"getPassName",
"(",
")",
"const",
"{",
"return",
"\"LC3b Assembly Printer\"",
";",
"}",
"</s>"
] | [
"getPassName",
"-",
"Return",
"a",
"nice",
"clean",
"name",
"for",
"a",
"pass",
"."
] | [
"LC3b",
"\"LC3b Assembly Printer\""
] | LC3bAsmPrinter | getPassName | LC3b | CPU | LLVM | 3,074 | 13 | 1 | [] |
[
"<s>",
"static",
"void",
"avoid_func_arg_motion",
"(",
"rtx_insn",
"*",
"first_arg",
",",
"rtx_insn",
"*",
"insn",
")",
"{",
"rtx",
"set",
";",
"rtx",
"tmp",
";",
"set",
"=",
"single_set",
"(",
"insn",
")",
";",
"if",
"(",
"!",
"set",
")",
"return",
... | [
"Add",
"output",
"or",
"anti",
"dependency",
"from",
"insn",
"to",
"first_arg",
"to",
"restrict",
"its",
"code",
"motion",
"."
] | [
"i386"
] | i386 | avoid_func_arg_motion | i386 | CPU | GCC | 3,075 | 70 | 1 | [] |
[
"<s>",
"static",
"void",
"frv_split_iacc_move",
"(",
"rtx",
"dest",
",",
"rtx",
"src",
")",
"{",
"machine_mode",
"inner",
";",
"int",
"i",
";",
"inner",
"=",
"GET_MODE",
"(",
"dest",
")",
";",
"for",
"(",
"i",
"=",
"0",
";",
"i",
"<",
"GET_MODE_SIZE"... | [
"Emit",
"a",
"move",
"from",
"SRC",
"to",
"DEST",
"in",
"SImode",
"chunks",
".",
"This",
"can",
"be",
"used",
"to",
"move",
"DImode",
"values",
"into",
"and",
"out",
"of",
"IACC0",
"."
] | [
"frv",
"0"
] | frv | frv_split_iacc_move | frv | VLIW | GCC | 3,076 | 70 | 1 | [] |
[
"<s>",
"static",
"bool",
"arc_in_small_data_p",
"(",
"const_tree",
"decl",
")",
"{",
"HOST_WIDE_INT",
"size",
";",
"tree",
"attr",
";",
"if",
"(",
"TREE_CODE",
"(",
"decl",
")",
"!=",
"VAR_DECL",
")",
"return",
"false",
";",
"if",
"(",
"TARGET_NO_SDATA_SET",... | [
"Implement",
"TARGET_IN_SMALL_DATA_P",
".",
"Return",
"true",
"if",
"it",
"would",
"be",
"safe",
"to",
"access",
"DECL",
"using",
"%",
"gp_rel",
"(",
"...",
")",
"(",
"$",
"gp",
")",
"."
] | [
"arc",
"\"uncached\"",
"\"aux\"",
"0",
"\".sdata\"",
"0",
"\".sbss\"",
"0",
"0"
] | arc | arc_in_small_data_p | arc | MPU | GCC | 3,077 | 186 | 1 | [] |
[
"<s>",
"bool",
"LEGRegisterInfo",
"::",
"trackLivenessAfterRegAlloc",
"(",
"const",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"return",
"true",
";",
"}",
"</s>"
] | [
"Returns",
"true",
"if",
"the",
"live-ins",
"should",
"be",
"tracked",
"after",
"register",
"allocation",
"."
] | [
"LEG",
"LEG"
] | LEGRegisterInfo | trackLivenessAfterRegAlloc | LEG | CPU | LLVM | 3,078 | 16 | 1 | [] |
[
"<s>",
"static",
"rtx",
"ix86_expand_unop_vec_merge_builtin",
"(",
"enum",
"insn_code",
"icode",
",",
"tree",
"exp",
",",
"rtx",
"target",
")",
"{",
"rtx",
"pat",
";",
"tree",
"arg0",
"=",
"CALL_EXPR_ARG",
"(",
"exp",
",",
"0",
")",
";",
"rtx",
"op1",
",... | [
"Subroutine",
"of",
"ix86_expand_args_builtin",
"to",
"take",
"care",
"of",
"scalar",
"unop",
"insns",
"with",
"vec_merge",
"."
] | [
"i386",
"0",
"0",
"1",
"0",
"1",
"2",
"0"
] | i386-expand | ix86_expand_unop_vec_merge_builtin | i386 | CPU | GCC | 3,079 | 228 | 1 | [] |
[
"<s>",
"const",
"char",
"*",
"output_64bit_and",
"(",
"rtx",
"*",
"operands",
")",
"{",
"if",
"(",
"GET_CODE",
"(",
"operands",
"[",
"2",
"]",
")",
"==",
"CONST_INT",
"&&",
"INTVAL",
"(",
"operands",
"[",
"2",
"]",
")",
"!=",
"0",
")",
"{",
"unsign... | [
"Return",
"a",
"string",
"to",
"perform",
"a",
"bitwise-and",
"of",
"operands",
"[",
"1",
"]",
"with",
"operands",
"[",
"2",
"]",
"storing",
"the",
"result",
"in",
"operands",
"[",
"0",
"]",
"."
] | [
"pa",
"2",
"2",
"0",
"2",
"0",
"1",
"0",
"1",
"0",
"1",
"0",
"2",
"\"extrd,u %1,63,%2,%0\"",
"63",
"2",
"3",
"\"depdi 0,%2,%3,%0\"",
"\"and %1,%2,%0\""
] | pa3 | output_64bit_and | pa | CPU | GCC | 3,080 | 236 | 1 | [] |
[
"<s>",
"X86TargetMachine",
"::",
"X86TargetMachine",
"(",
"const",
"Target",
"&",
"T",
",",
"const",
"Triple",
"&",
"TT",
",",
"StringRef",
"CPU",
",",
"StringRef",
"FS",
",",
"const",
"TargetOptions",
"&",
"Options",
",",
"Optional",
"<",
"Reloc",
"::",
"... | [
"Create",
"an",
"X86",
"target",
"."
] | [
"X86",
"X86",
"X86"
] | X86TargetMachine93 | X86TargetMachine | X86 | CPU | LLVM | 3,081 | 180 | 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"
] | X86ISelDAGToDAG109 | PreprocessISelDAG | X86 | CPU | LLVM | 3,082 | 412 | 1 | [] |
[
"<s>",
"void",
"SIInstrInfo",
"::",
"storeRegToStackSlot",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"MI",
",",
"Register",
"SrcReg",
",",
"bool",
"isKill",
",",
"int",
"FrameIndex",
",",
"const",
"TargetRegisterClass",
"*",... | [
"Store",
"the",
"specified",
"register",
"of",
"the",
"given",
"register",
"class",
"to",
"the",
"specified",
"stack",
"frame",
"index",
"."
] | [
"AMDGPU",
"SI",
"SI",
"SI",
"AMDGPU::M0",
"\"m0 should not be spilled\"",
"4",
"AMDGPU::SReg_32_XM0RegClass",
"AMDGPU::VGPR_32RegClass",
"0"
] | SIInstrInfo130 | storeRegToStackSlot | AMDGPU | GPU | LLVM | 3,083 | 423 | 1 | [] |
[
"<s>",
"void",
"SIRegisterInfo",
"::",
"materializeFrameBaseRegister",
"(",
"MachineBasicBlock",
"*",
"MBB",
",",
"Register",
"BaseReg",
",",
"int",
"FrameIdx",
",",
"int64_t",
"Offset",
")",
"const",
"{",
"MachineBasicBlock",
"::",
"iterator",
"Ins",
"=",
"MBB",
... | [
"Insert",
"defining",
"instruction",
"(",
"s",
")",
"for",
"a",
"pointer",
"to",
"FrameIdx",
"before",
"insertion",
"point",
"I",
"."
] | [
"AMDGPU",
"SI",
"SI",
"AMDGPU::S_MOV_B32",
"AMDGPU::V_MOV_B32_e32",
"0",
"AMDGPU::SReg_32_XM0RegClass",
"AMDGPU::SReg_32_XM0RegClass",
"AMDGPU::VGPR_32RegClass",
"AMDGPU::S_MOV_B32",
"AMDGPU::S_ADD_U32",
"0"
] | SIRegisterInfo113 | materializeFrameBaseRegister | AMDGPU | GPU | LLVM | 3,084 | 302 | 1 | [] |
[
"<s>",
"const",
"char",
"*",
"ARMTargetLowering",
"::",
"LowerXConstraint",
"(",
"EVT",
"ConstraintVT",
")",
"const",
"{",
"if",
"(",
"!",
"Subtarget",
"->",
"hasVFP2Base",
"(",
")",
")",
"return",
"\"r\"",
";",
"if",
"(",
"ConstraintVT",
".",
"isFloatingPoi... | [
"Try",
"to",
"replace",
"an",
"X",
"constraint",
",",
"which",
"matches",
"anything",
",",
"with",
"another",
"that",
"has",
"more",
"specific",
"requirements",
"based",
"on",
"the",
"type",
"of",
"the",
"corresponding",
"operand",
"."
] | [
"ARM",
"ARM",
"\"r\"",
"\"w\"",
"64",
"128",
"\"w\"",
"\"r\""
] | ARMISelLowering (2)5 | LowerXConstraint | ARM | CPU | LLVM | 3,085 | 74 | 1 | [] |
[
"<s>",
"bool",
"isThumb",
"(",
")",
"const",
"{",
"return",
"isThumbMode",
";",
"}",
"</s>"
] | [
"Tests",
"whether",
"the",
"target",
"is",
"Thumb",
"(",
"little",
"and",
"big",
"endian",
")",
"."
] | [
"ARM"
] | ARMAsmBackend (2) | isThumb | ARM | CPU | LLVM | 3,086 | 10 | 1 | [] |
[
"<s>",
"bool",
"SystemZAsmParser",
"::",
"MatchAndEmitInstruction",
"(",
"SMLoc",
"IDLoc",
",",
"unsigned",
"&",
"Opcode",
",",
"OperandVector",
"&",
"Operands",
",",
"MCStreamer",
"&",
"Out",
",",
"unsigned",
"&",
"ErrorInfo",
",",
"bool",
"MatchingInlineAsm",
... | [
"MatchAndEmitInstruction",
"-",
"Recognize",
"a",
"series",
"of",
"operands",
"of",
"a",
"parsed",
"instruction",
"as",
"an",
"actual",
"MCInst",
"and",
"emit",
"it",
"to",
"the",
"specified",
"MCStreamer",
"."
] | [
"SystemZ",
"SystemZ",
"\"Unknown missing feature!\"",
"\"instruction requires:\"",
"1",
"0",
"8",
"1",
"\" \"",
"1",
"0U",
"\"too few operands for instruction\"",
"SystemZ",
"\"invalid operand for instruction\"",
"\"invalid instruction\"",
"\"Unexpected match type\""
] | SystemZAsmParser3 | MatchAndEmitInstruction | SystemZ | CPU | LLVM | 3,087 | 251 | 1 | [] |
[
"<s>",
"void",
"msp430_expand_helper",
"(",
"rtx",
"*",
"operands",
",",
"const",
"char",
"*",
"helper_name",
",",
"bool",
"const_variants",
")",
"{",
"rtx",
"c",
",",
"fusage",
",",
"fsym",
";",
"char",
"*",
"helper_const",
"=",
"NULL",
";",
"int",
"arg... | [
"The",
"MSP430",
"ABI",
"defines",
"a",
"number",
"of",
"helper",
"functions",
"that",
"should",
"be",
"used",
"for",
",",
"for",
"example",
",",
"32-bit",
"shifts",
".",
"This",
"function",
"is",
"called",
"to",
"emit",
"such",
"a",
"function",
",",
"us... | [
"msp430",
"12",
"13",
"1",
"0",
"1",
"2",
"\"__mspabi_mpy\"",
"14",
"2",
"8",
"4",
"12",
"2",
"2",
"1",
"2",
"15",
"4",
"\"%s_%d\"",
"2",
"1",
"2",
"\"_f5hw\"",
"\"_hw\"",
"\"_hw32\"",
"\"_hw\"",
"12",
"0",
"1",
"1",
"0",
"12"
] | msp430 | msp430_expand_helper | msp430 | MPU | GCC | 3,088 | 509 | 1 | [] |
[
"<s>",
"bool",
"AMDGPUAsmPrinter",
"::",
"doFinalization",
"(",
"Module",
"&",
"M",
")",
"{",
"CallGraphResourceInfo",
".",
"clear",
"(",
")",
";",
"const",
"MCSubtargetInfo",
"&",
"STI",
"=",
"*",
"getGlobalSTI",
"(",
")",
";",
"if",
"(",
"AMDGPU",
"::",
... | [
"doFinalization",
"-",
"Virtual",
"method",
"overriden",
"by",
"subclasses",
"to",
"do",
"any",
"necessary",
"clean",
"up",
"after",
"all",
"passes",
"have",
"run",
"."
] | [
"AMDGPU",
"AMDGPU",
"AMDGPU::isGFX10Plus"
] | AMDGPUAsmPrinter50 | doFinalization | AMDGPU | GPU | LLVM | 3,089 | 97 | 1 | [] |
[
"<s>",
"const",
"MCPhysReg",
"*",
"MipsRegisterInfo",
"::",
"getCalleeSavedRegs",
"(",
"const",
"MachineFunction",
"*",
"MF",
")",
"const",
"{",
"const",
"MipsSubtarget",
"&",
"Subtarget",
"=",
"MF",
"->",
"getSubtarget",
"<",
"MipsSubtarget",
">",
"(",
")",
"... | [
"Code",
"Generation",
"virtual",
"methods",
"..."
] | [
"Mips",
"Mips",
"Mips",
"Mips",
"\"interrupt\"",
"Mips",
"Mips",
"Mips"
] | MipsRegisterInfo (2)2 | getCalleeSavedRegs | Mips | CPU | LLVM | 3,090 | 140 | 1 | [] |
[
"<s>",
"bool",
"PPCFrameLowering",
"::",
"canUseAsEpilogue",
"(",
"const",
"MachineBasicBlock",
"&",
"MBB",
")",
"const",
"{",
"MachineBasicBlock",
"*",
"TmpMBB",
"=",
"const_cast",
"<",
"MachineBasicBlock",
"*",
">",
"(",
"&",
"MBB",
")",
";",
"return",
"find... | [
"Check",
"whether",
"or",
"not",
"the",
"given",
"MBB",
"can",
"be",
"used",
"as",
"a",
"epilogue",
"for",
"the",
"target",
"."
] | [
"PowerPC",
"PPC"
] | PPCFrameLowering (2) | canUseAsEpilogue | PowerPC | CPU | LLVM | 3,091 | 35 | 1 | [] |
[
"<s>",
"const",
"char",
"*",
"getPassName",
"(",
")",
"const",
"override",
"{",
"return",
"\"InsertNOPsLoadStore: Erratum Fix LBR37: insert NOPs between \"",
"\"single-precision loads and the store, so the number of \"",
"\"instructions between is 4\"",
";",
"}",
"</s>"
] | [
"getPassName",
"-",
"Return",
"a",
"nice",
"clean",
"name",
"for",
"a",
"pass",
"."
] | [
"Sparc",
"\"InsertNOPsLoadStore: Erratum Fix LBR37: insert NOPs between \"",
"\"single-precision loads and the store, so the number of \"",
"\"instructions between is 4\""
] | LeonPasses8 | getPassName | Sparc | CPU | LLVM | 3,092 | 15 | 1 | [] |
[
"<s>",
"bool",
"legitimate_pic_operand_p",
"(",
"rtx",
"x",
")",
"{",
"if",
"(",
"pic_address_needs_scratch",
"(",
"x",
")",
")",
"return",
"false",
";",
"if",
"(",
"sparc_tls_referenced_p",
"(",
"x",
")",
")",
"return",
"false",
";",
"return",
"true",
";"... | [
"Return",
"true",
"if",
"OP",
"is",
"a",
"legitimate",
"general",
"operand",
"when",
"generating",
"PIC",
"code",
".",
"It",
"is",
"given",
"that",
"flag_pic",
"is",
"on",
"and",
"that",
"OP",
"satisfies",
"CONSTANT_P",
"or",
"is",
"a",
"CONST_DOUBLE",
"."... | [
"sparc"
] | sparc | legitimate_pic_operand_p | sparc | CPU | GCC | 3,093 | 31 | 1 | [] |
[
"<s>",
"SDNode",
"*",
"OpenRISCDAGToDAGISel",
"::",
"Select",
"(",
"SDNode",
"*",
"Node",
")",
"{",
"DebugLoc",
"dl",
"=",
"Node",
"->",
"getDebugLoc",
"(",
")",
";",
"DEBUG",
"(",
"errs",
"(",
")",
"<<",
"\"Selecting: \"",
")",
";",
"DEBUG",
"(",
"Nod... | [
"Main",
"hook",
"for",
"targets",
"to",
"transform",
"nodes",
"into",
"machine",
"nodes",
"."
] | [
"OpenRISC",
"OpenRISC",
"\"Selecting: \"",
"\"\\n\"",
"\"== \"",
"\"\\n\"",
"\"=> \"",
"\"\\n\""
] | OpenRISCISelDAGToDAG | Select | OpenRISC | CPU | LLVM | 3,094 | 145 | 1 | [] |
[
"<s>",
"HOST_WIDE_INT",
"sparc_compute_frame_size",
"(",
"HOST_WIDE_INT",
"size",
",",
"int",
"leaf_function",
")",
"{",
"HOST_WIDE_INT",
"frame_size",
",",
"apparent_frame_size",
";",
"int",
"args_size",
",",
"n_global_fp_regs",
"=",
"0",
";",
"bool",
"save_local_in_... | [
"Compute",
"the",
"frame",
"size",
"required",
"by",
"the",
"function",
".",
"This",
"function",
"is",
"called",
"during",
"the",
"reload",
"pass",
"and",
"also",
"by",
"sparc_expand_prologue",
"."
] | [
"sparc",
"0",
"0",
"0",
"8",
"0",
"2",
"0",
"8",
"2",
"0",
"1",
"0",
"2",
"16",
"32",
"32",
"96",
"64",
"2",
"0",
"1",
"0",
"2",
"0",
"0",
"0",
"0",
"7",
"8",
"4",
"7",
"8"
] | sparc4 | sparc_compute_frame_size | sparc | CPU | GCC | 3,095 | 297 | 1 | [] |
[
"<s>",
"bool",
"PatmosAsmPrinter",
"::",
"PrintAsmMemoryOperand",
"(",
"const",
"MachineInstr",
"*",
"MI",
",",
"unsigned",
"OpNo",
",",
"unsigned",
"AsmVariant",
",",
"const",
"char",
"*",
"ExtraCode",
",",
"raw_ostream",
"&",
"O",
")",
"{",
"if",
"(",
"Ext... | [
"Print",
"the",
"specified",
"operand",
"of",
"MI",
",",
"an",
"INLINEASM",
"instruction",
",",
"using",
"the",
"specified",
"assembler",
"variant",
"as",
"an",
"address",
"."
] | [
"Patmos",
"Patmos",
"0",
"\"unexpected inline asm memory operand\"",
"\"[$\"",
"Patmos",
"\"]\""
] | PatmosAsmPrinter | PrintAsmMemoryOperand | Patmos | VLIW | LLVM | 3,096 | 82 | 1 | [] |
[
"<s>",
"bool",
"shouldConvertFpToSat",
"(",
"unsigned",
"Op",
",",
"EVT",
"FPVT",
",",
"EVT",
"VT",
")",
"const",
"override",
"{",
"return",
"Op",
"!=",
"ISD",
"::",
"FP_TO_UINT_SAT",
"&&",
"isOperationLegalOrCustom",
"(",
"Op",
",",
"VT",
")",
";",
"}",
... | [
"Should",
"we",
"generate",
"fp_to_si_sat",
"and",
"fp_to_ui_sat",
"from",
"type",
"FPVT",
"to",
"type",
"VT",
"from",
"min",
"(",
"max",
"(",
"fptoi",
")",
")",
"saturation",
"patterns",
"."
] | [
"X86",
"ISD::FP_TO_UINT_SAT"
] | X86ISelLowering10 | shouldConvertFpToSat | X86 | CPU | LLVM | 3,097 | 30 | 1 | [] |
[
"<s>",
"static",
"void",
"sh_symbian_mark_dllexport",
"(",
"tree",
"decl",
")",
"{",
"const",
"char",
"*",
"oldname",
";",
"char",
"*",
"newname",
";",
"rtx",
"rtlname",
";",
"tree",
"idp",
";",
"rtlname",
"=",
"XEXP",
"(",
"DECL_RTL",
"(",
"decl",
")",
... | [
"Mark",
"a",
"DECL",
"as",
"being",
"dllexport",
"'d",
".",
"Note",
"that",
"we",
"override",
"the",
"previous",
"setting",
"(",
"e.g",
".",
":",
"dllimport",
")",
"."
] | [
"sh",
"0",
"0",
"0",
"0",
"1",
"\"%s%s\"",
"0"
] | symbian | sh_symbian_mark_dllexport | sh | CPU | GCC | 3,098 | 161 | 1 | [] |
[
"<s>",
"SparcTargetLowering",
"::",
"ConstraintType",
"SparcTargetLowering",
"::",
"getConstraintType",
"(",
"StringRef",
"Constraint",
")",
"const",
"{",
"if",
"(",
"Constraint",
".",
"size",
"(",
")",
"==",
"1",
")",
"{",
"switch",
"(",
"Constraint",
"[",
"0... | [
"Given",
"a",
"constraint",
"letter",
",",
"return",
"the",
"type",
"of",
"constraint",
"for",
"this",
"target",
"."
] | [
"Sparc",
"Sparc",
"Sparc",
"1",
"0"
] | SparcISelLowering (2)2 | getConstraintType | Sparc | CPU | LLVM | 3,099 | 64 | 1 | [] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.