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>",
"int",
"ARMTTIImpl",
"::",
"getIntImmCost",
"(",
"unsigned",
"Opcode",
",",
"unsigned",
"Idx",
",",
"const",
"APInt",
"&",
"Imm",
",",
"Type",
"*",
"Ty",
")",
"{",
"if",
"(",
"(",
"Opcode",
"==",
"Instruction",
"::",
"SDiv",
"||",
"Opcode",
"=="... | [
"Calculate",
"the",
"cost",
"of",
"materializing",
"a",
"64-bit",
"value",
"."
] | [
"ARM",
"ARM",
"1",
"0",
"32",
"1",
"12",
"0",
"1",
"8",
"0"
] | ARMTargetTransformInfo11 | getIntImmCost | ARM | CPU | LLVM | 22,800 | 191 | 1 | [] |
[
"<s>",
"static",
"bool",
"is_imported_p",
"(",
"rtx",
"x",
")",
"{",
"if",
"(",
"!",
"TARGET_DLLIMPORT_DECL_ATTRIBUTES",
"||",
"GET_CODE",
"(",
"x",
")",
"!=",
"SYMBOL_REF",
")",
"return",
"false",
";",
"return",
"SYMBOL_REF_DLLIMPORT_P",
"(",
"x",
")",
"||"... | [
"Nonzero",
"if",
"the",
"symbol",
"is",
"marked",
"as",
"dllimport",
",",
"or",
"as",
"stub-variable",
",",
"otherwise",
"zero",
"."
] | [
"i386"
] | i386 | is_imported_p | i386 | CPU | GCC | 22,801 | 35 | 1 | [] |
[
"<s>",
"const",
"RegisterBankInfo",
"*",
"getRegBankInfo",
"(",
")",
"const",
"override",
"{",
"return",
"RegBankInfo",
".",
"get",
"(",
")",
";",
"}",
"</s>"
] | [
"If",
"the",
"information",
"for",
"the",
"register",
"banks",
"is",
"available",
",",
"return",
"it",
"."
] | [
"SPIRV"
] | SPIRVSubtarget | getRegBankInfo | SPIRV | Virtual ISA | LLVM | 22,802 | 17 | 1 | [] |
[
"<s>",
"bool",
"SIInstrInfo",
"::",
"areMemAccessesTriviallyDisjoint",
"(",
"MachineInstr",
"&",
"MIa",
",",
"MachineInstr",
"&",
"MIb",
",",
"AliasAnalysis",
"*",
"AA",
")",
"const",
"{",
"assert",
"(",
"(",
"MIa",
".",
"mayLoad",
"(",
")",
"||",
"MIa",
"... | [
"Sometimes",
",",
"it",
"is",
"possible",
"for",
"the",
"target",
"to",
"tell",
",",
"even",
"without",
"aliasing",
"information",
",",
"that",
"two",
"MIs",
"access",
"different",
"memory",
"addresses",
"."
] | [
"AMDGPU",
"SI",
"\"MIa must load from or modify a memory location\"",
"\"MIb must load from or modify a memory location\""
] | SIInstrInfo103 | areMemAccessesTriviallyDisjoint | AMDGPU | GPU | LLVM | 22,803 | 360 | 1 | [] |
[
"<s>",
"bool",
"SIInstrInfo",
"::",
"analyzeBranch",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"*",
"&",
"TBB",
",",
"MachineBasicBlock",
"*",
"&",
"FBB",
",",
"SmallVectorImpl",
"<",
"MachineOperand",
">",
"&",
"Cond",
",",
"bool",
"Allo... | [
"analyzeBranch",
"-",
"Analyze",
"the",
"branching",
"code",
"at",
"the",
"end",
"of",
"MBB",
",",
"returning",
"true",
"if",
"it",
"can",
"not",
"be",
"understood",
"(",
"e.g",
"."
] | [
"AMDGPU",
"SI",
"AMDGPU::S_MOV_B64_term",
"AMDGPU::S_XOR_B64_term",
"AMDGPU::S_OR_B64_term",
"AMDGPU::S_ANDN2_B64_term",
"AMDGPU::S_AND_B64_term",
"AMDGPU::S_MOV_B32_term",
"AMDGPU::S_XOR_B32_term",
"AMDGPU::S_OR_B32_term",
"AMDGPU::S_ANDN2_B32_term",
"AMDGPU::S_AND_B32_term",
"AMDGPU::SI_IF... | SIInstrInfo11 | analyzeBranch | AMDGPU | GPU | LLVM | 22,804 | 203 | 1 | [] |
[
"<s>",
"static",
"bool",
"aarch64_can_inline_p",
"(",
"tree",
"caller",
",",
"tree",
"callee",
")",
"{",
"tree",
"caller_tree",
"=",
"DECL_FUNCTION_SPECIFIC_TARGET",
"(",
"caller",
")",
";",
"tree",
"callee_tree",
"=",
"DECL_FUNCTION_SPECIFIC_TARGET",
"(",
"callee",... | [
"Implement",
"TARGET_CAN_INLINE_P",
".",
"Decide",
"whether",
"it",
"is",
"valid",
"to",
"inline",
"CALLEE",
"into",
"CALLER",
"based",
"on",
"target-specific",
"info",
".",
"Make",
"sure",
"that",
"the",
"caller",
"and",
"callee",
"have",
"compatible",
"archite... | [
"aarch64",
"\"always_inline\"",
"2",
"2",
"2",
"1",
"0"
] | aarch64 | aarch64_can_inline_p | aarch64 | CPU | GCC | 22,805 | 271 | 1 | [] |
[
"<s>",
"bool",
"getAlign",
"(",
"const",
"Function",
"&",
"F",
",",
"unsigned",
"index",
",",
"unsigned",
"&",
"align",
")",
"{",
"std",
"::",
"vector",
"<",
"unsigned",
">",
"Vs",
";",
"bool",
"retval",
"=",
"findAllNVVMAnnotation",
"(",
"&",
"F",
","... | [
"Return",
"the",
"minimum",
"known",
"alignment",
"in",
"bytes",
"of",
"the",
"actual",
"memory",
"reference",
"."
] | [
"NVPTX",
"\"align\"",
"0",
"16",
"0xFFFF"
] | NVPTXUtilities14 | getAlign | NVPTX | GPU | LLVM | 22,806 | 102 | 1 | [] |
[
"<s>",
"static",
"bool",
"classof",
"(",
"const",
"MipsMCSymbolRefExpr",
"*",
")",
"{",
"return",
"true",
";",
"}",
"</s>"
] | [
"Methods",
"for",
"support",
"type",
"inquiry",
"through",
"isa",
",",
"cast",
",",
"and",
"dyn_cast",
":"
] | [
"Mips",
"Mips"
] | MipsMCSymbolRefExpr | classof | Mips | CPU | LLVM | 22,807 | 13 | 1 | [] |
[
"<s>",
"unsigned",
"getMaxCallFrameSize",
"(",
")",
"const",
"{",
"return",
"MaxCallFrameSize",
";",
"}",
"</s>"
] | [
"Return",
"the",
"maximum",
"size",
"of",
"a",
"call",
"frame",
"that",
"must",
"be",
"allocated",
"for",
"an",
"outgoing",
"function",
"call",
"."
] | [
"Cpu0"
] | Cpu0MachineFunction | getMaxCallFrameSize | Cpu0 | CPU | LLVM | 22,808 | 10 | 1 | [] |
[
"<s>",
"static",
"void",
"msp430_compute_frame_info",
"(",
"void",
")",
"{",
"int",
"i",
";",
"cfun",
"->",
"machine",
"->",
"computed",
"=",
"1",
";",
"cfun",
"->",
"machine",
"->",
"framesize_regs",
"=",
"0",
";",
"cfun",
"->",
"machine",
"->",
"frames... | [
"Compute",
"all",
"the",
"frame-related",
"fields",
"in",
"our",
"machine_function",
"structure",
"."
] | [
"msp430",
"1",
"0",
"0",
"1",
"4",
"2",
"0",
"1"
] | msp4302 | msp430_compute_frame_info | msp430 | MPU | GCC | 22,809 | 157 | 1 | [] |
[
"<s>",
"WebAssemblySubtarget",
"::",
"WebAssemblySubtarget",
"(",
"const",
"Triple",
"&",
"TT",
",",
"const",
"std",
"::",
"string",
"&",
"CPU",
",",
"const",
"std",
"::",
"string",
"&",
"FS",
",",
"const",
"TargetMachine",
"&",
"TM",
")",
":",
"WebAssembl... | [
"This",
"constructor",
"initializes",
"the",
"data",
"members",
"to",
"match",
"that",
"of",
"the",
"specified",
"triple",
"."
] | [
"WebAssembly",
"WebAssembly",
"WebAssembly",
"WebAssembly"
] | WebAssemblySubtarget18 | WebAssemblySubtarget | WebAssembly | Virtual ISA | LLVM | 22,810 | 88 | 1 | [] |
[
"<s>",
"static",
"int",
"ix86_function_sseregparm",
"(",
"const_tree",
"type",
",",
"const_tree",
"decl",
",",
"bool",
"warn",
")",
"{",
"gcc_assert",
"(",
"!",
"TARGET_64BIT",
")",
";",
"if",
"(",
"TARGET_SSEREGPARM",
"||",
"(",
"type",
"&&",
"lookup_attribut... | [
"Return",
"1",
"or",
"2",
",",
"if",
"we",
"can",
"pass",
"up",
"to",
"SSE_REGPARM_MAX",
"SFmode",
"(",
"1",
")",
"and",
"DFmode",
"(",
"2",
")",
"arguments",
"in",
"SSE",
"registers",
"for",
"a",
"function",
"with",
"the",
"indicated",
"TYPE",
"and",
... | [
"i386",
"\"sseregparm\"",
"\"calling %qD with attribute sseregparm without \"",
"\"SSE/SSE2 enabled\"",
"\"calling %qT with attribute sseregparm without \"",
"\"SSE/SSE2 enabled\"",
"0",
"2",
"0",
"1",
"2",
"1",
"0"
] | i3865 | ix86_function_sseregparm | i386 | CPU | GCC | 22,811 | 202 | 1 | [] |
[
"<s>",
"static",
"void",
"rs6000_emit_nmsub",
"(",
"rtx",
"dst",
",",
"rtx",
"m1",
",",
"rtx",
"m2",
",",
"rtx",
"a",
")",
"{",
"machine_mode",
"mode",
"=",
"GET_MODE",
"(",
"dst",
")",
";",
"rtx",
"r",
";",
"gcc_assert",
"(",
"optab_handler",
"(",
"... | [
"Generate",
"a",
"FNMSUB",
"instruction",
":",
"dst",
"=",
"-fma",
"(",
"m1",
",",
"m2",
",",
"-a",
")",
"."
] | [
"powerpcspe"
] | powerpcspe | rs6000_emit_nmsub | powerpcspe | CPU | GCC | 22,812 | 82 | 1 | [] |
[
"<s>",
"static",
"rtx",
"sparc_legitimize_pic_address",
"(",
"rtx",
"orig",
",",
"rtx",
"reg",
")",
"{",
"bool",
"gotdata_op",
"=",
"false",
";",
"if",
"(",
"GET_CODE",
"(",
"orig",
")",
"==",
"SYMBOL_REF",
"||",
"(",
"GET_CODE",
"(",
"orig",
")",
"==",
... | [
"Legitimize",
"PIC",
"addresses",
".",
"If",
"the",
"address",
"is",
"already",
"position-independent",
",",
"we",
"return",
"ORIG",
".",
"Newly",
"generated",
"position-independent",
"addresses",
"go",
"into",
"a",
"reg",
".",
"This",
"is",
"REG",
"if",
"nonz... | [
"sparc",
"0",
"2",
"1",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"1",
"1"
] | sparc4 | sparc_legitimize_pic_address | sparc | CPU | GCC | 22,813 | 464 | 1 | [] |
[
"<s>",
"bool",
"isToken",
"(",
")",
"const",
"{",
"return",
"Kind",
"==",
"k_Token",
";",
"}",
"</s>"
] | [
"isToken",
"-",
"Is",
"this",
"a",
"token",
"operand",
"?"
] | [
"ARM64"
] | ARM64AsmParser | isToken | ARM64 | CPU | LLVM | 22,814 | 12 | 1 | [] |
[
"<s>",
"int",
"getIntImmCost",
"(",
"Intrinsic",
"::",
"ID",
"IID",
",",
"unsigned",
"Idx",
",",
"const",
"APInt",
"&",
"Imm",
",",
"Type",
"*",
"Ty",
")",
"{",
"return",
"getIntImmCost",
"(",
"Imm",
",",
"Ty",
")",
";",
"}",
"</s>"
] | [
"Calculate",
"the",
"cost",
"of",
"materializing",
"a",
"64-bit",
"value",
"."
] | [
"DLX",
"Intrinsic::ID"
] | DLXTargetTransformInfo | getIntImmCost | DLX | CPU | LLVM | 22,815 | 30 | 1 | [] |
[
"<s>",
"static",
"bool",
"rs6000_assemble_integer",
"(",
"rtx",
"x",
",",
"unsigned",
"int",
"size",
",",
"int",
"aligned_p",
")",
"{",
"if",
"(",
"RELOCATABLE_NEEDS_FIXUP",
"&&",
"size",
"==",
"4",
"&&",
"aligned_p",
")",
"{",
"static",
"int",
"recurse",
... | [
"Target",
"hook",
"for",
"assembling",
"integer",
"objects",
".",
"The",
"powerpc",
"version",
"has",
"to",
"handle",
"fixup",
"entries",
"for",
"relocatable",
"code",
"if",
"RELOCATABLE_NEEDS_FIXUP",
"is",
"defined",
".",
"It",
"also",
"needs",
"to",
"handle",
... | [
"rs6000",
"4",
"0",
"1",
"256",
"1",
"\"LCP\"",
"\"\\t.long\\t(\"",
"\")@fixup\\n\"",
"\"\\t.section\\t\\\".fixup\\\",\\\"aw\\\"\\n\"",
"2",
"\"\\t.long\\t\"",
"\"\\n\\t.previous\\n\"",
"0",
"0",
"0",
"0",
"\"\\t.long\\t%s\\n\""
] | rs6000 | rs6000_assemble_integer | rs6000 | CPU | GCC | 22,816 | 230 | 1 | [] |
[
"<s>",
"static",
"void",
"lm32_block_move_inline",
"(",
"rtx",
"dest",
",",
"rtx",
"src",
",",
"HOST_WIDE_INT",
"length",
",",
"HOST_WIDE_INT",
"alignment",
")",
"{",
"HOST_WIDE_INT",
"offset",
",",
"delta",
";",
"unsigned",
"HOST_WIDE_INT",
"bits",
";",
"int",
... | [
"Emit",
"straight-line",
"code",
"to",
"move",
"LENGTH",
"bytes",
"from",
"SRC",
"to",
"DEST",
".",
"Assume",
"that",
"the",
"areas",
"do",
"not",
"overlap",
"."
] | [
"lm32",
"1",
"8",
"2",
"16",
"32",
"0",
"0",
"0",
"0",
"0",
"0"
] | lm322 | lm32_block_move_inline | lm32 | MPU | GCC | 22,817 | 245 | 1 | [] |
[
"<s>",
"bool",
"invalid_e500_subreg",
"(",
"rtx",
"op",
",",
"machine_mode",
"mode",
")",
"{",
"if",
"(",
"TARGET_E500_DOUBLE",
")",
"{",
"if",
"(",
"GET_CODE",
"(",
"op",
")",
"==",
"SUBREG",
"&&",
"(",
"mode",
"==",
"SImode",
"||",
"mode",
"==",
"DIm... | [
"Return",
"TRUE",
"if",
"OP",
"is",
"an",
"invalid",
"SUBREG",
"operation",
"on",
"the",
"e500",
"."
] | [
"rs6000"
] | rs60005 | invalid_e500_subreg | rs6000 | CPU | GCC | 22,818 | 235 | 1 | [] |
[
"<s>",
"static",
"rtx",
"force_offsettable",
"(",
"rtx",
"addr",
",",
"HOST_WIDE_INT",
"size",
",",
"bool",
"reuse",
")",
"{",
"rtx",
"base",
"=",
"addr",
";",
"rtx",
"offs",
"=",
"const0_rtx",
";",
"if",
"(",
"GET_CODE",
"(",
"base",
")",
"==",
"PLUS"... | [
"Helper",
"function",
"of",
"arc_expand_movmem",
".",
"ADDR",
"points",
"to",
"a",
"chunk",
"of",
"memory",
".",
"Emit",
"code",
"and",
"return",
"an",
"potentially",
"modified",
"address",
"such",
"that",
"offsets",
"up",
"to",
"SIZE",
"are",
"can",
"be",
... | [
"arc",
"1",
"0"
] | arc6 | force_offsettable | arc | MPU | GCC | 22,819 | 134 | 1 | [] |
[
"<s>",
"bool",
"HexagonAsmParser",
"::",
"isLabel",
"(",
"AsmToken",
"&",
"Token",
")",
"{",
"MCAsmLexer",
"&",
"Lexer",
"=",
"getLexer",
"(",
")",
";",
"AsmToken",
"const",
"&",
"Second",
"=",
"Lexer",
".",
"getTok",
"(",
")",
";",
"AsmToken",
"Third",
... | [
"Returns",
"true",
"if",
"the",
"MachineInstr",
"represents",
"a",
"label",
"."
] | [
"Hexagon",
"Hexagon"
] | HexagonAsmParser31 | isLabel | Hexagon | DSP | LLVM | 22,820 | 227 | 1 | [] |
[
"<s>",
"ArrayRef",
"<",
"std",
"::",
"pair",
"<",
"unsigned",
",",
"const",
"char",
"*",
">>",
"SIInstrInfo",
"::",
"getSerializableDirectMachineOperandTargetFlags",
"(",
")",
"const",
"{",
"static",
"const",
"std",
"::",
"pair",
"<",
"unsigned",
",",
"const",... | [
"Return",
"an",
"array",
"that",
"contains",
"the",
"direct",
"target",
"flag",
"values",
"and",
"their",
"names",
"."
] | [
"AMDGPU",
"SI",
"\"amdgpu-gotprel\"",
"\"amdgpu-gotprel32-lo\"",
"\"amdgpu-gotprel32-hi\"",
"\"amdgpu-rel32-lo\"",
"\"amdgpu-rel32-hi\""
] | SIInstrInfo (2) | getSerializableDirectMachineOperandTargetFlags | AMDGPU | GPU | LLVM | 22,821 | 74 | 1 | [] |
[
"<s>",
"SDValue",
"BlackfinTargetLowering",
"::",
"LowerFormalArguments",
"(",
"SDValue",
"Chain",
",",
"CallingConv",
"::",
"ID",
"CallConv",
",",
"bool",
"isVarArg",
",",
"const",
"SmallVectorImpl",
"<",
"ISD",
"::",
"InputArg",
">",
"&",
"Ins",
",",
"DebugLoc... | [
"This",
"hook",
"must",
"be",
"implemented",
"to",
"lower",
"the",
"incoming",
"(",
"formal",
")",
"arguments",
",",
"described",
"by",
"the",
"Ins",
"array",
",",
"into",
"the",
"specified",
"DAG",
"."
] | [
"Blackfin",
"ISD::InputArg",
"16",
"12",
"4",
"0",
"BF::P0",
"BF::PRegisterClass",
"BF::DRegisterClass",
"\"Unexpected regclass in CCState\"",
"\"Unexpected regclass in CCState\"",
"ISD::AssertSext",
"ISD::AssertZext",
"ISD::TRUNCATE",
"\"CCValAssign must be RegLoc or MemLoc\"",
"MVT::... | BlackfinISelLowering6 | LowerFormalArguments | Blackfin | DSP | LLVM | 22,822 | 474 | 1 | [] |
[
"<s>",
"void",
"GCNILPScheduler",
"::",
"releasePending",
"(",
")",
"{",
"for",
"(",
"auto",
"I",
"=",
"PendingQueue",
".",
"begin",
"(",
")",
",",
"E",
"=",
"PendingQueue",
".",
"end",
"(",
")",
";",
"I",
"!=",
"E",
";",
")",
"{",
"auto",
"&",
"... | [
"Release",
"pending",
"ready",
"nodes",
"in",
"to",
"the",
"available",
"queue",
"."
] | [
"AMDGPU"
] | GCNILPSched | releasePending | AMDGPU | GPU | LLVM | 22,823 | 79 | 1 | [] |
[
"<s>",
"static",
"machine_mode",
"arc_preferred_simd_mode",
"(",
"machine_mode",
"mode",
")",
"{",
"switch",
"(",
"mode",
")",
"{",
"case",
"HImode",
":",
"return",
"TARGET_PLUS_QMACW",
"?",
"V4HImode",
":",
"V2HImode",
";",
"case",
"SImode",
":",
"return",
"V... | [
"Implements",
"target",
"hook",
"TARGET_VECTORIZE_PREFERRED_SIMD_MODE",
"."
] | [
"arc"
] | arc6 | arc_preferred_simd_mode | arc | MPU | GCC | 22,824 | 36 | 1 | [] |
[
"<s>",
"static",
"bool",
"pru_arg_in_reg_bysize",
"(",
"size_t",
"sz",
")",
"{",
"return",
"sz",
"==",
"1",
"||",
"sz",
"==",
"2",
"||",
"sz",
"==",
"3",
"||",
"sz",
"==",
"4",
"||",
"sz",
"==",
"8",
";",
"}",
"</s>"
] | [
"Check",
"if",
"argument",
"with",
"the",
"given",
"size",
"must",
"be",
"passed/returned",
"in",
"a",
"register",
".",
"Reference",
":",
"https",
":",
"//e2e.ti.com/support/development_tools/compiler/f/343/p/650176/2393029",
"Arguments",
"other",
"than",
"8/16/24/32/64bi... | [
"pru",
"1",
"2",
"3",
"4",
"8"
] | pru | pru_arg_in_reg_bysize | pru | CPU | GCC | 22,825 | 30 | 1 | [] |
[
"<s>",
"bool",
"mips_cannot_change_mode_class",
"(",
"machine_mode",
"from",
",",
"machine_mode",
"to",
",",
"enum",
"reg_class",
"rclass",
")",
"{",
"if",
"(",
"GET_MODE_SIZE",
"(",
"from",
")",
"==",
"8",
"&&",
"GET_MODE_SIZE",
"(",
"to",
")",
"==",
"8",
... | [
"Implement",
"CANNOT_CHANGE_MODE_CLASS",
"."
] | [
"mips",
"8",
"8"
] | mips4 | mips_cannot_change_mode_class | mips | CPU | GCC | 22,826 | 52 | 1 | [] |
[
"<s>",
"static",
"bool",
"pa_assemble_integer",
"(",
"rtx",
"x",
",",
"unsigned",
"int",
"size",
",",
"int",
"aligned_p",
")",
"{",
"if",
"(",
"size",
"==",
"UNITS_PER_WORD",
"&&",
"aligned_p",
"&&",
"function_label_operand",
"(",
"x",
",",
"VOIDmode",
")",
... | [
"Target",
"hook",
"for",
"assembling",
"integer",
"objects",
".",
"This",
"code",
"handles",
"aligned",
"SI",
"and",
"DI",
"integers",
"specially",
",",
"since",
"function",
"references",
"must",
"be",
"preceded",
"by",
"P",
"%",
"."
] | [
"pa",
"8",
"\"\\t.dword\\tP%\"",
"\"\\t.word\\tP%\""
] | pa3 | pa_assemble_integer | pa | CPU | GCC | 22,827 | 73 | 1 | [] |
[
"<s>",
"unsigned",
"BlackfinRegisterInfo",
"::",
"getFrameRegister",
"(",
"const",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"const",
"TargetFrameInfo",
"*",
"TFI",
"=",
"MF",
".",
"getTarget",
"(",
")",
".",
"getFrameInfo",
"(",
")",
";",
"return",
"... | [
"Debug",
"information",
"queries",
"."
] | [
"Blackfin",
"BF::FP",
"BF::SP"
] | BlackfinRegisterInfo4 | getFrameRegister | Blackfin | DSP | LLVM | 22,828 | 44 | 1 | [] |
[
"<s>",
"bool",
"enableMachineSchedDefaultSched",
"(",
")",
"const",
"override",
"{",
"return",
"true",
";",
"}",
"</s>"
] | [
"True",
"if",
"the",
"machine",
"scheduler",
"should",
"disable",
"the",
"TLI",
"preference",
"for",
"preRA",
"scheduling",
"with",
"the",
"source",
"level",
"scheduler",
"."
] | [
"Mips"
] | MipsSubtarget43 | enableMachineSchedDefaultSched | Mips | CPU | LLVM | 22,829 | 11 | 1 | [] |
[
"<s>",
"void",
"loongarch_init_builtins",
"(",
"void",
")",
"{",
"const",
"struct",
"loongarch_builtin_description",
"*",
"d",
";",
"unsigned",
"int",
"i",
";",
"tree",
"type",
";",
"for",
"(",
"i",
"=",
"0",
";",
"i",
"<",
"ARRAY_SIZE",
"(",
"loongarch_bu... | [
"Implement",
"TARGET_INIT_BUILTINS",
"."
] | [
"loongarch",
"0"
] | loongarch-builtins | loongarch_init_builtins | loongarch | CPU | GCC | 22,830 | 96 | 1 | [] |
[
"<s>",
"static",
"rtx",
"ix86_function_value",
"(",
"const_tree",
"valtype",
",",
"const_tree",
"fntype_or_decl",
",",
"bool",
")",
"{",
"machine_mode",
"mode",
",",
"orig_mode",
";",
"orig_mode",
"=",
"TYPE_MODE",
"(",
"valtype",
")",
";",
"mode",
"=",
"type_... | [
"Define",
"how",
"to",
"find",
"the",
"value",
"returned",
"by",
"a",
"function",
".",
"VALTYPE",
"is",
"the",
"data",
"type",
"of",
"the",
"value",
"(",
"as",
"a",
"tree",
")",
".",
"If",
"the",
"precise",
"function",
"being",
"called",
"is",
"known",... | [
"i386"
] | i386 | ix86_function_value | i386 | CPU | GCC | 22,831 | 49 | 1 | [] |
[
"<s>",
"static",
"void",
"free_state_stack",
"(",
"struct",
"unw_reg_state",
"*",
"rs",
")",
"{",
"struct",
"unw_reg_state",
"*",
"p",
",",
"*",
"next",
";",
"for",
"(",
"p",
"=",
"rs",
"->",
"next",
";",
"p",
"!=",
"NULL",
";",
"p",
"=",
"next",
"... | [
"Free",
"all",
"stacked",
"register",
"states",
"(",
"but",
"not",
"RS",
"itself",
")",
"."
] | [
"ia64"
] | unwind-ia64 | free_state_stack | ia64 | CPU | GCC | 22,832 | 54 | 1 | [] |
[
"<s>",
"void",
"pop_back",
"(",
")",
"{",
"rbegin",
"(",
")",
"->",
"second",
".",
"pop_back",
"(",
")",
";",
"if",
"(",
"rbegin",
"(",
")",
"->",
"second",
".",
"empty",
"(",
")",
")",
"erase",
"(",
"rbegin",
"(",
")",
"->",
"first",
")",
";",... | [
"Pop",
"one",
"bit",
"from",
"the",
"end",
"of",
"the",
"vector",
"."
] | [
"AMDGPU"
] | GCNRegBankReassign4 | pop_back | AMDGPU | GPU | LLVM | 22,833 | 37 | 1 | [] |
[
"<s>",
"int",
"X86FrameLowering",
"::",
"mergeSPUpdates",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"&",
"MBBI",
",",
"bool",
"doMergeWithPrevious",
")",
"const",
"{",
"if",
"(",
"(",
"doMergeWithPrevious",
"&&",
"MBBI",
"... | [
"Check",
"the",
"instruction",
"before/after",
"the",
"passed",
"instruction",
"."
] | [
"X86",
"X86",
"0",
"0",
"X86::ADD64ri32",
"X86::ADD64ri8",
"X86::ADD32ri",
"X86::ADD32ri8",
"0",
"1",
"2",
"X86::LEA32r",
"X86::LEA64_32r",
"0",
"1",
"2",
"1",
"3",
"X86::NoRegister",
"5",
"X86::NoRegister",
"4",
"X86::SUB64ri32",
"X86::SUB64ri8",
"X86::SUB32ri",
"X... | X86FrameLowering12 | mergeSPUpdates | X86 | CPU | LLVM | 22,834 | 471 | 1 | [] |
[
"<s>",
"bool",
"HexagonTargetObjectFile",
"::",
"IsGlobalInSmallSection",
"(",
"const",
"GlobalValue",
"*",
"GV",
",",
"const",
"TargetMachine",
"&",
"TM",
",",
"SectionKind",
"Kind",
")",
"const",
"{",
"const",
"GlobalVariable",
"*",
"GVA",
"=",
"dyn_cast",
"<"... | [
"Return",
"true",
"if",
"this",
"global",
"address",
"should",
"be",
"placed",
"into",
"small",
"data/bss",
"section",
"."
] | [
"Hexagon",
"Hexagon"
] | HexagonTargetObjectFile27 | IsGlobalInSmallSection | Hexagon | DSP | LLVM | 22,835 | 96 | 1 | [] |
[
"<s>",
"static",
"void",
"xstormy16_asm_out_destructor",
"(",
"rtx",
"symbol",
",",
"int",
"priority",
")",
"{",
"const",
"char",
"*",
"section",
"=",
"\".dtors\"",
";",
"char",
"buf",
"[",
"16",
"]",
";",
"if",
"(",
"priority",
"!=",
"DEFAULT_INIT_PRIORITY"... | [
"Output",
"constructors",
"and",
"destructors",
".",
"Just",
"like",
"default_named_section_asm_out_",
"*",
"but",
"do",
"n't",
"set",
"the",
"sections",
"writable",
"."
] | [
"stormy16",
"\".dtors\"",
"16",
"\".dtors.%.5u\"",
"0",
"1"
] | stormy164 | xstormy16_asm_out_destructor | stormy16 | CPU | GCC | 22,836 | 78 | 1 | [] |
[
"<s>",
"static",
"section",
"*",
"avr_asm_select_section",
"(",
"tree",
"decl",
",",
"int",
"reloc",
",",
"unsigned",
"HOST_WIDE_INT",
"align",
")",
"{",
"section",
"*",
"sect",
"=",
"default_elf_select_section",
"(",
"decl",
",",
"reloc",
",",
"align",
")",
... | [
"Implement",
"`",
"TARGET_ASM_SELECT_SECTION",
"'"
] | [
"avr",
"\".rodata\"",
"0"
] | avr | avr_asm_select_section | avr | MPU | GCC | 22,837 | 206 | 1 | [] |
[
"<s>",
"bool",
"AMDGPUPromoteAlloca",
"::",
"runOnFunction",
"(",
"Function",
"&",
"F",
")",
"{",
"if",
"(",
"!",
"TM",
")",
"return",
"false",
";",
"const",
"AMDGPUSubtarget",
"&",
"ST",
"=",
"TM",
"->",
"getSubtarget",
"<",
"AMDGPUSubtarget",
">",
"(",
... | [
"runOnFunction",
"-",
"Virtual",
"method",
"overriden",
"by",
"subclasses",
"to",
"do",
"the",
"per-function",
"processing",
"of",
"the",
"pass",
"."
] | [
"AMDGPU",
"AMDGPU",
"AMDGPU",
"AMDGPU",
"0",
"AMDGPU",
"0",
"\"Function has local memory argument. Promoting to \"",
"\"local memory disabled.\\n\"",
"0",
"AMDGPU",
"0",
"\"bytes free in local memory.\\n\""
] | AMDGPUPromoteAlloca5 | runOnFunction | AMDGPU | GPU | LLVM | 22,838 | 305 | 1 | [] |
[
"<s>",
"void",
"HexagonTTIImpl",
"::",
"getPeelingPreferences",
"(",
"Loop",
"*",
"L",
",",
"ScalarEvolution",
"&",
"SE",
",",
"TTI",
"::",
"PeelingPreferences",
"&",
"PP",
")",
"{",
"BaseT",
"::",
"getPeelingPreferences",
"(",
"L",
",",
"SE",
",",
"PP",
"... | [
"Get",
"target-customized",
"preferences",
"for",
"the",
"generic",
"loop",
"peeling",
"transformation",
"."
] | [
"Hexagon",
"Hexagon",
"0",
"0",
"5",
"2"
] | HexagonTargetTransformInfo16 | getPeelingPreferences | Hexagon | DSP | LLVM | 22,839 | 82 | 1 | [] |
[
"<s>",
"const",
"MCPhysReg",
"*",
"SIRegisterInfo",
"::",
"getCalleeSavedRegs",
"(",
"const",
"MachineFunction",
"*",
"MF",
")",
"const",
"{",
"CallingConv",
"::",
"ID",
"CC",
"=",
"MF",
"->",
"getFunction",
"(",
")",
".",
"getCallingConv",
"(",
")",
";",
... | [
"Code",
"Generation",
"virtual",
"methods",
"..."
] | [
"AMDGPU",
"SI",
"AMDGPU",
"AMDGPU",
"AMDGPU",
"SI",
"SI",
"AMDGPU::NoRegister"
] | SIRegisterInfo24 | getCalleeSavedRegs | AMDGPU | GPU | LLVM | 22,840 | 109 | 1 | [] |
[
"<s>",
"void",
"microblaze_expand_conditional_branch",
"(",
"machine_mode",
"mode",
",",
"rtx",
"operands",
"[",
"]",
")",
"{",
"enum",
"rtx_code",
"code",
"=",
"GET_CODE",
"(",
"operands",
"[",
"0",
"]",
")",
";",
"rtx",
"cmp_op0",
"=",
"operands",
"[",
"... | [
"Generate",
"conditional",
"branch",
"--",
"first",
",",
"generate",
"test",
"condition",
",",
"second",
",",
"generate",
"correct",
"branch",
"instruction",
"."
] | [
"microblaze",
"0",
"1",
"2",
"3"
] | microblaze | microblaze_expand_conditional_branch | microblaze | MPU | GCC | 22,841 | 209 | 1 | [] |
[
"<s>",
"void",
"WebAssemblyAsmPrinter",
"::",
"EmitInstruction",
"(",
"const",
"MachineInstr",
"*",
"MI",
")",
"{",
"DEBUG",
"(",
"dbgs",
"(",
")",
"<<",
"\"EmitInstruction: \"",
"<<",
"*",
"MI",
"<<",
"'\\n'",
")",
";",
"assert",
"(",
"MI",
"->",
"getDesc... | [
"EmitInstruction",
"-",
"This",
"callback",
"is",
"invoked",
"when",
"an",
"instruction",
"is",
"emitted",
",",
"to",
"advance",
"the",
"hazard",
"state",
"."
] | [
"WebAssembly",
"WebAssembly",
"\"EmitInstruction: \"",
"1",
"\"Instructions with multiple result values not implemented\"",
"128",
"\"\\t\"",
"\"set_local \"",
"0",
"\", \"",
"\"(get_local \"",
"1",
"\")\"",
"WebAssembly::ARGUMENT_I32",
"WebAssembly::ARGUMENT_I64",
"WebAssembly::ARGUME... | WebAssemblyAsmPrinter40 | EmitInstruction | WebAssembly | Virtual ISA | LLVM | 22,842 | 172 | 1 | [] |
[
"<s>",
"void",
"Cpu0MCCodeEmitter",
"::",
"EmitInstruction",
"(",
"uint64_t",
"Val",
",",
"unsigned",
"Size",
",",
"raw_ostream",
"&",
"OS",
")",
"const",
"{",
"for",
"(",
"unsigned",
"i",
"=",
"0",
";",
"i",
"<",
"Size",
";",
"++",
"i",
")",
"{",
"u... | [
"EmitInstruction",
"-",
"This",
"callback",
"is",
"invoked",
"when",
"an",
"instruction",
"is",
"emitted",
",",
"to",
"advance",
"the",
"hazard",
"state",
"."
] | [
"Cpu0",
"Cpu0",
"0",
"8",
"1",
"8",
"0xff"
] | Cpu0MCCodeEmitter | EmitInstruction | Cpu0 | CPU | LLVM | 22,843 | 66 | 1 | [] |
[
"<s>",
"bool",
"loongarch_legitimize_move",
"(",
"machine_mode",
"mode",
",",
"rtx",
"dest",
",",
"rtx",
"src",
")",
"{",
"if",
"(",
"!",
"register_operand",
"(",
"dest",
",",
"mode",
")",
"&&",
"!",
"reg_or_0_operand",
"(",
"src",
",",
"mode",
")",
")",... | [
"If",
"(",
"set",
"DEST",
"SRC",
")",
"is",
"not",
"a",
"valid",
"move",
"instruction",
",",
"emit",
"an",
"equivalent",
"sequence",
"that",
"is",
"valid",
"."
] | [
"loongarch"
] | loongarch | loongarch_legitimize_move | loongarch | CPU | GCC | 22,844 | 138 | 1 | [] |
[
"<s>",
"static",
"bool",
"addr_generation_dependency_p",
"(",
"rtx",
"dep_rtx",
",",
"rtx_insn",
"*",
"insn",
")",
"{",
"rtx",
"target",
",",
"pat",
";",
"if",
"(",
"NONJUMP_INSN_P",
"(",
"dep_rtx",
")",
")",
"dep_rtx",
"=",
"PATTERN",
"(",
"dep_rtx",
")",... | [
"Returns",
"true",
"if",
"expression",
"DEP_RTX",
"sets",
"an",
"address",
"register",
"used",
"by",
"instruction",
"INSN",
"to",
"address",
"memory",
"."
] | [
"s390",
"0",
"0",
"2",
"0",
"0"
] | s390 | addr_generation_dependency_p | s390 | MPU | GCC | 22,845 | 200 | 1 | [] |
[
"<s>",
"MipsSubtarget",
"::",
"MipsSubtarget",
"(",
"const",
"std",
"::",
"string",
"&",
"TT",
",",
"const",
"std",
"::",
"string",
"&",
"CPU",
",",
"const",
"std",
"::",
"string",
"&",
"FS",
",",
"bool",
"little",
")",
":",
"MipsGenSubtargetInfo",
"(",
... | [
"This",
"constructor",
"initializes",
"the",
"data",
"members",
"to",
"match",
"that",
"of",
"the",
"specified",
"triple",
"."
] | [
"Mips",
"Mips",
"Mips",
"Mips",
"Mips",
"Mips",
"Mips",
"Mips",
"\"mips32\"",
"Mips",
"Mips",
"Mips",
"Mips",
"Mips",
"\"Invalid Arch & ABI pair.\"",
"\"linux\""
] | MipsSubtarget17 | MipsSubtarget | Mips | CPU | LLVM | 22,846 | 222 | 1 | [] |
[
"<s>",
"static",
"void",
"alpha_sa_mask",
"(",
"unsigned",
"long",
"*",
"imaskP",
",",
"unsigned",
"long",
"*",
"fmaskP",
")",
"{",
"unsigned",
"long",
"imask",
"=",
"0",
";",
"unsigned",
"long",
"fmask",
"=",
"0",
";",
"unsigned",
"int",
"i",
";",
"if... | [
"Compute",
"register",
"masks",
"for",
"saved",
"registers",
"."
] | [
"alpha",
"0",
"0",
"0",
"0",
"1UL",
"0",
"32",
"1UL",
"1UL",
"32",
"0",
"1UL",
"1UL"
] | alpha4 | alpha_sa_mask | alpha | MPU | GCC | 22,847 | 203 | 1 | [] |
[
"<s>",
"static",
"bool",
"rs6000_return_in_memory",
"(",
"const_tree",
"type",
",",
"const_tree",
"fntype",
"ATTRIBUTE_UNUSED",
")",
"{",
"if",
"(",
"TARGET_MACHO",
"&&",
"rs6000_darwin64_abi",
"&&",
"TREE_CODE",
"(",
"type",
")",
"==",
"RECORD_TYPE",
"&&",
"int_s... | [
"Return",
"a",
"nonzero",
"value",
"to",
"say",
"to",
"return",
"the",
"function",
"value",
"in",
"memory",
",",
"just",
"as",
"large",
"structures",
"are",
"always",
"returned",
".",
"TYPE",
"will",
"be",
"the",
"data",
"type",
"of",
"the",
"value",
","... | [
"rs6000",
"0",
"0",
"16",
"8",
"16",
"8",
"0",
"\"GCC vector returned by reference: \"",
"\"non-standard ABI extension with no compatibility guarantee\""
] | rs60004 | rs6000_return_in_memory | rs6000 | CPU | GCC | 22,848 | 240 | 1 | [] |
[
"<s>",
"bool",
"X86CallFrameOptimization",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"{",
"TII",
"=",
"MF",
".",
"getSubtarget",
"(",
")",
".",
"getInstrInfo",
"(",
")",
";",
"TFL",
"=",
"MF",
".",
"getSubtarget",
"(",
")",
".",... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"X86",
"X86"
] | X86CallFrameOptimization39 | runOnMachineFunction | X86 | CPU | LLVM | 22,849 | 203 | 1 | [] |
[
"<s>",
"static",
"bool",
"arm_cannot_copy_insn_p",
"(",
"rtx_insn",
"*",
"insn",
")",
"{",
"if",
"(",
"recog_memoized",
"(",
"insn",
")",
"==",
"CODE_FOR_tlscall",
")",
"return",
"true",
";",
"subrtx_iterator",
"::",
"array_type",
"array",
";",
"FOR_EACH_SUBRTX"... | [
"Must",
"not",
"copy",
"any",
"rtx",
"that",
"uses",
"a",
"pc-relative",
"address",
"."
] | [
"arm",
"1",
"1"
] | arm4 | arm_cannot_copy_insn_p | arm | CPU | GCC | 22,850 | 83 | 1 | [] |
[
"<s>",
"bool",
"WebAssemblyLateEHPrepare",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"{",
"LLVM_DEBUG",
"(",
"dbgs",
"(",
")",
"<<",
"\"********** Late EH Prepare **********\\n\"",
"\"********** Function: \"",
"<<",
"MF",
".",
"getName",
"(",... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"WebAssembly",
"WebAssembly",
"\"********** Late EH Prepare **********\\n\"",
"\"********** Function: \""
] | WebAssemblyLateEHPrepare11 | runOnMachineFunction | WebAssembly | Virtual ISA | LLVM | 22,851 | 140 | 1 | [] |
[
"<s>",
"void",
"MSP430InstPrinter",
"::",
"printInst",
"(",
"const",
"MCInst",
"*",
"MI",
",",
"raw_ostream",
"&",
"O",
",",
"StringRef",
"Annot",
",",
"const",
"MCSubtargetInfo",
"&",
"STI",
")",
"{",
"printInstruction",
"(",
"MI",
",",
"O",
")",
";",
"... | [
"Print",
"the",
"specified",
"MCInst",
"to",
"the",
"specified",
"raw_ostream",
"."
] | [
"MSP430",
"MSP430"
] | MSP430InstPrinter19 | printInst | MSP430 | MPU | LLVM | 22,852 | 38 | 1 | [] |
[
"<s>",
"bool",
"shouldBuildLookupTablesForConstant",
"(",
"Constant",
"*",
"C",
")",
"const",
"{",
"if",
"(",
"ST",
"->",
"isROPI",
"(",
")",
"||",
"ST",
"->",
"isRWPI",
"(",
")",
"||",
"ST",
"->",
"isPIP",
"(",
")",
")",
"return",
"!",
"C",
"->",
... | [
"Return",
"true",
"if",
"switches",
"should",
"be",
"turned",
"into",
"lookup",
"tables",
"containing",
"this",
"constant",
"value",
"for",
"the",
"target",
"."
] | [
"ARM"
] | ARMTargetTransformInfo | shouldBuildLookupTablesForConstant | ARM | CPU | LLVM | 22,853 | 41 | 1 | [] |
[
"<s>",
"virtual",
"void",
"getAnalysisUsage",
"(",
"AnalysisUsage",
"&",
"AU",
")",
"const",
"override",
"{",
"AU",
".",
"addRequired",
"<",
"AAResultsWrapperPass",
">",
"(",
")",
";",
"MachineFunctionPass",
"::",
"getAnalysisUsage",
"(",
"AU",
")",
";",
"}",
... | [
"getAnalysisUsage",
"-",
"Subclasses",
"that",
"override",
"getAnalysisUsage",
"must",
"call",
"this",
"."
] | [
"AArch64"
] | AArch64LoadStoreOptimizer3 | getAnalysisUsage | AArch64 | CPU | LLVM | 22,854 | 28 | 1 | [] |
[
"<s>",
"int",
"ARMTTIImpl",
"::",
"getIntrinsicInstrCost",
"(",
"const",
"IntrinsicCostAttributes",
"&",
"ICA",
",",
"TTI",
"::",
"TargetCostKind",
"CostKind",
")",
"{",
"if",
"(",
"ST",
"->",
"hasMVEIntegerOps",
"(",
")",
"&&",
"ICA",
".",
"getID",
"(",
")"... | [
"Get",
"intrinsic",
"cost",
"based",
"on",
"arguments",
"."
] | [
"ARM",
"ARM",
"Intrinsic::get_active_lane_mask",
"0"
] | ARMTargetTransformInfo3 | getIntrinsicInstrCost | ARM | CPU | LLVM | 22,855 | 48 | 1 | [] |
[
"<s>",
"bool",
"PPCCTRLoopsVerify",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"{",
"MDT",
"=",
"&",
"getAnalysis",
"<",
"MachineDominatorTree",
">",
"(",
")",
";",
"for",
"(",
"MachineBasicBlock",
"&",
"MBB",
":",
"MF",
")",
"{",
... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"PowerPC",
"PPC",
"PPC::BDNZ8",
"PPC::BDNZ",
"PPC::BDZ8",
"PPC::BDZ",
"\"Invalid PPC CTR loop!\""
] | PPCCTRLoopsVerify | runOnMachineFunction | PowerPC | CPU | LLVM | 22,856 | 128 | 1 | [] |
[
"<s>",
"bool",
"enableInterleavedAccessVectorization",
"(",
")",
"{",
"return",
"true",
";",
"}",
"</s>"
] | [
"Enable",
"matching",
"of",
"interleaved",
"access",
"groups",
"."
] | [
"AArch64"
] | AArch64TargetTransformInfo (2) | enableInterleavedAccessVectorization | AArch64 | CPU | LLVM | 22,857 | 9 | 1 | [] |
[
"<s>",
"static",
"bool",
"alpha_cannot_copy_insn_p",
"(",
"rtx_insn",
"*",
"insn",
")",
"{",
"if",
"(",
"!",
"reload_completed",
"||",
"!",
"TARGET_EXPLICIT_RELOCS",
")",
"return",
"false",
";",
"if",
"(",
"recog_memoized",
"(",
"insn",
")",
">=",
"0",
")",
... | [
"Indicate",
"that",
"INSN",
"can",
"not",
"be",
"duplicated",
".",
"This",
"is",
"true",
"for",
"any",
"insn",
"that",
"we",
"'ve",
"marked",
"with",
"gpdisp",
"relocs",
",",
"since",
"those",
"have",
"to",
"stay",
"in",
"1-1",
"correspondence",
"with",
... | [
"alpha",
"0"
] | alpha | alpha_cannot_copy_insn_p | alpha | MPU | GCC | 22,858 | 40 | 1 | [] |
[
"<s>",
"bool",
"pass_vsetvl",
"::",
"can_refine_vsetvl_p",
"(",
"const",
"basic_block",
"cfg_bb",
",",
"const",
"vector_insn_info",
"&",
"info",
")",
"const",
"{",
"if",
"(",
"!",
"m_vector_manager",
"->",
"all_same_ratio_p",
"(",
"m_vector_manager",
"->",
"vector... | [
"Return",
"true",
"if",
"VSETVL",
"in",
"the",
"block",
"can",
"be",
"refined",
"as",
"vsetvl",
"zero",
",",
"zero",
"."
] | [
"riscv"
] | riscv-vsetvl | can_refine_vsetvl_p | riscv | CPU | GCC | 22,859 | 168 | 1 | [] |
[
"<s>",
"XCoreTargetMachine",
"::",
"XCoreTargetMachine",
"(",
"const",
"Target",
"&",
"T",
",",
"StringRef",
"TT",
",",
"StringRef",
"CPU",
",",
"StringRef",
"FS",
",",
"const",
"TargetOptions",
"&",
"Options",
",",
"Reloc",
"::",
"Model",
"RM",
",",
"CodeMo... | [
"Create",
"an",
"ILP32",
"architecture",
"model",
"."
] | [
"XCore",
"XCore",
"XCore",
"\"e-m:e-p:32:32-i1:8:32-i8:8:32-i16:16:32-i64:32-f64:32-a:0:32-n32\""
] | XCoreTargetMachine17 | XCoreTargetMachine | XCore | MPU | LLVM | 22,860 | 98 | 1 | [] |
[
"<s>",
"bool",
"s390_contiguous_bitmask_p",
"(",
"unsigned",
"HOST_WIDE_INT",
"in",
",",
"int",
"size",
",",
"int",
"*",
"pos",
",",
"int",
"*",
"length",
")",
"{",
"int",
"tmp_pos",
"=",
"0",
";",
"int",
"tmp_length",
"=",
"0",
";",
"int",
"i",
";",
... | [
"Return",
"true",
"if",
"IN",
"contains",
"a",
"contiguous",
"bitfield",
"in",
"the",
"lower",
"SIZE",
"bits",
"and",
"no",
"other",
"bits",
"are",
"set",
"in",
"IN",
".",
"POS",
"and",
"LENGTH",
"can",
"be",
"used",
"to",
"obtain",
"the",
"start",
"po... | [
"s390",
"0",
"0",
"1ULL",
"0",
"1",
"1LL",
"1ULL",
"1",
"1",
"1",
"1"
] | s3904 | s390_contiguous_bitmask_p | s390 | MPU | GCC | 22,861 | 182 | 1 | [] |
[
"<s>",
"void",
"Z80InstrInfo",
"::",
"copyPhysReg",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"MI",
",",
"const",
"DebugLoc",
"&",
"DL",
",",
"MCRegister",
"DestReg",
",",
"MCRegister",
"SrcReg",
",",
"bool",
"KillSrc",
... | [
"}",
"Branch",
"Analysis",
"&",
"Modification"
] | [
"Z80",
"Z80",
"\"Destination is smaller than source can't copy\"",
"8",
"Z80::LD8rr",
"16",
"Z80::LD8rr",
"Z80::LD8rr",
"Z80::LD8ri",
"0",
"Z80::LD8rr"
] | Z80InstrInfo (3) | copyPhysReg | Z80 | MPU | LLVM | 22,862 | 214 | 1 | [] |
[
"<s>",
"static",
"int",
"rs6000_memory_move_cost",
"(",
"machine_mode",
"mode",
",",
"reg_class_t",
"rclass",
",",
"bool",
"in",
"ATTRIBUTE_UNUSED",
")",
"{",
"int",
"ret",
";",
"if",
"(",
"TARGET_DEBUG_COST",
")",
"dbg_cost_ctrl",
"++",
";",
"if",
"(",
"reg_c... | [
"A",
"C",
"expressions",
"returning",
"the",
"cost",
"of",
"moving",
"data",
"of",
"MODE",
"from",
"a",
"register",
"to",
"or",
"from",
"memory",
"."
] | [
"rs6000",
"4",
"0",
"4",
"32",
"4",
"4",
"1",
"\"rs6000_memory_move_cost: ret=%d, mode=%s, rclass=%s, in=%d\\n\""
] | rs60004 | rs6000_memory_move_cost | rs6000 | CPU | GCC | 22,863 | 153 | 1 | [] |
[
"<s>",
"bool",
"ARCFrameLowering",
"::",
"restoreCalleeSavedRegisters",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"MI",
",",
"MutableArrayRef",
"<",
"CalleeSavedInfo",
">",
"CSI",
",",
"const",
"TargetRegisterInfo",
"*",
"TRI",
... | [
"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... | [
"ARC",
"ARC",
"\"Restore callee saved registers: \"",
"\"\\n\"",
"ARC::R14"
] | ARCFrameLowering13 | restoreCalleeSavedRegisters | ARC | MPU | LLVM | 22,864 | 75 | 1 | [] |
[
"<s>",
"static",
"bool",
"ix86_nopic_noplt_attribute_p",
"(",
"rtx",
"call_op",
")",
"{",
"if",
"(",
"flag_pic",
"||",
"ix86_cmodel",
"==",
"CM_LARGE",
"||",
"!",
"(",
"TARGET_64BIT",
"||",
"HAVE_AS_IX86_GOT32X",
")",
"||",
"TARGET_MACHO",
"||",
"TARGET_SEH",
"|... | [
"Return",
"true",
"if",
"the",
"function",
"being",
"called",
"was",
"marked",
"with",
"attribute",
"``",
"noplt",
"''",
"or",
"using",
"-fno-plt",
"and",
"we",
"are",
"compiling",
"for",
"non-PIC",
"and",
"x86_64",
".",
"We",
"need",
"to",
"handle",
"the"... | [
"i386",
"\"noplt\""
] | i386 | ix86_nopic_noplt_attribute_p | i386 | CPU | GCC | 22,865 | 73 | 1 | [] |
[
"<s>",
"static",
"void",
"rs6000_sched_finish",
"(",
"FILE",
"*",
"dump",
",",
"int",
"sched_verbose",
")",
"{",
"int",
"n_groups",
";",
"if",
"(",
"sched_verbose",
")",
"fprintf",
"(",
"dump",
",",
"\"=== Finishing schedule.\\n\"",
")",
";",
"if",
"(",
"rel... | [
"The",
"following",
"function",
"is",
"called",
"at",
"the",
"end",
"of",
"scheduling",
"BB",
".",
"After",
"reload",
",",
"it",
"inserts",
"nops",
"at",
"insn",
"group",
"bundling",
"."
] | [
"powerpcspe",
"\"=== Finishing schedule.\\n\"",
"6",
"\"ngroups = %d\\n\"",
"\"Done finish_sched\\n\""
] | powerpcspe | rs6000_sched_finish | powerpcspe | CPU | GCC | 22,866 | 125 | 1 | [] |
[
"<s>",
"bool",
"PatmosFrameLowering",
"::",
"hasReservedCallFrame",
"(",
"const",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"return",
"!",
"MF",
".",
"getFrameInfo",
"(",
")",
"->",
"hasVarSizedObjects",
"(",
")",
";",
"}",
"</s>"
] | [
"hasReservedCallFrame",
"-",
"Under",
"normal",
"circumstances",
",",
"when",
"a",
"frame",
"pointer",
"is",
"not",
"required",
",",
"we",
"reserve",
"argument",
"space",
"for",
"call",
"sites",
"in",
"the",
"function",
"immediately",
"on",
"entry",
"to",
"the... | [
"Patmos",
"Patmos"
] | PatmosFrameLowering | hasReservedCallFrame | Patmos | VLIW | LLVM | 22,867 | 25 | 1 | [] |
[
"<s>",
"void",
"AArch64Operand",
"::",
"print",
"(",
"raw_ostream",
"&",
"OS",
")",
"const",
"{",
"switch",
"(",
"Kind",
")",
"{",
"case",
"k_FPImm",
":",
"OS",
"<<",
"\"<fpimm \"",
"<<",
"getFPImm",
"(",
")",
".",
"bitcastToAPInt",
"(",
")",
".",
"get... | [
"print",
"-",
"Print",
"a",
"debug",
"representation",
"of",
"the",
"operand",
"to",
"the",
"given",
"stream",
"."
] | [
"AArch64",
"AArch64",
"\"<fpimm \"",
"\" (inexact)\"",
"\">\"",
"\"<barrier \"",
"\">\"",
"\"<barrier invalid #\"",
"\">\"",
"\"<shiftedimm \"",
"\", lsl #\"",
"AArch64_AM::getShiftValue",
"\">\"",
"\"<condcode \"",
"\">\"",
"\"<vectorlist \"",
"0",
"\" \"",
"\">\"",
"\"<vector... | AArch64AsmParser1 | print | AArch64 | CPU | LLVM | 22,868 | 494 | 1 | [] |
[
"<s>",
"unsigned",
"AVRMCCodeEmitter",
"::",
"getMachineOpValue",
"(",
"const",
"MCInst",
"&",
"MI",
",",
"const",
"MCOperand",
"&",
"MO",
",",
"SmallVectorImpl",
"<",
"MCFixup",
">",
"&",
"Fixups",
",",
"const",
"MCSubtargetInfo",
"&",
"STI",
")",
"const",
... | [
"getMachineOpValue",
"-",
"Return",
"binary",
"encoding",
"of",
"operand",
"."
] | [
"AVR",
"AVR",
"32"
] | AVRMCCodeEmitter10 | getMachineOpValue | AVR | MPU | LLVM | 22,869 | 135 | 1 | [] |
[
"<s>",
"bool",
"HexagonOptimizeSZextends",
"::",
"runOnFunction",
"(",
"Function",
"&",
"F",
")",
"{",
"if",
"(",
"skipFunction",
"(",
"F",
")",
")",
"return",
"false",
";",
"unsigned",
"Idx",
"=",
"0",
";",
"for",
"(",
"auto",
"&",
"Arg",
":",
"F",
... | [
"runOnFunction",
"-",
"Virtual",
"method",
"overriden",
"by",
"subclasses",
"to",
"do",
"the",
"per-function",
"processing",
"of",
"the",
"pass",
"."
] | [
"Hexagon",
"Hexagon",
"0",
"1",
"16",
"0",
"0",
"1",
"16"
] | HexagonOptimizeSZextends10 | runOnFunction | Hexagon | DSP | LLVM | 22,870 | 493 | 1 | [] |
[
"<s>",
"void",
"MipsELFStreamer",
"::",
"EmitInstruction",
"(",
"const",
"MCInst",
"&",
"Inst",
",",
"const",
"MCSubtargetInfo",
"&",
"STI",
",",
"bool",
")",
"{",
"MCELFStreamer",
"::",
"EmitInstruction",
"(",
"Inst",
",",
"STI",
")",
";",
"MCContext",
"&",... | [
"EmitInstruction",
"-",
"This",
"callback",
"is",
"invoked",
"when",
"an",
"instruction",
"is",
"emitted",
",",
"to",
"advance",
"the",
"hazard",
"state",
"."
] | [
"Mips",
"Mips",
"0"
] | MipsELFStreamer1 | EmitInstruction | Mips | CPU | LLVM | 22,871 | 112 | 1 | [] |
[
"<s>",
"static",
"void",
"save_restore_insns",
"(",
"int",
"store_p",
")",
"{",
"long",
"mask",
"=",
"cfun",
"->",
"machine",
"->",
"mask",
";",
"int",
"regno",
";",
"rtx",
"base_reg_rtx",
";",
"HOST_WIDE_INT",
"base_offset",
";",
"HOST_WIDE_INT",
"gp_offset",... | [
"Save",
"or",
"restore",
"instructions",
"based",
"on",
"whether",
"this",
"is",
"the",
"prologue",
"or",
"epilogue",
".",
"prologue",
"is",
"1",
"for",
"the",
"prologue",
"."
] | [
"iq2000",
"0",
"0",
"0",
"0",
"0",
"\"%<gp_offset%> (%ld) or %<end_offset%> (%ld) is less than zero\"",
"32768",
"0",
"0",
"1",
"1",
"4"
] | iq2000 | save_restore_insns | iq2000 | CPU | GCC | 22,872 | 283 | 1 | [] |
[
"<s>",
"MachineInstr",
"*",
"SystemZInstrInfo",
"::",
"commuteInstructionImpl",
"(",
"MachineInstr",
"&",
"MI",
",",
"bool",
"NewMI",
",",
"unsigned",
"OpIdx1",
",",
"unsigned",
"OpIdx2",
")",
"const",
"{",
"auto",
"cloneIfNew",
"=",
"[",
"NewMI",
"]",
"(",
... | [
"Commutes",
"the",
"operands",
"in",
"the",
"given",
"instruction",
"by",
"changing",
"the",
"operands",
"order",
"and/or",
"changing",
"the",
"instruction",
"'s",
"opcode",
"and/or",
"the",
"immediate",
"value",
"operand",
"."
] | [
"SystemZ",
"SystemZ",
"SystemZ::LOCRMux",
"SystemZ::LOCFHR",
"SystemZ::LOCR",
"SystemZ::LOCGR",
"3",
"4",
"4"
] | SystemZInstrInfo (2)2 | commuteInstructionImpl | SystemZ | CPU | LLVM | 22,873 | 177 | 1 | [] |
[
"<s>",
"unsigned",
"getCacheLineSize",
"(",
")",
"const",
"override",
"{",
"return",
"256",
";",
"}",
"</s>"
] | [
"Return",
"the",
"target",
"cache",
"line",
"size",
"in",
"bytes",
"."
] | [
"SystemZ",
"256"
] | SystemZTargetTransformInfo | getCacheLineSize | SystemZ | CPU | LLVM | 22,874 | 11 | 1 | [] |
[
"<s>",
"tree",
"ix86_builtin_decl",
"(",
"unsigned",
"code",
",",
"bool",
")",
"{",
"if",
"(",
"code",
">=",
"IX86_BUILTIN_MAX",
")",
"return",
"error_mark_node",
";",
"return",
"ix86_builtins",
"[",
"code",
"]",
";",
"}",
"</s>"
] | [
"Return",
"the",
"ix86",
"builtin",
"for",
"CODE",
"."
] | [
"i386"
] | i386-builtins | ix86_builtin_decl | i386 | CPU | GCC | 22,875 | 25 | 1 | [] |
[
"<s>",
"void",
"AVRDAGToDAGISel",
"::",
"Select",
"(",
"SDNode",
"*",
"N",
")",
"{",
"DEBUG",
"(",
"errs",
"(",
")",
"<<",
"\"Selecting: \"",
";",
"N",
"->",
"dump",
"(",
"CurDAG",
")",
";",
"errs",
"(",
")",
"<<",
"\"\\n\"",
")",
";",
"if",
"(",
... | [
"Main",
"hook",
"for",
"targets",
"to",
"transform",
"nodes",
"into",
"machine",
"nodes",
"."
] | [
"AVR",
"AVR",
"\"Selecting: \"",
"\"\\n\"",
"\"== \"",
"\"\\n\"",
"1"
] | AVRISelDAGToDAG6 | Select | AVR | MPU | LLVM | 22,876 | 89 | 1 | [] |
[
"<s>",
"void",
"MINA32FrameLowering",
"::",
"determineCalleeSaves",
"(",
"MachineFunction",
"&",
"MF",
",",
"BitVector",
"&",
"SavedRegs",
",",
"RegScavenger",
"*",
"RS",
")",
"const",
"{",
"TargetFrameLowering",
"::",
"determineCalleeSaves",
"(",
"MF",
",",
"Save... | [
"This",
"method",
"determines",
"which",
"of",
"the",
"registers",
"reported",
"by",
"TargetRegisterInfo",
":",
":getCalleeSavedRegs",
"(",
")",
"should",
"actually",
"get",
"saved",
"."
] | [
"MINA32",
"MINA32"
] | MINA32FrameLowering | determineCalleeSaves | MINA32 | CPU | LLVM | 22,877 | 31 | 1 | [] |
[
"<s>",
"void",
"NVPTXPassConfig",
"::",
"addIRPasses",
"(",
")",
"{",
"disablePass",
"(",
"&",
"PrologEpilogCodeInserterID",
")",
";",
"disablePass",
"(",
"&",
"MachineCopyPropagationID",
")",
";",
"disablePass",
"(",
"&",
"TailDuplicateID",
")",
";",
"addPass",
... | [
"Add",
"common",
"target",
"configurable",
"passes",
"that",
"perform",
"LLVM",
"IR",
"to",
"IR",
"transforms",
"following",
"machine",
"independent",
"optimization",
"."
] | [
"NVPTX",
"NVPTX",
"NVPTX",
"NVPTX",
"NVPTX",
"NVPTX",
"NVPTX",
"NVPTX"
] | NVPTXTargetMachine55 | addIRPasses | NVPTX | GPU | LLVM | 22,878 | 135 | 1 | [] |
[
"<s>",
"static",
"void",
"aarch64_pop_regs",
"(",
"unsigned",
"regno1",
",",
"unsigned",
"regno2",
",",
"HOST_WIDE_INT",
"adjustment",
",",
"rtx",
"*",
"cfi_ops",
")",
"{",
"machine_mode",
"mode",
"=",
"aarch64_reg_save_mode",
"(",
"regno1",
")",
";",
"rtx",
"... | [
"Pop",
"the",
"two",
"registers",
"numbered",
"REGNO1",
",",
"REGNO2",
"from",
"the",
"stack",
",",
"adjusting",
"it",
"afterwards",
"by",
"ADJUSTMENT",
"and",
"writing",
"the",
"appropriate",
"REG_CFA_RESTORE",
"notes",
"into",
"CFI_OPS",
"."
] | [
"aarch64"
] | aarch64 | aarch64_pop_regs | aarch64 | CPU | GCC | 22,879 | 135 | 1 | [] |
[
"<s>",
"static",
"bool",
"rs6000_secondary_reload_direct_move",
"(",
"enum",
"rs6000_reg_type",
"to_type",
",",
"enum",
"rs6000_reg_type",
"from_type",
",",
"machine_mode",
"mode",
",",
"secondary_reload_info",
"*",
"sri",
",",
"bool",
"altivec_p",
")",
"{",
"bool",
... | [
"Power8",
"helper",
"function",
"for",
"rs6000_secondary_reload",
",",
"handle",
"all",
"of",
"the",
"special",
"direct",
"moves",
"that",
"involve",
"allocating",
"an",
"extra",
"register",
",",
"return",
"the",
"insn",
"code",
"of",
"the",
"helper",
"function"... | [
"powerpcspe",
"0",
"16",
"3",
"3",
"3",
"2",
"8",
"3"
] | powerpcspe | rs6000_secondary_reload_direct_move | powerpcspe | CPU | GCC | 22,880 | 244 | 1 | [] |
[
"<s>",
"const",
"NVPTXInstrInfo",
"*",
"getInstrInfo",
"(",
")",
"const",
"override",
"{",
"return",
"getSubtargetImpl",
"(",
")",
"->",
"getInstrInfo",
"(",
")",
";",
"}",
"</s>"
] | [
"TargetInstrInfo",
"getter",
"."
] | [
"NVPTX",
"NVPTX"
] | NVPTXTargetMachine | getInstrInfo | NVPTX | GPU | LLVM | 22,881 | 19 | 1 | [] |
[
"<s>",
"static",
"void",
"rs6000_invalid_builtin",
"(",
"enum",
"rs6000_builtins",
"fncode",
")",
"{",
"size_t",
"uns_fncode",
"=",
"(",
"size_t",
")",
"fncode",
";",
"const",
"char",
"*",
"name",
"=",
"rs6000_builtin_info",
"[",
"uns_fncode",
"]",
".",
"name"... | [
"Raise",
"an",
"error",
"message",
"for",
"a",
"builtin",
"function",
"that",
"is",
"called",
"without",
"the",
"appropriate",
"target",
"options",
"being",
"set",
"."
] | [
"rs6000",
"0",
"\"Builtin function %s is only valid for the cell processor\"",
"0",
"\"Builtin function %s requires the -mvsx option\"",
"0",
"\"Builtin function %s requires the -mhtm option\"",
"0",
"\"Builtin function %s requires the -maltivec option\"",
"0",
"\"Builtin function %s requires th... | rs60006 | rs6000_invalid_builtin | rs6000 | CPU | GCC | 22,882 | 378 | 1 | [] |
[
"<s>",
"static",
"void",
"mips16e_mask_registers",
"(",
"unsigned",
"int",
"*",
"mask_ptr",
",",
"const",
"unsigned",
"char",
"*",
"regs",
",",
"unsigned",
"int",
"size",
",",
"unsigned",
"int",
"*",
"num_regs_ptr",
")",
"{",
"unsigned",
"int",
"i",
";",
"... | [
"*",
"MASK_PTR",
"is",
"a",
"mask",
"of",
"general-purpose",
"registers",
"and",
"*",
"NUM_REGS_PTR",
"is",
"the",
"number",
"of",
"set",
"bits",
".",
"If",
"*",
"MASK_PTR",
"contains",
"REGS",
"[",
"X",
"]",
"for",
"some",
"X",
"in",
"[",
"0",
",",
... | [
"mips",
"1",
"1"
] | mips | mips16e_mask_registers | mips | CPU | GCC | 22,883 | 85 | 1 | [] |
[
"<s>",
"static",
"const",
"char",
"*",
"arm_invalid_parameter_type",
"(",
"const_tree",
"t",
")",
"{",
"if",
"(",
"SCALAR_FLOAT_TYPE_P",
"(",
"t",
")",
"&&",
"TYPE_PRECISION",
"(",
"t",
")",
"==",
"16",
")",
"return",
"N_",
"(",
"\"function parameters cannot h... | [
"Implement",
"TARGET_INVALID_PARAMETER_TYPE",
"."
] | [
"arm",
"16",
"\"function parameters cannot have __fp16 type\""
] | arm4 | arm_invalid_parameter_type | arm | CPU | GCC | 22,884 | 34 | 1 | [] |
[
"<s>",
"int",
"MipsAsmParser",
"::",
"tryParseRegister",
"(",
"bool",
"is64BitReg",
")",
"{",
"const",
"AsmToken",
"&",
"Tok",
"=",
"Parser",
".",
"getTok",
"(",
")",
";",
"int",
"RegNum",
"=",
"-",
"1",
";",
"if",
"(",
"Tok",
".",
"is",
"(",
"AsmTok... | [
"tryParseRegister",
"-",
"parse",
"one",
"register",
"if",
"possible"
] | [
"Mips",
"Mips",
"1",
"Mips::CPU64RegsRegClassID",
"Mips::CPURegsRegClassID"
] | MipsAsmParser102 | tryParseRegister | Mips | CPU | LLVM | 22,885 | 106 | 1 | [] |
[
"<s>",
"const",
"X86InstrInfo",
"*",
"getInstrInfo",
"(",
")",
"const",
"{",
"return",
"getTargetMachine",
"(",
")",
".",
"getSubtargetImpl",
"(",
")",
"->",
"getInstrInfo",
"(",
")",
";",
"}",
"</s>"
] | [
"TargetInstrInfo",
"getter",
"."
] | [
"X86",
"X86"
] | X86ISelDAGToDAG124 | getInstrInfo | X86 | CPU | LLVM | 22,886 | 22 | 1 | [] |
[
"<s>",
"StringRef",
"X86TargetLowering",
"::",
"getStackProbeSymbolName",
"(",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"if",
"(",
"MF",
".",
"getFunction",
"(",
")",
".",
"hasFnAttribute",
"(",
"\"probe-stack\"",
")",
")",
"return",
"MF",
".",
"getFun... | [
"Returns",
"the",
"name",
"of",
"the",
"symbol",
"used",
"to",
"emit",
"stack",
"probes",
"or",
"the",
"empty",
"string",
"if",
"not",
"applicable",
"."
] | [
"X86",
"X86",
"\"probe-stack\"",
"\"probe-stack\"",
"\"no-stack-arg-probe\"",
"\"\"",
"\"___chkstk_ms\"",
"\"__chkstk\"",
"\"_alloca\"",
"\"_chkstk\""
] | X86ISelLowering (2)6 | getStackProbeSymbolName | X86 | CPU | LLVM | 22,887 | 100 | 1 | [] |
[
"<s>",
"bool",
"R600ClauseMergePass",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"{",
"if",
"(",
"skipFunction",
"(",
"*",
"MF",
".",
"getFunction",
"(",
")",
")",
")",
"return",
"false",
";",
"TII",
"=",
"static_cast",
"<",
"con... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"AMDGPU",
"R600",
"R600",
"8",
"\"CF ALU instruction disabled\""
] | R600ClauseMergePass21 | runOnMachineFunction | AMDGPU | GPU | LLVM | 22,888 | 219 | 1 | [] |
[
"<s>",
"const",
"LegalizerInfo",
"*",
"X86Subtarget",
"::",
"getLegalizerInfo",
"(",
")",
"const",
"{",
"return",
"Legalizer",
".",
"get",
"(",
")",
";",
"}",
"</s>"
] | [
"Expose",
"LegalizerInfo",
"so",
"the",
"clients",
"can",
"re-use",
"."
] | [
"X86",
"X86"
] | X86Subtarget (2)3 | getLegalizerInfo | X86 | CPU | LLVM | 22,889 | 18 | 1 | [] |
[
"<s>",
"static",
"void",
"ix86_emit_restore_reg_using_pop",
"(",
"rtx",
"reg",
")",
"{",
"struct",
"machine_function",
"*",
"m",
"=",
"cfun",
"->",
"machine",
";",
"rtx_insn",
"*",
"insn",
"=",
"emit_insn",
"(",
"gen_pop",
"(",
"reg",
")",
")",
";",
"ix86_... | [
"Emit",
"code",
"to",
"restore",
"REG",
"using",
"a",
"POP",
"insn",
"."
] | [
"i386",
"1",
"1",
"1"
] | i386 | ix86_emit_restore_reg_using_pop | i386 | CPU | GCC | 22,890 | 231 | 1 | [] |
[
"<s>",
"BitVector",
"PPCRegisterInfo",
"::",
"getReservedRegs",
"(",
"const",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"BitVector",
"Reserved",
"(",
"getNumRegs",
"(",
")",
")",
";",
"const",
"PPCFrameLowering",
"*",
"PPCFI",
"=",
"static_cast",
"<",
"... | [
"getReservedRegs",
"-",
"Returns",
"a",
"bitset",
"indexed",
"by",
"physical",
"register",
"number",
"indicating",
"if",
"a",
"register",
"is",
"a",
"special",
"register",
"that",
"has",
"particular",
"uses",
"and",
"should",
"be",
"considered",
"unavailable",
"... | [
"PowerPC",
"PPC",
"PPC",
"PPC",
"PPC",
"PPC::R0",
"PPC::R1",
"PPC::LR",
"PPC::LR8",
"PPC::RM",
"PPC::R2",
"PPC::R13",
"PPC",
"PPC::R13",
"PPC::R31",
"PPC::X0",
"PPC::X1",
"PPC::X13",
"PPC::X31",
"PPC::X2",
"PPC",
"PPC::R31"
] | PPCRegisterInfo92 | getReservedRegs | PowerPC | CPU | LLVM | 22,891 | 221 | 1 | [] |
[
"<s>",
"char",
"*",
"construct_restore_jr",
"(",
"rtx",
"op",
")",
"{",
"int",
"count",
"=",
"XVECLEN",
"(",
"op",
",",
"0",
")",
";",
"int",
"stack_bytes",
";",
"unsigned",
"long",
"int",
"mask",
";",
"unsigned",
"long",
"int",
"first",
";",
"unsigned... | [
"Construct",
"a",
"JR",
"instruction",
"to",
"a",
"routine",
"that",
"will",
"perform",
"the",
"equivalent",
"of",
"the",
"RTL",
"passed",
"in",
"as",
"an",
"argument",
".",
"This",
"RTL",
"is",
"a",
"function",
"epilogue",
"that",
"pops",
"registers",
"of... | [
"v850",
"0",
"100",
"2",
"\"bogus JR construction: %d\"",
"0",
"1",
"0",
"1",
"0",
"1",
"1",
"0",
"1",
"1",
"2",
"4",
"0",
"16",
"\"bad amount of stack space removal: %d\"",
"0",
"2",
"0",
"1",
"0",
"32",
"1",
"32",
"1",
"16",
"1",
"29",
"29",
"40",
... | v8503 | construct_restore_jr | v850 | MPU | GCC | 22,892 | 442 | 1 | [] |
[
"<s>",
"static",
"bool",
"is_fusable_store",
"(",
"rtx_insn",
"*",
"insn",
",",
"rtx",
"*",
"str_mem",
")",
"{",
"if",
"(",
"is_store_insn",
"(",
"insn",
",",
"str_mem",
")",
"&&",
"get_attr_prefixed",
"(",
"insn",
")",
"==",
"PREFIXED_NO",
"&&",
"get_attr... | [
"Determine",
"if",
"INSN",
"is",
"a",
"store",
"to",
"memory",
"that",
"can",
"be",
"fused",
"with",
"a",
"similar",
"adjacent",
"store",
"."
] | [
"rs6000",
"4",
"8",
"8"
] | rs6000 | is_fusable_store | rs6000 | CPU | GCC | 22,893 | 112 | 1 | [] |
[
"<s>",
"SDValue",
"NyuziTargetLowering",
"::",
"LowerOperation",
"(",
"SDValue",
"Op",
",",
"SelectionDAG",
"&",
"DAG",
")",
"const",
"{",
"switch",
"(",
"Op",
".",
"getOpcode",
"(",
")",
")",
"{",
"case",
"ISD",
"::",
"GlobalAddress",
":",
"return",
"Lowe... | [
"LowerOperation",
"-",
"Provide",
"custom",
"lowering",
"hooks",
"for",
"some",
"operations",
"."
] | [
"Nyuzi",
"Nyuzi",
"ISD::GlobalAddress",
"ISD::BUILD_VECTOR",
"ISD::VECTOR_SHUFFLE",
"ISD::INSERT_VECTOR_ELT",
"ISD::EXTRACT_VECTOR_ELT",
"ISD::SCALAR_TO_VECTOR",
"ISD::SELECT_CC",
"ISD::SELECT",
"ISD::VSELECT",
"ISD::SETCC",
"ISD::ConstantPool",
"ISD::FDIV",
"ISD::FNEG",
"ISD::FABS",
... | NyuziISelLowering | LowerOperation | Nyuzi | GPU | LLVM | 22,894 | 388 | 1 | [] |
[
"<s>",
"static",
"void",
"c6x_mark_reg_written",
"(",
"rtx",
"reg",
",",
"int",
"cycles",
")",
"{",
"unsigned",
"regno",
"=",
"REGNO",
"(",
"reg",
")",
";",
"unsigned",
"nregs",
"=",
"REG_NREGS",
"(",
"reg",
")",
";",
"while",
"(",
"nregs",
"--",
">",
... | [
"Note",
"that",
"register",
"REG",
"is",
"written",
"in",
"cycle",
"CYCLES",
"."
] | [
"c6x",
"0"
] | c6x | c6x_mark_reg_written | c6x | VLIW | GCC | 22,895 | 46 | 1 | [] |
[
"<s>",
"void",
"SystemZConstantPoolValue",
"::",
"print",
"(",
"raw_ostream",
"&",
"O",
")",
"const",
"{",
"O",
"<<",
"GV",
"<<",
"\"@\"",
"<<",
"int",
"(",
"Modifier",
")",
";",
"}",
"</s>"
] | [
"print",
"-",
"Print",
"a",
"debug",
"representation",
"of",
"the",
"operand",
"to",
"the",
"given",
"stream",
"."
] | [
"SystemZ",
"SystemZ",
"\"@\""
] | SystemZConstantPoolValue | print | SystemZ | CPU | LLVM | 22,896 | 23 | 1 | [] |
[
"<s>",
"bool",
"HexagonHardwareLoops",
"::",
"isDead",
"(",
"const",
"MachineInstr",
"*",
"MI",
",",
"SmallVectorImpl",
"<",
"MachineInstr",
"*",
">",
"&",
"DeadPhis",
")",
"const",
"{",
"for",
"(",
"unsigned",
"i",
"=",
"0",
",",
"e",
"=",
"MI",
"->",
... | [
"isDead",
"-",
"Returns",
"true",
"if",
"this",
"is",
"a",
"dead",
"def",
"kill",
"slot",
"."
] | [
"Hexagon",
"Hexagon",
"0",
"0"
] | HexagonHardwareLoops2 | isDead | Hexagon | DSP | LLVM | 22,897 | 299 | 1 | [] |
[
"<s>",
"void",
"HexagonPassConfig",
"::",
"addIRPasses",
"(",
")",
"{",
"TargetPassConfig",
"::",
"addIRPasses",
"(",
")",
";",
"bool",
"NoOpt",
"=",
"(",
"getOptLevel",
"(",
")",
"==",
"CodeGenOpt",
"::",
"None",
")",
";",
"addPass",
"(",
"createAtomicExpan... | [
"Add",
"common",
"target",
"configurable",
"passes",
"that",
"perform",
"LLVM",
"IR",
"to",
"IR",
"transforms",
"following",
"machine",
"independent",
"optimization",
"."
] | [
"Hexagon",
"Hexagon",
"Hexagon",
"Hexagon"
] | HexagonTargetMachine13 | addIRPasses | Hexagon | DSP | LLVM | 22,898 | 74 | 1 | [] |
[
"<s>",
"bool",
"X86InstrInfo",
"::",
"isFunctionSafeToOutlineFrom",
"(",
"MachineFunction",
"&",
"MF",
",",
"bool",
"OutlineFromLinkOnceODRs",
")",
"const",
"{",
"const",
"Function",
"*",
"F",
"=",
"MF",
".",
"getFunction",
"(",
")",
";",
"if",
"(",
"!",
"F"... | [
"Return",
"true",
"if",
"the",
"function",
"can",
"safely",
"be",
"outlined",
"from",
"."
] | [
"X86",
"X86"
] | X86InstrInfo87 | isFunctionSafeToOutlineFrom | X86 | CPU | LLVM | 22,899 | 58 | 1 | [] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.