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>",
"bool",
"AZPRAsmPrinter",
"::",
"PrintAsmOperand",
"(",
"const",
"MachineInstr",
"*",
"MI",
",",
"unsigned",
"OpNum",
",",
"unsigned",
"AsmVariant",
",",
"const",
"char",
"*",
"ExtraCode",
",",
"raw_ostream",
"&",
"O",
")",
"{",
"const",
"MachineOperand... | [
"PrintAsmOperand",
"-",
"Print",
"out",
"an",
"operand",
"for",
"an",
"inline",
"asm",
"expression",
"."
] | [
"AZPR",
"AZPR",
"AZPR"
] | AZPRAsmPrinter | PrintAsmOperand | AZPR | CPU | LLVM | 8,200 | 82 | 1 | [] |
[
"<s>",
"void",
"addOptimizedRegAlloc",
"(",
")",
"override",
"{",
"addPass",
"(",
"createTPCExpandHWRegCopies",
"(",
")",
")",
";",
"TargetPassConfig",
"::",
"addOptimizedRegAlloc",
"(",
")",
";",
"}",
"</s>"
] | [
"addOptimizedRegAlloc",
"-",
"Add",
"passes",
"related",
"to",
"register",
"allocation",
"."
] | [
"TPC",
"TPC"
] | TPCTargetMachine | addOptimizedRegAlloc | TPC | Virtual ISA | LLVM | 8,201 | 20 | 1 | [] |
[
"<s>",
"bool",
"frv_const_unspec_p",
"(",
"rtx",
"x",
",",
"struct",
"frv_unspec",
"*",
"unspec",
")",
"{",
"if",
"(",
"GET_CODE",
"(",
"x",
")",
"==",
"CONST",
")",
"{",
"unspec",
"->",
"offset",
"=",
"0",
";",
"x",
"=",
"XEXP",
"(",
"x",
",",
"... | [
"Return",
"true",
"if",
"X",
"is",
"a",
"valid",
"relocation",
"unspec",
".",
"If",
"it",
"is",
",",
"fill",
"in",
"UNSPEC",
"appropriately",
"."
] | [
"frv",
"0",
"0",
"1",
"1",
"0",
"1",
"0",
"0",
"0",
"1",
"0",
"0"
] | frv | frv_const_unspec_p | frv | VLIW | GCC | 8,202 | 176 | 1 | [] |
[
"<s>",
"static",
"void",
"alpha_canonicalize_comparison",
"(",
"int",
"*",
"code",
",",
"rtx",
"*",
"op0",
",",
"rtx",
"*",
"op1",
",",
"bool",
"op0_preserve_value",
")",
"{",
"if",
"(",
"!",
"op0_preserve_value",
"&&",
"(",
"*",
"code",
"==",
"GE",
"||"... | [
"Canonicalize",
"a",
"comparison",
"from",
"one",
"we",
"do",
"n't",
"have",
"to",
"one",
"we",
"do",
"have",
"."
] | [
"alpha",
"256",
"255"
] | alpha4 | alpha_canonicalize_comparison | alpha | MPU | GCC | 8,203 | 146 | 1 | [] |
[
"<s>",
"static",
"rtx",
"rs6000_debug_legitimize_reload_address",
"(",
"rtx",
"x",
",",
"machine_mode",
"mode",
",",
"int",
"opnum",
",",
"int",
"type",
",",
"int",
"ind_levels",
",",
"int",
"*",
"win",
")",
"{",
"rtx",
"ret",
"=",
"rs6000_legitimize_reload_ad... | [
"Debug",
"version",
"of",
"rs6000_legitimize_reload_address",
"."
] | [
"rs6000",
"\"\\nrs6000_legitimize_reload_address: mode = %s, opnum = %d, \"",
"\"type = %d, ind_levels = %d, win = %d, original addr:\\n\"",
"\"Same address returned\\n\"",
"\"NULL returned\\n\"",
"\"New address:\\n\""
] | rs60004 | rs6000_debug_legitimize_reload_address | rs6000 | CPU | GCC | 8,204 | 114 | 1 | [] |
[
"<s>",
"bool",
"runOnModule",
"(",
"Module",
"&",
"M",
")",
"override",
"{",
"SetVector",
"<",
"Function",
"*",
">",
"Functions",
";",
"AnalysisGetter",
"AG",
";",
"for",
"(",
"Function",
"&",
"F",
":",
"M",
")",
"{",
"if",
"(",
"!",
"F",
".",
"isI... | [
"runOnModule",
"-",
"Virtual",
"method",
"overriden",
"by",
"subclasses",
"to",
"process",
"the",
"module",
"being",
"operated",
"on",
"."
] | [
"AMDGPU",
"AMDGPU",
"AMDGPU::isEntryFunctionCC"
] | AMDGPUAttributor | runOnModule | AMDGPU | GPU | LLVM | 8,205 | 210 | 1 | [] |
[
"<s>",
"bool",
"ix86_use_pseudo_pic_reg",
"(",
"void",
")",
"{",
"if",
"(",
"(",
"TARGET_64BIT",
"&&",
"(",
"ix86_cmodel",
"==",
"CM_SMALL_PIC",
"||",
"TARGET_PECOFF",
")",
")",
"||",
"!",
"flag_pic",
")",
"return",
"false",
";",
"return",
"true",
";",
"}"... | [
"Return",
"1",
"if",
"pseudo",
"register",
"should",
"be",
"created",
"and",
"used",
"to",
"hold",
"GOT",
"address",
"for",
"PIC",
"code",
"."
] | [
"i386"
] | i386 | ix86_use_pseudo_pic_reg | i386 | CPU | GCC | 8,206 | 30 | 1 | [] |
[
"<s>",
"rtx",
"ix86_libcall_value",
"(",
"enum",
"machine_mode",
"mode",
")",
"{",
"if",
"(",
"TARGET_64BIT",
")",
"{",
"switch",
"(",
"mode",
")",
"{",
"case",
"SFmode",
":",
"case",
"SCmode",
":",
"case",
"DFmode",
":",
"case",
"DCmode",
":",
"case",
... | [
"Define",
"how",
"to",
"find",
"the",
"value",
"returned",
"by",
"a",
"library",
"function",
"assuming",
"the",
"value",
"has",
"mode",
"MODE",
"."
] | [
"i386",
"0"
] | i3863 | ix86_libcall_value | i386 | CPU | GCC | 8,207 | 90 | 1 | [] |
[
"<s>",
"ScheduleHazardRecognizer",
"::",
"HazardType",
"GCNHazardRecognizer",
"::",
"getHazardType",
"(",
"SUnit",
"*",
"SU",
",",
"int",
"Stalls",
")",
"{",
"MachineInstr",
"*",
"MI",
"=",
"SU",
"->",
"getInstr",
"(",
")",
";",
"if",
"(",
"MI",
"->",
"isB... | [
"getHazardType",
"-",
"Return",
"the",
"hazard",
"type",
"of",
"emitting",
"this",
"node",
"."
] | [
"AMDGPU",
"SI",
"0",
"SI",
"SI",
"0",
"0",
"0",
"SI",
"0",
"SI",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"0"
] | GCNHazardRecognizer19 | getHazardType | AMDGPU | GPU | LLVM | 8,208 | 369 | 1 | [] |
[
"<s>",
"bool",
"isValid",
"(",
"unsigned",
"Val",
")",
"const",
"{",
"return",
"Val",
"<=",
"Max",
";",
"}",
"</s>"
] | [
"Returns",
"true",
"if",
"this",
"iterator",
"is",
"still",
"pointing",
"at",
"a",
"valid",
"entry",
"."
] | [
"AMDGPU"
] | AMDGPUAsmUtils6 | isValid | AMDGPU | GPU | LLVM | 8,209 | 14 | 1 | [] |
[
"<s>",
"bool",
"Comet2PassConfig",
"::",
"addInstSelector",
"(",
")",
"{",
"addPass",
"(",
"createComet2ISelDag",
"(",
"getComet2TargetMachine",
"(",
")",
")",
")",
";",
"return",
"false",
";",
"}",
"</s>"
] | [
"addInstSelector",
"-",
"This",
"method",
"should",
"install",
"an",
"instruction",
"selector",
"pass",
",",
"which",
"converts",
"from",
"LLVM",
"code",
"to",
"machine",
"instructions",
"."
] | [
"Comet2",
"Comet2",
"Comet2",
"Comet2"
] | Comet2TargetMachine | addInstSelector | Comet2 | CPU | LLVM | 8,210 | 21 | 1 | [] |
[
"<s>",
"static",
"void",
"mmix_target_asm_function_epilogue",
"(",
"FILE",
"*",
"stream",
",",
"HOST_WIDE_INT",
"locals_size",
"ATTRIBUTE_UNUSED",
")",
"{",
"fputc",
"(",
"'\\n'",
",",
"stream",
")",
";",
"}",
"</s>"
] | [
"TARGET_ASM_FUNCTION_EPILOGUE",
"."
] | [
"mmix"
] | mmix3 | mmix_target_asm_function_epilogue | mmix | CPU | GCC | 8,211 | 21 | 1 | [] |
[
"<s>",
"bool",
"PPCCodeEmitter",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"{",
"assert",
"(",
"(",
"MF",
".",
"getTarget",
"(",
")",
".",
"getRelocationModel",
"(",
")",
"!=",
"Reloc",
"::",
"Default",
"||",
"MF",
".",
"getTarg... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"PowerPC",
"PPC",
"\"JIT relocation model must be set to static or default!\"",
"0"
] | PPCCodeEmitter1 | runOnMachineFunction | PowerPC | CPU | LLVM | 8,212 | 124 | 1 | [] |
[
"<s>",
"bool",
"llvm",
"::",
"getAlign",
"(",
"const",
"CallInst",
"&",
"I",
",",
"unsigned",
"index",
",",
"unsigned",
"&",
"align",
")",
"{",
"if",
"(",
"MDNode",
"*",
"alignNode",
"=",
"I",
".",
"getMetadata",
"(",
"\"callalign\"",
")",
")",
"{",
... | [
"Return",
"the",
"minimum",
"known",
"alignment",
"in",
"bytes",
"of",
"the",
"actual",
"memory",
"reference",
"."
] | [
"NVPTX",
"\"callalign\"",
"0",
"16",
"0xFFFF",
"16"
] | NVPTXUtilities | getAlign | NVPTX | GPU | LLVM | 8,213 | 130 | 1 | [] |
[
"<s>",
"static",
"bool",
"darwin_local_data_pic",
"(",
"rtx",
"disp",
")",
"{",
"return",
"(",
"GET_CODE",
"(",
"disp",
")",
"==",
"UNSPEC",
"&&",
"XINT",
"(",
"disp",
",",
"1",
")",
"==",
"UNSPEC_MACHOPIC_OFFSET",
")",
";",
"}",
"</s>"
] | [
"Allow",
"{",
"LABEL",
"|",
"SYMBOL",
"}",
"_REF",
"-",
"SYMBOL_REF-FOR-PICBASE",
"for",
"Mach-O",
"as",
"this",
"is",
"used",
"for",
"to",
"form",
"addresses",
"to",
"local",
"data",
"when",
"-fPIC",
"is",
"in",
"use",
"."
] | [
"i386",
"1"
] | i386 | darwin_local_data_pic | i386 | CPU | GCC | 8,214 | 28 | 1 | [] |
[
"<s>",
"const",
"unsigned",
"*",
"ARMBaseRegisterInfo",
"::",
"getCalleeSavedRegs",
"(",
"const",
"MachineFunction",
"*",
"MF",
")",
"const",
"{",
"bool",
"ghcCall",
"=",
"false",
";",
"if",
"(",
"MF",
")",
"{",
"const",
"Function",
"*",
"F",
"=",
"MF",
... | [
"Code",
"Generation",
"virtual",
"methods",
"..."
] | [
"ARM",
"ARM",
"ARM::LR",
"ARM::R11",
"ARM::R10",
"ARM::R9",
"ARM::R8",
"ARM::R7",
"ARM::R6",
"ARM::R5",
"ARM::R4",
"ARM::D15",
"ARM::D14",
"ARM::D13",
"ARM::D12",
"ARM::D11",
"ARM::D10",
"ARM::D9",
"ARM::D8",
"0",
"ARM::LR",
"ARM::R7",
"ARM::R6",
"ARM::R5",
"ARM::R4",... | ARMBaseRegisterInfo76 | getCalleeSavedRegs | ARM | CPU | LLVM | 8,215 | 235 | 1 | [] |
[
"<s>",
"static",
"void",
"ix86_expand_ashl_const",
"(",
"rtx",
"operand",
",",
"int",
"count",
",",
"machine_mode",
"mode",
")",
"{",
"if",
"(",
"count",
"==",
"1",
"||",
"(",
"count",
"*",
"ix86_cost",
"->",
"add",
"<=",
"ix86_cost",
"->",
"shift_const",
... | [
"Helper",
"function",
"of",
"ix86_split_ashl",
"used",
"to",
"generate",
"an",
"SImode/DImode",
"left",
"shift",
"by",
"a",
"constant",
",",
"either",
"using",
"a",
"single",
"shift",
"or",
"a",
"sequence",
"of",
"add",
"instructions",
"."
] | [
"i386",
"1",
"0"
] | i386-expand | ix86_expand_ashl_const | i386 | CPU | GCC | 8,216 | 98 | 1 | [] |
[
"<s>",
"void",
"RISCVInstrInfo",
"::",
"loadImmediate",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"MBBI",
",",
"unsigned",
"*",
"Reg",
",",
"int64_t",
"Value",
")",
"const",
"{",
"DebugLoc",
"DL",
"=",
"MBBI",
"!=",
"M... | [
"Emit",
"a",
"series",
"of",
"instructions",
"to",
"load",
"an",
"immediate",
"."
] | [
"RISCV",
"RISCV",
"RISCV::GR64BitRegClass",
"RISCV::GR32BitRegClass",
"RISCV::zero_64",
"RISCV::zero",
"12",
"RISCV::ADDI64",
"RISCV::ADDI",
"RISCV::LI"
] | RISCVInstrInfo (2)1 | loadImmediate | RISCV | CPU | LLVM | 8,217 | 192 | 1 | [] |
[
"<s>",
"rtx_code",
"m68k_output_bftst",
"(",
"rtx",
"zxop0",
",",
"rtx",
"zxop1",
",",
"rtx",
"zxop2",
",",
"rtx_code",
"code",
")",
"{",
"if",
"(",
"zxop1",
"==",
"const1_rtx",
"&&",
"GET_CODE",
"(",
"zxop2",
")",
"==",
"CONST_INT",
")",
"{",
"int",
"... | [
"Output",
"a",
"bftst",
"instruction",
"for",
"a",
"zero_extract",
"with",
"ZXOP0",
",",
"ZXOP1",
"and",
"ZXOP2",
"operands",
".",
"CODE",
"is",
"the",
"code",
"of",
"the",
"comparison",
",",
"and",
"we",
"return",
"the",
"code",
"to",
"be",
"actually",
... | [
"m68k",
"31",
"7",
"1000",
"3",
"\"bftst %0{%b2:%b1}\""
] | m68k | m68k_output_bftst | m68k | MPU | GCC | 8,218 | 90 | 1 | [] |
[
"<s>",
"void",
"HexagonMCShuffler",
"::",
"init",
"(",
"MCInst",
"&",
"MCB",
",",
"MCInst",
"const",
"&",
"AddMI",
",",
"bool",
"bInsertAtFront",
")",
"{",
"if",
"(",
"HexagonMCInstrInfo",
"::",
"isBundle",
"(",
"MCB",
")",
")",
"{",
"if",
"(",
"bInsertA... | [
"Initialize",
"the",
"machine",
"model",
"for",
"instruction",
"scheduling",
"."
] | [
"Hexagon",
"Hexagon",
"Hexagon",
"Hexagon",
"Hexagon",
"Hexagon",
"Hexagon",
"Hexagon",
"Hexagon",
"0"
] | HexagonMCShuffler | init | Hexagon | DSP | LLVM | 8,219 | 199 | 1 | [] |
[
"<s>",
"bool",
"AMDGPUTargetLowering",
"::",
"isZExtFree",
"(",
"SDValue",
"Val",
",",
"EVT",
"VT2",
")",
"const",
"{",
"return",
"isZExtFree",
"(",
"Val",
".",
"getValueType",
"(",
")",
",",
"VT2",
")",
";",
"}",
"</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... | [
"AMDGPU",
"AMDGPU"
] | AMDGPUISelLowering (2) | isZExtFree | AMDGPU | GPU | LLVM | 8,220 | 26 | 1 | [] |
[
"<s>",
"virtual",
"const",
"PPCSubtarget",
"*",
"getSubtargetImpl",
"(",
")",
"const",
"{",
"return",
"&",
"Subtarget",
";",
"}",
"</s>"
] | [
"Virtual",
"method",
"implemented",
"by",
"subclasses",
"that",
"returns",
"a",
"reference",
"to",
"that",
"target",
"'s",
"TargetSubtargetInfo-derived",
"member",
"variable",
"."
] | [
"PowerPC",
"PPC"
] | PPCTargetMachine11 | getSubtargetImpl | PowerPC | CPU | LLVM | 8,221 | 14 | 1 | [] |
[
"<s>",
"bool",
"Thumb1InstrInfo",
"::",
"restoreCalleeSavedRegisters",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"MI",
",",
"const",
"std",
"::",
"vector",
"<",
"CalleeSavedInfo",
">",
"&",
"CSI",
")",
"const",
"{",
"Machi... | [
"restoreCalleeSavedRegisters",
"-",
"Issues",
"instruction",
"(",
"s",
")",
"to",
"restore",
"all",
"callee",
"saved",
"registers",
"and",
"returns",
"true",
"if",
"it",
"is",
"n't",
"possible",
"/",
"profitable",
"to",
"do",
"so",
"by",
"issuing",
"a",
"ser... | [
"ARM",
"ARM",
"ARM",
"0",
"ARM::tPOP",
"0",
"1",
"ARM::LR",
"ARM::PC",
"ARM::tPOP_RET"
] | Thumb1InstrInfo38 | restoreCalleeSavedRegisters | ARM | CPU | LLVM | 8,222 | 223 | 1 | [] |
[
"<s>",
"void",
"ia64_expand_compare",
"(",
"rtx",
"*",
"expr",
",",
"rtx",
"*",
"op0",
",",
"rtx",
"*",
"op1",
")",
"{",
"enum",
"rtx_code",
"code",
"=",
"GET_CODE",
"(",
"*",
"expr",
")",
";",
"rtx",
"cmp",
";",
"if",
"(",
"GET_MODE",
"(",
"*",
... | [
"Emit",
"comparison",
"instruction",
"if",
"necessary",
",",
"returning",
"the",
"expression",
"that",
"holds",
"the",
"compare",
"result",
"in",
"the",
"proper",
"mode",
"."
] | [
"ia64",
"1",
"2",
"4",
"8",
"16",
"0",
"3"
] | ia645 | ia64_expand_compare | ia64 | CPU | GCC | 8,223 | 484 | 1 | [] |
[
"<s>",
"HOST_WIDE_INT",
"rs6000_builtin_mask_calculate",
"(",
"void",
")",
"{",
"return",
"(",
"(",
"(",
"TARGET_ALTIVEC",
")",
"?",
"RS6000_BTM_ALTIVEC",
":",
"0",
")",
"|",
"(",
"(",
"TARGET_CMPB",
")",
"?",
"RS6000_BTM_CMPB",
":",
"0",
")",
"|",
"(",
"(... | [
"Return",
"the",
"builtin",
"mask",
"of",
"the",
"various",
"options",
"used",
"that",
"could",
"affect",
"which",
"builtins",
"were",
"used",
".",
"In",
"the",
"past",
"we",
"used",
"target_flags",
",",
"but",
"we",
"'ve",
"run",
"out",
"of",
"bits",
",... | [
"rs6000",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"0"
] | rs60007 | rs6000_builtin_mask_calculate | rs6000 | CPU | GCC | 8,224 | 242 | 1 | [] |
[
"<s>",
"rtx",
"m32c_eh_return_stackadj_rtx",
"(",
"void",
")",
"{",
"if",
"(",
"!",
"cfun",
"->",
"machine",
"->",
"eh_stack_adjust",
")",
"{",
"rtx",
"sa",
";",
"sa",
"=",
"gen_reg_rtx",
"(",
"Pmode",
")",
";",
"cfun",
"->",
"machine",
"->",
"eh_stack_a... | [
"Implements",
"EH_RETURN_STACKADJ_RTX",
".",
"Saved",
"and",
"used",
"later",
"in",
"m32c_emit_eh_epilogue",
"."
] | [
"m32c"
] | m32c2 | m32c_eh_return_stackadj_rtx | m32c | MPU | GCC | 8,225 | 43 | 1 | [] |
[
"<s>",
"bool",
"SPUAsmPrinter",
"::",
"PrintAsmOperand",
"(",
"const",
"MachineInstr",
"*",
"MI",
",",
"unsigned",
"OpNo",
",",
"unsigned",
"AsmVariant",
",",
"const",
"char",
"*",
"ExtraCode",
")",
"{",
"if",
"(",
"ExtraCode",
"&&",
"ExtraCode",
"[",
"0",
... | [
"PrintAsmOperand",
"-",
"Print",
"out",
"an",
"operand",
"for",
"an",
"inline",
"asm",
"expression",
"."
] | [
"CellSPU",
"SPU",
"0",
"1",
"0",
"0",
"1",
"1"
] | SPUAsmPrinter1 | PrintAsmOperand | CellSPU | MPU | LLVM | 8,226 | 119 | 1 | [] |
[
"<s>",
"void",
"AArch64FrameLowering",
"::",
"processFunctionBeforeFrameFinalized",
"(",
"MachineFunction",
"&",
"MF",
",",
"RegScavenger",
"*",
"RS",
")",
"const",
"{",
"MachineFrameInfo",
"&",
"MFI",
"=",
"MF",
".",
"getFrameInfo",
"(",
")",
";",
"assert",
"("... | [
"processFunctionBeforeFrameFinalized",
"-",
"This",
"method",
"is",
"called",
"immediately",
"before",
"the",
"specified",
"function",
"'s",
"frame",
"layout",
"(",
"MF.getFrameInfo",
"(",
")",
")",
"is",
"finalized",
"."
] | [
"AArch64",
"AArch64",
"\"Upwards growing stack unsupported\"",
"AArch64",
"AArch64",
"16U",
"8",
"16",
"AArch64::GPR64commonRegClass",
"\"There must be a free register after frame setup\"",
"AArch64::MOVi64imm",
"2",
"AArch64::STURXi",
"0"
] | AArch64FrameLowering103 | processFunctionBeforeFrameFinalized | AArch64 | CPU | LLVM | 8,227 | 295 | 1 | [] |
[
"<s>",
"bool",
"SITargetLowering",
"::",
"isFMAFasterThanFMulAndFAdd",
"(",
"EVT",
"VT",
")",
"const",
"{",
"VT",
"=",
"VT",
".",
"getScalarType",
"(",
")",
";",
"switch",
"(",
"VT",
".",
"getSimpleVT",
"(",
")",
".",
"SimpleTy",
")",
"{",
"case",
"MVT",... | [
"Return",
"true",
"if",
"an",
"FMA",
"operation",
"is",
"faster",
"than",
"a",
"pair",
"of",
"fmul",
"and",
"fadd",
"instructions",
"."
] | [
"AMDGPU",
"SI",
"MVT::f32",
"MVT::f64",
"MVT::f16"
] | SIISelLowering (2)3 | isFMAFasterThanFMulAndFAdd | AMDGPU | GPU | LLVM | 8,228 | 105 | 1 | [] |
[
"<s>",
"const",
"MCPhysReg",
"*",
"AArch64RegisterInfo",
"::",
"getCalleeSavedRegs",
"(",
"const",
"MachineFunction",
"*",
"MF",
")",
"const",
"{",
"assert",
"(",
"MF",
"&&",
"\"Invalid MachineFunction pointer.\"",
")",
";",
"if",
"(",
"MF",
"->",
"getSubtarget",
... | [
"Code",
"Generation",
"virtual",
"methods",
"..."
] | [
"AArch64",
"AArch64",
"\"Invalid MachineFunction pointer.\"",
"AArch64",
"AArch64",
"AArch64",
"AArch64",
"AArch64",
"AArch64",
"AArch64",
"AArch64",
"AArch64",
"AArch64",
"AArch64",
"AArch64",
"AArch64"
] | AArch64RegisterInfo | getCalleeSavedRegs | AArch64 | CPU | LLVM | 8,229 | 193 | 1 | [] |
[
"<s>",
"bool",
"MipsCodeEmitter",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"{",
"JTI",
"=",
"(",
"(",
"MipsTargetMachine",
"&",
")",
"MF",
".",
"getTarget",
"(",
")",
")",
".",
"getJITInfo",
"(",
")",
";",
"II",
"=",
"(",
"... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"Mips",
"Mips",
"Mips",
"Mips",
"Mips",
"Mips",
"0",
"\"JITTing function '\"",
"\"'\\n\""
] | MipsCodeEmitter21 | runOnMachineFunction | Mips | CPU | LLVM | 8,230 | 254 | 1 | [] |
[
"<s>",
"T",
"get",
"(",
"uint32_t",
"Idx",
")",
"const",
"{",
"assert",
"(",
"Idx",
"!=",
"0",
"&&",
"!",
"Map",
".",
"empty",
"(",
")",
"&&",
"Idx",
"-",
"1",
"<",
"Map",
".",
"size",
"(",
")",
")",
";",
"return",
"Map",
"[",
"Idx",
"-",
"... | [
"Get",
"the",
"generated",
"Value",
"for",
"a",
"given",
"VPValue",
"and",
"given",
"Part",
"and",
"Lane",
"."
] | [
"Hexagon",
"0",
"1",
"1"
] | RDFGraph11 | get | Hexagon | DSP | LLVM | 8,231 | 41 | 1 | [] |
[
"<s>",
"void",
"CSKYDAGToDAGISel",
"::",
"Select",
"(",
"SDNode",
"*",
"N",
")",
"{",
"if",
"(",
"N",
"->",
"isMachineOpcode",
"(",
")",
")",
"{",
"LLVM_DEBUG",
"(",
"dbgs",
"(",
")",
"<<",
"\"== \"",
";",
"N",
"->",
"dump",
"(",
"CurDAG",
")",
";"... | [
"Main",
"hook",
"for",
"targets",
"to",
"transform",
"nodes",
"into",
"machine",
"nodes",
"."
] | [
"CSKY",
"CSKY",
"\"== \"",
"\"\\n\"",
"1",
"ISD::ADDCARRY",
"ISD::SUBCARRY",
"ISD::GLOBAL_OFFSET_TABLE",
"0",
"ISD::FrameIndex",
"0",
"MVT::i32",
"MVT::i32",
"CSKY::ADDI32",
"CSKY::ADDI16XZ",
"MVT::i32",
"CSKYISD::BITCAST_TO_LOHI",
"ISD::INLINEASM",
"ISD::INLINEASM_BR"
] | CSKYISelDAGToDAG3 | Select | CSKY | CPU | LLVM | 8,232 | 298 | 1 | [] |
[
"<s>",
"static",
"bool",
"classof",
"(",
"const",
"PIC16Section",
"*",
")",
"{",
"return",
"true",
";",
"}",
"</s>"
] | [
"Methods",
"for",
"support",
"type",
"inquiry",
"through",
"isa",
",",
"cast",
",",
"and",
"dyn_cast",
":"
] | [
"PIC16",
"PIC16"
] | PIC16Section1 | classof | PIC16 | MPU | LLVM | 8,233 | 13 | 1 | [] |
[
"<s>",
"bool",
"RISCVTargetLowering",
"::",
"isLegalAddImmediate",
"(",
"int64_t",
"Imm",
")",
"const",
"{",
"return",
"isInt",
"<",
"12",
">",
"(",
"Imm",
")",
";",
"}",
"</s>"
] | [
"Return",
"true",
"if",
"the",
"specified",
"immediate",
"is",
"legal",
"add",
"immediate",
",",
"that",
"is",
"the",
"target",
"has",
"add",
"instructions",
"which",
"can",
"add",
"a",
"register",
"and",
"the",
"immediate",
"without",
"having",
"to",
"mater... | [
"RISCV",
"RISCV",
"12"
] | RISCVISelLowering | isLegalAddImmediate | RISCV | CPU | LLVM | 8,234 | 20 | 1 | [] |
[
"<s>",
"bool",
"requiresRegisterScavenging",
"(",
"const",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"return",
"true",
";",
"}",
"</s>"
] | [
"Returns",
"true",
"if",
"the",
"target",
"requires",
"(",
"and",
"can",
"make",
"use",
"of",
")",
"the",
"register",
"scavenger",
"."
] | [
"Mandarin"
] | MandarinRegisterInfo | requiresRegisterScavenging | Mandarin | CPU | LLVM | 8,235 | 14 | 1 | [] |
[
"<s>",
"void",
"s390_va_start",
"(",
"tree",
"valist",
",",
"rtx",
"nextarg",
"ATTRIBUTE_UNUSED",
")",
"{",
"HOST_WIDE_INT",
"n_gpr",
",",
"n_fpr",
";",
"int",
"off",
";",
"tree",
"f_gpr",
",",
"f_fpr",
",",
"f_ovf",
",",
"f_sav",
";",
"tree",
"gpr",
","... | [
"Implement",
"va_start",
"by",
"filling",
"the",
"va_list",
"structure",
"VALIST",
".",
"STDARG_P",
"is",
"always",
"true",
",",
"and",
"ignored",
".",
"NEXTARG",
"points",
"to",
"the",
"first",
"anonymous",
"stack",
"argument",
".",
"The",
"following",
"globa... | [
"s390",
"1",
"1",
"0",
"0",
"\"va_start: n_gpr = %d, n_fpr = %d off %d\\n\"",
"1",
"1"
] | s3903 | s390_va_start | s390 | MPU | GCC | 8,236 | 477 | 1 | [] |
[
"<s>",
"void",
"ix86_expand_sse2_abs",
"(",
"rtx",
"target",
",",
"rtx",
"input",
")",
"{",
"machine_mode",
"mode",
"=",
"GET_MODE",
"(",
"target",
")",
";",
"rtx",
"tmp0",
",",
"tmp1",
",",
"x",
";",
"switch",
"(",
"mode",
")",
"{",
"case",
"V4SImode"... | [
"Calculate",
"integer",
"abs",
"(",
")",
"using",
"only",
"SSE2",
"instructions",
"."
] | [
"i386",
"1",
"0",
"0",
"0",
"0",
"0",
"0",
"0"
] | i3864 | ix86_expand_sse2_abs | i386 | CPU | GCC | 8,237 | 202 | 1 | [] |
[
"<s>",
"void",
"SIFrameLowering",
"::",
"determineCalleeSaves",
"(",
"MachineFunction",
"&",
"MF",
",",
"BitVector",
"&",
"SavedVGPRs",
",",
"RegScavenger",
"*",
"RS",
")",
"const",
"{",
"TargetFrameLowering",
"::",
"determineCalleeSaves",
"(",
"MF",
",",
"SavedVG... | [
"This",
"method",
"determines",
"which",
"of",
"the",
"registers",
"reported",
"by",
"TargetRegisterInfo",
":",
":getCalleeSavedRegs",
"(",
")",
"should",
"actually",
"get",
"saved",
"."
] | [
"AMDGPU",
"SI",
"SI",
"SI",
"SI"
] | SIFrameLowering1 | determineCalleeSaves | AMDGPU | GPU | LLVM | 8,238 | 226 | 1 | [] |
[
"<s>",
"static",
"void",
"s390_set_current_function",
"(",
"tree",
"fndecl",
")",
"{",
"if",
"(",
"fndecl",
"==",
"s390_previous_fndecl",
")",
"return",
";",
"tree",
"old_tree",
";",
"if",
"(",
"s390_previous_fndecl",
"==",
"NULL_TREE",
")",
"old_tree",
"=",
"... | [
"Establish",
"appropriate",
"back-end",
"context",
"for",
"processing",
"the",
"function",
"FNDECL",
".",
"The",
"argument",
"might",
"be",
"NULL",
"to",
"indicate",
"processing",
"at",
"top",
"level",
",",
"outside",
"of",
"any",
"function",
"scope",
"."
] | [
"s390"
] | s3905 | s390_set_current_function | s390 | MPU | GCC | 8,239 | 104 | 1 | [] |
[
"<s>",
"bool",
"ARMGlobalMerge",
"::",
"doInitialization",
"(",
"Module",
"&",
"M",
")",
"{",
"SmallVector",
"<",
"GlobalVariable",
"*",
",",
"16",
">",
"Globals",
",",
"ConstGlobals",
",",
"BSSGlobals",
";",
"const",
"TargetData",
"*",
"TD",
"=",
"TLI",
"... | [
"Set",
"up",
"the",
"AsmPrinter",
"when",
"we",
"are",
"working",
"on",
"a",
"new",
"module",
"."
] | [
"ARM",
"ARM",
"16",
"\"llvm.\"",
"\".llvm.\"",
"1",
"1"
] | ARMGlobalMerge3 | doInitialization | ARM | CPU | LLVM | 8,240 | 283 | 1 | [] |
[
"<s>",
"NVPTXTargetLowering",
"::",
"AtomicExpansionKind",
"NVPTXTargetLowering",
"::",
"shouldExpandAtomicRMWInIR",
"(",
"AtomicRMWInst",
"*",
"AI",
")",
"const",
"{",
"Type",
"*",
"Ty",
"=",
"AI",
"->",
"getValOperand",
"(",
")",
"->",
"getType",
"(",
")",
";"... | [
"Returns",
"how",
"the",
"IR-level",
"AtomicExpand",
"pass",
"should",
"expand",
"the",
"given",
"AtomicRMW",
",",
"if",
"at",
"all",
"."
] | [
"NVPTX",
"NVPTX",
"NVPTX",
"\"Ty should be integer at this point\"",
"8",
"16",
"32",
"64",
"\"unsupported width encountered\"",
"8",
"16",
"32",
"64",
"\"unsupported width encountered\""
] | NVPTXISelLowering41 | shouldExpandAtomicRMWInIR | NVPTX | GPU | LLVM | 8,241 | 321 | 1 | [] |
[
"<s>",
"bool",
"PPCInstrInfo",
"::",
"isSchedulingBoundary",
"(",
"const",
"MachineInstr",
"&",
"MI",
",",
"const",
"MachineBasicBlock",
"*",
"MBB",
",",
"const",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"if",
"(",
"MI",
".",
"getOpcode",
"(",
")",
... | [
"isSchedulingBoundary",
"-",
"Overrides",
"the",
"isSchedulingBoundary",
"from",
"Codegen/TargetInstrInfo.cpp",
"to",
"make",
"it",
"capable",
"of",
"identifying",
"ENDBR",
"intructions",
"and",
"prevent",
"it",
"from",
"being",
"re-scheduled",
"."
] | [
"PowerPC",
"PPC",
"PPC::MFFS",
"PPC::MTFSF"
] | PPCInstrInfo | isSchedulingBoundary | PowerPC | CPU | LLVM | 8,242 | 60 | 1 | [] |
[
"<s>",
"static",
"bool",
"visium_pass_by_reference",
"(",
"cumulative_args_t",
"ca",
"ATTRIBUTE_UNUSED",
",",
"enum",
"machine_mode",
"mode",
"ATTRIBUTE_UNUSED",
",",
"const_tree",
"type",
",",
"bool",
"named",
"ATTRIBUTE_UNUSED",
")",
"{",
"return",
"type",
"&&",
"... | [
"Return",
"true",
"if",
"an",
"argument",
"must",
"be",
"passed",
"by",
"indirect",
"reference",
"."
] | [
"visium"
] | visium2 | visium_pass_by_reference | visium | Virtual ISA | GCC | 8,243 | 39 | 1 | [] |
[
"<s>",
"SDValue",
"SITargetLowering",
"::",
"PerformDAGCombine",
"(",
"SDNode",
"*",
"N",
",",
"DAGCombinerInfo",
"&",
"DCI",
")",
"const",
"{",
"SelectionDAG",
"&",
"DAG",
"=",
"DCI",
".",
"DAG",
";",
"SDLoc",
"DL",
"(",
"N",
")",
";",
"EVT",
"VT",
"=... | [
"This",
"method",
"will",
"be",
"invoked",
"for",
"all",
"target",
"nodes",
"and",
"for",
"any",
"target-independent",
"nodes",
"that",
"the",
"target",
"has",
"registered",
"with",
"invoke",
"it",
"for",
"."
] | [
"R600",
"SI",
"0",
"ISD::SELECT_CC",
"2",
"3",
"MVT::i1",
"ISD::SETCC",
"0",
"1",
"4",
"ISD::SETCC",
"0",
"1",
"2",
"ISD::CondCode",
"MVT::i1",
"ISD::SIGN_EXTEND",
"0",
"MVT::i1",
"ISD::SETNE",
"0",
"0",
"MVT::i1"
] | SIISelLowering71 | PerformDAGCombine | R600 | GPU | LLVM | 8,244 | 332 | 1 | [] |
[
"<s>",
"static",
"void",
"visium_function_arg_advance",
"(",
"cumulative_args_t",
"pcum_v",
",",
"const",
"function_arg_info",
"&",
"arg",
")",
"{",
"int",
"size",
"=",
"(",
"GET_MODE_SIZE",
"(",
"arg",
".",
"mode",
")",
"+",
"UNITS_PER_WORD",
"-",
"1",
")",
... | [
"Update",
"the",
"summarizer",
"variable",
"pointed",
"to",
"by",
"PCUM_V",
"to",
"advance",
"past",
"an",
"argument",
"in",
"the",
"argument",
"list",
".",
"The",
"values",
"MODE",
",",
"TYPE",
"and",
"NAMED",
"describe",
"that",
"argument",
".",
"Once",
... | [
"visium",
"1",
"0",
"2"
] | visium | visium_function_arg_advance | visium | Virtual ISA | GCC | 8,245 | 169 | 1 | [] |
[
"<s>",
"MachineInstr",
"*",
"ARMBaseInstrInfo",
"::",
"optimizeSelect",
"(",
"MachineInstr",
"*",
"MI",
",",
"SmallPtrSetImpl",
"<",
"MachineInstr",
"*",
">",
"&",
"SeenMIs",
",",
"bool",
"PreferFalse",
")",
"const",
"{",
"assert",
"(",
"(",
"MI",
"->",
"get... | [
"Given",
"a",
"select",
"instruction",
"that",
"was",
"understood",
"by",
"analyzeSelect",
"and",
"returned",
"Optimizable",
"=",
"true",
",",
"attempt",
"to",
"optimize",
"MI",
"by",
"merging",
"it",
"with",
"one",
"of",
"its",
"operands",
"."
] | [
"ARM",
"ARM",
"ARM::MOVCCr",
"ARM::t2MOVCCr",
"\"Unknown select instruction\"",
"2",
"1",
"2",
"1",
"0",
"1",
"3",
"ARMCC::getOppositeCondition",
"ARMCC::CondCodes",
"4",
"0",
"1"
] | ARMBaseInstrInfo113 | optimizeSelect | ARM | CPU | LLVM | 8,246 | 394 | 1 | [] |
[
"<s>",
"const",
"MipsGOT",
"&",
"MipsGNULDBackend",
"::",
"getGOT",
"(",
")",
"const",
"{",
"assert",
"(",
"m_pGOT",
"!=",
"NULL",
")",
";",
"return",
"*",
"m_pGOT",
";",
"}",
"</s>"
] | [
"Return",
"a",
"pseudo",
"source",
"value",
"referencing",
"the",
"global",
"offset",
"table",
"(",
"or",
"something",
"the",
"like",
")",
"."
] | [
"Mips",
"Mips",
"Mips"
] | MipsLDBackend | getGOT | Mips | CPU | LLVM | 8,247 | 22 | 1 | [] |
[
"<s>",
"const",
"char",
"*",
"MipsTargetLowering",
"::",
"getTargetNodeName",
"(",
"unsigned",
"Opcode",
")",
"const",
"{",
"switch",
"(",
"Opcode",
")",
"{",
"case",
"MipsISD",
"::",
"JmpLink",
":",
"return",
"\"MipsISD::JmpLink\"",
";",
"case",
"MipsISD",
":... | [
"getTargetNodeName",
"-",
"This",
"method",
"returns",
"the",
"name",
"of",
"a",
"target",
"specific"
] | [
"Mips",
"Mips",
"MipsISD::JmpLink",
"\"MipsISD::JmpLink\"",
"MipsISD::Hi",
"\"MipsISD::Hi\"",
"MipsISD::Lo",
"\"MipsISD::Lo\"",
"MipsISD::GPRel",
"\"MipsISD::GPRel\"",
"MipsISD::Ret",
"\"MipsISD::Ret\"",
"MipsISD::CMov",
"\"MipsISD::CMov\"",
"MipsISD::SelectCC",
"\"MipsISD::SelectCC\""... | MipsISelLowering115 | getTargetNodeName | Mips | CPU | LLVM | 8,248 | 112 | 1 | [] |
[
"<s>",
"static",
"void",
"expand_set_or_movmem_via_rep",
"(",
"rtx",
"destmem",
",",
"rtx",
"srcmem",
",",
"rtx",
"destptr",
",",
"rtx",
"srcptr",
",",
"rtx",
"value",
",",
"rtx",
"orig_value",
",",
"rtx",
"count",
",",
"machine_mode",
"mode",
",",
"bool",
... | [
"Output",
"``",
"rep",
";",
"mov",
"''",
"or",
"``",
"rep",
";",
"stos",
"''",
"instruction",
"depending",
"on",
"ISSETMEM",
"argument",
".",
"When",
"ISSETMEM",
"is",
"true",
",",
"arguments",
"SRCMEM",
"and",
"SRCPTR",
"are",
"ignored",
".",
"When",
"I... | [
"i386",
"3",
"0",
"0",
"0",
"0"
] | i3865 | expand_set_or_movmem_via_rep | i386 | CPU | GCC | 8,249 | 436 | 1 | [] |
[
"<s>",
"void",
"assignValueToReg",
"(",
"Register",
"ValVReg",
",",
"Register",
"PhysReg",
",",
"CCValAssign",
"&",
"VA",
")",
"override",
"{",
"MIB",
".",
"addUse",
"(",
"PhysReg",
",",
"RegState",
"::",
"Implicit",
")",
";",
"Register",
"ExtReg",
";",
"u... | [
"The",
"specified",
"value",
"has",
"been",
"assigned",
"to",
"a",
"physical",
"register",
",",
"handle",
"the",
"appropriate",
"COPY",
"(",
"either",
"to",
"or",
"from",
")",
"and",
"mark",
"any",
"relevant",
"uses/defines",
"as",
"needed",
"."
] | [
"X86",
"128",
"80",
"\"We expect that to be 128 bit\"",
"0"
] | X86CallLowering18 | assignValueToReg | X86 | CPU | LLVM | 8,250 | 144 | 1 | [] |
[
"<s>",
"static",
"void",
"rs6000_emit_prologue_components",
"(",
"sbitmap",
"components",
")",
"{",
"rs6000_stack_t",
"*",
"info",
"=",
"rs6000_stack_info",
"(",
")",
";",
"rtx",
"ptr_reg",
"=",
"gen_rtx_REG",
"(",
"Pmode",
",",
"frame_pointer_needed",
"?",
"HARD_... | [
"Implement",
"TARGET_SHRINK_WRAP_EMIT_PROLOGUE_COMPONENTS",
"."
] | [
"rs6000",
"4",
"8",
"0",
"0",
"1",
"1",
"32",
"1"
] | rs60006 | rs6000_emit_prologue_components | rs6000 | CPU | GCC | 8,251 | 276 | 1 | [] |
[
"<s>",
"static",
"unsigned",
"int",
"frv_insn_unit",
"(",
"rtx_insn",
"*",
"insn",
")",
"{",
"enum",
"attr_type",
"type",
";",
"type",
"=",
"get_attr_type",
"(",
"insn",
")",
";",
"if",
"(",
"frv_type_to_unit",
"[",
"type",
"]",
"==",
"ARRAY_SIZE",
"(",
... | [
"Return",
"the",
"index",
"of",
"the",
"DFA",
"unit",
"in",
"FRV_UNIT_NAMES",
"[",
"]",
"that",
"instruction",
"INSN",
"will",
"try",
"to",
"claim",
"first",
".",
"Since",
"this",
"value",
"depends",
"only",
"on",
"the",
"type",
"attribute",
",",
"we",
"... | [
"frv",
"0"
] | frv | frv_insn_unit | frv | VLIW | GCC | 8,252 | 117 | 1 | [] |
[
"<s>",
"static",
"void",
"s390_emit_stack_tie",
"(",
"void",
")",
"{",
"rtx",
"mem",
"=",
"gen_frame_mem",
"(",
"BLKmode",
",",
"stack_pointer_rtx",
")",
";",
"if",
"(",
"frame_pointer_needed",
")",
"emit_insn",
"(",
"gen_stack_tie",
"(",
"Pmode",
",",
"mem",
... | [
"This",
"ties",
"together",
"stack",
"memory",
"(",
"MEM",
"with",
"an",
"alias",
"set",
"of",
"frame_alias_set",
")",
"and",
"the",
"change",
"to",
"the",
"stack",
"pointer",
"."
] | [
"s390"
] | s3901 | s390_emit_stack_tie | s390 | MPU | GCC | 8,253 | 47 | 1 | [] |
[
"<s>",
"int",
"AArch64InstrInfo",
"::",
"getMemScale",
"(",
"unsigned",
"Opc",
")",
"{",
"switch",
"(",
"Opc",
")",
"{",
"default",
":",
"llvm_unreachable",
"(",
"\"Opcode has unknown scale!\"",
")",
";",
"case",
"AArch64",
"::",
"LDRBBui",
":",
"case",
"AArch... | [
"Scaling",
"factor",
"for",
"(",
"scaled",
"or",
"unscaled",
")",
"load",
"or",
"store",
"."
] | [
"AArch64",
"AArch64",
"\"Opcode has unknown scale!\"",
"AArch64::LDRBBui",
"AArch64::LDURBBi",
"AArch64::LDRSBWui",
"AArch64::LDURSBWi",
"AArch64::STRBBui",
"AArch64::STURBBi",
"1",
"AArch64::LDRHHui",
"AArch64::LDURHHi",
"AArch64::LDRSHWui",
"AArch64::LDURSHWi",
"AArch64::STRHHui",
"A... | AArch64InstrInfo107 | getMemScale | AArch64 | CPU | LLVM | 8,254 | 288 | 1 | [] |
[
"<s>",
"void",
"m32c_print_operand_address",
"(",
"FILE",
"*",
"stream",
",",
"rtx",
"address",
")",
"{",
"gcc_assert",
"(",
"GET_CODE",
"(",
"address",
")",
"==",
"MEM",
")",
";",
"m32c_print_operand",
"(",
"stream",
",",
"XEXP",
"(",
"address",
",",
"0",... | [
"Implements",
"PRINT_OPERAND_ADDRESS",
".",
"Nothing",
"unusual",
"here",
"."
] | [
"m32c",
"0",
"0"
] | m32c2 | m32c_print_operand_address | m32c | MPU | GCC | 8,255 | 36 | 1 | [] |
[
"<s>",
"static",
"void",
"do_load_for_compare",
"(",
"rtx",
"reg",
",",
"rtx",
"mem",
",",
"machine_mode",
"mode",
")",
"{",
"switch",
"(",
"GET_MODE",
"(",
"reg",
")",
")",
"{",
"case",
"E_V16QImode",
":",
"switch",
"(",
"mode",
")",
"{",
"case",
"E_V... | [
"Figure",
"out",
"the",
"correct",
"instructions",
"to",
"generate",
"to",
"load",
"data",
"for",
"block",
"compare",
".",
"MODE",
"is",
"used",
"for",
"the",
"read",
"from",
"memory",
",",
"and",
"data",
"is",
"zero",
"extended",
"if",
"REG",
"is",
"wid... | [
"rs6000",
"0",
"0"
] | rs6000-string | do_load_for_compare | rs6000 | CPU | GCC | 8,256 | 450 | 1 | [] |
[
"<s>",
"bool",
"HCE",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"{",
"if",
"(",
"skipFunction",
"(",
"MF",
".",
"getFunction",
"(",
")",
")",
")",
"return",
"false",
";",
"DEBUG",
"(",
"MF",
".",
"print",
"(",
"dbgs",
"(",
... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"Hexagon",
"\"Before \"",
"Hexagon",
"Hexagon",
"\"Collected \"",
"\" extenders\\n\"",
"0",
"\"After \"",
"\"No changes\\n\""
] | HexagonConstExtenders18 | runOnMachineFunction | Hexagon | DSP | LLVM | 8,257 | 297 | 1 | [] |
[
"<s>",
"static",
"int",
"force_new_group",
"(",
"int",
"sched_verbose",
",",
"FILE",
"*",
"dump",
",",
"rtx",
"*",
"group_insns",
",",
"rtx_insn",
"*",
"next_insn",
",",
"bool",
"*",
"group_end",
",",
"int",
"can_issue_more",
",",
"int",
"*",
"group_count",
... | [
"Utility",
"of",
"the",
"function",
"redefine_groups",
".",
"Check",
"if",
"it",
"is",
"too",
"costly",
"to",
"schedule",
"NEXT_INSN",
"together",
"with",
"GROUP_INSNS",
"in",
"the",
"same",
"dispatch",
"group",
".",
"If",
"so",
",",
"insert",
"nops",
"befor... | [
"rs6000",
"6",
"\"force: group count = %d, can_issue_more = %d\\n\"",
"0",
"0",
"0",
"0",
"0",
"0",
"1",
"0",
"0",
"0",
"1",
"0",
"1",
"0",
"0",
"1",
"2",
"6",
"\"done force: group count = %d, can_issue_more = %d\\n\""
] | rs60005 | force_new_group | rs6000 | CPU | GCC | 8,258 | 452 | 1 | [] |
[
"<s>",
"const",
"Z80oldInstrInfo",
"*",
"getInstrInfo",
"(",
")",
"const",
"override",
"{",
"return",
"&",
"InstrInfo",
";",
"}",
"</s>"
] | [
"TargetInstrInfo",
"getter",
"."
] | [
"Z80old",
"Z80old"
] | Z80oldSubtarget | getInstrInfo | Z80old | MPU | LLVM | 8,259 | 14 | 1 | [] |
[
"<s>",
"static",
"bool",
"split_stack_arg_pointer_used_p",
"(",
"void",
")",
"{",
"if",
"(",
"cfun",
"->",
"machine",
"->",
"split_stack_arg_pointer",
"!=",
"NULL_RTX",
"&&",
"(",
"!",
"REG_P",
"(",
"cfun",
"->",
"machine",
"->",
"split_stack_arg_pointer",
")",
... | [
"Return",
"whether",
"the",
"split-stack",
"arg",
"pointer",
"(",
"r12",
")",
"is",
"used",
"."
] | [
"rs6000",
"12",
"12",
"12"
] | rs6000-logue | split_stack_arg_pointer_used_p | rs6000 | CPU | GCC | 8,260 | 164 | 1 | [] |
[
"<s>",
"bool",
"ARM64StorePairSuppress",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"mf",
")",
"{",
"MF",
"=",
"&",
"mf",
";",
"TII",
"=",
"static_cast",
"<",
"const",
"ARM64InstrInfo",
"*",
">",
"(",
"MF",
"->",
"getTarget",
"(",
")",
".",... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"ARM64",
"ARM64",
"ARM64",
"\"*** \"",
"\": \"",
"\" Skipping pass: no machine model present.\\n\"",
"0",
"\"Unpairing store \"",
"\"\\n\"",
"0"
] | ARM64StorePairSuppress | runOnMachineFunction | ARM64 | CPU | LLVM | 8,261 | 278 | 1 | [] |
[
"<s>",
"bool",
"isReg",
"(",
")",
"const",
"override",
"{",
"return",
"Kind",
"==",
"k_Reg",
";",
"}",
"</s>"
] | [
"isReg",
"-",
"Is",
"this",
"a",
"register",
"operand",
"?"
] | [
"MSP430"
] | MSP430AsmParser11 | isReg | MSP430 | MPU | LLVM | 8,262 | 13 | 1 | [] |
[
"<s>",
"const",
"char",
"*",
"PPCTargetLowering",
"::",
"getTargetNodeName",
"(",
"unsigned",
"Opcode",
")",
"const",
"{",
"switch",
"(",
"Opcode",
")",
"{",
"default",
":",
"return",
"nullptr",
";",
"case",
"PPCISD",
"::",
"FSEL",
":",
"return",
"\"PPCISD::... | [
"getTargetNodeName",
"-",
"This",
"method",
"returns",
"the",
"name",
"of",
"a",
"target",
"specific"
] | [
"PowerPC",
"PPC",
"PPCISD::FSEL",
"\"PPCISD::FSEL\"",
"PPCISD::FCFID",
"\"PPCISD::FCFID\"",
"PPCISD::FCTIDZ",
"\"PPCISD::FCTIDZ\"",
"PPCISD::FCTIWZ",
"\"PPCISD::FCTIWZ\"",
"PPCISD::FRE",
"\"PPCISD::FRE\"",
"PPCISD::FRSQRTE",
"\"PPCISD::FRSQRTE\"",
"PPCISD::STFIWX",
"\"PPCISD::STFIWX\""... | PPCISelLowering120 | getTargetNodeName | PowerPC | CPU | LLVM | 8,263 | 504 | 1 | [] |
[
"<s>",
"void",
"RISCVInstPrinter",
"::",
"printInst",
"(",
"const",
"MCInst",
"*",
"MI",
",",
"raw_ostream",
"&",
"O",
",",
"StringRef",
"Annot",
",",
"const",
"MCSubtargetInfo",
"&",
"STI",
")",
"{",
"if",
"(",
"NoAliases",
"||",
"!",
"printAliasInstr",
"... | [
"Print",
"the",
"specified",
"MCInst",
"to",
"the",
"specified",
"raw_ostream",
"."
] | [
"RISCV",
"RISCV"
] | RISCVInstPrinter6 | printInst | RISCV | CPU | LLVM | 8,264 | 54 | 1 | [] |
[
"<s>",
"void",
"X86TargetLowering",
"::",
"finalizeLowering",
"(",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"if",
"(",
"hasCopyImplyingStackAdjustment",
"(",
"MF",
")",
")",
"{",
"MachineFrameInfo",
"&",
"MFI",
"=",
"MF",
".",
"getFrameInfo",
"(",
")",... | [
"Execute",
"target",
"specific",
"actions",
"to",
"finalize",
"target",
"lowering",
"."
] | [
"X86",
"X86"
] | X86ISelLowering102 | finalizeLowering | X86 | CPU | LLVM | 8,265 | 45 | 1 | [] |
[
"<s>",
"static",
"bool",
"use_skip_p",
"(",
"rtx_insn",
"*",
"insn",
")",
"{",
"rtx_insn",
"*",
"jump_insn",
"=",
"next_active_insn",
"(",
"JUMP_LABEL",
"(",
"insn",
")",
")",
";",
"while",
"(",
"insn",
")",
"{",
"insn",
"=",
"next_active_insn",
"(",
"in... | [
"Return",
"TRUE",
"if",
"INSN",
",",
"a",
"forward",
"jump",
"insn",
",",
"can",
"use",
"nullification",
"to",
"skip",
"the",
"following",
"instruction",
".",
"This",
"avoids",
"an",
"extra",
"cycle",
"due",
"to",
"a",
"mis-predicted",
"branch",
"when",
"w... | [
"pa",
"4",
"0"
] | pa4 | use_skip_p | pa | CPU | GCC | 8,266 | 95 | 1 | [] |
[
"<s>",
"void",
"MipsAsmPrinter",
"::",
"EmitInstruction",
"(",
"const",
"MachineInstr",
"*",
"MI",
")",
"{",
"SmallString",
"<",
"128",
">",
"Str",
";",
"raw_svector_ostream",
"OS",
"(",
"Str",
")",
";",
"if",
"(",
"MI",
"->",
"isDebugValue",
"(",
")",
"... | [
"EmitInstruction",
"-",
"This",
"callback",
"is",
"invoked",
"when",
"an",
"instruction",
"is",
"emitted",
",",
"to",
"advance",
"the",
"hazard",
"state",
"."
] | [
"Mips",
"Mips",
"128",
"Mips",
"4",
"Mips::MACRO",
"Mips::NOMACRO",
"4",
"Mips::CPLOAD",
"4",
"Mips::CPRESTORE"
] | MipsAsmPrinter8 | EmitInstruction | Mips | CPU | LLVM | 8,267 | 316 | 1 | [] |
[
"<s>",
"const",
"uint16_t",
"*",
"BPFRegisterInfo",
"::",
"getCalleeSavedRegs",
"(",
"const",
"MachineFunction",
"*",
"MF",
")",
"const",
"{",
"return",
"CSR_SaveList",
";",
"}",
"</s>"
] | [
"Code",
"Generation",
"virtual",
"methods",
"..."
] | [
"BPF",
"BPF"
] | BPFRegisterInfo12 | getCalleeSavedRegs | BPF | Virtual ISA | LLVM | 8,268 | 18 | 1 | [] |
[
"<s>",
"rtx",
"msp430_subreg",
"(",
"machine_mode",
"mode",
",",
"rtx",
"r",
",",
"machine_mode",
"omode",
",",
"int",
"byte",
")",
"{",
"rtx",
"rv",
";",
"if",
"(",
"GET_CODE",
"(",
"r",
")",
"==",
"SUBREG",
"&&",
"SUBREG_BYTE",
"(",
"r",
")",
"==",... | [
"Simplify_gen_subreg",
"(",
")",
"does",
"n't",
"handle",
"memory",
"references",
"the",
"way",
"we",
"need",
"it",
"to",
"below",
",",
"so",
"we",
"use",
"this",
"function",
"for",
"when",
"we",
"must",
"get",
"a",
"valid",
"subreg",
"in",
"a",
"``",
... | [
"msp430",
"0",
"0",
"0",
"2",
"16",
"8"
] | msp4303 | msp430_subreg | msp430 | MPU | GCC | 8,269 | 196 | 1 | [] |
[
"<s>",
"bool",
"HexagonRDFOpt",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"{",
"if",
"(",
"RDFLimit",
".",
"getPosition",
"(",
")",
")",
"{",
"if",
"(",
"RDFCount",
">=",
"RDFLimit",
")",
"return",
"false",
";",
"RDFCount",
"++"... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"Hexagon",
"Hexagon",
"Hexagon",
"Hexagon",
"Hexagon",
"\"Before \"",
"\"\\n\"",
"Hexagon",
"\"After \"",
"\"\\n\""
] | HexagonRDFOpt5 | runOnMachineFunction | Hexagon | DSP | LLVM | 8,270 | 325 | 1 | [] |
[
"<s>",
"unsigned",
"PPCFastISel",
"::",
"fastMaterializeAlloca",
"(",
"const",
"AllocaInst",
"*",
"AI",
")",
"{",
"if",
"(",
"!",
"FuncInfo",
".",
"StaticAllocaMap",
".",
"count",
"(",
"AI",
")",
")",
"return",
"0",
";",
"MVT",
"VT",
";",
"if",
"(",
"!... | [
"Emit",
"an",
"alloca",
"address",
"in",
"a",
"register",
"using",
"target-specific",
"logic",
"."
] | [
"PowerPC",
"PPC",
"0",
"0",
"PPC::G8RC_and_G8RC_NOX0RegClass",
"PPC::ADDI8",
"0",
"0"
] | PPCFastISel (2) | fastMaterializeAlloca | PowerPC | CPU | LLVM | 8,271 | 136 | 1 | [] |
[
"<s>",
"static",
"bool",
"rs6000_real_tls_symbol_ref_p",
"(",
"rtx",
"x",
")",
"{",
"return",
"(",
"GET_CODE",
"(",
"x",
")",
"==",
"SYMBOL_REF",
"&&",
"SYMBOL_REF_TLS_MODEL",
"(",
"x",
")",
">=",
"TLS_MODEL_REAL",
")",
";",
"}",
"</s>"
] | [
"Return",
"true",
"if",
"X",
"is",
"a",
"symbol",
"that",
"refers",
"to",
"real",
"(",
"rather",
"than",
"emulated",
")",
"TLS",
"."
] | [
"powerpcspe"
] | powerpcspe | rs6000_real_tls_symbol_ref_p | powerpcspe | CPU | GCC | 8,272 | 26 | 1 | [] |
[
"<s>",
"bool",
"rs6000_emit_int_cmove",
"(",
"rtx",
"dest",
",",
"rtx",
"op",
",",
"rtx",
"true_cond",
",",
"rtx",
"false_cond",
")",
"{",
"rtx",
"condition_rtx",
",",
"cr",
";",
"machine_mode",
"mode",
"=",
"GET_MODE",
"(",
"dest",
")",
";",
"enum",
"rt... | [
"Same",
"as",
"above",
",",
"but",
"for",
"ints",
"(",
"isel",
")",
"."
] | [
"rs6000",
"0",
"0"
] | rs6000 | rs6000_emit_int_cmove | rs6000 | CPU | GCC | 8,273 | 241 | 1 | [] |
[
"<s>",
"static",
"int",
"ix86_mode_after",
"(",
"int",
"entity",
",",
"int",
"mode",
",",
"rtx_insn",
"*",
"insn",
")",
"{",
"switch",
"(",
"entity",
")",
"{",
"case",
"X86_DIRFLAG",
":",
"return",
"mode",
";",
"case",
"AVX_U128",
":",
"return",
"ix86_av... | [
"Return",
"the",
"mode",
"that",
"an",
"insn",
"results",
"in",
"."
] | [
"i386"
] | i386 | ix86_mode_after | i386 | CPU | GCC | 8,274 | 60 | 1 | [] |
[
"<s>",
"enum",
"mips_loadgp_style",
"mips_current_loadgp_style",
"(",
"void",
")",
"{",
"if",
"(",
"!",
"TARGET_USE_GOT",
"||",
"cfun",
"->",
"machine",
"->",
"global_pointer",
"==",
"INVALID_REGNUM",
")",
"return",
"LOADGP_NONE",
";",
"if",
"(",
"TARGET_RTP_PIC",... | [
"Return",
"the",
"style",
"of",
"GP",
"load",
"sequence",
"that",
"is",
"being",
"used",
"for",
"the",
"current",
"function",
"."
] | [
"mips"
] | mips | mips_current_loadgp_style | mips | CPU | GCC | 8,275 | 45 | 1 | [] |
[
"<s>",
"void",
"aarch64_final_prescan_insn",
"(",
"rtx_insn",
"*",
"insn",
")",
"{",
"if",
"(",
"aarch64_madd_needs_nop",
"(",
"insn",
")",
")",
"fprintf",
"(",
"asm_out_file",
",",
"\"\\tnop // between mem op and mult-accumulate\\n\"",
")",
";",
"}",
"</s>"
] | [
"Implement",
"FINAL_PRESCAN_INSN",
"."
] | [
"aarch64",
"\"\\tnop // between mem op and mult-accumulate\\n\""
] | aarch64 | aarch64_final_prescan_insn | aarch64 | CPU | GCC | 8,276 | 23 | 1 | [] |
[
"<s>",
"int",
"arm_split_constant",
"(",
"enum",
"rtx_code",
"code",
",",
"enum",
"machine_mode",
"mode",
",",
"rtx",
"insn",
",",
"HOST_WIDE_INT",
"val",
",",
"rtx",
"target",
",",
"rtx",
"source",
",",
"int",
"subtargets",
")",
"{",
"rtx",
"cond",
";",
... | [
"Emit",
"a",
"sequence",
"of",
"insns",
"to",
"handle",
"a",
"large",
"constant",
".",
"CODE",
"is",
"the",
"code",
"of",
"the",
"operation",
"required",
",",
"it",
"can",
"be",
"any",
"of",
"SET",
",",
"PLUS",
",",
"IOR",
",",
"AND",
",",
"XOR",
"... | [
"arm",
"1",
"0",
"1",
"2",
"1"
] | arm3 | arm_split_constant | arm | CPU | GCC | 8,277 | 261 | 1 | [] |
[
"<s>",
"const",
"char",
"*",
"getPassName",
"(",
")",
"const",
"{",
"return",
"\"LC3b DAG->DAG Pattern Instruction Selection\"",
";",
"}",
"</s>"
] | [
"getPassName",
"-",
"Return",
"a",
"nice",
"clean",
"name",
"for",
"a",
"pass",
"."
] | [
"LC3b",
"\"LC3b DAG->DAG Pattern Instruction Selection\""
] | LC3bDagToDagISel | getPassName | LC3b | CPU | LLVM | 8,278 | 12 | 1 | [] |
[
"<s>",
"void",
"X86PassConfig",
"::",
"addIRPasses",
"(",
")",
"{",
"addPass",
"(",
"createAtomicExpandPass",
"(",
")",
")",
";",
"addPass",
"(",
"createX86LowerAMXIntrinsicsPass",
"(",
")",
")",
";",
"addPass",
"(",
"createX86LowerAMXTypePass",
"(",
")",
")",
... | [
"Add",
"common",
"target",
"configurable",
"passes",
"that",
"perform",
"LLVM",
"IR",
"to",
"IR",
"transforms",
"following",
"machine",
"independent",
"optimization",
"."
] | [
"X86",
"X86",
"X86",
"X86",
"X86",
"X86"
] | X86TargetMachine114 | addIRPasses | X86 | CPU | LLVM | 8,279 | 141 | 1 | [] |
[
"<s>",
"static",
"int",
"set_src_needs_barrier",
"(",
"rtx",
"x",
",",
"struct",
"reg_flags",
"flags",
",",
"int",
"pred",
")",
"{",
"int",
"need_barrier",
"=",
"0",
";",
"rtx",
"dst",
";",
"rtx",
"src",
"=",
"SET_SRC",
"(",
"x",
")",
";",
"if",
"(",... | [
"Subroutine",
"of",
"rtx_needs_barrier",
";",
"this",
"function",
"determines",
"whether",
"the",
"source",
"of",
"a",
"given",
"SET",
"rtx",
"found",
"in",
"X",
"needs",
"a",
"barrier",
".",
"FLAGS",
"and",
"PRED",
"are",
"as",
"in",
"rtx_needs_barrier",
".... | [
"ia64",
"0",
"1",
"2",
"2",
"1",
"1",
"2"
] | ia64 | set_src_needs_barrier | ia64 | CPU | GCC | 8,280 | 198 | 1 | [] |
[
"<s>",
"HexagonSubtarget",
"&",
"HexagonSubtarget",
"::",
"initializeSubtargetDependencies",
"(",
"StringRef",
"CPU",
",",
"StringRef",
"FS",
")",
"{",
"static",
"std",
"::",
"map",
"<",
"StringRef",
",",
"Hexagon",
"::",
"ArchEnum",
">",
"CpuTable",
"{",
"{",
... | [
"initializeSubtargetDependencies",
"-",
"Initializes",
"using",
"a",
"CPU",
",",
"a",
"TuneCPU",
",",
"and",
"feature",
"string",
"so",
"that",
"we",
"can",
"use",
"initializer",
"lists",
"for",
"subtarget",
"initialization",
"."
] | [
"Hexagon",
"Hexagon",
"Hexagon",
"Hexagon::ArchEnum",
"\"generic\"",
"Hexagon::ArchEnum",
"\"hexagonv5\"",
"Hexagon::ArchEnum",
"\"hexagonv55\"",
"Hexagon::ArchEnum",
"\"hexagonv60\"",
"Hexagon::ArchEnum",
"\"hexagonv62\"",
"Hexagon::ArchEnum",
"\"hexagonv65\"",
"Hexagon::ArchEnum",
... | HexagonSubtarget21 | initializeSubtargetDependencies | Hexagon | DSP | LLVM | 8,281 | 209 | 1 | [] |
[
"<s>",
"CCAssignFn",
"*",
"AMDGPUTargetLowering",
"::",
"CCAssignFnForCall",
"(",
"CallingConv",
"::",
"ID",
"CC",
",",
"bool",
"IsVarArg",
")",
"{",
"switch",
"(",
"CC",
")",
"{",
"case",
"CallingConv",
"::",
"C",
":",
"case",
"CallingConv",
"::",
"AMDGPU_K... | [
"Selects",
"the",
"correct",
"CCAssignFn",
"for",
"a",
"given",
"CallingConvention",
"value",
"."
] | [
"AMDGPU",
"AMDGPU",
"AMDGPU",
"AMDGPU",
"AMDGPU",
"AMDGPU",
"AMDGPU",
"AMDGPU",
"AMDGPU",
"\"Unsupported calling convention.\""
] | AMDGPUISelLowering38 | CCAssignFnForCall | AMDGPU | GPU | LLVM | 8,282 | 70 | 1 | [] |
[
"<s>",
"static",
"tree",
"csky_handle_isr_attribute",
"(",
"tree",
"*",
"node",
",",
"tree",
"name",
",",
"tree",
"args",
",",
"int",
"flags",
",",
"bool",
"*",
"no_add_attrs",
")",
"{",
"if",
"(",
"!",
"TARGET_ISTACK",
")",
"{",
"warning",
"(",
"OPT_Wat... | [
"Handle",
"an",
"``",
"interrupt",
"''",
"or",
"``",
"isr",
"''",
"attribute",
";",
"arguments",
"as",
"in",
"struct",
"attribute_spec.handler",
"."
] | [
"csky",
"\"%qE attribute ignored without %<-mistack%>\"",
"\"%qE attribute only applies to functions\"",
"\"%qE attribute ignored\"",
"\"%qE attribute ignored\""
] | csky | csky_handle_isr_attribute | csky | CPU | GCC | 8,283 | 272 | 1 | [] |
[
"<s>",
"bool",
"X86InstrInfo",
"::",
"analyzeCompare",
"(",
"const",
"MachineInstr",
"&",
"MI",
",",
"unsigned",
"&",
"SrcReg",
",",
"unsigned",
"&",
"SrcReg2",
",",
"int",
"&",
"CmpMask",
",",
"int",
"&",
"CmpValue",
")",
"const",
"{",
"switch",
"(",
"M... | [
"analyzeCompare",
"-",
"For",
"a",
"comparison",
"instruction",
",",
"return",
"the",
"source",
"registers",
"in",
"SrcReg",
"and",
"SrcReg2",
"if",
"having",
"two",
"register",
"operands",
",",
"and",
"the",
"value",
"it",
"compares",
"against",
"in",
"CmpVal... | [
"X86",
"X86",
"X86::CMP64ri32",
"X86::CMP64ri8",
"X86::CMP32ri",
"X86::CMP32ri8",
"X86::CMP16ri",
"X86::CMP16ri8",
"X86::CMP8ri",
"0",
"0",
"0",
"1",
"X86::SUB64rm",
"X86::SUB32rm",
"X86::SUB16rm",
"X86::SUB8rm",
"1",
"0",
"0",
"0",
"X86::SUB64rr",
"X86::SUB32rr",
"X86:... | X86InstrInfo (2)1 | analyzeCompare | X86 | CPU | LLVM | 8,284 | 424 | 1 | [] |
[
"<s>",
"static",
"void",
"or1k_compute_frame_layout",
"(",
"void",
")",
"{",
"HOST_WIDE_INT",
"local_vars_size",
",",
"args_size",
",",
"save_reg_size",
";",
"local_vars_size",
"=",
"get_frame_size",
"(",
")",
";",
"local_vars_size",
"=",
"ROUND_UP",
"(",
"local_var... | [
"Worker",
"for",
"TARGET_COMPUTE_FRAME_LAYOUT",
".",
"Compute",
"and",
"populate",
"machine",
"specific",
"function",
"attributes",
"which",
"are",
"globally",
"accessible",
"via",
"cfun-",
">",
"machine",
".",
"These",
"include",
"the",
"sizes",
"needed",
"for",
... | [
"or1k",
"0",
"0"
] | or1k | or1k_compute_frame_layout | or1k | CPU | GCC | 8,285 | 110 | 1 | [] |
[
"<s>",
"int",
"X86TTIImpl",
"::",
"getGatherScatterOpCost",
"(",
"unsigned",
"Opcode",
",",
"Type",
"*",
"SrcVTy",
",",
"Value",
"*",
"Ptr",
",",
"bool",
"VariableMask",
",",
"unsigned",
"Alignment",
")",
"{",
"assert",
"(",
"SrcVTy",
"->",
"isVectorTy",
"("... | [
"Calculate",
"the",
"cost",
"of",
"Gather",
"/",
"Scatter",
"operation",
"."
] | [
"X86",
"X86",
"\"Unexpected data type for Gather/Scatter\"",
"\"Unexpected type for Ptr argument\"",
"2",
"4"
] | X86TargetTransformInfo (2) | getGatherScatterOpCost | X86 | CPU | LLVM | 8,286 | 211 | 1 | [] |
[
"<s>",
"bool",
"FixupLEAPass",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"Func",
")",
"{",
"MF",
"=",
"&",
"Func",
";",
"const",
"X86Subtarget",
"&",
"ST",
"=",
"Func",
".",
"getSubtarget",
"<",
"X86Subtarget",
">",
"(",
")",
";",
"if",
... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"X86",
"X86",
"X86",
"\"Start X86FixupLEAs\\n\"",
"\"End X86FixupLEAs\\n\""
] | X86FixupLEAs24 | runOnMachineFunction | X86 | CPU | LLVM | 8,287 | 115 | 1 | [] |
[
"<s>",
"bool",
"AArch64StorePairSuppress",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"{",
"if",
"(",
"skipFunction",
"(",
"MF",
".",
"getFunction",
"(",
")",
")",
"||",
"MF",
".",
"getFunction",
"(",
")",
".",
"hasOptSize",
"(",
... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"AArch64",
"AArch64",
"AArch64",
"\"*** \"",
"\": \"",
"\" Skipping pass: no machine model present.\\n\"",
"0",
"\"Unpairing store \"",
"\"\\n\"",
"0"
] | AArch64StorePairSuppress20 | runOnMachineFunction | AArch64 | CPU | LLVM | 8,288 | 292 | 1 | [] |
[
"<s>",
"SDValue",
"OR1KTargetLowering",
"::",
"LowerOperation",
"(",
"SDValue",
"Op",
",",
"SelectionDAG",
"&",
"DAG",
")",
"const",
"{",
"switch",
"(",
"Op",
".",
"getOpcode",
"(",
")",
")",
"{",
"case",
"ISD",
"::",
"BR_CC",
":",
"return",
"LowerBR_CC",
... | [
"LowerOperation",
"-",
"Provide",
"custom",
"lowering",
"hooks",
"for",
"some",
"operations",
"."
] | [
"OR1K",
"OR1K",
"ISD::BR_CC",
"ISD::ConstantPool",
"ISD::GlobalAddress",
"ISD::BlockAddress",
"ISD::JumpTable",
"ISD::SELECT_CC",
"ISD::VASTART",
"ISD::DYNAMIC_STACKALLOC",
"ISD::CTTZ",
"ISD::CTTZ_ZERO_UNDEF",
"ISD::CTLZ",
"ISD::CTLZ_ZERO_UNDEF",
"ISD::RETURNADDR",
"ISD::FRAMEADDR",
... | OR1KISelLowering1 | LowerOperation | OR1K | CPU | LLVM | 8,289 | 219 | 1 | [] |
[
"<s>",
"void",
"MipsOutgoingValueHandler",
"::",
"assignValueToReg",
"(",
"Register",
"ValVReg",
",",
"Register",
"PhysReg",
",",
"CCValAssign",
"&",
"VA",
")",
"{",
"Register",
"ExtReg",
"=",
"extendRegister",
"(",
"ValVReg",
",",
"VA",
")",
";",
"MIRBuilder",
... | [
"The",
"specified",
"value",
"has",
"been",
"assigned",
"to",
"a",
"physical",
"register",
",",
"handle",
"the",
"appropriate",
"COPY",
"(",
"either",
"to",
"or",
"from",
")",
"and",
"mark",
"any",
"relevant",
"uses/defines",
"as",
"needed",
"."
] | [
"Mips",
"Mips"
] | MipsCallLowering9 | assignValueToReg | Mips | CPU | LLVM | 8,290 | 47 | 1 | [] |
[
"<s>",
"bool",
"SystemZDAGToDAGISel",
"::",
"SelectInlineAsmMemoryOperand",
"(",
"const",
"SDValue",
"&",
"Op",
",",
"unsigned",
"ConstraintID",
",",
"std",
"::",
"vector",
"<",
"SDValue",
">",
"&",
"OutOps",
")",
"{",
"SystemZAddressingMode",
"::",
"AddrForm",
... | [
"SelectInlineAsmMemoryOperand",
"-",
"Select",
"the",
"specified",
"address",
"as",
"a",
"target",
"addressing",
"mode",
",",
"according",
"to",
"the",
"specified",
"constraint",
"."
] | [
"SystemZ",
"SystemZ",
"SystemZAddressingMode::AddrForm",
"SystemZAddressingMode::DispRange",
"\"Unexpected asm memory constraint\"",
"SystemZAddressingMode::FormBD",
"SystemZAddressingMode::Disp12Only",
"SystemZAddressingMode::FormBDXNormal",
"SystemZAddressingMode::Disp12Only",
"SystemZAddressing... | SystemZISelDAGToDAG (2)1 | SelectInlineAsmMemoryOperand | SystemZ | CPU | LLVM | 8,291 | 328 | 1 | [] |
[
"<s>",
"void",
"MipsInstPrinter",
"::",
"printInst",
"(",
"const",
"MCInst",
"*",
"MI",
",",
"raw_ostream",
"&",
"O",
",",
"StringRef",
"Annot",
")",
"{",
"switch",
"(",
"MI",
"->",
"getOpcode",
"(",
")",
")",
"{",
"default",
":",
"break",
";",
"case",... | [
"Print",
"the",
"specified",
"MCInst",
"to",
"the",
"specified",
"raw_ostream",
"."
] | [
"Mips",
"Mips",
"Mips::RDHWR",
"Mips::RDHWR64",
"\"\\t.set\\tpush\\n\"",
"\"\\t.set\\tmips32r2\\n\"",
"Mips::Save16",
"\"\\tsave\\t\"",
"\" # 16 bit inst\\n\"",
"Mips::SaveX16",
"\"\\tsave\\t\"",
"\"\\n\"",
"Mips::Restore16",
"\"\\trestore\\t\"",
"\" # 16 bit inst\\n\"",
"Mips::Restore... | MipsInstPrinter | printInst | Mips | CPU | LLVM | 8,292 | 202 | 1 | [] |
[
"<s>",
"unsigned",
"PPCTargetLowering",
"::",
"getPrefLoopAlignment",
"(",
"MachineLoop",
"*",
"ML",
")",
"const",
"{",
"switch",
"(",
"Subtarget",
".",
"getDarwinDirective",
"(",
")",
")",
"{",
"default",
":",
"break",
";",
"case",
"PPC",
"::",
"DIR_970",
"... | [
"Return",
"the",
"preferred",
"loop",
"alignment",
"."
] | [
"PowerPC",
"PPC",
"PPC::DIR_970",
"PPC::DIR_PWR4",
"PPC::DIR_PWR5",
"PPC::DIR_PWR5X",
"PPC::DIR_PWR6",
"PPC::DIR_PWR6X",
"PPC::DIR_PWR7",
"PPC::DIR_PWR8",
"PPC::DIR_PWR9",
"PPC",
"0",
"32",
"16",
"32",
"5"
] | PPCISelLowering119 | getPrefLoopAlignment | PowerPC | CPU | LLVM | 8,293 | 197 | 1 | [] |
[
"<s>",
"VSETVLIInfo",
"merge",
"(",
"const",
"VSETVLIInfo",
"&",
"Other",
")",
"const",
"{",
"assert",
"(",
"isValid",
"(",
")",
"&&",
"\"Can only merge with a valid VSETVLInfo\"",
")",
";",
"if",
"(",
"!",
"Other",
".",
"isValid",
"(",
")",
")",
"return",
... | [
"Merge",
"target",
"triples",
"."
] | [
"RISCV",
"\"Can only merge with a valid VSETVLInfo\""
] | RISCVInsertVSETVLI10 | merge | RISCV | CPU | LLVM | 8,294 | 47 | 1 | [] |
[
"<s>",
"static",
"bool",
"convertible_comparison_p",
"(",
"rtx_insn",
"*",
"insn",
",",
"enum",
"machine_mode",
"mode",
")",
"{",
"if",
"(",
"TARGET_64BIT",
"||",
"mode",
"!=",
"DImode",
")",
"return",
"false",
";",
"if",
"(",
"!",
"TARGET_SSE4_1",
")",
"r... | [
"Check",
"if",
"comparison",
"INSN",
"may",
"be",
"transformed",
"into",
"vector",
"comparison",
".",
"Currently",
"we",
"transform",
"equality/inequality",
"checks",
"which",
"look",
"like",
":",
"(",
"set",
"(",
"reg",
":",
"CCZ",
"17",
"flags",
")",
"(",
... | [
"i386",
"0",
"1",
"1",
"0",
"0",
"0"
] | i386-features | convertible_comparison_p | i386 | CPU | GCC | 8,295 | 273 | 1 | [] |
[
"<s>",
"void",
"m32c_emit_epilogue",
"(",
"void",
")",
"{",
"int",
"popm_count",
"=",
"m32c_pushm_popm",
"(",
"PP_justcount",
")",
";",
"if",
"(",
"popm_count",
">",
"0",
"||",
"cfun",
"->",
"machine",
"->",
"is_interrupt",
")",
"emit_insn",
"(",
"gen_epilog... | [
"Likewise",
",",
"for",
"the",
"epilogue",
".",
"The",
"only",
"exception",
"is",
"that",
",",
"for",
"interrupts",
",",
"we",
"must",
"manually",
"unwind",
"the",
"frame",
"as",
"the",
"REIT",
"opcode",
"does",
"n't",
"do",
"that",
"."
] | [
"m32c",
"0",
"0",
"\"%<fast_interrupt%> attribute directive ignored\""
] | m32c | m32c_emit_epilogue | m32c | MPU | GCC | 8,296 | 268 | 1 | [] |
[
"<s>",
"bool",
"AArch64LoadStoreOpt",
"::",
"isCandidateToMergeOrPair",
"(",
"MachineInstr",
"*",
"MI",
")",
"{",
"if",
"(",
"MI",
"->",
"hasOrderedMemoryRef",
"(",
")",
")",
"return",
"false",
";",
"if",
"(",
"!",
"getLdStOffsetOp",
"(",
"MI",
")",
".",
"... | [
"Return",
"true",
"if",
"this",
"is",
"a",
"load/store",
"that",
"can",
"be",
"potentially",
"paired/merged",
"."
] | [
"AArch64",
"AArch64"
] | AArch64LoadStoreOptimizer4 | isCandidateToMergeOrPair | AArch64 | CPU | LLVM | 8,297 | 78 | 1 | [] |
[
"<s>",
"static",
"SDNode",
"*",
"getInt64",
"(",
"SelectionDAG",
"*",
"CurDAG",
",",
"const",
"SDLoc",
"&",
"dl",
",",
"int64_t",
"Imm",
")",
"{",
"unsigned",
"Count",
"=",
"getInt64CountDirect",
"(",
"Imm",
")",
";",
"if",
"(",
"Count",
"==",
"1",
")"... | [
"Get",
"a",
"constant",
"64-bit",
"value",
"."
] | [
"PowerPC",
"1",
"0",
"1",
"63",
"1",
"63",
"1",
"1",
"1",
"1",
"MVT::i32",
"0",
"PPC::RLDICR",
"MVT::i64",
"64"
] | PPCISelDAGToDAG101 | getInt64 | PowerPC | CPU | LLVM | 8,298 | 283 | 1 | [] |
[
"<s>",
"unsigned",
"getReg",
"(",
")",
"const",
"override",
"{",
"assert",
"(",
"Kind",
"==",
"k_Register",
"&&",
"\"Invalid access!\"",
")",
";",
"return",
"Reg",
".",
"RegNum",
";",
"}",
"</s>"
] | [
"Returns",
"the",
"register",
"associated",
"with",
"this",
"edge",
"."
] | [
"AArch64",
"\"Invalid access!\""
] | AArch64AsmParser (2)1 | getReg | AArch64 | CPU | LLVM | 8,299 | 22 | 1 | [] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.