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",
"rtx",
"rs6000_emit_stack_reset",
"(",
"rs6000_stack_t",
"*",
"info",
",",
"rtx",
"frame_reg_rtx",
",",
"HOST_WIDE_INT",
"frame_off",
",",
"unsigned",
"updt_regno",
")",
"{",
"rtx",
"updt_reg_rtx",
";",
"if",
"(",
"DEFAULT_ABI",
"==",
"ABI_V4",
... | [
"Emit",
"a",
"sequence",
"of",
"insns",
",",
"including",
"a",
"stack",
"tie",
"if",
"needed",
",",
"for",
"resetting",
"the",
"stack",
"pointer",
".",
"If",
"UPDT_REGNO",
"is",
"not",
"1",
",",
"then",
"do",
"n't",
"reset",
"the",
"stack",
"pointer",
... | [
"rs6000",
"0",
"32",
"0"
] | rs60004 | rs6000_emit_stack_reset | rs6000 | CPU | GCC | 33,700 | 103 | 1 | [] |
[
"<s>",
"static",
"int",
"shmedia_target_regs_stack_adjust",
"(",
"HARD_REG_SET",
"*",
"live_regs_mask",
")",
"{",
"if",
"(",
"shmedia_space_reserved_for_target_registers",
")",
"return",
"shmedia_target_regs_stack_space",
"(",
"live_regs_mask",
")",
";",
"else",
"return",
... | [
"Decide",
"how",
"much",
"space",
"to",
"reserve",
"for",
"callee-save",
"target",
"registers",
"in",
"case",
"target",
"register",
"allocation",
"wants",
"to",
"use",
"them",
".",
"LIVE_REGS_MASK",
"is",
"the",
"register",
"mask",
"calculated",
"by",
"calc_live... | [
"sh",
"0"
] | sh3 | shmedia_target_regs_stack_adjust | sh | CPU | GCC | 33,701 | 24 | 1 | [] |
[
"<s>",
"bool",
"Z80oldInstrInfo",
"::",
"isReallyTriviallyReMaterializable",
"(",
"const",
"MachineInstr",
"&",
"MI",
",",
"AliasAnalysis",
"*",
"AA",
")",
"const",
"{",
"switch",
"(",
"MI",
".",
"getOpcode",
"(",
")",
")",
"{",
"case",
"Z80old",
"::",
"LD8r... | [
"For",
"instructions",
"with",
"opcodes",
"for",
"which",
"the",
"M_REMATERIALIZABLE",
"flag",
"is",
"set",
",",
"this",
"hook",
"lets",
"the",
"target",
"specify",
"whether",
"the",
"instruction",
"is",
"actually",
"trivially",
"rematerializable",
",",
"taking",
... | [
"Z80old",
"Z80old",
"Z80old::LD8r0"
] | Z80oldInstrInfo | isReallyTriviallyReMaterializable | Z80old | MPU | LLVM | 33,702 | 38 | 1 | [] |
[
"<s>",
"int",
"frv_frame_pointer_required",
"(",
"void",
")",
"{",
"if",
"(",
"!",
"TARGET_LINKED_FP",
")",
"return",
"!",
"current_function_sp_is_unchanging",
";",
"if",
"(",
"!",
"current_function_is_leaf",
")",
"return",
"TRUE",
";",
"if",
"(",
"get_frame_size"... | [
"On",
"frv",
",",
"create",
"a",
"frame",
"whenever",
"we",
"need",
"to",
"create",
"stack",
"."
] | [
"frv",
"0"
] | frv2 | frv_frame_pointer_required | frv | VLIW | GCC | 33,703 | 87 | 1 | [] |
[
"<s>",
"FastISel",
"*",
"X86TargetLowering",
"::",
"createFastISel",
"(",
"MachineFunction",
"&",
"mf",
",",
"MachineModuleInfo",
"*",
"mmo",
",",
"DwarfWriter",
"*",
"dw",
",",
"DenseMap",
"<",
"const",
"Value",
"*",
",",
"unsigned",
">",
"&",
"vm",
",",
... | [
"This",
"method",
"returns",
"a",
"target",
"specific",
"FastISel",
"object",
",",
"or",
"null",
"if",
"the",
"target",
"does",
"not",
"support",
"``",
"fast",
"''",
"ISel",
"."
] | [
"X86",
"X86",
"8",
"X86::createFastISel"
] | X86ISelLowering160 | createFastISel | X86 | CPU | LLVM | 33,704 | 84 | 1 | [] |
[
"<s>",
"void",
"RISCVFrameLowering",
"::",
"emitEpilogue",
"(",
"MachineFunction",
"&",
"MF",
",",
"MachineBasicBlock",
"&",
"MBB",
")",
"const",
"{",
"const",
"RISCVRegisterInfo",
"*",
"RI",
"=",
"STI",
".",
"getRegisterInfo",
"(",
")",
";",
"MachineFrameInfo",... | [
"Insert",
"epilog",
"code",
"into",
"the",
"function",
"."
] | [
"RISCV",
"RISCV",
"RISCV",
"RISCV",
"\"frame pointer should not have been eliminated\"",
"0",
"\"SecondSPAdjustAmount should be greater than zero\""
] | RISCVFrameLowering11 | emitEpilogue | RISCV | CPU | LLVM | 33,705 | 441 | 1 | [] |
[
"<s>",
"bool",
"SIDebuggerInsertNops",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"{",
"const",
"AMDGPUSubtarget",
"&",
"ST",
"=",
"MF",
".",
"getSubtarget",
"<",
"AMDGPUSubtarget",
">",
"(",
")",
";",
"if",
"(",
"!",
"ST",
".",
... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"AMDGPU",
"SI",
"AMDGPU",
"AMDGPU",
"SI",
"SI",
"AMDGPU::S_NOP",
"0"
] | SIDebuggerInsertNops5 | runOnMachineFunction | AMDGPU | GPU | LLVM | 33,706 | 201 | 1 | [] |
[
"<s>",
"bool",
"ARMAsmPrinter",
"::",
"PrintAsmOperand",
"(",
"const",
"MachineInstr",
"*",
"MI",
",",
"unsigned",
"OpNum",
",",
"unsigned",
"AsmVariant",
",",
"const",
"char",
"*",
"ExtraCode",
",",
"raw_ostream",
"&",
"O",
")",
"{",
"if",
"(",
"ExtraCode",... | [
"PrintAsmOperand",
"-",
"Print",
"out",
"an",
"operand",
"for",
"an",
"inline",
"asm",
"expression",
"."
] | [
"ARM",
"ARM",
"0",
"1",
"0",
"0",
"\"[\"",
"ARM",
"\"]\"",
"\"llvm does not support 'Q', 'R', and 'H' modifiers!\""
] | ARMAsmPrinter40 | PrintAsmOperand | ARM | CPU | LLVM | 33,707 | 190 | 1 | [] |
[
"<s>",
"const",
"uint32_t",
"*",
"AArch64RegisterInfo",
"::",
"getCallPreservedMask",
"(",
"CallingConv",
"::",
"ID",
")",
"const",
"{",
"return",
"CSR_PCS_RegMask",
";",
"}",
"</s>"
] | [
"Return",
"a",
"mask",
"of",
"call-preserved",
"registers",
"for",
"the",
"given",
"calling",
"convention",
"on",
"the",
"current",
"function",
"."
] | [
"AArch64",
"AArch64"
] | AArch64RegisterInfo20 | getCallPreservedMask | AArch64 | CPU | LLVM | 33,708 | 17 | 1 | [] |
[
"<s>",
"VariantKind",
"getKind",
"(",
")",
"const",
"{",
"return",
"Kind",
";",
"}",
"</s>"
] | [
"Returns",
"the",
"Kind",
"of",
"lane",
"offset",
"."
] | [
"CSKY"
] | CSKYMCExpr | getKind | CSKY | CPU | LLVM | 33,709 | 10 | 1 | [] |
[
"<s>",
"bool",
"check_if_valid_regno_const",
"(",
"rtx",
"*",
"operands",
",",
"int",
"opno",
")",
"{",
"switch",
"(",
"GET_CODE",
"(",
"operands",
"[",
"opno",
"]",
")",
")",
"{",
"case",
"SYMBOL_REF",
":",
"case",
"CONST",
":",
"case",
"CONST_INT",
":"... | [
"Returns",
"true",
"if",
"the",
"operands",
"[",
"opno",
"]",
"is",
"a",
"valid",
"compile-time",
"constant",
"to",
"be",
"used",
"as",
"register",
"number",
"in",
"the",
"code",
"for",
"builtins",
".",
"Else",
"it",
"flags",
"an",
"error",
"and",
"retur... | [
"arc",
"\"register number must be a compile-time constant. \"",
"\"Try giving higher optimization levels\""
] | arc | check_if_valid_regno_const | arc | MPU | GCC | 33,710 | 49 | 1 | [] |
[
"<s>",
"static",
"void",
"output_return_instrumentation",
"(",
"void",
")",
"{",
"if",
"(",
"ix86_instrument_return",
"!=",
"instrument_return_none",
"&&",
"flag_fentry",
"&&",
"!",
"DECL_NO_INSTRUMENT_FUNCTION_ENTRY_EXIT",
"(",
"cfun",
"->",
"decl",
")",
")",
"{",
... | [
"Output",
"return",
"instrumentation",
"for",
"current",
"function",
"if",
"needed",
"."
] | [
"i386",
"\"1:\\n\"",
"\"\\tcall\\t__return__\\n\"",
"\"0x0f, 0x1f, 0x44, 0x00, 0x00\\n\"",
"\"\\t.section __return_loc, \\\"a\\\",@progbits\\n\"",
"\"\\t.%s 1b\\n\"",
"\"quad\"",
"\"long\"",
"\"\\t.previous\\n\""
] | i386 | output_return_instrumentation | i386 | CPU | GCC | 33,711 | 106 | 1 | [] |
[
"<s>",
"static",
"bool",
"sh_cannot_modify_jumps_p",
"(",
")",
"{",
"return",
"(",
"TARGET_SHMEDIA",
"&&",
"(",
"reload_in_progress",
"||",
"reload_completed",
")",
")",
";",
"}",
"</s>"
] | [
"SHmedia",
"requires",
"registers",
"for",
"branches",
",",
"so",
"we",
"ca",
"n't",
"generate",
"new",
"branches",
"past",
"reload",
"."
] | [
"sh"
] | sh2 | sh_cannot_modify_jumps_p | sh | CPU | GCC | 33,712 | 18 | 1 | [] |
[
"<s>",
"bool",
"ARM64TargetLowering",
"::",
"isLegalICmpImmediate",
"(",
"int64_t",
"Immed",
")",
"const",
"{",
"if",
"(",
"Immed",
"<",
"0",
")",
"Immed",
"*=",
"-",
"1",
";",
"return",
"isLegalAddImmediate",
"(",
"Immed",
")",
";",
"}",
"</s>"
] | [
"Return",
"true",
"if",
"the",
"specified",
"immediate",
"is",
"legal",
"icmp",
"immediate",
",",
"that",
"is",
"the",
"target",
"has",
"icmp",
"instructions",
"which",
"can",
"compare",
"a",
"register",
"against",
"the",
"immediate",
"without",
"having",
"to"... | [
"ARM64",
"ARM64",
"0",
"1"
] | ARM64ISelLowering | isLegalICmpImmediate | ARM64 | CPU | LLVM | 33,713 | 28 | 1 | [] |
[
"<s>",
"unsigned",
"AVRMCCodeEmitter",
"::",
"getMachineOpValue",
"(",
"const",
"MCInst",
"&",
"MI",
",",
"const",
"MCOperand",
"&",
"MO",
",",
"SmallVectorImpl",
"<",
"MCFixup",
">",
"&",
"Fixups",
",",
"const",
"MCSubtargetInfo",
"&",
"STI",
")",
"const",
... | [
"getMachineOpValue",
"-",
"Return",
"binary",
"encoding",
"of",
"operand",
"."
] | [
"AVR",
"AVR"
] | AVRMCCodeEmitter | getMachineOpValue | AVR | MPU | LLVM | 33,714 | 125 | 1 | [] |
[
"<s>",
"bool",
"SITargetLowering",
"::",
"enableAggressiveFMAFusion",
"(",
"LLT",
"Ty",
")",
"const",
"{",
"return",
"true",
";",
"}",
"</s>"
] | [
"Return",
"true",
"if",
"target",
"always",
"benefits",
"from",
"combining",
"into",
"FMA",
"for",
"a",
"given",
"value",
"type",
"."
] | [
"AMDGPU",
"SI"
] | SIISelLowering10 | enableAggressiveFMAFusion | AMDGPU | GPU | LLVM | 33,715 | 14 | 1 | [] |
[
"<s>",
"StringRef",
"NamedImmMapper",
"::",
"toString",
"(",
"uint32_t",
"Value",
",",
"bool",
"&",
"Valid",
")",
"const",
"{",
"for",
"(",
"unsigned",
"i",
"=",
"0",
";",
"i",
"<",
"NumPairs",
";",
"++",
"i",
")",
"{",
"if",
"(",
"Pairs",
"[",
"i"... | [
"Convert",
"to",
"a",
"decimal",
"representation",
"in",
"a",
"string",
"."
] | [
"AArch64",
"0"
] | AArch64BaseInfo2 | toString | AArch64 | CPU | LLVM | 33,716 | 65 | 1 | [] |
[
"<s>",
"FastISel",
"*",
"X86",
"::",
"createFastISel",
"(",
"FunctionLoweringInfo",
"&",
"funcInfo",
")",
"{",
"return",
"new",
"X86FastISel",
"(",
"funcInfo",
")",
";",
"}",
"</s>"
] | [
"This",
"method",
"returns",
"a",
"target",
"specific",
"FastISel",
"object",
",",
"or",
"null",
"if",
"the",
"target",
"does",
"not",
"support",
"``",
"fast",
"''",
"ISel",
"."
] | [
"X86",
"X86::createFastISel",
"X86"
] | X86FastISel17 | createFastISel | X86 | CPU | LLVM | 33,717 | 19 | 1 | [] |
[
"<s>",
"bool",
"PPCFrameLowering",
"::",
"canUseAsPrologue",
"(",
"const",
"MachineBasicBlock",
"&",
"MBB",
")",
"const",
"{",
"MachineBasicBlock",
"*",
"TmpMBB",
"=",
"const_cast",
"<",
"MachineBasicBlock",
"*",
">",
"(",
"&",
"MBB",
")",
";",
"return",
"find... | [
"Check",
"whether",
"or",
"not",
"the",
"given",
"MBB",
"can",
"be",
"used",
"as",
"a",
"prologue",
"for",
"the",
"target",
"."
] | [
"PowerPC",
"PPC"
] | PPCFrameLowering54 | canUseAsPrologue | PowerPC | CPU | LLVM | 33,718 | 37 | 1 | [] |
[
"<s>",
"void",
"emitFill",
"(",
"const",
"MCExpr",
"&",
"NumBytes",
",",
"uint64_t",
"FillValue",
",",
"SMLoc",
"Loc",
")",
"override",
"{",
"EmitDataMappingSymbol",
"(",
")",
";",
"MCObjectStreamer",
"::",
"emitFill",
"(",
"NumBytes",
",",
"FillValue",
",",
... | [
"Emit",
"Size",
"bytes",
"worth",
"of",
"the",
"value",
"specified",
"by",
"FillValue",
"."
] | [
"AArch64"
] | AArch64ELFStreamer | emitFill | AArch64 | CPU | LLVM | 33,719 | 32 | 1 | [] |
[
"<s>",
"unsigned",
"AArch64RegisterBankInfo",
"::",
"copyCost",
"(",
"const",
"RegisterBank",
"&",
"A",
",",
"const",
"RegisterBank",
"&",
"B",
")",
"const",
"{",
"return",
"0",
";",
"}",
"</s>"
] | [
"Get",
"the",
"cost",
"of",
"a",
"copy",
"from",
"B",
"to",
"A",
",",
"or",
"put",
"differently",
",",
"get",
"the",
"cost",
"of",
"A",
"=",
"COPY",
"B",
"."
] | [
"AArch64",
"AArch64",
"0"
] | AArch64RegisterBankInfo27 | copyCost | AArch64 | CPU | LLVM | 33,720 | 21 | 1 | [] |
[
"<s>",
"void",
"MOSAsmPrinter",
"::",
"emitStartOfAsmFile",
"(",
"Module",
"&",
"M",
")",
"{",
"unsigned",
"ModuleEFlags",
"=",
"0",
";",
"for",
"(",
"const",
"Function",
"&",
"F",
":",
"M",
")",
"{",
"const",
"MOSSubtarget",
"&",
"STI",
"=",
"static_cas... | [
"This",
"virtual",
"method",
"can",
"be",
"overridden",
"by",
"targets",
"that",
"want",
"to",
"emit",
"something",
"at",
"the",
"start",
"of",
"their",
"file",
"."
] | [
"MOS",
"MOS",
"0",
"MOS",
"MOS",
"MOS::checkEFlagsCompatibility",
"\"Function '\"",
"\"' uses bad MOS \"",
"\"feature combination from rest of module.\\n\"",
"\"Function: \"",
"MOS::makeEFlagsString",
"\"Module: \"",
"MOS::makeEFlagsString",
"\"Bad MOS feature combination\""
] | MOSAsmPrinter | emitStartOfAsmFile | MOS | MPU | LLVM | 33,721 | 162 | 1 | [] |
[
"<s>",
"bool",
"SITypeRewriter",
"::",
"runOnFunction",
"(",
"Function",
"&",
"F",
")",
"{",
"Attribute",
"A",
"=",
"F",
".",
"getFnAttribute",
"(",
"\"ShaderType\"",
")",
";",
"unsigned",
"ShaderType",
"=",
"ShaderType",
"::",
"COMPUTE",
";",
"if",
"(",
"... | [
"runOnFunction",
"-",
"Virtual",
"method",
"overriden",
"by",
"subclasses",
"to",
"do",
"the",
"per-function",
"processing",
"of",
"the",
"pass",
"."
] | [
"AMDGPU",
"SI",
"\"ShaderType\"",
"0"
] | SITypeRewriter6 | runOnFunction | AMDGPU | GPU | LLVM | 33,722 | 80 | 1 | [] |
[
"<s>",
"unsigned",
"SHUXIInstrInfo",
"::",
"removeBranch",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"int",
"*",
"BytesRemoved",
")",
"const",
"{",
"assert",
"(",
"!",
"BytesRemoved",
"&&",
"\"code size not handled\"",
")",
";",
"MachineBasicBlock",
"::",
"iterat... | [
"Remove",
"the",
"branching",
"code",
"at",
"the",
"end",
"of",
"the",
"specific",
"MBB",
"."
] | [
"SHUXI",
"SHUXI",
"\"code size not handled\"",
"0",
"SHUXI::JMP",
"SHUXI::JCC"
] | SHUXIInstrInfo | removeBranch | SHUXI | CPU | LLVM | 33,723 | 109 | 1 | [] |
[
"<s>",
"bool",
"X86InstrInfo",
"::",
"isSchedulingBoundary",
"(",
"const",
"MachineInstr",
"&",
"MI",
",",
"const",
"MachineBasicBlock",
"*",
"MBB",
",",
"const",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"unsigned",
"Opcode",
"=",
"MI",
".",
"getOpcode... | [
"isSchedulingBoundary",
"-",
"Overrides",
"the",
"isSchedulingBoundary",
"from",
"Codegen/TargetInstrInfo.cpp",
"to",
"make",
"it",
"capable",
"of",
"identifying",
"ENDBR",
"intructions",
"and",
"prevent",
"it",
"from",
"being",
"re-scheduled",
"."
] | [
"X86",
"X86",
"X86::ENDBR64",
"X86::ENDBR32",
"X86::LDTILECFG"
] | X86InstrInfo (2)3 | isSchedulingBoundary | X86 | CPU | LLVM | 33,724 | 67 | 1 | [] |
[
"<s>",
"SDValue",
"DLXTargetLowering",
"::",
"PerformDAGCombine",
"(",
"SDNode",
"*",
"N",
",",
"DAGCombinerInfo",
"&",
"DCI",
")",
"const",
"{",
"return",
"SDValue",
"(",
")",
";",
"}",
"</s>"
] | [
"This",
"method",
"will",
"be",
"invoked",
"for",
"all",
"target",
"nodes",
"and",
"for",
"any",
"target-independent",
"nodes",
"that",
"the",
"target",
"has",
"registered",
"with",
"invoke",
"it",
"for",
"."
] | [
"DLX",
"DLX"
] | DLXISelLowering | PerformDAGCombine | DLX | CPU | LLVM | 33,725 | 21 | 1 | [] |
[
"<s>",
"bool",
"VETargetLowering",
"::",
"CanLowerReturn",
"(",
"CallingConv",
"::",
"ID",
"CallConv",
",",
"MachineFunction",
"&",
"MF",
",",
"bool",
"IsVarArg",
",",
"const",
"SmallVectorImpl",
"<",
"ISD",
"::",
"OutputArg",
">",
"&",
"Outs",
",",
"LLVMConte... | [
"This",
"hook",
"should",
"be",
"implemented",
"to",
"check",
"whether",
"the",
"return",
"values",
"described",
"by",
"the",
"Outs",
"array",
"can",
"fit",
"into",
"the",
"return",
"registers",
"."
] | [
"VE",
"VE",
"ISD::OutputArg",
"16"
] | VEISelLowering1 | CanLowerReturn | VE | CPU | LLVM | 33,726 | 75 | 1 | [] |
[
"<s>",
"PPCSubtarget",
"::",
"PPCSubtarget",
"(",
"const",
"std",
"::",
"string",
"&",
"TT",
",",
"const",
"std",
"::",
"string",
"&",
"CPU",
",",
"const",
"std",
"::",
"string",
"&",
"FS",
",",
"const",
"PPCTargetMachine",
"&",
"TM",
")",
":",
"PPCGen... | [
"This",
"constructor",
"initializes",
"the",
"data",
"members",
"to",
"match",
"that",
"of",
"the",
"specified",
"triple",
"."
] | [
"PowerPC",
"PPC",
"PPC",
"PPC",
"PPC",
"PPC"
] | PPCSubtarget39 | PPCSubtarget | PowerPC | CPU | LLVM | 33,727 | 107 | 1 | [] |
[
"<s>",
"bool",
"CSKYAsmPrinter",
"::",
"PrintAsmMemoryOperand",
"(",
"const",
"MachineInstr",
"*",
"MI",
",",
"unsigned",
"OpNo",
",",
"const",
"char",
"*",
"ExtraCode",
",",
"raw_ostream",
"&",
"OS",
")",
"{",
"if",
"(",
"!",
"ExtraCode",
")",
"{",
"const... | [
"Print",
"the",
"specified",
"operand",
"of",
"MI",
",",
"an",
"INLINEASM",
"instruction",
",",
"using",
"the",
"specified",
"assembler",
"variant",
"as",
"an",
"address",
"."
] | [
"CSKY",
"CSKY",
"\"(\"",
"CSKY",
"\", 0)\""
] | CSKYAsmPrinter1 | PrintAsmMemoryOperand | CSKY | CPU | LLVM | 33,728 | 89 | 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",
"0",
"24",
"32",
"32",
"24",
"24"
] | AArch64TargetMachine14 | AArch64TargetMachine | AArch64 | CPU | LLVM | 33,729 | 306 | 1 | [] |
[
"<s>",
"int",
"zero_and_one",
"(",
"rtx",
"operand1",
",",
"rtx",
"operand2",
")",
"{",
"return",
"GET_CODE",
"(",
"operand1",
")",
"==",
"CONST_INT",
"&&",
"GET_CODE",
"(",
"operand2",
")",
"==",
"CONST_INT",
"&&",
"(",
"(",
"(",
"INTVAL",
"(",
"operand... | [
"Return",
"true",
"if",
"the",
"operands",
"are",
"the",
"constants",
"0",
"and",
"1",
"."
] | [
"m32r",
"0",
"1",
"1",
"0"
] | m32r3 | zero_and_one | m32r | MPU | GCC | 33,730 | 68 | 1 | [] |
[
"<s>",
"bool",
"X86RegisterInfo",
"::",
"hasReservedSpillSlot",
"(",
"const",
"MachineFunction",
"&",
"MF",
",",
"unsigned",
"Reg",
",",
"int",
"&",
"FrameIdx",
")",
"const",
"{",
"const",
"TargetFrameInfo",
"*",
"TFI",
"=",
"MF",
".",
"getTarget",
"(",
")",... | [
"Return",
"true",
"if",
"target",
"has",
"reserved",
"a",
"spill",
"slot",
"in",
"the",
"stack",
"frame",
"of",
"the",
"given",
"function",
"for",
"the",
"specified",
"register",
"."
] | [
"X86",
"X86"
] | X86RegisterInfo40 | hasReservedSpillSlot | X86 | CPU | LLVM | 33,731 | 68 | 1 | [] |
[
"<s>",
"StringRef",
"getPassName",
"(",
")",
"const",
"override",
"{",
"return",
"\"Patmos Delay Slot Killer\"",
";",
"}",
"</s>"
] | [
"getPassName",
"-",
"Return",
"a",
"nice",
"clean",
"name",
"for",
"a",
"pass",
"."
] | [
"Patmos",
"\"Patmos Delay Slot Killer\""
] | PatmosDelaySlotKiller1 | getPassName | Patmos | VLIW | LLVM | 33,732 | 11 | 1 | [] |
[
"<s>",
"static",
"int",
"ix86_reloc_rw_mask",
"(",
"void",
")",
"{",
"return",
"(",
"flag_pic",
"||",
"!",
"ix86_direct_extern_access",
")",
"?",
"3",
":",
"0",
";",
"}",
"</s>"
] | [
"If",
"flag_pic",
"or",
"ix86_direct_extern_access",
"is",
"false",
",",
"then",
"neither",
"local",
"nor",
"global",
"relocs",
"should",
"be",
"placed",
"in",
"readonly",
"memory",
"."
] | [
"i386",
"3",
"0"
] | i386 | ix86_reloc_rw_mask | i386 | CPU | GCC | 33,733 | 20 | 1 | [] |
[
"<s>",
"void",
"emitTagType",
"(",
"const",
"MCSymbolWasm",
"*",
")",
"override",
"{",
"}",
"</s>"
] | [
".tagtype"
] | [
"WebAssembly"
] | WebAssemblyTargetStreamer (2)1 | emitTagType | WebAssembly | Virtual ISA | LLVM | 33,734 | 10 | 1 | [] |
[
"<s>",
"static",
"const",
"char",
"*",
"s390_invalid_arg_for_unprototyped_fn",
"(",
"const_tree",
"typelist",
",",
"const_tree",
"funcdecl",
",",
"const_tree",
"val",
")",
"{",
"return",
"(",
"(",
"TARGET_VX_ABI",
"&&",
"typelist",
"==",
"0",
"&&",
"VECTOR_TYPE_P"... | [
"The",
"VX",
"ABI",
"differs",
"for",
"vararg",
"functions",
".",
"Therefore",
"we",
"need",
"the",
"prototype",
"of",
"the",
"callee",
"to",
"be",
"available",
"when",
"passing",
"vector",
"type",
"values",
"."
] | [
"s390",
"0",
"\"vector argument passed to unprototyped function\""
] | s390 | s390_invalid_arg_for_unprototyped_fn | s390 | MPU | GCC | 33,735 | 65 | 1 | [] |
[
"<s>",
"static",
"rtx",
"sh_struct_value_rtx",
"(",
"tree",
"fndecl",
",",
"int",
"incoming",
"ATTRIBUTE_UNUSED",
")",
"{",
"if",
"(",
"TARGET_HITACHI",
"||",
"sh_attr_renesas_p",
"(",
"fndecl",
")",
")",
"return",
"0",
";",
"return",
"gen_rtx_REG",
"(",
"Pmod... | [
"The",
"Renesas",
"calling",
"convention",
"does",
"n't",
"quite",
"fit",
"into",
"this",
"scheme",
"since",
"the",
"address",
"is",
"passed",
"like",
"an",
"invisible",
"argument",
",",
"but",
"one",
"that",
"is",
"always",
"passed",
"in",
"memory",
"."
] | [
"sh",
"0",
"2"
] | sh3 | sh_struct_value_rtx | sh | CPU | GCC | 33,736 | 33 | 1 | [] |
[
"<s>",
"static",
"rtx_insn",
"*",
"alphaev4_next_group",
"(",
"rtx_insn",
"*",
"insn",
",",
"int",
"*",
"pin_use",
",",
"int",
"*",
"plen",
")",
"{",
"int",
"len",
",",
"in_use",
";",
"len",
"=",
"in_use",
"=",
"0",
";",
"if",
"(",
"!",
"INSN_P",
"... | [
"IN_USE",
"is",
"a",
"mask",
"of",
"the",
"slots",
"currently",
"filled",
"within",
"the",
"insn",
"group",
".",
"The",
"mask",
"bits",
"come",
"from",
"alphaev4_pipe",
"above",
".",
"If",
"EV4_IBX",
"is",
"set",
",",
"then",
"the",
"insn",
"in",
"EV4_IB... | [
"alpha",
"0",
"1",
"0",
"1",
"4"
] | alpha | alphaev4_next_group | alpha | MPU | GCC | 33,737 | 307 | 1 | [] |
[
"<s>",
"const",
"char",
"*",
"output_return",
"(",
"rtx",
"insn",
")",
"{",
"if",
"(",
"sparc_leaf_function_p",
")",
"{",
"gcc_assert",
"(",
"!",
"current_function_calls_eh_return",
")",
";",
"return",
"\"jmp\\t%%o7+%)%#\"",
";",
"}",
"else",
"{",
"if",
"(",
... | [
"Output",
"a",
"return",
"."
] | [
"sparc",
"\"jmp\\t%%o7+%)%#\"",
"\"\\tadd\\t%fp, %g1, %fp\\n\"",
"\"\\treturn\\t%i7+8\\n\"",
"\"\\trestore\\n\\tjmp\\t%o7+8\\n\"",
"\"\\t add\\t%sp, %g1, %sp\\n\"",
"\"\\t nop\\n\"",
"1",
"0",
"\"return\\t%%i7+%)%#\"",
"\"jmp\\t%%i7+%)\"",
"1",
"\"return\\t%%i7+%)\\n\\t nop\"",
"\"jmp\\t%%... | sparc3 | output_return | sparc | CPU | GCC | 33,738 | 204 | 1 | [] |
[
"<s>",
"const",
"MipsGNULDBackend",
"&",
"getTarget",
"(",
")",
"const",
"{",
"return",
"m_Target",
";",
"}",
"</s>"
] | [
"getTarget",
"-",
"Return",
"the",
"target",
"machine",
"this",
"machine",
"code",
"is",
"compiled",
"with"
] | [
"Mips",
"Mips"
] | MipsRelocator | getTarget | Mips | CPU | LLVM | 33,739 | 12 | 1 | [] |
[
"<s>",
"Optional",
"<",
"RegImmPair",
">",
"ARMBaseInstrInfo",
"::",
"isAddImmediate",
"(",
"const",
"MachineInstr",
"&",
"MI",
",",
"Register",
"Reg",
")",
"const",
"{",
"int",
"Sign",
"=",
"1",
";",
"unsigned",
"Opcode",
"=",
"MI",
".",
"getOpcode",
"(",... | [
"If",
"the",
"specific",
"machine",
"instruction",
"is",
"an",
"instruction",
"that",
"adds",
"an",
"immediate",
"value",
"and",
"a",
"register",
",",
"and",
"stores",
"the",
"result",
"in",
"the",
"given",
"register",
"Reg",
",",
"return",
"a",
"pair",
"o... | [
"ARM",
"ARM",
"1",
"0",
"0",
"ARM::SUBri",
"1",
"ARM::ADDri",
"0",
"1",
"2",
"2",
"1"
] | ARMBaseInstrInfo78 | isAddImmediate | ARM | CPU | LLVM | 33,740 | 154 | 1 | [] |
[
"<s>",
"bool",
"AArch64InstrInfo",
"::",
"isFunctionSafeToOutlineFrom",
"(",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"return",
"MF",
".",
"getFunction",
"(",
")",
"->",
"hasFnAttribute",
"(",
"Attribute",
"::",
"NoRedZone",
")",
"&&",
"!",
"MF",
".",
... | [
"Return",
"true",
"if",
"the",
"function",
"can",
"safely",
"be",
"outlined",
"from",
"."
] | [
"AArch64",
"AArch64"
] | AArch64InstrInfo35 | isFunctionSafeToOutlineFrom | AArch64 | CPU | LLVM | 33,741 | 37 | 1 | [] |
[
"<s>",
"void",
"X86FrameLowering",
"::",
"emitSPUpdate",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"&",
"MBBI",
",",
"int64_t",
"NumBytes",
",",
"bool",
"InEpilogue",
")",
"const",
"{",
"bool",
"isSub",
"=",
"NumBytes",
... | [
"Emit",
"a",
"series",
"of",
"instructions",
"to",
"increment",
"/",
"decrement",
"the",
"stack",
"pointer",
"by",
"a",
"constant",
"value",
"."
] | [
"X86",
"X86",
"0",
"1LL",
"31",
"1",
"0",
"X86::RAX",
"X86::EAX",
"X86::MOV64ri",
"X86::MOV32ri",
"3",
"0",
"8",
"4",
"X86::RAX",
"X86::EAX",
"X86::PUSH64r",
"X86::PUSH32r",
"X86::POP64r",
"X86::POP32r"
] | X86FrameLowering102 | emitSPUpdate | X86 | CPU | LLVM | 33,742 | 432 | 1 | [] |
[
"<s>",
"void",
"xtensa_split_DI_reg_imm",
"(",
"rtx",
"*",
"operands",
")",
"{",
"rtx",
"lowpart",
",",
"highpart",
";",
"if",
"(",
"WORDS_BIG_ENDIAN",
")",
"split_double",
"(",
"operands",
"[",
"1",
"]",
",",
"&",
"highpart",
",",
"&",
"lowpart",
")",
"... | [
"Split",
"a",
"DImode",
"pair",
"of",
"reg",
"(",
"operand",
"[",
"0",
"]",
")",
"and",
"const_int",
"(",
"operand",
"[",
"1",
"]",
")",
"into",
"two",
"SImode",
"pairs",
",",
"the",
"low-part",
"(",
"operands",
"[",
"0",
"]",
"and",
"[",
"1",
"]... | [
"xtensa",
"1",
"1",
"3",
"2",
"0",
"1",
"0",
"0"
] | xtensa1 | xtensa_split_DI_reg_imm | xtensa | MPU | GCC | 33,743 | 91 | 1 | [] |
[
"<s>",
"StringRef",
"getPassName",
"(",
")",
"const",
"override",
"{",
"return",
"\"NVPTX DAG->DAG Pattern Instruction Selection\"",
";",
"}",
"</s>"
] | [
"getPassName",
"-",
"Return",
"a",
"nice",
"clean",
"name",
"for",
"a",
"pass",
"."
] | [
"NVPTX",
"\"NVPTX DAG->DAG Pattern Instruction Selection\""
] | NVPTXISelDAGToDAG (2)1 | getPassName | NVPTX | GPU | LLVM | 33,744 | 11 | 1 | [] |
[
"<s>",
"static",
"tree",
"ix86_stack_protect_fail",
"(",
"void",
")",
"{",
"return",
"TARGET_64BIT",
"?",
"default_external_stack_protect_fail",
"(",
")",
":",
"default_hidden_stack_protect_fail",
"(",
")",
";",
"}",
"</s>"
] | [
"For",
"32-bit",
"code",
"we",
"can",
"save",
"PIC",
"register",
"setup",
"by",
"using",
"__stack_chk_fail_local",
"hidden",
"function",
"instead",
"of",
"calling",
"__stack_chk_fail",
"directly",
".",
"64-bit",
"code",
"does",
"n't",
"need",
"to",
"setup",
"any... | [
"i386"
] | i3863 | ix86_stack_protect_fail | i386 | CPU | GCC | 33,745 | 19 | 1 | [] |
[
"<s>",
"static",
"rtx_insn",
"*",
"find_next_cycle_insn",
"(",
"rtx_insn",
"*",
"insn",
",",
"int",
"clock",
")",
"{",
"rtx_insn",
"*",
"t",
"=",
"insn",
";",
"if",
"(",
"GET_MODE",
"(",
"t",
")",
"==",
"TImode",
")",
"t",
"=",
"next_real_insn",
"(",
... | [
"Scan",
"forwards",
"from",
"INSN",
"until",
"we",
"find",
"the",
"next",
"insn",
"that",
"has",
"mode",
"TImode",
"(",
"indicating",
"it",
"starts",
"a",
"new",
"cycle",
")",
",",
"and",
"occurs",
"in",
"cycle",
"CLOCK",
".",
"Return",
"it",
"if",
"we... | [
"c6x"
] | c6x | find_next_cycle_insn | c6x | VLIW | GCC | 33,746 | 71 | 1 | [] |
[
"<s>",
"bool",
"function_instance",
"::",
"reads_global_state_p",
"(",
")",
"const",
"{",
"unsigned",
"int",
"flags",
"=",
"call_properties",
"(",
")",
";",
"if",
"(",
"flags",
"&",
"CP_READ_FPCR",
")",
"return",
"true",
";",
"return",
"flags",
"&",
"(",
"... | [
"Return",
"true",
"if",
"calls",
"to",
"the",
"function",
"could",
"read",
"some",
"form",
"of",
"global",
"state",
"."
] | [
"aarch64"
] | aarch64-sve-builtins | reads_global_state_p | aarch64 | CPU | GCC | 33,747 | 35 | 1 | [] |
[
"<s>",
"static",
"void",
"mips_expand_vi_general",
"(",
"machine_mode",
"vmode",
",",
"machine_mode",
"imode",
",",
"unsigned",
"nelt",
",",
"unsigned",
"nvar",
",",
"rtx",
"target",
",",
"rtx",
"vals",
")",
"{",
"rtx",
"mem",
"=",
"assign_stack_temp",
"(",
... | [
"A",
"subroutine",
"of",
"mips_expand_vec_init",
",",
"expand",
"anything",
"via",
"memory",
"."
] | [
"mips",
"0",
"0"
] | mips | mips_expand_vi_general | mips | CPU | GCC | 33,748 | 123 | 1 | [] |
[
"<s>",
"bool",
"RISCVPassConfig",
"::",
"addGlobalInstructionSelect",
"(",
")",
"{",
"addPass",
"(",
"new",
"InstructionSelect",
"(",
")",
")",
";",
"return",
"false",
";",
"}",
"</s>"
] | [
"This",
"method",
"should",
"install",
"a",
"(",
"global",
")",
"instruction",
"selector",
"pass",
",",
"which",
"converts",
"possibly",
"generic",
"instructions",
"to",
"fully",
"target-specific",
"instructions",
",",
"thereby",
"constraining",
"all",
"generic",
... | [
"RI5CY",
"RISCV"
] | RISCVTargetMachine | addGlobalInstructionSelect | RI5CY | CPU | LLVM | 33,749 | 19 | 1 | [] |
[
"<s>",
"static",
"void",
"visium_va_start",
"(",
"tree",
"valist",
",",
"rtx",
"nextarg",
"ATTRIBUTE_UNUSED",
")",
"{",
"const",
"CUMULATIVE_ARGS",
"*",
"ca",
"=",
"&",
"crtl",
"->",
"args",
".",
"info",
";",
"int",
"gp_saved",
"=",
"MAX_ARGS_IN_GP_REGISTERS",... | [
"Implement",
"`",
"va_start",
"'",
"for",
"varargs",
"and",
"stdarg",
"."
] | [
"visium",
"0"
] | visium | visium_va_start | visium | Virtual ISA | GCC | 33,750 | 441 | 1 | [] |
[
"<s>",
"static",
"bool",
"no_global_regs_above",
"(",
"int",
"first_greg",
")",
"{",
"int",
"i",
";",
"for",
"(",
"i",
"=",
"0",
";",
"i",
"<",
"32",
"-",
"first_greg",
";",
"i",
"++",
")",
"if",
"(",
"global_regs",
"[",
"first_greg",
"+",
"i",
"]"... | [
"Look",
"for",
"user-defined",
"global",
"regs",
".",
"We",
"should",
"not",
"save",
"and",
"restore",
"these",
",",
"and",
"can",
"not",
"use",
"stmw/lmw",
"if",
"there",
"are",
"any",
"in",
"its",
"range",
"."
] | [
"rs6000",
"0",
"32"
] | rs60003 | no_global_regs_above | rs6000 | CPU | GCC | 33,751 | 42 | 1 | [] |
[
"<s>",
"bool",
"NVPTXPassConfig",
"::",
"addInstSelector",
"(",
")",
"{",
"const",
"NVPTXSubtarget",
"&",
"ST",
"=",
"*",
"getTM",
"<",
"NVPTXTargetMachine",
">",
"(",
")",
".",
"getSubtargetImpl",
"(",
")",
";",
"addPass",
"(",
"createLowerAggrCopies",
"(",
... | [
"addInstSelector",
"-",
"This",
"method",
"should",
"install",
"an",
"instruction",
"selector",
"pass",
",",
"which",
"converts",
"from",
"LLVM",
"code",
"to",
"machine",
"instructions",
"."
] | [
"NVPTX",
"NVPTX",
"NVPTX",
"NVPTX",
"NVPTX",
"NVPTX",
"NVPTX"
] | NVPTXTargetMachine (2) | addInstSelector | NVPTX | GPU | LLVM | 33,752 | 72 | 1 | [] |
[
"<s>",
"bool",
"insertEdge",
"(",
"unsigned",
"Reg",
")",
"{",
"return",
"Edges",
".",
"insert",
"(",
"Reg",
")",
".",
"second",
";",
"}",
"</s>"
] | [
"Update",
"the",
"call",
"graph",
"after",
"inserting",
"a",
"new",
"edge",
"."
] | [
"X86"
] | X86DomainReassignment | insertEdge | X86 | CPU | LLVM | 33,753 | 18 | 1 | [] |
[
"<s>",
"static",
"int",
"sign_bit_position",
"(",
"const",
"rtx",
"op",
")",
"{",
"const",
"int",
"sz",
"=",
"GET_MODE_SIZE",
"(",
"GET_MODE",
"(",
"op",
")",
")",
";",
"return",
"sz",
"*",
"8",
"-",
"1",
";",
"}",
"</s>"
] | [
"Return",
"the",
"sign",
"bit",
"position",
"for",
"given",
"OP",
"'s",
"mode",
"."
] | [
"pru",
"8",
"1"
] | pru | sign_bit_position | pru | CPU | GCC | 33,754 | 29 | 1 | [] |
[
"<s>",
"static",
"rtx",
"copy_operand",
"(",
"rtx",
"op",
",",
"machine_mode",
"mode",
")",
"{",
"if",
"(",
"GET_MODE",
"(",
"op",
")",
"!=",
"VOIDmode",
")",
"{",
"if",
"(",
"REG_P",
"(",
"op",
")",
")",
"op",
"=",
"gen_rtx_REG",
"(",
"mode",
",",... | [
"Copy",
"OP",
"and",
"change",
"its",
"mode",
"to",
"MODE",
"."
] | [
"m68k"
] | m68k | copy_operand | m68k | MPU | GCC | 33,755 | 62 | 1 | [] |
[
"<s>",
"static",
"void",
"xstormy16_function_arg_advance",
"(",
"cumulative_args_t",
"cum_v",
",",
"machine_mode",
"mode",
",",
"const_tree",
"type",
",",
"bool",
"named",
"ATTRIBUTE_UNUSED",
")",
"{",
"CUMULATIVE_ARGS",
"*",
"cum",
"=",
"get_cumulative_args",
"(",
... | [
"Update",
"CUM",
"to",
"advance",
"past",
"an",
"argument",
"in",
"the",
"argument",
"list",
".",
"The",
"values",
"MODE",
",",
"TYPE",
"and",
"NAMED",
"describe",
"that",
"argument",
".",
"Once",
"this",
"is",
"done",
",",
"the",
"variable",
"CUM",
"is"... | [
"stormy16"
] | stormy164 | xstormy16_function_arg_advance | stormy16 | CPU | GCC | 33,756 | 62 | 1 | [] |
[
"<s>",
"std",
"::",
"pair",
"<",
"SDValue",
",",
"SDValue",
">",
"SystemZSelectionDAGInfo",
"::",
"EmitTargetCodeForMemchr",
"(",
"SelectionDAG",
"&",
"DAG",
",",
"SDLoc",
"DL",
",",
"SDValue",
"Chain",
",",
"SDValue",
"Src",
",",
"SDValue",
"Char",
",",
"SD... | [
"Emit",
"target-specific",
"code",
"that",
"performs",
"a",
"memchr",
",",
"in",
"cases",
"where",
"that",
"is",
"faster",
"than",
"a",
"libcall",
"."
] | [
"SystemZ",
"SystemZ",
"MVT::Other",
"MVT::Glue",
"MVT::i32",
"ISD::AND",
"MVT::i32",
"255",
"MVT::i32",
"ISD::ADD",
"SystemZISD::SEARCH_STRING",
"1",
"2",
"5",
"0",
"SystemZ::CCMASK_SRST",
"MVT::i32",
"SystemZ::CCMASK_SRST_FOUND",
"MVT::i32",
"MVT::Glue",
"SystemZISD::SELECT_... | SystemZSelectionDAGInfo22 | EmitTargetCodeForMemchr | SystemZ | CPU | LLVM | 33,757 | 297 | 1 | [] |
[
"<s>",
"bool",
"NVPTXAssignValidGlobalNames",
"::",
"runOnModule",
"(",
"Module",
"&",
"M",
")",
"{",
"for",
"(",
"GlobalVariable",
"&",
"GV",
":",
"M",
".",
"globals",
"(",
")",
")",
"{",
"if",
"(",
"GV",
".",
"hasLocalLinkage",
"(",
")",
")",
"{",
... | [
"runOnModule",
"-",
"Virtual",
"method",
"overriden",
"by",
"subclasses",
"to",
"process",
"the",
"module",
"being",
"operated",
"on",
"."
] | [
"NVPTX",
"NVPTX"
] | NVPTXAssignValidGlobalNames | runOnModule | NVPTX | GPU | LLVM | 33,758 | 86 | 1 | [] |
[
"<s>",
"void",
"MipsFrameLowering",
"::",
"emitEpilogue",
"(",
"MachineFunction",
"&",
"MF",
",",
"MachineBasicBlock",
"&",
"MBB",
")",
"const",
"{",
"MachineBasicBlock",
"::",
"iterator",
"MBBI",
"=",
"MBB",
".",
"getLastNonDebugInstr",
"(",
")",
";",
"MachineF... | [
"Insert",
"epilog",
"code",
"into",
"the",
"function",
"."
] | [
"Mips",
"Mips",
"Mips",
"Mips",
"0",
"0",
"0",
"Mips::ADDu",
"Mips::SP",
"Mips::FP",
"Mips::ZERO",
"Mips::SP",
"Mips::ADDiu",
"Mips::SP",
"Mips::ATMACRO"
] | MipsFrameLowering37 | emitEpilogue | Mips | CPU | LLVM | 33,759 | 250 | 1 | [] |
[
"<s>",
"SDValue",
"PPCTargetLowering",
"::",
"LowerFormalArguments",
"(",
"SDValue",
"Chain",
",",
"CallingConv",
"::",
"ID",
"CallConv",
",",
"bool",
"isVarArg",
",",
"const",
"SmallVectorImpl",
"<",
"ISD",
"::",
"InputArg",
">",
"&",
"Ins",
",",
"DebugLoc",
... | [
"This",
"hook",
"must",
"be",
"implemented",
"to",
"lower",
"the",
"incoming",
"(",
"formal",
")",
"arguments",
",",
"described",
"by",
"the",
"Ins",
"array",
",",
"into",
"the",
"specified",
"DAG",
"."
] | [
"PowerPC",
"PPC",
"ISD::InputArg",
"PPC",
"PPC",
"PPC"
] | PPCISelLowering15 | LowerFormalArguments | PowerPC | CPU | LLVM | 33,760 | 99 | 1 | [] |
[
"<s>",
"static",
"bool",
"arm_must_pass_in_stack",
"(",
"machine_mode",
"mode",
",",
"const_tree",
"type",
")",
"{",
"if",
"(",
"TARGET_AAPCS_BASED",
")",
"return",
"must_pass_in_stack_var_size",
"(",
"mode",
",",
"type",
")",
";",
"else",
"return",
"must_pass_in_... | [
"Return",
"true",
"if",
"a",
"type",
"must",
"be",
"passed",
"in",
"memory",
".",
"For",
"AAPCS",
",",
"small",
"aggregates",
"(",
"padded",
"to",
"the",
"size",
"of",
"a",
"word",
")",
"should",
"be",
"passed",
"in",
"a",
"register",
"."
] | [
"arm"
] | arm4 | arm_must_pass_in_stack | arm | CPU | GCC | 33,761 | 33 | 1 | [] |
[
"<s>",
"bool",
"X86FrameLowering",
"::",
"assignCalleeSavedSpillSlots",
"(",
"MachineFunction",
"&",
"MF",
",",
"const",
"TargetRegisterInfo",
"*",
"TRI",
",",
"std",
"::",
"vector",
"<",
"CalleeSavedInfo",
">",
"&",
"CSI",
")",
"const",
"{",
"MachineFrameInfo",
... | [
"This",
"function",
"will",
"assign",
"callee",
"saved",
"gprs",
"to",
"volatile",
"vector",
"registers",
"for",
"prologue",
"spills",
"when",
"applicable",
"."
] | [
"X86",
"X86",
"X86",
"X86",
"X86",
"X86",
"X86",
"0",
"X86",
"0",
"0",
"1",
"X86::GR64RegClass",
"X86::GR32RegClass",
"1",
"X86",
"0",
"1",
"X86::GR64RegClass",
"X86::GR32RegClass",
"1"
] | X86FrameLowering109 | assignCalleeSavedSpillSlots | X86 | CPU | LLVM | 33,762 | 411 | 1 | [] |
[
"<s>",
"static",
"void",
"nds32_emit_stack_v3push",
"(",
"unsigned",
"Rb",
",",
"unsigned",
"Re",
",",
"unsigned",
"imm8u",
")",
"{",
"unsigned",
"regno",
";",
"int",
"num_use_regs",
";",
"int",
"par_index",
";",
"int",
"offset",
";",
"rtx",
"reg",
";",
"r... | [
"Function",
"to",
"create",
"a",
"parallel",
"rtx",
"pattern",
"which",
"presents",
"stack",
"v3push",
"behavior",
".",
"The",
"overall",
"concept",
"are",
":",
"``",
"push",
"registers",
"to",
"memory",
"''",
",",
"``",
"adjust",
"stack",
"pointer",
"''",
... | [
"nds32",
"1",
"3",
"1",
"0",
"4",
"0",
"1",
"4",
"0",
"1",
"4",
"0",
"1",
"4",
"0",
"1",
"4",
"4",
"0",
"1",
"1"
] | nds32 | nds32_emit_stack_v3push | nds32 | CPU | GCC | 33,763 | 397 | 1 | [] |
[
"<s>",
"int",
"ARMAsmParser",
"::",
"tryParseRegister",
"(",
")",
"{",
"const",
"AsmToken",
"&",
"Tok",
"=",
"Parser",
".",
"getTok",
"(",
")",
";",
"if",
"(",
"Tok",
".",
"isNot",
"(",
"AsmToken",
"::",
"Identifier",
")",
")",
"return",
"-",
"1",
";... | [
"tryParseRegister",
"-",
"parse",
"one",
"register",
"if",
"possible"
] | [
"ARM",
"ARM",
"1",
"\"r13\"",
"ARM::SP",
"\"r14\"",
"ARM::LR",
"\"r15\"",
"ARM::PC",
"\"ip\"",
"ARM::R12",
"0",
"1",
"\"immediate value expected for vector index\"",
"\"']' expected\"",
"ARM"
] | ARMAsmParser111 | tryParseRegister | ARM | CPU | LLVM | 33,764 | 309 | 1 | [] |
[
"<s>",
"static",
"bool",
"visium_legitimate_address_p",
"(",
"enum",
"machine_mode",
"mode",
",",
"rtx",
"x",
",",
"bool",
"strict",
")",
"{",
"rtx",
"base",
";",
"unsigned",
"int",
"regno",
";",
"if",
"(",
"GET_CODE",
"(",
"x",
")",
"==",
"PLUS",
")",
... | [
"Return",
"whether",
"X",
"is",
"a",
"legitimate",
"memory",
"address",
"for",
"a",
"memory",
"operand",
"of",
"mode",
"MODE",
".",
"Legitimate",
"addresses",
"are",
"defined",
"in",
"two",
"variants",
":",
"a",
"strict",
"variant",
"and",
"a",
"non-strict",... | [
"visium",
"1",
"0"
] | visium2 | visium_legitimate_address_p | visium | Virtual ISA | GCC | 33,765 | 120 | 1 | [] |
[
"<s>",
"static",
"int",
"optimal_immediate_sequence",
"(",
"enum",
"rtx_code",
"code",
",",
"unsigned",
"HOST_WIDE_INT",
"val",
",",
"struct",
"four_ints",
"*",
"return_sequence",
")",
"{",
"int",
"best_consecutive_zeros",
"=",
"0",
";",
"int",
"i",
";",
"int",
... | [
"Return",
"a",
"sequence",
"of",
"integers",
",",
"in",
"RETURN_SEQUENCE",
"that",
"fit",
"into",
"ARM/THUMB2",
"immediates",
",",
"and",
"add",
"up",
"to",
"VAL",
".",
"Thr",
"function",
"return",
"value",
"gives",
"the",
"number",
"of",
"insns",
"required"... | [
"arm",
"0",
"0",
"0",
"32",
"2",
"0",
"3",
"32",
"3",
"2",
"2",
"2",
"0",
"1",
"0"
] | arm4 | optimal_immediate_sequence | arm | CPU | GCC | 33,766 | 205 | 1 | [] |
[
"<s>",
"bool",
"ARMAsmBackend",
"::",
"fixupNeedsRelaxation",
"(",
"const",
"MCFixup",
"&",
"Fixup",
",",
"uint64_t",
"Value",
",",
"const",
"MCRelaxableFragment",
"*",
"DF",
",",
"const",
"MCAsmLayout",
"&",
"Layout",
")",
"const",
"{",
"switch",
"(",
"(",
... | [
"Simple",
"predicate",
"for",
"targets",
"where",
"!",
"Resolved",
"implies",
"requiring",
"relaxation",
"."
] | [
"ARM",
"ARM",
"ARM::fixup_arm_thumb_br",
"4",
"2046",
"2048",
"ARM::fixup_arm_thumb_bcc",
"4",
"254",
"256",
"ARM::fixup_thumb_adr_pcrel_10",
"ARM::fixup_arm_thumb_cp",
"4",
"1020",
"0",
"3",
"\"Unexpected fixup kind in fixupNeedsRelaxation()!\""
] | ARMAsmBackend (2) | fixupNeedsRelaxation | ARM | CPU | LLVM | 33,767 | 133 | 1 | [] |
[
"<s>",
"int",
"s390_mem_constraint",
"(",
"const",
"char",
"*",
"str",
",",
"rtx",
"op",
")",
"{",
"char",
"c",
"=",
"str",
"[",
"0",
"]",
";",
"switch",
"(",
"c",
")",
"{",
"case",
"'A'",
":",
"if",
"(",
"!",
"MEM_P",
"(",
"op",
")",
"||",
"... | [
"Evaluates",
"constraint",
"strings",
"described",
"by",
"the",
"regular",
"expression",
"(",
"[",
"A|B|Z",
"]",
"(",
"Q|R|S|T",
")",
")",
"|U|W|Y",
"and",
"returns",
"1",
"if",
"OP",
"is",
"a",
"valid",
"operand",
"for",
"the",
"constraint",
"given",
"in"... | [
"s390",
"0",
"0",
"0",
"1",
"0",
"0",
"1",
"0",
"0",
"0",
"0",
"1",
"0",
"1"
] | s390 | s390_mem_constraint | s390 | MPU | GCC | 33,768 | 202 | 1 | [] |
[
"<s>",
"bool",
"SelectInlineAsmMemoryOperand",
"(",
"const",
"SDValue",
"&",
"Op",
",",
"unsigned",
"ConstraintID",
",",
"std",
"::",
"vector",
"<",
"SDValue",
">",
"&",
"OutOps",
")",
"override",
"{",
"switch",
"(",
"ConstraintID",
")",
"{",
"default",
":",... | [
"SelectInlineAsmMemoryOperand",
"-",
"Select",
"the",
"specified",
"address",
"as",
"a",
"target",
"addressing",
"mode",
",",
"according",
"to",
"the",
"specified",
"constraint",
"."
] | [
"PowerPC",
"\"ConstraintID: \"",
"\"\\n\"",
"\"Unexpected asm memory constraint\"",
"PPC",
"1",
"MVT::i32",
"0"
] | PPCISelDAGToDAG (2)1 | SelectInlineAsmMemoryOperand | PowerPC | CPU | LLVM | 33,769 | 175 | 1 | [] |
[
"<s>",
"static",
"enum",
"dispatch_group",
"get_insn_group",
"(",
"rtx_insn",
"*",
"insn",
")",
"{",
"enum",
"dispatch_group",
"group",
"=",
"get_mem_group",
"(",
"insn",
")",
";",
"if",
"(",
"group",
")",
"return",
"group",
";",
"if",
"(",
"is_branch",
"(... | [
"Return",
"insn",
"dispatch",
"group",
"."
] | [
"i386"
] | i3864 | get_insn_group | i386 | CPU | GCC | 33,770 | 70 | 1 | [] |
[
"<s>",
"bool",
"PPCRegisterInfo",
"::",
"isCallerPreservedPhysReg",
"(",
"unsigned",
"PhysReg",
",",
"const",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"assert",
"(",
"TargetRegisterInfo",
"::",
"isPhysicalRegister",
"(",
"PhysReg",
")",
")",
";",
"if",
"... | [
"Physical",
"registers",
"that",
"may",
"be",
"modified",
"within",
"a",
"function",
"but",
"are",
"guaranteed",
"to",
"be",
"restored",
"before",
"any",
"uses",
"."
] | [
"PowerPC",
"PPC",
"PPC::X2",
"PPC::X2"
] | PPCRegisterInfo (2)2 | isCallerPreservedPhysReg | PowerPC | CPU | LLVM | 33,771 | 63 | 1 | [] |
[
"<s>",
"void",
"R600InstrInfo",
"::",
"reserveIndirectRegisters",
"(",
"BitVector",
"&",
"Reserved",
",",
"const",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"const",
"AMDGPUFrameLowering",
"*",
"TFL",
"=",
"static_cast",
"<",
"const",
"AMDGPUFrameLowering",
... | [
"Reserve",
"the",
"registers",
"that",
"may",
"be",
"accessed",
"using",
"indirect",
"addressing",
"."
] | [
"R600",
"1",
"0",
"4"
] | R600InstrInfo11 | reserveIndirectRegisters | R600 | GPU | LLVM | 33,772 | 146 | 1 | [] |
[
"<s>",
"const",
"char",
"*",
"MipsTargetLowering",
"::",
"getTargetNodeName",
"(",
"unsigned",
"Opcode",
")",
"const",
"{",
"switch",
"(",
"Opcode",
")",
"{",
"case",
"MipsISD",
"::",
"JmpLink",
":",
"return",
"\"MipsISD::JmpLink\"",
";",
"case",
"MipsISD",
":... | [
"getTargetNodeName",
"-",
"This",
"method",
"returns",
"the",
"name",
"of",
"a",
"target",
"specific"
] | [
"Mips",
"Mips",
"MipsISD::JmpLink",
"\"MipsISD::JmpLink\"",
"MipsISD::Hi",
"\"MipsISD::Hi\"",
"MipsISD::Lo",
"\"MipsISD::Lo\"",
"MipsISD::GPRel",
"\"MipsISD::GPRel\"",
"MipsISD::ThreadPointer",
"\"MipsISD::ThreadPointer\"",
"MipsISD::Ret",
"\"MipsISD::Ret\"",
"MipsISD::FPBrcond",
"\"Mi... | MipsISelLowering39 | getTargetNodeName | Mips | CPU | LLVM | 33,773 | 280 | 1 | [] |
[
"<s>",
"static",
"void",
"alpha_setup_incoming_varargs",
"(",
"CUMULATIVE_ARGS",
"*",
"pcum",
",",
"enum",
"machine_mode",
"mode",
",",
"tree",
"type",
",",
"int",
"*",
"pretend_size",
",",
"int",
"no_rtl",
")",
"{",
"CUMULATIVE_ARGS",
"cum",
"=",
"*",
"pcum",... | [
"Perform",
"any",
"needed",
"actions",
"needed",
"for",
"a",
"function",
"that",
"is",
"receiving",
"a",
"variable",
"number",
"of",
"arguments",
"."
] | [
"alpha",
"1",
"6",
"0",
"6",
"1",
"7",
"6",
"6",
"6",
"3",
"3",
"1",
"6",
"1",
"16",
"2",
"1",
"16",
"32",
"12"
] | alpha3 | alpha_setup_incoming_varargs | alpha | MPU | GCC | 33,774 | 303 | 1 | [] |
[
"<s>",
"const",
"char",
"*",
"AArch64Relocator",
"::",
"getName",
"(",
"Relocator",
"::",
"Type",
"pType",
")",
"const",
"{",
"assert",
"(",
"ApplyFunctions",
".",
"find",
"(",
"pType",
")",
"!=",
"ApplyFunctions",
".",
"end",
"(",
")",
")",
";",
"return... | [
"Return",
"a",
"string",
"with",
"the",
"name",
"of",
"the",
"plan",
"and",
"the",
"applicable",
"VFs",
"and",
"UFs",
"."
] | [
"AArch64",
"AArch64"
] | AArch64Relocator | getName | AArch64 | CPU | LLVM | 33,775 | 39 | 1 | [] |
[
"<s>",
"gimple",
"*",
"fold",
"(",
"gimple_folder",
"&",
"f",
")",
"const",
"OVERRIDE",
"{",
"if",
"(",
"tree",
"amount",
"=",
"uniform_integer_cst_p",
"(",
"gimple_call_arg",
"(",
"f",
".",
"call",
",",
"2",
")",
")",
")",
"{",
"if",
"(",
"wi",
"::"... | [
"Try",
"to",
"fold",
"the",
"call",
".",
"Return",
"the",
"new",
"statement",
"on",
"success",
"and",
"null",
"on",
"failure",
"."
] | [
"aarch64",
"2",
"0",
"\"svlsl\"",
"2",
"0",
"\"svrshr\"",
"2"
] | aarch64-sve-builtins-sve2 | fold | aarch64 | CPU | GCC | 33,776 | 199 | 1 | [] |
[
"<s>",
"void",
"TPCIndexMap",
"::",
"sort",
"(",
")",
"{",
"LoopData",
"loopTemp",
"[",
"5",
"]",
";",
"int",
"size",
"=",
"0",
";",
"for",
"(",
"unsigned",
"long",
"i",
"=",
"0",
";",
"i",
"<",
"m_loopInfoVec",
".",
"size",
"(",
")",
";",
"i",
... | [
"Sort",
"the",
"list",
"."
] | [
"TPC",
"TPC",
"5",
"0",
"0",
"0"
] | TPCIndexSpace | sort | TPC | Virtual ISA | LLVM | 33,777 | 97 | 1 | [] |
[
"<s>",
"BitVector",
"ARMBaseRegisterInfo",
"::",
"getReservedRegs",
"(",
"const",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"const",
"TargetFrameLowering",
"*",
"TFI",
"=",
"MF",
".",
"getTarget",
"(",
")",
".",
"getFrameLowering",
"(",
")",
";",
"BitVe... | [
"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",
"... | [
"ARM",
"ARM",
"ARM::SP",
"ARM::PC",
"ARM::FPSCR",
"ARM::APSR_NZCV",
"ARM::R9",
"ARM::D31",
"ARM::D16",
"15",
"0",
"16",
"ARM::D16",
"ARM::GPRPairRegClass"
] | ARMBaseRegisterInfo15 | getReservedRegs | ARM | CPU | LLVM | 33,778 | 253 | 1 | [] |
[
"<s>",
"static",
"bool",
"isReverseMask",
"(",
"ArrayRef",
"<",
"int",
">",
"M",
",",
"EVT",
"VT",
")",
"{",
"unsigned",
"NumElts",
"=",
"VT",
".",
"getVectorNumElements",
"(",
")",
";",
"if",
"(",
"NumElts",
"!=",
"M",
".",
"size",
"(",
")",
")",
... | [
"Return",
"true",
"if",
"this",
"shuffle",
"mask",
"swaps",
"the",
"order",
"of",
"elements",
"from",
"exactly",
"one",
"source",
"vector",
"."
] | [
"ARM",
"0",
"0",
"1"
] | ARMISelLowering (2) | isReverseMask | ARM | CPU | LLVM | 33,779 | 82 | 1 | [] |
[
"<s>",
"TargetIRAnalysis",
"AMDGPUTargetMachine",
"::",
"getTargetIRAnalysis",
"(",
")",
"{",
"return",
"TargetIRAnalysis",
"(",
"[",
"this",
"]",
"(",
"const",
"Function",
"&",
"F",
")",
"{",
"return",
"TargetTransformInfo",
"(",
"AMDGPUTTIImpl",
"(",
"this",
"... | [
"Get",
"a",
"TargetIRAnalysis",
"appropriate",
"for",
"the",
"target",
"."
] | [
"AMDGPU",
"AMDGPU",
"AMDGPU"
] | AMDGPUTargetMachine (2) | getTargetIRAnalysis | AMDGPU | GPU | LLVM | 33,780 | 43 | 1 | [] |
[
"<s>",
"void",
"Thumb1RegisterInfo",
"::",
"emitEpilogue",
"(",
"MachineFunction",
"&",
"MF",
",",
"MachineBasicBlock",
"&",
"MBB",
")",
"const",
"{",
"MachineBasicBlock",
"::",
"iterator",
"MBBI",
"=",
"prior",
"(",
"MBB",
".",
"end",
"(",
")",
")",
";",
... | [
"Insert",
"epilog",
"code",
"into",
"the",
"function",
"."
] | [
"ARM",
"ARM::tBX_RET",
"ARM::tPOP_RET",
"\"Can only insert epilog into returning blocks\"",
"ARM",
"ARM",
"0",
"ARM::SP",
"ARM::tMOVtgpr2gpr",
"ARM::SP",
"ARM::tBX_RET",
"ARM::tPOP",
"ARM::tPOP",
"ARM::R3",
"ARM::tBX_RET_vararg",
"ARM::R3"
] | Thumb1RegisterInfo24 | emitEpilogue | ARM | CPU | LLVM | 33,781 | 490 | 1 | [] |
[
"<s>",
"static",
"char",
"*",
"nvptx_replace_dot",
"(",
"const",
"char",
"*",
"name",
")",
"{",
"if",
"(",
"strchr",
"(",
"name",
",",
"'.'",
")",
"==",
"NULL",
")",
"return",
"NULL",
";",
"char",
"*",
"p",
"=",
"xstrdup",
"(",
"name",
")",
";",
... | [
"Return",
"NULL",
"if",
"NAME",
"contains",
"no",
"dot",
".",
"Otherwise",
"return",
"a",
"copy",
"of",
"NAME",
"with",
"the",
"dots",
"replaced",
"with",
"dollar",
"signs",
"."
] | [
"nvptx",
"0"
] | nvptx | nvptx_replace_dot | nvptx | GPU | GCC | 33,782 | 71 | 1 | [] |
[
"<s>",
"EVT",
"MipsTargetLowering",
"::",
"getOptimalMemOpType",
"(",
"uint64_t",
"Size",
",",
"unsigned",
"DstAlign",
",",
"unsigned",
"SrcAlign",
",",
"bool",
"IsZeroVal",
",",
"bool",
"MemcpyStrSrc",
",",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"if",... | [
"It",
"returns",
"EVT",
":",
":Other",
"if",
"the",
"type",
"should",
"be",
"determined",
"using",
"generic",
"target-independent",
"logic",
"."
] | [
"Mips",
"Mips",
"Mips",
"MVT::i64",
"MVT::i32"
] | MipsISelLowering101 | getOptimalMemOpType | Mips | CPU | LLVM | 33,783 | 45 | 1 | [] |
[
"<s>",
"static",
"rtx_insn",
"*",
"loongarch_call_tls_get_addr",
"(",
"rtx",
"sym",
",",
"enum",
"loongarch_symbol_type",
"type",
",",
"rtx",
"v0",
")",
"{",
"rtx",
"loc",
",",
"a0",
";",
"rtx_insn",
"*",
"insn",
";",
"a0",
"=",
"gen_rtx_REG",
"(",
"Pmode"... | [
"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",
... | [
"loongarch",
"\"__tls_get_addr\"",
"1"
] | loongarch | loongarch_call_tls_get_addr | loongarch | CPU | GCC | 33,784 | 143 | 1 | [] |
[
"<s>",
"static",
"bool",
"avr_allocate_stack_slots_for_args",
"(",
"void",
")",
"{",
"return",
"!",
"cfun",
"->",
"machine",
"->",
"is_naked",
";",
"}",
"</s>"
] | [
"Implement",
"`",
"TARGET_ALLOCATE_STACK_SLOTS_FOR_ARGS",
"'"
] | [
"avr"
] | avr | avr_allocate_stack_slots_for_args | avr | MPU | GCC | 33,785 | 16 | 1 | [] |
[
"<s>",
"static",
"int",
"mingw32_gt_pch_use_address",
"(",
"void",
"*",
"&",
"addr",
",",
"size_t",
"size",
",",
"int",
"fd",
",",
"size_t",
"offset",
")",
"{",
"void",
"*",
"mmap_addr",
";",
"HANDLE",
"mmap_handle",
";",
"char",
"*",
"object_name",
"=",
... | [
"ADDR",
"is",
"an",
"address",
"returned",
"by",
"gt_pch_get_address",
".",
"Attempt",
"to",
"allocate",
"SIZE",
"bytes",
"at",
"the",
"same",
"address",
"and",
"load",
"it",
"with",
"the",
"data",
"from",
"FD",
"at",
"OFFSET",
".",
"Return",
"-1",
"if",
... | [
"i386",
"0",
"0",
"1",
"0",
"1",
"2",
"4",
"\"%lx\"",
"0",
"0",
"\"CreateFileMapping\"",
"1",
"0",
"5",
"0",
"4",
"500",
"\"MapViewOfFileEx\"",
"1",
"1"
] | host-mingw321 | mingw32_gt_pch_use_address | i386 | CPU | GCC | 33,786 | 258 | 1 | [] |
[
"<s>",
"bool",
"RISCVTargetLowering",
"::",
"getTgtMemIntrinsic",
"(",
"IntrinsicInfo",
"&",
"Info",
",",
"const",
"CallInst",
"&",
"I",
",",
"MachineFunction",
"&",
"MF",
",",
"unsigned",
"Intrinsic",
")",
"const",
"{",
"switch",
"(",
"Intrinsic",
")",
"{",
... | [
"Given",
"an",
"intrinsic",
",",
"checks",
"if",
"on",
"the",
"target",
"the",
"intrinsic",
"will",
"need",
"to",
"map",
"to",
"a",
"MemIntrinsicNode",
"(",
"touches",
"memory",
")",
"."
] | [
"RISCV",
"RISCV",
"Intrinsic::riscv_masked_atomicrmw_xchg_i32",
"Intrinsic::riscv_masked_atomicrmw_add_i32",
"Intrinsic::riscv_masked_atomicrmw_sub_i32",
"Intrinsic::riscv_masked_atomicrmw_nand_i32",
"Intrinsic::riscv_masked_atomicrmw_max_i32",
"Intrinsic::riscv_masked_atomicrmw_min_i32",
"Intrinsic... | RISCVISelLowering | getTgtMemIntrinsic | RISCV | CPU | LLVM | 33,787 | 166 | 1 | [] |
[
"<s>",
"void",
"Initialize",
"(",
"const",
"MachineFunction",
"&",
"MF",
",",
"bool",
"isPIC",
")",
"{",
"IsPIC",
"=",
"isPIC",
";",
"}",
"</s>"
] | [
"This",
"method",
"must",
"be",
"called",
"before",
"any",
"actual",
"lowering",
"is",
"done",
"."
] | [
"Mips"
] | MipsJITInfo2 | Initialize | Mips | CPU | LLVM | 33,788 | 17 | 1 | [] |
[
"<s>",
"static",
"bool",
"rs6000_save_toc_in_prologue_p",
"(",
"void",
")",
"{",
"return",
"(",
"cfun",
"&&",
"cfun",
"->",
"machine",
"&&",
"cfun",
"->",
"machine",
"->",
"save_toc_in_prologue",
")",
";",
"}",
"</s>"
] | [
"Return",
"whether",
"we",
"need",
"to",
"always",
"update",
"the",
"saved",
"TOC",
"pointer",
"when",
"we",
"update",
"the",
"stack",
"pointer",
"."
] | [
"powerpcspe"
] | powerpcspe | rs6000_save_toc_in_prologue_p | powerpcspe | CPU | GCC | 33,789 | 23 | 1 | [] |
[
"<s>",
"static",
"void",
"rs6000_emit_allocate_stack",
"(",
"HOST_WIDE_INT",
"size",
",",
"rtx",
"copy_reg",
",",
"int",
"copy_off",
")",
"{",
"rtx_insn",
"*",
"insn",
";",
"rtx",
"stack_reg",
"=",
"gen_rtx_REG",
"(",
"Pmode",
",",
"STACK_POINTER_REGNUM",
")",
... | [
"Emit",
"the",
"correct",
"code",
"for",
"allocating",
"stack",
"space",
",",
"as",
"insns",
".",
"If",
"COPY_R12",
",",
"make",
"sure",
"a",
"copy",
"of",
"the",
"old",
"frame",
"is",
"left",
"in",
"r12",
".",
"The",
"generated",
"code",
"may",
"use",... | [
"rs6000",
"0",
"0",
"\"stack frame too large\"",
"1",
"31",
"0",
"\"stack limit expression is not supported\"",
"0",
"32767",
"0",
"0",
"0",
"1",
"1"
] | rs60004 | rs6000_emit_allocate_stack | rs6000 | CPU | GCC | 33,790 | 440 | 1 | [] |
[
"<s>",
"SDValue",
"KudeyarTargetLowering",
"::",
"LowerCall",
"(",
"TargetLowering",
"::",
"CallLoweringInfo",
"&",
"CLI",
",",
"SmallVectorImpl",
"<",
"SDValue",
">",
"&",
"InVals",
")",
"const",
"{",
"SelectionDAG",
"&",
"DAG",
"=",
"CLI",
".",
"DAG",
";",
... | [
"This",
"hook",
"must",
"be",
"implemented",
"to",
"lower",
"calls",
"into",
"the",
"specified",
"DAG",
"."
] | [
"Kudeyar",
"Kudeyar",
"ISD::OutputArg",
"32",
"32",
"ISD::InputArg",
"32",
"\"Unsupported calling convention\"",
"Kudeyar",
"\"ISRs cannot be called directly\""
] | KudeyarISelLowering | LowerCall | Kudeyar | CPU | LLVM | 33,791 | 181 | 1 | [] |
[
"<s>",
"bool",
"XCoreTargetLowering",
"::",
"CanLowerReturn",
"(",
"CallingConv",
"::",
"ID",
"CallConv",
",",
"bool",
"isVarArg",
",",
"const",
"SmallVectorImpl",
"<",
"ISD",
"::",
"OutputArg",
">",
"&",
"Outs",
",",
"LLVMContext",
"&",
"Context",
")",
"const... | [
"This",
"hook",
"should",
"be",
"implemented",
"to",
"check",
"whether",
"the",
"return",
"values",
"described",
"by",
"the",
"Outs",
"array",
"can",
"fit",
"into",
"the",
"return",
"registers",
"."
] | [
"XCore",
"XCore",
"ISD::OutputArg",
"16",
"XCore"
] | XCoreISelLowering15 | CanLowerReturn | XCore | MPU | LLVM | 33,792 | 64 | 1 | [] |
[
"<s>",
"StringRef",
"getPassName",
"(",
")",
"const",
"override",
"{",
"return",
"\"CJG DAG->DAG Pattern Instruction Selection\"",
";",
"}",
"</s>"
] | [
"getPassName",
"-",
"Return",
"a",
"nice",
"clean",
"name",
"for",
"a",
"pass",
"."
] | [
"CJG",
"\"CJG DAG->DAG Pattern Instruction Selection\""
] | CJGISelDAGToDAG | getPassName | CJG | CPU | LLVM | 33,793 | 11 | 1 | [] |
[
"<s>",
"void",
"LC2200AsmPrinter",
"::",
"EmitInstruction",
"(",
"const",
"MachineInstr",
"*",
"MI",
")",
"{",
"if",
"(",
"emitPseudoExpansionLowering",
"(",
"*",
"OutStreamer",
",",
"MI",
")",
")",
"return",
";",
"MCInst",
"TmpInst",
";",
"TmpInst",
".",
"s... | [
"EmitInstruction",
"-",
"This",
"callback",
"is",
"invoked",
"when",
"an",
"instruction",
"is",
"emitted",
",",
"to",
"advance",
"the",
"hazard",
"state",
"."
] | [
"LC2200",
"LC2200",
"LC2200"
] | LC2200AsmPrinter | EmitInstruction | LC2200 | CPU | LLVM | 33,794 | 83 | 1 | [] |
[
"<s>",
"const",
"TargetRegisterClass",
"*",
"X86RegisterInfo",
"::",
"getPointerRegClass",
"(",
"const",
"MachineFunction",
"&",
"MF",
",",
"unsigned",
"Kind",
")",
"const",
"{",
"switch",
"(",
"Kind",
")",
"{",
"default",
":",
"llvm_unreachable",
"(",
"\"Unexpe... | [
"getPointerRegClass",
"-",
"Returns",
"a",
"TargetRegisterClass",
"used",
"for",
"pointer",
"values",
"."
] | [
"X86",
"X86",
"\"Unexpected Kind in getPointerRegClass!\"",
"0",
"X86",
"X86::GR64RegClass",
"X86::GR32RegClass",
"1",
"X86",
"X86::GR64_NOSPRegClass",
"X86::GR32_NOSPRegClass",
"2",
"X86",
"X86::GR64_TCW64RegClass",
"X86",
"X86::GR64_TCRegClass",
"X86::GR32RegClass",
"X86::GR32_TC... | X86RegisterInfo43 | getPointerRegClass | X86 | CPU | LLVM | 33,795 | 182 | 1 | [] |
[
"<s>",
"const",
"MCExpr",
"*",
"X86_64MachoTargetObjectFile",
"::",
"getTTypeGlobalReference",
"(",
"const",
"GlobalValue",
"*",
"GV",
",",
"unsigned",
"Encoding",
",",
"Mangler",
"&",
"Mang",
",",
"const",
"TargetMachine",
"&",
"TM",
",",
"MachineModuleInfo",
"*"... | [
"The",
"mach-o",
"version",
"of",
"this",
"method",
"defaults",
"to",
"returning",
"a",
"stub",
"reference",
"."
] | [
"X86",
"X86",
"4"
] | X86TargetObjectFile | getTTypeGlobalReference | X86 | CPU | LLVM | 33,796 | 133 | 1 | [] |
[
"<s>",
"bool",
"HexagonInstrInfo",
"::",
"analyzeLoop",
"(",
"MachineLoop",
"&",
"L",
",",
"MachineInstr",
"*",
"&",
"IndVarInst",
",",
"MachineInstr",
"*",
"&",
"CmpInst",
")",
"const",
"{",
"MachineBasicBlock",
"*",
"LoopEnd",
"=",
"L",
".",
"getBottomBlock"... | [
"Analyze",
"the",
"loop",
"code",
",",
"return",
"true",
"if",
"it",
"can",
"not",
"be",
"understood",
"."
] | [
"Hexagon",
"Hexagon"
] | HexagonInstrInfo (2) | analyzeLoop | Hexagon | DSP | LLVM | 33,797 | 80 | 1 | [] |
[
"<s>",
"void",
"SPUInstrInfo",
"::",
"storeRegToStackSlot",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"MI",
",",
"unsigned",
"SrcReg",
",",
"bool",
"isKill",
",",
"int",
"FrameIdx",
",",
"const",
"TargetRegisterClass",
"*",
... | [
"Store",
"the",
"specified",
"register",
"of",
"the",
"given",
"register",
"class",
"to",
"the",
"specified",
"stack",
"frame",
"index",
"."
] | [
"CellSPU",
"SPU",
"SPU",
"SPU::GPRCRegisterClass",
"SPU::STQDr128",
"SPU::STQXr128",
"SPU::R64CRegisterClass",
"SPU::STQDr64",
"SPU::STQXr64",
"SPU::R64FPRegisterClass",
"SPU::STQDr64",
"SPU::STQXr64",
"SPU::R32CRegisterClass",
"SPU::STQDr32",
"SPU::STQXr32",
"SPU::R32FPRegisterClass",... | SPUInstrInfo5 | storeRegToStackSlot | CellSPU | MPU | LLVM | 33,798 | 310 | 1 | [] |
[
"<s>",
"const",
"char",
"*",
"HexagonTargetLowering",
"::",
"getTargetNodeName",
"(",
"unsigned",
"Opcode",
")",
"const",
"{",
"switch",
"(",
"Opcode",
")",
"{",
"default",
":",
"return",
"0",
";",
"case",
"HexagonISD",
"::",
"CONST32",
":",
"return",
"\"Hex... | [
"getTargetNodeName",
"-",
"This",
"method",
"returns",
"the",
"name",
"of",
"a",
"target",
"specific"
] | [
"Hexagon",
"Hexagon",
"0",
"HexagonISD::CONST32",
"\"HexagonISD::CONST32\"",
"HexagonISD::ADJDYNALLOC",
"\"HexagonISD::ADJDYNALLOC\"",
"HexagonISD::CMPICC",
"\"HexagonISD::CMPICC\"",
"HexagonISD::CMPFCC",
"\"HexagonISD::CMPFCC\"",
"HexagonISD::BRICC",
"\"HexagonISD::BRICC\"",
"HexagonISD::... | HexagonISelLowering15 | getTargetNodeName | Hexagon | DSP | LLVM | 33,799 | 152 | 1 | [] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.