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",
"get_pc_thunk_name",
"(",
"char",
"name",
"[",
"32",
"]",
",",
"unsigned",
"int",
"regno",
")",
"{",
"gcc_assert",
"(",
"!",
"TARGET_64BIT",
")",
";",
"if",
"(",
"USE_HIDDEN_LINKONCE",
")",
"sprintf",
"(",
"name",
",",
"\"__x86.get... | [
"Fills",
"in",
"the",
"label",
"name",
"that",
"should",
"be",
"used",
"for",
"a",
"pc",
"thunk",
"for",
"the",
"given",
"register",
"."
] | [
"i386",
"32",
"\"__x86.get_pc_thunk.%s\"",
"\"LPR\""
] | i386 | get_pc_thunk_name | i386 | CPU | GCC | 24,600 | 48 | 1 | [] |
[
"<s>",
"const",
"MCPhysReg",
"*",
"MipsRegisterInfo",
"::",
"getCalleeSavedRegs",
"(",
"const",
"MachineFunction",
"*",
"MF",
")",
"const",
"{",
"if",
"(",
"Subtarget",
".",
"isSingleFloat",
"(",
")",
")",
"return",
"CSR_SingleFloatOnly_SaveList",
";",
"if",
"("... | [
"Code",
"Generation",
"virtual",
"methods",
"..."
] | [
"Mips",
"Mips"
] | MipsRegisterInfo30 | getCalleeSavedRegs | Mips | CPU | LLVM | 24,601 | 40 | 1 | [] |
[
"<s>",
"static",
"void",
"avr_asm_init_sections",
"(",
"void",
")",
"{",
"if",
"(",
"AVR_HAVE_JMP_CALL",
")",
"{",
"progmem_swtable_section",
"=",
"get_unnamed_section",
"(",
"0",
",",
"output_section_asm_op",
",",
"\"\\t.section\\t.progmem.gcc_sw_table\"",
"\",\\\"a\\\",... | [
"Implement",
"`",
"TARGET_ASM_INIT_SECTIONS",
"'",
"."
] | [
"avr",
"0",
"\"\\t.section\\t.progmem.gcc_sw_table\"",
"\",\\\"a\\\",@progbits\"",
"\"\\t.section\\t.progmem.gcc_sw_table\"",
"\",\\\"ax\\\",@progbits\""
] | avr4 | avr_asm_init_sections | avr | MPU | GCC | 24,602 | 65 | 1 | [] |
[
"<s>",
"EVT",
"X86TargetLowering",
"::",
"getSetCCResultType",
"(",
"const",
"DataLayout",
"&",
"DL",
",",
"LLVMContext",
"&",
",",
"EVT",
"VT",
")",
"const",
"{",
"if",
"(",
"!",
"VT",
".",
"isVector",
"(",
")",
")",
"return",
"Subtarget",
"->",
"hasAVX... | [
"Return",
"the",
"value",
"type",
"to",
"use",
"for",
"ISD",
":",
":SETCC",
"."
] | [
"X86",
"X86",
"MVT::i1",
"MVT::i8",
"MVT::i32",
"MVT::i64",
"MVT::f32",
"MVT::f64",
"8",
"MVT::v8i1",
"16",
"MVT::v16i1",
"MVT::i8",
"MVT::i16",
"32",
"MVT::v32i1",
"64",
"MVT::v64i1",
"MVT::i32",
"MVT::i64",
"MVT::f32",
"MVT::f64",
"2",
"MVT::v2i1",
"4",
"MVT::v4i1... | X86ISelLowering1 | getSetCCResultType | X86 | CPU | LLVM | 24,603 | 318 | 1 | [] |
[
"<s>",
"bool",
"ShouldShrinkFPConstant",
"(",
"EVT",
"VT",
")",
"const",
"{",
"return",
"VT",
"!=",
"MVT",
"::",
"f128",
";",
"}",
"</s>"
] | [
"If",
"true",
",",
"then",
"instruction",
"selection",
"should",
"seek",
"to",
"shrink",
"the",
"FP",
"constant",
"of",
"the",
"specified",
"type",
"to",
"a",
"smaller",
"type",
"in",
"order",
"to",
"save",
"space",
"and",
"/",
"or",
"reduce",
"runtime",
... | [
"Sparc",
"MVT::f128"
] | SparcISelLowering2 | ShouldShrinkFPConstant | Sparc | CPU | LLVM | 24,604 | 16 | 1 | [] |
[
"<s>",
"bool",
"X86TargetLowering",
"::",
"shouldConvertConstantLoadToIntImm",
"(",
"const",
"APInt",
"&",
"Imm",
",",
"Type",
"*",
"Ty",
")",
"const",
"{",
"assert",
"(",
"Ty",
"->",
"isIntegerTy",
"(",
")",
")",
";",
"unsigned",
"BitSize",
"=",
"Ty",
"->... | [
"Returns",
"true",
"if",
"it",
"is",
"beneficial",
"to",
"convert",
"a",
"load",
"of",
"a",
"constant",
"to",
"just",
"the",
"constant",
"itself",
"."
] | [
"X86",
"X86",
"0",
"64"
] | X86ISelLowering (2) | shouldConvertConstantLoadToIntImm | X86 | CPU | LLVM | 24,605 | 51 | 1 | [] |
[
"<s>",
"RegisterAggr",
"&",
"RegisterAggr",
"::",
"insert",
"(",
"RegisterRef",
"RR",
")",
"{",
"RegisterRef",
"NR",
"=",
"normalize",
"(",
"RR",
")",
";",
"auto",
"F",
"=",
"Masks",
".",
"find",
"(",
"NR",
".",
"Reg",
")",
";",
"if",
"(",
"F",
"==... | [
"insert",
"-",
"Append",
"entry",
"to",
"the",
"vector",
"if",
"it",
"does",
"n't",
"already",
"exist",
"."
] | [
"Hexagon"
] | RDFRegisters3 | insert | Hexagon | DSP | LLVM | 24,606 | 140 | 1 | [] |
[
"<s>",
"bool",
"IA64TargetMachine",
"::",
"addPreEmitPass",
"(",
"PassManagerBase",
"&",
"PM",
",",
"CodeGenOpt",
"::",
"Level",
"OptLevel",
")",
"{",
"PM",
".",
"add",
"(",
"createIA64BundlingPass",
"(",
"*",
"this",
")",
")",
";",
"return",
"true",
";",
... | [
"This",
"pass",
"may",
"be",
"implemented",
"by",
"targets",
"that",
"want",
"to",
"run",
"passes",
"immediately",
"before",
"machine",
"code",
"is",
"emitted",
"."
] | [
"IA64",
"IA64",
"IA64"
] | IA64TargetMachine | addPreEmitPass | IA64 | CPU | LLVM | 24,607 | 30 | 1 | [] |
[
"<s>",
"bool",
"X86LowerTileCopy",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"{",
"const",
"X86Subtarget",
"&",
"ST",
"=",
"MF",
".",
"getSubtarget",
"<",
"X86Subtarget",
">",
"(",
")",
";",
"const",
"X86InstrInfo",
"*",
"TII",
"=... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"X86",
"X86",
"X86",
"X86",
"X86",
"0",
"1",
"X86::TILERegClass",
"X86::TILERegClass",
"X86::TILERegClass",
"X86::GR64RegClass",
"X86::GR64RegClass",
"X86::RAX",
"X86::IMPLICIT_DEF",
"X86::MOV64mr",
"X86::MOV64ri",
"64",
"X86::TILESTORED",
"2",
"X86::TILELOADD",
"X86::MOV64rm... | X86LowerTileCopy1 | runOnMachineFunction | X86 | CPU | LLVM | 24,608 | 453 | 1 | [] |
[
"<s>",
"bool",
"HexagonMCInstrInfo",
"::",
"isPredicated",
"(",
"MCInstrInfo",
"const",
"&",
"MCII",
",",
"MCInst",
"const",
"&",
"MCI",
")",
"{",
"const",
"uint64_t",
"F",
"=",
"HexagonMCInstrInfo",
"::",
"getDesc",
"(",
"MCII",
",",
"MCI",
")",
".",
"TSF... | [
"Returns",
"true",
"if",
"the",
"instruction",
"is",
"already",
"predicated",
"."
] | [
"Hexagon",
"Hexagon",
"Hexagon",
"HexagonII::PredicatedPos",
"HexagonII::PredicatedMask"
] | HexagonMCInstrInfo (2)1 | isPredicated | Hexagon | DSP | LLVM | 24,609 | 47 | 1 | [] |
[
"<s>",
"static",
"struct",
"aarch64_arch_driver_info",
"*",
"get_arch_from_id",
"(",
"const",
"char",
"*",
"id",
")",
"{",
"unsigned",
"int",
"i",
"=",
"0",
";",
"for",
"(",
"i",
"=",
"0",
";",
"aarch64_arches",
"[",
"i",
"]",
".",
"id",
"!=",
"NULL",
... | [
"Return",
"an",
"aarch64_arch_driver_info",
"for",
"the",
"architecture",
"described",
"by",
"ID",
",",
"or",
"NULL",
"if",
"ID",
"describes",
"something",
"we",
"do",
"n't",
"know",
"about",
"."
] | [
"aarch64",
"0",
"0",
"0"
] | driver-aarch64 | get_arch_from_id | aarch64 | CPU | GCC | 24,610 | 65 | 1 | [] |
[
"<s>",
"InstructionCost",
"AArch64TTIImpl",
"::",
"getMinMaxReductionCost",
"(",
"VectorType",
"*",
"Ty",
",",
"VectorType",
"*",
"CondTy",
",",
"bool",
"IsPairwise",
",",
"bool",
"IsUnsigned",
",",
"TTI",
"::",
"TargetCostKind",
"CostKind",
")",
"{",
"if",
"(",... | [
"Try",
"to",
"calculate",
"op",
"costs",
"for",
"min/max",
"reduction",
"operations",
"."
] | [
"AArch64",
"AArch64",
"\"Both vector needs to be scalable\"",
"0",
"1",
"1",
"2"
] | AArch64TargetTransformInfo27 | getMinMaxReductionCost | AArch64 | CPU | LLVM | 24,611 | 194 | 1 | [] |
[
"<s>",
"const",
"MCExpr",
"*",
"AArch64_MachoTargetObjectFile",
"::",
"getIndirectSymViaGOTPCRel",
"(",
"const",
"GlobalValue",
"*",
"GV",
",",
"const",
"MCSymbol",
"*",
"Sym",
",",
"const",
"MCValue",
"&",
"MV",
",",
"int64_t",
"Offset",
",",
"MachineModuleInfo",... | [
"Get",
"the",
"target",
"specific",
"PC",
"relative",
"GOT",
"entry",
"relocation",
"."
] | [
"AArch64",
"AArch64",
"0",
"\"Arch64 does not support GOT PC rel with extra offset\""
] | AArch64TargetObjectFile15 | getIndirectSymViaGOTPCRel | AArch64 | CPU | LLVM | 24,612 | 122 | 1 | [] |
[
"<s>",
"static",
"void",
"rs6000_init_sched_context",
"(",
"void",
"*",
"_sc",
",",
"bool",
"clean_p",
")",
"{",
"rs6000_sched_context_t",
"sc",
"=",
"(",
"rs6000_sched_context_t",
")",
"_sc",
";",
"if",
"(",
"clean_p",
")",
"{",
"sc",
"->",
"cached_can_issue_... | [
"If",
"CLEAN_P",
"is",
"true",
"then",
"initializes",
"_SC",
"with",
"clean",
"data",
",",
"and",
"from",
"the",
"global",
"context",
"otherwise",
"."
] | [
"rs6000",
"0",
"0",
"0",
"0"
] | rs6000 | rs6000_init_sched_context | rs6000 | CPU | GCC | 24,613 | 90 | 1 | [] |
[
"<s>",
"static",
"int",
"ix86_fp_comparison_cost",
"(",
"enum",
"rtx_code",
"code",
")",
"{",
"int",
"fcomi_cost",
",",
"sahf_cost",
",",
"arithmetics_cost",
"=",
"1024",
";",
"int",
"min",
";",
"fcomi_cost",
"=",
"ix86_fp_comparison_fcomi_cost",
"(",
"code",
")... | [
"Compute",
"cost",
"of",
"the",
"comparison",
"done",
"using",
"any",
"method",
".",
"See",
"ix86_fp_comparison_arithmetics_cost",
"for",
"the",
"metrics",
"."
] | [
"i386",
"1024"
] | i3863 | ix86_fp_comparison_cost | i386 | CPU | GCC | 24,614 | 68 | 1 | [] |
[
"<s>",
"unsigned",
"getReg",
"(",
")",
"const",
"{",
"assert",
"(",
"(",
"Kind",
"==",
"k_Register",
"||",
"Kind",
"==",
"k_WrappedRegister",
")",
"&&",
"\"Invalid access!\"",
")",
";",
"return",
"Reg",
".",
"RegNum",
";",
"}",
"</s>"
] | [
"Returns",
"the",
"register",
"associated",
"with",
"this",
"edge",
"."
] | [
"AArch64",
"\"Invalid access!\""
] | AArch64AsmParser13 | getReg | AArch64 | CPU | LLVM | 24,615 | 27 | 1 | [] |
[
"<s>",
"static",
"rtx",
"mips_call_tls_get_addr",
"(",
"rtx",
"sym",
",",
"enum",
"mips_symbol_type",
"type",
",",
"rtx",
"v0",
")",
"{",
"rtx",
"insn",
",",
"loc",
",",
"a0",
";",
"a0",
"=",
"gen_rtx_REG",
"(",
"Pmode",
",",
"GP_ARG_FIRST",
")",
";",
... | [
"Return",
"an",
"instruction",
"sequence",
"that",
"calls",
"__tls_get_addr",
".",
"SYM",
"is",
"the",
"TLS",
"symbol",
"we",
"are",
"referencing",
"and",
"TYPE",
"is",
"the",
"symbol",
"type",
"to",
"use",
"(",
"either",
"global",
"dynamic",
"or",
"local",
... | [
"mips",
"\"__tls_get_addr\"",
"1"
] | mips4 | mips_call_tls_get_addr | mips | CPU | GCC | 24,616 | 124 | 1 | [] |
[
"<s>",
"const",
"char",
"*",
"host_detect_local_cpu",
"(",
"int",
"argc",
",",
"const",
"char",
"*",
"*",
"argv",
")",
"{",
"const",
"char",
"*",
"cpu",
"=",
"NULL",
";",
"char",
"*",
"buf",
"=",
"NULL",
";",
"kstat_ctl_t",
"*",
"kc",
";",
"kstat_t",... | [
"This",
"will",
"be",
"called",
"by",
"the",
"spec",
"parser",
"in",
"gcc.cc",
"when",
"it",
"sees",
"a",
"%",
":",
"local_cpu_detect",
"(",
"args",
")",
"construct",
".",
"Currently",
"it",
"will",
"be",
"called",
"with",
"either",
"``",
"cpu",
"''",
... | [
"sparc",
"128",
"1",
"0",
"\"cpu\"",
"0",
"\"tune\"",
"\"cpu_info\"",
"1",
"1",
"\"brand\"",
"0",
"0",
"\"/proc/cpuinfo\"",
"\"r\"",
"\"cpu\\t\\t:\"",
"0",
"\"-m\"",
"0",
"\"=\""
] | driver-sparc | host_detect_local_cpu | sparc | CPU | GCC | 24,617 | 365 | 1 | [] |
[
"<s>",
"void",
"arm_asm_output_labelref",
"(",
"FILE",
"*",
"stream",
",",
"const",
"char",
"*",
"name",
")",
"{",
"int",
"skip",
";",
"int",
"verbatim",
"=",
"0",
";",
"while",
"(",
"(",
"skip",
"=",
"arm_get_strip_length",
"(",
"*",
"name",
")",
")",... | [
"If",
"there",
"is",
"a",
"'",
"*",
"'",
"anywhere",
"in",
"the",
"name",
"'s",
"prefix",
",",
"then",
"emit",
"the",
"stripped",
"name",
"verbatim",
",",
"otherwise",
"prepend",
"an",
"underscore",
"if",
"leading",
"underscores",
"are",
"being",
"used",
... | [
"arm",
"0",
"\"%U%s\""
] | arm | arm_asm_output_labelref | arm | CPU | GCC | 24,618 | 70 | 1 | [] |
[
"<s>",
"static",
"int",
"s390_sched_reorder",
"(",
"FILE",
"*",
"file",
",",
"int",
"verbose",
",",
"rtx_insn",
"*",
"*",
"ready",
",",
"int",
"*",
"nreadyp",
",",
"int",
"clock",
"ATTRIBUTE_UNUSED",
")",
"{",
"if",
"(",
"s390_tune",
"==",
"PROCESSOR_2097_... | [
"This",
"function",
"is",
"called",
"via",
"hook",
"TARGET_SCHED_REORDER",
"before",
"issuing",
"one",
"insn",
"from",
"list",
"READY",
"which",
"contains",
"*",
"NREADYP",
"entries",
".",
"For",
"target",
"z10",
"it",
"reorders",
"load",
"instructions",
"to",
... | [
"s390",
"1",
"1",
"1",
"1",
"1",
"0",
"0",
"1",
"5",
"\"move insn %d to the top of list\\n\"",
"5",
"\"best insn %d already on top\\n\"",
"5",
"\"ready list ooo attributes - sched state: %d\\n\"",
"0",
"0",
"\"insn %d score: %d: \"",
"\"\\n\""
] | s3904 | s390_sched_reorder | s390 | MPU | GCC | 24,619 | 333 | 1 | [] |
[
"<s>",
"void",
"WebAssemblyTargetLowering",
"::",
"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",
"."
] | [
"WebAssembly",
"WebAssembly",
"ISD::SIGN_EXTEND_INREG",
"\"ReplaceNodeResults not implemented for this op for WebAssembly!\""
] | WebAssemblyISelLowering (2)2 | ReplaceNodeResults | WebAssembly | Virtual ISA | LLVM | 24,620 | 47 | 1 | [] |
[
"<s>",
"void",
"expand_epilogue",
"(",
")",
"{",
"int",
"size",
";",
"register",
"int",
"regno",
";",
"int",
"return_size",
";",
"rtx",
"scratch",
";",
"if",
"(",
"reload_completed",
"!=",
"1",
")",
"abort",
"(",
")",
";",
"size",
"=",
"get_frame_size",
... | [
"Expand",
"the",
"epilogue",
"into",
"RTL",
"."
] | [
"m68hc11",
"1",
"0",
"0",
"4",
"3",
"8",
"2",
"2",
"2",
"1",
"1",
"0",
"0",
"1",
"0",
"3",
"0"
] | m68hc11 | expand_epilogue | m68hc11 | MPU | GCC | 24,621 | 432 | 1 | [] |
[
"<s>",
"void",
"encodeInstruction",
"(",
"const",
"MCInst",
"&",
"MI",
",",
"raw_ostream",
"&",
"OS",
",",
"SmallVectorImpl",
"<",
"MCFixup",
">",
"&",
"Fixups",
",",
"const",
"MCSubtargetInfo",
"&",
"STI",
")",
"const",
"override",
"{",
"verifyInstructionPred... | [
"Encode",
"the",
"given",
"Inst",
"to",
"bytes",
"and",
"append",
"to",
"CB",
"."
] | [
"PowerPC",
"0",
"4",
"support::endian",
"support::little",
"support::endian",
"support::big",
"8",
"32",
"32",
"support::endian",
"support::little",
"support::endian",
"support::big",
"\"Invalid instruction size\""
] | PPCMCCodeEmitter42 | encodeInstruction | PowerPC | CPU | LLVM | 24,622 | 236 | 1 | [] |
[
"<s>",
"void",
"mips_final_prescan_insn",
"(",
"rtx_insn",
"*",
"insn",
",",
"rtx",
"*",
"opvec",
",",
"int",
"noperands",
")",
"{",
"if",
"(",
"INSN_P",
"(",
"insn",
")",
"&&",
"GET_CODE",
"(",
"PATTERN",
"(",
"insn",
")",
")",
"==",
"UNSPEC_VOLATILE",
... | [
"Implement",
"FINAL_PRESCAN_INSN",
"."
] | [
"mips",
"1",
"\"__pool_\"",
"0",
"0",
"0"
] | mips6 | mips_final_prescan_insn | mips | CPU | GCC | 24,623 | 88 | 1 | [] |
[
"<s>",
"void",
"SITargetLowering",
"::",
"finalizeLowering",
"(",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"MachineRegisterInfo",
"&",
"MRI",
"=",
"MF",
".",
"getRegInfo",
"(",
")",
";",
"SIMachineFunctionInfo",
"*",
"Info",
"=",
"MF",
".",
"getInfo",
... | [
"Execute",
"target",
"specific",
"actions",
"to",
"finalize",
"target",
"lowering",
"."
] | [
"AMDGPU",
"SI",
"SI",
"SI",
"SI",
"AMDGPU::SP_REG",
"AMDGPU::SP_REG",
"AMDGPU::PRIVATE_RSRC_REG",
"AMDGPU::PRIVATE_RSRC_REG",
"AMDGPU::FP_REG",
"AMDGPU::FP_REG",
"AMDGPU::SCRATCH_WAVE_OFFSET_REG",
"AMDGPU::SCRATCH_WAVE_OFFSET_REG"
] | SIISelLowering119 | finalizeLowering | AMDGPU | GPU | LLVM | 24,624 | 216 | 1 | [] |
[
"<s>",
"AArch64TargetMachine",
"::",
"AArch64TargetMachine",
"(",
"const",
"Target",
"&",
"T",
",",
"const",
"Triple",
"&",
"TT",
",",
"StringRef",
"CPU",
",",
"StringRef",
"FS",
",",
"const",
"TargetOptions",
"&",
"Options",
",",
"Optional",
"<",
"Reloc",
"... | [
"Create",
"an",
"AArch64",
"architecture",
"model",
"."
] | [
"AArch64",
"AArch64",
"AArch64",
"AArch64"
] | AArch64TargetMachine15 | AArch64TargetMachine | AArch64 | CPU | LLVM | 24,625 | 220 | 1 | [] |
[
"<s>",
"static",
"void",
"xstormy16_print_operand",
"(",
"FILE",
"*",
"file",
",",
"rtx",
"x",
",",
"int",
"code",
")",
"{",
"switch",
"(",
"code",
")",
"{",
"case",
"'B'",
":",
"{",
"static",
"int",
"bits_set",
"[",
"8",
"]",
"=",
"{",
"0",
",",
... | [
"Print",
"an",
"operand",
"to",
"an",
"assembler",
"instruction",
"."
] | [
"stormy16",
"8",
"0",
"1",
"1",
"2",
"1",
"2",
"2",
"3",
"1",
"\"'B' operand is not constant\"",
"7",
"1",
"0xff",
"0",
"0xff",
"0xffff",
"0",
"0xffff",
"0xff",
"0",
"0xff",
"0xffff",
"0",
"0xffff",
"1",
"\"'B' operand has multiple bits set\"",
"0",
"0",
"... | stormy164 | xstormy16_print_operand | stormy16 | CPU | GCC | 24,626 | 459 | 1 | [] |
[
"<s>",
"bool",
"M680x0ExpandPseudo",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"{",
"STI",
"=",
"&",
"static_cast",
"<",
"const",
"M680x0Subtarget",
"&",
">",
"(",
"MF",
".",
"getSubtarget",
"(",
")",
")",
";",
"TII",
"=",
"STI"... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"M680x0",
"M680x0",
"M680x0",
"M680x0"
] | M680x0ExpandPseudo | runOnMachineFunction | M680x0 | MPU | LLVM | 24,627 | 86 | 1 | [] |
[
"<s>",
"bool",
"SIInstrInfo",
"::",
"isInlineConstant",
"(",
"const",
"MachineOperand",
"&",
"MO",
",",
"uint8_t",
"OperandType",
")",
"const",
"{",
"if",
"(",
"!",
"MO",
".",
"isImm",
"(",
")",
"||",
"OperandType",
"<",
"AMDGPU",
"::",
"OPERAND_SRC_FIRST",
... | [
"returns",
"true",
"if",
"the",
"operand",
"OpIdx",
"in",
"MI",
"is",
"a",
"valid",
"inline",
"immediate",
"."
] | [
"AMDGPU",
"SI",
"AMDGPU::OPERAND_SRC_FIRST",
"AMDGPU::OPERAND_SRC_LAST",
"AMDGPU::OPERAND_REG_IMM_INT32",
"AMDGPU::OPERAND_REG_IMM_FP32",
"AMDGPU::OPERAND_REG_INLINE_C_INT32",
"AMDGPU::OPERAND_REG_INLINE_C_FP32",
"AMDGPU::OPERAND_REG_INLINE_AC_INT32",
"AMDGPU::OPERAND_REG_INLINE_AC_FP32",
"AMDGP... | SIInstrInfo12 | isInlineConstant | AMDGPU | GPU | LLVM | 24,628 | 300 | 1 | [] |
[
"<s>",
"bool",
"XNCMTargetLowering",
"::",
"isTruncateFree",
"(",
"EVT",
"VT1",
",",
"EVT",
"VT2",
")",
"const",
"{",
"if",
"(",
"!",
"VT1",
".",
"isInteger",
"(",
")",
"||",
"!",
"VT2",
".",
"isInteger",
"(",
")",
")",
"return",
"false",
";",
"retur... | [
"Return",
"true",
"if",
"it",
"'s",
"free",
"to",
"truncate",
"a",
"value",
"of",
"type",
"Ty1",
"to",
"type",
"Ty2",
"."
] | [
"XNCM",
"XNCM"
] | XNCMISelLowering | isTruncateFree | XNCM | CPU | LLVM | 24,629 | 48 | 1 | [] |
[
"<s>",
"static",
"void",
"s390_optimize_register_info",
"(",
")",
"{",
"char",
"clobbered_regs",
"[",
"32",
"]",
";",
"int",
"i",
";",
"gcc_assert",
"(",
"epilogue_completed",
")",
";",
"gcc_assert",
"(",
"!",
"cfun",
"->",
"machine",
"->",
"split_branches_pen... | [
"This",
"function",
"is",
"called",
"by",
"s390_optimize_prologue",
"in",
"order",
"to",
"get",
"rid",
"of",
"unnecessary",
"GPR",
"save/restore",
"instructions",
".",
"The",
"register",
"info",
"for",
"the",
"GPRs",
"is",
"re-computed",
"and",
"the",
"ranges",
... | [
"s390",
"32",
"0",
"32",
"6",
"6",
"16"
] | s3905 | s390_optimize_register_info | s390 | MPU | GCC | 24,630 | 129 | 1 | [] |
[
"<s>",
"static",
"bool",
"aarch64_vector_mode_p",
"(",
"machine_mode",
"mode",
")",
"{",
"return",
"aarch64_vector_mode_supported_p",
"(",
"mode",
")",
"||",
"aarch64_vect_struct_mode_p",
"(",
"mode",
")",
";",
"}",
"</s>"
] | [
"Return",
"TRUE",
"if",
"MODE",
"is",
"any",
"of",
"the",
"vector",
"modes",
"."
] | [
"aarch64"
] | aarch642 | aarch64_vector_mode_p | aarch64 | CPU | GCC | 24,631 | 20 | 1 | [] |
[
"<s>",
"void",
"LEGInstPrinter",
"::",
"printInst",
"(",
"const",
"MCInst",
"*",
"MI",
",",
"raw_ostream",
"&",
"O",
",",
"StringRef",
"Annot",
")",
"{",
"printInstruction",
"(",
"MI",
",",
"O",
")",
";",
"printAnnotation",
"(",
"O",
",",
"Annot",
")",
... | [
"Print",
"the",
"specified",
"MCInst",
"to",
"the",
"specified",
"raw_ostream",
"."
] | [
"LEG",
"LEG"
] | LEGInstPrinter1 | printInst | LEG | CPU | LLVM | 24,632 | 33 | 1 | [] |
[
"<s>",
"F2003fSubtarget",
"&",
"F2003fSubtarget",
"::",
"initializeSubtargetDependencies",
"(",
"StringRef",
"CPU",
",",
"StringRef",
"FS",
")",
"{",
"std",
"::",
"string",
"CPUName",
"=",
"CPU",
";",
"if",
"(",
"CPUName",
".",
"empty",
"(",
")",
")",
"CPUNa... | [
"initializeSubtargetDependencies",
"-",
"Initializes",
"using",
"a",
"CPU",
",",
"a",
"TuneCPU",
",",
"and",
"feature",
"string",
"so",
"that",
"we",
"can",
"use",
"initializer",
"lists",
"for",
"subtarget",
"initialization",
"."
] | [
"F2003f",
"F2003f",
"F2003f",
"\"2003f\""
] | F2003fSubtarget | initializeSubtargetDependencies | F2003f | CPU | LLVM | 24,633 | 44 | 1 | [] |
[
"<s>",
"ARMSubtarget",
"::",
"ARMSubtarget",
"(",
"const",
"Triple",
"&",
"TT",
",",
"const",
"std",
"::",
"string",
"&",
"CPU",
",",
"const",
"std",
"::",
"string",
"&",
"FS",
",",
"const",
"ARMBaseTargetMachine",
"&",
"TM",
",",
"bool",
"IsLittle",
")"... | [
"This",
"constructor",
"initializes",
"the",
"data",
"members",
"to",
"match",
"that",
"of",
"the",
"specified",
"triple",
"."
] | [
"ARM",
"ARM",
"ARM",
"ARM",
"ARM",
"ARM",
"ARM",
"ARM",
"ARM",
"ARM",
"\"Target must either be thumb or support ARM operations!\"",
"ARM",
"ARM",
"ARM",
"ARM",
"ARM",
"ARM",
"ARM"
] | ARMSubtarget51 | ARMSubtarget | ARM | CPU | LLVM | 24,634 | 256 | 1 | [] |
[
"<s>",
"bool",
"ARMPassConfig",
"::",
"addInstSelector",
"(",
")",
"{",
"addPass",
"(",
"createARMISelDag",
"(",
"getARMTargetMachine",
"(",
")",
",",
"getOptLevel",
"(",
")",
")",
")",
";",
"const",
"ARMSubtarget",
"*",
"Subtarget",
"=",
"&",
"getARMSubtarget... | [
"addInstSelector",
"-",
"This",
"method",
"should",
"install",
"an",
"instruction",
"selector",
"pass",
",",
"which",
"converts",
"from",
"LLVM",
"code",
"to",
"machine",
"instructions",
"."
] | [
"ARM",
"ARM",
"ARM",
"ARM",
"ARM",
"ARM",
"ARM"
] | ARMTargetMachine100 | addInstSelector | ARM | CPU | LLVM | 24,635 | 63 | 1 | [] |
[
"<s>",
"static",
"int",
"ix86_avx_u128_mode_after",
"(",
"int",
"mode",
",",
"rtx_insn",
"*",
"insn",
")",
"{",
"rtx",
"pat",
"=",
"PATTERN",
"(",
"insn",
")",
";",
"if",
"(",
"vzeroupper_pattern",
"(",
"pat",
",",
"VOIDmode",
")",
"||",
"vzeroall_pattern"... | [
"Calculate",
"mode",
"of",
"upper",
"128bit",
"AVX",
"registers",
"after",
"the",
"insn",
"."
] | [
"i386"
] | i386 | ix86_avx_u128_mode_after | i386 | CPU | GCC | 24,636 | 74 | 1 | [] |
[
"<s>",
"int",
"h8300_ldm_stm_parallel",
"(",
"rtvec",
"vec",
",",
"int",
"load_p",
",",
"int",
"first",
")",
"{",
"rtx",
"last",
";",
"int",
"nregs",
",",
"i",
",",
"regno",
",",
"adjust",
";",
"if",
"(",
"GET_NUM_ELEM",
"(",
"vec",
")",
"<",
"3",
... | [
"Return",
"true",
"if",
"the",
"elements",
"of",
"VEC",
"starting",
"at",
"FIRST",
"describe",
"an",
"ldm",
"or",
"stm",
"instruction",
"(",
"LOAD_P",
"says",
"which",
")",
"."
] | [
"h8300",
"3",
"1",
"0",
"0",
"8",
"1",
"0",
"2",
"3",
"0",
"1",
"4"
] | h8300 | h8300_ldm_stm_parallel | h8300 | MPU | GCC | 24,637 | 210 | 1 | [] |
[
"<s>",
"bool",
"mergeStoresAfterLegalization",
"(",
"EVT",
"MemVT",
")",
"const",
"override",
"{",
"return",
"false",
";",
"}",
"</s>"
] | [
"Do",
"not",
"merge",
"vector",
"stores",
"after",
"legalization",
"because",
"that",
"may",
"conflict",
"with",
"x86-specific",
"store",
"splitting",
"optimizations",
"."
] | [
"TPC"
] | TPCISelLowering | mergeStoresAfterLegalization | TPC | Virtual ISA | LLVM | 24,638 | 13 | 1 | [] |
[
"<s>",
"rtx",
"s390_emit_call",
"(",
"rtx",
"addr_location",
",",
"rtx",
"tls_call",
",",
"rtx",
"result_reg",
",",
"rtx",
"retaddr_reg",
")",
"{",
"bool",
"plt_call",
"=",
"false",
";",
"rtx",
"insn",
";",
"rtx",
"call",
";",
"rtx",
"clobber",
";",
"rtv... | [
"This",
"function",
"is",
"used",
"by",
"the",
"call",
"expanders",
"of",
"the",
"machine",
"description",
".",
"It",
"emits",
"the",
"call",
"insn",
"itself",
"together",
"with",
"the",
"necessary",
"operations",
"to",
"adjust",
"the",
"target",
"address",
... | [
"s390",
"1",
"0",
"3",
"2"
] | s3903 | s390_emit_call | s390 | MPU | GCC | 24,639 | 300 | 1 | [] |
[
"<s>",
"static",
"rtx",
"aarch64_expand_builtin_memtag",
"(",
"int",
"fcode",
",",
"tree",
"exp",
",",
"rtx",
"target",
")",
"{",
"if",
"(",
"TARGET_ILP32",
")",
"{",
"error",
"(",
"\"Memory Tagging Extension does not support %<-mabi=ilp32%>\"",
")",
";",
"return",
... | [
"Expand",
"an",
"expression",
"EXP",
"that",
"calls",
"a",
"MEMTAG",
"built-in",
"FCODE",
"with",
"result",
"going",
"to",
"TARGET",
"."
] | [
"aarch64",
"\"Memory Tagging Extension does not support %<-mabi=ilp32%>\"",
"1",
"0",
"0",
"1",
"3",
"\"argument %d must be a constant immediate \"",
"\"in range [0,15]\"",
"2",
"1"
] | aarch64-builtins | aarch64_expand_builtin_memtag | aarch64 | CPU | GCC | 24,640 | 365 | 1 | [] |
[
"<s>",
"static",
"rtx",
"nvptx_expand_builtin",
"(",
"tree",
"exp",
",",
"rtx",
"target",
",",
"rtx",
"ARG_UNUSED",
"(",
"subtarget",
")",
",",
"machine_mode",
"mode",
",",
"int",
"ignore",
")",
"{",
"tree",
"fndecl",
"=",
"TREE_OPERAND",
"(",
"CALL_EXPR_FN"... | [
"Expand",
"an",
"expression",
"EXP",
"that",
"calls",
"a",
"built-in",
"function",
",",
"with",
"result",
"going",
"to",
"TARGET",
"if",
"that",
"'s",
"convenient",
"(",
"and",
"in",
"mode",
"MODE",
"if",
"that",
"'s",
"convenient",
")",
".",
"SUBTARGET",
... | [
"nvptx",
"0"
] | nvptx | nvptx_expand_builtin | nvptx | GPU | GCC | 24,641 | 148 | 1 | [] |
[
"<s>",
"StringRef",
"getPassName",
"(",
")",
"const",
"override",
"{",
"return",
"\"MVE VPT block insertion pass\"",
";",
"}",
"</s>"
] | [
"getPassName",
"-",
"Return",
"a",
"nice",
"clean",
"name",
"for",
"a",
"pass",
"."
] | [
"ARM",
"\"MVE VPT block insertion pass\""
] | MVEVPTBlockPass (2) | getPassName | ARM | CPU | LLVM | 24,642 | 11 | 1 | [] |
[
"<s>",
"bool",
"GCNUpwardRPTracker",
"::",
"isValid",
"(",
")",
"const",
"{",
"const",
"auto",
"&",
"SI",
"=",
"LIS",
".",
"getInstructionIndex",
"(",
"*",
"LastTrackedMI",
")",
".",
"getBaseIndex",
"(",
")",
";",
"const",
"auto",
"LISLR",
"=",
"llvm",
"... | [
"Returns",
"true",
"if",
"this",
"iterator",
"is",
"still",
"pointing",
"at",
"a",
"valid",
"entry",
"."
] | [
"AMDGPU",
"SI",
"SI",
"\"\\nGCNUpwardRPTracker error: Tracked and\"",
"\" LIS reported livesets mismatch:\\n\"",
"SI",
"\"GCNUpwardRPTracker error: Pressure sets different\\nTracked: \"",
"\"LIS rpt: \""
] | GCNRegPressure22 | isValid | AMDGPU | GPU | LLVM | 24,643 | 151 | 1 | [] |
[
"<s>",
"bool",
"ARMPassConfig",
"::",
"addPreRegAlloc",
"(",
")",
"{",
"if",
"(",
"getOptLevel",
"(",
")",
"!=",
"CodeGenOpt",
"::",
"None",
")",
"addPass",
"(",
"createARMLoadStoreOptimizationPass",
"(",
"true",
")",
")",
";",
"if",
"(",
"getOptLevel",
"(",... | [
"This",
"method",
"may",
"be",
"implemented",
"by",
"targets",
"that",
"want",
"to",
"run",
"passes",
"immediately",
"before",
"register",
"allocation",
"."
] | [
"ARM",
"ARM",
"ARM",
"ARM",
"ARM",
"ARM"
] | ARMTargetMachine35 | addPreRegAlloc | ARM | CPU | LLVM | 24,644 | 92 | 1 | [] |
[
"<s>",
"const",
"SNESInstrInfo",
"*",
"getInstrInfo",
"(",
")",
"const",
"override",
"{",
"return",
"&",
"InstrInfo",
";",
"}",
"</s>"
] | [
"TargetInstrInfo",
"getter",
"."
] | [
"SNES",
"SNES"
] | SNESSubtarget | getInstrInfo | SNES | DSP | LLVM | 24,645 | 14 | 1 | [] |
[
"<s>",
"const",
"ARMSubtarget",
"*",
"getSubtargetImpl",
"(",
")",
"const",
"override",
"{",
"return",
"&",
"Subtarget",
";",
"}",
"</s>"
] | [
"Virtual",
"method",
"implemented",
"by",
"subclasses",
"that",
"returns",
"a",
"reference",
"to",
"that",
"target",
"'s",
"TargetSubtargetInfo-derived",
"member",
"variable",
"."
] | [
"ARM",
"ARM"
] | ARMTargetMachine12 | getSubtargetImpl | ARM | CPU | LLVM | 24,646 | 14 | 1 | [] |
[
"<s>",
"void",
"WebAssemblyPassConfig",
"::",
"addIRPasses",
"(",
")",
"{",
"if",
"(",
"TM",
"->",
"Options",
".",
"ThreadModel",
"==",
"ThreadModel",
"::",
"Single",
")",
"addPass",
"(",
"createLowerAtomicPass",
"(",
")",
")",
";",
"else",
"addPass",
"(",
... | [
"Add",
"common",
"target",
"configurable",
"passes",
"that",
"perform",
"LLVM",
"IR",
"to",
"IR",
"transforms",
"following",
"machine",
"independent",
"optimization",
"."
] | [
"WebAssembly",
"WebAssembly"
] | WebAssemblyTargetMachine2 | addIRPasses | WebAssembly | Virtual ISA | LLVM | 24,647 | 42 | 1 | [] |
[
"<s>",
"void",
"IA64RegisterInfo",
"::",
"eliminateCallFramePseudoInstr",
"(",
"MachineFunction",
"&",
"MF",
",",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"I",
")",
"const",
"{",
"if",
"(",
"hasFP",
"(",
"MF",
")",
")",
"{",... | [
"This",
"method",
"is",
"called",
"during",
"prolog/epilog",
"code",
"insertion",
"to",
"eliminate",
"call",
"frame",
"setup",
"and",
"destroy",
"pseudo",
"instructions",
"(",
"but",
"only",
"if",
"the",
"Target",
"is",
"using",
"them",
")",
"."
] | [
"IA64",
"IA64",
"0",
"0",
"1",
"IA64::ADJUSTCALLSTACKDOWN",
"IA64::ADDIMM22",
"IA64::r12",
"IA64::r12",
"IA64::ADJUSTCALLSTACKUP",
"IA64::ADDIMM22",
"IA64::r12",
"IA64::r12"
] | IA64RegisterInfo | eliminateCallFramePseudoInstr | IA64 | CPU | LLVM | 24,648 | 204 | 1 | [] |
[
"<s>",
"int",
"ix86_attr_length_immediate_default",
"(",
"rtx",
"insn",
",",
"int",
"shortform",
")",
"{",
"int",
"len",
"=",
"0",
";",
"int",
"i",
";",
"extract_insn_cached",
"(",
"insn",
")",
";",
"for",
"(",
"i",
"=",
"recog_data",
".",
"n_operands",
... | [
"Compute",
"default",
"value",
"for",
"``",
"length_immediate",
"''",
"attribute",
".",
"When",
"SHORTFORM",
"is",
"set",
"expect",
"that",
"insn",
"have",
"8bit",
"immediate",
"alternative",
"."
] | [
"i386",
"0",
"1",
"0",
"1",
"1",
"2",
"4",
"4",
"\"unknown insn mode\""
] | i3863 | ix86_attr_length_immediate_default | i386 | CPU | GCC | 24,649 | 156 | 1 | [] |
[
"<s>",
"bool",
"X86RegisterInfo",
"::",
"isArgumentRegister",
"(",
"const",
"MachineFunction",
"&",
"MF",
",",
"MCRegister",
"Reg",
")",
"const",
"{",
"const",
"X86Subtarget",
"&",
"ST",
"=",
"MF",
".",
"getSubtarget",
"<",
"X86Subtarget",
">",
"(",
")",
";"... | [
"isArgumentReg",
"-",
"Returns",
"true",
"if",
"Reg",
"can",
"be",
"used",
"as",
"an",
"argument",
"to",
"a",
"function",
"."
] | [
"X86",
"X86",
"X86",
"X86",
"X86::EAX",
"X86::ECX",
"X86::EDX",
"X86::VR64RegClass",
"X86",
"X86::RAX",
"X86::RDX",
"X86::RCX",
"X86::R8",
"X86::R9",
"X86::RDI",
"X86::RSI",
"X86::XMM0",
"X86::XMM1",
"X86::XMM2",
"X86::XMM3",
"X86::XMM4",
"X86::XMM5",
"X86::XMM6",
"X86:... | X86RegisterInfo47 | isArgumentRegister | X86 | CPU | LLVM | 24,650 | 348 | 1 | [] |
[
"<s>",
"void",
"output_profile_hook",
"(",
"int",
"labelno",
"ATTRIBUTE_UNUSED",
")",
"{",
"if",
"(",
"TARGET_PROFILE_KERNEL",
")",
"return",
";",
"if",
"(",
"DEFAULT_ABI",
"==",
"ABI_AIX",
"||",
"DEFAULT_ABI",
"==",
"ABI_ELFv2",
")",
"{",
"if",
"(",
"NO_PROFI... | [
"Emit",
"profile",
"function",
"."
] | [
"rs6000",
"30",
"\"LP\"",
"1",
"0"
] | rs6000 | output_profile_hook | rs6000 | CPU | GCC | 24,651 | 171 | 1 | [] |
[
"<s>",
"void",
"rs6000_emit_sCOND",
"(",
"machine_mode",
"mode",
",",
"rtx",
"operands",
"[",
"]",
")",
"{",
"rtx",
"condition_rtx",
"=",
"rs6000_generate_compare",
"(",
"operands",
"[",
"1",
"]",
",",
"mode",
")",
";",
"rtx_code",
"cond_code",
"=",
"GET_COD... | [
"Emit",
"the",
"RTL",
"for",
"an",
"sCOND",
"pattern",
"."
] | [
"rs6000",
"1",
"0",
"0",
"1",
"0",
"1",
"1",
"0",
"0",
"0"
] | rs6000 | rs6000_emit_sCOND | rs6000 | CPU | GCC | 24,652 | 274 | 1 | [] |
[
"<s>",
"void",
"Thumb1InstrInfo",
"::",
"loadRegFromStackSlot",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"I",
",",
"unsigned",
"DestReg",
",",
"int",
"FI",
",",
"const",
"TargetRegisterClass",
"*",
"RC",
",",
"const",
"Ta... | [
"Load",
"the",
"specified",
"register",
"of",
"the",
"given",
"register",
"class",
"from",
"the",
"specified",
"stack",
"frame",
"index",
"."
] | [
"ARM",
"ARM::tGPRRegClass",
"ARM",
"\"Unknown regclass!\"",
"ARM::tGPRRegClass",
"ARM",
"ARM::tLDRspi",
"0"
] | Thumb1InstrInfo | loadRegFromStackSlot | ARM | CPU | LLVM | 24,653 | 199 | 1 | [] |
[
"<s>",
"static",
"uint32_t",
"negate",
"(",
"uint32_t",
"Cmp",
")",
"{",
"if",
"(",
"Cmp",
"==",
"EQ",
")",
"return",
"NE",
";",
"if",
"(",
"Cmp",
"==",
"NE",
")",
"return",
"EQ",
";",
"assert",
"(",
"(",
"Cmp",
"&",
"(",
"L",
"|",
"G",
")",
... | [
"Negate",
"this",
"APInt",
"in",
"place",
"."
] | [
"Hexagon"
] | HexagonConstPropagation | negate | Hexagon | DSP | LLVM | 24,654 | 55 | 1 | [] |
[
"<s>",
"static",
"rtx",
"gen_stack_pointer_inc",
"(",
"rtx",
"increment",
")",
"{",
"return",
"gen_rtx_SET",
"(",
"VOIDmode",
",",
"stack_pointer_rtx",
",",
"gen_rtx_PLUS",
"(",
"Pmode",
",",
"stack_pointer_rtx",
",",
"increment",
")",
")",
";",
"}",
"</s>"
] | [
"Generate",
"an",
"increment",
"for",
"the",
"stack",
"pointer",
"."
] | [
"sparc"
] | sparc3 | gen_stack_pointer_inc | sparc | CPU | GCC | 24,655 | 26 | 1 | [] |
[
"<s>",
"MachineBasicBlock",
"::",
"iterator",
"X86FrameLowering",
"::",
"eliminateCallFramePseudoInstr",
"(",
"MachineFunction",
"&",
"MF",
",",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"I",
")",
"const",
"{",
"bool",
"reserveCallFr... | [
"This",
"method",
"is",
"called",
"during",
"prolog/epilog",
"code",
"insertion",
"to",
"eliminate",
"call",
"frame",
"setup",
"and",
"destroy",
"pseudo",
"instructions",
"(",
"but",
"only",
"if",
"the",
"Target",
"is",
"using",
"them",
")",
"."
] | [
"X86",
"X86",
"0",
"0",
"X86",
"0"
] | X86FrameLowering105 | eliminateCallFramePseudoInstr | X86 | CPU | LLVM | 24,656 | 488 | 1 | [] |
[
"<s>",
"int",
"rs6000_register_move_cost",
"(",
"enum",
"machine_mode",
"mode",
",",
"enum",
"reg_class",
"from",
",",
"enum",
"reg_class",
"to",
")",
"{",
"if",
"(",
"reg_classes_intersect_p",
"(",
"to",
",",
"GENERAL_REGS",
")",
"||",
"reg_classes_intersect_p",
... | [
"A",
"C",
"expression",
"returning",
"the",
"cost",
"of",
"moving",
"data",
"from",
"a",
"register",
"of",
"class",
"CLASS1",
"to",
"one",
"of",
"CLASS2",
"."
] | [
"rs6000",
"0",
"0",
"4",
"2",
"0",
"4",
"2"
] | rs60003 | rs6000_register_move_cost | rs6000 | CPU | GCC | 24,657 | 143 | 1 | [] |
[
"<s>",
"RISCVSubtarget",
"&",
"RISCVSubtarget",
"::",
"initializeSubtargetDependencies",
"(",
"const",
"Triple",
"&",
"TT",
",",
"StringRef",
"CPU",
",",
"StringRef",
"TuneCPU",
",",
"StringRef",
"FS",
",",
"StringRef",
"ABIName",
")",
"{",
"bool",
"Is64Bit",
"=... | [
"initializeSubtargetDependencies",
"-",
"Initializes",
"using",
"a",
"CPU",
",",
"a",
"TuneCPU",
",",
"and",
"feature",
"string",
"so",
"that",
"we",
"can",
"use",
"initializer",
"lists",
"for",
"subtarget",
"initialization",
"."
] | [
"RISCV",
"RISCV",
"RISCV",
"\"generic\"",
"\"generic-rv64\"",
"\"generic-rv32\"",
"MVT::i64",
"64",
"RISCVABI::computeTargetABI",
"RISCVFeatures::validate"
] | RISCVSubtarget10 | initializeSubtargetDependencies | RISCV | CPU | LLVM | 24,658 | 121 | 1 | [] |
[
"<s>",
"SDValue",
"P2TargetLowering",
"::",
"LowerReturn",
"(",
"SDValue",
"Chain",
",",
"CallingConv",
"::",
"ID",
"CallConv",
",",
"bool",
"IsVarArg",
",",
"const",
"SmallVectorImpl",
"<",
"ISD",
"::",
"OutputArg",
">",
"&",
"Outs",
",",
"const",
"SmallVecto... | [
"This",
"hook",
"must",
"be",
"implemented",
"to",
"lower",
"outgoing",
"return",
"values",
",",
"described",
"by",
"the",
"Outs",
"array",
",",
"into",
"the",
"specified",
"DAG",
"."
] | [
"P2",
"P2",
"ISD::OutputArg",
"16",
"\"=== Lower Return: \"",
"P2",
"4",
"1",
"0",
"\"Can only return in registers!\"",
"ISD::BITCAST",
"1",
"P2",
"P2",
"P2",
"P2",
"\"sret virtual register not created in entry block\"",
"P2::R15",
"1",
"0",
"P2ISD::RET",
"MVT::Other"
] | P2ISelLowering | LowerReturn | P2 | MPU | LLVM | 24,659 | 450 | 1 | [] |
[
"<s>",
"void",
"X86RegisterInfo",
"::",
"eliminateCallFramePseudoInstr",
"(",
"MachineFunction",
"&",
"MF",
",",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"I",
")",
"const",
"{",
"if",
"(",
"!",
"hasReservedCallFrame",
"(",
"MF",... | [
"This",
"method",
"is",
"called",
"during",
"prolog/epilog",
"code",
"insertion",
"to",
"eliminate",
"call",
"frame",
"setup",
"and",
"destroy",
"pseudo",
"instructions",
"(",
"but",
"only",
"if",
"the",
"Target",
"is",
"using",
"them",
")",
"."
] | [
"X86",
"X86",
"0",
"0",
"1",
"0",
"X86::SUB64ri32",
"X86::SUB32ri",
"1",
"128",
"X86::ADD64ri8",
"X86::ADD32ri8",
"X86::ADD64ri32",
"X86::ADD32ri",
"3",
"1",
"128",
"X86::SUB64ri8",
"X86::SUB32ri8",
"X86::SUB64ri32",
"X86::SUB32ri",
"3"
] | X86RegisterInfo11 | eliminateCallFramePseudoInstr | X86 | CPU | LLVM | 24,660 | 397 | 1 | [] |
[
"<s>",
"void",
"A57ChainingConstraint",
"::",
"apply",
"(",
"PBQPRAGraph",
"&",
"G",
")",
"{",
"const",
"MachineFunction",
"&",
"MF",
"=",
"G",
".",
"getMetadata",
"(",
")",
".",
"MF",
";",
"LiveIntervals",
"&",
"LIs",
"=",
"G",
".",
"getMetadata",
"(",
... | [
"Apply",
"the",
"profile",
"inference",
"algorithm",
"for",
"a",
"given",
"function",
"."
] | [
"AArch64",
"8",
"\"Killing chain \"",
"\" at \"",
"AArch64::FMSUBSrrr",
"AArch64::FMADDSrrr",
"AArch64::FNMSUBSrrr",
"AArch64::FNMADDSrrr",
"AArch64::FMSUBDrrr",
"AArch64::FMADDDrrr",
"AArch64::FNMSUBDrrr",
"AArch64::FNMADDDrrr",
"0",
"3",
"AArch64::FMLAv2f32",
"AArch64::FMLSv2f32",
... | AArch64PBQPRegAlloc14 | apply | AArch64 | CPU | LLVM | 24,661 | 321 | 1 | [] |
[
"<s>",
"static",
"rtx",
"restore_fpr",
"(",
"rtx",
"base",
",",
"int",
"offset",
",",
"int",
"regnum",
")",
"{",
"rtx",
"addr",
";",
"addr",
"=",
"gen_rtx_MEM",
"(",
"DFmode",
",",
"plus_constant",
"(",
"base",
",",
"offset",
")",
")",
";",
"set_mem_al... | [
"Emit",
"insn",
"to",
"restore",
"fpr",
"REGNUM",
"from",
"offset",
"OFFSET",
"relative",
"to",
"register",
"BASE",
".",
"Return",
"generated",
"insn",
"."
] | [
"s390"
] | s3903 | restore_fpr | s390 | MPU | GCC | 24,662 | 54 | 1 | [] |
[
"<s>",
"SDValue",
"SITargetLowering",
"::",
"PerformDAGCombine",
"(",
"SDNode",
"*",
"N",
",",
"DAGCombinerInfo",
"&",
"DCI",
")",
"const",
"{",
"SelectionDAG",
"&",
"DAG",
"=",
"DCI",
".",
"DAG",
";",
"SDLoc",
"DL",
"(",
"N",
")",
";",
"EVT",
"VT",
"=... | [
"This",
"method",
"will",
"be",
"invoked",
"for",
"all",
"target",
"nodes",
"and",
"for",
"any",
"target-independent",
"nodes",
"that",
"the",
"target",
"has",
"registered",
"with",
"invoke",
"it",
"for",
"."
] | [
"R600",
"SI",
"0",
"ISD::SELECT_CC",
"2",
"3",
"MVT::i1",
"ISD::SETCC",
"0",
"1",
"4",
"ISD::SETCC",
"0",
"1",
"2",
"ISD::CondCode",
"MVT::i1",
"ISD::SIGN_EXTEND",
"0",
"MVT::i1",
"ISD::SETNE",
"0",
"0",
"MVT::i1"
] | SIISelLowering102 | PerformDAGCombine | R600 | GPU | LLVM | 24,663 | 327 | 1 | [] |
[
"<s>",
"MCRegister",
"ARMElfTargetObjectFile",
"::",
"getStaticBase",
"(",
")",
"const",
"{",
"return",
"ARM",
"::",
"R9",
";",
"}",
"</s>"
] | [
"Returns",
"the",
"register",
"used",
"as",
"static",
"base",
"in",
"RWPI",
"variants",
"."
] | [
"ARM",
"ARM",
"ARM::R9"
] | ARMTargetObjectFile11 | getStaticBase | ARM | CPU | LLVM | 24,664 | 14 | 1 | [] |
[
"<s>",
"bool",
"AArch64InstrInfo",
"::",
"isCoalescableExtInstr",
"(",
"const",
"MachineInstr",
"&",
"MI",
",",
"unsigned",
"&",
"SrcReg",
",",
"unsigned",
"&",
"DstReg",
",",
"unsigned",
"&",
"SubIdx",
")",
"const",
"{",
"switch",
"(",
"MI",
".",
"getOpcode... | [
"isCoalescableExtInstr",
"-",
"Return",
"true",
"if",
"the",
"instruction",
"is",
"a",
"``",
"coalescable",
"''",
"extension",
"instruction",
"."
] | [
"AArch64",
"AArch64",
"AArch64::SBFMXri",
"AArch64::UBFMXri",
"2",
"0",
"3",
"31",
"1",
"0",
"AArch64::sub_32"
] | AArch64InstrInfo (2) | isCoalescableExtInstr | AArch64 | CPU | LLVM | 24,665 | 116 | 1 | [] |
[
"<s>",
"void",
"HexagonFrameLowering",
"::",
"processFunctionBeforeFrameFinalized",
"(",
"MachineFunction",
"&",
"MF",
",",
"RegScavenger",
"*",
"RS",
")",
"const",
"{",
"MachineFrameInfo",
"&",
"MFI",
"=",
"MF",
".",
"getFrameInfo",
"(",
")",
";",
"bool",
"HasA... | [
"processFunctionBeforeFrameFinalized",
"-",
"This",
"method",
"is",
"called",
"immediately",
"before",
"the",
"specified",
"function",
"'s",
"frame",
"layout",
"(",
"MF.getFrameInfo",
"(",
")",
")",
"is",
"finalized",
"."
] | [
"Hexagon",
"Hexagon",
"4",
"0",
"8U",
"8",
"8",
"\"Unexpected local frame alignment\"",
"1",
"8",
"1",
"0",
"0",
"Hexagon"
] | HexagonFrameLowering38 | processFunctionBeforeFrameFinalized | Hexagon | DSP | LLVM | 24,666 | 506 | 1 | [] |
[
"<s>",
"bool",
"EvexToVexInstPass",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"{",
"TII",
"=",
"MF",
".",
"getSubtarget",
"<",
"X86Subtarget",
">",
"(",
")",
".",
"getInstrInfo",
"(",
")",
";",
"const",
"X86Subtarget",
"&",
"ST",
... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"X86",
"X86",
"X86",
"X86"
] | X86EvexToVex | runOnMachineFunction | X86 | CPU | LLVM | 24,667 | 85 | 1 | [] |
[
"<s>",
"DecodeStatus",
"MOSDisassembler",
"::",
"getInstruction",
"(",
"MCInst",
"&",
"Instr",
",",
"uint64_t",
"&",
"Size",
",",
"ArrayRef",
"<",
"uint8_t",
">",
"Bytes",
",",
"uint64_t",
"Address",
",",
"raw_ostream",
"&",
"CStream",
")",
"const",
"{",
"Si... | [
"Returns",
"the",
"disassembly",
"of",
"a",
"single",
"instruction",
"."
] | [
"MOS",
"MOS",
"0",
"3",
"0",
"0",
"3",
"8",
"MOS",
"MOS",
"0",
"MOS",
"MOS",
"MOS",
"3",
"1",
"4",
"0",
"0",
"8"
] | MOSDisassembler | getInstruction | MOS | MPU | LLVM | 24,668 | 339 | 1 | [] |
[
"<s>",
"static",
"unsigned",
"int",
"cris_hard_regno_nregs",
"(",
"unsigned",
"int",
",",
"machine_mode",
"mode",
")",
"{",
"if",
"(",
"mode",
"==",
"VOIDmode",
")",
"return",
"1",
";",
"return",
"CEIL",
"(",
"GET_MODE_SIZE",
"(",
"mode",
")",
",",
"UNITS_... | [
"Implement",
"TARGET_HARD_REGNO_NREGS",
".",
"The",
"VOIDmode",
"test",
"is",
"so",
"we",
"can",
"omit",
"mode",
"on",
"anonymous",
"insns",
".",
"FIXME",
":",
"Still",
"needed",
"in",
"2.9x",
",",
"at",
"least",
"for",
"Axis-20000319",
"."
] | [
"cris",
"1"
] | cris | cris_hard_regno_nregs | cris | MPU | GCC | 24,669 | 33 | 1 | [] |
[
"<s>",
"TargetLowering",
"::",
"AtomicExpansionKind",
"VETargetLowering",
"::",
"shouldExpandAtomicRMWInIR",
"(",
"AtomicRMWInst",
"*",
"AI",
")",
"const",
"{",
"if",
"(",
"AI",
"->",
"getOperation",
"(",
")",
"==",
"AtomicRMWInst",
"::",
"Xchg",
")",
"{",
"retu... | [
"Returns",
"how",
"the",
"IR-level",
"AtomicExpand",
"pass",
"should",
"expand",
"the",
"given",
"AtomicRMW",
",",
"if",
"at",
"all",
"."
] | [
"VE",
"VE"
] | VEISelLowering11 | shouldExpandAtomicRMWInIR | VE | CPU | LLVM | 24,670 | 38 | 1 | [] |
[
"<s>",
"void",
"ix86_emit_i387_cosh",
"(",
"rtx",
"op0",
",",
"rtx",
"op1",
")",
"{",
"rtx",
"e1",
"=",
"gen_reg_rtx",
"(",
"XFmode",
")",
";",
"rtx",
"e2",
"=",
"gen_reg_rtx",
"(",
"XFmode",
")",
";",
"rtx",
"half",
"=",
"const_double_from_real_value",
... | [
"Output",
"code",
"to",
"perform",
"an",
"cosh",
"XFmode",
"calculation",
"."
] | [
"i386"
] | i386-expand | ix86_emit_i387_cosh | i386 | CPU | GCC | 24,671 | 107 | 1 | [] |
[
"<s>",
"static",
"bool",
"aarch64_movw_imm",
"(",
"HOST_WIDE_INT",
"val",
",",
"machine_mode",
"mode",
")",
"{",
"if",
"(",
"GET_MODE_SIZE",
"(",
"mode",
")",
">",
"4",
")",
"{",
"if",
"(",
"(",
"val",
"&",
"(",
"(",
"(",
"HOST_WIDE_INT",
")",
"0xffff"... | [
"Return",
"true",
"if",
"val",
"is",
"an",
"immediate",
"that",
"can",
"be",
"loaded",
"into",
"a",
"register",
"by",
"a",
"MOVZ",
"instruction",
"."
] | [
"aarch64",
"4",
"0xffff",
"32",
"0xffff",
"48",
"1",
"0xffffffff",
"0xffff",
"0",
"0xffff",
"16"
] | aarch642 | aarch64_movw_imm | aarch64 | CPU | GCC | 24,672 | 109 | 1 | [] |
[
"<s>",
"void",
"TVMAsmPrinter",
"::",
"EmitInstruction",
"(",
"const",
"MachineInstr",
"*",
"MI",
")",
"{",
"LLVM_DEBUG",
"(",
"dbgs",
"(",
")",
"<<",
"\"EmitInstruction: \"",
"<<",
"*",
"MI",
"<<",
"'\\n'",
")",
";",
"if",
"(",
"isVerbose",
"(",
")",
")... | [
"EmitInstruction",
"-",
"This",
"callback",
"is",
"invoked",
"when",
"an",
"instruction",
"is",
"emitted",
",",
"to",
"advance",
"the",
"hazard",
"state",
"."
] | [
"TVM",
"TVM",
"\"EmitInstruction: \"",
"TVM::ARGUMENT",
"TVM::ARGUMENT_SLICE",
"TVM::ARGUMENT_BUILDER",
"TVM::ARGUMENT_CELL",
"TVM::ARGUMENT_TUPLE",
"\"CG only instruction mustn't reach ASM printer\"",
"TVM::REG_TO_REG_COPY_S",
"TVM::TO_TUPLE_COPY_S",
"TVM::TO_SLICE_COPY_S",
"TVM::TO_BUILDER... | TVMAsmPrinter | EmitInstruction | TVM | Virtual ISA | LLVM | 24,673 | 232 | 1 | [] |
[
"<s>",
"static",
"int",
"scavenge_reg",
"(",
"HARD_REG_SET",
"*",
"s",
")",
"{",
"for",
"(",
"int",
"r",
"=",
"FIRST_GENERAL_REG",
";",
"r",
"<=",
"LAST_GENERAL_REG",
";",
"r",
"++",
")",
"if",
"(",
"TEST_HARD_REG_BIT",
"(",
"*",
"s",
",",
"r",
")",
... | [
"Find",
"the",
"number",
"of",
"a",
"general",
"purpose",
"register",
"in",
"S",
"."
] | [
"sh",
"1"
] | sh | scavenge_reg | sh | CPU | GCC | 24,674 | 41 | 1 | [] |
[
"<s>",
"BitVector",
"SystemZRegisterInfo",
"::",
"getReservedRegs",
"(",
"const",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"BitVector",
"Reserved",
"(",
"getNumRegs",
"(",
")",
")",
";",
"if",
"(",
"hasFP",
"(",
"MF",
")",
")",
"Reserved",
".",
"se... | [
"getReservedRegs",
"-",
"Returns",
"a",
"bitset",
"indexed",
"by",
"physical",
"register",
"number",
"indicating",
"if",
"a",
"register",
"is",
"a",
"special",
"register",
"that",
"has",
"particular",
"uses",
"and",
"should",
"be",
"considered",
"unavailable",
"... | [
"SystemZ",
"SystemZ",
"SystemZ::R11D",
"SystemZ::R14D",
"SystemZ::R15D"
] | SystemZRegisterInfo13 | getReservedRegs | SystemZ | CPU | LLVM | 24,675 | 58 | 1 | [] |
[
"<s>",
"const",
"TargetRegisterClass",
"*",
"getPointerRegClass",
"(",
"const",
"MachineFunction",
"&",
"MF",
",",
"unsigned",
"Kind",
"=",
"0",
")",
"const",
"override",
"{",
"return",
"&",
"LoongArch",
"::",
"GPRRegClass",
";",
"}",
"</s>"
] | [
"getPointerRegClass",
"-",
"Returns",
"a",
"TargetRegisterClass",
"used",
"for",
"pointer",
"values",
"."
] | [
"LoongArch",
"0",
"LoongArch::GPRRegClass"
] | LoongArchRegisterInfo | getPointerRegClass | LoongArch | CPU | LLVM | 24,676 | 25 | 1 | [] |
[
"<s>",
"static",
"int",
"ia64_speculate_insn",
"(",
"rtx_insn",
"*",
"insn",
",",
"ds_t",
"ts",
",",
"rtx",
"*",
"new_pat",
")",
"{",
"int",
"mode_no",
";",
"int",
"res",
";",
"gcc_assert",
"(",
"!",
"(",
"ts",
"&",
"~",
"SPECULATIVE",
")",
")",
";",... | [
"Implement",
"targetm.sched.speculate_insn",
"hook",
".",
"Check",
"if",
"the",
"INSN",
"can",
"be",
"TS",
"speculative",
".",
"If",
"'no",
"'",
"-",
"return",
"-1",
".",
"If",
"'yes",
"'",
"-",
"generate",
"speculative",
"pattern",
"in",
"the",
"NEW_PAT",
... | [
"ia64",
"1",
"1",
"0",
"1",
"1"
] | ia64 | ia64_speculate_insn | ia64 | CPU | GCC | 24,677 | 124 | 1 | [] |
[
"<s>",
"virtual",
"const",
"char",
"*",
"getPassName",
"(",
")",
"const",
"{",
"return",
"\"MSP430 Branch Selector\"",
";",
"}",
"</s>"
] | [
"getPassName",
"-",
"Return",
"a",
"nice",
"clean",
"name",
"for",
"a",
"pass",
"."
] | [
"MSP430",
"\"MSP430 Branch Selector\""
] | MSP430BranchSelector12 | getPassName | MSP430 | MPU | LLVM | 24,678 | 13 | 1 | [] |
[
"<s>",
"static",
"void",
"const_double_split",
"(",
"rtx",
"x",
",",
"HOST_WIDE_INT",
"*",
"p_high",
",",
"HOST_WIDE_INT",
"*",
"p_low",
")",
"{",
"if",
"(",
"GET_CODE",
"(",
"x",
")",
"==",
"CONST_DOUBLE",
")",
"{",
"long",
"t",
"[",
"2",
"]",
";",
... | [
"Return",
"the",
"high",
"and",
"low",
"words",
"of",
"a",
"CONST_DOUBLE"
] | [
"v850",
"2",
"1",
"0",
"0",
"\"const_double_split got a bad insn:\""
] | v8503 | const_double_split | v850 | MPU | GCC | 24,679 | 141 | 1 | [] |
[
"<s>",
"bool",
"PIC16TargetMachine",
"::",
"addPreEmitPass",
"(",
"PassManagerBase",
"&",
"PM",
",",
"CodeGenOpt",
"::",
"Level",
"OptLevel",
")",
"{",
"PM",
".",
"add",
"(",
"createPIC16MemSelOptimizerPass",
"(",
")",
")",
";",
"return",
"true",
";",
"}",
"... | [
"This",
"pass",
"may",
"be",
"implemented",
"by",
"targets",
"that",
"want",
"to",
"run",
"passes",
"immediately",
"before",
"machine",
"code",
"is",
"emitted",
"."
] | [
"PIC16",
"PIC16",
"PIC16"
] | PIC16TargetMachine | addPreEmitPass | PIC16 | MPU | LLVM | 24,680 | 28 | 1 | [] |
[
"<s>",
"bool",
"MSP430RegisterInfo",
"::",
"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... | [
"MSP430",
"MSP430"
] | MSP430RegisterInfo10 | hasReservedCallFrame | MSP430 | MPU | LLVM | 24,681 | 25 | 1 | [] |
[
"<s>",
"static",
"void",
"expand_set_cint32",
"(",
"rtx",
"dest_reg",
",",
"rtx",
"src_val",
")",
"{",
"HOST_WIDE_INT",
"val",
";",
"int",
"leading_zeroes",
",",
"trailing_zeroes",
";",
"int",
"lower",
",",
"upper",
";",
"int",
"three_wide_only",
";",
"rtx",
... | [
"Create",
"code",
"to",
"move",
"the",
"CONST_INT",
"value",
"in",
"src_val",
"to",
"dest_reg",
"."
] | [
"tilepro",
"31",
"0xFFFFFFFF",
"16",
"1",
"0",
"1",
"32",
"16"
] | tilepro | expand_set_cint32 | tilepro | VLIW | GCC | 24,682 | 307 | 1 | [] |
[
"<s>",
"static",
"bool",
"ix86_vector_duplicate_value",
"(",
"machine_mode",
"mode",
",",
"rtx",
"target",
",",
"rtx",
"val",
")",
"{",
"bool",
"ok",
";",
"rtx_insn",
"*",
"insn",
";",
"rtx",
"dup",
";",
"dup",
"=",
"gen_rtx_VEC_DUPLICATE",
"(",
"mode",
",... | [
"A",
"subroutine",
"of",
"ix86_expand_vector_init_duplicate",
".",
"Tries",
"to",
"fill",
"target",
"with",
"val",
"via",
"vec_duplicate",
"."
] | [
"i386",
"0",
"0",
"0"
] | i3866 | ix86_vector_duplicate_value | i386 | CPU | GCC | 24,683 | 150 | 1 | [] |
[
"<s>",
"static",
"bool",
"loongarch_cannot_force_const_mem",
"(",
"machine_mode",
"mode",
",",
"rtx",
"x",
")",
"{",
"enum",
"loongarch_symbol_type",
"type",
";",
"rtx",
"base",
",",
"offset",
";",
"if",
"(",
"CONST_INT_P",
"(",
"x",
")",
"&&",
"loongarch_legi... | [
"Implement",
"TARGET_CANNOT_FORCE_CONST_MEM",
"."
] | [
"loongarch",
"0"
] | loongarch | loongarch_cannot_force_const_mem | loongarch | CPU | GCC | 24,684 | 93 | 1 | [] |
[
"<s>",
"bool",
"SIRegisterInfo",
"::",
"isConstantPhysReg",
"(",
"MCRegister",
"PhysReg",
")",
"const",
"{",
"switch",
"(",
"PhysReg",
")",
"{",
"case",
"AMDGPU",
"::",
"SGPR_NULL",
":",
"case",
"AMDGPU",
"::",
"SRC_SHARED_BASE",
":",
"case",
"AMDGPU",
"::",
... | [
"Returns",
"true",
"if",
"PhysReg",
"is",
"unallocatable",
"and",
"constant",
"throughout",
"the",
"function",
"."
] | [
"AMDGPU",
"SI",
"AMDGPU::SGPR_NULL",
"AMDGPU::SRC_SHARED_BASE",
"AMDGPU::SRC_PRIVATE_BASE",
"AMDGPU::SRC_SHARED_LIMIT",
"AMDGPU::SRC_PRIVATE_LIMIT"
] | SIRegisterInfo (3) | isConstantPhysReg | AMDGPU | GPU | LLVM | 24,685 | 50 | 1 | [] |
[
"<s>",
"void",
"X86InstrInfo",
"::",
"buildOutlinedFrame",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineFunction",
"&",
"MF",
",",
"const",
"outliner",
"::",
"OutlinedFunction",
"&",
"OF",
")",
"const",
"{",
"if",
"(",
"OF",
".",
"FrameConstructionID",
"... | [
"Insert",
"a",
"custom",
"frame",
"for",
"outlined",
"functions",
"."
] | [
"X86",
"X86",
"X86::RETQ"
] | X86InstrInfo (2)3 | buildOutlinedFrame | X86 | CPU | LLVM | 24,686 | 66 | 1 | [] |
[
"<s>",
"const",
"MCPhysReg",
"*",
"PPCRegisterInfo",
"::",
"getCalleeSavedRegs",
"(",
"const",
"MachineFunction",
"*",
"MF",
")",
"const",
"{",
"if",
"(",
"MF",
"->",
"getFunction",
"(",
")",
"->",
"getCallingConv",
"(",
")",
"==",
"CallingConv",
"::",
"AnyR... | [
"Code",
"Generation",
"virtual",
"methods",
"..."
] | [
"PowerPC",
"PPC",
"PPC",
"PPC::X2",
"PPC"
] | PPCRegisterInfo22 | getCalleeSavedRegs | PowerPC | CPU | LLVM | 24,687 | 156 | 1 | [] |
[
"<s>",
"bool",
"rs6000_gimple_fold_builtin",
"(",
"gimple_stmt_iterator",
"*",
"gsi",
")",
"{",
"gimple",
"*",
"stmt",
"=",
"gsi_stmt",
"(",
"*",
"gsi",
")",
";",
"tree",
"fndecl",
"=",
"gimple_call_fndecl",
"(",
"stmt",
")",
";",
"gcc_checking_assert",
"(",
... | [
"Fold",
"a",
"machine-dependent",
"built-in",
"in",
"GIMPLE",
".",
"(",
"For",
"folding",
"into",
"a",
"constant",
",",
"use",
"rs6000_fold_builtin",
".",
")"
] | [
"rs6000",
"0",
"1",
"0",
"1",
"0",
"1",
"0",
"1"
] | rs60006 | rs6000_gimple_fold_builtin | rs6000 | CPU | GCC | 24,688 | 388 | 1 | [] |
[
"<s>",
"static",
"bool",
"isNot",
"(",
"const",
"MachineRegisterInfo",
"&",
"MRI",
",",
"const",
"MachineInstr",
"&",
"MI",
")",
"{",
"if",
"(",
"MI",
".",
"getOpcode",
"(",
")",
"!=",
"TargetOpcode",
"::",
"G_XOR",
")",
"return",
"false",
";",
"auto",
... | [
"Check",
"if",
"the",
"current",
"token",
"has",
"kind",
"K",
"."
] | [
"AMDGPU",
"2",
"1"
] | AMDGPULegalizerInfo1 | isNot | AMDGPU | GPU | LLVM | 24,689 | 59 | 1 | [] |
[
"<s>",
"static",
"rtx",
"alpha_emit_set_long_const",
"(",
"rtx",
"target",
",",
"HOST_WIDE_INT",
"c1",
")",
"{",
"HOST_WIDE_INT",
"d1",
",",
"d2",
",",
"d3",
",",
"d4",
";",
"d1",
"=",
"(",
"(",
"c1",
"&",
"0xffff",
")",
"^",
"0x8000",
")",
"-",
"0x8... | [
"Having",
"failed",
"to",
"find",
"a",
"3",
"insn",
"sequence",
"in",
"alpha_emit_set_const",
",",
"fall",
"back",
"to",
"a",
"straight",
"forward",
"decomposition",
".",
"We",
"do",
"this",
"to",
"avoid",
"exponential",
"run",
"times",
"encountered",
"when",
... | [
"alpha",
"0xffff",
"0x8000",
"0x8000",
"0xffffffff",
"0x80000000",
"0x80000000",
"32",
"0xffff",
"0x8000",
"0x8000",
"0xffffffff",
"0x80000000",
"0x80000000",
"32"
] | alpha | alpha_emit_set_long_const | alpha | MPU | GCC | 24,690 | 212 | 1 | [] |
[
"<s>",
"bool",
"ARMPreAllocLoadStoreOpt",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"Fn",
")",
"{",
"if",
"(",
"AssumeMisalignedLoadStores",
"||",
"skipFunction",
"(",
"Fn",
".",
"getFunction",
"(",
")",
")",
")",
"return",
"false",
";",
"TD",
... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"ARM",
"ARM",
"ARM"
] | ARMLoadStoreOptimizer10 | runOnMachineFunction | ARM | CPU | LLVM | 24,691 | 121 | 1 | [] |
[
"<s>",
"static",
"void",
"sparc_asm_function_epilogue",
"(",
"FILE",
"*",
"file",
")",
"{",
"rtx_insn",
"*",
"insn",
"=",
"get_last_insn",
"(",
")",
";",
"rtx",
"last_real_insn",
"=",
"prev_real_insn",
"(",
"insn",
")",
";",
"if",
"(",
"last_real_insn",
"&&"... | [
"This",
"function",
"generates",
"the",
"assembly",
"code",
"for",
"function",
"exit",
"."
] | [
"sparc",
"0",
"0",
"\"\\tnop\\n\""
] | sparc | sparc_asm_function_epilogue | sparc | CPU | GCC | 24,692 | 85 | 1 | [] |
[
"<s>",
"bool",
"rs6000_is_valid_mask",
"(",
"rtx",
"mask",
",",
"int",
"*",
"b",
",",
"int",
"*",
"e",
",",
"machine_mode",
"mode",
")",
"{",
"unsigned",
"HOST_WIDE_INT",
"val",
"=",
"INTVAL",
"(",
"mask",
")",
";",
"unsigned",
"HOST_WIDE_INT",
"bit",
";... | [
"Return",
"whether",
"MASK",
"(",
"a",
"CONST_INT",
")",
"is",
"a",
"valid",
"mask",
"for",
"any",
"rlwinm",
",",
"rldicl",
",",
"rldicr",
",",
"or",
"rldic",
"instruction",
"in",
"mode",
"MODE",
".",
"If",
"so",
",",
"if",
"E",
"is",
"not",
"zero",
... | [
"rs6000",
"0",
"1",
"0",
"0",
"1",
"0",
"0",
"0",
"0"
] | rs6000 | rs6000_is_valid_mask | rs6000 | CPU | GCC | 24,693 | 227 | 1 | [] |
[
"<s>",
"void",
"initializePass",
"(",
")",
"override",
"{",
"pushTTIStack",
"(",
"this",
")",
";",
"}",
"</s>"
] | [
"initializePass",
"-",
"This",
"method",
"may",
"be",
"overriden",
"by",
"immutable",
"passes",
"to",
"allow",
"them",
"to",
"perform",
"various",
"initialization",
"actions",
"they",
"require",
"."
] | [
"X86"
] | X86TargetTransformInfo112 | initializePass | X86 | CPU | LLVM | 24,694 | 12 | 1 | [] |
[
"<s>",
"static",
"rtx",
"aarch64_strip_extend",
"(",
"rtx",
"x",
",",
"bool",
"strip_shift",
")",
"{",
"scalar_int_mode",
"mode",
";",
"rtx",
"op",
"=",
"x",
";",
"if",
"(",
"!",
"is_a",
"<",
"scalar_int_mode",
">",
"(",
"GET_MODE",
"(",
"op",
")",
","... | [
"Helper",
"function",
"for",
"rtx",
"cost",
"calculation",
".",
"Strip",
"an",
"extend",
"expression",
"from",
"X",
".",
"Returns",
"the",
"inner",
"operand",
"if",
"successful",
",",
"or",
"the",
"original",
"expression",
"on",
"failure",
".",
"We",
"deal",... | [
"aarch64",
"0",
"0",
"1",
"1",
"0",
"1",
"1",
"0",
"0",
"0",
"1",
"1",
"4",
"0",
"0"
] | aarch641 | aarch64_strip_extend | aarch64 | CPU | GCC | 24,695 | 217 | 1 | [] |
[
"<s>",
"bool",
"ARMFrameInfo",
"::",
"restoreCalleeSavedRegisters",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"MI",
",",
"const",
"std",
"::",
"vector",
"<",
"CalleeSavedInfo",
">",
"&",
"CSI",
",",
"const",
"TargetRegisterI... | [
"restoreCalleeSavedRegisters",
"-",
"Issues",
"instruction",
"(",
"s",
")",
"to",
"restore",
"all",
"callee",
"saved",
"registers",
"and",
"returns",
"true",
"if",
"it",
"is",
"n't",
"possible",
"/",
"profitable",
"to",
"do",
"so",
"by",
"issuing",
"a",
"ser... | [
"ARM",
"ARM",
"ARM",
"ARM",
"0",
"ARM::t2LDMIA_UPD",
"ARM::LDMIA_UPD",
"ARM::t2LDR_POST",
"ARM::LDR_POST",
"ARM::VLDMDIA_UPD",
"0",
"ARM",
"ARM",
"ARM"
] | ARMFrameInfo | restoreCalleeSavedRegisters | ARM | CPU | LLVM | 24,696 | 191 | 1 | [] |
[
"<s>",
"static",
"inline",
"ChildIteratorType",
"child_begin",
"(",
"NodeType",
"*",
"N",
")",
"{",
"return",
"N",
"->",
"G",
"->",
"Edges",
".",
"lower_bound",
"(",
"N",
")",
";",
"}",
"</s>"
] | [
"nodes_iterator/begin/end",
"-",
"Allow",
"iteration",
"over",
"all",
"nodes",
"in",
"the",
"graph"
] | [
"Patmos"
] | PatmosFunctionSplitter | child_begin | Patmos | VLIW | LLVM | 24,697 | 23 | 1 | [] |
[
"<s>",
"static",
"void",
"loongarch_trampoline_init",
"(",
"rtx",
"m_tramp",
",",
"tree",
"fndecl",
",",
"rtx",
"chain_value",
")",
"{",
"rtx",
"addr",
",",
"end_addr",
",",
"mem",
";",
"rtx",
"trampoline",
"[",
"8",
"]",
";",
"unsigned",
"int",
"i",
","... | [
"Implement",
"TARGET_TRAMPOLINE_INIT",
"."
] | [
"loongarch",
"8",
"0",
"0",
"0x18000000",
"0x28c00000",
"0x28800000",
"19",
"5",
"0xfff",
"10",
"0x28c00000",
"0x28800000",
"5",
"0xfff",
"10",
"0x4c000000",
"19",
"5",
"0",
"0"
] | loongarch | loongarch_trampoline_init | loongarch | CPU | GCC | 24,698 | 322 | 1 | [] |
[
"<s>",
"MVT",
"MipsTargetLowering",
"::",
"getRegisterTypeForCallingConv",
"(",
"LLVMContext",
"&",
"Context",
",",
"CallingConv",
"::",
"ID",
"CC",
",",
"EVT",
"VT",
")",
"const",
"{",
"if",
"(",
"!",
"VT",
".",
"isVector",
"(",
")",
")",
"return",
"getRe... | [
"Certain",
"combinations",
"of",
"ABIs",
",",
"Targets",
"and",
"features",
"require",
"that",
"types",
"are",
"legal",
"for",
"some",
"operations",
"and",
"not",
"for",
"other",
"operations",
"."
] | [
"Mips",
"Mips",
"32",
"MVT::i32",
"MVT::i64"
] | MipsISelLowering (2)4 | getRegisterTypeForCallingConv | Mips | CPU | LLVM | 24,699 | 60 | 1 | [] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.