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>",
"static",
"void",
"emit_final_compare_vec",
"(",
"rtx",
"str1",
",",
"rtx",
"str2",
",",
"rtx",
"result",
",",
"rtx",
"s1addr",
",",
"rtx",
"s2addr",
",",
"rtx",
"orig_src1",
",",
"rtx",
"orig_src2",
",",
"rtx",
"off_reg",
",",
"rtx",
"vec_result",
... | [
"Generate",
"the",
"final",
"sequence",
"that",
"identifies",
"the",
"differing",
"byte",
"and",
"generates",
"the",
"final",
"result",
",",
"taking",
"into",
"account",
"zero",
"bytes",
":",
"P8",
":",
"vgbbd",
"0,0",
"vsldoi",
"0,0,0,9",
"mfvsrd",
"9,32",
... | [
"rs6000",
"0",
"0",
"7",
"9",
"0",
"0",
"0"
] | rs6000-string | emit_final_compare_vec | rs6000 | CPU | GCC | 2,700 | 379 | 1 | [] |
[
"<s>",
"static",
"void",
"rbt_right_rotate",
"(",
"struct",
"rbt_strings",
"*",
"t",
",",
"struct",
"rbt_string_node",
"*",
"node",
")",
"{",
"struct",
"rbt_string_node",
"*",
"left",
"=",
"node",
"->",
"left",
";",
"assert",
"(",
"left",
")",
";",
"node",... | [
"Perform",
"a",
"right-rotate",
"operation",
"on",
"NODE",
"in",
"the",
"red-black",
"tree",
"."
] | [
"rs6000"
] | rbtree | rbt_right_rotate | rs6000 | CPU | GCC | 2,701 | 120 | 1 | [] |
[
"<s>",
"static",
"enum",
"machine_mode",
"s390_cc_modes_compatible",
"(",
"enum",
"machine_mode",
"m1",
",",
"enum",
"machine_mode",
"m2",
")",
"{",
"if",
"(",
"m1",
"==",
"m2",
")",
"return",
"m1",
";",
"switch",
"(",
"m1",
")",
"{",
"case",
"CCZmode",
... | [
"If",
"two",
"condition",
"code",
"modes",
"are",
"compatible",
",",
"return",
"a",
"condition",
"code",
"mode",
"which",
"is",
"compatible",
"with",
"both",
".",
"Otherwise",
",",
"return",
"VOIDmode",
"."
] | [
"s390"
] | s3903 | s390_cc_modes_compatible | s390 | MPU | GCC | 2,702 | 103 | 1 | [] |
[
"<s>",
"bool",
"AArch64InstrInfo",
"::",
"analyzeBranchPredicate",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBranchPredicate",
"&",
"MBP",
",",
"bool",
"AllowModify",
")",
"const",
"{",
"MachineBasicBlock",
"::",
"iterator",
"I",
"=",
"MBB",
".",
"getLast... | [
"Analyze",
"the",
"branching",
"code",
"at",
"the",
"end",
"of",
"MBB",
"and",
"parse",
"it",
"into",
"the",
"MachineBranchPredicate",
"structure",
"if",
"possible",
"."
] | [
"AArch64",
"AArch64",
"AArch64::SpeculationBarrierISBDSBEndBB",
"AArch64::SpeculationBarrierSBEndBB",
"AArch64::CBZW",
"AArch64::CBZX",
"AArch64::CBNZW",
"AArch64::CBNZX",
"1",
"\"expected!\"",
"0",
"0",
"AArch64::CBNZX"
] | AArch64InstrInfo105 | analyzeBranchPredicate | AArch64 | CPU | LLVM | 2,703 | 233 | 1 | [] |
[
"<s>",
"unsigned",
"AVRInstrInfo",
"::",
"removeBranch",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"int",
"*",
"BytesRemoved",
")",
"const",
"{",
"if",
"(",
"BytesRemoved",
")",
"*",
"BytesRemoved",
"=",
"0",
";",
"MachineBasicBlock",
"::",
"iterator",
"I",
... | [
"Remove",
"the",
"branching",
"code",
"at",
"the",
"end",
"of",
"the",
"specific",
"MBB",
"."
] | [
"AVR",
"AVR",
"0",
"0",
"AVR::RJMPk",
"AVRCC::COND_INVALID"
] | AVRInstrInfo | removeBranch | AVR | MPU | LLVM | 2,704 | 130 | 1 | [] |
[
"<s>",
"SDValue",
"XCoreTargetLowering",
"::",
"LowerReturn",
"(",
"SDValue",
"Chain",
",",
"CallingConv",
"::",
"ID",
"CallConv",
",",
"bool",
"isVarArg",
",",
"const",
"SmallVectorImpl",
"<",
"ISD",
"::",
"OutputArg",
">",
"&",
"Outs",
",",
"const",
"SmallVe... | [
"This",
"hook",
"must",
"be",
"implemented",
"to",
"lower",
"outgoing",
"return",
"values",
",",
"described",
"by",
"the",
"Outs",
"array",
",",
"into",
"the",
"specified",
"DAG",
"."
] | [
"XCore",
"XCore",
"ISD::OutputArg",
"XCore",
"XCore",
"16",
"4",
"XCore",
"4",
"1",
"0",
"MVT::i32",
"4",
"0",
"\"Can't return value from vararg function in memory\"",
"8",
"MVT::i32",
"0",
"ISD::TokenFactor",
"MVT::Other",
"0",
"1",
"0",
"XCoreISD::RETSP",
"MVT::Othe... | XCoreISelLowering44 | LowerReturn | XCore | MPU | LLVM | 2,705 | 497 | 1 | [] |
[
"<s>",
"auto",
"size",
"(",
")",
"const",
"{",
"return",
"Data",
".",
"size",
"(",
")",
";",
"}",
"</s>"
] | [
"The",
"number",
"of",
"name/type",
"pairs",
"is",
"returned",
"."
] | [
"TVM"
] | TVMStack | size | TVM | Virtual ISA | LLVM | 2,706 | 14 | 1 | [] |
[
"<s>",
"static",
"bool",
"frv_must_pass_in_stack",
"(",
"const",
"function_arg_info",
"&",
"arg",
")",
"{",
"return",
"arg",
".",
"mode",
"==",
"BLKmode",
"||",
"arg",
".",
"aggregate_type_p",
"(",
")",
";",
"}",
"</s>"
] | [
"Return",
"true",
"if",
"we",
"should",
"pass",
"an",
"argument",
"on",
"the",
"stack",
"rather",
"than",
"in",
"registers",
"."
] | [
"frv"
] | frv | frv_must_pass_in_stack | frv | VLIW | GCC | 2,707 | 24 | 1 | [] |
[
"<s>",
"void",
"LC2200MCCodeEmitter",
"::",
"encodeInstruction",
"(",
"const",
"MCInst",
"&",
"Inst",
",",
"raw_ostream",
"&",
"OS",
",",
"SmallVectorImpl",
"<",
"MCFixup",
">",
"&",
"Fixups",
",",
"const",
"MCSubtargetInfo",
"&",
"STI",
")",
"const",
"{",
"... | [
"Encode",
"the",
"given",
"Inst",
"to",
"bytes",
"and",
"append",
"to",
"CB",
"."
] | [
"LC2200",
"LC2200",
"0",
"4"
] | LC2200MCCodeEmitter | encodeInstruction | LC2200 | CPU | LLVM | 2,708 | 57 | 1 | [] |
[
"<s>",
"unsigned",
"AArch64TTIImpl",
"::",
"getIntrinsicInstrCost",
"(",
"const",
"IntrinsicCostAttributes",
"&",
"ICA",
",",
"TTI",
"::",
"TargetCostKind",
"CostKind",
")",
"{",
"auto",
"*",
"RetTy",
"=",
"ICA",
".",
"getReturnType",
"(",
")",
";",
"switch",
... | [
"Get",
"intrinsic",
"cost",
"based",
"on",
"arguments",
"."
] | [
"AArch64",
"AArch64",
"Intrinsic::smin",
"Intrinsic::umin",
"Intrinsic::smax",
"Intrinsic::umax",
"MVT::v8i8",
"MVT::v16i8",
"MVT::v4i16",
"MVT::v8i16",
"MVT::v2i32",
"MVT::v4i32"
] | AArch64TargetTransformInfo4 | getIntrinsicInstrCost | AArch64 | CPU | LLVM | 2,709 | 148 | 1 | [] |
[
"<s>",
"unsigned",
"SPURegisterInfo",
"::",
"eliminateFrameIndex",
"(",
"MachineBasicBlock",
"::",
"iterator",
"II",
",",
"int",
"SPAdj",
",",
"FrameIndexValue",
"*",
"Value",
",",
"RegScavenger",
"*",
"RS",
")",
"const",
"{",
"unsigned",
"i",
"=",
"0",
";",
... | [
"This",
"method",
"must",
"be",
"overriden",
"to",
"eliminate",
"abstract",
"frame",
"indices",
"from",
"instructions",
"which",
"may",
"use",
"them",
"."
] | [
"CellSPU",
"SPU",
"0",
"\"Instr doesn't have FrameIndex operand!\"",
"1",
"SPU::AIr32",
"SPU::ILAr32",
"2",
"SPU",
"0xf",
"0",
"\"16-byte alignment violated in eliminateFrameIndex\"",
"SPU::R1",
"SPU",
"SPU",
"\"Large stack adjustment (\"",
"\") in SPURegisterInfo::eliminateFrameInde... | SPURegisterInfo10 | eliminateFrameIndex | CellSPU | MPU | LLVM | 2,710 | 259 | 1 | [] |
[
"<s>",
"static",
"void",
"arc_function_arg_advance",
"(",
"cumulative_args_t",
"cum_v",
",",
"const",
"function_arg_info",
"&",
"arg",
")",
"{",
"CUMULATIVE_ARGS",
"*",
"cum",
"=",
"get_cumulative_args",
"(",
"cum_v",
")",
";",
"int",
"bytes",
"=",
"arg",
".",
... | [
"For",
"the",
"ARC",
":",
"the",
"cum",
"set",
"here",
"is",
"passed",
"on",
"to",
"function_arg",
"where",
"we",
"look",
"at",
"its",
"value",
"and",
"say",
"which",
"reg",
"to",
"use",
".",
"Strategy",
":",
"advance",
"the",
"regnumber",
"here",
"til... | [
"arc",
"1",
"0"
] | arc | arc_function_arg_advance | arc | MPU | GCC | 2,711 | 91 | 1 | [] |
[
"<s>",
"unsigned",
"MipsMCCodeEmitter",
"::",
"getBranchTargetOpValue",
"(",
"const",
"MCInst",
"&",
"MI",
",",
"unsigned",
"OpNo",
",",
"SmallVectorImpl",
"<",
"MCFixup",
">",
"&",
"Fixups",
",",
"const",
"MCSubtargetInfo",
"&",
"STI",
")",
"const",
"{",
"con... | [
"getBranchTargetOpValue",
"-",
"Return",
"binary",
"encoding",
"of",
"the",
"branch",
"target",
"operand",
"."
] | [
"Mips",
"Mips",
"2",
"\"getBranchTargetOpValue expects only expressions or immediates\"",
"0",
"Mips::fixup_Mips_PC16",
"0"
] | MipsMCCodeEmitter2 | getBranchTargetOpValue | Mips | CPU | LLVM | 2,712 | 103 | 1 | [] |
[
"<s>",
"static",
"void",
"mips_asm_file_end",
"(",
"void",
")",
"{",
"if",
"(",
"NEED_INDICATE_EXEC_STACK",
")",
"file_end_indicate_exec_stack",
"(",
")",
";",
"}",
"</s>"
] | [
"If",
"we",
"are",
"optimizing",
"the",
"global",
"pointer",
",",
"emit",
"the",
"text",
"section",
"now",
"and",
"any",
"small",
"externs",
"which",
"did",
"not",
"have",
".comm",
",",
"etc",
"that",
"are",
"needed",
".",
"Also",
",",
"give",
"a",
"wa... | [
"mips"
] | mips | mips_asm_file_end | mips | CPU | GCC | 2,713 | 16 | 1 | [] |
[
"<s>",
"static",
"void",
"mips_set_tune",
"(",
"const",
"struct",
"mips_cpu_info",
"*",
"info",
")",
"{",
"if",
"(",
"info",
"!=",
"0",
")",
"{",
"mips_tune_info",
"=",
"info",
";",
"mips_tune",
"=",
"info",
"->",
"cpu",
";",
"}",
"}",
"</s>"
] | [
"Likewise",
"for",
"tuning",
"."
] | [
"mips",
"0"
] | mips | mips_set_tune | mips | CPU | GCC | 2,714 | 30 | 1 | [] |
[
"<s>",
"SDValue",
"NVPTXTargetLowering",
"::",
"LowerOperation",
"(",
"SDValue",
"Op",
",",
"SelectionDAG",
"&",
"DAG",
")",
"const",
"{",
"switch",
"(",
"Op",
".",
"getOpcode",
"(",
")",
")",
"{",
"case",
"ISD",
"::",
"RETURNADDR",
":",
"return",
"SDValue... | [
"LowerOperation",
"-",
"Provide",
"custom",
"lowering",
"hooks",
"for",
"some",
"operations",
"."
] | [
"NVPTX",
"NVPTX",
"ISD::RETURNADDR",
"ISD::FRAMEADDR",
"ISD::GlobalAddress",
"ISD::INTRINSIC_W_CHAIN",
"ISD::BUILD_VECTOR",
"ISD::EXTRACT_SUBVECTOR",
"ISD::CONCAT_VECTORS",
"ISD::STORE",
"ISD::LOAD",
"\"Custom lowering not defined for operation\""
] | NVPTXISelLowering22 | LowerOperation | NVPTX | GPU | LLVM | 2,715 | 125 | 1 | [] |
[
"<s>",
"static",
"const",
"char",
"*",
"pru_invalid_within_doloop",
"(",
"const",
"rtx_insn",
"*",
"insn",
")",
"{",
"if",
"(",
"CALL_P",
"(",
"insn",
")",
")",
"return",
"\"Function call in the loop.\"",
";",
"if",
"(",
"JUMP_P",
"(",
"insn",
")",
"&&",
"... | [
"NULL",
"if",
"INSN",
"insn",
"is",
"valid",
"within",
"a",
"low-overhead",
"loop",
".",
"Otherwise",
"return",
"why",
"doloop",
"can",
"not",
"be",
"applied",
"."
] | [
"pru",
"\"Function call in the loop.\"",
"\"Return from a call instruction in the loop.\"",
"0",
"0",
"\"Loop contains asm statement.\""
] | pru | pru_invalid_within_doloop | pru | CPU | GCC | 2,716 | 82 | 1 | [] |
[
"<s>",
"const",
"MCFixupKindInfo",
"&",
"getFixupKindInfo",
"(",
"MCFixupKind",
"Kind",
")",
"const",
"{",
"const",
"static",
"MCFixupKindInfo",
"Infos",
"[",
"ARM",
"::",
"NumTargetFixupKinds",
"]",
"=",
"{",
"{",
"\"fixup_arm_ldst_pcrel_12\"",
",",
"0",
",",
"... | [
"Get",
"information",
"on",
"a",
"fixup",
"kind",
"."
] | [
"ARM",
"ARM::NumTargetFixupKinds",
"\"fixup_arm_ldst_pcrel_12\"",
"0",
"32",
"\"fixup_t2_ldst_pcrel_12\"",
"0",
"32",
"\"fixup_arm_pcrel_10_unscaled\"",
"0",
"32",
"\"fixup_arm_pcrel_10\"",
"0",
"32",
"\"fixup_t2_pcrel_10\"",
"0",
"32",
"\"fixup_thumb_adr_pcrel_10\"",
"0",
"8",... | ARMAsmBackend (2) | getFixupKindInfo | ARM | CPU | LLVM | 2,717 | 422 | 1 | [] |
[
"<s>",
"void",
"emitGPRel32Value",
"(",
"const",
"MCExpr",
"*",
"Value",
")",
"override",
"{",
"}",
"</s>"
] | [
"Emit",
"the",
"expression",
"Value",
"into",
"the",
"output",
"as",
"a",
"gprel32",
"(",
"32-bit",
"GP",
"relative",
")",
"value",
"."
] | [
"Patmos"
] | PatmosInstrInfo1 | emitGPRel32Value | Patmos | VLIW | LLVM | 2,718 | 11 | 1 | [] |
[
"<s>",
"static",
"bool",
"expand_vec_perm_shrp",
"(",
"struct",
"expand_vec_perm_d",
"*",
"d",
")",
"{",
"unsigned",
"i",
",",
"nelt",
"=",
"d",
"->",
"nelt",
",",
"shift",
",",
"mask",
";",
"rtx",
"tmp",
",",
"hi",
",",
"lo",
";",
"if",
"(",
"d",
... | [
"Try",
"to",
"expand",
"D",
"via",
"a",
"shrp",
"instruction",
"."
] | [
"ia64",
"1",
"2",
"1",
"0",
"1",
"1",
"63",
"64"
] | ia64 | expand_vec_perm_shrp | ia64 | CPU | GCC | 2,719 | 250 | 1 | [] |
[
"<s>",
"DEBUG_FUNCTION",
"static",
"void",
"debug_insn_dispatch_info_file",
"(",
"FILE",
"*",
"file",
",",
"rtx_insn",
"*",
"insn",
")",
"{",
"int",
"byte_len",
";",
"enum",
"insn_path",
"path",
";",
"enum",
"dispatch_group",
"group",
";",
"int",
"imm_size",
"... | [
"Print",
"INSN",
"dispatch",
"information",
"to",
"FILE",
"."
] | [
"i386",
"0",
"\" insn info:\\n\"",
"\" group = %s, path = %d, byte_len = %d\\n\"",
"\" num_imm = %d, num_imm_32 = %d, num_imm_64 = %d, imm_size = %d\\n\""
] | x86-tune-sched-bd | debug_insn_dispatch_info_file | i386 | CPU | GCC | 2,720 | 124 | 1 | [] |
[
"<s>",
"bool",
"enablePostRAScheduler",
"(",
")",
"const",
"override",
"{",
"return",
"isGeneric",
"(",
")",
"||",
"isCortexA53",
"(",
")",
"||",
"isCortexA57",
"(",
")",
";",
"}",
"</s>"
] | [
"True",
"if",
"the",
"subtarget",
"should",
"run",
"a",
"scheduler",
"after",
"register",
"allocation",
"."
] | [
"AArch64"
] | AArch64Subtarget (2) | enablePostRAScheduler | AArch64 | CPU | LLVM | 2,721 | 21 | 1 | [] |
[
"<s>",
"static",
"void",
"sparc_init_pic_reg",
"(",
"void",
")",
"{",
"edge",
"entry_edge",
";",
"rtx_insn",
"*",
"seq",
";",
"if",
"(",
"!",
"crtl",
"->",
"uses_pic_offset_table",
")",
"return",
";",
"start_sequence",
"(",
")",
";",
"load_got_register",
"("... | [
"Implement",
"TARGET_INIT_PIC_REG",
"."
] | [
"sparc"
] | sparc8 | sparc_init_pic_reg | sparc | CPU | GCC | 2,722 | 76 | 1 | [] |
[
"<s>",
"void",
"VideocoreFrameLowering",
"::",
"emitPrologue",
"(",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"}",
"</s>"
] | [
"emitProlog/emitEpilog",
"-",
"These",
"methods",
"insert",
"prolog",
"and",
"epilog",
"code",
"into",
"the",
"function",
"."
] | [
"Videocore",
"Videocore"
] | VideocoreFrameLowering | emitPrologue | Videocore | DSP | LLVM | 2,723 | 12 | 1 | [] |
[
"<s>",
"void",
"TriCoreFrameLowering",
"::",
"eliminateCallFramePseudoInstr",
"(",
"MachineFunction",
"&",
"MF",
",",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"I",
")",
"const",
"{",
"if",
"(",
"I",
"->",
"getOpcode",
"(",
")"... | [
"This",
"method",
"is",
"called",
"during",
"prolog/epilog",
"code",
"insertion",
"to",
"eliminate",
"call",
"frame",
"setup",
"and",
"destroy",
"pseudo",
"instructions",
"(",
"but",
"only",
"if",
"the",
"Target",
"is",
"using",
"them",
")",
"."
] | [
"TriCore",
"TriCore",
"TriCore::ADJCALLSTACKUP",
"TriCore::ADJCALLSTACKDOWN"
] | TriCoreFrameLowering (2) | eliminateCallFramePseudoInstr | TriCore | MPU | LLVM | 2,724 | 54 | 1 | [] |
[
"<s>",
"void",
"BPFFrameLowering",
"::",
"determineCalleeSaves",
"(",
"MachineFunction",
"&",
"MF",
",",
"BitVector",
"&",
"SavedRegs",
",",
"RegScavenger",
"*",
"RS",
")",
"const",
"{",
"TargetFrameLowering",
"::",
"determineCalleeSaves",
"(",
"MF",
",",
"SavedRe... | [
"This",
"method",
"determines",
"which",
"of",
"the",
"registers",
"reported",
"by",
"TargetRegisterInfo",
":",
":getCalleeSavedRegs",
"(",
")",
"should",
"actually",
"get",
"saved",
"."
] | [
"BPF",
"BPF",
"BPF::R6",
"BPF::R7",
"BPF::R8",
"BPF::R9"
] | BPFFrameLowering | determineCalleeSaves | BPF | Virtual ISA | LLVM | 2,725 | 67 | 1 | [] |
[
"<s>",
"bool",
"Thumb2SizeReduce",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"{",
"const",
"TargetMachine",
"&",
"TM",
"=",
"MF",
".",
"getTarget",
"(",
")",
";",
"TII",
"=",
"static_cast",
"<",
"const",
"Thumb2InstrInfo",
"*",
">... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"ARM",
"ARM"
] | Thumb2SizeReduction16 | runOnMachineFunction | ARM | CPU | LLVM | 2,726 | 163 | 1 | [] |
[
"<s>",
"const",
"char",
"*",
"thumb1_output_interwork",
"(",
"void",
")",
"{",
"const",
"char",
"*",
"name",
";",
"FILE",
"*",
"f",
"=",
"asm_out_file",
";",
"gcc_assert",
"(",
"MEM_P",
"(",
"DECL_RTL",
"(",
"current_function_decl",
")",
")",
")",
";",
"... | [
"Implementation",
"of",
"insn",
"prologue_thumb1_interwork",
".",
"This",
"is",
"the",
"first",
"``",
"instruction",
"''",
"of",
"a",
"function",
"called",
"in",
"ARM",
"mode",
".",
"Swap",
"to",
"thumb",
"mode",
"."
] | [
"arm",
"0",
"0",
"0",
"\"\\torr\\t%r, %r, #1\\n\"",
"\"\\tbx\\t%r\\n\"",
"\"\\t.code\\t16\\n\"",
"\"\\t.globl %s%U%s\\n\"",
"\"\\t.thumb_func\\n\"",
"\"%s%U%s:\\n\"",
"\"\""
] | arm | thumb1_output_interwork | arm | CPU | GCC | 2,727 | 139 | 1 | [] |
[
"<s>",
"bool",
"PPCFrameLowering",
"::",
"assignCalleeSavedSpillSlots",
"(",
"MachineFunction",
"&",
"MF",
",",
"const",
"TargetRegisterInfo",
"*",
"TRI",
",",
"std",
"::",
"vector",
"<",
"CalleeSavedInfo",
">",
"&",
"CSI",
")",
"const",
"{",
"if",
"(",
"CSI",... | [
"This",
"function",
"will",
"assign",
"callee",
"saved",
"gprs",
"to",
"volatile",
"vector",
"registers",
"for",
"prologue",
"spills",
"when",
"applicable",
"."
] | [
"PowerPC",
"PPC",
"PPC",
"0",
"PPC::VSRCRegClass",
"0",
"PPC::G8RCRegClass",
"0",
"0"
] | PPCFrameLowering36 | assignCalleeSavedSpillSlots | PowerPC | CPU | LLVM | 2,728 | 315 | 1 | [] |
[
"<s>",
"void",
"prepare_move_operands",
"(",
"rtx",
"*",
"operands",
",",
"machine_mode",
"mode",
")",
"{",
"if",
"(",
"GET_CODE",
"(",
"operands",
"[",
"0",
"]",
")",
"==",
"MEM",
"&&",
"!",
"reg_or_0_operand",
"(",
"operands",
"[",
"1",
"]",
",",
"mo... | [
"Prepare",
"operands",
"for",
"a",
"move",
"define_expand",
"in",
"MODE",
"."
] | [
"visium",
"0",
"1",
"1",
"1"
] | visium | prepare_move_operands | visium | Virtual ISA | GCC | 2,729 | 50 | 1 | [] |
[
"<s>",
"int",
"arc_register_move_cost",
"(",
"machine_mode",
",",
"enum",
"reg_class",
"from_class",
",",
"enum",
"reg_class",
"to_class",
")",
"{",
"if",
"(",
"TARGET_ARC600",
")",
"{",
"if",
"(",
"to_class",
"==",
"MPY_WRITABLE_CORE_REGS",
")",
"return",
"3",
... | [
"Implement",
"TARGET_REGISTER_MOVE_COST",
"."
] | [
"arc",
"3",
"6",
"6",
"1000",
"6",
"100",
"2"
] | arc7 | arc_register_move_cost | arc | MPU | GCC | 2,730 | 92 | 1 | [] |
[
"<s>",
"StringRef",
"getPassName",
"(",
")",
"const",
"override",
"{",
"return",
"\"AArch64 Conditional Compares\"",
";",
"}",
"</s>"
] | [
"getPassName",
"-",
"Return",
"a",
"nice",
"clean",
"name",
"for",
"a",
"pass",
"."
] | [
"AArch64",
"\"AArch64 Conditional Compares\""
] | AArch64ConditionalCompares1 | getPassName | AArch64 | CPU | LLVM | 2,731 | 11 | 1 | [] |
[
"<s>",
"bool",
"NVPTXAsmPrinter",
"::",
"doInitialization",
"(",
"Module",
"&",
"M",
")",
"{",
"const",
"Triple",
"&",
"TT",
"=",
"TM",
".",
"getTargetTriple",
"(",
")",
";",
"StringRef",
"CPU",
"=",
"TM",
".",
"getTargetCPU",
"(",
")",
";",
"StringRef",... | [
"Set",
"up",
"the",
"AsmPrinter",
"when",
"we",
"are",
"working",
"on",
"a",
"new",
"module",
"."
] | [
"NVPTX",
"NVPTX",
"NVPTX",
"NVPTX",
"NVPTX",
"\"Module has aliases, which NVPTX does not support.\"",
"128",
"\"Start of file scope inline assembly\"",
"\"End of file scope inline assembly\""
] | NVPTXAsmPrinter51 | doInitialization | NVPTX | GPU | LLVM | 2,732 | 241 | 1 | [] |
[
"<s>",
"static",
"bool",
"nds32_expand_movmemsi_loop_unknown_size",
"(",
"rtx",
"dstmem",
",",
"rtx",
"srcmem",
",",
"rtx",
"size",
",",
"rtx",
"alignment",
")",
"{",
"rtx",
"dst_base_reg",
",",
"src_base_reg",
";",
"rtx",
"dst_itr",
",",
"src_itr",
";",
"rtx"... | [
"Auxiliary",
"function",
"for",
"expand",
"movmem",
"pattern",
"."
] | [
"nds32",
"3",
"0",
"0",
"2",
"16",
"7",
"0",
"0",
"0",
"0",
"1",
"0",
"2",
"1",
"1",
"1"
] | nds32-memory-manipulation5 | nds32_expand_movmemsi_loop_unknown_size | nds32 | CPU | GCC | 2,733 | 424 | 1 | [] |
[
"<s>",
"virtual",
"void",
"getAnalysisUsage",
"(",
"AnalysisUsage",
"&",
"AU",
")",
"const",
"{",
"AU",
".",
"addRequired",
"<",
"PatmosSinglePathInfo",
">",
"(",
")",
";",
"AU",
".",
"addRequired",
"<",
"MachinePostDominatorTree",
">",
"(",
")",
";",
"Machi... | [
"getAnalysisUsage",
"-",
"Subclasses",
"that",
"override",
"getAnalysisUsage",
"must",
"call",
"this",
"."
] | [
"Patmos",
"Patmos"
] | PatmosSPBundling | getAnalysisUsage | Patmos | VLIW | LLVM | 2,734 | 36 | 1 | [] |
[
"<s>",
"const",
"char",
"*",
"getPassName",
"(",
")",
"const",
"override",
"{",
"return",
"\"AdvSIMD Scalar Operation Optimization\"",
";",
"}",
"</s>"
] | [
"getPassName",
"-",
"Return",
"a",
"nice",
"clean",
"name",
"for",
"a",
"pass",
"."
] | [
"ARM64",
"\"AdvSIMD Scalar Operation Optimization\""
] | ARM64AdvSIMDScalarPass1 | getPassName | ARM64 | CPU | LLVM | 2,735 | 13 | 1 | [] |
[
"<s>",
"DecodeStatus",
"PPCDisassembler",
"::",
"getInstruction",
"(",
"MCInst",
"&",
"MI",
",",
"uint64_t",
"&",
"Size",
",",
"ArrayRef",
"<",
"uint8_t",
">",
"Bytes",
",",
"uint64_t",
"Address",
",",
"raw_ostream",
"&",
"CS",
")",
"const",
"{",
"auto",
"... | [
"Returns",
"the",
"disassembly",
"of",
"a",
"single",
"instruction",
"."
] | [
"PowerPC",
"PPC",
"support::endian",
"support::endian",
"PPC::FeaturePrefixInstrs",
"8",
"4",
"32",
"8",
"4",
"4",
"0",
"PPC::FeatureSPE"
] | PPCDisassembler15 | getInstruction | PowerPC | CPU | LLVM | 2,736 | 240 | 1 | [] |
[
"<s>",
"MachineBasicBlock",
"*",
"AArch64TargetLowering",
"::",
"EmitInstrWithCustomInserter",
"(",
"MachineInstr",
"&",
"MI",
",",
"MachineBasicBlock",
"*",
"BB",
")",
"const",
"{",
"switch",
"(",
"MI",
".",
"getOpcode",
"(",
")",
")",
"{",
"default",
":",
"M... | [
"This",
"method",
"should",
"be",
"implemented",
"by",
"targets",
"that",
"mark",
"instructions",
"with",
"the",
"'usesCustomInserter",
"'",
"flag",
"."
] | [
"AArch64",
"AArch64",
"\"Unexpected instruction for custom inserter!\"",
"AArch64::F128CSEL",
"AArch64::CATCHRET",
"AArch64::CATCHPAD"
] | AArch64ISelLowering (2)3 | EmitInstrWithCustomInserter | AArch64 | CPU | LLVM | 2,737 | 97 | 1 | [] |
[
"<s>",
"bool",
"fixupNeedsRelaxation",
"(",
"const",
"MCFixup",
"&",
"Fixup",
",",
"uint64_t",
"Value",
",",
"const",
"MCInstFragment",
"*",
"DF",
",",
"const",
"MCAsmLayout",
"&",
"Layout",
")",
"const",
"{",
"assert",
"(",
"0",
"&&",
"\"RelaxInstruction() un... | [
"Simple",
"predicate",
"for",
"targets",
"where",
"!",
"Resolved",
"implies",
"requiring",
"relaxation",
"."
] | [
"Mips",
"0",
"\"RelaxInstruction() unimplemented\""
] | MipsAsmBackend21 | fixupNeedsRelaxation | Mips | CPU | LLVM | 2,738 | 34 | 1 | [] |
[
"<s>",
"void",
"RISCVRegisterInfo",
"::",
"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",
"."
] | [
"RISCV",
"RISCV",
"0",
"\"Unexpected non-zero SPAdj value\"",
"1",
"\"eliminateFrameIndex currently requires hasFP\"",
"12",
"\"Frame offsets outside of the signed 12-bit range not supported\"",
"1"
] | RISCVRegisterInfo22 | eliminateFrameIndex | RISCV | CPU | LLVM | 2,739 | 187 | 1 | [] |
[
"<s>",
"rtx",
"sh_try_omit_signzero_extend",
"(",
"rtx",
"extended_op",
",",
"rtx_insn",
"*",
"insn",
")",
"{",
"if",
"(",
"REG_P",
"(",
"extended_op",
")",
")",
"extended_op",
"=",
"extended_op",
";",
"else",
"if",
"(",
"GET_CODE",
"(",
"extended_op",
")",
... | [
"Given",
"the",
"operand",
"that",
"is",
"extended",
"in",
"a",
"sign/zero",
"extend",
"insn",
",",
"and",
"the",
"insn",
",",
"try",
"to",
"figure",
"out",
"whether",
"the",
"sign/zero",
"extension",
"can",
"be",
"replaced",
"by",
"a",
"simple",
"reg-reg"... | [
"sh"
] | sh4 | sh_try_omit_signzero_extend | sh | CPU | GCC | 2,740 | 130 | 1 | [] |
[
"<s>",
"static",
"bool",
"m68k_modes_tieable_p",
"(",
"machine_mode",
"mode1",
",",
"machine_mode",
"mode2",
")",
"{",
"return",
"(",
"!",
"TARGET_HARD_FLOAT",
"||",
"(",
"(",
"GET_MODE_CLASS",
"(",
"mode1",
")",
"==",
"MODE_FLOAT",
"||",
"GET_MODE_CLASS",
"(",
... | [
"Implement",
"TARGET_MODES_TIEABLE_P",
"."
] | [
"m68k"
] | m68k | m68k_modes_tieable_p | m68k | MPU | GCC | 2,741 | 52 | 1 | [] |
[
"<s>",
"std",
"::",
"vector",
"<",
"const",
"SUnit",
"*",
">",
"GCNILPScheduler",
"::",
"schedule",
"(",
"ArrayRef",
"<",
"const",
"SUnit",
"*",
">",
"BotRoots",
",",
"const",
"ScheduleDAG",
"&",
"DAG",
")",
"{",
"auto",
"&",
"SUnits",
"=",
"const_cast",... | [
"Schedule",
"-",
"This",
"is",
"called",
"back",
"from",
"ScheduleDAGInstrs",
":",
":Run",
"(",
")",
"when",
"it",
"'s",
"time",
"to",
"do",
"some",
"work",
"."
] | [
"AMDGPU",
"0",
"1",
"\"\\n=== Picking candidate\\n\"",
"\"Ready queue:\"",
"\"Selected \""
] | GCNILPSched | schedule | AMDGPU | GPU | LLVM | 2,742 | 440 | 1 | [] |
[
"<s>",
"static",
"void",
"avr_insert_attributes",
"(",
"tree",
"node",
",",
"tree",
"*",
"attributes",
")",
"{",
"avr_pgm_check_var_decl",
"(",
"node",
")",
";",
"if",
"(",
"TREE_CODE",
"(",
"node",
")",
"==",
"VAR_DECL",
"&&",
"(",
"TREE_STATIC",
"(",
"no... | [
"Add",
"the",
"section",
"attribute",
"if",
"the",
"variable",
"is",
"in",
"progmem",
"."
] | [
"avr",
"\"variable %q+D located in address space %qs beyond flash \"",
"\"of %d KiB\"",
"64",
"2",
"\"variable %q+D located in address space %qs\"",
"\" which is not supported for architecture %qs\"",
"\"__attribute__((progmem))\"",
"\"\\n%?: %t\\n%t\\n\"",
"\"variable %q+D must be const in order ... | avr5 | avr_insert_attributes | avr | MPU | GCC | 2,743 | 226 | 1 | [] |
[
"<s>",
"bool",
"ARMAsmParser",
"::",
"MatchAndEmitInstruction",
"(",
"SMLoc",
"IDLoc",
",",
"unsigned",
"&",
"Opcode",
",",
"OperandVector",
"&",
"Operands",
",",
"MCStreamer",
"&",
"Out",
",",
"uint64_t",
"&",
"ErrorInfo",
",",
"bool",
"MatchingInlineAsm",
")",... | [
"MatchAndEmitInstruction",
"-",
"Recognize",
"a",
"series",
"of",
"operands",
"of",
"a",
"parsed",
"instruction",
"as",
"an",
"actual",
"MCInst",
"and",
"emit",
"it",
"to",
"the",
"specified",
"MCStreamer",
"."
] | [
"ARM",
"ARM",
"4",
"\"Parsed as: \"",
"\"\\n\"",
"\"Changed to: \"",
"\"\\n\"",
"ARM::ITasm",
"ARM",
"ARM",
"0",
"\"invalid instruction\"",
"ARM",
"0",
"\"Implement any new match types added!\""
] | ARMAsmParser (2)3 | MatchAndEmitInstruction | ARM | CPU | LLVM | 2,744 | 346 | 1 | [] |
[
"<s>",
"bool",
"AMDGPUTargetLowering",
"::",
"isFPExtFoldable",
"(",
"unsigned",
"Opcode",
",",
"EVT",
"DestVT",
",",
"EVT",
"SrcVT",
")",
"const",
"{",
"return",
"Opcode",
"==",
"ISD",
"::",
"FMAD",
"&&",
"Subtarget",
"->",
"hasMadMixInsts",
"(",
")",
"&&",... | [
"Return",
"true",
"if",
"an",
"fpext",
"operation",
"input",
"to",
"an",
"Opcode",
"operation",
"is",
"free",
"(",
"for",
"instance",
",",
"because",
"half-precision",
"floating-point",
"numbers",
"are",
"implicitly",
"extended",
"to",
"float-precision",
")",
"f... | [
"AMDGPU",
"AMDGPU",
"ISD::FMAD",
"MVT::f32",
"MVT::f16"
] | AMDGPUISelLowering135 | isFPExtFoldable | AMDGPU | GPU | LLVM | 2,745 | 57 | 1 | [] |
[
"<s>",
"int",
"AArch64TTIImpl",
"::",
"getArithmeticInstrCost",
"(",
"unsigned",
"Opcode",
",",
"Type",
"*",
"Ty",
",",
"TTI",
"::",
"OperandValueKind",
"Opd1Info",
",",
"TTI",
"::",
"OperandValueKind",
"Opd2Info",
",",
"TTI",
"::",
"OperandValueProperties",
"Opd1... | [
"This",
"is",
"an",
"approximation",
"of",
"reciprocal",
"throughput",
"of",
"a",
"math/logic",
"op",
"."
] | [
"AArch64",
"AArch64",
"ISD::SDIV",
"ISD::ADD",
"ISD::MUL",
"ISD::XOR",
"ISD::OR",
"ISD::AND",
"1"
] | AArch64TargetTransformInfo17 | getArithmeticInstrCost | AArch64 | CPU | LLVM | 2,746 | 247 | 1 | [] |
[
"<s>",
"bool",
"AMDGPULateCodeGenPrepare",
"::",
"doInitialization",
"(",
"Module",
"&",
"M",
")",
"{",
"Mod",
"=",
"&",
"M",
";",
"DL",
"=",
"&",
"Mod",
"->",
"getDataLayout",
"(",
")",
";",
"return",
"false",
";",
"}",
"</s>"
] | [
"Set",
"up",
"the",
"AsmPrinter",
"when",
"we",
"are",
"working",
"on",
"a",
"new",
"module",
"."
] | [
"AMDGPU",
"AMDGPU"
] | AMDGPULateCodeGenPrepare | doInitialization | AMDGPU | GPU | LLVM | 2,747 | 28 | 1 | [] |
[
"<s>",
"static",
"bool",
"riscv_leaf_function_p",
"(",
"void",
")",
"{",
"if",
"(",
"cfun",
"->",
"machine",
"->",
"is_leaf",
"==",
"0",
")",
"cfun",
"->",
"machine",
"->",
"is_leaf",
"=",
"leaf_function_p",
"(",
")",
"?",
"1",
":",
"-",
"1",
";",
"r... | [
"Return",
"leaf_function_p",
"(",
")",
"and",
"memoize",
"the",
"result",
"."
] | [
"riscv",
"0",
"1",
"1",
"0"
] | riscv2 | riscv_leaf_function_p | riscv | CPU | GCC | 2,748 | 42 | 1 | [] |
[
"<s>",
"bool",
"TOYAsmPrinter",
"::",
"PrintAsmMemoryOperand",
"(",
"const",
"MachineInstr",
"*",
"MI",
",",
"unsigned",
"OpNo",
",",
"unsigned",
"AsmVariant",
",",
"const",
"char",
"*",
"ExtraCode",
",",
"raw_ostream",
"&",
"O",
")",
"{",
"llvm_unreachable",
... | [
"Print",
"the",
"specified",
"operand",
"of",
"MI",
",",
"an",
"INLINEASM",
"instruction",
",",
"using",
"the",
"specified",
"assembler",
"variant",
"as",
"an",
"address",
"."
] | [
"TOY",
"TOY",
"\"PrintAsmMemoryOperand not implemented yet!\\n\""
] | TOYAsmPrinter | PrintAsmMemoryOperand | TOY | CPU | LLVM | 2,749 | 32 | 1 | [] |
[
"<s>",
"static",
"const",
"char",
"*",
"getName",
"(",
")",
"{",
"return",
"DEBUG_TYPE",
";",
"}",
"</s>"
] | [
"Return",
"a",
"string",
"with",
"the",
"name",
"of",
"the",
"plan",
"and",
"the",
"applicable",
"VFs",
"and",
"UFs",
"."
] | [
"M88k"
] | M88kInstructionSelector | getName | M88k | MPU | LLVM | 2,750 | 12 | 1 | [] |
[
"<s>",
"void",
"GCNMaxOccupancySchedStrategy",
"::",
"pickNodeFromQueue",
"(",
"SchedBoundary",
"&",
"Zone",
",",
"const",
"CandPolicy",
"&",
"ZonePolicy",
",",
"const",
"RegPressureTracker",
"&",
"RPTracker",
",",
"SchedCandidate",
"&",
"Cand",
")",
"{",
"const",
... | [
"Pick",
"the",
"best",
"candidate",
"from",
"the",
"queue",
"."
] | [
"AMDGPU",
"SI",
"SI"
] | GCNSchedStrategy15 | pickNodeFromQueue | AMDGPU | GPU | LLVM | 2,751 | 195 | 1 | [] |
[
"<s>",
"static",
"void",
"riscv_function_arg_advance",
"(",
"cumulative_args_t",
"cum_v",
",",
"machine_mode",
"mode",
",",
"const_tree",
"type",
",",
"bool",
"named",
")",
"{",
"CUMULATIVE_ARGS",
"*",
"cum",
"=",
"get_cumulative_args",
"(",
"cum_v",
")",
";",
"... | [
"Implement",
"TARGET_FUNCTION_ARG_ADVANCE",
"."
] | [
"riscv"
] | riscv3 | riscv_function_arg_advance | riscv | CPU | GCC | 2,752 | 71 | 1 | [] |
[
"<s>",
"NVPTXTargetLowering",
"::",
"ConstraintType",
"NVPTXTargetLowering",
"::",
"getConstraintType",
"(",
"StringRef",
"Constraint",
")",
"const",
"{",
"if",
"(",
"Constraint",
".",
"size",
"(",
")",
"==",
"1",
")",
"{",
"switch",
"(",
"Constraint",
"[",
"0... | [
"Given",
"a",
"constraint",
"letter",
",",
"return",
"the",
"type",
"of",
"constraint",
"for",
"this",
"target",
"."
] | [
"NVPTX",
"NVPTX",
"NVPTX",
"1",
"0"
] | NVPTXISelLowering (2) | getConstraintType | NVPTX | GPU | LLVM | 2,753 | 76 | 1 | [] |
[
"<s>",
"void",
"RISCVInstrInfo",
"::",
"copyPhysReg",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"MBBI",
",",
"const",
"DebugLoc",
"&",
"DL",
",",
"MCRegister",
"DstReg",
",",
"MCRegister",
"SrcReg",
",",
"bool",
"KillSrc",... | [
"}",
"Branch",
"Analysis",
"&",
"Modification"
] | [
"RISCV",
"RISCV",
"RISCV::GPRRegClass",
"RISCV::ADDI",
"0",
"RISCV::FPR16RegClass",
"RISCV::FSGNJ_H",
"RISCV::FPR32RegClass",
"RISCV::FSGNJ_S",
"RISCV::FPR64RegClass",
"RISCV::FSGNJ_D",
"RISCV::VRRegClass",
"RISCV::PseudoVMV1R_V",
"RISCV::VRM2RegClass",
"RISCV::PseudoVMV2R_V",
"RISCV::... | RISCVInstrInfo19 | copyPhysReg | RISCV | CPU | LLVM | 2,754 | 325 | 1 | [] |
[
"<s>",
"static",
"bool",
"riscv_legitimate_constant_p",
"(",
"machine_mode",
"mode",
"ATTRIBUTE_UNUSED",
",",
"rtx",
"x",
")",
"{",
"return",
"riscv_const_insns",
"(",
"x",
")",
">",
"0",
";",
"}",
"</s>"
] | [
"Implement",
"TARGET_LEGITIMATE_CONSTANT_P",
"."
] | [
"riscv",
"0"
] | riscv | riscv_legitimate_constant_p | riscv | CPU | GCC | 2,755 | 21 | 1 | [] |
[
"<s>",
"void",
"ARM64ConditionalCompares",
"::",
"getAnalysisUsage",
"(",
"AnalysisUsage",
"&",
"AU",
")",
"const",
"{",
"AU",
".",
"addRequired",
"<",
"MachineBranchProbabilityInfo",
">",
"(",
")",
";",
"AU",
".",
"addRequired",
"<",
"MachineDominatorTree",
">",
... | [
"getAnalysisUsage",
"-",
"Subclasses",
"that",
"override",
"getAnalysisUsage",
"must",
"call",
"this",
"."
] | [
"ARM64",
"ARM64"
] | ARM64ConditionalCompares | getAnalysisUsage | ARM64 | CPU | LLVM | 2,756 | 82 | 1 | [] |
[
"<s>",
"bool",
"ARMTTIImpl",
"::",
"isHardwareLoopProfitable",
"(",
"Loop",
"*",
"L",
",",
"ScalarEvolution",
"&",
"SE",
",",
"AssumptionCache",
"&",
"AC",
",",
"TargetLibraryInfo",
"*",
"LibInfo",
",",
"HardwareLoopInfo",
"&",
"HWLoopInfo",
")",
"{",
"if",
"(... | [
"Query",
"the",
"target",
"whether",
"it",
"would",
"be",
"profitable",
"to",
"convert",
"the",
"given",
"loop",
"into",
"a",
"hardware",
"loop",
"."
] | [
"ARM",
"ARM",
"\"ARMHWLoops: Disabled\\n\"",
"\"ARMHWLoops: No BETC\\n\"",
"\"ARMHWLoops: Uncomputable BETC\\n\"",
"32",
"\"ARMHWLoops: Trip count does not fit into 32bits\\n\"",
"Intrinsic::start_loop_iterations",
"Intrinsic::test_set_loop_iterations",
"Intrinsic::loop_decrement",
"Intrinsic::l... | ARMTargetTransformInfo29 | isHardwareLoopProfitable | ARM | CPU | LLVM | 2,757 | 480 | 1 | [] |
[
"<s>",
"CSKYTargetLowering",
"::",
"ConstraintType",
"CSKYTargetLowering",
"::",
"getConstraintType",
"(",
"StringRef",
"Constraint",
")",
"const",
"{",
"if",
"(",
"Constraint",
".",
"size",
"(",
")",
"==",
"1",
")",
"{",
"switch",
"(",
"Constraint",
"[",
"0",... | [
"Given",
"a",
"constraint",
"letter",
",",
"return",
"the",
"type",
"of",
"constraint",
"for",
"this",
"target",
"."
] | [
"CSKY",
"CSKY",
"CSKY",
"1",
"0"
] | CSKYISelLowering | getConstraintType | CSKY | CPU | LLVM | 2,758 | 79 | 1 | [] |
[
"<s>",
"unsigned",
"X86FastISel",
"::",
"fastMaterializeConstant",
"(",
"const",
"Constant",
"*",
"C",
")",
"{",
"EVT",
"CEVT",
"=",
"TLI",
".",
"getValueType",
"(",
"DL",
",",
"C",
"->",
"getType",
"(",
")",
",",
"true",
")",
";",
"if",
"(",
"!",
"C... | [
"Emit",
"a",
"constant",
"in",
"a",
"register",
"using",
"target-specific",
"logic",
",",
"such",
"as",
"constant",
"pool",
"loads",
"."
] | [
"X86",
"X86",
"0",
"X86",
"X86",
"X86",
"0",
"MVT::f32",
"X86",
"X86::LD_Fp032",
"MVT::f64",
"X86",
"X86::LD_Fp064",
"MVT::f80",
"X86::LD_Fp080",
"0"
] | X86FastISel114 | fastMaterializeConstant | X86 | CPU | LLVM | 2,759 | 246 | 1 | [] |
[
"<s>",
"unsigned",
"AArch64InstrInfo",
"::",
"getInstSizeInBytes",
"(",
"const",
"MachineInstr",
"&",
"MI",
")",
"const",
"{",
"const",
"MachineBasicBlock",
"&",
"MBB",
"=",
"*",
"MI",
".",
"getParent",
"(",
")",
";",
"const",
"MachineFunction",
"*",
"MF",
"... | [
"Returns",
"the",
"size",
"in",
"bytes",
"of",
"the",
"specified",
"MachineInstr",
",",
"or",
"~0U",
"when",
"this",
"function",
"is",
"not",
"implemented",
"by",
"a",
"target",
"."
] | [
"AArch64",
"AArch64",
"AArch64::INLINEASM",
"0",
"0",
"4",
"0",
"4",
"0",
"\"Invalid number of NOP bytes requested!\"",
"4",
"0",
"\"Invalid number of NOP bytes requested!\"",
"AArch64::TLSDESC_CALLSEQ",
"16",
"AArch64::JumpTableDest32",
"AArch64::JumpTableDest16",
"AArch64::JumpTa... | AArch64InstrInfo (2)1 | getInstSizeInBytes | AArch64 | CPU | LLVM | 2,760 | 256 | 1 | [] |
[
"<s>",
"unsigned",
"HexagonTTIImpl",
"::",
"getCallInstrCost",
"(",
"Function",
"*",
"F",
",",
"Type",
"*",
"RetTy",
",",
"ArrayRef",
"<",
"Type",
"*",
">",
"Tys",
",",
"TTI",
"::",
"TargetCostKind",
"CostKind",
")",
"{",
"return",
"BaseT",
"::",
"getCallI... | [
"Compute",
"a",
"cost",
"of",
"the",
"given",
"call",
"instruction",
"."
] | [
"Hexagon",
"Hexagon"
] | HexagonTargetTransformInfo | getCallInstrCost | Hexagon | DSP | LLVM | 2,761 | 41 | 1 | [] |
[
"<s>",
"bool",
"ia64_can_eliminate",
"(",
"const",
"int",
"from",
"ATTRIBUTE_UNUSED",
",",
"const",
"int",
"to",
")",
"{",
"return",
"(",
"to",
"==",
"BR_REG",
"(",
"0",
")",
"?",
"crtl",
"->",
"is_leaf",
":",
"true",
")",
";",
"}",
"</s>"
] | [
"Worker",
"function",
"for",
"TARGET_CAN_ELIMINATE",
"."
] | [
"ia64",
"0"
] | ia64 | ia64_can_eliminate | ia64 | CPU | GCC | 2,762 | 30 | 1 | [] |
[
"<s>",
"bool",
"FISCAsmParser",
"::",
"MatchAndEmitInstruction",
"(",
"SMLoc",
"IDLoc",
",",
"unsigned",
"&",
"Opcode",
",",
"OperandVector",
"&",
"Operands",
",",
"MCStreamer",
"&",
"Out",
",",
"uint64_t",
"&",
"ErrorInfo",
",",
"bool",
"MatchingInlineAsm",
")"... | [
"MatchAndEmitInstruction",
"-",
"Recognize",
"a",
"series",
"of",
"operands",
"of",
"a",
"parsed",
"instruction",
"as",
"an",
"actual",
"MCInst",
"and",
"emit",
"it",
"to",
"the",
"specified",
"MCStreamer",
"."
] | [
"FISC",
"FISC",
"\"instruction requires a CPU feature not currently enabled\"",
"0U",
"\"too few operands for instruction\"",
"FISC",
"\"invalid operand for instruction\"",
"\"invalid instruction\""
] | FISCAsmParser | MatchAndEmitInstruction | FISC | CPU | LLVM | 2,763 | 184 | 1 | [] |
[
"<s>",
"static",
"rtx",
"altivec_expand_ld_builtin",
"(",
"tree",
"exp",
",",
"rtx",
"target",
",",
"bool",
"*",
"expandedp",
")",
"{",
"tree",
"fndecl",
"=",
"TREE_OPERAND",
"(",
"TREE_OPERAND",
"(",
"exp",
",",
"0",
")",
",",
"0",
")",
";",
"tree",
"... | [
"Expand",
"the",
"lvx",
"builtins",
"."
] | [
"rs6000",
"0",
"0",
"1",
"0",
"0",
"1",
"0",
"0",
"1",
"0"
] | rs60003 | altivec_expand_ld_builtin | rs6000 | CPU | GCC | 2,764 | 279 | 1 | [] |
[
"<s>",
"bool",
"ix86_force_load_from_GOT_p",
"(",
"rtx",
"x",
",",
"bool",
"call_p",
")",
"{",
"return",
"(",
"(",
"TARGET_64BIT",
"||",
"(",
"!",
"flag_pic",
"&&",
"HAVE_AS_IX86_GOT32X",
")",
")",
"&&",
"!",
"TARGET_PECOFF",
"&&",
"!",
"TARGET_MACHO",
"&&",... | [
"True",
"if",
"the",
"function",
"symbol",
"operand",
"X",
"should",
"be",
"loaded",
"from",
"GOT",
".",
"NB",
":",
"In",
"32-bit",
"mode",
",",
"only",
"non-PIC",
"is",
"allowed",
"in",
"inline",
"assembly",
"statements",
",",
"since",
"a",
"PIC",
"regi... | [
"i386",
"\"nodirect_extern_access\"",
"\"noplt\""
] | i386 | ix86_force_load_from_GOT_p | i386 | CPU | GCC | 2,765 | 123 | 1 | [] |
[
"<s>",
"static",
"section",
"*",
"iq2000_select_section",
"(",
"tree",
"decl",
",",
"int",
"reloc",
"ATTRIBUTE_UNUSED",
",",
"unsigned",
"HOST_WIDE_INT",
"align",
"ATTRIBUTE_UNUSED",
")",
"{",
"if",
"(",
"TARGET_EMBEDDED_DATA",
")",
"{",
"if",
"(",
"(",
"TREE_CO... | [
"Choose",
"the",
"section",
"to",
"use",
"for",
"DECL",
".",
"RELOC",
"is",
"true",
"if",
"its",
"value",
"contains",
"any",
"relocatable",
"expression",
".",
"Some",
"of",
"the",
"logic",
"used",
"here",
"needs",
"to",
"be",
"replicated",
"in",
"ENCODE_SE... | [
"iq2000"
] | iq20003 | iq2000_select_section | iq2000 | CPU | GCC | 2,766 | 144 | 1 | [] |
[
"<s>",
"static",
"int",
"arm_size_return_regs",
"(",
"void",
")",
"{",
"enum",
"machine_mode",
"mode",
";",
"if",
"(",
"current_function_return_rtx",
"!=",
"0",
")",
"mode",
"=",
"GET_MODE",
"(",
"current_function_return_rtx",
")",
";",
"else",
"mode",
"=",
"D... | [
"Calculate",
"the",
"size",
"of",
"the",
"return",
"value",
"that",
"is",
"passed",
"in",
"registers",
"."
] | [
"arm",
"0"
] | arm3 | arm_size_return_regs | arm | CPU | GCC | 2,767 | 42 | 1 | [] |
[
"<s>",
"static",
"void",
"dump_tree_node_info",
"(",
"fma_forest",
"*",
"forest",
",",
"fma_node",
"*",
"node",
")",
"{",
"node",
"->",
"dump_info",
"(",
"forest",
")",
";",
"}",
"</s>"
] | [
"Wrapper",
"around",
"fma_node",
":",
":dump_info",
"for",
"use",
"as",
"parameter",
"of",
"function",
"pointer",
"type",
"in",
"func_fma_steering",
":",
":dfs",
"."
] | [
"aarch64"
] | cortex-a57-fma-steering | dump_tree_node_info | aarch64 | CPU | GCC | 2,768 | 21 | 1 | [] |
[
"<s>",
"bool",
"SIInstrInfo",
"::",
"shouldClusterMemOps",
"(",
"ArrayRef",
"<",
"const",
"MachineOperand",
"*",
">",
"BaseOps1",
",",
"ArrayRef",
"<",
"const",
"MachineOperand",
"*",
">",
"BaseOps2",
",",
"unsigned",
"NumLoads",
",",
"unsigned",
"NumBytes",
")"... | [
"Returns",
"true",
"if",
"the",
"two",
"given",
"memory",
"operations",
"should",
"be",
"scheduled",
"adjacent",
"."
] | [
"AMDGPU",
"SI",
"7",
"AMDGPU::OpName",
"AMDGPU::OpName",
"AMDGPU::OpName",
"AMDGPU::OpName",
"AMDGPU::OpName",
"AMDGPU::OpName",
"AMDGPU::OpName",
"AMDGPU::OpName",
"16",
"1",
"8"
] | SIInstrInfo46 | shouldClusterMemOps | AMDGPU | GPU | LLVM | 2,769 | 403 | 1 | [] |
[
"<s>",
"static",
"bool",
"s390_vector_mode_supported_p",
"(",
"machine_mode",
"mode",
")",
"{",
"machine_mode",
"inner",
";",
"if",
"(",
"!",
"VECTOR_MODE_P",
"(",
"mode",
")",
"||",
"!",
"TARGET_VX",
"||",
"GET_MODE_SIZE",
"(",
"mode",
")",
">",
"16",
")",
... | [
"Return",
"true",
"if",
"the",
"back",
"end",
"supports",
"vector",
"mode",
"MODE",
"."
] | [
"s390",
"16"
] | s390 | s390_vector_mode_supported_p | s390 | MPU | GCC | 2,770 | 78 | 1 | [] |
[
"<s>",
"bool",
"mprocFrameLowering",
"::",
"hasReservedCallFrame",
"(",
"const",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"return",
"!",
"MF",
".",
"getFrameInfo",
"(",
")",
"->",
"hasVarSizedObjects",
"(",
")",
";",
"}",
"</s>"
] | [
"hasReservedCallFrame",
"-",
"Under",
"normal",
"circumstances",
",",
"when",
"a",
"frame",
"pointer",
"is",
"not",
"required",
",",
"we",
"reserve",
"argument",
"space",
"for",
"call",
"sites",
"in",
"the",
"function",
"immediately",
"on",
"entry",
"to",
"the... | [
"mproc",
"mproc"
] | mprocFrameLowering | hasReservedCallFrame | mproc | Virtual ISA | LLVM | 2,771 | 25 | 1 | [] |
[
"<s>",
"hashval_t",
"builtin_hasher",
"::",
"hash",
"(",
"builtin_hash_struct",
"*",
"bh",
")",
"{",
"unsigned",
"ret",
"=",
"0",
";",
"int",
"i",
";",
"for",
"(",
"i",
"=",
"0",
";",
"i",
"<",
"4",
";",
"i",
"++",
")",
"{",
"ret",
"=",
"(",
"r... | [
"Hash",
"function",
"for",
"builtin",
"functions",
"with",
"up",
"to",
"3",
"arguments",
"and",
"a",
"return",
"type",
"."
] | [
"rs6000",
"0",
"0",
"4",
"2"
] | rs6000-call | hash | rs6000 | CPU | GCC | 2,772 | 75 | 1 | [] |
[
"<s>",
"void",
"MipsAsmPrinter",
"::",
"emitInlineAsmEnd",
"(",
"const",
"MCSubtargetInfo",
"&",
"StartInfo",
",",
"const",
"MCSubtargetInfo",
"*",
"EndInfo",
")",
"const",
"{",
"OutStreamer",
".",
"AddBlankLine",
"(",
")",
";",
"getTargetStreamer",
"(",
")",
".... | [
"Let",
"the",
"target",
"do",
"anything",
"it",
"needs",
"to",
"do",
"after",
"emitting",
"inlineasm",
"."
] | [
"Mips",
"Mips"
] | MipsAsmPrinter20 | emitInlineAsmEnd | Mips | CPU | LLVM | 2,773 | 32 | 1 | [] |
[
"<s>",
"MVT",
"RISCVTargetLowering",
"::",
"getScalarShiftAmountTy",
"(",
"const",
"DataLayout",
"&",
"DL",
",",
"EVT",
")",
"const",
"{",
"return",
"Subtarget",
".",
"getXLenVT",
"(",
")",
";",
"}",
"</s>"
] | [
"Return",
"the",
"type",
"to",
"use",
"for",
"a",
"scalar",
"shift",
"opcode",
",",
"given",
"the",
"shifted",
"amount",
"type",
"."
] | [
"RI5CY",
"RISCV"
] | RISCVISelLowering | getScalarShiftAmountTy | RI5CY | CPU | LLVM | 2,774 | 22 | 1 | [] |
[
"<s>",
"unsigned",
"MipsMCCodeEmitter",
"::",
"getMachineOpValue",
"(",
"const",
"MCInst",
"&",
"MI",
",",
"const",
"MCOperand",
"&",
"MO",
",",
"SmallVectorImpl",
"<",
"MCFixup",
">",
"&",
"Fixups",
")",
"const",
"{",
"if",
"(",
"MO",
".",
"isReg",
"(",
... | [
"getMachineOpValue",
"-",
"Return",
"binary",
"encoding",
"of",
"operand",
"."
] | [
"Mips",
"Mips",
"Mips",
"32",
"Mips::Fixups",
"Mips",
"Mips::fixup_Mips_GPREL16",
"Mips",
"Mips::fixup_Mips_CALL16",
"Mips",
"Mips::fixup_Mips_GOT_Global",
"Mips",
"Mips::fixup_Mips_GOT_Local",
"Mips",
"Mips::fixup_Mips_HI16",
"Mips",
"Mips::fixup_Mips_LO16",
"Mips",
"Mips::fixup... | MipsMCCodeEmitter10 | getMachineOpValue | Mips | CPU | LLVM | 2,775 | 413 | 1 | [] |
[
"<s>",
"void",
"XCoreInstrInfo",
"::",
"storeRegToStackSlot",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"I",
",",
"unsigned",
"SrcReg",
",",
"bool",
"isKill",
",",
"int",
"FrameIndex",
",",
"const",
"TargetRegisterClass",
"*... | [
"Store",
"the",
"specified",
"register",
"of",
"the",
"given",
"register",
"class",
"to",
"the",
"specified",
"stack",
"frame",
"index",
"."
] | [
"XCore",
"XCore",
"XCore::STWFI",
"0"
] | XCoreInstrInfo12 | storeRegToStackSlot | XCore | MPU | LLVM | 2,776 | 94 | 1 | [] |
[
"<s>",
"bool",
"mips_legitimize_address",
"(",
"rtx",
"*",
"xloc",
",",
"enum",
"machine_mode",
"mode",
")",
"{",
"enum",
"mips_symbol_type",
"symbol_type",
";",
"if",
"(",
"mips_tls_operand_p",
"(",
"*",
"xloc",
")",
")",
"{",
"*",
"xloc",
"=",
"mips_legiti... | [
"This",
"function",
"is",
"used",
"to",
"implement",
"LEGITIMIZE_ADDRESS",
".",
"If",
"*",
"XLOC",
"can",
"be",
"legitimized",
"in",
"a",
"way",
"that",
"the",
"generic",
"machinery",
"might",
"not",
"expect",
",",
"put",
"the",
"new",
"address",
"in",
"*"... | [
"mips",
"0",
"1",
"0",
"0",
"0",
"1"
] | mips3 | mips_legitimize_address | mips | CPU | GCC | 2,777 | 164 | 1 | [] |
[
"<s>",
"int",
"arm_early_store_addr_dep_ptr",
"(",
"rtx",
"producer",
",",
"rtx",
"consumer",
")",
"{",
"rtx",
"value",
"=",
"arm_find_sub_rtx_with_code",
"(",
"PATTERN",
"(",
"producer",
")",
",",
"SET",
",",
"false",
")",
";",
"rtx",
"addr",
"=",
"arm_find... | [
"Return",
"nonzero",
"if",
"the",
"CONSUMER",
"instruction",
"(",
"a",
"store",
")",
"does",
"need",
"a",
"Pmode",
"PRODUCER",
"'s",
"value",
"to",
"calculate",
"the",
"address",
"."
] | [
"arm",
"0"
] | aarch-common | arm_early_store_addr_dep_ptr | arm | CPU | GCC | 2,778 | 90 | 1 | [] |
[
"<s>",
"const",
"MCExpr",
"*",
"AVRAsmPrinter",
"::",
"lowerConstant",
"(",
"const",
"Constant",
"*",
"CV",
")",
"{",
"MCContext",
"&",
"Ctx",
"=",
"OutContext",
";",
"if",
"(",
"const",
"GlobalValue",
"*",
"GV",
"=",
"dyn_cast",
"<",
"GlobalValue",
">",
... | [
"Lower",
"the",
"specified",
"LLVM",
"Constant",
"to",
"an",
"MCExpr",
"."
] | [
"AVR",
"AVR",
"AVR::ProgramMemory",
"AVR",
"AVR",
"AVR"
] | AVRAsmPrinter | lowerConstant | AVR | MPU | LLVM | 2,779 | 97 | 1 | [] |
[
"<s>",
"int",
"ARMTTIImpl",
"::",
"getArithmeticReductionCost",
"(",
"unsigned",
"Opcode",
",",
"VectorType",
"*",
"ValTy",
",",
"bool",
"IsPairwiseForm",
",",
"TTI",
"::",
"TargetCostKind",
"CostKind",
")",
"{",
"EVT",
"ValVT",
"=",
"TLI",
"->",
"getValueType",... | [
"Calculate",
"the",
"cost",
"of",
"vector",
"reduction",
"intrinsics",
"."
] | [
"ARM",
"ARM",
"ISD::ADD",
"ISD::ADD",
"MVT::v16i8",
"1",
"ISD::ADD",
"MVT::v8i16",
"1",
"ISD::ADD",
"MVT::v4i32",
"1"
] | ARMTargetTransformInfo29 | getArithmeticReductionCost | ARM | CPU | LLVM | 2,780 | 191 | 1 | [] |
[
"<s>",
"bool",
"AMDGPUTargetLowering",
"::",
"shouldReduceLoadWidth",
"(",
"SDNode",
"*",
"N",
",",
"ISD",
"::",
"LoadExtType",
"ExtTy",
",",
"EVT",
"NewVT",
")",
"const",
"{",
"if",
"(",
"!",
"TargetLoweringBase",
"::",
"shouldReduceLoadWidth",
"(",
"N",
",",... | [
"Return",
"true",
"if",
"we",
"believe",
"it",
"is",
"correct",
"and",
"profitable",
"to",
"reduce",
"the",
"load",
"node",
"to",
"a",
"smaller",
"type",
"."
] | [
"AMDGPU",
"AMDGPU",
"ISD::LoadExtType",
"32",
"0",
"32",
"32",
"4",
"AMDGPU",
"AMDGPU",
"AMDGPU",
"AMDGPU",
"32"
] | AMDGPUISelLowering (2)2 | shouldReduceLoadWidth | AMDGPU | GPU | LLVM | 2,781 | 170 | 1 | [] |
[
"<s>",
"std",
"::",
"pair",
"<",
"unsigned",
",",
"const",
"TargetRegisterClass",
"*",
">",
"MBlazeTargetLowering",
"::",
"getRegForInlineAsmConstraint",
"(",
"const",
"std",
"::",
"string",
"&",
"Constraint",
",",
"MVT",
"VT",
")",
"const",
"{",
"if",
"(",
... | [
"Given",
"a",
"physical",
"register",
"constraint",
"(",
"e.g",
"."
] | [
"MBlaze",
"MBlaze",
"1",
"0",
"0U",
"MBlaze::GPRRegClass",
"MVT::f32",
"0U",
"MBlaze::GPRRegClass"
] | MBlazeISelLowering | getRegForInlineAsmConstraint | MBlaze | MPU | LLVM | 2,782 | 104 | 1 | [] |
[
"<s>",
"inline",
"bool",
"isPseudo",
"(",
"uint64_t",
"TSFlags",
")",
"{",
"return",
"(",
"TSFlags",
"&",
"X86II",
"::",
"FormMask",
")",
"==",
"Pseudo",
";",
"}",
"</s>"
] | [
"Return",
"true",
"if",
"this",
"is",
"a",
"pseudo",
"instruction",
"that",
"does",
"n't",
"correspond",
"to",
"a",
"real",
"machine",
"instruction",
"."
] | [
"X86",
"X86II::FormMask"
] | X86BaseInfo2 | isPseudo | X86 | CPU | LLVM | 2,783 | 20 | 1 | [] |
[
"<s>",
"static",
"bool",
"avr_mode_dependent_address_p",
"(",
"const_rtx",
"addr",
"ATTRIBUTE_UNUSED",
",",
"addr_space_t",
"as",
")",
"{",
"return",
"!",
"ADDR_SPACE_GENERIC_P",
"(",
"as",
")",
";",
"}",
"</s>"
] | [
"Implement",
"`",
"TARGET_MODE_DEPENDENT_ADDRESS_P",
"'",
"."
] | [
"avr"
] | avr | avr_mode_dependent_address_p | avr | MPU | GCC | 2,784 | 20 | 1 | [] |
[
"<s>",
"bool",
"MBlazeAsmBackend",
"::",
"fixupNeedsRelaxation",
"(",
"const",
"MCFixup",
"&",
"Fixup",
",",
"uint64_t",
"Value",
",",
"const",
"MCInstFragment",
"*",
"DF",
",",
"const",
"MCAsmLayout",
"&",
"Layout",
")",
"const",
"{",
"return",
"int64_t",
"("... | [
"Simple",
"predicate",
"for",
"targets",
"where",
"!",
"Resolved",
"implies",
"requiring",
"relaxation",
"."
] | [
"MBlaze",
"MBlaze"
] | MBlazeAsmBackend1 | fixupNeedsRelaxation | MBlaze | MPU | LLVM | 2,785 | 40 | 1 | [] |
[
"<s>",
"bool",
"n13_consumed_by_e2_dep_p",
"(",
"rtx_insn",
"*",
"consumer",
",",
"rtx",
"def_reg",
")",
"{",
"rtx",
"use_rtx",
";",
"switch",
"(",
"get_attr_type",
"(",
"consumer",
")",
")",
"{",
"case",
"TYPE_ALU",
":",
"case",
"TYPE_STORE",
":",
"use_rtx"... | [
"Check",
"the",
"dependency",
"between",
"the",
"producer",
"defining",
"DEF_REG",
"and",
"CONSUMER",
"requiring",
"input",
"operand",
"at",
"E2",
"."
] | [
"nds32",
"0"
] | nds32-pipelines-auxiliary | n13_consumed_by_e2_dep_p | nds32 | CPU | GCC | 2,786 | 112 | 1 | [] |
[
"<s>",
"void",
"MipsSubtarget",
"::",
"overrideSchedPolicy",
"(",
"MachineSchedPolicy",
"&",
"Policy",
",",
"unsigned",
"NumRegionInstrs",
")",
"const",
"{",
"}",
"</s>"
] | [
"Override",
"generic",
"scheduling",
"policy",
"within",
"a",
"region",
"."
] | [
"Mips",
"Mips"
] | MipsSubtarget37 | overrideSchedPolicy | Mips | CPU | LLVM | 2,787 | 15 | 1 | [] |
[
"<s>",
"bool",
"PPCRegisterInfo",
"::",
"needsFrameBaseReg",
"(",
"MachineInstr",
"*",
"MI",
",",
"int64_t",
"Offset",
")",
"const",
"{",
"assert",
"(",
"Offset",
"<",
"0",
"&&",
"\"Local offset must be negative\"",
")",
";",
"unsigned",
"OpC",
"=",
"MI",
"->"... | [
"Returns",
"true",
"if",
"the",
"instruction",
"'s",
"frame",
"index",
"reference",
"would",
"be",
"better",
"served",
"by",
"a",
"base",
"register",
"other",
"than",
"FP",
"or",
"SP",
"."
] | [
"PowerPC",
"PPC",
"0",
"\"Local offset must be negative\"",
"PPC::ADDI",
"PPC::ADDI8",
"2",
"0",
"PPC",
"PPC",
"PPC",
"PPC"
] | PPCRegisterInfo32 | needsFrameBaseReg | PowerPC | CPU | LLVM | 2,788 | 158 | 1 | [] |
[
"<s>",
"bool",
"AArch64FastISel",
"::",
"fastSelectInstruction",
"(",
"const",
"Instruction",
"*",
"I",
")",
"{",
"switch",
"(",
"I",
"->",
"getOpcode",
"(",
")",
")",
"{",
"default",
":",
"break",
";",
"case",
"Instruction",
"::",
"Add",
":",
"case",
"I... | [
"This",
"method",
"is",
"called",
"by",
"target-independent",
"code",
"when",
"the",
"normal",
"FastISel",
"process",
"fails",
"to",
"select",
"an",
"instruction",
"."
] | [
"AArch64",
"AArch64",
"ISD::SREM",
"ISD::SREM",
"ISD::UREM",
"ISD::UREM",
"ISD::FP_TO_SINT",
"ISD::TRUNCATE",
"ISD::SINT_TO_FP",
"AArch64",
"AArch64"
] | AArch64FastISel41 | fastSelectInstruction | AArch64 | CPU | LLVM | 2,789 | 481 | 1 | [] |
[
"<s>",
"static",
"void",
"fixup_mova",
"(",
"rtx_insn",
"*",
"mova",
")",
"{",
"PUT_MODE",
"(",
"XEXP",
"(",
"MOVA_LABELREF",
"(",
"mova",
")",
",",
"0",
")",
",",
"QImode",
")",
";",
"if",
"(",
"!",
"flag_pic",
")",
"{",
"SET_SRC",
"(",
"PATTERN",
... | [
"Fix",
"up",
"a",
"mova",
"from",
"a",
"switch",
"that",
"went",
"out",
"of",
"range",
"."
] | [
"sh",
"0",
"1",
"0",
"0",
"0",
"1",
"0",
"1",
"0",
"2",
"0",
"0",
"1",
"0",
"0",
"2",
"1"
] | sh | fixup_mova | sh | CPU | GCC | 2,790 | 285 | 1 | [] |
[
"<s>",
"virtual",
"bool",
"isPredicable",
"(",
"MachineInstr",
"*",
"MI",
")",
"const",
"{",
"return",
"true",
";",
"}",
"</s>"
] | [
"Return",
"true",
"if",
"the",
"specified",
"instruction",
"can",
"be",
"predicated",
"."
] | [
"PTX"
] | PTXInstrInfo | isPredicable | PTX | GPU | LLVM | 2,791 | 14 | 1 | [] |
[
"<s>",
"void",
"Initialize",
"(",
"MCContext",
"&",
"ctx",
",",
"const",
"TargetMachine",
"&",
"TM",
")",
"override",
"{",
"TargetLoweringObjectFile",
"::",
"Initialize",
"(",
"ctx",
",",
"TM",
")",
";",
"}",
"</s>"
] | [
"This",
"method",
"must",
"be",
"called",
"before",
"any",
"actual",
"lowering",
"is",
"done",
"."
] | [
"NVPTX"
] | NVPTXTargetObjectFile11 | Initialize | NVPTX | GPU | LLVM | 2,792 | 24 | 1 | [] |
[
"<s>",
"static",
"bool",
"extract_bundle",
"(",
"rtx_insn",
"*",
"insn",
",",
"struct",
"liw_data",
"*",
"pdata",
")",
"{",
"bool",
"allow_consts",
"=",
"true",
";",
"rtx",
"p",
";",
"gcc_assert",
"(",
"pdata",
"!=",
"NULL",
")",
";",
"if",
"(",
"insn"... | [
"Decide",
"if",
"the",
"given",
"insn",
"is",
"a",
"candidate",
"for",
"LIW",
"bundling",
".",
"If",
"it",
"is",
"then",
"extract",
"the",
"operands",
"and",
"LIW",
"attributes",
"from",
"the",
"insn",
"and",
"use",
"them",
"to",
"fill",
"in",
"the",
"... | [
"mn10300",
"0",
"1",
"1"
] | mn10300 | extract_bundle | mn10300 | MPU | GCC | 2,793 | 229 | 1 | [] |
[
"<s>",
"void",
"ARMDAGToDAGISel",
"::",
"PreprocessISelDAG",
"(",
")",
"{",
"if",
"(",
"!",
"Subtarget",
"->",
"hasV6T2Ops",
"(",
")",
")",
"return",
";",
"bool",
"isThumb2",
"=",
"Subtarget",
"->",
"isThumb",
"(",
")",
";",
"for",
"(",
"SelectionDAG",
"... | [
"PreprocessISelDAG",
"-",
"This",
"hook",
"allows",
"targets",
"to",
"hack",
"on",
"the",
"graph",
"before",
"instruction",
"selection",
"starts",
"."
] | [
"ARM",
"ARM",
"ISD::ADD",
"0",
"1",
"0",
"ISD::AND",
"ISD::AND",
"1",
"2",
"1",
"0",
"0",
"ISD::SRL",
"2",
"ISD::SRL",
"MVT::i32",
"0",
"MVT::i32",
"ISD::AND",
"MVT::i32",
"MVT::i32",
"ISD::SHL",
"MVT::i32",
"MVT::i32"
] | ARMISelDAGToDAG (2)4 | PreprocessISelDAG | ARM | CPU | LLVM | 2,794 | 421 | 1 | [] |
[
"<s>",
"bool",
"SystemZShortenInst",
"::",
"processBlock",
"(",
"MachineBasicBlock",
"&",
"MBB",
")",
"{",
"bool",
"Changed",
"=",
"false",
";",
"LiveRegs",
".",
"clear",
"(",
")",
";",
"LiveRegs",
".",
"addLiveOuts",
"(",
"&",
"MBB",
")",
";",
"for",
"(... | [
"processBlock",
"-",
"If",
"there",
"are",
"any",
"predecessors",
"whose",
"control",
"can",
"be",
"threaded",
"through",
"to",
"a",
"successor",
",",
"transform",
"them",
"now",
"."
] | [
"SystemZ",
"SystemZ",
"SystemZ::IILF",
"SystemZ::LLILL",
"SystemZ::LLILH",
"SystemZ::IIHF",
"SystemZ::LLIHL",
"SystemZ::LLIHH",
"SystemZ::WFADB",
"SystemZ::ADBR",
"SystemZ::WFDDB",
"SystemZ::DDBR",
"SystemZ::WFIDB",
"SystemZ::FIDBRA",
"SystemZ::WLDEB",
"SystemZ::LDEBR",
"SystemZ::WLE... | SystemZShortenInst2 | processBlock | SystemZ | CPU | LLVM | 2,795 | 417 | 1 | [] |
[
"<s>",
"bool",
"tilegx_emit_setcc",
"(",
"rtx",
"operands",
"[",
"]",
",",
"machine_mode",
"cmp_mode",
")",
"{",
"return",
"tilegx_emit_setcc_internal",
"(",
"operands",
"[",
"0",
"]",
",",
"GET_CODE",
"(",
"operands",
"[",
"1",
"]",
")",
",",
"operands",
... | [
"Implement",
"cstore",
"patterns",
"."
] | [
"tilegx",
"0",
"1",
"2",
"3"
] | tilegx | tilegx_emit_setcc | tilegx | VLIW | GCC | 2,796 | 42 | 1 | [] |
[
"<s>",
"static",
"void",
"tilegx_init_builtins",
"(",
"void",
")",
"{",
"size_t",
"i",
";",
"for",
"(",
"i",
"=",
"0",
";",
"i",
"<",
"ARRAY_SIZE",
"(",
"tilegx_builtins",
")",
";",
"i",
"++",
")",
"{",
"const",
"struct",
"tilegx_builtin_def",
"*",
"p"... | [
"Implement",
"TARGET_INIT_BUILTINS",
"."
] | [
"tilegx",
"0",
"1",
"0",
"0",
"1",
"1"
] | tilegx | tilegx_init_builtins | tilegx | VLIW | GCC | 2,797 | 183 | 1 | [] |
[
"<s>",
"bool",
"WebAssemblyPassConfig",
"::",
"addILPOpts",
"(",
")",
"{",
"return",
"true",
";",
"}",
"</s>"
] | [
"Add",
"passes",
"that",
"optimize",
"instruction",
"level",
"parallelism",
"for",
"out-of-order",
"targets",
"."
] | [
"WebAssembly",
"WebAssembly"
] | WebAssemblyTargetMachine2 | addILPOpts | WebAssembly | Virtual ISA | LLVM | 2,798 | 11 | 1 | [] |
[
"<s>",
"static",
"rtx_insn",
"*",
"arm_pic_static_addr",
"(",
"rtx",
"orig",
",",
"rtx",
"reg",
")",
"{",
"rtx",
"l1",
",",
"labelno",
",",
"offset_rtx",
";",
"gcc_assert",
"(",
"flag_pic",
")",
";",
"labelno",
"=",
"GEN_INT",
"(",
"pic_labelno",
"++",
"... | [
"Generate",
"code",
"to",
"load",
"the",
"address",
"of",
"a",
"static",
"var",
"when",
"flag_pic",
"is",
"set",
"."
] | [
"arm",
"1",
"8",
"4",
"2"
] | arm6 | arm_pic_static_addr | arm | CPU | GCC | 2,799 | 113 | 1 | [] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.