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>",
"const",
"MCExpr",
"*",
"X86ELFTargetObjectFile",
"::",
"getDebugThreadLocalSymbol",
"(",
"const",
"MCSymbol",
"*",
"Sym",
")",
"const",
"{",
"return",
"MCSymbolRefExpr",
"::",
"Create",
"(",
"Sym",
",",
"MCSymbolRefExpr",
"::",
"VK_DTPOFF",
",",
"getContex... | [
"Describe",
"a",
"TLS",
"variable",
"address",
"within",
"debug",
"info",
"."
] | [
"X86",
"X86"
] | X86TargetObjectFile10 | getDebugThreadLocalSymbol | X86 | CPU | LLVM | 29,100 | 31 | 1 | [] |
[
"<s>",
"void",
"SystemZHazardRecognizer",
"::",
"emitInstruction",
"(",
"MachineInstr",
"*",
"MI",
",",
"bool",
"TakenBranch",
")",
"{",
"SUnit",
"SU",
"(",
"MI",
",",
"0",
")",
";",
"SU",
".",
"isCall",
"=",
"MI",
"->",
"isCall",
"(",
")",
";",
"const... | [
"EmitInstruction",
"-",
"This",
"callback",
"is",
"invoked",
"when",
"an",
"instruction",
"is",
"emitted",
",",
"to",
"advance",
"the",
"hazard",
"state",
"."
] | [
"SystemZ",
"SystemZ",
"0",
"0",
"1",
"0",
"\"Scheduler: unhandled terminator!\""
] | SystemZHazardRecognizer1 | EmitInstruction | SystemZ | CPU | LLVM | 29,101 | 149 | 1 | [] |
[
"<s>",
"void",
"mips_init_cumulative_args",
"(",
"CUMULATIVE_ARGS",
"*",
"cum",
",",
"tree",
"fntype",
")",
"{",
"memset",
"(",
"cum",
",",
"0",
",",
"sizeof",
"(",
"*",
"cum",
")",
")",
";",
"cum",
"->",
"prototype",
"=",
"(",
"fntype",
"&&",
"prototy... | [
"Initialize",
"*",
"CUM",
"for",
"a",
"call",
"to",
"a",
"function",
"of",
"type",
"FNTYPE",
"."
] | [
"mips",
"0"
] | mips | mips_init_cumulative_args | mips | CPU | GCC | 29,102 | 53 | 1 | [] |
[
"<s>",
"static",
"uint16_t",
"name",
"(",
"struct",
"InternalInstruction",
"*",
"insn",
",",
"OperandType",
"type",
",",
"\\",
"uint8_t",
"index",
",",
"uint8_t",
"*",
"valid",
")",
"{",
"\\",
"*",
"valid",
"=",
"1",
";",
"\\",
"switch",
"(",
"type",
"... | [
"Gets",
"the",
"name",
"of",
"the",
"pass",
"we",
"are",
"mixed",
"into",
"."
] | [
"X86",
"1",
"\"Unhandled register type\"",
"0",
"0",
"0xf",
"0",
"4",
"7",
"4",
"0xf",
"0",
"0xf",
"0",
"0xf",
"0",
"7",
"0",
"0xf",
"7",
"0",
"7",
"0",
"2",
"0x7",
"7",
"5",
"0",
"7"
] | X86Disassembler (2)2 | name | X86 | CPU | LLVM | 29,103 | 449 | 1 | [] |
[
"<s>",
"unsigned",
"MipsMCCodeEmitter",
"::",
"getBranchTargetOpValueMMPC10",
"(",
"const",
"MCInst",
"&",
"MI",
",",
"unsigned",
"OpNo",
",",
"SmallVectorImpl",
"<",
"MCFixup",
">",
"&",
"Fixups",
",",
"const",
"MCSubtargetInfo",
"&",
"STI",
")",
"const",
"{",
... | [
"getBranchTargetOpValueMMPC10",
"-",
"Return",
"binary",
"encoding",
"of",
"the",
"microMIPS",
"10-bit",
"branch",
"target",
"operand",
"."
] | [
"Mips",
"Mips",
"1",
"\"getBranchTargetOpValuePC10 expects only expressions or immediates\"",
"0",
"Mips::fixup_MICROMIPS_PC10_S1",
"0"
] | MipsMCCodeEmitter23 | getBranchTargetOpValueMMPC10 | Mips | CPU | LLVM | 29,104 | 103 | 1 | [] |
[
"<s>",
"void",
"get_aligned_mem",
"(",
"rtx",
"ref",
",",
"rtx",
"*",
"paligned_mem",
",",
"rtx",
"*",
"pbitnum",
")",
"{",
"rtx",
"base",
";",
"HOST_WIDE_INT",
"disp",
",",
"offset",
";",
"gcc_assert",
"(",
"MEM_P",
"(",
"ref",
")",
")",
";",
"if",
... | [
"REF",
"is",
"an",
"alignable",
"memory",
"location",
".",
"Place",
"an",
"aligned",
"SImode",
"reference",
"into",
"*",
"PALIGNED_MEM",
"and",
"the",
"number",
"of",
"bits",
"to",
"shift",
"into",
"*",
"PBITNUM",
".",
"SCRATCH",
"is",
"a",
"free",
"regist... | [
"alpha",
"0",
"0",
"0",
"1",
"0",
"0",
"32",
"0",
"3"
] | alpha4 | get_aligned_mem | alpha | MPU | GCC | 29,105 | 188 | 1 | [] |
[
"<s>",
"void",
"VideocoreAsmPrinter",
"::",
"EmitInstruction",
"(",
"const",
"MachineInstr",
"*",
"MI",
")",
"{",
"if",
"(",
"MI",
"->",
"isDebugValue",
"(",
")",
")",
"{",
"SmallString",
"<",
"128",
">",
"Str",
";",
"raw_svector_ostream",
"O",
"(",
"Str",... | [
"EmitInstruction",
"-",
"This",
"callback",
"is",
"invoked",
"when",
"an",
"instruction",
"is",
"emitted",
",",
"to",
"advance",
"the",
"hazard",
"state",
"."
] | [
"Videocore",
"Videocore",
"128"
] | VideocoreAsmPrinter | EmitInstruction | Videocore | DSP | LLVM | 29,106 | 62 | 1 | [] |
[
"<s>",
"SDValue",
"SparcTargetLowering",
"::",
"LowerCall",
"(",
"TargetLowering",
"::",
"CallLoweringInfo",
"&",
"CLI",
",",
"SmallVectorImpl",
"<",
"SDValue",
">",
"&",
"InVals",
")",
"const",
"{",
"if",
"(",
"Subtarget",
"->",
"is64Bit",
"(",
")",
")",
"r... | [
"This",
"hook",
"must",
"be",
"implemented",
"to",
"lower",
"calls",
"into",
"the",
"specified",
"DAG",
"."
] | [
"Sparc",
"Sparc"
] | SparcISelLowering (2)2 | LowerCall | Sparc | CPU | LLVM | 29,107 | 45 | 1 | [] |
[
"<s>",
"unsigned",
"RISCVInstrInfo",
"::",
"insertIndirectBranch",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"&",
"DestBB",
",",
"const",
"DebugLoc",
"&",
"DL",
",",
"int64_t",
"BrOffset",
",",
"RegScavenger",
"*",
"RS",
")",
"const",
"{",
... | [
"Insert",
"an",
"unconditional",
"indirect",
"branch",
"at",
"the",
"end",
"of",
"MBB",
"to",
"NewDestBB",
"."
] | [
"RISCV",
"RISCV",
"\"RegScavenger required for long branching\"",
"\"new block should be inserted for expanding unconditional branch\"",
"1",
"RISCV",
"\"Unable to insert indirect branch\"",
"32",
"\"Branch offsets outside of the signed 32-bit range not supported\"",
"RISCV::GPRRegClass",
"RISCV... | RISCVInstrInfo11 | insertIndirectBranch | RISCV | CPU | LLVM | 29,108 | 269 | 1 | [] |
[
"<s>",
"static",
"void",
"indirect_thunk_name",
"(",
"char",
"name",
"[",
"32",
"]",
",",
"unsigned",
"int",
"regno",
",",
"enum",
"indirect_thunk_prefix",
"need_prefix",
",",
"bool",
"ret_p",
")",
"{",
"if",
"(",
"regno",
"!=",
"INVALID_REGNUM",
"&&",
"regn... | [
"Fills",
"in",
"the",
"label",
"name",
"that",
"should",
"be",
"used",
"for",
"the",
"indirect",
"thunk",
"."
] | [
"i386",
"32",
"\"_bnd\"",
"\"_nt\"",
"\"\"",
"\"return\"",
"\"indirect\"",
"\"r\"",
"\"e\"",
"\"\"",
"\"__x86_%s_thunk%s_%s%s\"",
"\"__x86_%s_thunk%s\"",
"\"LITBR\"",
"\"LITR\"",
"\"LRTB\"",
"0",
"\"LRT\"",
"0",
"\"LITB\"",
"0",
"\"LIT\"",
"0"
] | i3867 | indirect_thunk_name | i386 | CPU | GCC | 29,109 | 254 | 1 | [] |
[
"<s>",
"unsigned",
"PPCAsmParser",
"::",
"validateTargetOperandClass",
"(",
"MCParsedAsmOperand",
"&",
"AsmOp",
",",
"unsigned",
"Kind",
")",
"{",
"int64_t",
"ImmVal",
";",
"switch",
"(",
"Kind",
")",
"{",
"case",
"MCK_0",
":",
"ImmVal",
"=",
"0",
";",
"brea... | [
"Allow",
"a",
"target",
"to",
"add",
"special",
"case",
"operand",
"matching",
"for",
"things",
"that",
"tblgen",
"doesn't/ca",
"n't",
"handle",
"effectively",
"."
] | [
"PowerPC",
"PPC",
"0",
"1",
"2",
"3",
"PPC",
"PPC"
] | PPCAsmParser2 | validateTargetOperandClass | PowerPC | CPU | LLVM | 29,110 | 99 | 1 | [] |
[
"<s>",
"static",
"rtx",
"promote_duplicated_reg",
"(",
"machine_mode",
"mode",
",",
"rtx",
"val",
")",
"{",
"machine_mode",
"valmode",
"=",
"GET_MODE",
"(",
"val",
")",
";",
"rtx",
"tmp",
";",
"int",
"nops",
"=",
"mode",
"==",
"DImode",
"?",
"3",
":",
... | [
"Helper",
"function",
"for",
"memcpy",
".",
"For",
"QImode",
"value",
"0xXY",
"produce",
"0xXYXYXYXY",
"of",
"wide",
"specified",
"by",
"MODE",
".",
"This",
"is",
"essentially",
"a",
"*",
"0x10101010",
",",
"but",
"we",
"can",
"do",
"slightly",
"better",
"... | [
"i386",
"3",
"2",
"255",
"8",
"16",
"16",
"16",
"3",
"2",
"8",
"4",
"0",
"1",
"8",
"1",
"1",
"16",
"1",
"1",
"32",
"1",
"1"
] | i3864 | promote_duplicated_reg | i386 | CPU | GCC | 29,111 | 448 | 1 | [] |
[
"<s>",
"static",
"void",
"nvptx_maybe_record_fnsym",
"(",
"rtx",
"sym",
")",
"{",
"tree",
"decl",
"=",
"SYMBOL_REF_DECL",
"(",
"sym",
")",
";",
"if",
"(",
"decl",
"&&",
"TREE_CODE",
"(",
"decl",
")",
"==",
"FUNCTION_DECL",
"&&",
"DECL_EXTERNAL",
"(",
"decl... | [
"SYM",
"is",
"a",
"SYMBOL_REF",
".",
"If",
"it",
"refers",
"to",
"an",
"external",
"function",
",",
"record",
"it",
"as",
"needed",
"."
] | [
"nvptx"
] | nvptx | nvptx_maybe_record_fnsym | nvptx | GPU | GCC | 29,112 | 38 | 1 | [] |
[
"<s>",
"unsigned",
"PPCTargetLowering",
"::",
"getByValTypeAlignment",
"(",
"Type",
"*",
"Ty",
",",
"const",
"DataLayout",
"&",
"DL",
")",
"const",
"{",
"unsigned",
"Align",
"=",
"Subtarget",
".",
"isPPC64",
"(",
")",
"?",
"8",
":",
"4",
";",
"if",
"(",
... | [
"Return",
"the",
"desired",
"alignment",
"for",
"ByVal",
"aggregate",
"function",
"arguments",
"in",
"the",
"caller",
"parameter",
"area",
"."
] | [
"PowerPC",
"PPC",
"PPC",
"8",
"4",
"32",
"16"
] | PPCISelLowering101 | getByValTypeAlignment | PowerPC | CPU | LLVM | 29,113 | 64 | 1 | [] |
[
"<s>",
"const",
"uint16_t",
"*",
"AVRRegisterInfo",
"::",
"getCalleeSavedRegs",
"(",
"const",
"MachineFunction",
"*",
"MF",
")",
"const",
"{",
"const",
"AVRMachineFunctionInfo",
"*",
"AFI",
"=",
"MF",
"->",
"getInfo",
"<",
"AVRMachineFunctionInfo",
">",
"(",
")"... | [
"Code",
"Generation",
"virtual",
"methods",
"..."
] | [
"AVR",
"AVR",
"AVR",
"AVR",
"AVR",
"AVR"
] | AVRRegisterInfo8 | getCalleeSavedRegs | AVR | MPU | LLVM | 29,114 | 74 | 1 | [] |
[
"<s>",
"static",
"rtx",
"aarch64_gen_loadwb_pair",
"(",
"machine_mode",
"mode",
",",
"rtx",
"base",
",",
"rtx",
"reg",
",",
"rtx",
"reg2",
",",
"HOST_WIDE_INT",
"adjustment",
")",
"{",
"switch",
"(",
"mode",
")",
"{",
"case",
"E_DImode",
":",
"return",
"ge... | [
"Load",
"the",
"pair",
"of",
"register",
"REG",
",",
"REG2",
"of",
"mode",
"MODE",
"from",
"stack",
"location",
"BASE",
",",
"adjusting",
"it",
"by",
"ADJUSTMENT",
"afterwards",
"."
] | [
"aarch64"
] | aarch645 | aarch64_gen_loadwb_pair | aarch64 | CPU | GCC | 29,115 | 83 | 1 | [] |
[
"<s>",
"void",
"s390_asm_output_function_prefix",
"(",
"FILE",
"*",
"asm_out_file",
",",
"const",
"char",
"*",
"fnname",
"ATTRIBUTE_UNUSED",
")",
"{",
"if",
"(",
"DECL_FUNCTION_SPECIFIC_TARGET",
"(",
"current_function_decl",
")",
"==",
"NULL",
")",
"return",
";",
... | [
"Write",
"an",
"extra",
"function",
"header",
"before",
"the",
"very",
"start",
"of",
"the",
"function",
"."
] | [
"s390",
"\"\\t.machinemode push\\n\"",
"\"\\t.machine push\\n\""
] | s390 | s390_asm_output_function_prefix | s390 | MPU | GCC | 29,116 | 45 | 1 | [] |
[
"<s>",
"void",
"MOSCombiner",
"::",
"getAnalysisUsage",
"(",
"AnalysisUsage",
"&",
"AU",
")",
"const",
"{",
"AU",
".",
"addRequired",
"<",
"TargetPassConfig",
">",
"(",
")",
";",
"AU",
".",
"setPreservesCFG",
"(",
")",
";",
"getSelectionDAGFallbackAnalysisUsage"... | [
"getAnalysisUsage",
"-",
"Subclasses",
"that",
"override",
"getAnalysisUsage",
"must",
"call",
"this",
"."
] | [
"MOS",
"MOS"
] | MOSCombiner | getAnalysisUsage | MOS | MPU | LLVM | 29,117 | 93 | 1 | [] |
[
"<s>",
"unsigned",
"HexagonAsmParser",
"::",
"validateTargetOperandClass",
"(",
"MCParsedAsmOperand",
"&",
"AsmOp",
",",
"unsigned",
"Kind",
")",
"{",
"HexagonOperand",
"*",
"Op",
"=",
"static_cast",
"<",
"HexagonOperand",
"*",
">",
"(",
"&",
"AsmOp",
")",
";",
... | [
"Allow",
"a",
"target",
"to",
"add",
"special",
"case",
"operand",
"matching",
"for",
"things",
"that",
"tblgen",
"doesn't/ca",
"n't",
"handle",
"effectively",
"."
] | [
"Hexagon",
"Hexagon",
"Hexagon",
"Hexagon",
"0",
"1",
"Hexagon",
"\"Unmatched Operand:\"",
"\"\\n\""
] | HexagonAsmParser12 | validateTargetOperandClass | Hexagon | DSP | LLVM | 29,118 | 204 | 1 | [] |
[
"<s>",
"bool",
"mips_split_128bit_move_p",
"(",
"rtx",
"dest",
",",
"rtx",
"src",
")",
"{",
"if",
"(",
"FP_REG_RTX_P",
"(",
"src",
")",
"&&",
"FP_REG_RTX_P",
"(",
"dest",
")",
")",
"return",
"false",
";",
"if",
"(",
"FP_REG_RTX_P",
"(",
"dest",
")",
"&... | [
"Return",
"true",
"if",
"a",
"128-bit",
"move",
"from",
"SRC",
"to",
"DEST",
"should",
"be",
"split",
"."
] | [
"mips",
"512",
"511"
] | mips | mips_split_128bit_move_p | mips | CPU | GCC | 29,119 | 104 | 1 | [] |
[
"<s>",
"bool",
"X86TargetLowering",
"::",
"shouldReduceLoadWidth",
"(",
"SDNode",
"*",
"Load",
",",
"ISD",
"::",
"LoadExtType",
"ExtTy",
",",
"EVT",
"NewVT",
")",
"const",
"{",
"SDValue",
"BasePtr",
"=",
"cast",
"<",
"LoadSDNode",
">",
"(",
"Load",
")",
"-... | [
"Return",
"true",
"if",
"we",
"believe",
"it",
"is",
"correct",
"and",
"profitable",
"to",
"reduce",
"the",
"load",
"node",
"to",
"a",
"smaller",
"type",
"."
] | [
"X86",
"X86",
"ISD::LoadExtType",
"X86ISD::WrapperRIP",
"0",
"X86II::MO_GOTTPOFF"
] | X86ISelLowering (2)3 | shouldReduceLoadWidth | X86 | CPU | LLVM | 29,120 | 81 | 1 | [] |
[
"<s>",
"unsigned",
"getPrefetchDistance",
"(",
")",
"const",
"override",
"{",
"return",
"2000",
";",
"}",
"</s>"
] | [
"Return",
"the",
"preferred",
"prefetch",
"distance",
"in",
"terms",
"of",
"instructions",
"."
] | [
"SystemZ",
"2000"
] | SystemZTargetTransformInfo20 | getPrefetchDistance | SystemZ | CPU | LLVM | 29,121 | 11 | 1 | [] |
[
"<s>",
"bool",
"HexagonPassConfig",
"::",
"addInstSelector",
"(",
")",
"{",
"HexagonTargetMachine",
"&",
"TM",
"=",
"getHexagonTargetMachine",
"(",
")",
";",
"bool",
"NoOpt",
"=",
"(",
"getOptLevel",
"(",
")",
"==",
"CodeGenOpt",
"::",
"None",
")",
";",
"if"... | [
"addInstSelector",
"-",
"This",
"method",
"should",
"install",
"an",
"instruction",
"selector",
"pass",
",",
"which",
"converts",
"from",
"LLVM",
"code",
"to",
"machine",
"instructions",
"."
] | [
"Hexagon",
"Hexagon",
"Hexagon",
"Hexagon",
"Hexagon",
"Hexagon",
"Hexagon",
"Hexagon",
"Hexagon",
"Hexagon",
"Hexagon",
"\"After hexagon peephole pass\"",
"Hexagon",
"Hexagon",
"Hexagon"
] | HexagonTargetMachine3 | addInstSelector | Hexagon | DSP | LLVM | 29,122 | 162 | 1 | [] |
[
"<s>",
"static",
"void",
"reorg_emit_nops",
"(",
"rtx_code_label",
"*",
"*",
"call_labels",
")",
"{",
"bool",
"first",
";",
"rtx",
"last_call",
";",
"rtx_insn",
"*",
"prev",
";",
"int",
"prev_clock",
",",
"earliest_bb_end",
";",
"int",
"prev_implicit_nops",
";... | [
"Called",
"as",
"part",
"of",
"c6x_reorg",
".",
"This",
"function",
"emits",
"multi-cycle",
"NOP",
"insns",
"as",
"required",
"for",
"correctness",
".",
"CALL_LABELS",
"is",
"the",
"array",
"that",
"holds",
"the",
"return",
"labels",
"for",
"call",
"insns",
... | [
"c6x",
"1",
"0",
"0",
"1",
"0",
"1",
"1",
"1",
"6",
"0",
"0",
"5",
"1",
"0",
"1",
"1",
"0",
"1",
"1",
"1",
"0",
"1"
] | c6x | reorg_emit_nops | c6x | VLIW | GCC | 29,123 | 483 | 1 | [] |
[
"<s>",
"static",
"bool",
"aarch64_extr_rtx_p",
"(",
"rtx",
"x",
",",
"rtx",
"*",
"res_op0",
",",
"rtx",
"*",
"res_op1",
")",
"{",
"rtx",
"op0",
",",
"op1",
";",
"machine_mode",
"mode",
"=",
"GET_MODE",
"(",
"x",
")",
";",
"*",
"res_op0",
"=",
"NULL_R... | [
"Return",
"true",
"iff",
"X",
"is",
"an",
"rtx",
"that",
"will",
"match",
"an",
"extr",
"instruction",
"i.e",
".",
"as",
"described",
"in",
"the",
"*",
"extr",
"<",
"mode",
">",
"5_insn",
"family",
"of",
"patterns",
".",
"OP0",
"and",
"OP1",
"will",
... | [
"aarch64",
"0",
"1",
"1",
"1",
"1",
"1",
"0",
"0"
] | aarch643 | aarch64_extr_rtx_p | aarch64 | CPU | GCC | 29,124 | 225 | 1 | [] |
[
"<s>",
"void",
"mips_expand_vec_reduc",
"(",
"rtx",
"target",
",",
"rtx",
"in",
",",
"rtx",
"(",
"*",
"gen",
")",
"(",
"rtx",
",",
"rtx",
",",
"rtx",
")",
")",
"{",
"machine_mode",
"vmode",
"=",
"GET_MODE",
"(",
"in",
")",
";",
"unsigned",
"char",
... | [
"Expand",
"a",
"vector",
"reduction",
"."
] | [
"mips",
"2",
"0",
"1",
"1",
"2",
"2",
"16",
"16",
"8"
] | mips4 | mips_expand_vec_reduc | mips | CPU | GCC | 29,125 | 338 | 1 | [] |
[
"<s>",
"static",
"rtx",
"move_to_acc",
"(",
"int",
"opno",
",",
"rtx_insn",
"*",
"before",
")",
"{",
"rtx",
"src",
"=",
"OP",
"(",
"opno",
")",
";",
"machine_mode",
"mode",
"=",
"GET_MODE",
"(",
"src",
")",
";",
"if",
"(",
"REG_P",
"(",
"src",
")",... | [
"Copy",
"SRC",
"to",
"accumulator",
"(",
"A",
"or",
"AX",
")",
",",
"placing",
"any",
"generated",
"insns",
"before",
"BEFORE",
".",
"Returns",
"accumulator",
"RTX",
"."
] | [
"rl78",
"2"
] | rl78 | move_to_acc | rl78 | MPU | GCC | 29,126 | 79 | 1 | [] |
[
"<s>",
"void",
"maybe_unlink",
"(",
"const",
"char",
"*",
"file",
")",
"{",
"if",
"(",
"!",
"save_temps",
")",
"{",
"if",
"(",
"unlink_if_ordinary",
"(",
"file",
")",
"&&",
"errno",
"!=",
"ENOENT",
")",
"fatal_error",
"(",
"input_location",
",",
"\"delet... | [
"Unlink",
"a",
"temporary",
"file",
"unless",
"requested",
"otherwise",
"."
] | [
"i386",
"\"deleting file %s: %m\"",
"\"[Leaving %s]\\n\""
] | intelmic-mkoffload | maybe_unlink | i386 | CPU | GCC | 29,127 | 51 | 1 | [] |
[
"<s>",
"bool",
"HexagonInstrInfo",
"::",
"PredicateInstruction",
"(",
"MachineInstr",
"&",
"MI",
",",
"ArrayRef",
"<",
"MachineOperand",
">",
"Cond",
")",
"const",
"{",
"if",
"(",
"Cond",
".",
"empty",
"(",
")",
"||",
"isNewValueJump",
"(",
"Cond",
"[",
"0... | [
"Convert",
"the",
"instruction",
"into",
"a",
"predicated",
"instruction",
"."
] | [
"Hexagon",
"Hexagon",
"0",
"0",
"\"\\nCannot predicate:\"",
"\"Expected predicable instruction\"",
"0",
"1",
"0"
] | HexagonInstrInfo35 | PredicateInstruction | Hexagon | DSP | LLVM | 29,128 | 376 | 1 | [] |
[
"<s>",
"static",
"rtx",
"arm_libcall_value",
"(",
"machine_mode",
"mode",
",",
"const_rtx",
"libcall",
")",
"{",
"if",
"(",
"TARGET_AAPCS_BASED",
"&&",
"arm_pcs_default",
"!=",
"ARM_PCS_AAPCS",
"&&",
"GET_MODE_CLASS",
"(",
"mode",
")",
"==",
"MODE_FLOAT",
")",
"... | [
"Define",
"how",
"to",
"find",
"the",
"value",
"returned",
"by",
"a",
"library",
"function",
"assuming",
"the",
"value",
"has",
"mode",
"MODE",
"."
] | [
"arm",
"1"
] | arm | arm_libcall_value | arm | CPU | GCC | 29,129 | 53 | 1 | [] |
[
"<s>",
"SDValue",
"SystemZTargetLowering",
"::",
"LowerReturn",
"(",
"SDValue",
"Chain",
",",
"CallingConv",
"::",
"ID",
"CallConv",
",",
"bool",
"isVarArg",
",",
"const",
"SmallVectorImpl",
"<",
"ISD",
"::",
"OutputArg",
">",
"&",
"Outs",
",",
"DebugLoc",
"dl... | [
"This",
"hook",
"must",
"be",
"implemented",
"to",
"lower",
"outgoing",
"return",
"values",
",",
"described",
"by",
"the",
"Outs",
"array",
",",
"into",
"the",
"specified",
"DAG",
"."
] | [
"SystemZ",
"SystemZ",
"ISD::OutputArg",
"16",
"SystemZ",
"0",
"0",
"\"Can only return in registers!\"",
"ISD::SIGN_EXTEND",
"ISD::ZERO_EXTEND",
"ISD::ANY_EXTEND",
"1",
"SystemZISD::RET_FLAG",
"MVT::Other",
"SystemZISD::RET_FLAG",
"MVT::Other"
] | SystemZISelLowering101 | LowerReturn | SystemZ | CPU | LLVM | 29,130 | 372 | 1 | [] |
[
"<s>",
"InstructionCost",
"ARMTTIImpl",
"::",
"getIntImmCodeSizeCost",
"(",
"unsigned",
"Opcode",
",",
"unsigned",
"Idx",
",",
"const",
"APInt",
"&",
"Imm",
",",
"Type",
"*",
"Ty",
")",
"{",
"if",
"(",
"Imm",
".",
"isNonNegative",
"(",
")",
"&&",
"Imm",
... | [
"Return",
"the",
"expected",
"cost",
"for",
"the",
"given",
"integer",
"when",
"optimising",
"for",
"size",
"."
] | [
"ARM",
"ARM",
"256",
"0",
"1"
] | ARMTargetTransformInfo14 | getIntImmCodeSizeCost | ARM | CPU | LLVM | 29,131 | 44 | 1 | [] |
[
"<s>",
"ARMSubtarget",
"::",
"ARMSubtarget",
"(",
"const",
"Triple",
"&",
"TT",
",",
"const",
"std",
"::",
"string",
"&",
"CPU",
",",
"const",
"std",
"::",
"string",
"&",
"FS",
",",
"const",
"ARMBaseTargetMachine",
"&",
"TM",
",",
"bool",
"IsLittle",
","... | [
"This",
"constructor",
"initializes",
"the",
"data",
"members",
"to",
"match",
"that",
"of",
"the",
"specified",
"triple",
"."
] | [
"ARM",
"ARM",
"ARM",
"ARM",
"ARM",
"ARM",
"ARM",
"ARM",
"ARM",
"ARM",
"ARM",
"ARM",
"ARM",
"ARM"
] | ARMSubtarget37 | ARMSubtarget | ARM | CPU | LLVM | 29,132 | 219 | 1 | [] |
[
"<s>",
"bool",
"MBlazeTargetMachine",
"::",
"addPreEmitPass",
"(",
"PassManagerBase",
"&",
"PM",
",",
"CodeGenOpt",
"::",
"Level",
"OptLevel",
")",
"{",
"PM",
".",
"add",
"(",
"createMBlazeDelaySlotFillerPass",
"(",
"*",
"this",
")",
")",
";",
"return",
"true"... | [
"This",
"pass",
"may",
"be",
"implemented",
"by",
"targets",
"that",
"want",
"to",
"run",
"passes",
"immediately",
"before",
"machine",
"code",
"is",
"emitted",
"."
] | [
"MBlaze",
"MBlaze",
"MBlaze"
] | MBlazeTargetMachine1 | addPreEmitPass | MBlaze | MPU | LLVM | 29,133 | 30 | 1 | [] |
[
"<s>",
"const",
"char",
"*",
"arm_strip_name_encoding",
"(",
"const",
"char",
"*",
"name",
")",
"{",
"int",
"skip",
";",
"while",
"(",
"(",
"skip",
"=",
"arm_get_strip_length",
"(",
"*",
"name",
")",
")",
")",
"name",
"+=",
"skip",
";",
"return",
"name... | [
"Return",
"a",
"pointer",
"to",
"a",
"function",
"'s",
"name",
"with",
"any",
"and",
"all",
"prefix",
"encodings",
"stripped",
"from",
"it",
"."
] | [
"arm"
] | arm2 | arm_strip_name_encoding | arm | CPU | GCC | 29,134 | 34 | 1 | [] |
[
"<s>",
"void",
"getAnalysisUsage",
"(",
"AnalysisUsage",
"&",
"AU",
")",
"const",
"override",
"{",
"AU",
".",
"setPreservesCFG",
"(",
")",
";",
"MachineFunctionPass",
"::",
"getAnalysisUsage",
"(",
"AU",
")",
";",
"}",
"</s>"
] | [
"getAnalysisUsage",
"-",
"Subclasses",
"that",
"override",
"getAnalysisUsage",
"must",
"call",
"this",
"."
] | [
"ARM64"
] | ARM64AdvSIMDScalarPass1 | getAnalysisUsage | ARM64 | CPU | LLVM | 29,135 | 24 | 1 | [] |
[
"<s>",
"bool",
"ARMFrameLowering",
"::",
"keepFramePointer",
"(",
"const",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"return",
"MF",
".",
"getSubtarget",
"<",
"ARMSubtarget",
">",
"(",
")",
".",
"useFastISel",
"(",
")",
";",
"}",
"</s>"
] | [
"Return",
"true",
"if",
"the",
"target",
"wants",
"to",
"keep",
"the",
"frame",
"pointer",
"regardless",
"of",
"the",
"function",
"attribute",
"``",
"frame-pointer",
"''",
"."
] | [
"ARM",
"ARM",
"ARM"
] | ARMFrameLowering100 | keepFramePointer | ARM | CPU | LLVM | 29,136 | 27 | 1 | [] |
[
"<s>",
"bool",
"VZeroUpperInserter",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"{",
"const",
"X86Subtarget",
"&",
"ST",
"=",
"MF",
".",
"getTarget",
"(",
")",
".",
"getSubtarget",
"<",
"X86Subtarget",
">",
"(",
")",
";",
"if",
"... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"X86",
"X86",
"X86",
"X86::VR256RegClass",
"\"X86VZeroUpper state should be clear\"",
"\"MBB #\"",
"\" was Pass-through, is now Dirty-out.\\n\""
] | X86VZeroUpper6 | runOnMachineFunction | X86 | CPU | LLVM | 29,137 | 358 | 1 | [] |
[
"<s>",
"void",
"AVRAsmBackend",
"::",
"applyFixup",
"(",
"const",
"MCFixup",
"&",
"Fixup",
",",
"char",
"*",
"Data",
",",
"unsigned",
"DataSize",
",",
"uint64_t",
"Value",
",",
"bool",
"IsPCRel",
",",
"MCContext",
"&",
"Ctx",
")",
"const",
"{",
"if",
"("... | [
"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",
"."
] | [
"AVR",
"AVR",
"0",
"8",
"8",
"0",
"0",
"1",
"\"Invalid fixup offset!\"",
"0",
"8",
"0xff"
] | AVRAsmBackend5 | applyFixup | AVR | MPU | LLVM | 29,138 | 154 | 1 | [] |
[
"<s>",
"static",
"e_funkind",
"funkind",
"(",
"tree",
"funtype",
")",
"{",
"tree",
"attrs",
"=",
"TYPE_ATTRIBUTES",
"(",
"funtype",
")",
";",
"if",
"(",
"lookup_attribute",
"(",
"\"interrupt_handler\"",
",",
"attrs",
")",
")",
"return",
"INTERRUPT_HANDLER",
";... | [
"Examine",
"machine-dependent",
"attributes",
"of",
"function",
"type",
"FUNTYPE",
"and",
"return",
"its",
"type",
".",
"See",
"the",
"definition",
"of",
"E_FUNKIND",
"."
] | [
"bfin",
"\"interrupt_handler\"",
"\"exception_handler\"",
"\"nmi_handler\""
] | bfin2 | funkind | bfin | DSP | GCC | 29,139 | 59 | 1 | [] |
[
"<s>",
"unsigned",
"int",
"vectors_per_tuple",
"(",
")",
"const",
"OVERRIDE",
"{",
"return",
"m_vectors_per_tuple",
";",
"}",
"</s>"
] | [
"If",
"the",
"function",
"operates",
"on",
"tuples",
"of",
"vectors",
",",
"return",
"the",
"number",
"of",
"vectors",
"in",
"the",
"tuples",
",",
"otherwise",
"return",
"1",
"."
] | [
"aarch64"
] | aarch64-sve-builtins-functions | vectors_per_tuple | aarch64 | CPU | GCC | 29,140 | 12 | 1 | [] |
[
"<s>",
"SDValue",
"ARMSelectionDAGInfo",
"::",
"EmitTargetCodeForMemset",
"(",
"SelectionDAG",
"&",
"DAG",
",",
"SDLoc",
"dl",
",",
"SDValue",
"Chain",
",",
"SDValue",
"Dst",
",",
"SDValue",
"Src",
",",
"SDValue",
"Size",
",",
"unsigned",
"Align",
",",
"bool",... | [
"Emit",
"target-specific",
"code",
"that",
"performs",
"a",
"memset",
"."
] | [
"ARM",
"ARM",
"ARM",
"ARM",
"ARM",
"MVT::i32",
"ISD::TRUNCATE",
"MVT::i32",
"ISD::ZERO_EXTEND",
"MVT::i32",
"0"
] | ARMSelectionDAGInfo12 | EmitTargetCodeForMemset | ARM | CPU | LLVM | 29,141 | 354 | 1 | [] |
[
"<s>",
"int",
"valid_mov3q_const",
"(",
"rtx",
"constant",
")",
"{",
"int",
"i",
";",
"if",
"(",
"TARGET_CFV4",
"&&",
"GET_CODE",
"(",
"constant",
")",
"==",
"CONST_INT",
")",
"{",
"i",
"=",
"INTVAL",
"(",
"constant",
")",
";",
"if",
"(",
"(",
"i",
... | [
"Return",
"1",
"if",
"'constant",
"'",
"can",
"be",
"represented",
"by",
"mov3q",
"on",
"a",
"ColdFire",
"V4",
"core",
"."
] | [
"m68k",
"1",
"1",
"7",
"1",
"0"
] | m68k3 | valid_mov3q_const | m68k | MPU | GCC | 29,142 | 56 | 1 | [] |
[
"<s>",
"void",
"applyFixup",
"(",
"const",
"MCFixup",
"&",
"Fixup",
",",
"char",
"*",
"Data",
",",
"unsigned",
"DataSize",
",",
"uint64_t",
"Value",
")",
"const",
"{",
"Value",
"=",
"adjustFixupValue",
"(",
"Fixup",
".",
"getKind",
"(",
")",
",",
"Value"... | [
"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",
"."
] | [
"PowerPC",
"0",
"1",
"8",
"0xff"
] | PPCAsmBackend1 | applyFixup | PowerPC | CPU | LLVM | 29,143 | 104 | 1 | [] |
[
"<s>",
"unsigned",
"HexagonMCCodeEmitter",
"::",
"getMachineOpValue",
"(",
"MCInst",
"const",
"&",
"MI",
",",
"MCOperand",
"const",
"&",
"MO",
",",
"SmallVectorImpl",
"<",
"MCFixup",
">",
"&",
"Fixups",
",",
"MCSubtargetInfo",
"const",
"&",
"STI",
")",
"const"... | [
"getMachineOpValue",
"-",
"Return",
"binary",
"encoding",
"of",
"operand",
"."
] | [
"Hexagon",
"Hexagon",
"\"Only Immediates and Registers implemented right now\""
] | HexagonMCCodeEmitter22 | getMachineOpValue | Hexagon | DSP | LLVM | 29,144 | 80 | 1 | [] |
[
"<s>",
"bool",
"X86TargetLowering",
"::",
"useLoadStackGuardNode",
"(",
")",
"const",
"{",
"return",
"Subtarget",
"->",
"isTargetMachO",
"(",
")",
"&&",
"Subtarget",
"->",
"is64Bit",
"(",
")",
";",
"}",
"</s>"
] | [
"If",
"this",
"function",
"returns",
"true",
",",
"SelectionDAGBuilder",
"emits",
"a",
"LOAD_STACK_GUARD",
"node",
"when",
"it",
"is",
"lowering",
"Intrinsic",
":",
":stackprotector",
"."
] | [
"X86",
"X86"
] | X86ISelLowering (2)3 | useLoadStackGuardNode | X86 | CPU | LLVM | 29,145 | 22 | 1 | [] |
[
"<s>",
"bool",
"HexagonRegisterInfo",
"::",
"shouldCoalesce",
"(",
"MachineInstr",
"*",
"MI",
",",
"const",
"TargetRegisterClass",
"*",
"SrcRC",
",",
"unsigned",
"SubReg",
",",
"const",
"TargetRegisterClass",
"*",
"DstRC",
",",
"unsigned",
"DstSubReg",
",",
"const... | [
"Subtarget",
"Hooks",
"."
] | [
"Hexagon",
"Hexagon",
"Hexagon",
"Hexagon",
"Hexagon::HvxWRRegClass",
"Hexagon::HvxVRRegClass",
"Hexagon::HvxVRRegClass",
"0",
"1"
] | HexagonRegisterInfo24 | shouldCoalesce | Hexagon | DSP | LLVM | 29,146 | 339 | 1 | [] |
[
"<s>",
"const",
"char",
"*",
"output_a_rotate",
"(",
"enum",
"rtx_code",
"code",
",",
"rtx",
"*",
"operands",
")",
"{",
"rtx",
"dst",
"=",
"operands",
"[",
"0",
"]",
";",
"rtx",
"rotate_amount",
"=",
"operands",
"[",
"2",
"]",
";",
"enum",
"shift_mode"... | [
"Output",
"a",
"rotate",
"insn",
"."
] | [
"h8300",
"0",
"2",
"0",
"0",
"2",
"6",
"8",
"10",
"13",
"\"xor.b\\t%s0,%t0\\n\\txor.b\\t%t0,%s0\\n\\txor.b\\t%s0,%t0\"",
"\"xor.w\\t%e0,%f0\\n\\txor.w\\t%f0,%e0\\n\\txor.w\\t%e0,%f0\"",
"2",
"2",
"1",
"0",
"2",
"2",
"\"\""
] | h8300 | output_a_rotate | h8300 | MPU | GCC | 29,147 | 405 | 1 | [] |
[
"<s>",
"rtx",
"function_expander",
"::",
"use_contiguous_store_insn",
"(",
"insn_code",
"icode",
")",
"{",
"machine_mode",
"mem_mode",
"=",
"memory_vector_mode",
"(",
")",
";",
"add_mem_operand",
"(",
"mem_mode",
",",
"get_contiguous_base",
"(",
"mem_mode",
")",
")"... | [
"Use",
"contiguous",
"store",
"INSN",
"."
] | [
"aarch64",
"0"
] | aarch64-sve-builtins | use_contiguous_store_insn | aarch64 | CPU | GCC | 29,148 | 54 | 1 | [] |
[
"<s>",
"void",
"OrderedRegisterList",
"::",
"insert",
"(",
"unsigned",
"VR",
")",
"{",
"iterator",
"L",
"=",
"std",
"::",
"lower_bound",
"(",
"Seq",
".",
"begin",
"(",
")",
",",
"Seq",
".",
"end",
"(",
")",
",",
"VR",
",",
"Ord",
")",
";",
"if",
... | [
"insert",
"-",
"Append",
"entry",
"to",
"the",
"vector",
"if",
"it",
"does",
"n't",
"already",
"exist",
"."
] | [
"Hexagon"
] | HexagonGenInsert12 | insert | Hexagon | DSP | LLVM | 29,149 | 94 | 1 | [] |
[
"<s>",
"void",
"visium_profile_hook",
"(",
"void",
")",
"{",
"visium_frame_needed",
"=",
"true",
";",
"emit_library_call",
"(",
"gen_rtx_SYMBOL_REF",
"(",
"Pmode",
",",
"\"mcount\"",
")",
",",
"LCT_NORMAL",
",",
"VOIDmode",
",",
"0",
")",
";",
"}",
"</s>"
] | [
"Profiling",
"support",
".",
"Just",
"a",
"call",
"to",
"MCOUNT",
"is",
"needed",
".",
"No",
"labelled",
"counter",
"location",
"is",
"involved",
".",
"Proper",
"support",
"for",
"__builtin_return_address",
"is",
"also",
"required",
",",
"which",
"is",
"fairly... | [
"visium",
"\"mcount\"",
"0"
] | visium2 | visium_profile_hook | visium | Virtual ISA | GCC | 29,150 | 27 | 1 | [] |
[
"<s>",
"unsigned",
"HSAILTargetLowering",
"::",
"getJumpTableEncoding",
"(",
")",
"const",
"{",
"return",
"MachineJumpTableInfo",
"::",
"EK_BlockAddress",
";",
"}",
"</s>"
] | [
"Return",
"the",
"entry",
"encoding",
"for",
"a",
"jump",
"table",
"in",
"the",
"current",
"function",
"."
] | [
"HSAIL",
"HSAIL"
] | HSAILISelLowering | getJumpTableEncoding | HSAIL | Virtual ISA | LLVM | 29,151 | 14 | 1 | [] |
[
"<s>",
"static",
"unsigned",
"int",
"get_csky_live_regs",
"(",
"int",
"*",
"count",
")",
"{",
"int",
"reg",
";",
"unsigned",
"int",
"live_regs_mask",
"=",
"0",
";",
"*",
"count",
"=",
"0",
";",
"for",
"(",
"reg",
"=",
"0",
";",
"reg",
"<",
"CSKY_NGPR... | [
"Return",
"the",
"mask",
"of",
"registers",
"used",
"by",
"the",
"current",
"function",
".",
"Set",
"COUNT",
"to",
"the",
"number",
"of",
"registers",
"used",
"."
] | [
"csky",
"0",
"0",
"0",
"8",
"13",
"15",
"2",
"1"
] | csky | get_csky_live_regs | csky | CPU | GCC | 29,152 | 228 | 1 | [] |
[
"<s>",
"static",
"int",
"get_some_local_dynamic_name_1",
"(",
"rtx",
"*",
"px",
",",
"void",
"*",
"data",
"ATTRIBUTE_UNUSED",
")",
"{",
"rtx",
"x",
"=",
"*",
"px",
";",
"if",
"(",
"GET_CODE",
"(",
"x",
")",
"==",
"SYMBOL_REF",
"&&",
"SYMBOL_REF_TLS_MODEL",... | [
"See",
"'get_some_local_dynamic_name",
"'",
"."
] | [
"i386",
"0",
"1",
"0"
] | i3863 | get_some_local_dynamic_name_1 | i386 | CPU | GCC | 29,153 | 58 | 1 | [] |
[
"<s>",
"void",
"AMDGPUAsmBackend",
"::",
"applyFixup",
"(",
"const",
"MCFixup",
"&",
"Fixup",
",",
"char",
"*",
"Data",
",",
"unsigned",
"DataSize",
",",
"uint64_t",
"Value",
",",
"bool",
"IsPCRel",
")",
"const",
"{",
"uint16_t",
"*",
"Dst",
"=",
"(",
"u... | [
"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",
"."
] | [
"R600",
"4",
"4"
] | AMDGPUAsmBackend24 | applyFixup | R600 | GPU | LLVM | 29,154 | 66 | 1 | [] |
[
"<s>",
"bool",
"SIInstrInfo",
"::",
"isBranchOffsetInRange",
"(",
"unsigned",
"BranchOp",
",",
"int64_t",
"BrOffset",
")",
"const",
"{",
"assert",
"(",
"BranchOp",
"!=",
"AMDGPU",
"::",
"S_SETPC_B64",
")",
";",
"BrOffset",
"/=",
"4",
";",
"BrOffset",
"-=",
"... | [
"Determine",
"if",
"the",
"branch",
"target",
"is",
"in",
"range",
"."
] | [
"AMDGPU",
"SI",
"AMDGPU::S_SETPC_B64",
"4",
"1"
] | SIInstrInfo (2) | isBranchOffsetInRange | AMDGPU | GPU | LLVM | 29,155 | 39 | 1 | [] |
[
"<s>",
"static",
"int",
"ix86_builtin_vectorization_cost",
"(",
"enum",
"vect_cost_for_stmt",
"type_of_cost",
",",
"tree",
"vectype",
",",
"int",
")",
"{",
"bool",
"fp",
"=",
"false",
";",
"machine_mode",
"mode",
"=",
"TImode",
";",
"int",
"index",
";",
"if",
... | [
"Implement",
"targetm.vectorize.builtin_vectorization_cost",
"."
] | [
"i386",
"1",
"0",
"2",
"2",
"0",
"2",
"2",
"0",
"2",
"2",
"0",
"2",
"2",
"0",
"2",
"2",
"0",
"2",
"2",
"2",
"2",
"256",
"512",
"3"
] | i3867 | ix86_builtin_vectorization_cost | i386 | CPU | GCC | 29,156 | 487 | 1 | [] |
[
"<s>",
"void",
"NVPTXInstrInfo",
"::",
"copyPhysReg",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"I",
",",
"const",
"DebugLoc",
"&",
"DL",
",",
"unsigned",
"DestReg",
",",
"unsigned",
"SrcReg",
",",
"bool",
"KillSrc",
")"... | [
"}",
"Branch",
"Analysis",
"&",
"Modification"
] | [
"NVPTX",
"NVPTX",
"\"Copy one register into another with a different width\"",
"NVPTX::Int1RegsRegClass",
"NVPTX::IMOV1rr",
"NVPTX::Int16RegsRegClass",
"NVPTX::IMOV16rr",
"NVPTX::Int32RegsRegClass",
"NVPTX::Int32RegsRegClass",
"NVPTX::IMOV32rr",
"NVPTX::BITCONVERT_32_F2I",
"NVPTX::Int64RegsReg... | NVPTXInstrInfo1 | copyPhysReg | NVPTX | GPU | LLVM | 29,157 | 338 | 1 | [] |
[
"<s>",
"SDValue",
"VECustomDAG",
"::",
"getLegalReductionOpVVP",
"(",
"unsigned",
"VVPOpcode",
",",
"EVT",
"ResVT",
",",
"SDValue",
"StartV",
",",
"SDValue",
"VectorV",
",",
"SDValue",
"Mask",
",",
"SDValue",
"AVL",
",",
"SDNodeFlags",
"Flags",
")",
"const",
"... | [
"}",
"getNode"
] | [
"VE",
"VECustomDAG::getLegalReductionOpVVP",
"\"TODO Implement\""
] | VECustomDAG1 | getLegalReductionOpVVP | VE | CPU | LLVM | 29,158 | 167 | 1 | [] |
[
"<s>",
"unsigned",
"RISCVInstrInfo",
"::",
"isLoadFromStackSlot",
"(",
"const",
"MachineInstr",
"*",
"MI",
",",
"int",
"&",
"FrameIndex",
")",
"const",
"{",
"return",
"isSimpleMove",
"(",
"MI",
",",
"FrameIndex",
",",
"RISCVII",
"::",
"SimpleLoad",
")",
";",
... | [
"isLoadFromStackSlot",
"-",
"If",
"the",
"specified",
"machine",
"instruction",
"is",
"a",
"direct",
"load",
"from",
"a",
"stack",
"slot",
",",
"return",
"the",
"virtual",
"or",
"physical",
"register",
"number",
"of",
"the",
"destination",
"along",
"with",
"th... | [
"RISCV",
"RISCV",
"RISCVII::SimpleLoad"
] | RISCVInstrInfo (2)1 | isLoadFromStackSlot | RISCV | CPU | LLVM | 29,159 | 29 | 1 | [] |
[
"<s>",
"virtual",
"const",
"MBlazeSubtarget",
"*",
"getSubtargetImpl",
"(",
")",
"const",
"{",
"return",
"&",
"Subtarget",
";",
"}",
"</s>"
] | [
"Virtual",
"method",
"implemented",
"by",
"subclasses",
"that",
"returns",
"a",
"reference",
"to",
"that",
"target",
"'s",
"TargetSubtargetInfo-derived",
"member",
"variable",
"."
] | [
"MBlaze",
"MBlaze"
] | MBlazeTargetMachine | getSubtargetImpl | MBlaze | MPU | LLVM | 29,160 | 14 | 1 | [] |
[
"<s>",
"static",
"int",
"rs6000_register_move_cost",
"(",
"machine_mode",
"mode",
",",
"reg_class_t",
"from",
",",
"reg_class_t",
"to",
")",
"{",
"int",
"ret",
";",
"if",
"(",
"TARGET_DEBUG_COST",
")",
"dbg_cost_ctrl",
"++",
";",
"if",
"(",
"reg_classes_intersec... | [
"A",
"C",
"expression",
"returning",
"the",
"cost",
"of",
"moving",
"data",
"from",
"a",
"register",
"of",
"class",
"CLASS1",
"to",
"one",
"of",
"CLASS2",
"."
] | [
"rs6000",
"4",
"6",
"0",
"2",
"0",
"2",
"4",
"2",
"1",
"\"rs6000_register_move_cost:, ret=%d, mode=%s, from=%s, to=%s\\n\""
] | rs60007 | rs6000_register_move_cost | rs6000 | CPU | GCC | 29,161 | 281 | 1 | [] |
[
"<s>",
"static",
"int",
"iq2000_address_cost",
"(",
"rtx",
"addr",
",",
"machine_mode",
"mode",
",",
"addr_space_t",
"as",
",",
"bool",
"speed",
")",
"{",
"switch",
"(",
"GET_CODE",
"(",
"addr",
")",
")",
"{",
"case",
"LO_SUM",
":",
"return",
"1",
";",
... | [
"Provide",
"the",
"costs",
"of",
"an",
"addressing",
"mode",
"that",
"contains",
"ADDR",
"."
] | [
"iq2000",
"1",
"2",
"0",
"2",
"4",
"2",
"1",
"2",
"0",
"1",
"1",
"0",
"1",
"2",
"1",
"4"
] | iq2000 | iq2000_address_cost | iq2000 | CPU | GCC | 29,162 | 244 | 1 | [] |
[
"<s>",
"const",
"char",
"*",
"pa_output_mul_insn",
"(",
"int",
"unsignedp",
"ATTRIBUTE_UNUSED",
",",
"rtx_insn",
"*",
"insn",
")",
"{",
"import_milli",
"(",
"mulI",
")",
";",
"return",
"pa_output_millicode_call",
"(",
"insn",
",",
"gen_rtx_SYMBOL_REF",
"(",
"Pmo... | [
"The",
"register",
"constraints",
"have",
"put",
"the",
"operands",
"and",
"return",
"value",
"in",
"the",
"proper",
"registers",
"."
] | [
"pa",
"\"$$mulI\""
] | pa | pa_output_mul_insn | pa | CPU | GCC | 29,163 | 33 | 1 | [] |
[
"<s>",
"void",
"push",
"(",
"MachineInstr",
"*",
"MI",
")",
"{",
"if",
"(",
"Set",
".",
"insert",
"(",
"MI",
")",
".",
"second",
")",
"Uses",
".",
"push",
"(",
"MI",
")",
";",
"}",
"</s>"
] | [
"Push",
"the",
"current",
"solver",
"state",
"."
] | [
"Hexagon"
] | BitTracker17 | push | Hexagon | DSP | LLVM | 29,164 | 27 | 1 | [] |
[
"<s>",
"static",
"rtx",
"loongarch_function_value_1",
"(",
"const_tree",
"type",
",",
"const_tree",
"func",
",",
"machine_mode",
"mode",
")",
"{",
"struct",
"loongarch_arg_info",
"info",
";",
"CUMULATIVE_ARGS",
"args",
";",
"if",
"(",
"type",
")",
"{",
"int",
... | [
"Implement",
"FUNCTION_VALUE",
"and",
"LIBCALL_VALUE",
".",
"For",
"normal",
"calls",
",",
"VALTYPE",
"is",
"the",
"return",
"type",
"and",
"MODE",
"is",
"VOIDmode",
".",
"For",
"libcalls",
",",
"VALTYPE",
"is",
"null",
"and",
"MODE",
"is",
"the",
"mode",
... | [
"loongarch",
"1",
"0"
] | loongarch | loongarch_function_value_1 | loongarch | CPU | GCC | 29,165 | 90 | 1 | [] |
[
"<s>",
"int",
"AMDGPUInstrInfo",
"::",
"pseudoToMCOpcode",
"(",
"int",
"Opcode",
")",
"const",
"{",
"int",
"MCOp",
"=",
"AMDGPU",
"::",
"getMCOpcode",
"(",
"Opcode",
",",
"AMDGPUSubtargetToSISubtarget",
"(",
"RI",
".",
"ST",
".",
"getGeneration",
"(",
")",
"... | [
"Return",
"a",
"target-specific",
"opcode",
"if",
"Opcode",
"is",
"a",
"pseudo",
"instruction",
"."
] | [
"R600",
"SI",
"1",
"1",
"1"
] | AMDGPUInstrInfo16 | pseudoToMCOpcode | R600 | GPU | LLVM | 29,166 | 59 | 1 | [] |
[
"<s>",
"SDValue",
"ARMTargetLowering",
"::",
"PerformCMOVCombine",
"(",
"SDNode",
"*",
"N",
",",
"SelectionDAG",
"&",
"DAG",
")",
"const",
"{",
"SDValue",
"Cmp",
"=",
"N",
"->",
"getOperand",
"(",
"4",
")",
";",
"if",
"(",
"Cmp",
".",
"getOpcode",
"(",
... | [
"PerformCMOVCombine",
"-",
"Target-specific",
"DAG",
"combining",
"for",
"ARMISD",
":",
":CMOV",
"."
] | [
"ARM",
"ARM",
"4",
"ARMISD::CMPZ",
"0",
"0",
"1",
"0",
"1",
"ARM",
"2",
"ARMCC::CondCodes",
"ARMCC::CondCodes",
"ARM",
"ARMCC::NE",
"ARMISD::CMOV",
"ARM",
"3",
"ARMCC::EQ",
"ARM",
"ARM",
"ISD::SETNE",
"ARM",
"ARMISD::CMOV",
"ARM",
"3",
"0",
"0xfffffffe",
"ISD:... | ARMISelLowering (2) | PerformCMOVCombine | ARM | CPU | LLVM | 29,167 | 388 | 1 | [] |
[
"<s>",
"void",
"HvxSelector",
"::",
"materialize",
"(",
"const",
"ResultStack",
"&",
"Results",
")",
"{",
"DEBUG_WITH_TYPE",
"(",
"\"isel\"",
",",
"{",
"dbgs",
"(",
")",
"<<",
"\"Materializing\\n\"",
";",
"Results",
".",
"print",
"(",
"dbgs",
"(",
")",
","... | [
"This",
"method",
"can",
"be",
"implemented",
"to",
"generate",
"a",
"mapped",
"Value",
"on",
"demand",
"."
] | [
"Hexagon",
"\"isel\"",
"\"Materializing\\n\"",
"0",
"MVT::SimpleValueType",
"MVT::SimpleValueType",
"0",
"0",
"MVT::getVectorVT",
"2",
"Hexagon::vsub_lo",
"Hexagon::vsub_hi",
"MVT::Other",
"0",
"\"isel\"",
"\"Generated node:\\n\""
] | HexagonISelDAGToDAGHVX | materialize | Hexagon | DSP | LLVM | 29,168 | 493 | 1 | [] |
[
"<s>",
"void",
"AVRAsmPrinter",
"::",
"emitXXStructor",
"(",
"const",
"DataLayout",
"&",
"DL",
",",
"const",
"Constant",
"*",
"CV",
")",
"{",
"if",
"(",
"!",
"EmittedStructorSymbolAttrs",
")",
"{",
"OutStreamer",
"->",
"emitRawComment",
"(",
"\" Emitting these u... | [
"Targets",
"can",
"override",
"this",
"to",
"change",
"how",
"global",
"constants",
"that",
"are",
"part",
"of",
"a",
"C++",
"static/global",
"constructor",
"list",
"are",
"emitted",
"."
] | [
"AVR",
"AVR",
"\" Emitting these undefined symbol references causes us to link the\"",
"\" libgcc code that runs our constructors/destructors\"",
"\" This matches GCC's behavior\"",
"\"__do_global_ctors\"",
"\"__do_global_dtors\""
] | AVRAsmPrinter | emitXXStructor | AVR | MPU | LLVM | 29,169 | 92 | 1 | [] |
[
"<s>",
"bool",
"AMDGPUCallLowering",
"::",
"lowerReturn",
"(",
"MachineIRBuilder",
"&",
"MIRBuilder",
",",
"const",
"Value",
"*",
"Val",
",",
"ArrayRef",
"<",
"unsigned",
">",
"VRegs",
")",
"const",
"{",
"if",
"(",
"Val",
")",
"return",
"false",
";",
"MIRB... | [
"This",
"hook",
"behaves",
"as",
"the",
"extended",
"lowerReturn",
"function",
",",
"but",
"for",
"targets",
"that",
"do",
"not",
"support",
"swifterror",
"value",
"promotion",
"."
] | [
"AMDGPU",
"AMDGPU",
"AMDGPU::S_ENDPGM",
"0"
] | AMDGPUCallLowering43 | lowerReturn | AMDGPU | GPU | LLVM | 29,170 | 47 | 1 | [] |
[
"<s>",
"virtual",
"const",
"char",
"*",
"getPassName",
"(",
")",
"const",
"{",
"return",
"\"Patmos Ensure Alignment\"",
";",
"}",
"</s>"
] | [
"getPassName",
"-",
"Return",
"a",
"nice",
"clean",
"name",
"for",
"a",
"pass",
"."
] | [
"Patmos",
"\"Patmos Ensure Alignment\""
] | PatmosEnsureAlignment | getPassName | Patmos | VLIW | LLVM | 29,171 | 13 | 1 | [] |
[
"<s>",
"bool",
"RISCVFrameLowering",
"::",
"hasReservedCallFrame",
"(",
"const",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"return",
"!",
"MF",
".",
"getFrameInfo",
"(",
")",
".",
"hasVarSizedObjects",
"(",
")",
"&&",
"!",
"(",
"hasFP",
"(",
"MF",
"... | [
"hasReservedCallFrame",
"-",
"Under",
"normal",
"circumstances",
",",
"when",
"a",
"frame",
"pointer",
"is",
"not",
"required",
",",
"we",
"reserve",
"argument",
"space",
"for",
"call",
"sites",
"in",
"the",
"function",
"immediately",
"on",
"entry",
"to",
"the... | [
"RISCV",
"RISCV"
] | RISCVFrameLowering (2) | hasReservedCallFrame | RISCV | CPU | LLVM | 29,172 | 38 | 1 | [] |
[
"<s>",
"bool",
"PPCPassConfig",
"::",
"addPreEmitPass",
"(",
")",
"{",
"if",
"(",
"getOptLevel",
"(",
")",
"!=",
"CodeGenOpt",
"::",
"None",
")",
"addPass",
"(",
"createPPCEarlyReturnPass",
"(",
")",
")",
";",
"addPass",
"(",
"createPPCBranchSelectionPass",
"(... | [
"This",
"pass",
"may",
"be",
"implemented",
"by",
"targets",
"that",
"want",
"to",
"run",
"passes",
"immediately",
"before",
"machine",
"code",
"is",
"emitted",
"."
] | [
"PowerPC",
"PPC",
"PPC",
"PPC"
] | PPCTargetMachine (2) | addPreEmitPass | PowerPC | CPU | LLVM | 29,173 | 35 | 1 | [] |
[
"<s>",
"void",
"ARMAsmBackend",
"::",
"applyFixup",
"(",
"const",
"MCAssembler",
"&",
"Asm",
",",
"const",
"MCFixup",
"&",
"Fixup",
",",
"const",
"MCValue",
"&",
"Target",
",",
"MutableArrayRef",
"<",
"char",
">",
"Data",
",",
"uint64_t",
"Value",
",",
"bo... | [
"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",
"."
] | [
"ARM",
"ARM",
"\"Invalid fixup offset!\"",
"support::big",
"\"Invalid fixup size!\"",
"\"Invalid fixup size!\"",
"0",
"support::little",
"1",
"8",
"0xff"
] | ARMAsmBackend (2)2 | applyFixup | ARM | CPU | LLVM | 29,174 | 219 | 1 | [] |
[
"<s>",
"void",
"applyFixup",
"(",
"const",
"MCFixup",
"&",
"Fixup",
",",
"char",
"*",
"Data",
",",
"unsigned",
"DataSize",
",",
"uint64_t",
"Value",
",",
"bool",
"IsPCRel",
")",
"const",
"override",
"{",
"unsigned",
"Size",
"=",
"1",
"<<",
"getFixupKindLog... | [
"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",
"."
] | [
"X86",
"1",
"\"Invalid fixup offset!\"",
"8",
"1",
"\"Value does not fit in the Fixup field\"",
"0",
"8"
] | X86AsmBackend (2)3 | applyFixup | X86 | CPU | LLVM | 29,175 | 106 | 1 | [] |
[
"<s>",
"void",
"X86FrameLowering",
"::",
"determineCalleeSaves",
"(",
"MachineFunction",
"&",
"MF",
",",
"BitVector",
"&",
"SavedRegs",
",",
"RegScavenger",
"*",
"RS",
")",
"const",
"{",
"TargetFrameLowering",
"::",
"determineCalleeSaves",
"(",
"MF",
",",
"SavedRe... | [
"This",
"method",
"determines",
"which",
"of",
"the",
"registers",
"reported",
"by",
"TargetRegisterInfo",
":",
":getCalleeSavedRegs",
"(",
")",
"should",
"actually",
"get",
"saved",
"."
] | [
"X86",
"X86",
"X86",
"X86",
"X86",
"X86",
"0",
"X86",
"X86"
] | X86FrameLowering (2)4 | determineCalleeSaves | X86 | CPU | LLVM | 29,176 | 147 | 1 | [] |
[
"<s>",
"bool",
"R600InstrInfo",
"::",
"isPredicable",
"(",
"MachineInstr",
"*",
"MI",
")",
"const",
"{",
"if",
"(",
"MI",
"->",
"getOpcode",
"(",
")",
"==",
"AMDGPU",
"::",
"KILLGT",
")",
"{",
"return",
"false",
";",
"}",
"else",
"if",
"(",
"isVector",... | [
"Return",
"true",
"if",
"the",
"specified",
"instruction",
"can",
"be",
"predicated",
"."
] | [
"R600"
] | R600InstrInfo | isPredicable | R600 | GPU | LLVM | 29,177 | 54 | 1 | [] |
[
"<s>",
"std",
"::",
"pair",
"<",
"unsigned",
",",
"const",
"TargetRegisterClass",
"*",
">",
"XCoreTargetLowering",
"::",
"getRegForInlineAsmConstraint",
"(",
"const",
"TargetRegisterInfo",
"*",
"TRI",
",",
"StringRef",
"Constraint",
",",
"MVT",
"VT",
")",
"const",... | [
"Given",
"a",
"physical",
"register",
"constraint",
"(",
"e.g",
"."
] | [
"XCore",
"XCore",
"1",
"0",
"0U",
"XCore::GRRegsRegClass"
] | XCoreISelLowering (2)1 | getRegForInlineAsmConstraint | XCore | MPU | LLVM | 29,178 | 81 | 1 | [] |
[
"<s>",
"bool",
"XNCMTargetLowering",
"::",
"isZExtFree",
"(",
"EVT",
"VT1",
",",
"EVT",
"VT2",
")",
"const",
"{",
"return",
"0",
"&&",
"VT1",
"==",
"MVT",
"::",
"i8",
"&&",
"VT2",
"==",
"MVT",
"::",
"i16",
";",
"}",
"</s>"
] | [
"Return",
"true",
"if",
"zero-extending",
"the",
"specific",
"node",
"Val",
"to",
"type",
"VT2",
"is",
"free",
"(",
"either",
"because",
"it",
"'s",
"implicitly",
"zero-extended",
"such",
"as",
"ARM",
"ldrb",
"/",
"ldrh",
"or",
"because",
"it",
"'s",
"fold... | [
"XNCM",
"XNCM",
"0",
"MVT::i8",
"MVT::i16"
] | XNCMISelLowering | isZExtFree | XNCM | CPU | LLVM | 29,179 | 29 | 1 | [] |
[
"<s>",
"SDValue",
"Cpu0TargetLowering",
"::",
"LowerOperation",
"(",
"SDValue",
"Op",
",",
"SelectionDAG",
"&",
"DAG",
")",
"const",
"{",
"switch",
"(",
"Op",
".",
"getOpcode",
"(",
")",
")",
"{",
"case",
"ISD",
"::",
"BRCOND",
":",
"return",
"lowerBRCOND"... | [
"LowerOperation",
"-",
"Provide",
"custom",
"lowering",
"hooks",
"for",
"some",
"operations",
"."
] | [
"Cpu0",
"Cpu0",
"ISD::BRCOND",
"ISD::GlobalAddress",
"ISD::GlobalTLSAddress",
"ISD::BlockAddress",
"ISD::JumpTable",
"ISD::SELECT",
"ISD::VASTART",
"ISD::FRAMEADDR",
"ISD::RETURNADDR",
"ISD::EH_RETURN",
"ISD::ADD",
"ISD::ATOMIC_FENCE"
] | Cpu0ISelLowering | LowerOperation | Cpu0 | CPU | LLVM | 29,180 | 186 | 1 | [] |
[
"<s>",
"bool",
"NVPTXDAGToDAGISel",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"{",
"Subtarget",
"=",
"&",
"MF",
".",
"getSubtarget",
"<",
"NVPTXSubtarget",
">",
"(",
")",
";",
"return",
"SelectionDAGISel",
"::",
"runOnMachineFunction",
... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"NVPTX",
"NVPTX",
"NVPTX"
] | NVPTXISelDAGToDAG (2) | runOnMachineFunction | NVPTX | GPU | LLVM | 29,181 | 31 | 1 | [] |
[
"<s>",
"int",
"BSideAssigner",
"::",
"select",
"(",
"int",
"side",
",",
"const",
"res_set_t",
"&",
"set",
")",
"{",
"assert",
"(",
"set",
".",
"size",
"(",
")",
")",
";",
"if",
"(",
"set",
".",
"size",
"(",
")",
"==",
"1",
")",
"return",
"-",
"... | [
"Select",
"the",
"(",
"possibly",
"generic",
")",
"instruction",
"I",
"to",
"only",
"use",
"target-specific",
"opcodes",
"."
] | [
"TMS320C64X",
"1",
"1",
"0x1",
"1"
] | TMS320C64XClusterAssignment | select | TMS320C64X | VLIW | LLVM | 29,182 | 85 | 1 | [] |
[
"<s>",
"const",
"TargetRegisterClass",
"*",
"PPCRegisterInfo",
"::",
"getPointerRegClass",
"(",
")",
"const",
"{",
"if",
"(",
"Subtarget",
".",
"isPPC64",
"(",
")",
")",
"return",
"&",
"PPC",
"::",
"G8RCRegClass",
";",
"else",
"return",
"&",
"PPC",
"::",
"... | [
"getPointerRegClass",
"-",
"Returns",
"a",
"TargetRegisterClass",
"used",
"for",
"pointer",
"values",
"."
] | [
"PowerPC",
"PPC",
"PPC",
"PPC::G8RCRegClass",
"PPC::GPRCRegClass"
] | PPCRegisterInfo23 | getPointerRegClass | PowerPC | CPU | LLVM | 29,183 | 32 | 1 | [] |
[
"<s>",
"static",
"void",
"fold_mergehl_helper",
"(",
"gimple_stmt_iterator",
"*",
"gsi",
",",
"gimple",
"*",
"stmt",
",",
"int",
"use_high",
")",
"{",
"tree",
"arg0",
"=",
"gimple_call_arg",
"(",
"stmt",
",",
"0",
")",
";",
"tree",
"arg1",
"=",
"gimple_cal... | [
"Helper",
"function",
"to",
"handle",
"the",
"vector",
"merge",
"[",
"hl",
"]",
"built-ins",
".",
"The",
"implementation",
"difference",
"between",
"h",
"and",
"l",
"versions",
"for",
"this",
"code",
"are",
"in",
"the",
"values",
"used",
"when",
"building",
... | [
"rs6000",
"0",
"1",
"2",
"0",
"1",
"1",
"0"
] | rs6000-builtin | fold_mergehl_helper | rs6000 | CPU | GCC | 29,184 | 203 | 1 | [] |
[
"<s>",
"MCObjectWriter",
"*",
"BPFAsmBackend",
"::",
"createObjectWriter",
"(",
"raw_pwrite_stream",
"&",
"OS",
")",
"const",
"{",
"return",
"createBPFELFObjectWriter",
"(",
"OS",
",",
"0",
")",
";",
"}",
"</s>"
] | [
"Create",
"a",
"new",
"MCObjectWriter",
"instance",
"for",
"use",
"by",
"the",
"assembler",
"backend",
"to",
"emit",
"the",
"final",
"object",
"file",
"."
] | [
"BPF",
"BPF",
"BPF",
"0"
] | BPFAsmBackend28 | createObjectWriter | BPF | Virtual ISA | LLVM | 29,185 | 21 | 1 | [] |
[
"<s>",
"static",
"void",
"split_plus",
"(",
"rtx",
"x",
",",
"rtx",
"*",
"base_ptr",
",",
"HOST_WIDE_INT",
"*",
"offset_ptr",
")",
"{",
"if",
"(",
"GET_CODE",
"(",
"x",
")",
"==",
"PLUS",
"&&",
"CONST_INT_P",
"(",
"XEXP",
"(",
"x",
",",
"1",
")",
"... | [
"If",
"X",
"is",
"a",
"PLUS",
"of",
"a",
"CONST_INT",
",",
"return",
"the",
"two",
"terms",
"in",
"*",
"BASE_PTR",
"and",
"*",
"OFFSET_PTR",
".",
"Return",
"X",
"in",
"*",
"BASE_PTR",
"and",
"0",
"in",
"*",
"OFFSET_PTR",
"otherwise",
"."
] | [
"riscv",
"1",
"0",
"1",
"0"
] | thead | split_plus | riscv | CPU | GCC | 29,186 | 74 | 1 | [] |
[
"<s>",
"MachineBasicBlock",
"::",
"iterator",
"ARMFrameLowering",
"::",
"eliminateCallFramePseudoInstr",
"(",
"MachineFunction",
"&",
"MF",
",",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"I",
")",
"const",
"{",
"const",
"ARMBaseInstr... | [
"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",
")",
"."
] | [
"ARM",
"ARM",
"ARM",
"ARM",
"ARM",
"ARM",
"ARM",
"1",
"0",
"\"This eliminateCallFramePseudoInstr does not support Thumb1!\"",
"ARMCC::CondCodes",
"1",
"ARMCC::AL",
"ARMCC::CondCodes",
"0",
"0",
"ARM::ADJCALLSTACKDOWN",
"ARM::tADJCALLSTACKDOWN",
"ARM",
"ARM::ADJCALLSTACKUP",
"... | ARMFrameLowering5 | eliminateCallFramePseudoInstr | ARM | CPU | LLVM | 29,187 | 355 | 1 | [] |
[
"<s>",
"int",
"addr32_operand",
"(",
"rtx",
"op",
",",
"machine_mode",
"mode",
")",
"{",
"rtx",
"sym",
";",
"if",
"(",
"GET_CODE",
"(",
"op",
")",
"==",
"LABEL_REF",
")",
"return",
"TARGET_ADDR32",
";",
"if",
"(",
"GET_CODE",
"(",
"op",
")",
"==",
"S... | [
"Return",
"1",
"if",
"OP",
"is",
"a",
"symbol",
"that",
"needs",
"32",
"bit",
"addressing",
"."
] | [
"m32r",
"0",
"0",
"0",
"0",
"1",
"0",
"0",
"0"
] | m32r | addr32_operand | m32r | MPU | GCC | 29,188 | 133 | 1 | [] |
[
"<s>",
"unsigned",
"PPCTTIImpl",
"::",
"getIntrinsicInstrCost",
"(",
"const",
"IntrinsicCostAttributes",
"&",
"ICA",
",",
"TTI",
"::",
"TargetCostKind",
"CostKind",
")",
"{",
"return",
"BaseT",
"::",
"getIntrinsicInstrCost",
"(",
"ICA",
",",
"CostKind",
")",
";",
... | [
"Get",
"intrinsic",
"cost",
"based",
"on",
"arguments",
"."
] | [
"PowerPC",
"PPC"
] | PPCTargetTransformInfo12 | getIntrinsicInstrCost | PowerPC | CPU | LLVM | 29,189 | 27 | 1 | [] |
[
"<s>",
"void",
"AMDGPUDAGToDAGISel",
"::",
"PreprocessISelDAG",
"(",
")",
"{",
"if",
"(",
"!",
"Subtarget",
"->",
"d16PreservesUnusedBits",
"(",
")",
")",
"return",
";",
"SelectionDAG",
"::",
"allnodes_iterator",
"Position",
"=",
"CurDAG",
"->",
"allnodes_end",
... | [
"PreprocessISelDAG",
"-",
"This",
"hook",
"allows",
"targets",
"to",
"hack",
"on",
"the",
"graph",
"before",
"instruction",
"selection",
"starts",
"."
] | [
"AMDGPU",
"AMDGPU",
"ISD::BUILD_VECTOR",
"\"After PreProcess:\\n\""
] | AMDGPUISelDAGToDAG105 | PreprocessISelDAG | AMDGPU | GPU | LLVM | 29,190 | 122 | 1 | [] |
[
"<s>",
"bool",
"MipsAsmPrinter",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"{",
"Subtarget",
"=",
"&",
"MF",
".",
"getSubtarget",
"<",
"MipsSubtarget",
">",
"(",
")",
";",
"MipsFI",
"=",
"MF",
".",
"getInfo",
"<",
"MipsFunctionInf... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"Mips",
"Mips",
"Mips",
"Mips",
"Mips",
"Mips",
"Mips16HardFloatInfo::FuncSignature",
"Mips",
"Mips",
"Mips16HardFloatInfo::FuncSignature"
] | MipsAsmPrinter18 | runOnMachineFunction | Mips | CPU | LLVM | 29,191 | 166 | 1 | [] |
[
"<s>",
"static",
"reg_class_t",
"ix86_preferred_reload_class",
"(",
"rtx",
"x",
",",
"reg_class_t",
"regclass",
")",
"{",
"machine_mode",
"mode",
"=",
"GET_MODE",
"(",
"x",
")",
";",
"if",
"(",
"regclass",
"==",
"NO_REGS",
")",
"return",
"NO_REGS",
";",
"if"... | [
"Put",
"float",
"CONST_DOUBLE",
"in",
"the",
"constant",
"pool",
"instead",
"of",
"fp",
"regs",
".",
"QImode",
"must",
"go",
"into",
"class",
"Q_REGS",
".",
"Narrow",
"ALL_REGS",
"to",
"GENERAL_REGS",
".",
"This",
"supports",
"allowing",
"movsf",
"and",
"mov... | [
"i386",
"0"
] | i3864 | ix86_preferred_reload_class | i386 | CPU | GCC | 29,192 | 244 | 1 | [] |
[
"<s>",
"static",
"rtx",
"bpf_function_value",
"(",
"const_tree",
"ret_type",
",",
"const_tree",
"fntype_or_decl",
",",
"bool",
"outgoing",
"ATTRIBUTE_UNUSED",
")",
"{",
"enum",
"machine_mode",
"mode",
";",
"int",
"unsignedp",
";",
"mode",
"=",
"TYPE_MODE",
"(",
... | [
"Return",
"an",
"RTX",
"representing",
"the",
"place",
"where",
"a",
"function",
"returns",
"or",
"receives",
"a",
"value",
"of",
"data",
"type",
"RET_TYPE",
",",
"a",
"tree",
"node",
"representing",
"a",
"data",
"type",
"."
] | [
"bpf",
"1"
] | bpf | bpf_function_value | bpf | Virtual ISA | GCC | 29,193 | 61 | 1 | [] |
[
"<s>",
"bool",
"Cpu0TargetLowering",
"::",
"isLegalAddressingMode",
"(",
"const",
"DataLayout",
"&",
"DL",
",",
"const",
"AddrMode",
"&",
"AM",
",",
"Type",
"*",
"Ty",
",",
"unsigned",
"AS",
",",
"Instruction",
"*",
"I",
")",
"const",
"{",
"if",
"(",
"AM... | [
"isLegalAddressingMode",
"-",
"Return",
"true",
"if",
"the",
"addressing",
"mode",
"represented",
"by",
"AM",
"is",
"legal",
"for",
"this",
"target",
",",
"for",
"a",
"load/store",
"of",
"the",
"specified",
"type",
"."
] | [
"Cpu0",
"Cpu0",
"0",
"1"
] | Cpu0ISelLowering4 | isLegalAddressingMode | Cpu0 | CPU | LLVM | 29,194 | 74 | 1 | [] |
[
"<s>",
"bool",
"HSAILAsmPrinter",
"::",
"doFinalization",
"(",
"Module",
"&",
"M",
")",
"{",
"EmitEndOfAsmFile",
"(",
"M",
")",
";",
"return",
"false",
";",
"}",
"</s>"
] | [
"doFinalization",
"-",
"Virtual",
"method",
"overriden",
"by",
"subclasses",
"to",
"do",
"any",
"necessary",
"clean",
"up",
"after",
"all",
"passes",
"have",
"run",
"."
] | [
"HSAIL",
"HSAIL"
] | HSAILAsmPrinter | doFinalization | HSAIL | Virtual ISA | LLVM | 29,195 | 19 | 1 | [] |
[
"<s>",
"bool",
"AMDGPUPerfHint",
"::",
"runOnFunction",
"(",
"Function",
"&",
"F",
")",
"{",
"const",
"Module",
"&",
"M",
"=",
"*",
"F",
".",
"getParent",
"(",
")",
";",
"DL",
"=",
"&",
"M",
".",
"getDataLayout",
"(",
")",
";",
"if",
"(",
"F",
".... | [
"runOnFunction",
"-",
"Virtual",
"method",
"overriden",
"by",
"subclasses",
"to",
"do",
"the",
"per-function",
"processing",
"of",
"the",
"pass",
"."
] | [
"AMDGPU",
"AMDGPU",
"\"amdgpu-wave-limiter\"",
"\"amdgpu-memory-bound\"",
"AMDGPU",
"\" MemInst cost: \"",
"\" IAMInst cost: \"",
"\" LSMInst cost: \"",
"\" TotalInst cost: \"",
"\" is memory bound\\n\"",
"\"amdgpu-memory-bound\"",
"\"true\"",
"AMDGPU::isEntryFunctionCC",
"\" needs limit w... | AMDGPUPerfHintAnalysis (2) | runOnFunction | AMDGPU | GPU | LLVM | 29,196 | 209 | 1 | [] |
[
"<s>",
"char",
"*",
"msp430_dirname",
"(",
"char",
"*",
"path",
")",
"{",
"int",
"last_elem",
"=",
"strlen",
"(",
"path",
")",
"-",
"1",
";",
"int",
"i",
"=",
"last_elem",
"-",
"(",
"IS_DIR_SEPARATOR",
"(",
"path",
"[",
"last_elem",
"]",
")",
"?",
... | [
"This",
"function",
"returns",
"the",
"enclosing",
"directory",
"of",
"PATH",
".",
"It",
"is",
"inconsequential",
"whether",
"PATH",
"ends",
"in",
"a",
"dirsep",
"or",
"not",
".",
"It",
"modifies",
"the",
"string",
"pointed",
"to",
"by",
"PATH",
"."
] | [
"msp430",
"1",
"1",
"0",
"0"
] | msp430-devices | msp430_dirname | msp430 | MPU | GCC | 29,197 | 76 | 1 | [] |
[
"<s>",
"static",
"inline",
"void",
"w32_error",
"(",
"const",
"char",
"*",
"function",
",",
"const",
"char",
"*",
"file",
",",
"int",
"line",
",",
"const",
"char",
"*",
"my_msg",
")",
"{",
"LPSTR",
"w32_msgbuf",
";",
"FormatMessageA",
"(",
"FORMAT_MESSAGE_... | [
"Print",
"out",
"the",
"GetLastError",
"(",
")",
"translation",
"."
] | [
"i386",
"0",
"\"internal error in %s, at %s:%d: %s: %s\\n\""
] | host-mingw32 | w32_error | i386 | CPU | GCC | 29,198 | 90 | 1 | [] |
[
"<s>",
"static",
"bool",
"rs6000_debug_legitimate_address_p",
"(",
"machine_mode",
"mode",
",",
"rtx",
"x",
",",
"bool",
"reg_ok_strict",
")",
"{",
"bool",
"ret",
"=",
"rs6000_legitimate_address_p",
"(",
"mode",
",",
"x",
",",
"reg_ok_strict",
")",
";",
"fprintf... | [
"Debug",
"version",
"of",
"rs6000_legitimate_address_p",
"."
] | [
"rs6000",
"\"\\nrs6000_legitimate_address_p: return = %s, mode = %s, \"",
"\"strict = %d, reload = %s, code = %s\\n\"",
"\"true\"",
"\"false\"",
"\"after\"",
"\"before\""
] | rs6000 | rs6000_debug_legitimate_address_p | rs6000 | CPU | GCC | 29,199 | 72 | 1 | [] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.