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>",
"int",
"m32r_hard_regno_rename_ok",
"(",
"unsigned",
"int",
"old_reg",
"ATTRIBUTE_UNUSED",
",",
"unsigned",
"int",
"new_reg",
")",
"{",
"if",
"(",
"lookup_attribute",
"(",
"\"interrupt\"",
",",
"DECL_ATTRIBUTES",
"(",
"current_function_decl",
")",
")",
"&&",
... | [
"Return",
"true",
"if",
"using",
"NEW_REG",
"in",
"place",
"of",
"OLD_REG",
"is",
"ok",
"."
] | [
"m32r",
"\"interrupt\"",
"0",
"1"
] | m32r | m32r_hard_regno_rename_ok | m32r | MPU | GCC | 30,900 | 38 | 1 | [] |
[
"<s>",
"std",
"::",
"pair",
"<",
"int",
",",
"MVT",
">",
"SITargetLowering",
"::",
"getTypeLegalizationCost",
"(",
"const",
"DataLayout",
"&",
"DL",
",",
"Type",
"*",
"Ty",
")",
"const",
"{",
"auto",
"Cost",
"=",
"TargetLoweringBase",
"::",
"getTypeLegalizat... | [
"Estimate",
"the",
"cost",
"of",
"type-legalization",
"and",
"the",
"legalized",
"type",
"."
] | [
"AMDGPU",
"SI",
"256",
"255",
"256"
] | SIISelLowering120 | getTypeLegalizationCost | AMDGPU | GPU | LLVM | 30,901 | 70 | 1 | [] |
[
"<s>",
"static",
"void",
"frv_frame_access",
"(",
"frv_frame_accessor_t",
"*",
"accessor",
",",
"rtx",
"reg",
",",
"int",
"stack_offset",
")",
"{",
"machine_mode",
"mode",
"=",
"GET_MODE",
"(",
"reg",
")",
";",
"rtx",
"mem",
"=",
"frv_frame_mem",
"(",
"mode"... | [
"Emit",
"instructions",
"that",
"transfer",
"REG",
"to",
"or",
"from",
"the",
"memory",
"location",
"(",
"sp",
"+",
"STACK_OFFSET",
")",
".",
"The",
"register",
"is",
"stored",
"in",
"memory",
"if",
"ACCESSOR-",
">",
"OP",
"is",
"FRV_STORE",
"and",
"loaded... | [
"frv",
"0",
"0",
"0",
"0",
"1",
"0",
"0",
"0",
"1",
"1",
"4",
"0",
"0",
"0",
"0",
"1",
"0",
"0",
"0",
"1",
"2"
] | frv3 | frv_frame_access | frv | VLIW | GCC | 30,902 | 489 | 1 | [] |
[
"<s>",
"bool",
"AArch64RegisterInfo",
"::",
"isFrameOffsetLegal",
"(",
"const",
"MachineInstr",
"*",
"MI",
",",
"Register",
"BaseReg",
",",
"int64_t",
"Offset",
")",
"const",
"{",
"assert",
"(",
"MI",
"&&",
"\"Unable to get the legal offset for nil instruction.\"",
")... | [
"Determine",
"whether",
"a",
"given",
"base",
"register",
"plus",
"offset",
"immediate",
"is",
"encodable",
"to",
"resolve",
"a",
"frame",
"index",
"."
] | [
"AArch64",
"AArch64",
"\"Unable to get the legal offset for nil instruction.\"",
"MVT::i8",
"AArch64",
"AArch64"
] | AArch64RegisterInfo12 | isFrameOffsetLegal | AArch64 | CPU | LLVM | 30,903 | 47 | 1 | [] |
[
"<s>",
"bool",
"PPCTargetLowering",
"::",
"SelectAddressRegReg",
"(",
"SDValue",
"N",
",",
"SDValue",
"&",
"Base",
",",
"SDValue",
"&",
"Index",
",",
"SelectionDAG",
"&",
"DAG",
")",
"const",
"{",
"short",
"imm",
"=",
"0",
";",
"if",
"(",
"N",
".",
"ge... | [
"SelectAddressRegReg",
"-",
"Given",
"the",
"specified",
"addressed",
",",
"check",
"to",
"see",
"if",
"it",
"can",
"be",
"more",
"efficiently",
"represented",
"as",
"[",
"r+imm",
"]",
"."
] | [
"PowerPC",
"PPC",
"0",
"ISD::ADD",
"1",
"1",
"PPCISD::Lo",
"0",
"1",
"ISD::OR",
"1",
"0",
"0",
"1",
"1",
"0",
"0",
"1"
] | PPCISelLowering107 | SelectAddressRegReg | PowerPC | CPU | LLVM | 30,904 | 253 | 1 | [] |
[
"<s>",
"void",
"X86ATTInstPrinter",
"::",
"printPCRelImm",
"(",
"const",
"MCInst",
"*",
"MI",
",",
"unsigned",
"OpNo",
",",
"raw_ostream",
"&",
"O",
")",
"{",
"const",
"MCOperand",
"&",
"Op",
"=",
"MI",
"->",
"getOperand",
"(",
"OpNo",
")",
";",
"if",
... | [
"value",
"(",
"e.g",
"."
] | [
"X86",
"X86",
"\"unknown pcrel immediate operand\"",
"\"0x\""
] | X86ATTInstPrinter52 | printPCRelImm | X86 | CPU | LLVM | 30,905 | 120 | 1 | [] |
[
"<s>",
"void",
"aarch64_simd_lane_bounds",
"(",
"rtx",
"operand",
",",
"HOST_WIDE_INT",
"low",
",",
"HOST_WIDE_INT",
"high",
",",
"const_tree",
"exp",
")",
"{",
"HOST_WIDE_INT",
"lane",
";",
"gcc_assert",
"(",
"CONST_INT_P",
"(",
"operand",
")",
")",
";",
"lan... | [
"Bounds-check",
"lanes",
".",
"Ensure",
"OPERAND",
"lies",
"between",
"LOW",
"(",
"inclusive",
")",
"and",
"HIGH",
"(",
"exclusive",
")",
"."
] | [
"aarch64",
"\"%Klane %ld out of range %ld - %ld\"",
"1",
"\"lane %ld out of range %ld - %ld\"",
"1"
] | aarch642 | aarch64_simd_lane_bounds | aarch64 | CPU | GCC | 30,906 | 80 | 1 | [] |
[
"<s>",
"unsigned",
"getFirstDomain",
"(",
")",
"const",
"{",
"return",
"CountTrailingZeros_32",
"(",
"AvailableDomains",
")",
";",
"}",
"</s>"
] | [
"First",
"domain",
"available",
"."
] | [
"X86"
] | SSEDomainFix | getFirstDomain | X86 | CPU | LLVM | 30,907 | 13 | 1 | [] |
[
"<s>",
"static",
"rtx",
"or1k_restore_reg",
"(",
"int",
"regno",
",",
"HOST_WIDE_INT",
"offset",
",",
"rtx",
"cfa_restores",
")",
"{",
"rtx",
"reg",
"=",
"gen_rtx_REG",
"(",
"Pmode",
",",
"regno",
")",
";",
"rtx",
"mem",
"=",
"gen_frame_mem",
"(",
"SImode"... | [
"Emit",
"rtl",
"to",
"restore",
"register",
"REGNO",
"contents",
"from",
"stack",
"memory",
"at",
"the",
"given",
"OFFSET",
"from",
"the",
"current",
"stack",
"pointer",
"."
] | [
"or1k"
] | or1k | or1k_restore_reg | or1k | CPU | GCC | 30,908 | 59 | 1 | [] |
[
"<s>",
"bool",
"AMDGPUAsmPrinter",
"::",
"lowerOperand",
"(",
"const",
"MachineOperand",
"&",
"MO",
",",
"MCOperand",
"&",
"MCOp",
")",
"const",
"{",
"const",
"AMDGPUSubtarget",
"&",
"STI",
"=",
"MF",
"->",
"getSubtarget",
"<",
"AMDGPUSubtarget",
">",
"(",
"... | [
"Wrapper",
"for",
"MCInstLowering.lowerOperand",
"(",
")",
"for",
"the",
"tblgen'erated",
"pseudo",
"lowering",
"."
] | [
"AMDGPU",
"AMDGPU",
"AMDGPU",
"AMDGPU",
"AMDGPU"
] | AMDGPUMCInstLower10 | lowerOperand | AMDGPU | GPU | LLVM | 30,909 | 52 | 1 | [] |
[
"<s>",
"const",
"MCFixupKindInfo",
"&",
"getFixupKindInfo",
"(",
"MCFixupKind",
"Kind",
")",
"const",
"{",
"const",
"static",
"MCFixupKindInfo",
"Infos",
"[",
"Mips",
"::",
"NumTargetFixupKinds",
"]",
"=",
"{",
"{",
"\"fixup_Mips_NONE\"",
",",
"0",
",",
"0",
"... | [
"Get",
"information",
"on",
"a",
"fixup",
"kind",
"."
] | [
"Mips",
"Mips::NumTargetFixupKinds",
"\"fixup_Mips_NONE\"",
"0",
"0",
"0",
"\"fixup_Mips_16\"",
"0",
"16",
"0",
"\"fixup_Mips_32\"",
"0",
"32",
"0",
"\"fixup_Mips_REL32\"",
"0",
"32",
"0",
"\"fixup_Mips_26\"",
"0",
"26",
"0",
"\"fixup_Mips_HI16\"",
"0",
"16",
"0",
... | MipsAsmBackend6 | getFixupKindInfo | Mips | CPU | LLVM | 30,910 | 275 | 1 | [] |
[
"<s>",
"int",
"rs6000_emit_vector_cond_expr",
"(",
"rtx",
"dest",
",",
"rtx",
"op_true",
",",
"rtx",
"op_false",
",",
"rtx",
"cond",
",",
"rtx",
"cc_op0",
",",
"rtx",
"cc_op1",
")",
"{",
"machine_mode",
"dest_mode",
"=",
"GET_MODE",
"(",
"dest",
")",
";",
... | [
"Emit",
"vector",
"conditional",
"expression",
".",
"DEST",
"is",
"destination",
".",
"OP1",
"and",
"OP2",
"are",
"two",
"VEC_COND_EXPR",
"operands",
".",
"CC_OP0",
"and",
"CC_OP1",
"are",
"the",
"two",
"operands",
"for",
"the",
"relation",
"operation",
"COND"... | [
"rs6000",
"0",
"0",
"0",
"1"
] | rs60005 | rs6000_emit_vector_cond_expr | rs6000 | CPU | GCC | 30,911 | 247 | 1 | [] |
[
"<s>",
"const",
"DataLayout",
"*",
"getDataLayout",
"(",
")",
"const",
"override",
"{",
"return",
"&",
"DL",
";",
"}",
"</s>"
] | [
"Return",
"the",
"DataLayout",
"associated",
"with",
"the",
"module",
"this",
"SCEV",
"instance",
"is",
"operating",
"on",
"."
] | [
"PowerPC"
] | PPCSubtarget34 | getDataLayout | PowerPC | CPU | LLVM | 30,912 | 14 | 1 | [] |
[
"<s>",
"bool",
"SNESTargetLowering",
"::",
"CanLowerReturn",
"(",
"CallingConv",
"::",
"ID",
"CallConv",
",",
"MachineFunction",
"&",
"MF",
",",
"bool",
"isVarArg",
",",
"const",
"SmallVectorImpl",
"<",
"ISD",
"::",
"OutputArg",
">",
"&",
"Outs",
",",
"LLVMCon... | [
"This",
"hook",
"should",
"be",
"implemented",
"to",
"check",
"whether",
"the",
"return",
"values",
"described",
"by",
"the",
"Outs",
"array",
"can",
"fit",
"into",
"the",
"return",
"registers",
"."
] | [
"SNES",
"SNES",
"ISD::OutputArg",
"16"
] | SNESISelLowering | CanLowerReturn | SNES | DSP | LLVM | 30,913 | 74 | 1 | [] |
[
"<s>",
"void",
"MMIXAsmPrinter",
"::",
"EmitInstruction",
"(",
"const",
"MachineInstr",
"*",
"MI",
")",
"{",
"if",
"(",
"emitPseudoExpansionLowering",
"(",
"*",
"OutStreamer",
",",
"MI",
")",
")",
"return",
";",
"MCInst",
"TmpInst",
";",
"LowerMMIXMachineInstrTo... | [
"EmitInstruction",
"-",
"This",
"callback",
"is",
"invoked",
"when",
"an",
"instruction",
"is",
"emitted",
",",
"to",
"advance",
"the",
"hazard",
"state",
"."
] | [
"MMIX",
"MMIX",
"MMIX"
] | MMIXAsmPrinter | EmitInstruction | MMIX | CPU | LLVM | 30,914 | 45 | 1 | [] |
[
"<s>",
"Sched",
"::",
"Preference",
"ARMTargetLowering",
"::",
"getSchedulingPreference",
"(",
"SDNode",
"*",
"N",
")",
"const",
"{",
"unsigned",
"NumVals",
"=",
"N",
"->",
"getNumValues",
"(",
")",
";",
"if",
"(",
"!",
"NumVals",
")",
"return",
"Sched",
"... | [
"Some",
"scheduler",
",",
"e.g",
"."
] | [
"ARM",
"ARM",
"0",
"MVT::Flag",
"MVT::Other",
"0",
"0",
"2"
] | ARMISelLowering71 | getSchedulingPreference | ARM | CPU | LLVM | 30,915 | 186 | 1 | [] |
[
"<s>",
"static",
"void",
"arm_option_check_internal",
"(",
"struct",
"gcc_options",
"*",
"opts",
")",
"{",
"int",
"flags",
"=",
"opts",
"->",
"x_target_flags",
";",
"if",
"(",
"TARGET_IWMMXT",
"&&",
"bitmap_bit_p",
"(",
"arm_active_target",
".",
"isa",
",",
"i... | [
"Check",
"any",
"incompatible",
"options",
"that",
"the",
"user",
"has",
"specified",
"."
] | [
"arm",
"\"iWMMXt and NEON are incompatible\"",
"\"target CPU does not support ARM mode\"",
"0",
"\"enabling backtrace support is only meaningful when compiling for the Thumb\"",
"0",
"\"enabling callee interworking support is only meaningful when compiling for the Thumb\"",
"0",
"\"-g with -mno-apcs... | arm7 | arm_option_check_internal | arm | CPU | GCC | 30,916 | 213 | 1 | [] |
[
"<s>",
"static",
"void",
"cris_file_end",
"(",
"void",
")",
"{",
"if",
"(",
"TARGET_LINUX",
"&&",
"trampolines_created",
")",
"file_end_indicate_exec_stack",
"(",
")",
";",
"}",
"</s>"
] | [
"Output",
"that",
"goes",
"at",
"the",
"end",
"of",
"the",
"file",
",",
"similarly",
"."
] | [
"cris"
] | cris | cris_file_end | cris | MPU | GCC | 30,917 | 18 | 1 | [] |
[
"<s>",
"SUnit",
"*",
"R600SchedStrategy",
"::",
"pickNode",
"(",
"bool",
"&",
"IsTopNode",
")",
"{",
"SUnit",
"*",
"SU",
"=",
"0",
";",
"NextInstKind",
"=",
"IDOther",
";",
"IsTopNode",
"=",
"false",
";",
"bool",
"AllowSwitchToAlu",
"=",
"(",
"CurEmitted",... | [
"Pick",
"the",
"next",
"node",
"to",
"schedule",
",",
"or",
"return",
"NULL",
"."
] | [
"R600",
"0",
"62.5f",
"\" approx. Wavefronts Required\\n\"",
"2",
"0",
"0",
"0",
"\" ** Pick node **\\n\"",
"\"NO NODE \\n\"",
"0"
] | R600MachineScheduler27 | pickNode | R600 | GPU | LLVM | 30,918 | 460 | 1 | [] |
[
"<s>",
"SDValue",
"MipsTargetLowering",
"::",
"LowerReturn",
"(",
"SDValue",
"Chain",
",",
"CallingConv",
"::",
"ID",
"CallConv",
",",
"bool",
"IsVarArg",
",",
"const",
"SmallVectorImpl",
"<",
"ISD",
"::",
"OutputArg",
">",
"&",
"Outs",
",",
"const",
"SmallVec... | [
"This",
"hook",
"must",
"be",
"implemented",
"to",
"lower",
"outgoing",
"return",
"values",
",",
"described",
"by",
"the",
"Outs",
"array",
",",
"into",
"the",
"specified",
"DAG",
"."
] | [
"Mips",
"Mips",
"ISD::OutputArg",
"16",
"Mips",
"Mips",
"Mips",
"4",
"1",
"0",
"\"Can only return in registers!\"",
"ISD::BITCAST",
"1",
"Mips",
"Mips",
"Mips",
"Mips",
"\"sret virtual register not created in the entry block\"",
"Mips::V0_64",
"Mips::V0",
"1",
"0",
"MipsI... | MipsISelLowering62 | LowerReturn | Mips | CPU | LLVM | 30,919 | 447 | 1 | [] |
[
"<s>",
"rtx",
"aarch64_gen_compare_reg",
"(",
"RTX_CODE",
"code",
",",
"rtx",
"x",
",",
"rtx",
"y",
")",
"{",
"machine_mode",
"cmp_mode",
"=",
"GET_MODE",
"(",
"x",
")",
";",
"machine_mode",
"cc_mode",
";",
"rtx",
"cc_reg",
";",
"if",
"(",
"cmp_mode",
"=... | [
"X",
"and",
"Y",
"are",
"two",
"things",
"to",
"compare",
"using",
"CODE",
".",
"Emit",
"the",
"compare",
"insn",
"and",
"return",
"the",
"rtx",
"for",
"register",
"0",
"in",
"the",
"proper",
"mode",
"."
] | [
"aarch64",
"0",
"0",
"0",
"0",
"1",
"0",
"1",
"0"
] | aarch64 | aarch64_gen_compare_reg | aarch64 | CPU | GCC | 30,920 | 194 | 1 | [] |
[
"<s>",
"bool",
"convertSetCCLogicToBitwiseLogic",
"(",
"EVT",
"VT",
")",
"const",
"override",
"{",
"return",
"VT",
".",
"isScalarInteger",
"(",
")",
";",
"}",
"</s>"
] | [
"Use",
"bitwise",
"logic",
"to",
"make",
"pairs",
"of",
"compares",
"more",
"efficient",
"."
] | [
"SystemZ"
] | SystemZISelLowering18 | convertSetCCLogicToBitwiseLogic | SystemZ | CPU | LLVM | 30,921 | 17 | 1 | [] |
[
"<s>",
"static",
"int",
"mn10300_address_cost",
"(",
"rtx",
"x",
",",
"machine_mode",
"mode",
"ATTRIBUTE_UNUSED",
",",
"addr_space_t",
"as",
"ATTRIBUTE_UNUSED",
",",
"bool",
"speed",
")",
"{",
"HOST_WIDE_INT",
"i",
";",
"rtx",
"base",
",",
"index",
";",
"switc... | [
"For",
"addresses",
",",
"costs",
"are",
"relative",
"to",
"``",
"MOV",
"(",
"Rm",
")",
",",
"Rn",
"''",
".",
"For",
"AM33",
"this",
"is",
"the",
"3-byte",
"fully",
"general",
"instruction",
";",
"for",
"MN103",
"this",
"is",
"the",
"2-byte",
"form",
... | [
"mn10300",
"1",
"4",
"0",
"1",
"1",
"0x12345678",
"128",
"127",
"0",
"1",
"1",
"0x800000",
"0x7fffff",
"3",
"4",
"0",
"1",
"1",
"1",
"0",
"1",
"1",
"0x12345678",
"128",
"127",
"0",
"1",
"32768",
"32767",
"0",
"2",
"2",
"6",
"0"
] | mn10300 | mn10300_address_cost | mn10300 | MPU | GCC | 30,922 | 287 | 1 | [] |
[
"<s>",
"bool",
"AArch64CallLowering",
"::",
"lowerFormalArguments",
"(",
"MachineIRBuilder",
"&",
"MIRBuilder",
",",
"const",
"Function",
"&",
"F",
",",
"ArrayRef",
"<",
"ArrayRef",
"<",
"Register",
">>",
"VRegs",
")",
"const",
"{",
"MachineFunction",
"&",
"MF",... | [
"This",
"hook",
"must",
"be",
"implemented",
"to",
"lower",
"the",
"incoming",
"(",
"formal",
")",
"arguments",
",",
"described",
"by",
"VRegs",
",",
"for",
"GlobalISel",
"."
] | [
"AArch64",
"AArch64",
"8",
"0",
"AArch64",
"AArch64",
"AArch64",
"AArch64",
"AArch64",
"4",
"8",
"4",
"16",
"AArch64"
] | AArch64CallLowering12 | lowerFormalArguments | AArch64 | CPU | LLVM | 30,923 | 442 | 1 | [] |
[
"<s>",
"SDValue",
"MSP430TargetLowering",
"::",
"LowerReturn",
"(",
"SDValue",
"Chain",
",",
"CallingConv",
"::",
"ID",
"CallConv",
",",
"bool",
"isVarArg",
",",
"const",
"SmallVectorImpl",
"<",
"ISD",
"::",
"OutputArg",
">",
"&",
"Outs",
",",
"const",
"SmallV... | [
"This",
"hook",
"must",
"be",
"implemented",
"to",
"lower",
"outgoing",
"return",
"values",
",",
"described",
"by",
"the",
"Outs",
"array",
",",
"into",
"the",
"specified",
"DAG",
"."
] | [
"MSP430",
"MSP430",
"ISD::OutputArg",
"16",
"MSP430",
"\"ISRs cannot return any value\"",
"4",
"1",
"0",
"\"Can only return in registers!\"",
"1",
"MSP430",
"MSP430",
"\"sret virtual register not created in entry block\"",
"MSP430::R12",
"1",
"MSP430",
"MSP430ISD::RETI_FLAG",
"MS... | MSP430ISelLowering (2)1 | LowerReturn | MSP430 | MPU | LLVM | 30,924 | 405 | 1 | [] |
[
"<s>",
"void",
"WinEHStatePass",
"::",
"getAnalysisUsage",
"(",
"AnalysisUsage",
"&",
"AU",
")",
"const",
"{",
"AU",
".",
"setPreservesCFG",
"(",
")",
";",
"}",
"</s>"
] | [
"getAnalysisUsage",
"-",
"Subclasses",
"that",
"override",
"getAnalysisUsage",
"must",
"call",
"this",
"."
] | [
"X86"
] | X86WinEHState (2) | getAnalysisUsage | X86 | CPU | LLVM | 30,925 | 18 | 1 | [] |
[
"<s>",
"bool",
"riscv_gpr_save_operation_p",
"(",
"rtx",
"op",
")",
"{",
"unsigned",
"len",
"=",
"XVECLEN",
"(",
"op",
",",
"0",
")",
";",
"if",
"(",
"len",
">",
"ARRAY_SIZE",
"(",
"gpr_save_reg_order",
")",
")",
"return",
"false",
";",
"for",
"(",
"un... | [
"Return",
"true",
"if",
"it",
"'s",
"valid",
"gpr_save",
"pattern",
"."
] | [
"riscv",
"0",
"0",
"0",
"0",
"0",
"0",
"1",
"3",
"1",
"1"
] | riscv | riscv_gpr_save_operation_p | riscv | CPU | GCC | 30,926 | 160 | 1 | [] |
[
"<s>",
"FastISel",
"*",
"MipsTargetLowering",
"::",
"createFastISel",
"(",
"FunctionLoweringInfo",
"&",
"funcInfo",
",",
"const",
"TargetLibraryInfo",
"*",
"libInfo",
")",
"const",
"{",
"if",
"(",
"!",
"funcInfo",
".",
"MF",
"->",
"getTarget",
"(",
")",
".",
... | [
"This",
"method",
"returns",
"a",
"target",
"specific",
"FastISel",
"object",
",",
"or",
"null",
"if",
"the",
"target",
"does",
"not",
"support",
"``",
"fast",
"''",
"ISel",
"."
] | [
"Mips",
"Mips",
"Mips::createFastISel"
] | MipsISelLowering (2)5 | createFastISel | Mips | CPU | LLVM | 30,927 | 53 | 1 | [] |
[
"<s>",
"bool",
"fusion_gpr_load_p",
"(",
"rtx",
"addis_reg",
",",
"rtx",
"addis_value",
",",
"rtx",
"target",
",",
"rtx",
"mem",
")",
"{",
"rtx",
"addr",
";",
"rtx",
"base_reg",
";",
"if",
"(",
"!",
"base_reg_operand",
"(",
"addis_reg",
",",
"GET_MODE",
... | [
"Return",
"true",
"if",
"the",
"peephole2",
"can",
"combine",
"a",
"load",
"involving",
"a",
"combination",
"of",
"an",
"addis",
"instruction",
"and",
"a",
"load",
"with",
"an",
"offset",
"that",
"can",
"be",
"fused",
"together",
"on",
"a",
"power8",
"."
] | [
"rs6000",
"0",
"0",
"2",
"0"
] | rs6000 | fusion_gpr_load_p | rs6000 | CPU | GCC | 30,928 | 231 | 1 | [] |
[
"<s>",
"static",
"void",
"single_move_for_movmem",
"(",
"rtx",
"dst",
",",
"rtx",
"src",
",",
"machine_mode",
"mode",
",",
"HOST_WIDE_INT",
"offset",
")",
"{",
"rtx",
"scratch",
"=",
"gen_reg_rtx",
"(",
"mode",
")",
";",
"rtx",
"srcmem",
",",
"dstmem",
";"... | [
"Adjust",
"DST",
"and",
"SRC",
"by",
"OFFSET",
"bytes",
",",
"and",
"generate",
"one",
"move",
"in",
"mode",
"MODE",
"."
] | [
"bfin"
] | bfin3 | single_move_for_movmem | bfin | DSP | GCC | 30,929 | 67 | 1 | [] |
[
"<s>",
"void",
"NVPTXRegisterInfo",
"::",
"eliminateFrameIndex",
"(",
"MachineBasicBlock",
"::",
"iterator",
"II",
",",
"int",
"SPAdj",
",",
"unsigned",
"FIOperandNum",
",",
"RegScavenger",
"*",
"RS",
")",
"const",
"{",
"assert",
"(",
"SPAdj",
"==",
"0",
"&&",... | [
"This",
"method",
"must",
"be",
"overriden",
"to",
"eliminate",
"abstract",
"frame",
"indices",
"from",
"instructions",
"which",
"may",
"use",
"them",
"."
] | [
"NVPTX",
"NVPTX",
"0",
"\"Unexpected\"",
"1",
"NVPTX::VRFrame",
"1"
] | NVPTXRegisterInfo1 | eliminateFrameIndex | NVPTX | GPU | LLVM | 30,930 | 125 | 1 | [] |
[
"<s>",
"static",
"std",
"::",
"pair",
"<",
"rtx_insn",
"*",
",",
"rtx_insn",
"*",
">",
"sh_try_split_insn_simple",
"(",
"rtx_insn",
"*",
"i",
",",
"rtx_insn",
"*",
"curr_insn",
",",
"int",
"n",
"=",
"0",
")",
"{",
"if",
"(",
"dump_file",
")",
"{",
"f... | [
"Given",
"an",
"rtx",
"x",
",",
"which",
"is",
"assumed",
"to",
"be",
"some",
"expression",
"that",
"has",
"been",
"matched",
"by",
"the",
"'treg_set_expr",
"'",
"predicate",
"before",
",",
"split",
"and",
"emit",
"the",
"insns",
"that",
"are",
"necessary"... | [
"sh",
"0",
"\"sh_try_split_insn_simple n = %d i = \\n\"",
"\"\\n\"",
"1"
] | sh | sh_try_split_insn_simple | sh | CPU | GCC | 30,931 | 316 | 1 | [] |
[
"<s>",
"bool",
"PPCTargetLowering",
"::",
"isLegalAddressingMode",
"(",
"const",
"DataLayout",
"&",
"DL",
",",
"const",
"AddrMode",
"&",
"AM",
",",
"Type",
"*",
"Ty",
",",
"unsigned",
"AS",
",",
"Instruction",
"*",
"I",
")",
"const",
"{",
"if",
"(",
"Ty"... | [
"isLegalAddressingMode",
"-",
"Return",
"true",
"if",
"the",
"addressing",
"mode",
"represented",
"by",
"AM",
"is",
"legal",
"for",
"this",
"target",
",",
"for",
"a",
"load/store",
"of",
"the",
"specified",
"type",
"."
] | [
"PowerPC",
"PPC",
"0",
"1LL",
"16",
"1LL",
"16",
"1",
"0",
"1",
"2"
] | PPCISelLowering100 | isLegalAddressingMode | PowerPC | CPU | LLVM | 30,932 | 147 | 1 | [] |
[
"<s>",
"const",
"TPCAAResult",
"&",
"getResult",
"(",
")",
"const",
"{",
"return",
"*",
"Result",
";",
"}",
"</s>"
] | [
"Get",
"the",
"result",
"of",
"an",
"analysis",
"pass",
"for",
"a",
"given",
"IR",
"unit",
"."
] | [
"TPC",
"TPC"
] | TPCAliasAnalysis | getResult | TPC | Virtual ISA | LLVM | 30,933 | 13 | 1 | [] |
[
"<s>",
"ARMBaseTargetMachine",
"::",
"ARMBaseTargetMachine",
"(",
"const",
"Target",
"&",
"T",
",",
"const",
"Triple",
"&",
"TT",
",",
"StringRef",
"CPU",
",",
"StringRef",
"FS",
",",
"const",
"TargetOptions",
"&",
"Options",
",",
"Optional",
"<",
"Reloc",
"... | [
"Create",
"an",
"ARM",
"architecture",
"model",
"."
] | [
"ARM",
"ARM",
"ARM",
"ARM",
"\"CPU: '\"",
"\"' does not \"",
"\"support ARM mode execution!\""
] | ARMTargetMachine14 | ARMBaseTargetMachine | ARM | CPU | LLVM | 30,934 | 243 | 1 | [] |
[
"<s>",
"void",
"RISCVMCCodeEmitter",
"::",
"encodeInstruction",
"(",
"const",
"MCInst",
"&",
"MI",
",",
"raw_ostream",
"&",
"OS",
",",
"SmallVectorImpl",
"<",
"MCFixup",
">",
"&",
"Fixups",
",",
"const",
"MCSubtargetInfo",
"&",
"STI",
")",
"const",
"{",
"con... | [
"Encode",
"the",
"given",
"Inst",
"to",
"bytes",
"and",
"append",
"to",
"CB",
"."
] | [
"RISCV",
"RISCV",
"RISCV::PseudoCALL",
"RISCV::PseudoTAIL",
"2",
"RISCV::PseudoAddTPRel",
"1",
"\"Unhandled encodeInstruction length!\"",
"2",
"support::endian",
"support::little",
"4",
"support::endian",
"support::little"
] | RISCVMCCodeEmitter36 | encodeInstruction | RISCV | CPU | LLVM | 30,935 | 213 | 1 | [] |
[
"<s>",
"int",
"frv_acc_group",
"(",
"rtx",
"insn",
")",
"{",
"if",
"(",
"frv_cpu_type",
"==",
"FRV_CPU_FR550",
")",
"{",
"subrtx_iterator",
"::",
"array_type",
"array",
";",
"FOR_EACH_SUBRTX",
"(",
"iter",
",",
"array",
",",
"PATTERN",
"(",
"insn",
")",
",... | [
"Return",
"the",
"value",
"of",
"INSN",
"'s",
"acc_group",
"attribute",
"."
] | [
"frv",
"4",
"4"
] | frv | frv_acc_group | frv | VLIW | GCC | 30,936 | 97 | 1 | [] |
[
"<s>",
"bool",
"X86FrameLowering",
"::",
"spillCalleeSavedRegisters",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"MI",
",",
"const",
"std",
"::",
"vector",
"<",
"CalleeSavedInfo",
">",
"&",
"CSI",
",",
"const",
"TargetRegiste... | [
"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"... | [
"X86",
"X86",
"X86::PUSH64r",
"X86::PUSH32r",
"0",
"1",
"X86::GR64RegClass",
"X86::GR32RegClass",
"0",
"1",
"X86::GR64RegClass",
"X86::GR32RegClass",
"MVT::Other",
"X86::VK16RegClass",
"MVT::v64i1",
"MVT::v16i1",
"1"
] | X86FrameLowering10 | spillCalleeSavedRegisters | X86 | CPU | LLVM | 30,937 | 428 | 1 | [] |
[
"<s>",
"static",
"rtx",
"frv_expand_load_builtin",
"(",
"enum",
"insn_code",
"icode",
",",
"enum",
"machine_mode",
"target_mode",
",",
"tree",
"arglist",
",",
"rtx",
"target",
")",
"{",
"rtx",
"op0",
"=",
"frv_read_argument",
"(",
"&",
"arglist",
")",
";",
"... | [
"Expand",
"a",
"__builtin_read",
"*",
"function",
".",
"ICODE",
"is",
"the",
"instruction",
"code",
"for",
"the",
"membar",
"and",
"TARGET_MODE",
"is",
"the",
"mode",
"that",
"the",
"loaded",
"value",
"should",
"have",
"."
] | [
"frv",
"0",
"0",
"1",
"1"
] | frv2 | frv_expand_load_builtin | frv | VLIW | GCC | 30,938 | 116 | 1 | [] |
[
"<s>",
"const",
"MCPhysReg",
"*",
"AArch64RegisterInfo",
"::",
"getCalleeSavedRegs",
"(",
"const",
"MachineFunction",
"*",
"MF",
")",
"const",
"{",
"assert",
"(",
"MF",
"&&",
"\"Invalid MachineFunction pointer.\"",
")",
";",
"if",
"(",
"MF",
"->",
"getFunction",
... | [
"Code",
"Generation",
"virtual",
"methods",
"..."
] | [
"AArch64",
"AArch64",
"\"Invalid MachineFunction pointer.\"",
"AArch64",
"AArch64",
"AArch64"
] | AArch64RegisterInfo3 | getCalleeSavedRegs | AArch64 | CPU | LLVM | 30,939 | 64 | 1 | [] |
[
"<s>",
"void",
"TGSIInstrInfo",
"::",
"loadRegFromStackSlot",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"I",
",",
"unsigned",
"DestReg",
",",
"int",
"fi",
",",
"const",
"TargetRegisterClass",
"*",
"RC",
",",
"const",
"Targ... | [
"Load",
"the",
"specified",
"register",
"of",
"the",
"given",
"register",
"class",
"from",
"the",
"specified",
"stack",
"frame",
"index",
"."
] | [
"TGSI",
"TGSI",
"TGSI::IRegsRegClass",
"TGSI::LDpis",
"TGSI::IVRegsRegClass",
"TGSI::LDpiv",
"TGSI::FRegsRegClass",
"TGSI::LDpfs",
"TGSI::FVRegsRegClass",
"TGSI::LDpfv",
"\"Can't load this register from stack slot\""
] | TGSIInstrInfo | loadRegFromStackSlot | TGSI | Virtual ISA | LLVM | 30,940 | 179 | 1 | [] |
[
"<s>",
"bool",
"MOSAsmPrinter",
"::",
"PrintAsmOperand",
"(",
"const",
"MachineInstr",
"*",
"MI",
",",
"unsigned",
"OpNo",
",",
"const",
"char",
"*",
"ExtraCode",
",",
"raw_ostream",
"&",
"OS",
")",
"{",
"if",
"(",
"!",
"AsmPrinter",
"::",
"PrintAsmOperand",... | [
"PrintAsmOperand",
"-",
"Print",
"out",
"an",
"operand",
"for",
"an",
"inline",
"asm",
"expression",
"."
] | [
"MOS",
"MOS",
"MOS",
"MOS",
"\"Unsupported inline asm operand: \"",
"\"\\n\"",
"MOS::Imag16RegClass",
"MOS::Imag8RegClass",
"\"mos8(\"",
"\")\""
] | MOSAsmPrinter | PrintAsmOperand | MOS | MPU | LLVM | 30,941 | 203 | 1 | [] |
[
"<s>",
"void",
"AMDGPUAsmPrinter",
"::",
"emitFunctionBodyEnd",
"(",
")",
"{",
"const",
"SIMachineFunctionInfo",
"&",
"MFI",
"=",
"*",
"MF",
"->",
"getInfo",
"<",
"SIMachineFunctionInfo",
">",
"(",
")",
";",
"if",
"(",
"!",
"MFI",
".",
"isEntryFunction",
"("... | [
"Targets",
"can",
"override",
"this",
"to",
"emit",
"stuff",
"after",
"the",
"last",
"basic",
"block",
"in",
"the",
"function",
"."
] | [
"AMDGPU",
"AMDGPU",
"SI",
"SI",
"64",
"0",
"1",
"0",
"64",
"64",
"128"
] | AMDGPUAsmPrinter | emitFunctionBodyEnd | AMDGPU | GPU | LLVM | 30,942 | 239 | 1 | [] |
[
"<s>",
"static",
"bool",
"aarch64_pragma_target_parse",
"(",
"tree",
"args",
",",
"tree",
"pop_target",
")",
"{",
"if",
"(",
"args",
")",
"{",
"if",
"(",
"!",
"aarch64_process_target_attr",
"(",
"args",
")",
")",
"return",
"false",
";",
"aarch64_override_optio... | [
"Hook",
"to",
"validate",
"the",
"current",
"#",
"pragma",
"GCC",
"target",
"and",
"set",
"the",
"state",
",",
"and",
"update",
"the",
"macros",
"based",
"on",
"what",
"was",
"changed",
".",
"If",
"ARGS",
"is",
"NULL",
",",
"then",
"POP_TARGET",
"is",
... | [
"aarch64",
"0"
] | aarch64-c1 | aarch64_pragma_target_parse | aarch64 | CPU | GCC | 30,943 | 133 | 1 | [] |
[
"<s>",
"Optional",
"<",
"unsigned",
">",
"AArch64InstrInfo",
"::",
"getUnscaledLdSt",
"(",
"unsigned",
"Opc",
")",
"{",
"switch",
"(",
"Opc",
")",
"{",
"default",
":",
"return",
"{",
"}",
";",
"case",
"AArch64",
"::",
"PRFMui",
":",
"return",
"AArch64",
... | [
"Returns",
"the",
"unscaled",
"load/store",
"for",
"the",
"scaled",
"load/store",
"opcode",
",",
"if",
"there",
"is",
"a",
"corresponding",
"unscaled",
"variant",
"available",
"."
] | [
"AArch64",
"AArch64",
"AArch64::PRFMui",
"AArch64::PRFUMi",
"AArch64::LDRXui",
"AArch64::LDURXi",
"AArch64::LDRWui",
"AArch64::LDURWi",
"AArch64::LDRBui",
"AArch64::LDURBi",
"AArch64::LDRHui",
"AArch64::LDURHi",
"AArch64::LDRSui",
"AArch64::LDURSi",
"AArch64::LDRDui",
"AArch64::LDURDi"... | AArch64InstrInfo10 | getUnscaledLdSt | AArch64 | CPU | LLVM | 30,944 | 265 | 1 | [] |
[
"<s>",
"static",
"tree",
"add_attribute",
"(",
"const",
"char",
"*",
"name",
",",
"tree",
"attrs",
")",
"{",
"return",
"tree_cons",
"(",
"get_identifier",
"(",
"name",
")",
",",
"NULL_TREE",
",",
"attrs",
")",
";",
"}",
"</s>"
] | [
"Add",
"attribute",
"NAME",
"to",
"ATTRS",
"."
] | [
"aarch64"
] | aarch64-sve-builtins | add_attribute | aarch64 | CPU | GCC | 30,945 | 27 | 1 | [] |
[
"<s>",
"void",
"AVRInstrInfo",
"::",
"copyPhysReg",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"MI",
",",
"DebugLoc",
"DL",
",",
"unsigned",
"DestReg",
",",
"unsigned",
"SrcReg",
",",
"bool",
"KillSrc",
")",
"const",
"{",... | [
"}",
"Branch",
"Analysis",
"&",
"Modification"
] | [
"AVR",
"AVR",
"AVR::GPR8RegClass",
"AVR::MOVRdRr",
"AVR::DREGSRegClass",
"AVR::MOVWRdRr",
"AVR::SP",
"AVR::DREGSRegClass",
"AVR::SPREAD",
"AVR::SP",
"AVR::DREGSRegClass",
"AVR::SPWRITE",
"\"Impossible reg-to-reg copy\""
] | AVRInstrInfo15 | copyPhysReg | AVR | MPU | LLVM | 30,946 | 161 | 1 | [] |
[
"<s>",
"const",
"char",
"*",
"getPassName",
"(",
")",
"const",
"override",
"{",
"return",
"\"Copy structure (byval *) arguments to stack\"",
";",
"}",
"</s>"
] | [
"getPassName",
"-",
"Return",
"a",
"nice",
"clean",
"name",
"for",
"a",
"pass",
"."
] | [
"NVPTX",
"\"Copy structure (byval *) arguments to stack\""
] | NVPTXLowerStructArgs | getPassName | NVPTX | GPU | LLVM | 30,947 | 13 | 1 | [] |
[
"<s>",
"static",
"rtx",
"nvptx_function_value",
"(",
"const_tree",
"type",
",",
"const_tree",
"func",
"ATTRIBUTE_UNUSED",
",",
"bool",
"outgoing",
")",
"{",
"int",
"unsignedp",
"=",
"TYPE_UNSIGNED",
"(",
"type",
")",
";",
"machine_mode",
"orig_mode",
"=",
"TYPE_... | [
"TARGET_FUNCTION_VALUE",
"implementation",
".",
"Returns",
"an",
"RTX",
"representing",
"the",
"place",
"where",
"function",
"FUNC",
"returns",
"or",
"receives",
"a",
"value",
"of",
"data",
"type",
"TYPE",
"."
] | [
"nvptx",
"1"
] | nvptx2 | nvptx_function_value | nvptx | GPU | GCC | 30,948 | 85 | 1 | [] |
[
"<s>",
"static",
"bool",
"pdp11_rtx_costs",
"(",
"rtx",
"x",
",",
"machine_mode",
"mode",
",",
"int",
"outer_code",
"ATTRIBUTE_UNUSED",
",",
"int",
"opno",
"ATTRIBUTE_UNUSED",
",",
"int",
"*",
"total",
",",
"bool",
"speed",
"ATTRIBUTE_UNUSED",
")",
"{",
"int",... | [
"This",
"tries",
"to",
"approximate",
"what",
"pdp11_insn_cost",
"would",
"do",
",",
"but",
"without",
"visibility",
"into",
"the",
"actual",
"instruction",
"being",
"generated",
"it",
"'s",
"inevitably",
"a",
"rough",
"approximation",
"."
] | [
"pdp11",
"0",
"1",
"1",
"0",
"2",
"4",
"2",
"11",
"2",
"25",
"2",
"26",
"3",
"1",
"1",
"6",
"2",
"1",
"1",
"8",
"1",
"1",
"1",
"1",
"1",
"2.5",
"0.5",
"1",
"10",
"1",
"2.5",
"0.5",
"1",
"18"
] | pdp115 | pdp11_rtx_costs | pdp11 | MPU | GCC | 30,949 | 469 | 1 | [] |
[
"<s>",
"void",
"init_cumulative_args",
"(",
"CUMULATIVE_ARGS",
"*",
"cum",
",",
"tree",
"fntype",
",",
"rtx",
"libname",
",",
"tree",
"fndecl",
",",
"int",
"caller",
")",
"{",
"struct",
"cgraph_local_info",
"*",
"i",
"=",
"NULL",
";",
"struct",
"cgraph_node"... | [
"Handle",
"the",
"INIT_CUMULATIVE_ARGS",
"macro",
".",
"Initialize",
"a",
"variable",
"CUM",
"of",
"type",
"CUMULATIVE_ARGS",
"for",
"a",
"call",
"to",
"a",
"function",
"whose",
"data",
"type",
"is",
"FNTYPE",
".",
"For",
"a",
"library",
"call",
",",
"FNTYPE... | [
"i386",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"1",
"1",
"0",
"2",
"1"
] | i3864 | init_cumulative_args | i386 | CPU | GCC | 30,950 | 442 | 1 | [] |
[
"<s>",
"static",
"int",
"find_gr_spill",
"(",
"enum",
"ia64_frame_regs",
"r",
",",
"int",
"try_locals",
")",
"{",
"int",
"regno",
";",
"if",
"(",
"emitted_frame_related_regs",
"[",
"r",
"]",
"!=",
"0",
")",
"{",
"regno",
"=",
"emitted_frame_related_regs",
"[... | [
"Helper",
"function",
"for",
"ia64_compute_frame_size",
":",
"find",
"an",
"appropriate",
"general",
"register",
"to",
"spill",
"some",
"special",
"register",
"to",
".",
"SPECIAL_SPILL_MASK",
"contains",
"bits",
"in",
"GR0",
"to",
"GR31",
"that",
"have",
"already"... | [
"ia64",
"0",
"0",
"80",
"0",
"1",
"0",
"1",
"1",
"31",
"1",
"1",
"31",
"1",
"0",
"1",
"80",
"1",
"0"
] | ia64 | find_gr_spill | ia64 | CPU | GCC | 30,951 | 248 | 1 | [] |
[
"<s>",
"int",
"mips_adjust_insn_length",
"(",
"rtx_insn",
"*",
"insn",
",",
"int",
"length",
")",
"{",
"if",
"(",
"length",
"==",
"MAX_PIC_BRANCH_LENGTH",
"&&",
"JUMP_P",
"(",
"insn",
")",
"&&",
"INSN_CODE",
"(",
"insn",
")",
">=",
"0",
"&&",
"get_attr_typ... | [
"Return",
"the",
"length",
"of",
"INSN",
".",
"LENGTH",
"is",
"the",
"initial",
"length",
"computed",
"by",
"attributes",
"in",
"the",
"machine-description",
"file",
"."
] | [
"mips",
"0",
"0",
"8",
"2",
"4",
"2",
"4",
"0",
"2"
] | mips | mips_adjust_insn_length | mips | CPU | GCC | 30,952 | 156 | 1 | [] |
[
"<s>",
"void",
"M680x0RegisterInfo",
"::",
"eliminateFrameIndex",
"(",
"MachineBasicBlock",
"::",
"iterator",
"II",
",",
"int",
"SPAdj",
",",
"unsigned",
"FIOperandNum",
",",
"RegScavenger",
"*",
"RS",
")",
"const",
"{",
"MachineInstr",
"&",
"MI",
"=",
"*",
"I... | [
"This",
"method",
"must",
"be",
"overriden",
"to",
"eliminate",
"abstract",
"frame",
"indices",
"from",
"instructions",
"which",
"may",
"use",
"them",
"."
] | [
"M680x0",
"M680x0",
"M680x0",
"1",
"0",
"0"
] | M680x0RegisterInfo | eliminateFrameIndex | M680x0 | MPU | LLVM | 30,953 | 269 | 1 | [] |
[
"<s>",
"unsigned",
"getReg",
"(",
")",
"const",
"override",
"{",
"assert",
"(",
"Kind",
"==",
"OpKind",
"::",
"Reg",
"&&",
"\"Invalid access!\"",
")",
";",
"return",
"Reg",
".",
"Num",
";",
"}",
"</s>"
] | [
"Returns",
"the",
"register",
"associated",
"with",
"this",
"edge",
"."
] | [
"TPC",
"\"Invalid access!\""
] | TPCAsmParser | getReg | TPC | Virtual ISA | LLVM | 30,954 | 24 | 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",
"PPC",
"\"SplitCSR unimplemented on AIX.\"",
"PPC::X2",
"\"Cold calling unimplemented on AIX.\"",
"PPC",
"PPC",
"PPC",
"PPC",
"PPC",
"PPC"
] | PPCRegisterInfo46 | getCalleeSavedRegs | PowerPC | CPU | LLVM | 30,955 | 312 | 1 | [] |
[
"<s>",
"int",
"AArch64FrameLowering",
"::",
"getFrameIndexReference",
"(",
"const",
"MachineFunction",
"&",
"MF",
",",
"int",
"FI",
",",
"unsigned",
"&",
"FrameReg",
")",
"const",
"{",
"return",
"resolveFrameIndexReference",
"(",
"MF",
",",
"FI",
",",
"FrameReg"... | [
"getFrameIndexReference",
"-",
"This",
"method",
"should",
"return",
"the",
"base",
"register",
"and",
"offset",
"used",
"to",
"reference",
"a",
"frame",
"index",
"location",
"."
] | [
"AArch64",
"AArch64"
] | AArch64FrameLowering103 | getFrameIndexReference | AArch64 | CPU | LLVM | 30,956 | 49 | 1 | [] |
[
"<s>",
"bool",
"ARMTargetLowering",
"::",
"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... | [
"ARM",
"ARM",
"ISD::MemIndexedMode",
"ISD::LOAD",
"ISD::STORE",
"ISD::SEXTLOAD",
"ARM",
"ISD::ADD",
"ISD::POST_INC",
"ISD::POST_DEC"
] | ARMISelLowering153 | getPostIndexedAddressParts | ARM | CPU | LLVM | 30,957 | 305 | 1 | [] |
[
"<s>",
"bool",
"AMDGPUTTIImpl",
"::",
"getTgtMemIntrinsic",
"(",
"IntrinsicInst",
"*",
"Inst",
",",
"MemIntrinsicInfo",
"&",
"Info",
")",
"const",
"{",
"switch",
"(",
"Inst",
"->",
"getIntrinsicID",
"(",
")",
")",
"{",
"case",
"Intrinsic",
"::",
"amdgcn_atomic... | [
"Given",
"an",
"intrinsic",
",",
"checks",
"if",
"on",
"the",
"target",
"the",
"intrinsic",
"will",
"need",
"to",
"map",
"to",
"a",
"MemIntrinsicNode",
"(",
"touches",
"memory",
")",
"."
] | [
"AMDGPU",
"AMDGPU",
"Intrinsic::amdgcn_atomic_inc",
"Intrinsic::amdgcn_atomic_dec",
"2",
"4",
"0"
] | AMDGPUTargetTransformInfo12 | getTgtMemIntrinsic | AMDGPU | GPU | LLVM | 30,958 | 163 | 1 | [] |
[
"<s>",
"StringRef",
"getPassName",
"(",
")",
"const",
"override",
"{",
"return",
"ARM_BRANCH_TARGETS_NAME",
";",
"}",
"</s>"
] | [
"getPassName",
"-",
"Return",
"a",
"nice",
"clean",
"name",
"for",
"a",
"pass",
"."
] | [
"ARM",
"ARM"
] | ARMBranchTargets | getPassName | ARM | CPU | LLVM | 30,959 | 11 | 1 | [] |
[
"<s>",
"static",
"rtx",
"mips_force_address",
"(",
"rtx",
"x",
",",
"machine_mode",
"mode",
")",
"{",
"if",
"(",
"!",
"mips_legitimate_address_p",
"(",
"mode",
",",
"x",
",",
"false",
")",
")",
"x",
"=",
"force_reg",
"(",
"Pmode",
",",
"x",
")",
";",
... | [
"If",
"X",
"is",
"not",
"a",
"valid",
"address",
"for",
"mode",
"MODE",
",",
"force",
"it",
"into",
"a",
"register",
"."
] | [
"mips"
] | mips | mips_force_address | mips | CPU | GCC | 30,960 | 36 | 1 | [] |
[
"<s>",
"bool",
"X86InstructionSelector",
"::",
"select",
"(",
"MachineInstr",
"&",
"I",
")",
"const",
"{",
"assert",
"(",
"I",
".",
"getParent",
"(",
")",
"&&",
"\"Instruction should be in a basic block!\"",
")",
";",
"assert",
"(",
"I",
".",
"getParent",
"(",... | [
"Select",
"the",
"(",
"possibly",
"generic",
")",
"instruction",
"I",
"to",
"only",
"use",
"target-specific",
"opcodes",
"."
] | [
"X86",
"X86",
"\"Instruction should be in a basic block!\"",
"\"Instruction should be in a function!\"",
"\"Generic instruction has unexpected implicit operands\\n\""
] | X86InstructionSelector31 | select | X86 | CPU | LLVM | 30,961 | 179 | 1 | [] |
[
"<s>",
"uint64_t",
"PPCFrameLowering",
"::",
"getBasePointerSaveOffset",
"(",
")",
"const",
"{",
"return",
"BasePointerSaveOffset",
";",
"}",
"</s>"
] | [
"getBasePointerSaveOffset",
"-",
"Return",
"the",
"previous",
"frame",
"offset",
"to",
"save",
"the",
"base",
"pointer",
"."
] | [
"PowerPC",
"PPC"
] | PPCFrameLowering16 | getBasePointerSaveOffset | PowerPC | CPU | LLVM | 30,962 | 12 | 1 | [] |
[
"<s>",
"bool",
"legitimate_pic_operand_p",
"(",
"rtx",
"x",
")",
"{",
"rtx",
"inner",
";",
"switch",
"(",
"GET_CODE",
"(",
"x",
")",
")",
"{",
"case",
"CONST",
":",
"inner",
"=",
"XEXP",
"(",
"x",
",",
"0",
")",
";",
"if",
"(",
"GET_CODE",
"(",
"... | [
"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",
"."... | [
"i386",
"0",
"1",
"0",
"1",
"0",
"0"
] | i3863 | legitimate_pic_operand_p | i386 | CPU | GCC | 30,963 | 141 | 1 | [] |
[
"<s>",
"bool",
"AArch64PassConfig",
"::",
"addPreISel",
"(",
")",
"{",
"if",
"(",
"TM",
"->",
"getOptLevel",
"(",
")",
"!=",
"CodeGenOpt",
"::",
"None",
"&&",
"EnablePromoteConstant",
")",
"addPass",
"(",
"createAArch64PromoteConstantPass",
"(",
")",
")",
";",... | [
"{",
"{",
"@",
"For",
"GlobalISel"
] | [
"AArch64",
"AArch64",
"AArch64",
"4095",
"AArch64"
] | AArch64TargetMachine10 | addPreISel | AArch64 | CPU | LLVM | 30,964 | 114 | 1 | [] |
[
"<s>",
"static",
"rtx",
"loongarch_legitimize_address",
"(",
"rtx",
"x",
",",
"rtx",
"oldx",
"ATTRIBUTE_UNUSED",
",",
"machine_mode",
"mode",
")",
"{",
"rtx",
"base",
",",
"addr",
";",
"HOST_WIDE_INT",
"offset",
";",
"if",
"(",
"loongarch_tls_symbol_p",
"(",
"... | [
"This",
"function",
"is",
"used",
"to",
"implement",
"LEGITIMIZE_ADDRESS",
".",
"If",
"X",
"can",
"be",
"legitimized",
"in",
"a",
"way",
"that",
"the",
"generic",
"machinery",
"might",
"not",
"expect",
",",
"return",
"a",
"new",
"address",
",",
"otherwise",
... | [
"loongarch",
"0"
] | loongarch | loongarch_legitimize_address | loongarch | CPU | GCC | 30,965 | 99 | 1 | [] |
[
"<s>",
"static",
"void",
"fatal",
"(",
"const",
"char",
"*",
"msg",
")",
"{",
"fprintf",
"(",
"stderr",
",",
"\"FATAL: %s\\n\"",
",",
"msg",
")",
";",
"abort",
"(",
")",
";",
"}",
"</s>"
] | [
"Produce",
"a",
"fatal",
"error",
"message",
"."
] | [
"rs6000",
"\"FATAL: %s\\n\""
] | rs6000-gen-builtins | fatal | rs6000 | CPU | GCC | 30,966 | 24 | 1 | [] |
[
"<s>",
"void",
"XtensaRegisterInfo",
"::",
"eliminateFrameIndex",
"(",
"MachineBasicBlock",
"::",
"iterator",
"II",
",",
"int",
"SPAdj",
",",
"unsigned",
"FIOperandNum",
",",
"RegScavenger",
"*",
"RS",
")",
"const",
"{",
"MachineInstr",
"&",
"MI",
"=",
"*",
"I... | [
"This",
"method",
"must",
"be",
"overriden",
"to",
"eliminate",
"abstract",
"frame",
"indices",
"from",
"instructions",
"which",
"may",
"use",
"them",
"."
] | [
"Xtensa",
"Xtensa",
"\"Couldn't reach here\""
] | XtensaRegisterInfo | eliminateFrameIndex | Xtensa | MPU | LLVM | 30,967 | 49 | 1 | [] |
[
"<s>",
"static",
"void",
"ix86_seh_fixup_eh_fallthru",
"(",
"void",
")",
"{",
"edge",
"e",
";",
"edge_iterator",
"ei",
";",
"FOR_EACH_EDGE",
"(",
"e",
",",
"ei",
",",
"EXIT_BLOCK_PTR_FOR_FN",
"(",
"cfun",
")",
"->",
"preds",
")",
"{",
"rtx_insn",
"*",
"ins... | [
"Fix",
"up",
"a",
"Windows",
"system",
"unwinder",
"issue",
".",
"If",
"an",
"EH",
"region",
"falls",
"through",
"into",
"the",
"epilogue",
",",
"the",
"Windows",
"system",
"unwinder",
"will",
"apply",
"epilogue",
"logic",
"and",
"produce",
"incorrect",
"off... | [
"i386"
] | i3864 | ix86_seh_fixup_eh_fallthru | i386 | CPU | GCC | 30,968 | 163 | 1 | [] |
[
"<s>",
"void",
"s390_indirect_branch_via_inline_thunk",
"(",
"rtx",
"execute_target",
")",
"{",
"if",
"(",
"TARGET_INDIRECT_BRANCH_TABLE",
")",
"{",
"char",
"label",
"[",
"32",
"]",
";",
"ASM_GENERATE_INTERNAL_LABEL",
"(",
"label",
",",
"indirect_branch_table_label",
... | [
"Output",
"an",
"inline",
"thunk",
"for",
"indirect",
"jumps",
".",
"EXECUTE_TARGET",
"can",
"either",
"be",
"an",
"address",
"register",
"or",
"a",
"label",
"pointing",
"to",
"the",
"location",
"of",
"the",
"jump",
"instruction",
"."
] | [
"s390",
"32",
"\"\\t.machinemode zarch\\n\"",
"\"\\tex\\t%%r0,0(%%r%d)\\n\"",
"\"\\texrl\\t%%r0,%0\"",
"\"\\t.machinemode esa\\n\"",
"\"0:\\tj\\t0b\\n\""
] | s390 | s390_indirect_branch_via_inline_thunk | s390 | MPU | GCC | 30,969 | 102 | 1 | [] |
[
"<s>",
"RegisterRef",
"RegisterAggr",
"::",
"normalize",
"(",
"RegisterRef",
"RR",
")",
"const",
"{",
"const",
"TargetRegisterClass",
"*",
"RC",
"=",
"PRI",
".",
"RegInfos",
"[",
"RR",
".",
"Reg",
"]",
".",
"RegClass",
";",
"LaneBitmask",
"RCMask",
"=",
"R... | [
"Weight",
"normalization",
"function",
"."
] | [
"Hexagon",
"0x00000001"
] | RDFRegisters3 | normalize | Hexagon | DSP | LLVM | 30,970 | 108 | 1 | [] |
[
"<s>",
"bool",
"WebAssemblyArgumentMove",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"{",
"LLVM_DEBUG",
"(",
"{",
"dbgs",
"(",
")",
"<<",
"\"********** Argument Move **********\\n\"",
"<<",
"\"********** Function: \"",
"<<",
"MF",
".",
"getN... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"WebAssembly",
"WebAssembly",
"\"********** Argument Move **********\\n\"",
"\"********** Function: \"",
"WebAssembly::isArgument",
"WebAssembly::isArgument"
] | WebAssemblyArgumentMove12 | runOnMachineFunction | WebAssembly | Virtual ISA | LLVM | 30,971 | 139 | 1 | [] |
[
"<s>",
"bool",
"MVEVPTBlock",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"Fn",
")",
"{",
"if",
"(",
"skipFunction",
"(",
"Fn",
".",
"getFunction",
"(",
")",
")",
")",
"return",
"false",
";",
"const",
"ARMSubtarget",
"&",
"STI",
"=",
"static... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"ARM",
"ARM",
"ARM",
"\"********** ARM MVE VPT BLOCKS **********\\n\"",
"\"********** Function: \"",
"\"**************************************\\n\""
] | MVEVPTBlockPass16 | runOnMachineFunction | ARM | CPU | LLVM | 30,972 | 140 | 1 | [] |
[
"<s>",
"static",
"void",
"s390_restore_gprs_from_fprs",
"(",
"void",
")",
"{",
"int",
"i",
";",
"if",
"(",
"!",
"TARGET_Z10",
"||",
"!",
"TARGET_HARD_FLOAT",
"||",
"!",
"crtl",
"->",
"is_leaf",
")",
"return",
";",
"for",
"(",
"i",
"=",
"6",
";",
"i",
... | [
"Restore",
"GPRs",
"from",
"FPR",
"save",
"slots",
"."
] | [
"s390",
"6",
"16",
"1"
] | s3905 | s390_restore_gprs_from_fprs | s390 | MPU | GCC | 30,973 | 152 | 1 | [] |
[
"<s>",
"virtual",
"const",
"char",
"*",
"getPassName",
"(",
")",
"const",
"{",
"return",
"\"Cell SPU DAG->DAG Pattern Instruction Selection\"",
";",
"}",
"</s>"
] | [
"getPassName",
"-",
"Return",
"a",
"nice",
"clean",
"name",
"for",
"a",
"pass",
"."
] | [
"CellSPU",
"\"Cell SPU DAG->DAG Pattern Instruction Selection\""
] | SPUISelDAGToDAG | getPassName | CellSPU | MPU | LLVM | 30,974 | 13 | 1 | [] |
[
"<s>",
"static",
"void",
"do_ifelse",
"(",
"machine_mode",
"cmpmode",
",",
"rtx_code",
"comparison",
",",
"rtx",
"a",
",",
"rtx",
"b",
",",
"rtx",
"cr",
",",
"rtx",
"true_label",
",",
"profile_probability",
"br_prob",
")",
"{",
"gcc_assert",
"(",
"(",
"a",... | [
"Do",
"a",
"branch",
"for",
"an",
"if/else",
"decision",
".",
"CMPMODE",
"is",
"the",
"mode",
"to",
"use",
"for",
"the",
"comparison",
".",
"COMPARISON",
"is",
"the",
"rtx",
"code",
"for",
"the",
"compare",
"needed",
".",
"A",
"is",
"the",
"first",
"th... | [
"rs6000",
"1"
] | rs6000-string | do_ifelse | rs6000 | CPU | GCC | 30,975 | 171 | 1 | [] |
[
"<s>",
"virtual",
"const",
"TargetSubtargetInfo",
"*",
"getSubtargetImpl",
"(",
"const",
"Function",
"&",
")",
"const",
"override",
"{",
"return",
"&",
"Subtarget",
";",
"}",
"</s>"
] | [
"Virtual",
"method",
"implemented",
"by",
"subclasses",
"that",
"returns",
"a",
"reference",
"to",
"that",
"target",
"'s",
"TargetSubtargetInfo-derived",
"member",
"variable",
"."
] | [
"LC3"
] | LC3TargetMachine | getSubtargetImpl | LC3 | CPU | LLVM | 30,976 | 18 | 1 | [] |
[
"<s>",
"void",
"MipsAsmPrinter",
"::",
"emitInlineAsmStart",
"(",
")",
"const",
"{",
"MipsTargetStreamer",
"&",
"TS",
"=",
"getTargetStreamer",
"(",
")",
";",
"TS",
".",
"emitDirectiveSetPush",
"(",
")",
";",
"TS",
".",
"emitDirectiveSetAt",
"(",
")",
";",
"... | [
"Let",
"the",
"target",
"do",
"anything",
"it",
"needs",
"to",
"do",
"before",
"emitting",
"inlineasm",
"."
] | [
"Mips",
"Mips",
"Mips"
] | MipsAsmPrinter22 | emitInlineAsmStart | Mips | CPU | LLVM | 30,977 | 47 | 1 | [] |
[
"<s>",
"static",
"int",
"ix86_register_move_cost",
"(",
"machine_mode",
"mode",
",",
"reg_class_t",
"class1_i",
",",
"reg_class_t",
"class2_i",
")",
"{",
"enum",
"reg_class",
"class1",
"=",
"(",
"enum",
"reg_class",
")",
"class1_i",
";",
"enum",
"reg_class",
"cl... | [
"Return",
"the",
"cost",
"of",
"moving",
"data",
"from",
"a",
"register",
"in",
"class",
"CLASS1",
"to",
"one",
"in",
"class",
"CLASS2",
".",
"It",
"is",
"not",
"required",
"that",
"the",
"cost",
"always",
"equal",
"2",
"when",
"FROM",
"is",
"the",
"sa... | [
"i386",
"0",
"1",
"2",
"2",
"20",
"20",
"8",
"2"
] | i3864 | ix86_register_move_cost | i386 | CPU | GCC | 30,978 | 205 | 1 | [] |
[
"<s>",
"MachineBasicBlock",
"::",
"iterator",
"X86FrameLowering",
"::",
"restoreWin32EHStackPointers",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"MBBI",
",",
"const",
"DebugLoc",
"&",
"DL",
",",
"bool",
"RestoreSP",
")",
"cons... | [
"Sets",
"up",
"EBP",
"and",
"optionally",
"ESI",
"based",
"on",
"the",
"incoming",
"EBP",
"value",
"."
] | [
"X86",
"X86",
"\"funclets only supported in MSVC env\"",
"\"EBP/ESI restoration only required on win32\"",
"\"restoring EBP/ESI on non-32-bit target\"",
"X86",
"X86",
"X86",
"X86::MOV32rm",
"X86::ESP",
"X86::EBP",
"3",
"0",
"\"end of registration object above normal EBP position!\"",
"X8... | X86FrameLowering101 | restoreWin32EHStackPointers | X86 | CPU | LLVM | 30,979 | 415 | 1 | [] |
[
"<s>",
"static",
"struct",
"rbt_string_node",
"*",
"rbt_create_node",
"(",
"struct",
"rbt_strings",
"*",
"t",
",",
"char",
"*",
"str",
")",
"{",
"struct",
"rbt_string_node",
"*",
"nodeptr",
"=",
"(",
"struct",
"rbt_string_node",
"*",
")",
"malloc",
"(",
"siz... | [
"Create",
"a",
"new",
"node",
"to",
"be",
"inserted",
"into",
"the",
"red-black",
"tree",
".",
"An",
"inserted",
"node",
"starts",
"out",
"red",
"."
] | [
"rs6000"
] | rbtree | rbt_create_node | rs6000 | CPU | GCC | 30,980 | 72 | 1 | [] |
[
"<s>",
"X86TargetMachine",
"::",
"X86TargetMachine",
"(",
"const",
"Target",
"&",
"T",
",",
"StringRef",
"TT",
",",
"StringRef",
"CPU",
",",
"StringRef",
"FS",
",",
"const",
"TargetOptions",
"&",
"Options",
",",
"Reloc",
"::",
"Model",
"RM",
",",
"CodeModel"... | [
"Create",
"an",
"X86",
"target",
"."
] | [
"X86",
"X86",
"X86"
] | X86TargetMachine112 | X86TargetMachine | X86 | CPU | LLVM | 30,981 | 128 | 1 | [] |
[
"<s>",
"const",
"MCExpr",
"*",
"getSubExpr",
"(",
")",
"const",
"{",
"return",
"SubExpr",
";",
"}",
"</s>"
] | [
"getSubExpr",
"-",
"Get",
"the",
"child",
"of",
"this",
"expression",
"."
] | [
"MOS"
] | MOSMCExpr | getSubExpr | MOS | MPU | LLVM | 30,982 | 12 | 1 | [] |
[
"<s>",
"void",
"TVMTargetLowering",
"::",
"ReplaceNodeResults",
"(",
"SDNode",
"*",
"N",
",",
"SmallVectorImpl",
"<",
"SDValue",
">",
"&",
"Results",
",",
"SelectionDAG",
"&",
"DAG",
")",
"const",
"{",
"switch",
"(",
"N",
"->",
"getOpcode",
"(",
")",
")",
... | [
"ReplaceNodeResults",
"-",
"Replace",
"the",
"results",
"of",
"node",
"with",
"an",
"illegal",
"result",
"type",
"with",
"new",
"values",
"built",
"out",
"of",
"custom",
"code",
"."
] | [
"TVM",
"TVM",
"\"Do not know how to custom type legalize this operation!\"",
"ISD::GlobalAddress",
"0",
"ISD::ExternalSymbol",
"0",
"ISD::TargetFrameIndex",
"ISD::FrameIndex",
"0",
"ISD::LOAD"
] | TVMISelLowering | ReplaceNodeResults | TVM | Virtual ISA | LLVM | 30,983 | 135 | 1 | [] |
[
"<s>",
"void",
"HexagonDAGToDAGISel",
"::",
"Select",
"(",
"SDNode",
"*",
"N",
")",
"{",
"if",
"(",
"N",
"->",
"isMachineOpcode",
"(",
")",
")",
"{",
"N",
"->",
"setNodeId",
"(",
"-",
"1",
")",
";",
"return",
";",
"}",
"switch",
"(",
"N",
"->",
"... | [
"Main",
"hook",
"for",
"targets",
"to",
"transform",
"nodes",
"into",
"machine",
"nodes",
"."
] | [
"Hexagon",
"Hexagon",
"1",
"ISD::Constant",
"ISD::ConstantFP",
"ISD::FrameIndex",
"ISD::ADD",
"ISD::BITCAST",
"ISD::SHL",
"ISD::LOAD",
"ISD::STORE",
"ISD::MUL",
"ISD::AND",
"ISD::OR",
"ISD::XOR",
"ISD::FABS",
"ISD::FNEG",
"ISD::ZERO_EXTEND",
"ISD::INTRINSIC_W_CHAIN",
"ISD::INTR... | HexagonISelDAGToDAG4 | Select | Hexagon | DSP | LLVM | 30,984 | 222 | 1 | [] |
[
"<s>",
"Value",
"*",
"AArch64TargetLowering",
"::",
"getSafeStackPointerLocation",
"(",
"IRBuilder",
"<",
">",
"&",
"IRB",
")",
"const",
"{",
"if",
"(",
"Subtarget",
"->",
"isTargetAndroid",
"(",
")",
")",
"return",
"UseTlsOffset",
"(",
"IRB",
",",
"0x48",
"... | [
"Return",
"true",
"if",
"the",
"target",
"stores",
"SafeStack",
"pointer",
"at",
"a",
"fixed",
"offset",
"in",
"some",
"non-standard",
"address",
"space",
",",
"and",
"populates",
"the",
"address",
"space",
"and",
"offset",
"as",
"appropriate",
"."
] | [
"AArch64",
"AArch64",
"0x48",
"0x8"
] | AArch64ISelLowering (2)3 | getSafeStackPointerLocation | AArch64 | CPU | LLVM | 30,985 | 56 | 1 | [] |
[
"<s>",
"void",
"MipsSEFrameLowering",
"::",
"determineCalleeSaves",
"(",
"MachineFunction",
"&",
"MF",
",",
"BitVector",
"&",
"SavedRegs",
",",
"RegScavenger",
"*",
"RS",
")",
"const",
"{",
"TargetFrameLowering",
"::",
"determineCalleeSaves",
"(",
"MF",
",",
"Save... | [
"This",
"method",
"determines",
"which",
"of",
"the",
"registers",
"reported",
"by",
"TargetRegisterInfo",
":",
":getCalleeSavedRegs",
"(",
")",
"should",
"actually",
"get",
"saved",
"."
] | [
"Mips",
"Mips",
"Mips",
"Mips",
"Mips",
"Mips",
"Mips::S7_64",
"Mips::S7",
"Mips",
"Mips",
"Mips",
"Mips",
"Mips",
"Mips::GPR64RegClass",
"Mips::GPR32RegClass",
"10",
"16",
"Mips::GPR64RegClass",
"Mips::GPR32RegClass"
] | MipsSEFrameLowering43 | determineCalleeSaves | Mips | CPU | LLVM | 30,986 | 313 | 1 | [] |
[
"<s>",
"bool",
"mips_store_data_bypass_p",
"(",
"rtx_insn",
"*",
"out_insn",
",",
"rtx_insn",
"*",
"in_insn",
")",
"{",
"if",
"(",
"GET_CODE",
"(",
"PATTERN",
"(",
"in_insn",
")",
")",
"==",
"UNSPEC_VOLATILE",
")",
"return",
"false",
";",
"return",
"!",
"s... | [
"True",
"if",
"the",
"dependency",
"between",
"OUT_INSN",
"and",
"IN_INSN",
"is",
"on",
"the",
"store",
"data",
"rather",
"than",
"the",
"address",
".",
"We",
"need",
"this",
"because",
"the",
"cprestore",
"pattern",
"is",
"type",
"``",
"store",
"''",
",",... | [
"mips"
] | mips4 | mips_store_data_bypass_p | mips | CPU | GCC | 30,987 | 37 | 1 | [] |
[
"<s>",
"bool",
"Z80oldTargetLowering",
"::",
"isTypeDesirableForOp",
"(",
"unsigned",
"Opc",
",",
"EVT",
"VT",
")",
"const",
"{",
"if",
"(",
"!",
"isTypeLegal",
"(",
"VT",
")",
")",
"{",
"return",
"false",
";",
"}",
"if",
"(",
"Subtarget",
".",
"is16Bit"... | [
"Return",
"true",
"if",
"the",
"target",
"has",
"native",
"support",
"for",
"the",
"specified",
"value",
"type",
"and",
"it",
"is",
"'desirable",
"'",
"to",
"use",
"the",
"type",
"for",
"the",
"given",
"node",
"type",
"."
] | [
"Z80old",
"Z80old",
"ISD::SIGN_EXTEND",
"ISD::ZERO_EXTEND",
"ISD::ANY_EXTEND",
"ISD::LOAD",
"ISD::STORE",
"ISD::ADD",
"ISD::SUB",
"MVT::i16",
"ISD::MUL",
"ISD::AND",
"ISD::OR",
"ISD::XOR",
"ISD::SHL",
"ISD::SRA",
"ISD::SRL",
"MVT::i24"
] | Z80oldISelLowering | isTypeDesirableForOp | Z80old | MPU | LLVM | 30,988 | 138 | 1 | [] |
[
"<s>",
"static",
"void",
"r10k_needs_protection_p_store",
"(",
"rtx",
"x",
",",
"const_rtx",
"pat",
"ATTRIBUTE_UNUSED",
",",
"void",
"*",
"data",
")",
"{",
"rtx_insn",
"*",
"*",
"insn_ptr",
";",
"insn_ptr",
"=",
"(",
"rtx_insn",
"*",
"*",
")",
"data",
";",... | [
"A",
"note_stores",
"callback",
"for",
"which",
"DATA",
"points",
"to",
"an",
"instruction",
"pointer",
".",
"If",
"*",
"DATA",
"is",
"nonnull",
",",
"make",
"it",
"null",
"if",
"it",
"X",
"contains",
"a",
"MEM",
"that",
"is",
"not",
"safe",
"from",
"R... | [
"mips"
] | mips | r10k_needs_protection_p_store | mips | CPU | GCC | 30,989 | 49 | 1 | [] |
[
"<s>",
"int64_t",
"getNamedImmOperand",
"(",
"const",
"MachineInstr",
"&",
"MI",
",",
"unsigned",
"OpName",
")",
"const",
"{",
"int",
"Idx",
"=",
"AMDGPU",
"::",
"getNamedOperandIdx",
"(",
"MI",
".",
"getOpcode",
"(",
")",
",",
"OpName",
")",
";",
"return"... | [
"Get",
"required",
"immediate",
"operand",
"."
] | [
"AMDGPU",
"AMDGPU::getNamedOperandIdx"
] | SIInstrInfo (2) | getNamedImmOperand | AMDGPU | GPU | LLVM | 30,990 | 42 | 1 | [] |
[
"<s>",
"bool",
"isIntDivCheap",
"(",
"EVT",
",",
"AttributeList",
")",
"const",
"override",
"{",
"return",
"false",
";",
"}",
"</s>"
] | [
"Return",
"true",
"if",
"integer",
"divide",
"is",
"usually",
"cheaper",
"than",
"a",
"sequence",
"of",
"several",
"shifts",
",",
"adds",
",",
"and",
"multiplies",
"for",
"this",
"target",
"."
] | [
"VE"
] | VEISelLowering | isIntDivCheap | VE | CPU | LLVM | 30,991 | 14 | 1 | [] |
[
"<s>",
"void",
"PPCTargetLowering",
"::",
"insertCopiesSplitCSR",
"(",
"MachineBasicBlock",
"*",
"Entry",
",",
"const",
"SmallVectorImpl",
"<",
"MachineBasicBlock",
"*",
">",
"&",
"Exits",
")",
"const",
"{",
"const",
"PPCRegisterInfo",
"*",
"TRI",
"=",
"Subtarget"... | [
"Insert",
"explicit",
"copies",
"in",
"entry",
"and",
"exit",
"blocks",
"."
] | [
"PowerPC",
"PPC",
"PPC",
"PPC::G8RCRegClass",
"PPC::G8RCRegClass",
"PPC::F8RCRegClass",
"PPC::F8RCRegClass",
"PPC::CRRCRegClass",
"PPC::CRRCRegClass",
"PPC::VRRCRegClass",
"PPC::VRRCRegClass",
"\"Unexpected register class in CSRsViaCopy!\"",
"\"Function should be nounwind in insertCopiesSpli... | PPCISelLowering10 | insertCopiesSplitCSR | PowerPC | CPU | LLVM | 30,992 | 311 | 1 | [] |
[
"<s>",
"void",
"X86IntelInstPrinter",
"::",
"printInst",
"(",
"const",
"MCInst",
"*",
"MI",
",",
"raw_ostream",
"&",
"OS",
",",
"StringRef",
"Annot",
",",
"const",
"MCSubtargetInfo",
"&",
"STI",
")",
"{",
"const",
"MCInstrDesc",
"&",
"Desc",
"=",
"MII",
".... | [
"Print",
"the",
"specified",
"MCInst",
"to",
"the",
"specified",
"raw_ostream",
"."
] | [
"X86",
"X86",
"X86II::LOCK",
"X86::IP_HAS_LOCK",
"\"\\tlock\\t\"",
"X86::IP_HAS_REPEAT_NE",
"\"\\trepne\\t\"",
"X86::IP_HAS_REPEAT",
"\"\\trep\\t\"",
"X86II::NOTRACK",
"X86::IP_HAS_NOTRACK",
"\"\\tnotrack\\t\"",
"X86"
] | X86IntelInstPrinter34 | printInst | X86 | CPU | LLVM | 30,993 | 153 | 1 | [] |
[
"<s>",
"void",
"getAnalysisUsage",
"(",
"AnalysisUsage",
"&",
"AU",
")",
"const",
"override",
"{",
"AU",
".",
"addRequired",
"<",
"AMDGPUArgumentUsageInfo",
">",
"(",
")",
";",
"AU",
".",
"addRequired",
"<",
"AMDGPUPerfHintAnalysis",
">",
"(",
")",
";",
"AU"... | [
"getAnalysisUsage",
"-",
"Subclasses",
"that",
"override",
"getAnalysisUsage",
"must",
"call",
"this",
"."
] | [
"AMDGPU",
"AMDGPU",
"AMDGPU"
] | AMDGPUISelDAGToDAG10 | getAnalysisUsage | AMDGPU | GPU | LLVM | 30,994 | 45 | 1 | [] |
[
"<s>",
"static",
"reg_class_t",
"mmix_preferred_output_reload_class",
"(",
"rtx",
"x",
",",
"reg_class_t",
"rclass",
")",
"{",
"return",
"GET_CODE",
"(",
"x",
")",
"==",
"MOD",
"&&",
"GET_MODE",
"(",
"x",
")",
"==",
"DImode",
"?",
"REMAINDER_REG",
":",
"rcla... | [
"PREFERRED_OUTPUT_RELOAD_CLASS",
".",
"We",
"need",
"to",
"extend",
"the",
"reload",
"class",
"of",
"REMAINDER_REG",
"and",
"HIMULT_REG",
"."
] | [
"mmix"
] | mmix | mmix_preferred_output_reload_class | mmix | CPU | GCC | 30,995 | 31 | 1 | [] |
[
"<s>",
"void",
"AMDGPUAsmPrinter",
"::",
"EmitInstruction",
"(",
"const",
"MachineInstr",
"*",
"MI",
")",
"{",
"AMDGPUMCInstLower",
"MCInstLowering",
"(",
"OutContext",
",",
"MF",
"->",
"getSubtarget",
"<",
"AMDGPUSubtarget",
">",
"(",
")",
")",
";",
"StringRef"... | [
"EmitInstruction",
"-",
"This",
"callback",
"is",
"invoked",
"when",
"an",
"instruction",
"is",
"emitted",
",",
"to",
"advance",
"the",
"hazard",
"state",
"."
] | [
"R600",
"\"Warning: Illegal instruction detected: \"",
"\"\\n\"",
"1",
"4",
"16",
"1",
"0",
"4",
"\"%s%08X\"",
"0",
"\" \"",
"\"\""
] | AMDGPUMCInstLower14 | EmitInstruction | R600 | GPU | LLVM | 30,996 | 414 | 1 | [] |
[
"<s>",
"bool",
"WebAssemblyInstrInfo",
"::",
"reverseBranchCondition",
"(",
"SmallVectorImpl",
"<",
"MachineOperand",
">",
"&",
"Cond",
")",
"const",
"{",
"assert",
"(",
"Cond",
".",
"size",
"(",
")",
"==",
"2",
"&&",
"\"Expected a flag and a condition expression\""... | [
"Reverses",
"the",
"branch",
"condition",
"of",
"the",
"specified",
"condition",
"list",
",",
"returning",
"false",
"on",
"success",
"and",
"true",
"if",
"it",
"can",
"not",
"be",
"reversed",
"."
] | [
"WebAssembly",
"WebAssembly",
"2",
"\"Expected a flag and a condition expression\""
] | WebAssemblyInstrInfo11 | reverseBranchCondition | WebAssembly | Virtual ISA | LLVM | 30,997 | 53 | 1 | [] |
[
"<s>",
"static",
"bool",
"mips_expand_ghost_gp_insns",
"(",
"void",
")",
"{",
"if",
"(",
"!",
"TARGET_USE_GOT",
"||",
"cfun",
"->",
"machine",
"->",
"global_pointer",
"==",
"INVALID_REGNUM",
"||",
"mips_must_initialize_gp_p",
"(",
")",
")",
"return",
"false",
";... | [
"If",
"we",
"are",
"using",
"a",
"GOT",
",",
"but",
"have",
"not",
"decided",
"to",
"use",
"a",
"global",
"pointer",
"yet",
",",
"see",
"whether",
"we",
"need",
"one",
"to",
"implement",
"long",
"branches",
".",
"Convert",
"the",
"ghost",
"global-pointer... | [
"mips"
] | mips | mips_expand_ghost_gp_insns | mips | CPU | GCC | 30,998 | 53 | 1 | [] |
[
"<s>",
"bool",
"TLCS900FrameLowering",
"::",
"hasFP",
"(",
"const",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"const",
"MachineFrameInfo",
"*",
"MFI",
"=",
"MF",
".",
"getFrameInfo",
"(",
")",
";",
"return",
"(",
"MF",
".",
"getTarget",
"(",
")",
... | [
"hasFP",
"-",
"Return",
"true",
"if",
"the",
"specified",
"function",
"should",
"have",
"a",
"dedicated",
"frame",
"pointer",
"register",
"."
] | [
"TLCS900",
"TLCS900"
] | TLCS900FrameLowering | hasFP | TLCS900 | MPU | LLVM | 30,999 | 56 | 1 | [] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.