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>",
"CCAssignFn",
"*",
"X86FastISel",
"::",
"CCAssignFnForCall",
"(",
"unsigned",
"CC",
",",
"bool",
"isTaillCall",
")",
"{",
"if",
"(",
"Subtarget",
"->",
"is64Bit",
"(",
")",
")",
"{",
"if",
"(",
"Subtarget",
"->",
"isTargetWin64",
"(",
")",
")",
"r... | [
"Selects",
"the",
"correct",
"CCAssignFn",
"for",
"a",
"given",
"CallingConvention",
"value",
"."
] | [
"X86",
"X86",
"X86",
"X86",
"X86",
"X86",
"X86",
"X86"
] | X86FastISel52 | CCAssignFnForCall | X86 | CPU | LLVM | 2,600 | 66 | 1 | [] |
[
"<s>",
"bool",
"ix86_operands_ok_for_move_multiple",
"(",
"rtx",
"*",
"operands",
",",
"bool",
"load",
",",
"machine_mode",
"mode",
")",
"{",
"HOST_WIDE_INT",
"offval_1",
",",
"offval_2",
",",
"msize",
";",
"rtx",
"mem_1",
",",
"mem_2",
",",
"reg_1",
",",
"r... | [
"Given",
"OPERANDS",
"of",
"consecutive",
"load/store",
",",
"check",
"if",
"we",
"can",
"merge",
"them",
"into",
"move",
"multiple",
".",
"LOAD",
"is",
"true",
"if",
"they",
"are",
"load",
"instructions",
".",
"MODE",
"is",
"the",
"mode",
"of",
"memory",
... | [
"i386",
"1",
"3",
"0",
"2",
"0",
"2",
"1",
"3"
] | i386 | ix86_operands_ok_for_move_multiple | i386 | CPU | GCC | 2,601 | 214 | 1 | [] |
[
"<s>",
"static",
"bool",
"riscv_can_eliminate",
"(",
"const",
"int",
"from",
"ATTRIBUTE_UNUSED",
",",
"const",
"int",
"to",
")",
"{",
"return",
"(",
"to",
"==",
"HARD_FRAME_POINTER_REGNUM",
"||",
"to",
"==",
"STACK_POINTER_REGNUM",
")",
";",
"}",
"</s>"
] | [
"Make",
"sure",
"that",
"we",
"'re",
"not",
"trying",
"to",
"eliminate",
"to",
"the",
"wrong",
"hard",
"frame",
"pointer",
"."
] | [
"riscv"
] | riscv | riscv_can_eliminate | riscv | CPU | GCC | 2,602 | 26 | 1 | [] |
[
"<s>",
"LLT",
"SITargetLowering",
"::",
"getPreferredShiftAmountTy",
"(",
"LLT",
"Ty",
")",
"const",
"{",
"return",
"(",
"Ty",
".",
"getScalarSizeInBits",
"(",
")",
"<=",
"16",
"&&",
"Subtarget",
"->",
"has16BitInsts",
"(",
")",
")",
"?",
"Ty",
".",
"chang... | [
"Return",
"the",
"preferred",
"type",
"to",
"use",
"for",
"a",
"shift",
"opcode",
",",
"given",
"the",
"shifted",
"amount",
"type",
"is",
"ShiftValueTy",
"."
] | [
"AMDGPU",
"SI",
"16",
"16",
"32"
] | SIISelLowering10 | getPreferredShiftAmountTy | AMDGPU | GPU | LLVM | 2,603 | 42 | 1 | [] |
[
"<s>",
"const",
"MCS51Subtarget",
"*",
"MCS51TargetMachine",
"::",
"getSubtargetImpl",
"(",
"const",
"Function",
"&",
")",
"const",
"{",
"return",
"&",
"SubTarget",
";",
"}",
"</s>"
] | [
"Virtual",
"method",
"implemented",
"by",
"subclasses",
"that",
"returns",
"a",
"reference",
"to",
"that",
"target",
"'s",
"TargetSubtargetInfo-derived",
"member",
"variable",
"."
] | [
"MCS51",
"MCS51",
"MCS51"
] | MCS51TargetMachine | getSubtargetImpl | MCS51 | MPU | LLVM | 2,604 | 18 | 1 | [] |
[
"<s>",
"static",
"rtx",
"gen_load_const_gp",
"(",
"rtx",
"reg",
")",
"{",
"return",
"PMODE_INSN",
"(",
"gen_load_const_gp",
",",
"(",
"reg",
")",
")",
";",
"}",
"</s>"
] | [
"Return",
"an",
"instruction",
"that",
"copies",
"$",
"gp",
"into",
"register",
"REG",
".",
"We",
"want",
"GCC",
"to",
"treat",
"the",
"register",
"'s",
"value",
"as",
"constant",
",",
"so",
"that",
"its",
"value",
"can",
"be",
"rematerialized",
"on",
"d... | [
"mips"
] | mips | gen_load_const_gp | mips | CPU | GCC | 2,605 | 19 | 1 | [] |
[
"<s>",
"TargetLoweringBase",
"::",
"LegalizeTypeAction",
"getPreferredVectorAction",
"(",
"MVT",
"VT",
")",
"const",
"override",
"{",
"if",
"(",
"VT",
".",
"getScalarSizeInBits",
"(",
")",
"%",
"8",
"==",
"0",
")",
"return",
"TypeWidenVector",
";",
"return",
"... | [
"Customize",
"the",
"preferred",
"legalization",
"strategy",
"for",
"certain",
"types",
"."
] | [
"SystemZ",
"8",
"0"
] | SystemZISelLowering | getPreferredVectorAction | SystemZ | CPU | LLVM | 2,606 | 35 | 1 | [] |
[
"<s>",
"StringRef",
"getPassName",
"(",
")",
"const",
"override",
"{",
"return",
"\"SI Fix WWM Liveness\"",
";",
"}",
"</s>"
] | [
"getPassName",
"-",
"Return",
"a",
"nice",
"clean",
"name",
"for",
"a",
"pass",
"."
] | [
"AMDGPU",
"\"SI Fix WWM Liveness\""
] | SIFixWWMLiveness | getPassName | AMDGPU | GPU | LLVM | 2,607 | 11 | 1 | [] |
[
"<s>",
"static",
"bool",
"or1k_return_in_memory",
"(",
"const_tree",
"type",
",",
"const_tree",
")",
"{",
"const",
"HOST_WIDE_INT",
"size",
"=",
"int_size_in_bytes",
"(",
"type",
")",
";",
"return",
"(",
"size",
"==",
"-",
"1",
"||",
"size",
">",
"(",
"2",... | [
"worker",
"function",
"for",
"TARGET_RETURN_IN_MEMORY",
".",
"Returns",
"true",
"if",
"the",
"argument",
"of",
"TYPE",
"should",
"be",
"returned",
"in",
"memory",
".",
"On",
"OpenRISC",
"this",
"is",
"any",
"value",
"larger",
"than",
"64-bits",
"."
] | [
"or1k",
"1",
"2"
] | or1k | or1k_return_in_memory | or1k | CPU | GCC | 2,608 | 36 | 1 | [] |
[
"<s>",
"Liveness",
"(",
"MachineRegisterInfo",
"&",
"mri",
",",
"const",
"DataFlowGraph",
"&",
"g",
")",
":",
"DFG",
"(",
"g",
")",
",",
"TRI",
"(",
"g",
".",
"getTRI",
"(",
")",
")",
",",
"PRI",
"(",
"g",
".",
"getPRI",
"(",
")",
")",
",",
"MD... | [
"During",
"our",
"initial",
"pass",
"over",
"the",
"program",
",",
"we",
"determine",
"that",
"things",
"are",
"either",
"alive",
"or",
"maybe",
"alive",
".",
"More",
"..."
] | [
"Hexagon"
] | RDFLiveness | Liveness | Hexagon | DSP | LLVM | 2,609 | 72 | 1 | [] |
[
"<s>",
"static",
"bool",
"classof",
"(",
"const",
"ARMConstantPoolValue",
"*",
"APV",
")",
"{",
"return",
"APV",
"->",
"isGlobalValue",
"(",
")",
"||",
"APV",
"->",
"isBlockAddress",
"(",
")",
"||",
"APV",
"->",
"isLSDA",
"(",
")",
"||",
"APV",
"->",
"... | [
"Methods",
"for",
"support",
"type",
"inquiry",
"through",
"isa",
",",
"cast",
",",
"and",
"dyn_cast",
":"
] | [
"ARM",
"ARM"
] | ARMConstantPoolValue1 | classof | ARM | CPU | LLVM | 2,610 | 36 | 1 | [] |
[
"<s>",
"void",
"EmitInstruction",
"(",
"const",
"MCInst",
"&",
"Inst",
",",
"const",
"MCSubtargetInfo",
"&",
"STI",
")",
"override",
"{",
"if",
"(",
"IsThumb",
")",
"EmitThumbMappingSymbol",
"(",
")",
";",
"else",
"EmitARMMappingSymbol",
"(",
")",
";",
"MCEL... | [
"EmitInstruction",
"-",
"This",
"callback",
"is",
"invoked",
"when",
"an",
"instruction",
"is",
"emitted",
",",
"to",
"advance",
"the",
"hazard",
"state",
"."
] | [
"ARM",
"ARM"
] | ARMELFStreamer (2) | EmitInstruction | ARM | CPU | LLVM | 2,611 | 38 | 1 | [] |
[
"<s>",
"void",
"X86FrameLowering",
"::",
"BuildCFI",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"MBBI",
",",
"const",
"DebugLoc",
"&",
"DL",
",",
"const",
"MCCFIInstruction",
"&",
"CFIInst",
")",
"const",
"{",
"MachineFunct... | [
"Wraps",
"up",
"getting",
"a",
"CFI",
"index",
"and",
"building",
"a",
"MachineInstr",
"for",
"it",
"."
] | [
"X86",
"X86"
] | X86FrameLowering (2)2 | BuildCFI | X86 | CPU | LLVM | 2,612 | 71 | 1 | [] |
[
"<s>",
"virtual",
"bool",
"runOnFunction",
"(",
"Function",
"&",
"F",
")",
"{",
"visit",
"(",
"F",
")",
";",
"return",
"false",
";",
"}",
"</s>"
] | [
"runOnFunction",
"-",
"Virtual",
"method",
"overriden",
"by",
"subclasses",
"to",
"do",
"the",
"per-function",
"processing",
"of",
"the",
"pass",
"."
] | [
"R600"
] | R600TextureIntrinsicsReplacer2 | runOnFunction | R600 | GPU | LLVM | 2,613 | 18 | 1 | [] |
[
"<s>",
"rtx",
"ix86_build_signbit_mask",
"(",
"machine_mode",
"mode",
",",
"bool",
"vect",
",",
"bool",
"invert",
")",
"{",
"machine_mode",
"vec_mode",
",",
"imode",
";",
"wide_int",
"w",
";",
"rtx",
"mask",
",",
"v",
";",
"switch",
"(",
"mode",
")",
"{"... | [
"A",
"subroutine",
"of",
"ix86_expand_fp_absneg_operator",
"and",
"copysign",
"expanders",
".",
"Create",
"a",
"mask",
"for",
"the",
"sign",
"bit",
"in",
"MODE",
"for",
"an",
"SSE",
"register",
".",
"If",
"VECT",
"is",
"true",
",",
"then",
"replicate",
"the"... | [
"i386",
"1"
] | i386 | ix86_build_signbit_mask | i386 | CPU | GCC | 2,614 | 227 | 1 | [] |
[
"<s>",
"bool",
"HexagonSplitConst32AndConst64",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"Fn",
")",
"{",
"auto",
"&",
"HST",
"=",
"Fn",
".",
"getSubtarget",
"<",
"HexagonSubtarget",
">",
"(",
")",
";",
"auto",
"&",
"HTM",
"=",
"static_cast",
... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"Hexagon",
"Hexagon",
"Hexagon",
"Hexagon",
"Hexagon::CONST32",
"0",
"1",
"Hexagon::A2_tfrsi",
"Hexagon::CONST64",
"0",
"1",
"Hexagon::isub_lo",
"Hexagon::isub_hi",
"0xFFFFFFFF",
"32",
"0xFFFFFFFF",
"Hexagon::A2_tfrsi",
"Hexagon::A2_tfrsi"
] | HexagonSplitConst32AndConst6425 | runOnMachineFunction | Hexagon | DSP | LLVM | 2,615 | 389 | 1 | [] |
[
"<s>",
"static",
"void",
"loongarch_print_operand_punctuation",
"(",
"FILE",
"*",
"file",
",",
"int",
"ch",
")",
"{",
"switch",
"(",
"ch",
")",
"{",
"case",
"'.'",
":",
"fputs",
"(",
"reg_names",
"[",
"GP_REG_FIRST",
"+",
"0",
"]",
",",
"file",
")",
";... | [
"Print",
"the",
"text",
"for",
"PRINT_OPERAND",
"punctation",
"character",
"CH",
"to",
"FILE",
".",
"The",
"punctuation",
"characters",
"are",
":",
"'",
".",
"'",
"Print",
"the",
"name",
"of",
"the",
"register",
"with",
"a",
"hard-wired",
"zero",
"(",
"zer... | [
"loongarch",
"0"
] | loongarch | loongarch_print_operand_punctuation | loongarch | CPU | GCC | 2,616 | 59 | 1 | [] |
[
"<s>",
"unsigned",
"PPCTTI",
"::",
"getIntImmCost",
"(",
"Intrinsic",
"::",
"ID",
"IID",
",",
"unsigned",
"Idx",
",",
"const",
"APInt",
"&",
"Imm",
",",
"Type",
"*",
"Ty",
")",
"const",
"{",
"if",
"(",
"DisablePPCConstHoist",
")",
"return",
"TargetTransfor... | [
"Calculate",
"the",
"cost",
"of",
"materializing",
"a",
"64-bit",
"value",
"."
] | [
"PowerPC",
"PPC",
"Intrinsic::ID",
"PPC",
"0",
"0U",
"Intrinsic::sadd_with_overflow",
"Intrinsic::uadd_with_overflow",
"Intrinsic::ssub_with_overflow",
"Intrinsic::usub_with_overflow",
"1",
"64",
"16",
"PPC"
] | PPCTargetTransformInfo27 | getIntImmCost | PowerPC | CPU | LLVM | 2,617 | 145 | 1 | [] |
[
"<s>",
"std",
"::",
"vector",
"<",
"const",
"SUnit",
"*",
">",
"GCNMinRegScheduler",
"::",
"schedule",
"(",
"ArrayRef",
"<",
"const",
"SUnit",
"*",
">",
"TopRoots",
",",
"const",
"ScheduleDAG",
"&",
"DAG",
")",
"{",
"const",
"auto",
"&",
"SUnits",
"=",
... | [
"Schedule",
"-",
"This",
"is",
"called",
"back",
"from",
"ScheduleDAGInstrs",
":",
":Run",
"(",
")",
"when",
"it",
"'s",
"time",
"to",
"do",
"some",
"work",
"."
] | [
"AMDGPU",
"0",
"\"\\n=== Picking candidate, Step = \"",
"\"\\n\"",
"\"Ready queue:\"",
"\"(P\"",
"\"Selected \"",
"0"
] | GCNMinRegStrategy13 | schedule | AMDGPU | GPU | LLVM | 2,618 | 267 | 1 | [] |
[
"<s>",
"static",
"rtx",
"function_arg_record_value",
"(",
"tree",
"type",
",",
"enum",
"machine_mode",
"mode",
",",
"int",
"slotno",
",",
"int",
"named",
",",
"int",
"regbase",
")",
"{",
"HOST_WIDE_INT",
"typesize",
"=",
"int_size_in_bytes",
"(",
"type",
")",
... | [
"Used",
"by",
"function_arg",
"and",
"sparc_function_value_1",
"to",
"implement",
"the",
"complex",
"conventions",
"of",
"the",
"64-bit",
"ABI",
"for",
"passing",
"and",
"returning",
"structures",
".",
"Return",
"an",
"expression",
"valid",
"as",
"a",
"return",
... | [
"sparc",
"0",
"0",
"0",
"0",
"1",
"1",
"0",
"0",
"1",
"0",
"0",
"1",
"0",
"0",
"0",
"0",
"0",
"0"
] | sparc3 | function_arg_record_value | sparc | CPU | GCC | 2,619 | 353 | 1 | [] |
[
"<s>",
"bool",
"MipsFastISel",
"::",
"fastSelectInstruction",
"(",
"const",
"Instruction",
"*",
"I",
")",
"{",
"if",
"(",
"!",
"TargetSupported",
")",
"return",
"false",
";",
"switch",
"(",
"I",
"->",
"getOpcode",
"(",
")",
")",
"{",
"default",
":",
"bre... | [
"This",
"method",
"is",
"called",
"by",
"target-independent",
"code",
"when",
"the",
"normal",
"FastISel",
"process",
"fails",
"to",
"select",
"an",
"instruction",
"."
] | [
"Mips",
"Mips"
] | MipsFastISel45 | fastSelectInstruction | Mips | CPU | LLVM | 2,620 | 70 | 1 | [] |
[
"<s>",
"virtual",
"const",
"AlphaSubtarget",
"*",
"getSubtargetImpl",
"(",
")",
"const",
"{",
"return",
"&",
"Subtarget",
";",
"}",
"</s>"
] | [
"Virtual",
"method",
"implemented",
"by",
"subclasses",
"that",
"returns",
"a",
"reference",
"to",
"that",
"target",
"'s",
"TargetSubtargetInfo-derived",
"member",
"variable",
"."
] | [
"Alpha",
"Alpha"
] | AlphaTargetMachine | getSubtargetImpl | Alpha | MPU | LLVM | 2,621 | 14 | 1 | [] |
[
"<s>",
"virtual",
"const",
"SPURegisterInfo",
"&",
"getRegisterInfo",
"(",
")",
"const",
"{",
"return",
"RI",
";",
"}",
"</s>"
] | [
"getRegisterInfo",
"-",
"TargetInstrInfo",
"is",
"a",
"superset",
"of",
"MRegister",
"info",
"."
] | [
"CellSPU",
"SPU"
] | SPUInstrInfo1 | getRegisterInfo | CellSPU | MPU | LLVM | 2,622 | 13 | 1 | [] |
[
"<s>",
"void",
"prepare_move_operands",
"(",
"rtx",
"*",
"operands",
",",
"enum",
"machine_mode",
"mode",
")",
"{",
"if",
"(",
"GET_CODE",
"(",
"operands",
"[",
"0",
"]",
")",
"==",
"MEM",
"&&",
"!",
"reg_or_0_operand",
"(",
"operands",
"[",
"1",
"]",
... | [
"Prepare",
"operands",
"for",
"a",
"move",
"define_expand",
"in",
"MODE",
"."
] | [
"visium",
"0",
"1",
"1",
"1"
] | visium2 | prepare_move_operands | visium | Virtual ISA | GCC | 2,623 | 51 | 1 | [] |
[
"<s>",
"static",
"bool",
"cr16_legitimate_constant_p",
"(",
"machine_mode",
"mode",
"ATTRIBUTE_UNUSED",
",",
"rtx",
"x",
"ATTRIBUTE_UNUSED",
")",
"{",
"return",
"1",
";",
"}",
"</s>"
] | [
"Implement",
"TARGET_LEGITIMATE_CONSTANT_P",
"Nonzero",
"if",
"X",
"is",
"a",
"legitimate",
"constant",
"for",
"an",
"immediate",
"operand",
"on",
"the",
"target",
"machine",
".",
"You",
"can",
"assume",
"that",
"X",
"satisfies",
"CONSTANT_P",
".",
"In",
"cr16c"... | [
"cr16",
"1"
] | cr16 | cr16_legitimate_constant_p | cr16 | MPU | GCC | 2,624 | 17 | 1 | [] |
[
"<s>",
"static",
"void",
"init_float128_ibm",
"(",
"machine_mode",
"mode",
")",
"{",
"if",
"(",
"!",
"TARGET_XL_COMPAT",
")",
"{",
"set_optab_libfunc",
"(",
"add_optab",
",",
"mode",
",",
"\"__gcc_qadd\"",
")",
";",
"set_optab_libfunc",
"(",
"sub_optab",
",",
... | [
"Set",
"up",
"AIX/Darwin/64-bit",
"Linux",
"quad",
"floating",
"point",
"routines",
"."
] | [
"rs6000",
"\"__gcc_qadd\"",
"\"__gcc_qsub\"",
"\"__gcc_qmul\"",
"\"__gcc_qdiv\"",
"\"__gcc_qneg\"",
"\"__gcc_qeq\"",
"\"__gcc_qne\"",
"\"__gcc_qgt\"",
"\"__gcc_qge\"",
"\"__gcc_qlt\"",
"\"__gcc_qle\"",
"\"__gcc_qunord\"",
"\"__gcc_stoq\"",
"\"__gcc_dtoq\"",
"\"__gcc_qtos\"",
"\"__gcc... | rs6000 | init_float128_ibm | rs6000 | CPU | GCC | 2,625 | 426 | 1 | [] |
[
"<s>",
"Value",
"*",
"PPCTargetLowering",
"::",
"emitMaskedAtomicRMWIntrinsic",
"(",
"IRBuilderBase",
"&",
"Builder",
",",
"AtomicRMWInst",
"*",
"AI",
",",
"Value",
"*",
"AlignedAddr",
",",
"Value",
"*",
"Incr",
",",
"Value",
"*",
"Mask",
",",
"Value",
"*",
... | [
"Perform",
"a",
"masked",
"atomicrmw",
"using",
"a",
"target-specific",
"intrinsic",
"."
] | [
"PowerPC",
"PPC",
"\"Only support quadword now\"",
"128",
"Intrinsic::getDeclaration",
"\"incr_lo\"",
"64",
"\"incr_hi\"",
"0",
"\"lo\"",
"1",
"\"hi\"",
"\"lo64\"",
"\"hi64\"",
"64",
"\"val64\""
] | PPCISelLowering44 | emitMaskedAtomicRMWIntrinsic | PowerPC | CPU | LLVM | 2,626 | 287 | 1 | [] |
[
"<s>",
"void",
"ARMAsmPrinter",
"::",
"emitMachineConstantPoolValue",
"(",
"MachineConstantPoolValue",
"*",
"MCPV",
")",
"{",
"const",
"DataLayout",
"&",
"DL",
"=",
"getDataLayout",
"(",
")",
";",
"int",
"Size",
"=",
"DL",
".",
"getTypeAllocSize",
"(",
"MCPV",
... | [
"EmitMachineConstantPoolValue",
"-",
"Print",
"a",
"machine",
"constantpool",
"value",
"to",
"the",
".s",
"file",
"."
] | [
"ARM",
"ARM",
"ARM",
"ARM",
"ARM",
"ARM",
"ARM",
"ARMII::MO_NONLAZY",
"0",
"ARM",
"ARM",
"\"unrecognized constant pool value\"",
"ARM"
] | ARMAsmPrinter | emitMachineConstantPoolValue | ARM | CPU | LLVM | 2,627 | 488 | 1 | [] |
[
"<s>",
"void",
"pru_register_abicheck_pass",
"(",
"void",
")",
"{",
"opt_pass",
"*",
"tiabi_check",
"=",
"make_pass_tiabi_check",
"(",
"g",
")",
";",
"struct",
"register_pass_info",
"tiabi_check_info",
"=",
"{",
"tiabi_check",
",",
"\"*warn_unused_result\"",
",",
"1... | [
"Register",
"as",
"early",
"as",
"possible",
"."
] | [
"pru",
"\"*warn_unused_result\"",
"1"
] | pru-passes | pru_register_abicheck_pass | pru | CPU | GCC | 2,628 | 36 | 1 | [] |
[
"<s>",
"bool",
"X86FastISel",
"::",
"fastSelectInstruction",
"(",
"const",
"Instruction",
"*",
"I",
")",
"{",
"switch",
"(",
"I",
"->",
"getOpcode",
"(",
")",
")",
"{",
"default",
":",
"break",
";",
"case",
"Instruction",
"::",
"Load",
":",
"return",
"X8... | [
"This",
"method",
"is",
"called",
"by",
"target-independent",
"code",
"when",
"the",
"normal",
"FastISel",
"process",
"fails",
"to",
"select",
"an",
"instruction",
"."
] | [
"X86",
"X86",
"X86",
"X86",
"X86",
"X86",
"X86",
"X86",
"X86",
"X86",
"X86",
"X86",
"X86",
"X86",
"X86",
"X86",
"X86",
"0",
"X86",
"X86",
"0",
"0",
"0",
"MVT::i1",
"MVT::i1",
"0",
"0"
] | X86FastISel121 | fastSelectInstruction | X86 | CPU | LLVM | 2,629 | 464 | 1 | [] |
[
"<s>",
"bool",
"AArch64LoadStoreOpt",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"Fn",
")",
"{",
"if",
"(",
"skipFunction",
"(",
"Fn",
".",
"getFunction",
"(",
")",
")",
")",
"return",
"false",
";",
"Subtarget",
"=",
"&",
"static_cast",
"<",
... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"AArch64",
"AArch64",
"AArch64",
"AArch64"
] | AArch64LoadStoreOptimizer11 | runOnMachineFunction | AArch64 | CPU | LLVM | 2,630 | 146 | 1 | [] |
[
"<s>",
"void",
"DLXFrameLowering",
"::",
"emitPrologue",
"(",
"MachineFunction",
"&",
"MF",
",",
"MachineBasicBlock",
"&",
"MBB",
")",
"const",
"{",
"}",
"</s>"
] | [
"emitProlog/emitEpilog",
"-",
"These",
"methods",
"insert",
"prolog",
"and",
"epilog",
"code",
"into",
"the",
"function",
"."
] | [
"DLX",
"DLX"
] | DLXFrameLowering | emitPrologue | DLX | CPU | LLVM | 2,631 | 16 | 1 | [] |
[
"<s>",
"void",
"Nios2DAGToDAGISel",
"::",
"Select",
"(",
"SDNode",
"*",
"Node",
")",
"{",
"if",
"(",
"Node",
"->",
"isMachineOpcode",
"(",
")",
")",
"{",
"DEBUG",
"(",
"errs",
"(",
")",
"<<",
"\"== \"",
";",
"Node",
"->",
"dump",
"(",
"CurDAG",
")",
... | [
"Main",
"hook",
"for",
"targets",
"to",
"transform",
"nodes",
"into",
"machine",
"nodes",
"."
] | [
"Nios2",
"Nios2",
"\"== \"",
"\"\\n\"",
"1"
] | Nios2ISelDAGToDAG2 | Select | Nios2 | MPU | LLVM | 2,632 | 58 | 1 | [] |
[
"<s>",
"bool",
"MipsAsmPrinter",
"::",
"isBlockOnlyReachableByFallthrough",
"(",
"const",
"MachineBasicBlock",
"*",
"MBB",
")",
"const",
"{",
"const",
"MachineBasicBlock",
"*",
"Pred",
"=",
"*",
"MBB",
"->",
"pred_begin",
"(",
")",
";",
"if",
"(",
"const",
"Ba... | [
"isBlockOnlyReachableByFallthough",
"-",
"Return",
"true",
"if",
"the",
"basic",
"block",
"has",
"exactly",
"one",
"predecessor",
"and",
"the",
"control",
"transfer",
"mechanism",
"between",
"the",
"predecessor",
"and",
"this",
"block",
"is",
"a",
"fall-through",
... | [
"Mips",
"Mips"
] | MipsAsmPrinter (2)1 | isBlockOnlyReachableByFallthrough | Mips | CPU | LLVM | 2,633 | 167 | 1 | [] |
[
"<s>",
"void",
"aarch64_register_pragmas",
"(",
"void",
")",
"{",
"targetm",
".",
"target_option",
".",
"pragma_parse",
"=",
"aarch64_pragma_target_parse",
";",
"}",
"</s>"
] | [
"Implement",
"REGISTER_TARGET_PRAGMAS",
"."
] | [
"aarch64"
] | aarch64-c2 | aarch64_register_pragmas | aarch64 | CPU | GCC | 2,634 | 15 | 1 | [] |
[
"<s>",
"static",
"bool",
"use_toc_relative_ref",
"(",
"rtx",
"sym",
")",
"{",
"return",
"(",
"(",
"constant_pool_expr_p",
"(",
"sym",
")",
"&&",
"ASM_OUTPUT_SPECIAL_POOL_ENTRY_P",
"(",
"get_pool_constant",
"(",
"sym",
")",
",",
"get_pool_mode",
"(",
"sym",
")",
... | [
"Return",
"true",
"iff",
"the",
"given",
"SYMBOL_REF",
"refers",
"to",
"a",
"constant",
"pool",
"entry",
"that",
"we",
"have",
"put",
"in",
"the",
"TOC",
",",
"or",
"for",
"cmodel=medium",
",",
"if",
"the",
"SYMBOL_REF",
"can",
"be",
"addressed",
"relative... | [
"rs6000"
] | rs60004 | use_toc_relative_ref | rs6000 | CPU | GCC | 2,635 | 43 | 1 | [] |
[
"<s>",
"static",
"bool",
"msp430_special_register_convention_p",
"(",
"const",
"char",
"*",
"name",
")",
"{",
"int",
"i",
";",
"for",
"(",
"i",
"=",
"0",
";",
"special_convention_function_names",
"[",
"i",
"]",
";",
"i",
"++",
")",
"if",
"(",
"!",
"strcm... | [
"TRUE",
"if",
"the",
"function",
"passed",
"is",
"a",
"``",
"speical",
"''",
"function",
".",
"Special",
"functions",
"pass",
"two",
"DImode",
"parameters",
"in",
"registers",
"."
] | [
"msp430",
"0"
] | msp430 | msp430_special_register_convention_p | msp430 | MPU | GCC | 2,636 | 47 | 1 | [] |
[
"<s>",
"bool",
"HexagonInstrInfo",
"::",
"isPredicable",
"(",
"const",
"MachineInstr",
"&",
"MI",
")",
"const",
"{",
"if",
"(",
"!",
"MI",
".",
"getDesc",
"(",
")",
".",
"isPredicable",
"(",
")",
")",
"return",
"false",
";",
"if",
"(",
"MI",
".",
"is... | [
"Return",
"true",
"if",
"the",
"specified",
"instruction",
"can",
"be",
"predicated",
"."
] | [
"Hexagon",
"Hexagon",
"Hexagon"
] | HexagonInstrInfo10 | isPredicable | Hexagon | DSP | LLVM | 2,637 | 82 | 1 | [] |
[
"<s>",
"bool",
"X86LoadValueInjectionLoadHardeningUnoptimizedPass",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"{",
"LLVM_DEBUG",
"(",
"dbgs",
"(",
")",
"<<",
"\"***** \"",
"<<",
"getPassName",
"(",
")",
"<<",
"\" : \"",
"<<",
"MF",
".",... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"X86",
"X86",
"\"***** \"",
"\" : \"",
"\" *****\\n\"",
"X86",
"X86",
"\"LVI load hardening is only supported on 64-bit\"",
"X86::LFENCE",
"X86::MFENCE",
"X86::LFENCE"
] | X86LoadValueInjectionLoadHardening2 | runOnMachineFunction | X86 | CPU | LLVM | 2,638 | 235 | 1 | [] |
[
"<s>",
"static",
"unsigned",
"int",
"nvptx_function_arg_boundary",
"(",
"machine_mode",
"mode",
",",
"const_tree",
"type",
")",
"{",
"unsigned",
"int",
"boundary",
"=",
"type",
"?",
"TYPE_ALIGN",
"(",
"type",
")",
":",
"GET_MODE_BITSIZE",
"(",
"mode",
")",
";"... | [
"Implement",
"TARGET_FUNCTION_ARG_BOUNDARY",
"."
] | [
"nvptx",
"2",
"4",
"2",
"3",
"2",
"2"
] | nvptx2 | nvptx_function_arg_boundary | nvptx | GPU | GCC | 2,639 | 98 | 1 | [] |
[
"<s>",
"SDValue",
"MipsTargetLowering",
"::",
"LowerCallResult",
"(",
"SDValue",
"Chain",
",",
"SDValue",
"InFlag",
",",
"CallingConv",
"::",
"ID",
"CallConv",
",",
"bool",
"IsVarArg",
",",
"const",
"SmallVectorImpl",
"<",
"ISD",
"::",
"InputArg",
">",
"&",
"I... | [
"LowerCallResult",
"-",
"Lower",
"the",
"result",
"values",
"of",
"an",
"ISD",
":",
":CALL",
"into",
"the",
"appropriate",
"copies",
"out",
"of",
"appropriate",
"physical",
"registers",
"."
] | [
"Mips",
"Mips",
"ISD::InputArg",
"16",
"Mips",
"Mips",
"Mips",
"0",
"1",
"2",
"ISD::BITCAST"
] | MipsISelLowering125 | LowerCallResult | Mips | CPU | LLVM | 2,640 | 248 | 1 | [] |
[
"<s>",
"MVT",
"X86TargetLowering",
"::",
"getRegisterTypeForCallingConv",
"(",
"LLVMContext",
"&",
"Context",
",",
"CallingConv",
"::",
"ID",
"CC",
",",
"EVT",
"VT",
")",
"const",
"{",
"if",
"(",
"VT",
"==",
"MVT",
"::",
"v32i1",
"&&",
"Subtarget",
".",
"h... | [
"Certain",
"combinations",
"of",
"ABIs",
",",
"Targets",
"and",
"features",
"require",
"that",
"types",
"are",
"legal",
"for",
"some",
"operations",
"and",
"not",
"for",
"other",
"operations",
"."
] | [
"X86",
"X86",
"MVT::v32i1",
"MVT::v32i8",
"MVT::i1",
"16",
"64",
"MVT::i8",
"MVT::v32i16",
"MVT::v64i8",
"MVT::v16i32"
] | X86ISelLowering195 | getRegisterTypeForCallingConv | X86 | CPU | LLVM | 2,641 | 169 | 1 | [] |
[
"<s>",
"void",
"PPCPassConfig",
"::",
"addIRPasses",
"(",
")",
"{",
"if",
"(",
"TM",
"->",
"getOptLevel",
"(",
")",
"!=",
"CodeGenOpt",
"::",
"None",
")",
"addPass",
"(",
"createPPCBoolRetToIntPass",
"(",
")",
")",
";",
"addPass",
"(",
"createAtomicExpandPas... | [
"Add",
"common",
"target",
"configurable",
"passes",
"that",
"perform",
"LLVM",
"IR",
"to",
"IR",
"transforms",
"following",
"machine",
"independent",
"optimization",
"."
] | [
"PowerPC",
"PPC",
"PPC",
"0"
] | PPCTargetMachine1 | addIRPasses | PowerPC | CPU | LLVM | 2,642 | 128 | 1 | [] |
[
"<s>",
"const",
"uint16_t",
"*",
"X86RegisterInfo",
"::",
"getCalleeSavedRegs",
"(",
"const",
"MachineFunction",
"*",
"MF",
")",
"const",
"{",
"switch",
"(",
"MF",
"->",
"getFunction",
"(",
")",
"->",
"getCallingConv",
"(",
")",
")",
"{",
"case",
"CallingCon... | [
"Code",
"Generation",
"virtual",
"methods",
"..."
] | [
"X86",
"X86",
"X86",
"X86",
"X86"
] | X86RegisterInfo86 | getCalleeSavedRegs | X86 | CPU | LLVM | 2,643 | 244 | 1 | [] |
[
"<s>",
"bool",
"MipsTargetObjectFile",
"::",
"IsGlobalInSmallSection",
"(",
"const",
"GlobalValue",
"*",
"GV",
",",
"const",
"TargetMachine",
"&",
"TM",
",",
"SectionKind",
"Kind",
")",
"const",
"{",
"const",
"MipsSubtarget",
"&",
"Subtarget",
"=",
"TM",
".",
... | [
"Return",
"true",
"if",
"this",
"global",
"address",
"should",
"be",
"placed",
"into",
"small",
"data/bss",
"section",
"."
] | [
"Mips",
"Mips",
"Mips",
"Mips"
] | MipsTargetObjectFile19 | IsGlobalInSmallSection | Mips | CPU | LLVM | 2,644 | 127 | 1 | [] |
[
"<s>",
"bool",
"is",
"(",
"KindTy",
"K",
")",
"const",
"{",
"return",
"(",
"Kind",
"==",
"K",
")",
";",
"}",
"</s>"
] | [
"Check",
"if",
"the",
"current",
"token",
"has",
"kind",
"K",
"."
] | [
"MOS"
] | MOSAsmParser | is | MOS | MPU | LLVM | 2,645 | 16 | 1 | [] |
[
"<s>",
"bool",
"MipsCallLowering",
"::",
"lowerReturn",
"(",
"MachineIRBuilder",
"&",
"MIRBuilder",
",",
"const",
"Value",
"*",
"Val",
",",
"ArrayRef",
"<",
"Register",
">",
"VRegs",
")",
"const",
"{",
"MachineInstrBuilder",
"Ret",
"=",
"MIRBuilder",
".",
"bui... | [
"This",
"hook",
"behaves",
"as",
"the",
"extended",
"lowerReturn",
"function",
",",
"but",
"for",
"targets",
"that",
"do",
"not",
"support",
"swifterror",
"value",
"promotion",
"."
] | [
"Mips",
"Mips",
"Mips::RetRA",
"Mips",
"Mips",
"4",
"\"For each split Type there should be exactly one VReg.\"",
"8",
"8",
"0",
"0",
"ISD::OutputArg",
"8",
"16",
"Mips"
] | MipsCallLowering10 | lowerReturn | Mips | CPU | LLVM | 2,646 | 361 | 1 | [] |
[
"<s>",
"static",
"void",
"arm_pragma_arm",
"(",
"cpp_reader",
"*",
")",
"{",
"tree",
"x",
";",
"if",
"(",
"pragma_lex",
"(",
"&",
"x",
")",
"!=",
"CPP_STRING",
")",
"{",
"error",
"(",
"\"%<#pragma GCC arm%> requires a string parameter\"",
")",
";",
"return",
... | [
"Implement",
"``",
"#",
"pragma",
"GCC",
"arm",
"''",
"."
] | [
"arm",
"\"%<#pragma GCC arm%> requires a string parameter\"",
"\"arm_mve_types.h\"",
"0",
"arm_mve::handle_arm_mve_types_h",
"\"unknown %<#pragma GCC arm%> option %qs\""
] | arm-c | arm_pragma_arm | arm | CPU | GCC | 2,647 | 66 | 1 | [] |
[
"<s>",
"bool",
"AArch64RegisterInfo",
"::",
"useFPForScavengingIndex",
"(",
"const",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"const",
"AArch64FrameLowering",
"&",
"TFI",
"=",
"*",
"getFrameLowering",
"(",
"MF",
")",
";",
"return",
"TFI",
".",
"hasFP",
... | [
"Returns",
"true",
"if",
"the",
"target",
"wants",
"to",
"use",
"frame",
"pointer",
"based",
"accesses",
"to",
"spill",
"to",
"the",
"scavenger",
"emergency",
"spill",
"slot",
"."
] | [
"AArch64",
"AArch64",
"AArch64"
] | AArch64RegisterInfo | useFPForScavengingIndex | AArch64 | CPU | LLVM | 2,648 | 32 | 1 | [] |
[
"<s>",
"void",
"GeneralShuffle",
"::",
"add",
"(",
"SDValue",
"Op",
",",
"unsigned",
"Elem",
")",
"{",
"unsigned",
"BytesPerElement",
"=",
"VT",
".",
"getVectorElementType",
"(",
")",
".",
"getStoreSize",
"(",
")",
";",
"EVT",
"FromVT",
"=",
"Op",
".",
"... | [
"Add",
"a",
"string",
"to",
"the",
"builder",
"."
] | [
"SystemZ",
"\"Invalid EXTRACT_VECTOR_ELT\"",
"SystemZ::VectorBytes",
"ISD::BITCAST",
"0",
"ISD::VECTOR_SHUFFLE",
"SystemZ::VectorBytes",
"0",
"SystemZ::VectorBytes",
"SystemZ::VectorBytes",
"ISD::UNDEF",
"0",
"SystemZ::VectorBytes",
"0"
] | SystemZISelLowering (2)1 | add | SystemZ | CPU | LLVM | 2,649 | 326 | 1 | [] |
[
"<s>",
"void",
"Nios2InstPrinter",
"::",
"printRegName",
"(",
"raw_ostream",
"&",
"OS",
",",
"unsigned",
"RegNo",
")",
"const",
"{",
"OS",
"<<",
"getRegisterName",
"(",
"RegNo",
")",
";",
"}",
"</s>"
] | [
"Print",
"the",
"assembler",
"register",
"name",
"."
] | [
"Nios2",
"Nios2"
] | Nios2InstPrinter | printRegName | Nios2 | MPU | LLVM | 2,650 | 22 | 1 | [] |
[
"<s>",
"static",
"void",
"ix86_expand_divmod_libfunc",
"(",
"rtx",
"libfunc",
",",
"machine_mode",
"mode",
",",
"rtx",
"op0",
",",
"rtx",
"op1",
",",
"rtx",
"*",
"quot_p",
",",
"rtx",
"*",
"rem_p",
")",
"{",
"rtx",
"rem",
"=",
"assign_386_stack_local",
"("... | [
"Generate",
"call",
"to",
"__divmoddi4",
"."
] | [
"i386",
"3",
"0"
] | i3866 | ix86_expand_divmod_libfunc | i386 | CPU | GCC | 2,651 | 85 | 1 | [] |
[
"<s>",
"llvm",
"::",
"FastISel",
"*",
"X86",
"::",
"createFastISel",
"(",
"MachineFunction",
"&",
"mf",
",",
"DenseMap",
"<",
"const",
"Value",
"*",
",",
"unsigned",
">",
"&",
"vm",
",",
"DenseMap",
"<",
"const",
"BasicBlock",
"*",
",",
"MachineBasicBlock"... | [
"This",
"method",
"returns",
"a",
"target",
"specific",
"FastISel",
"object",
",",
"or",
"null",
"if",
"the",
"target",
"does",
"not",
"support",
"``",
"fast",
"''",
"ISel",
"."
] | [
"X86",
"X86::createFastISel",
"8",
"X86"
] | X86FastISel13 | createFastISel | X86 | CPU | LLVM | 2,652 | 74 | 1 | [] |
[
"<s>",
"bool",
"HexagonInstrInfo",
"::",
"ClobbersPredicate",
"(",
"MachineInstr",
"&",
"MI",
",",
"std",
"::",
"vector",
"<",
"MachineOperand",
">",
"&",
"Pred",
",",
"bool",
"SkipDead",
")",
"const",
"{",
"const",
"HexagonRegisterInfo",
"&",
"HRI",
"=",
"*... | [
"If",
"the",
"specified",
"instruction",
"defines",
"any",
"predicate",
"or",
"condition",
"code",
"register",
"(",
"s",
")",
"used",
"for",
"predication",
",",
"returns",
"true",
"as",
"well",
"as",
"the",
"definition",
"predicate",
"(",
"s",
")",
"by",
"... | [
"Hexagon",
"Hexagon",
"Hexagon",
"0",
"Hexagon::PredRegsRegClass",
"Hexagon::PredRegsRegClass"
] | HexagonInstrInfo15 | ClobbersPredicate | Hexagon | DSP | LLVM | 2,653 | 176 | 1 | [] |
[
"<s>",
"void",
"BPFFrameLowering",
"::",
"emitPrologue",
"(",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"}",
"</s>"
] | [
"emitProlog/emitEpilog",
"-",
"These",
"methods",
"insert",
"prolog",
"and",
"epilog",
"code",
"into",
"the",
"function",
"."
] | [
"BPF",
"BPF"
] | BPFFrameLowering7 | emitPrologue | BPF | Virtual ISA | LLVM | 2,654 | 12 | 1 | [] |
[
"<s>",
"SDNode",
"*",
"TOYDAGToDAGISel",
"::",
"Select",
"(",
"SDNode",
"*",
"N",
")",
"{",
"return",
"SelectCode",
"(",
"N",
")",
";",
"}",
"</s>"
] | [
"Main",
"hook",
"for",
"targets",
"to",
"transform",
"nodes",
"into",
"machine",
"nodes",
"."
] | [
"TOY",
"TOY"
] | TOYISelDAGToDAG | Select | TOY | CPU | LLVM | 2,655 | 18 | 1 | [] |
[
"<s>",
"void",
"RISCVTargetStreamer",
"::",
"emitTargetAttributes",
"(",
"const",
"MCSubtargetInfo",
"&",
"STI",
")",
"{",
"if",
"(",
"STI",
".",
"hasFeature",
"(",
"RISCV",
"::",
"FeatureRV32E",
")",
")",
"emitAttribute",
"(",
"RISCVAttrs",
"::",
"STACK_ALIGN",... | [
"Emit",
"the",
"build",
"attributes",
"that",
"only",
"depend",
"on",
"the",
"hardware",
"that",
"we",
"expect",
"."
] | [
"RI5CY",
"RISCV",
"RISCV::FeatureRV32E",
"RISCVAttrs::STACK_ALIGN",
"RISCVAttrs::ALIGN_4",
"RISCVAttrs::STACK_ALIGN",
"RISCVAttrs::ALIGN_16",
"\"rv32\"",
"RISCV::Feature64Bit",
"\"rv64\"",
"RISCV::FeatureRV32E",
"\"e1p9\"",
"\"i2p0\"",
"RISCV::FeatureStdExtM",
"\"_m2p0\"",
"RISCV::Feat... | RISCVTargetStreamer | emitTargetAttributes | RI5CY | CPU | LLVM | 2,656 | 412 | 1 | [] |
[
"<s>",
"static",
"void",
"cr16_print_operand",
"(",
"FILE",
"*",
"file",
",",
"rtx",
"x",
",",
"int",
"code",
")",
"{",
"int",
"ptr_dereference",
"=",
"0",
";",
"switch",
"(",
"code",
")",
"{",
"case",
"'d'",
":",
"{",
"const",
"char",
"*",
"cr16_cmp... | [
"Implements",
"the",
"macro",
"PRINT_OPERAND",
"defined",
"in",
"cr16.h",
"."
] | [
"cr16",
"0",
"\"eq\"",
"\"ne\"",
"\"lt\"",
"\"lo\"",
"\"gt\"",
"\"hi\"",
"\"le\"",
"\"ls\"",
"\"ge\"",
"\"hs\"",
"\"%s\"",
"\"%s\"",
"\"0x%lx\"",
"\"%d\"",
"0",
"\"%d\"",
"1",
"1",
"0",
"\"(%s)\"",
"\"(%s,%s)\"",
"1",
"\"%s\"",
"0",
"\"$0x%lx\"",
"\"$%ld\"",
"... | cr16 | cr16_print_operand | cr16 | MPU | GCC | 2,657 | 500 | 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"
] | AArch64TargetMachine23 | AArch64TargetMachine | AArch64 | CPU | LLVM | 2,658 | 144 | 1 | [] |
[
"<s>",
"static",
"rtx_insn",
"*",
"calculate_pic_address_constant",
"(",
"rtx",
"reg",
",",
"rtx",
"pic_reg",
",",
"rtx",
"orig",
")",
"{",
"rtx",
"pat",
";",
"rtx",
"mem",
";",
"pat",
"=",
"gen_calculate_pic_address",
"(",
"reg",
",",
"pic_reg",
",",
"ori... | [
"Generate",
"insns",
"to",
"calculate",
"the",
"address",
"of",
"ORIG",
"in",
"pic",
"mode",
"."
] | [
"arm",
"1",
"1"
] | arm | calculate_pic_address_constant | arm | CPU | GCC | 2,659 | 74 | 1 | [] |
[
"<s>",
"static",
"bool",
"nvptx_strict_argument_naming",
"(",
"cumulative_args_t",
"cum_v",
")",
"{",
"CUMULATIVE_ARGS",
"*",
"cum",
"=",
"get_cumulative_args",
"(",
"cum_v",
")",
";",
"return",
"cum",
"->",
"fntype",
"==",
"NULL_TREE",
"||",
"stdarg_p",
"(",
"c... | [
"Handle",
"the",
"TARGET_STRICT_ARGUMENT_NAMING",
"target",
"hook",
".",
"For",
"nvptx",
",",
"we",
"know",
"how",
"to",
"handle",
"functions",
"declared",
"as",
"stdarg",
":",
"by",
"passing",
"an",
"extra",
"pointer",
"to",
"the",
"unnamed",
"arguments",
"."... | [
"nvptx"
] | nvptx | nvptx_strict_argument_naming | nvptx | GPU | GCC | 2,660 | 32 | 1 | [] |
[
"<s>",
"void",
"NyuziInstrInfo",
"::",
"loadRegFromStackSlot",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"MBBI",
",",
"unsigned",
"DestReg",
",",
"int",
"FrameIndex",
",",
"const",
"TargetRegisterClass",
"*",
"RC",
",",
"con... | [
"Load",
"the",
"specified",
"register",
"of",
"the",
"given",
"register",
"class",
"from",
"the",
"specified",
"stack",
"frame",
"index",
"."
] | [
"Nyuzi",
"Nyuzi",
"0",
"Nyuzi::GPR32RegClass",
"Nyuzi::LW",
"Nyuzi::VR512RegClass",
"Nyuzi::BLOCK_LOADI",
"\"unknown register class in storeRegToStack\"",
"0"
] | NyuziInstrInfo | loadRegFromStackSlot | Nyuzi | GPU | LLVM | 2,661 | 146 | 1 | [] |
[
"<s>",
"static",
"void",
"spu_emit_branch_hint",
"(",
"rtx_insn",
"*",
"before",
",",
"rtx_insn",
"*",
"branch",
",",
"rtx",
"target",
",",
"int",
"distance",
",",
"sbitmap",
"blocks",
")",
"{",
"rtx",
"branch_label",
"=",
"0",
";",
"rtx_insn",
"*",
"hint"... | [
"Routines",
"for",
"branch",
"hints",
"."
] | [
"spu",
"0",
"0",
"0",
"0",
"600",
"1",
"1",
"0",
"1",
"0",
"0",
"1",
"1",
"0",
"0",
"1",
"588",
"8",
"4",
"8",
"4",
"4",
"127",
"8",
"4"
] | spu | spu_emit_branch_hint | spu | MPU | GCC | 2,662 | 442 | 1 | [] |
[
"<s>",
"SDValue",
"RISCVTargetLowering",
"::",
"LowerOperation",
"(",
"SDValue",
"Op",
",",
"SelectionDAG",
"&",
"DAG",
")",
"const",
"{",
"switch",
"(",
"Op",
".",
"getOpcode",
"(",
")",
")",
"{",
"default",
":",
"report_fatal_error",
"(",
"\"unimplemented op... | [
"LowerOperation",
"-",
"Provide",
"custom",
"lowering",
"hooks",
"for",
"some",
"operations",
"."
] | [
"RISCV",
"RISCV",
"\"unimplemented operand\"",
"ISD::GlobalAddress",
"ISD::BlockAddress",
"ISD::ConstantPool",
"ISD::SELECT",
"ISD::VASTART",
"ISD::FRAMEADDR",
"ISD::RETURNADDR",
"ISD::BITCAST",
"\"Unexpected custom legalisation\"",
"0",
"MVT::f32",
"MVT::i32",
"ISD::ANY_EXTEND",
"MV... | RISCVISelLowering59 | LowerOperation | RISCV | CPU | LLVM | 2,663 | 233 | 1 | [] |
[
"<s>",
"void",
"SparcAsmPrinter",
"::",
"EmitInstruction",
"(",
"const",
"MachineInstr",
"*",
"MI",
")",
"{",
"switch",
"(",
"MI",
"->",
"getOpcode",
"(",
")",
")",
"{",
"default",
":",
"break",
";",
"case",
"TargetOpcode",
"::",
"DBG_VALUE",
":",
"return"... | [
"EmitInstruction",
"-",
"This",
"callback",
"is",
"invoked",
"when",
"an",
"instruction",
"is",
"emitted",
",",
"to",
"advance",
"the",
"hazard",
"state",
"."
] | [
"Sparc",
"Sparc",
"SP::GETPCX",
"Sparc"
] | SparcAsmPrinter12 | EmitInstruction | Sparc | CPU | LLVM | 2,664 | 117 | 1 | [] |
[
"<s>",
"bool",
"AMDGPUTTIImpl",
"::",
"isSourceOfDivergence",
"(",
"const",
"Value",
"*",
"V",
")",
"const",
"{",
"if",
"(",
"const",
"Argument",
"*",
"A",
"=",
"dyn_cast",
"<",
"Argument",
">",
"(",
"V",
")",
")",
"return",
"!",
"isArgPassedInSGPR",
"("... | [
"Returns",
"whether",
"V",
"is",
"a",
"source",
"of",
"divergence",
"."
] | [
"AMDGPU",
"AMDGPU",
"AMDGPU",
"AMDGPU::isIntrinsicSourceOfDivergence"
] | AMDGPUTargetTransformInfo15 | isSourceOfDivergence | AMDGPU | GPU | LLVM | 2,665 | 137 | 1 | [] |
[
"<s>",
"bool",
"mips_hard_regno_rename_ok",
"(",
"unsigned",
"int",
"old_reg",
"ATTRIBUTE_UNUSED",
",",
"unsigned",
"int",
"new_reg",
")",
"{",
"if",
"(",
"cfun",
"->",
"machine",
"->",
"interrupt_handler_p",
"&&",
"!",
"df_regs_ever_live_p",
"(",
"new_reg",
")",
... | [
"Return",
"nonzero",
"if",
"register",
"OLD_REG",
"can",
"be",
"renamed",
"to",
"register",
"NEW_REG",
"."
] | [
"mips"
] | mips | mips_hard_regno_rename_ok | mips | CPU | GCC | 2,666 | 34 | 1 | [] |
[
"<s>",
"MachineInstr",
"*",
"SparcInstrInfo",
"::",
"foldMemoryOperandImpl",
"(",
"MachineFunction",
"&",
"MF",
",",
"MachineInstr",
"*",
"MI",
",",
"const",
"SmallVectorImpl",
"<",
"unsigned",
">",
"&",
"Ops",
",",
"int",
"FI",
")",
"const",
"{",
"if",
"(",... | [
"foldMemoryOperand",
"-",
"Same",
"as",
"the",
"previous",
"version",
"except",
"it",
"allows",
"folding",
"of",
"any",
"load",
"and",
"store",
"from",
"/",
"to",
"any",
"address",
",",
"not",
"just",
"from",
"a",
"specific",
"stack",
"slot",
"."
] | [
"Sparc",
"Sparc",
"1",
"0",
"SP::ORrr",
"1",
"1",
"SP::G0",
"0",
"2",
"0",
"SP::STri",
"0",
"2",
"SP::LDri",
"0",
"0",
"SP::FMOVS",
"SP::FMOVD",
"0",
"1",
"1",
"SP::STFri",
"SP::STDFri",
"0",
"0",
"0",
"SP::LDFri",
"SP::LDDFri",
"0"
] | SparcInstrInfo36 | foldMemoryOperandImpl | Sparc | CPU | LLVM | 2,667 | 403 | 1 | [] |
[
"<s>",
"bool",
"XCoreFrameLowering",
"::",
"spillCalleeSavedRegisters",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"MI",
",",
"ArrayRef",
"<",
"CalleeSavedInfo",
">",
"CSI",
",",
"const",
"TargetRegisterInfo",
"*",
"TRI",
")",
... | [
"spillCalleeSavedRegisters",
"-",
"Issues",
"instruction",
"(",
"s",
")",
"to",
"spill",
"all",
"callee",
"saved",
"registers",
"and",
"returns",
"true",
"if",
"it",
"is",
"n't",
"possible",
"/",
"profitable",
"to",
"do",
"so",
"by",
"issuing",
"a",
"series"... | [
"XCore",
"XCore",
"XCore",
"XCore",
"XCore",
"XCore::LR",
"XCore::R10",
"\"LR & FP are always handled in emitPrologue\""
] | XCoreFrameLowering56 | spillCalleeSavedRegisters | XCore | MPU | LLVM | 2,668 | 240 | 1 | [] |
[
"<s>",
"PPCTTI",
"::",
"PopcntSupportKind",
"PPCTTI",
"::",
"getPopcntSupport",
"(",
"unsigned",
"TyWidth",
")",
"const",
"{",
"assert",
"(",
"isPowerOf2_32",
"(",
"TyWidth",
")",
"&&",
"\"Ty width must be power of 2\"",
")",
";",
"if",
"(",
"ST",
"->",
"hasPOPC... | [
"Return",
"hardware",
"support",
"for",
"population",
"count",
"."
] | [
"PowerPC",
"PPC",
"PPC",
"\"Ty width must be power of 2\"",
"64"
] | PPCTargetTransformInfo (2) | getPopcntSupport | PowerPC | CPU | LLVM | 2,669 | 41 | 1 | [] |
[
"<s>",
"void",
"MSP430RegisterInfo",
"::",
"eliminateCallFramePseudoInstr",
"(",
"MachineFunction",
"&",
"MF",
",",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"I",
")",
"const",
"{",
"const",
"TargetFrameLowering",
"*",
"TFI",
"=",
... | [
"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",
")",
"."
] | [
"MSP430",
"MSP430",
"0",
"0",
"1",
"0",
"MSP430::SUB16ri",
"MSP430::SPW",
"MSP430::SPW",
"1",
"MSP430::ADD16ri",
"MSP430::SPW",
"MSP430::SPW",
"3",
"1",
"MSP430::SUB16ri",
"MSP430::SPW",
"MSP430::SPW",
"3"
] | MSP430RegisterInfo2 | eliminateCallFramePseudoInstr | MSP430 | MPU | LLVM | 2,670 | 356 | 1 | [] |
[
"<s>",
"int",
"tilegx_asm_preferred_eh_data_format",
"(",
"int",
"code",
"ATTRIBUTE_UNUSED",
",",
"int",
"global",
")",
"{",
"int",
"type",
"=",
"TARGET_32BIT",
"?",
"DW_EH_PE_sdata4",
":",
"DW_EH_PE_sdata8",
";",
"return",
"(",
"global",
"?",
"DW_EH_PE_indirect",
... | [
"Select",
"a",
"format",
"to",
"encode",
"pointers",
"in",
"exception",
"handling",
"data",
".",
"CODE",
"is",
"0",
"for",
"data",
",",
"1",
"for",
"code",
"labels",
",",
"2",
"for",
"function",
"pointers",
".",
"GLOBAL",
"is",
"true",
"if",
"the",
"sy... | [
"tilegx",
"0"
] | tilegx | tilegx_asm_preferred_eh_data_format | tilegx | VLIW | GCC | 2,671 | 34 | 1 | [] |
[
"<s>",
"unsigned",
"CJGInstrInfo",
"::",
"removeBranch",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"int",
"*",
"BytesRemoved",
")",
"const",
"{",
"assert",
"(",
"!",
"BytesRemoved",
"&&",
"\"code size not handled\"",
")",
";",
"MachineBasicBlock",
"::",
"iterator... | [
"Remove",
"the",
"branching",
"code",
"at",
"the",
"end",
"of",
"the",
"specific",
"MBB",
"."
] | [
"CJG",
"CJG",
"\"code size not handled\"",
"0",
"CJG::JMP",
"CJG::JCC"
] | CJGInstrInfo | removeBranch | CJG | CPU | LLVM | 2,672 | 109 | 1 | [] |
[
"<s>",
"static",
"bool",
"rs6000_builtin_valid_without_lhs",
"(",
"enum",
"rs6000_builtins",
"fn_code",
")",
"{",
"switch",
"(",
"fn_code",
")",
"{",
"case",
"ALTIVEC_BUILTIN_STVX_V16QI",
":",
"case",
"ALTIVEC_BUILTIN_STVX_V8HI",
":",
"case",
"ALTIVEC_BUILTIN_STVX_V4SI",
... | [
"Helper",
"function",
"to",
"sort",
"out",
"which",
"built-ins",
"may",
"be",
"valid",
"without",
"having",
"a",
"LHS",
"."
] | [
"rs6000"
] | rs60007 | rs6000_builtin_valid_without_lhs | rs6000 | CPU | GCC | 2,673 | 42 | 1 | [] |
[
"<s>",
"static",
"void",
"cr16_print_operand",
"(",
"FILE",
"*",
"file",
",",
"rtx",
"x",
",",
"int",
"code",
")",
"{",
"int",
"ptr_dereference",
"=",
"0",
";",
"switch",
"(",
"code",
")",
"{",
"case",
"'d'",
":",
"{",
"const",
"char",
"*",
"cr16_cmp... | [
"Implements",
"the",
"macro",
"PRINT_OPERAND",
"defined",
"in",
"cr16.h",
"."
] | [
"cr16",
"0",
"\"eq\"",
"\"ne\"",
"\"lt\"",
"\"lo\"",
"\"gt\"",
"\"hi\"",
"\"le\"",
"\"ls\"",
"\"ge\"",
"\"hs\"",
"\"%s\"",
"\"%s\"",
"\"0x%lx\"",
"\"%d\"",
"0",
"\"%d\"",
"1",
"1",
"0",
"\"(%s)\"",
"\"(%s,%s)\"",
"1",
"\"%s\"",
"0",
"\"$0x%lx\"",
"\"$%ld\"",
"... | cr162 | cr16_print_operand | cr16 | MPU | GCC | 2,674 | 495 | 1 | [] |
[
"<s>",
"void",
"HSAILInstrInfo",
"::",
"copyPhysReg",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"MI",
",",
"DebugLoc",
"DL",
",",
"unsigned",
"DestReg",
",",
"unsigned",
"SrcReg",
",",
"bool",
"KillSrc",
")",
"const",
"{... | [
"}",
"Branch",
"Analysis",
"&",
"Modification"
] | [
"HSAIL",
"HSAIL",
"HSAIL::GPR32RegClass",
"HSAIL::MOV_B32",
"HSAIL::GPR64RegClass",
"HSAIL::MOV_B64",
"HSAIL::CRRegClass",
"HSAIL::MOV_B1",
"1",
"1",
"1",
"HSAIL::GPR32RegClass",
"HSAIL::CRRegClass",
"HSAIL::CVT_B1_U32",
"HSAIL::CRRegClass",
"HSAIL::GPR32RegClass",
"HSAIL::CVT_U32_B1... | HSAILInstrInfo | copyPhysReg | HSAIL | Virtual ISA | LLVM | 2,675 | 417 | 1 | [] |
[
"<s>",
"unsigned",
"MipsMCCodeEmitter",
"::",
"getBranchTargetOpValue1SImm16",
"(",
"const",
"MCInst",
"&",
"MI",
",",
"unsigned",
"OpNo",
",",
"SmallVectorImpl",
"<",
"MCFixup",
">",
"&",
"Fixups",
",",
"const",
"MCSubtargetInfo",
"&",
"STI",
")",
"const",
"{",... | [
"getBranchTargetOpValue1SImm16",
"-",
"Return",
"binary",
"encoding",
"of",
"the",
"branch",
"target",
"operand",
"."
] | [
"Mips",
"Mips",
"1",
"\"getBranchTargetOpValue expects only expressions or immediates\"",
"4",
"0",
"Mips::fixup_Mips_PC16",
"0"
] | MipsMCCodeEmitter (2) | getBranchTargetOpValue1SImm16 | Mips | CPU | LLVM | 2,676 | 120 | 1 | [] |
[
"<s>",
"bool",
"X86TargetLowering",
"::",
"CanLowerReturn",
"(",
"CallingConv",
"::",
"ID",
"CallConv",
",",
"MachineFunction",
"&",
"MF",
",",
"bool",
"isVarArg",
",",
"const",
"SmallVectorImpl",
"<",
"ISD",
"::",
"OutputArg",
">",
"&",
"Outs",
",",
"LLVMCont... | [
"This",
"hook",
"should",
"be",
"implemented",
"to",
"check",
"whether",
"the",
"return",
"values",
"described",
"by",
"the",
"Outs",
"array",
"can",
"fit",
"into",
"the",
"return",
"registers",
"."
] | [
"X86",
"X86",
"ISD::OutputArg",
"16",
"X86"
] | X86ISelLowering (2)3 | CanLowerReturn | X86 | CPU | LLVM | 2,677 | 66 | 1 | [] |
[
"<s>",
"static",
"rtx",
"frv_expand_unop_builtin",
"(",
"enum",
"insn_code",
"icode",
",",
"tree",
"call",
",",
"rtx",
"target",
")",
"{",
"rtx",
"pat",
";",
"rtx",
"op0",
"=",
"frv_read_argument",
"(",
"call",
",",
"0",
")",
";",
"target",
"=",
"frv_leg... | [
"Expand",
"builtins",
"that",
"take",
"one",
"operand",
"."
] | [
"frv",
"0",
"1"
] | frv | frv_expand_unop_builtin | frv | VLIW | GCC | 2,678 | 77 | 1 | [] |
[
"<s>",
"void",
"SNESAsmBackend",
"::",
"applyFixup",
"(",
"const",
"MCAssembler",
"&",
"Asm",
",",
"const",
"MCFixup",
"&",
"Fixup",
",",
"const",
"MCValue",
"&",
"Target",
",",
"MutableArrayRef",
"<",
"char",
">",
"Data",
",",
"uint64_t",
"Value",
",",
"b... | [
"Apply",
"the",
"Value",
"for",
"given",
"Fixup",
"into",
"the",
"provided",
"data",
"fragment",
",",
"at",
"the",
"offset",
"specified",
"by",
"the",
"fixup",
"and",
"following",
"the",
"fixup",
"kind",
"as",
"appropriate",
"."
] | [
"SNES",
"SNES",
"0",
"8",
"8",
"0",
"0",
"1",
"\"Invalid fixup offset!\"",
"0",
"8",
"0xff"
] | SNESAsmBackend | applyFixup | SNES | DSP | LLVM | 2,679 | 179 | 1 | [] |
[
"<s>",
"static",
"rtx",
"loongarch_unspec_address_offset",
"(",
"rtx",
"base",
",",
"rtx",
"offset",
",",
"enum",
"loongarch_symbol_type",
"symbol_type",
")",
"{",
"base",
"=",
"gen_rtx_UNSPEC",
"(",
"Pmode",
",",
"gen_rtvec",
"(",
"1",
",",
"base",
")",
",",
... | [
"Wrap",
"symbol",
"or",
"label",
"BASE",
"in",
"an",
"UNSPEC",
"address",
"of",
"type",
"SYMBOL_TYPE",
",",
"then",
"add",
"CONST_INT",
"OFFSET",
"to",
"the",
"result",
"."
] | [
"loongarch",
"1"
] | loongarch | loongarch_unspec_address_offset | loongarch | CPU | GCC | 2,680 | 59 | 1 | [] |
[
"<s>",
"virtual",
"const",
"NVPTXRegisterInfo",
"&",
"getRegisterInfo",
"(",
")",
"const",
"{",
"return",
"RegInfo",
";",
"}",
"</s>"
] | [
"getRegisterInfo",
"-",
"TargetInstrInfo",
"is",
"a",
"superset",
"of",
"MRegister",
"info",
"."
] | [
"NVPTX",
"NVPTX"
] | NVPTXInstrInfo10 | getRegisterInfo | NVPTX | GPU | LLVM | 2,681 | 13 | 1 | [] |
[
"<s>",
"bool",
"isImm",
"(",
")",
"const",
"override",
"{",
"return",
"Kind",
"==",
"k_Immediate",
";",
"}",
"</s>"
] | [
"isImm",
"-",
"Is",
"this",
"an",
"immediate",
"operand",
"?"
] | [
"AArch64"
] | AArch64AsmParser (2)1 | isImm | AArch64 | CPU | LLVM | 2,682 | 13 | 1 | [] |
[
"<s>",
"void",
"XCoreFrameLowering",
"::",
"eliminateCallFramePseudoInstr",
"(",
"MachineFunction",
"&",
"MF",
",",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"I",
")",
"const",
"{",
"const",
"XCoreInstrInfo",
"&",
"TII",
"=",
"*"... | [
"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",
")",
"."
] | [
"XCore",
"XCore",
"XCore",
"XCore",
"0",
"0",
"1",
"4",
"0",
"4",
"\"eliminateCallFramePseudoInstr size too big: \"",
"\"\\n\"",
"0",
"XCore::ADJCALLSTACKDOWN",
"XCore::EXTSP_u6",
"XCore::EXTSP_lu6",
"XCore::ADJCALLSTACKUP",
"XCore::LDAWSP_ru6",
"XCore::LDAWSP_lru6",
"XCore::SP... | XCoreFrameLowering36 | eliminateCallFramePseudoInstr | XCore | MPU | LLVM | 2,683 | 283 | 1 | [] |
[
"<s>",
"SDValue",
"MipsTargetLowering",
"::",
"LowerOperation",
"(",
"SDValue",
"Op",
",",
"SelectionDAG",
"&",
"DAG",
")",
"const",
"{",
"switch",
"(",
"Op",
".",
"getOpcode",
"(",
")",
")",
"{",
"case",
"ISD",
"::",
"BR_JT",
":",
"return",
"lowerBR_JT",
... | [
"LowerOperation",
"-",
"Provide",
"custom",
"lowering",
"hooks",
"for",
"some",
"operations",
"."
] | [
"Mips",
"Mips",
"ISD::BR_JT",
"ISD::BRCOND",
"ISD::ConstantPool",
"ISD::GlobalAddress",
"ISD::BlockAddress",
"ISD::GlobalTLSAddress",
"ISD::JumpTable",
"ISD::SELECT",
"ISD::SELECT_CC",
"ISD::SETCC",
"ISD::VASTART",
"ISD::FCOPYSIGN",
"ISD::FABS",
"ISD::FRAMEADDR",
"ISD::RETURNADDR",
... | MipsISelLowering (2) | LowerOperation | Mips | CPU | LLVM | 2,684 | 346 | 1 | [] |
[
"<s>",
"void",
"MipsSEFrameLowering",
"::",
"eliminateCallFramePseudoInstr",
"(",
"MachineFunction",
"&",
"MF",
",",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"I",
")",
"const",
"{",
"const",
"MipsSEInstrInfo",
"&",
"TII",
"=",
"... | [
"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",
")",
"."
] | [
"Mips",
"Mips",
"Mips",
"Mips",
"0",
"Mips::ADJCALLSTACKDOWN",
"Mips::SP_64",
"Mips::SP"
] | MipsSEFrameLowering25 | eliminateCallFramePseudoInstr | Mips | CPU | LLVM | 2,685 | 119 | 1 | [] |
[
"<s>",
"bool",
"mayNeedRelaxation",
"(",
"const",
"MCInst",
"&",
"Inst",
")",
"const",
"override",
"{",
"return",
"false",
";",
"}",
"</s>"
] | [
"Check",
"whether",
"the",
"given",
"instruction",
"may",
"need",
"relaxation",
"."
] | [
"WebAssembly"
] | WebAssemblyAsmBackend (2) | mayNeedRelaxation | WebAssembly | Virtual ISA | LLVM | 2,686 | 15 | 1 | [] |
[
"<s>",
"static",
"void",
"mips_annotate_pic_call_expr",
"(",
"rtx",
"call",
",",
"rtx",
"symbol",
")",
"{",
"rtx",
"args_size",
";",
"args_size",
"=",
"XEXP",
"(",
"call",
",",
"1",
")",
";",
"XEXP",
"(",
"call",
",",
"1",
")",
"=",
"gen_rtx_UNSPEC",
"... | [
"Replace",
"the",
"args_size",
"operand",
"of",
"the",
"call",
"expression",
"CALL",
"with",
"the",
"call-attribute",
"UNSPEC",
"and",
"fill",
"in",
"SYMBOL",
"as",
"the",
"function",
"symbol",
"."
] | [
"mips",
"1",
"1",
"2"
] | mips | mips_annotate_pic_call_expr | mips | CPU | GCC | 2,687 | 50 | 1 | [] |
[
"<s>",
"void",
"init_cumulative_args",
"(",
"CUMULATIVE_ARGS",
"*",
"cum",
",",
"tree",
"fntype",
",",
"rtx",
"libname",
",",
"tree",
"fndecl",
")",
"{",
"static",
"CUMULATIVE_ARGS",
"zero_cum",
";",
"tree",
"param",
",",
"next_param",
";",
"if",
"(",
"TARGE... | [
"Handle",
"the",
"INIT_CUMULATIVE_ARGS",
"macro",
".",
"Initialize",
"a",
"variable",
"CUM",
"of",
"type",
"CUMULATIVE_ARGS",
"for",
"a",
"call",
"to",
"a",
"function",
"whose",
"data",
"type",
"is",
"FNTYPE",
".",
"For",
"a",
"library",
"call",
",",
"FNTYPE... | [
"i386",
"\"\\ninit_cumulative_args (\"",
"\"fntype code = %s, ret code = %s\"",
"\"no fntype\"",
"\", libname = %s\"",
"0",
"\"fastcall\"",
"2",
"1",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"\", nregs=%d )\\n\""
] | i3863 | init_cumulative_args | i386 | CPU | GCC | 2,688 | 370 | 1 | [] |
[
"<s>",
"void",
"print",
"(",
"raw_ostream",
"&",
"Out",
")",
"const",
"{",
"R",
".",
"print",
"(",
"Out",
")",
";",
"Out",
"<<",
"\", Matched=\"",
"<<",
"Matched",
";",
"}",
"</s>"
] | [
"print",
"-",
"Print",
"a",
"debug",
"representation",
"of",
"the",
"operand",
"to",
"the",
"given",
"stream",
"."
] | [
"Mips",
"\", Matched=\""
] | MipsELFObjectWriter | print | Mips | CPU | LLVM | 2,689 | 23 | 1 | [] |
[
"<s>",
"static",
"bool",
"classof",
"(",
"const",
"PseudoSourceValue",
"*",
"V",
")",
"{",
"return",
"V",
"->",
"kind",
"(",
")",
"==",
"GWSResource",
";",
"}",
"</s>"
] | [
"Methods",
"for",
"support",
"type",
"inquiry",
"through",
"isa",
",",
"cast",
",",
"and",
"dyn_cast",
":"
] | [
"AMDGPU"
] | SIMachineFunctionInfo (2)2 | classof | AMDGPU | GPU | LLVM | 2,690 | 20 | 1 | [] |
[
"<s>",
"bool",
"MipsCallEntry",
"::",
"isConstant",
"(",
"const",
"MachineFrameInfo",
"*",
")",
"const",
"{",
"return",
"false",
";",
"}",
"</s>"
] | [
"Returns",
"true",
"if",
"we",
"know",
"the",
"value",
"of",
"all",
"bits",
"."
] | [
"Mips",
"Mips"
] | MipsMachineFunction | isConstant | Mips | CPU | LLVM | 2,691 | 15 | 1 | [] |
[
"<s>",
"SMLoc",
"getEndLoc",
"(",
")",
"const",
"override",
"{",
"return",
"EndLoc",
";",
"}",
"</s>"
] | [
"getEndLoc",
"-",
"Get",
"the",
"location",
"of",
"the",
"last",
"token",
"of",
"this",
"operand",
"."
] | [
"VE"
] | VEAsmParser (2) | getEndLoc | VE | CPU | LLVM | 2,692 | 11 | 1 | [] |
[
"<s>",
"rtx",
"alpha_use_linkage",
"(",
"rtx",
"func",
",",
"bool",
"lflag",
",",
"bool",
"rflag",
")",
"{",
"struct",
"alpha_links",
"*",
"al",
"=",
"NULL",
";",
"const",
"char",
"*",
"name",
"=",
"XSTR",
"(",
"func",
",",
"0",
")",
";",
"if",
"("... | [
"Return",
"a",
"SYMBOL_REF",
"representing",
"the",
"reference",
"to",
"the",
".linkage",
"entry",
"of",
"function",
"FUNC",
"built",
"for",
"calls",
"made",
"from",
"CFUNDECL",
".",
"LFLAG",
"is",
"1",
"if",
"this",
"is",
"the",
"reference",
"to",
"the",
... | [
"alpha",
"0",
"64",
"0",
"8",
"9",
"\"$%d..%s..lk\"",
"8"
] | alpha4 | alpha_use_linkage | alpha | MPU | GCC | 2,693 | 275 | 1 | [] |
[
"<s>",
"bool",
"SIInstrInfo",
"::",
"analyzeBranch",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"*",
"&",
"TBB",
",",
"MachineBasicBlock",
"*",
"&",
"FBB",
",",
"SmallVectorImpl",
"<",
"MachineOperand",
">",
"&",
"Cond",
",",
"bool",
"Allo... | [
"analyzeBranch",
"-",
"Analyze",
"the",
"branching",
"code",
"at",
"the",
"end",
"of",
"MBB",
",",
"returning",
"true",
"if",
"it",
"can",
"not",
"be",
"understood",
"(",
"e.g",
"."
] | [
"AMDGPU",
"SI",
"AMDGPU::SI_MASK_BRANCH",
"AMDGPU::SI_MASK_BRANCH",
"AMDGPU::S_MOV_B64_term",
"AMDGPU::S_XOR_B64_term",
"AMDGPU::S_OR_B64_term",
"AMDGPU::S_ANDN2_B64_term",
"AMDGPU::S_MOV_B32_term",
"AMDGPU::S_XOR_B32_term",
"AMDGPU::S_OR_B32_term",
"AMDGPU::S_ANDN2_B32_term",
"AMDGPU::SI_IF... | SIInstrInfo111 | analyzeBranch | AMDGPU | GPU | LLVM | 2,694 | 309 | 1 | [] |
[
"<s>",
"void",
"getAnalysisUsage",
"(",
"AnalysisUsage",
"&",
"AU",
")",
"const",
"override",
"{",
"AU",
".",
"addRequired",
"<",
"MachineLoopInfo",
">",
"(",
")",
";",
"MachineFunctionPass",
"::",
"getAnalysisUsage",
"(",
"AU",
")",
";",
"}",
"</s>"
] | [
"getAnalysisUsage",
"-",
"Subclasses",
"that",
"override",
"getAnalysisUsage",
"must",
"call",
"this",
"."
] | [
"RISCV"
] | RISCVCoreVHwlpBlocks | getAnalysisUsage | RISCV | CPU | LLVM | 2,695 | 27 | 1 | [] |
[
"<s>",
"static",
"bool",
"avr_warn_func_return",
"(",
"tree",
"decl",
")",
"{",
"return",
"!",
"avr_naked_function_p",
"(",
"decl",
")",
";",
"}",
"</s>"
] | [
"Implement",
"`",
"TARGET_WARN_FUNC_RETURN",
"'",
"."
] | [
"avr"
] | avr | avr_warn_func_return | avr | MPU | GCC | 2,696 | 16 | 1 | [] |
[
"<s>",
"bool",
"SIInstrInfo",
"::",
"shouldClusterMemOps",
"(",
"ArrayRef",
"<",
"const",
"MachineOperand",
"*",
">",
"BaseOps1",
",",
"ArrayRef",
"<",
"const",
"MachineOperand",
"*",
">",
"BaseOps2",
",",
"unsigned",
"NumLoads",
")",
"const",
"{",
"assert",
"... | [
"Returns",
"true",
"if",
"the",
"two",
"given",
"memory",
"operations",
"should",
"be",
"scheduled",
"adjacent",
"."
] | [
"AMDGPU",
"SI",
"7",
"AMDGPU::OpName",
"AMDGPU::OpName",
"AMDGPU::OpName",
"AMDGPU::OpName",
"AMDGPU::OpName",
"AMDGPU::OpName",
"AMDGPU::OpName",
"AMDGPU::OpName",
"16",
"1",
"8"
] | SIInstrInfo130 | shouldClusterMemOps | AMDGPU | GPU | LLVM | 2,697 | 400 | 1 | [] |
[
"<s>",
"void",
"SIInstrInfo",
"::",
"loadRegFromStackSlot",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"MI",
",",
"Register",
"DestReg",
",",
"int",
"FrameIndex",
",",
"const",
"TargetRegisterClass",
"*",
"RC",
",",
"const",
... | [
"Load",
"the",
"specified",
"register",
"of",
"the",
"given",
"register",
"class",
"from",
"the",
"specified",
"stack",
"frame",
"index",
"."
] | [
"AMDGPU",
"SI",
"SI",
"SI",
"AMDGPU::M0",
"\"m0 should not be reloaded into\"",
"AMDGPU::EXEC_LO",
"AMDGPU::EXEC_HI",
"AMDGPU::EXEC",
"\"exec should not be spilled\"",
"4",
"AMDGPU::SReg_32_XM0_XEXECRegClass",
"AMDGPU::VGPR_32RegClass",
"0"
] | SIInstrInfo118 | loadRegFromStackSlot | AMDGPU | GPU | LLVM | 2,698 | 420 | 1 | [] |
[
"<s>",
"unsigned",
"RISCVTargetLowering",
"::",
"getExceptionSelectorRegister",
"(",
"const",
"Constant",
"*",
"PersonalityFn",
")",
"const",
"{",
"return",
"RISCV",
"::",
"X11",
";",
"}",
"</s>"
] | [
"If",
"a",
"physical",
"register",
",",
"this",
"returns",
"the",
"register",
"that",
"receives",
"the",
"exception",
"typeid",
"on",
"entry",
"to",
"a",
"landing",
"pad",
"."
] | [
"RISCV",
"RISCV",
"RISCV::X11"
] | RISCVISelLowering11 | getExceptionSelectorRegister | RISCV | CPU | LLVM | 2,699 | 18 | 1 | [] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.