ground_truth listlengths 8 512 | natrual_language listlengths 1 243 | TS_V_token listlengths 1 182 | File stringlengths 2 45 | Func stringlengths 1 56 | Target stringclasses 175
values | Target_Clf stringclasses 6
values | Compiler_Type stringclasses 2
values | Idx int64 0 36.2k | Length int64 6 510 | Cover_Rate float64 1 1 | Template_token listlengths 0 0 |
|---|---|---|---|---|---|---|---|---|---|---|---|
[
"<s>",
"static",
"bool",
"arm_block_set_vect",
"(",
"rtx",
"dstbase",
",",
"unsigned",
"HOST_WIDE_INT",
"length",
",",
"unsigned",
"HOST_WIDE_INT",
"value",
",",
"unsigned",
"HOST_WIDE_INT",
"align",
")",
"{",
"if",
"(",
"(",
"(",
"align",
"&",
"3",
")",
"!=... | [
"Set",
"a",
"block",
"of",
"memory",
"using",
"vectorization",
"instructions",
"for",
"both",
"aligned",
"and",
"unaligned",
"cases",
".",
"We",
"fill",
"the",
"first",
"LENGTH",
"bytes",
"of",
"the",
"memory",
"area",
"starting",
"from",
"DSTBASE",
"with",
... | [
"arm",
"3",
"0",
"3",
"0",
"3",
"0"
] | arm | arm_block_set_vect | arm | CPU | GCC | 26,300 | 86 | 1 | [] |
[
"<s>",
"rtx",
"legitimize_pic_address",
"(",
"rtx",
"orig",
",",
"enum",
"machine_mode",
"mode",
"ATTRIBUTE_UNUSED",
",",
"rtx",
"reg",
")",
"{",
"if",
"(",
"GET_CODE",
"(",
"orig",
")",
"==",
"SYMBOL_REF",
")",
"{",
"rtx",
"pic_ref",
",",
"address",
";",
... | [
"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",
"0",
"1"
] | sparc3 | legitimize_pic_address | sparc | CPU | GCC | 26,301 | 410 | 1 | [] |
[
"<s>",
"bool",
"RISCVRegisterInfo",
"::",
"isConstantPhysReg",
"(",
"MCRegister",
"PhysReg",
")",
"const",
"{",
"return",
"PhysReg",
"==",
"RISCV",
"::",
"X0",
";",
"}",
"</s>"
] | [
"Returns",
"true",
"if",
"PhysReg",
"is",
"unallocatable",
"and",
"constant",
"throughout",
"the",
"function",
"."
] | [
"RI5CY",
"RISCV",
"RISCV::X0"
] | RISCVRegisterInfo | isConstantPhysReg | RI5CY | CPU | LLVM | 26,302 | 18 | 1 | [] |
[
"<s>",
"int",
"m32c_legitimize_reload_address",
"(",
"rtx",
"*",
"x",
",",
"machine_mode",
"mode",
",",
"int",
"opnum",
",",
"int",
"type",
",",
"int",
"ind_levels",
"ATTRIBUTE_UNUSED",
")",
"{",
"fprintf",
"(",
"stderr",
",",
"\"\\nm32c_legitimize_reload_address ... | [
"Implements",
"LEGITIMIZE_RELOAD_ADDRESS",
".",
"See",
"comment",
"above",
"."
] | [
"m32c",
"\"\\nm32c_legitimize_reload_address for mode %s\\n\"",
"0",
"0",
"1",
"1",
"128",
"1",
"128",
"1",
"0",
"0",
"0",
"0",
"1",
"0",
"0",
"0",
"0",
"0",
"0",
"1",
"1",
"0",
"0",
"0",
"0",
"1",
"0",
"0",
"1",
"0"
] | m32c | m32c_legitimize_reload_address | m32c | MPU | GCC | 26,303 | 433 | 1 | [] |
[
"<s>",
"bool",
"SIWholeQuadMode",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"{",
"Instructions",
".",
"clear",
"(",
")",
";",
"Blocks",
".",
"clear",
"(",
")",
";",
"LiveMaskQueries",
".",
"clear",
"(",
")",
";",
"LowerToCopyInstr... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"AMDGPU",
"SI",
"0",
"AMDGPU::EXEC_LO",
"AMDGPU::EXEC",
"AMDGPU::COPY",
"AMDGPU::S_WQM_B32",
"AMDGPU::S_WQM_B64",
"AMDGPU::SCC"
] | SIWholeQuadMode20 | runOnMachineFunction | AMDGPU | GPU | LLVM | 26,304 | 382 | 1 | [] |
[
"<s>",
"static",
"bool",
"or1k_function_ok_for_sibcall",
"(",
"tree",
"decl",
",",
"tree",
")",
"{",
"if",
"(",
"!",
"flag_pic",
")",
"return",
"true",
";",
"if",
"(",
"decl",
"==",
"NULL",
")",
"return",
"true",
";",
"return",
"targetm",
".",
"binds_loc... | [
"Worker",
"for",
"TARGET_FUNCTION_OK_FOR_SIBCALL",
".",
"Returns",
"true",
"if",
"the",
"function",
"declared",
"by",
"DECL",
"is",
"ok",
"for",
"calling",
"as",
"a",
"nested",
"function",
"."
] | [
"or1k"
] | or1k | or1k_function_ok_for_sibcall | or1k | CPU | GCC | 26,305 | 36 | 1 | [] |
[
"<s>",
"enum",
"aarch64_symbol_type",
"aarch64_classify_symbolic_expression",
"(",
"rtx",
"x",
")",
"{",
"rtx",
"offset",
";",
"split_const",
"(",
"x",
",",
"&",
"x",
",",
"&",
"offset",
")",
";",
"return",
"aarch64_classify_symbol",
"(",
"x",
",",
"INTVAL",
... | [
"Classify",
"the",
"base",
"of",
"symbolic",
"expression",
"X",
",",
"given",
"that",
"X",
"appears",
"in",
"context",
"CONTEXT",
"."
] | [
"aarch64"
] | aarch64 | aarch64_classify_symbolic_expression | aarch64 | CPU | GCC | 26,306 | 34 | 1 | [] |
[
"<s>",
"rtx",
"get_unaligned_address",
"(",
"rtx",
"ref",
",",
"int",
"extra_offset",
")",
"{",
"rtx",
"base",
";",
"HOST_WIDE_INT",
"offset",
"=",
"0",
";",
"gcc_assert",
"(",
"GET_CODE",
"(",
"ref",
")",
"==",
"MEM",
")",
";",
"if",
"(",
"reload_in_pro... | [
"Similar",
",",
"but",
"just",
"get",
"the",
"address",
".",
"Handle",
"the",
"two",
"reload",
"cases",
".",
"Add",
"EXTRA_OFFSET",
"to",
"the",
"address",
"we",
"return",
"."
] | [
"alpha",
"0",
"0",
"0",
"0",
"1",
"0"
] | alpha3 | get_unaligned_address | alpha | MPU | GCC | 26,307 | 127 | 1 | [] |
[
"<s>",
"bool",
"aarch64_sve_cnt_immediate_p",
"(",
"rtx",
"x",
")",
"{",
"poly_int64",
"value",
";",
"return",
"poly_int_rtx_p",
"(",
"x",
",",
"&",
"value",
")",
"&&",
"aarch64_sve_cnt_immediate_p",
"(",
"value",
")",
";",
"}",
"</s>"
] | [
"Likewise",
"for",
"rtx",
"X",
"."
] | [
"aarch64"
] | aarch64 | aarch64_sve_cnt_immediate_p | aarch64 | CPU | GCC | 26,308 | 25 | 1 | [] |
[
"<s>",
"inline",
"bool",
"function_base",
"::",
"has_merge_operand_p",
"(",
")",
"const",
"{",
"return",
"true",
";",
"}",
"</s>"
] | [
"We",
"choose",
"to",
"return",
"true",
"by",
"default",
"since",
"most",
"of",
"the",
"intrinsics",
"use",
"has",
"merge",
"operand",
"."
] | [
"riscv"
] | riscv-vector-builtins | has_merge_operand_p | riscv | CPU | GCC | 26,309 | 13 | 1 | [] |
[
"<s>",
"void",
"cris_init_expanders",
"(",
")",
"{",
"}",
"</s>"
] | [
"The",
"INIT_EXPANDERS",
"worker",
"sets",
"the",
"per-function-data",
"initializer",
"and",
"mark",
"functions",
"."
] | [
"cris"
] | cris2 | cris_init_expanders | cris | MPU | GCC | 26,310 | 6 | 1 | [] |
[
"<s>",
"void",
"applyFixup",
"(",
"const",
"MCAssembler",
"&",
"Asm",
",",
"const",
"MCFixup",
"&",
"Fixup",
",",
"const",
"MCValue",
"&",
"Target",
",",
"MutableArrayRef",
"<",
"char",
">",
"Data",
",",
"uint64_t",
"Value",
",",
"bool",
"IsPCRel",
")",
... | [
"Apply",
"the",
"Value",
"for",
"given",
"Fixup",
"into",
"the",
"provided",
"data",
"fragment",
",",
"at",
"the",
"offset",
"specified",
"by",
"the",
"fixup",
"and",
"following",
"the",
"fixup",
"kind",
"as",
"appropriate",
"."
] | [
"Sparc",
"0",
"4",
"3",
"8",
"0xff"
] | SparcAsmBackend8 | applyFixup | Sparc | CPU | LLVM | 26,311 | 112 | 1 | [] |
[
"<s>",
"bool",
"pbsada_insn_ra_rb_dep_reg_p",
"(",
"rtx",
"pbsada_insn",
",",
"rtx",
"def_reg",
")",
"{",
"rtx",
"unspec_rtx",
"=",
"SET_SRC",
"(",
"PATTERN",
"(",
"pbsada_insn",
")",
")",
";",
"gcc_assert",
"(",
"GET_CODE",
"(",
"unspec_rtx",
")",
"==",
"UN... | [
"Determine",
"if",
"the",
"latency",
"is",
"occured",
"when",
"the",
"consumer",
"PBSADA_INSN",
"uses",
"the",
"value",
"of",
"DEF_REG",
"in",
"its",
"Ra",
"or",
"Rb",
"fields",
"."
] | [
"nds32",
"0",
"0",
"0",
"1"
] | nds32-pipelines-auxiliary | pbsada_insn_ra_rb_dep_reg_p | nds32 | CPU | GCC | 26,312 | 78 | 1 | [] |
[
"<s>",
"const",
"X86RegisterInfo",
"&",
"getRegisterInfo",
"(",
")",
"const",
"{",
"return",
"RI",
";",
"}",
"</s>"
] | [
"getRegisterInfo",
"-",
"TargetInstrInfo",
"is",
"a",
"superset",
"of",
"MRegister",
"info",
"."
] | [
"X86",
"X86"
] | X86InstrInfo (2) | getRegisterInfo | X86 | CPU | LLVM | 26,313 | 12 | 1 | [] |
[
"<s>",
"static",
"int",
"m32c_leaf_function_p",
"(",
"void",
")",
"{",
"int",
"rv",
";",
"push_topmost_sequence",
"(",
")",
";",
"rv",
"=",
"leaf_function_p",
"(",
")",
";",
"pop_topmost_sequence",
"(",
")",
";",
"return",
"rv",
";",
"}",
"</s>"
] | [
"Returns",
"TRUE",
"if",
"the",
"current",
"function",
"is",
"a",
"leaf",
",",
"and",
"thus",
"we",
"can",
"determine",
"which",
"registers",
"an",
"interrupt",
"function",
"really",
"needs",
"to",
"save",
".",
"The",
"logic",
"below",
"is",
"mostly",
"abo... | [
"m32c"
] | m32c | m32c_leaf_function_p | m32c | MPU | GCC | 26,314 | 28 | 1 | [] |
[
"<s>",
"void",
"HexagonInstPrinter",
"::",
"printInst",
"(",
"const",
"MCInst",
"*",
"MI",
",",
"raw_ostream",
"&",
"OS",
",",
"StringRef",
"Annot",
",",
"const",
"MCSubtargetInfo",
"&",
"STI",
")",
"{",
"assert",
"(",
"HexagonMCInstrInfo",
"::",
"isBundle",
... | [
"Print",
"the",
"specified",
"MCInst",
"to",
"the",
"specified",
"raw_ostream",
"."
] | [
"Hexagon",
"Hexagon",
"Hexagon",
"Hexagon",
"Hexagon",
"0",
"Hexagon",
"Hexagon",
"1",
"0",
"\"\\n\"",
"\"\"",
"Hexagon",
"\" \"",
"Hexagon::ENDLOOP0",
"Hexagon",
"\" \"",
"Hexagon::ENDLOOP1"
] | HexagonInstPrinter7 | printInst | Hexagon | DSP | LLVM | 26,315 | 250 | 1 | [] |
[
"<s>",
"void",
"output_ascii",
"(",
"FILE",
"*",
"file",
",",
"const",
"char",
"*",
"p",
",",
"int",
"size",
")",
"{",
"int",
"i",
";",
"int",
"chars_output",
";",
"unsigned",
"char",
"partial_output",
"[",
"16",
"]",
";",
"fputs",
"(",
"\"\\t.STRING \... | [
"Output",
"an",
"assembler",
"pseudo-op",
"to",
"write",
"an",
"ASCII",
"string",
"of",
"N",
"characters",
"starting",
"at",
"P",
"to",
"FILE",
".",
"On",
"the",
"RS/6000",
",",
"we",
"have",
"to",
"do",
"this",
"using",
"the",
".byte",
"operation",
"and... | [
"pa",
"16",
"\"\\t.STRING \\\"\"",
"0",
"0",
"4",
"0",
"0",
"0",
"0",
"4",
"0177",
"16",
"0",
"1",
"16",
"0",
"1",
"243",
"\"\\\"\\n\\t.STRING \\\"\"",
"0",
"1",
"0",
"\"\\\"\\n\""
] | pa3 | output_ascii | pa | CPU | GCC | 26,316 | 282 | 1 | [] |
[
"<s>",
"static",
"bool",
"str_prefix_p",
"(",
"const",
"char",
"*",
"str",
",",
"const",
"char",
"*",
"prefix",
")",
"{",
"return",
"0",
"==",
"strncmp",
"(",
"str",
",",
"prefix",
",",
"strlen",
"(",
"prefix",
")",
")",
";",
"}",
"</s>"
] | [
"Return",
"true",
"iff",
"STR",
"starts",
"with",
"PREFIX",
"."
] | [
"avr",
"0"
] | gen-avr-mmcu-specs2 | str_prefix_p | avr | MPU | GCC | 26,317 | 31 | 1 | [] |
[
"<s>",
"bool",
"Thumb1RegisterInfo",
"::",
"saveScavengerRegister",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"I",
",",
"MachineBasicBlock",
"::",
"iterator",
"&",
"UseMI",
",",
"const",
"TargetRegisterClass",
"*",
"RC",
",",
... | [
"Spill",
"the",
"register",
"so",
"it",
"can",
"be",
"used",
"by",
"the",
"register",
"scavenger",
"."
] | [
"ARM",
"ARM::tMOVtgpr2gpr",
"ARM::R12",
"0",
"ARM::R12",
"ARM::tMOVgpr2tgpr",
"ARM::R12"
] | Thumb1RegisterInfo16 | saveScavengerRegister | ARM | CPU | LLVM | 26,318 | 240 | 1 | [] |
[
"<s>",
"void",
"WebAssemblyFrameLowering",
"::",
"emitPrologue",
"(",
"MachineFunction",
"&",
"MF",
",",
"MachineBasicBlock",
"&",
"MBB",
")",
"const",
"{",
"auto",
"*",
"MFI",
"=",
"MF",
".",
"getFrameInfo",
"(",
")",
";",
"assert",
"(",
"MFI",
"->",
"get... | [
"emitProlog/emitEpilog",
"-",
"These",
"methods",
"insert",
"prolog",
"and",
"epilog",
"code",
"into",
"the",
"function",
"."
] | [
"WebAssembly",
"WebAssembly",
"\"WebAssembly should not have callee-saved registers\"",
"\"Functions needing frame pointers not yet supported\"",
"0",
"WebAssembly"
] | WebAssemblyFrameLowering22 | emitPrologue | WebAssembly | Virtual ISA | LLVM | 26,319 | 132 | 1 | [] |
[
"<s>",
"bool",
"SIInstrInfo",
"::",
"areMemAccessesTriviallyDisjoint",
"(",
"MachineInstr",
"*",
"MIa",
",",
"MachineInstr",
"*",
"MIb",
",",
"AliasAnalysis",
"*",
"AA",
")",
"const",
"{",
"unsigned",
"Opc0",
"=",
"MIa",
"->",
"getOpcode",
"(",
")",
";",
"un... | [
"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\""
] | SIInstrInfo | areMemAccessesTriviallyDisjoint | AMDGPU | GPU | LLVM | 26,320 | 265 | 1 | [] |
[
"<s>",
"bool",
"aarch64_madd_needs_nop",
"(",
"rtx_insn",
"*",
"insn",
")",
"{",
"enum",
"attr_type",
"attr_type",
";",
"rtx_insn",
"*",
"prev",
";",
"rtx",
"body",
";",
"if",
"(",
"!",
"aarch64_fix_a53_err835769",
")",
"return",
"false",
";",
"if",
"(",
"... | [
"When",
"working",
"around",
"the",
"Cortex-A53",
"erratum",
"835769",
",",
"given",
"rtx_insn",
"INSN",
",",
"return",
"true",
"if",
"it",
"is",
"a",
"64-bit",
"multiply-accumulate",
"instruction",
"and",
"has",
"a",
"preceding",
"memory",
"instruction",
"such"... | [
"aarch64",
"0",
"0"
] | aarch642 | aarch64_madd_needs_nop | aarch64 | CPU | GCC | 26,321 | 122 | 1 | [] |
[
"<s>",
"SDValue",
"HSAILTargetLowering",
"::",
"LowerReturn",
"(",
"SDValue",
"Chain",
",",
"CallingConv",
"::",
"ID",
"CallConv",
",",
"bool",
"isVarArg",
",",
"const",
"SmallVectorImpl",
"<",
"ISD",
"::",
"OutputArg",
">",
"&",
"Outs",
",",
"const",
"SmallVe... | [
"This",
"hook",
"must",
"be",
"implemented",
"to",
"lower",
"outgoing",
"return",
"values",
",",
"described",
"by",
"the",
"Outs",
"array",
",",
"into",
"the",
"specified",
"DAG",
"."
] | [
"HSAIL",
"HSAIL",
"ISD::OutputArg",
"HSAIL",
"HSAIL",
"HSAIL",
"6",
"HSAILAS::ARG_ADDRESS",
"0",
"HSAILAS::ARG_ADDRESS",
"ISD::TokenFactor",
"MVT::Other",
"HSAILISD::RET",
"MVT::Other"
] | HSAILISelLowering | LowerReturn | HSAIL | Virtual ISA | LLVM | 26,322 | 297 | 1 | [] |
[
"<s>",
"bool",
"fixupNeedsRelaxation",
"(",
"const",
"MCFixup",
"&",
"Fixup",
",",
"uint64_t",
"Value",
",",
"const",
"MCRelaxableFragment",
"*",
"DF",
",",
"const",
"MCAsmLayout",
"&",
"Layout",
")",
"const",
"override",
"{",
"return",
"false",
";",
"}",
"<... | [
"Simple",
"predicate",
"for",
"targets",
"where",
"!",
"Resolved",
"implies",
"requiring",
"relaxation",
"."
] | [
"LC3"
] | LC3AsmBackend | fixupNeedsRelaxation | LC3 | CPU | LLVM | 26,323 | 28 | 1 | [] |
[
"<s>",
"MachineBasicBlock",
"::",
"instr_iterator",
"skip",
"(",
"MachineBasicBlock",
"*",
"MBB",
",",
"unsigned",
"Index",
")",
"{",
"auto",
"I",
"=",
"MBB",
"->",
"instr_begin",
"(",
")",
";",
"auto",
"E",
"=",
"MBB",
"->",
"instr_end",
"(",
")",
";",
... | [
"Advance",
"the",
"Cursor",
"position",
"by",
"the",
"given",
"number",
"of",
"bytes",
"."
] | [
"X86",
"0"
] | X86EncodeLiterals | skip | X86 | CPU | LLVM | 26,324 | 57 | 1 | [] |
[
"<s>",
"bool",
"SIInstrInfo",
"::",
"expandPostRAPseudo",
"(",
"MachineBasicBlock",
"::",
"iterator",
"MI",
")",
"const",
"{",
"MachineBasicBlock",
"&",
"MBB",
"=",
"*",
"MI",
"->",
"getParent",
"(",
")",
";",
"DebugLoc",
"DL",
"=",
"MBB",
".",
"findDebugLoc... | [
"This",
"function",
"is",
"called",
"for",
"all",
"pseudo",
"instructions",
"that",
"remain",
"after",
"register",
"allocation",
"."
] | [
"R600",
"SI",
"SI",
"0",
"0"
] | SIInstrInfo116 | expandPostRAPseudo | R600 | GPU | LLVM | 26,325 | 231 | 1 | [] |
[
"<s>",
"SDValue",
"WDC65816TargetLowering",
"::",
"LowerOperation",
"(",
"SDValue",
"Op",
",",
"SelectionDAG",
"&",
"DAG",
")",
"const",
"{",
"switch",
"(",
"Op",
".",
"getOpcode",
"(",
")",
")",
"{",
"default",
":",
"llvm_unreachable",
"(",
"\"Should not cust... | [
"LowerOperation",
"-",
"Provide",
"custom",
"lowering",
"hooks",
"for",
"some",
"operations",
"."
] | [
"WDC65816",
"WDC",
"\"Should not custom lower this!\"",
"ISD::GlobalAddress"
] | WDC65816ISelLowering | LowerOperation | WDC65816 | MPU | LLVM | 26,326 | 45 | 1 | [] |
[
"<s>",
"bool",
"AMDGPUAsmPrinter",
"::",
"PrintAsmOperand",
"(",
"const",
"MachineInstr",
"*",
"MI",
",",
"unsigned",
"OpNo",
",",
"unsigned",
"AsmVariant",
",",
"const",
"char",
"*",
"ExtraCode",
",",
"raw_ostream",
"&",
"O",
")",
"{",
"if",
"(",
"ExtraCode... | [
"PrintAsmOperand",
"-",
"Print",
"out",
"an",
"operand",
"for",
"an",
"inline",
"asm",
"expression",
"."
] | [
"AMDGPU",
"AMDGPU",
"0",
"1",
"0",
"0",
"AMDGPU"
] | AMDGPUAsmPrinter (2) | PrintAsmOperand | AMDGPU | GPU | LLVM | 26,327 | 120 | 1 | [] |
[
"<s>",
"static",
"rtx",
"pru_add_to_sp",
"(",
"int",
"addendum",
",",
"const",
"enum",
"reg_note",
"kind",
")",
"{",
"return",
"pru_add3_frame_adjust",
"(",
"stack_pointer_rtx",
",",
"stack_pointer_rtx",
",",
"addendum",
",",
"kind",
")",
";",
"}",
"</s>"
] | [
"Add",
"a",
"const_int",
"to",
"the",
"stack",
"pointer",
"register",
"."
] | [
"pru"
] | pru | pru_add_to_sp | pru | CPU | GCC | 26,328 | 26 | 1 | [] |
[
"<s>",
"void",
"mt_set_memflags",
"(",
"rtx",
"ref",
")",
"{",
"rtx",
"insn",
";",
"int",
"in_struct_p",
",",
"volatile_p",
";",
"if",
"(",
"GET_CODE",
"(",
"ref",
")",
"!=",
"MEM",
")",
"return",
";",
"in_struct_p",
"=",
"MEM_IN_STRUCT_P",
"(",
"ref",
... | [
"Look",
"for",
"any",
"MEMs",
"in",
"the",
"current",
"sequence",
"of",
"insns",
"and",
"set",
"the",
"in-struct",
",",
"unchanging",
",",
"and",
"volatile",
"flags",
"from",
"the",
"flags",
"in",
"REF",
".",
"If",
"REF",
"is",
"not",
"a",
"MEM",
",",
... | [
"mt"
] | mt | mt_set_memflags | mt | CPU | GCC | 26,329 | 77 | 1 | [] |
[
"<s>",
"bool",
"NVPTXTargetLowering",
"::",
"isLegalAddressingMode",
"(",
"const",
"AddrMode",
"&",
"AM",
",",
"Type",
"*",
"Ty",
")",
"const",
"{",
"if",
"(",
"AM",
".",
"BaseGV",
")",
"{",
"if",
"(",
"AM",
".",
"BaseOffs",
"||",
"AM",
".",
"HasBaseRe... | [
"isLegalAddressingMode",
"-",
"Return",
"true",
"if",
"the",
"addressing",
"mode",
"represented",
"by",
"AM",
"is",
"legal",
"for",
"this",
"target",
",",
"for",
"a",
"load/store",
"of",
"the",
"specified",
"type",
"."
] | [
"NVPTX",
"NVPTX",
"0",
"1"
] | NVPTXISelLowering1 | isLegalAddressingMode | NVPTX | GPU | LLVM | 26,330 | 80 | 1 | [] |
[
"<s>",
"bool",
"FixupLEAPass",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"Func",
")",
"{",
"MF",
"=",
"&",
"Func",
";",
"TM",
"=",
"&",
"Func",
".",
"getTarget",
"(",
")",
";",
"const",
"X86Subtarget",
"&",
"ST",
"=",
"TM",
"->",
"getS... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"X86",
"X86",
"X86",
"X86",
"\"Start X86FixupLEAs\\n\"",
"\"End X86FixupLEAs\\n\""
] | X86FixupLEAs4 | runOnMachineFunction | X86 | CPU | LLVM | 26,331 | 132 | 1 | [] |
[
"<s>",
"void",
"SparcPassConfig",
"::",
"addIRPasses",
"(",
")",
"{",
"addPass",
"(",
"createAtomicExpandPass",
"(",
"&",
"getSparcTargetMachine",
"(",
")",
")",
")",
";",
"TargetPassConfig",
"::",
"addIRPasses",
"(",
")",
";",
"}",
"</s>"
] | [
"Add",
"common",
"target",
"configurable",
"passes",
"that",
"perform",
"LLVM",
"IR",
"to",
"IR",
"transforms",
"following",
"machine",
"independent",
"optimization",
"."
] | [
"Sparc",
"Sparc",
"Sparc"
] | SparcTargetMachine1 | addIRPasses | Sparc | CPU | LLVM | 26,332 | 25 | 1 | [] |
[
"<s>",
"int",
"const_ok_for_arm",
"(",
"HOST_WIDE_INT",
"i",
")",
"{",
"int",
"lowbit",
";",
"if",
"(",
"(",
"i",
"&",
"~",
"(",
"unsigned",
"HOST_WIDE_INT",
")",
"0xffffffff",
")",
"!=",
"0",
"&&",
"(",
"(",
"i",
"&",
"~",
"(",
"unsigned",
"HOST_WID... | [
"Return",
"TRUE",
"if",
"int",
"I",
"is",
"a",
"valid",
"immediate",
"ARM",
"constant",
"."
] | [
"arm",
"0xffffffff",
"0",
"0xffffffff",
"0",
"0xffffffff",
"0xffffffff",
"0xff",
"0",
"1",
"1",
"0xff",
"0",
"4",
"0xc000003f",
"0",
"0xf000000f",
"0",
"0xfc000003",
"0"
] | arm3 | const_ok_for_arm | arm | CPU | GCC | 26,333 | 169 | 1 | [] |
[
"<s>",
"void",
"nds32_asm_file_start_for_isr",
"(",
"void",
")",
"{",
"int",
"i",
";",
"for",
"(",
"i",
"=",
"0",
";",
"i",
"<",
"NDS32_N_ISR_VECTORS",
";",
"i",
"++",
")",
"{",
"nds32_isr_vectors",
"[",
"i",
"]",
".",
"category",
"=",
"NDS32_ISR_NONE",
... | [
"A",
"helper",
"function",
"to",
"handle",
"isr",
"stuff",
"at",
"the",
"beginning",
"of",
"asm",
"file",
"."
] | [
"nds32",
"0",
"\"\"",
"0",
"\"\"",
"\"\""
] | nds32-isr2 | nds32_asm_file_start_for_isr | nds32 | CPU | GCC | 26,334 | 97 | 1 | [] |
[
"<s>",
"void",
"AArch64AsmPrinter",
"::",
"emitEndOfAsmFile",
"(",
"Module",
"&",
"M",
")",
"{",
"EmitHwasanMemaccessSymbols",
"(",
"M",
")",
";",
"const",
"Triple",
"&",
"TT",
"=",
"TM",
".",
"getTargetTriple",
"(",
")",
";",
"if",
"(",
"TT",
".",
"isOS... | [
"This",
"virtual",
"method",
"can",
"be",
"overridden",
"by",
"targets",
"that",
"want",
"to",
"emit",
"something",
"at",
"the",
"end",
"of",
"their",
"file",
"."
] | [
"AArch64",
"AArch64",
"\"__DATA\"",
"\"__auth_ptr\"",
"8"
] | AArch64AsmPrinter76 | emitEndOfAsmFile | AArch64 | CPU | LLVM | 26,335 | 142 | 1 | [] |
[
"<s>",
"void",
"output_pcrel_opt_reloc",
"(",
"rtx",
"label_num",
")",
"{",
"rtx",
"operands",
"[",
"1",
"]",
"=",
"{",
"label_num",
"}",
";",
"output_asm_insn",
"(",
"\".reloc .Lpcrel%0-8,R_PPC64_PCREL_OPT,.-(.Lpcrel%0-8)\"",
",",
"operands",
")",
";",
"}",
"</s>... | [
"Emit",
"the",
"relocation",
"to",
"tie",
"the",
"next",
"instruction",
"to",
"a",
"previous",
"instruction",
"that",
"loads",
"up",
"an",
"external",
"address",
".",
"This",
"is",
"used",
"to",
"do",
"the",
"PCREL_OPT",
"optimization",
".",
"Note",
",",
"... | [
"rs6000",
"1",
"\".reloc .Lpcrel%0-8,R_PPC64_PCREL_OPT,.-(.Lpcrel%0-8)\""
] | rs6000 | output_pcrel_opt_reloc | rs6000 | CPU | GCC | 26,336 | 25 | 1 | [] |
[
"<s>",
"MVT",
"getScalarShiftAmountTy",
"(",
"const",
"DataLayout",
"&",
",",
"EVT",
")",
"const",
"override",
"{",
"return",
"MVT",
"::",
"i8",
";",
"}",
"</s>"
] | [
"Return",
"the",
"type",
"to",
"use",
"for",
"a",
"scalar",
"shift",
"opcode",
",",
"given",
"the",
"shifted",
"amount",
"type",
"."
] | [
"MSP430",
"MVT::i8"
] | MSP430ISelLowering14 | getScalarShiftAmountTy | MSP430 | MPU | LLVM | 26,337 | 18 | 1 | [] |
[
"<s>",
"static",
"void",
"nvptx_init_axis_predicate",
"(",
"FILE",
"*",
"file",
",",
"int",
"regno",
",",
"const",
"char",
"*",
"name",
")",
"{",
"fprintf",
"(",
"file",
",",
"\"\\t{\\n\"",
")",
";",
"fprintf",
"(",
"file",
",",
"\"\\t\\t.reg.u32\\t%%%s;\\n\... | [
"Emit",
"code",
"to",
"initialize",
"the",
"REGNO",
"predicate",
"register",
"to",
"indicate",
"whether",
"we",
"are",
"not",
"lane",
"zero",
"on",
"the",
"NAME",
"axis",
"."
] | [
"nvptx",
"\"\\t{\\n\"",
"\"\\t\\t.reg.u32\\t%%%s;\\n\"",
"\"\\t\\tmov.u32\\t%%%s, %%tid.%s;\\n\"",
"\"\\t\\tsetp.ne.u32\\t%%r%d, %%%s, 0;\\n\"",
"\"\\t}\\n\""
] | nvptx3 | nvptx_init_axis_predicate | nvptx | GPU | GCC | 26,338 | 63 | 1 | [] |
[
"<s>",
"void",
"arm_emit_call_insn",
"(",
"rtx",
"pat",
",",
"rtx",
"addr",
",",
"bool",
"sibcall",
")",
"{",
"rtx",
"insn",
";",
"insn",
"=",
"emit_call_insn",
"(",
"pat",
")",
";",
"if",
"(",
"TARGET_VXWORKS_RTP",
"&&",
"flag_pic",
"&&",
"!",
"sibcall"... | [
"Emit",
"a",
"call",
"instruction",
"with",
"pattern",
"PAT",
".",
"ADDR",
"is",
"the",
"address",
"of",
"the",
"call",
"target",
"."
] | [
"arm"
] | arm8 | arm_emit_call_insn | arm | CPU | GCC | 26,339 | 116 | 1 | [] |
[
"<s>",
"virtual",
"SMLoc",
"getStartLoc",
"(",
")",
"const",
"LLVM_OVERRIDE",
"{",
"return",
"StartLoc",
";",
"}",
"</s>"
] | [
"getStartLoc",
"-",
"Get",
"the",
"location",
"of",
"the",
"first",
"token",
"of",
"this",
"operand",
"."
] | [
"SystemZ"
] | SystemZAsmParser10 | getStartLoc | SystemZ | CPU | LLVM | 26,340 | 12 | 1 | [] |
[
"<s>",
"const",
"TargetRegisterClass",
"*",
"ARMTargetLowering",
"::",
"getRegClassFor",
"(",
"MVT",
"VT",
",",
"bool",
"isDivergent",
")",
"const",
"{",
"(",
"void",
")",
"isDivergent",
";",
"if",
"(",
"Subtarget",
"->",
"hasNEON",
"(",
")",
"||",
"Subtarge... | [
"Return",
"the",
"register",
"class",
"that",
"should",
"be",
"used",
"for",
"the",
"specified",
"value",
"type",
"."
] | [
"ARM",
"ARM",
"MVT::v4i64",
"ARM::QQPRRegClass",
"MVT::v8i64",
"ARM::QQQQPRRegClass"
] | ARMISelLowering (2)6 | getRegClassFor | ARM | CPU | LLVM | 26,341 | 73 | 1 | [] |
[
"<s>",
"EVT",
"X86TargetLowering",
"::",
"getTypeForExtReturn",
"(",
"LLVMContext",
"&",
"Context",
",",
"EVT",
"VT",
",",
"ISD",
"::",
"NodeType",
"ExtendKind",
")",
"const",
"{",
"MVT",
"ReturnMVT",
"=",
"MVT",
"::",
"i32",
";",
"bool",
"Darwin",
"=",
"S... | [
"Return",
"the",
"type",
"that",
"should",
"be",
"used",
"to",
"zero",
"or",
"sign",
"extend",
"a",
"zeroext/signext",
"integer",
"return",
"value",
"."
] | [
"X86",
"X86",
"ISD::NodeType",
"MVT::i32",
"MVT::i1",
"MVT::i8",
"MVT::i16",
"MVT::i8"
] | X86ISelLowering (2)5 | getTypeForExtReturn | X86 | CPU | LLVM | 26,342 | 97 | 1 | [] |
[
"<s>",
"void",
"MipsTargetObjectFile",
"::",
"Initialize",
"(",
"MCContext",
"&",
"Ctx",
",",
"const",
"TargetMachine",
"&",
"TM",
")",
"{",
"TargetLoweringObjectFileELF",
"::",
"Initialize",
"(",
"Ctx",
",",
"TM",
")",
";",
"InitializeELF",
"(",
"TM",
".",
... | [
"This",
"method",
"must",
"be",
"called",
"before",
"any",
"actual",
"lowering",
"is",
"done",
"."
] | [
"Mips",
"Mips",
"\".sdata\"",
"\".sbss\"",
"Mips",
"Mips",
"\".MIPS.options\"",
"\".reginfo\""
] | MipsTargetObjectFile5 | Initialize | Mips | CPU | LLVM | 26,343 | 175 | 1 | [] |
[
"<s>",
"void",
"HexagonPassConfig",
"::",
"addPreEmitPass",
"(",
")",
"{",
"bool",
"NoOpt",
"=",
"(",
"getOptLevel",
"(",
")",
"==",
"CodeGenOpt",
"::",
"None",
")",
";",
"if",
"(",
"!",
"NoOpt",
")",
"addPass",
"(",
"createHexagonNewValueJump",
"(",
")",
... | [
"This",
"pass",
"may",
"be",
"implemented",
"by",
"targets",
"that",
"want",
"to",
"run",
"passes",
"immediately",
"before",
"machine",
"code",
"is",
"emitted",
"."
] | [
"Hexagon",
"Hexagon",
"Hexagon",
"Hexagon",
"Hexagon",
"Hexagon",
"Hexagon",
"Hexagon",
"Hexagon"
] | HexagonTargetMachine11 | addPreEmitPass | Hexagon | DSP | LLVM | 26,344 | 102 | 1 | [] |
[
"<s>",
"void",
"MCS51FrameLowering",
"::",
"emitEpilogue",
"(",
"MachineFunction",
"&",
"MF",
",",
"MachineBasicBlock",
"&",
"MBB",
")",
"const",
"{",
"const",
"MCS51MachineFunctionInfo",
"*",
"AFI",
"=",
"MF",
".",
"getInfo",
"<",
"MCS51MachineFunctionInfo",
">",... | [
"Insert",
"epilog",
"code",
"into",
"the",
"function",
"."
] | [
"MCS51",
"MCS51",
"MCS51",
"MCS51",
"\"Can only insert epilog into returning blocks\"",
"MCS51",
"MCS51",
"MCS51",
"MCS51::POPRd",
"MCS51::POPWRd",
"6",
"MCS51::ADIWRdK",
"MCS51::SUBIWRdK",
"MCS51::R29R28",
"MCS51::R29R28",
"3",
"MCS51::SPWRITE",
"MCS51::SP",
"MCS51::R29R28"
] | MCS51FrameLowering | emitEpilogue | MCS51 | MPU | LLVM | 26,345 | 339 | 1 | [] |
[
"<s>",
"static",
"bool",
"ix86_unordered_fp_compare",
"(",
"enum",
"rtx_code",
"code",
")",
"{",
"if",
"(",
"!",
"TARGET_IEEE_FP",
")",
"return",
"false",
";",
"switch",
"(",
"code",
")",
"{",
"case",
"LT",
":",
"case",
"LE",
":",
"case",
"GT",
":",
"c... | [
"Figure",
"out",
"whether",
"to",
"use",
"unordered",
"fp",
"comparisons",
"."
] | [
"i386"
] | i386-expand | ix86_unordered_fp_compare | i386 | CPU | GCC | 26,346 | 78 | 1 | [] |
[
"<s>",
"void",
"pa_output_addr_vec",
"(",
"rtx",
"lab",
",",
"rtx",
"body",
")",
"{",
"int",
"idx",
",",
"vlen",
"=",
"XVECLEN",
"(",
"body",
",",
"0",
")",
";",
"targetm",
".",
"asm_out",
".",
"internal_label",
"(",
"asm_out_file",
",",
"\"L\"",
",",
... | [
"Output",
"address",
"vector",
"."
] | [
"pa",
"0",
"\"L\"",
"\"\\t.begin_brtab\\n\"",
"0",
"0",
"0",
"\"\\t.end_brtab\\n\""
] | pa5 | pa_output_addr_vec | pa | CPU | GCC | 26,347 | 98 | 1 | [] |
[
"<s>",
"void",
"X86RegisterBankInfo",
"::",
"applyMappingImpl",
"(",
"const",
"OperandsMapper",
"&",
"OpdMapper",
")",
"const",
"{",
"return",
"applyDefaultMapping",
"(",
"OpdMapper",
")",
";",
"}",
"</s>"
] | [
"See",
"RegisterBankInfo",
":",
":applyMapping",
"."
] | [
"X86",
"X86"
] | X86RegisterBankInfo | applyMappingImpl | X86 | CPU | LLVM | 26,348 | 19 | 1 | [] |
[
"<s>",
"const",
"MCPhysReg",
"*",
"MipsRegisterInfo",
"::",
"getCalleeSavedRegs",
"(",
"const",
"MachineFunction",
"*",
"MF",
")",
"const",
"{",
"if",
"(",
"Subtarget",
".",
"isSingleFloat",
"(",
")",
")",
"return",
"CSR_SingleFloatOnly_SaveList",
";",
"if",
"("... | [
"Code",
"Generation",
"virtual",
"methods",
"..."
] | [
"Mips",
"Mips"
] | MipsRegisterInfo | getCalleeSavedRegs | Mips | CPU | LLVM | 26,349 | 73 | 1 | [] |
[
"<s>",
"void",
"MipsRegisterInfo",
"::",
"eliminateFrameIndex",
"(",
"MachineBasicBlock",
"::",
"iterator",
"II",
",",
"int",
"SPAdj",
",",
"unsigned",
"FIOperandNum",
",",
"RegScavenger",
"*",
"RS",
")",
"const",
"{",
"MachineInstr",
"&",
"MI",
"=",
"*",
"II"... | [
"This",
"method",
"must",
"be",
"overriden",
"to",
"eliminate",
"abstract",
"frame",
"indices",
"from",
"instructions",
"which",
"may",
"use",
"them",
"."
] | [
"Mips",
"Mips",
"\"\\nFunction : \"",
"\"\\n\"",
"\"<--------->\\n\"",
"\"FrameIndex : \"",
"\"\\n\"",
"\"spOffset : \"",
"\"\\n\"",
"\"stackSize : \"",
"\"\\n\""
] | MipsRegisterInfo31 | eliminateFrameIndex | Mips | CPU | LLVM | 26,350 | 149 | 1 | [] |
[
"<s>",
"MCOperand",
"PTXAsmPrinter",
"::",
"lowerOperand",
"(",
"const",
"MachineOperand",
"&",
"MO",
")",
"{",
"MCOperand",
"MCOp",
";",
"const",
"PTXMachineFunctionInfo",
"*",
"MFI",
"=",
"MF",
"->",
"getInfo",
"<",
"PTXMachineFunctionInfo",
">",
"(",
")",
"... | [
"Wrapper",
"for",
"MCInstLowering.lowerOperand",
"(",
")",
"for",
"the",
"tblgen'erated",
"pseudo",
"lowering",
"."
] | [
"PTX",
"PTX",
"PTX",
"PTX",
"\"Unknown operand type\""
] | PTXAsmPrinter | lowerOperand | PTX | GPU | LLVM | 26,351 | 254 | 1 | [] |
[
"<s>",
"TargetPassConfig",
"*",
"LC2200TargetMachine",
"::",
"createPassConfig",
"(",
"PassManagerBase",
"&",
"PM",
")",
"{",
"return",
"new",
"LC2200PassConfig",
"(",
"*",
"this",
",",
"PM",
")",
";",
"}",
"</s>"
] | [
"Create",
"a",
"pass",
"configuration",
"object",
"to",
"be",
"used",
"by",
"addPassToEmitX",
"methods",
"for",
"generating",
"a",
"pipeline",
"of",
"CodeGen",
"passes",
"."
] | [
"LC2200",
"LC2200",
"LC2200"
] | LC2200TargetMachine | createPassConfig | LC2200 | CPU | LLVM | 26,352 | 22 | 1 | [] |
[
"<s>",
"MCObjectWriter",
"*",
"createObjectWriter",
"(",
"raw_ostream",
"&",
"OS",
")",
"const",
"{",
"return",
"createARMMachObjectWriter",
"(",
"OS",
",",
"false",
",",
"MachO",
"::",
"CPU_TYPE_ARM",
",",
"Subtype",
")",
";",
"}",
"</s>"
] | [
"Create",
"a",
"new",
"MCObjectWriter",
"instance",
"for",
"use",
"by",
"the",
"assembler",
"backend",
"to",
"emit",
"the",
"final",
"object",
"file",
"."
] | [
"ARM",
"ARM",
"ARM"
] | ARMAsmBackend68 | createObjectWriter | ARM | CPU | LLVM | 26,353 | 25 | 1 | [] |
[
"<s>",
"void",
"microblaze_asm_output_ident",
"(",
"const",
"char",
"*",
"string",
")",
"{",
"const",
"char",
"*",
"section_asm_op",
";",
"int",
"size",
";",
"char",
"*",
"buf",
";",
"if",
"(",
"symtab",
"->",
"state",
"!=",
"PARSING",
")",
"return",
";"... | [
"Queue",
"an",
".ident",
"string",
"in",
"the",
"queue",
"of",
"top-level",
"asm",
"statements",
".",
"If",
"the",
"string",
"size",
"is",
"below",
"the",
"threshold",
",",
"put",
"it",
"into",
".sdata2",
".",
"If",
"the",
"front-end",
"is",
"done",
",",... | [
"microblaze",
"1",
"\"\\n\\t.ascii \\\"\"",
"\"\\\\0\\\"\\n\""
] | microblaze2 | microblaze_asm_output_ident | microblaze | MPU | GCC | 26,354 | 88 | 1 | [] |
[
"<s>",
"bool",
"writeNopData",
"(",
"uint64_t",
"Count",
",",
"MCObjectWriter",
"*",
"OW",
")",
"const",
"override",
"{",
"static",
"const",
"uint32_t",
"Nopcode",
"=",
"0x7f000000",
",",
"ParseIn",
"=",
"0x00004000",
",",
"ParseEnd",
"=",
"0x0000c000",
";",
... | [
"Write",
"an",
"(",
"optimal",
")",
"nop",
"sequence",
"of",
"Count",
"bytes",
"to",
"the",
"given",
"output",
"."
] | [
"Hexagon",
"0x7f000000",
"0x00004000",
"0x0000c000",
"\"Alignment not a multiple of the instruction size:\"",
"\"/\"",
"\"\\n\"",
"0"
] | HexagonAsmBackend (2)1 | writeNopData | Hexagon | DSP | LLVM | 26,355 | 105 | 1 | [] |
[
"<s>",
"void",
"GCNMaxOccupancySchedStrategy",
"::",
"pickNodeFromQueue",
"(",
"SchedBoundary",
"&",
"Zone",
",",
"const",
"CandPolicy",
"&",
"ZonePolicy",
",",
"const",
"RegPressureTracker",
"&",
"RPTracker",
",",
"SchedCandidate",
"&",
"Cand",
")",
"{",
"const",
... | [
"Pick",
"the",
"best",
"candidate",
"from",
"the",
"queue",
"."
] | [
"AMDGPU",
"SI",
"SI"
] | GCNSchedStrategy1 | pickNodeFromQueue | AMDGPU | GPU | LLVM | 26,356 | 187 | 1 | [] |
[
"<s>",
"bool",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"override",
"{",
"Subtarget",
"=",
"&",
"MF",
".",
"getSubtarget",
"<",
"JVMSubtarget",
">",
"(",
")",
";",
"MRI",
"=",
"&",
"MF",
".",
"getRegInfo",
"(",
")",
";",
"MFI",
"... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"JVM",
"JVM",
"JVM"
] | JVMAsmPrinter | runOnMachineFunction | JVM | Virtual ISA | LLVM | 26,357 | 61 | 1 | [] |
[
"<s>",
"bool",
"evaluateBranch",
"(",
"const",
"MCInst",
"&",
"Inst",
",",
"uint64_t",
"Addr",
",",
"uint64_t",
"Size",
",",
"uint64_t",
"&",
"Target",
")",
"const",
"override",
"{",
"const",
"auto",
"&",
"Desc",
"=",
"Info",
"->",
"get",
"(",
"Inst",
... | [
"Given",
"a",
"branch",
"instruction",
"try",
"to",
"get",
"the",
"address",
"the",
"branch",
"targets",
"."
] | [
"AArch64",
"0",
"4"
] | AArch64MCTargetDesc (2)1 | evaluateBranch | AArch64 | CPU | LLVM | 26,358 | 107 | 1 | [] |
[
"<s>",
"bool",
"AMDGPUAsmParser",
"::",
"isToken",
"(",
"const",
"AsmToken",
"::",
"TokenKind",
"Kind",
")",
"const",
"{",
"return",
"getTokenKind",
"(",
")",
"==",
"Kind",
";",
"}",
"</s>"
] | [
"isToken",
"-",
"Is",
"this",
"a",
"token",
"operand",
"?"
] | [
"AMDGPU",
"AMDGPU"
] | AMDGPUAsmParser1 | isToken | AMDGPU | GPU | LLVM | 26,359 | 21 | 1 | [] |
[
"<s>",
"bool",
"ix86_match_ccmode",
"(",
"rtx",
"insn",
",",
"machine_mode",
"req_mode",
")",
"{",
"rtx",
"set",
";",
"machine_mode",
"set_mode",
";",
"set",
"=",
"PATTERN",
"(",
"insn",
")",
";",
"if",
"(",
"GET_CODE",
"(",
"set",
")",
"==",
"PARALLEL",... | [
"Return",
"TRUE",
"or",
"FALSE",
"depending",
"on",
"whether",
"the",
"first",
"SET",
"in",
"INSN",
"has",
"source",
"and",
"destination",
"with",
"matching",
"CC",
"modes",
",",
"and",
"that",
"the",
"CC",
"mode",
"is",
"at",
"least",
"as",
"constrained",... | [
"i386",
"0",
"0",
"1"
] | i3865 | ix86_match_ccmode | i386 | CPU | GCC | 26,360 | 203 | 1 | [] |
[
"<s>",
"MCSymbol",
"*",
"ARMAsmPrinter",
"::",
"GetCPISymbol",
"(",
"unsigned",
"CPID",
")",
"const",
"{",
"const",
"DataLayout",
"&",
"DL",
"=",
"getDataLayout",
"(",
")",
";",
"return",
"OutContext",
".",
"getOrCreateSymbol",
"(",
"Twine",
"(",
"DL",
".",
... | [
"Return",
"the",
"symbol",
"for",
"the",
"specified",
"constant",
"pool",
"entry",
"."
] | [
"ARM",
"ARM",
"\"CPI\"",
"\"_\""
] | ARMAsmPrinter | GetCPISymbol | ARM | CPU | LLVM | 26,361 | 52 | 1 | [] |
[
"<s>",
"bool",
"MINA32PassConfig",
"::",
"addInstSelector",
"(",
")",
"{",
"addPass",
"(",
"createMINA32ISelDag",
"(",
"getMINA32TargetMachine",
"(",
")",
",",
"getOptLevel",
"(",
")",
")",
")",
";",
"return",
"false",
";",
"}",
"</s>"
] | [
"addInstSelector",
"-",
"This",
"method",
"should",
"install",
"an",
"instruction",
"selector",
"pass",
",",
"which",
"converts",
"from",
"LLVM",
"code",
"to",
"machine",
"instructions",
"."
] | [
"MINA32",
"MINA32",
"MINA32",
"MINA32"
] | MINA32TargetMachine | addInstSelector | MINA32 | CPU | LLVM | 26,362 | 25 | 1 | [] |
[
"<s>",
"SDValue",
"SITargetLowering",
"::",
"LowerOperation",
"(",
"SDValue",
"Op",
",",
"SelectionDAG",
"&",
"DAG",
")",
"const",
"{",
"switch",
"(",
"Op",
".",
"getOpcode",
"(",
")",
")",
"{",
"default",
":",
"return",
"AMDGPUTargetLowering",
"::",
"LowerO... | [
"LowerOperation",
"-",
"Provide",
"custom",
"lowering",
"hooks",
"for",
"some",
"operations",
"."
] | [
"R600",
"SI",
"ISD::BRCOND",
"ISD::LOAD",
"ISD::SELECT_CC",
"ISD::AND",
"ISD::AND",
"ISD::INTRINSIC_WO_CHAIN",
"0",
"AMDGPUIntrinsic::SI_vs_load_buffer_index"
] | SIISelLowering104 | LowerOperation | R600 | GPU | LLVM | 26,363 | 176 | 1 | [] |
[
"<s>",
"StringRef",
"getPassName",
"(",
")",
"const",
"override",
"{",
"return",
"\"M68k PIC Global Base Reg Initialization\"",
";",
"}",
"</s>"
] | [
"getPassName",
"-",
"Return",
"a",
"nice",
"clean",
"name",
"for",
"a",
"pass",
"."
] | [
"M68k",
"\"M68k PIC Global Base Reg Initialization\""
] | M68kInstrInfo (2) | getPassName | M68k | MPU | LLVM | 26,364 | 11 | 1 | [] |
[
"<s>",
"unsigned",
"SIRegisterInfo",
"::",
"reservedPrivateSegmentBufferReg",
"(",
"const",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"const",
"AMDGPUSubtarget",
"&",
"ST",
"=",
"MF",
".",
"getSubtarget",
"<",
"AMDGPUSubtarget",
">",
"(",
")",
";",
"if",
... | [
"Return",
"the",
"end",
"register",
"initially",
"reserved",
"for",
"the",
"scratch",
"buffer",
"in",
"case",
"spilling",
"is",
"needed",
"."
] | [
"AMDGPU",
"SI",
"AMDGPU",
"AMDGPU",
"AMDGPU",
"8",
"4",
"AMDGPU::SGPR_32RegClass",
"AMDGPU::sub0",
"AMDGPU::SReg_128RegClass",
"AMDGPU",
"AMDGPU::SGPR92_SGPR93_SGPR94_SGPR95",
"AMDGPU::SGPR96_SGPR97_SGPR98_SGPR99"
] | SIRegisterInfo13 | reservedPrivateSegmentBufferReg | AMDGPU | GPU | LLVM | 26,365 | 100 | 1 | [] |
[
"<s>",
"unsigned",
"ARMBaseInstrInfo",
"::",
"isLoadFromStackSlotPostFE",
"(",
"const",
"MachineInstr",
"&",
"MI",
",",
"int",
"&",
"FrameIndex",
")",
"const",
"{",
"const",
"MachineMemOperand",
"*",
"Dummy",
";",
"return",
"MI",
".",
"mayLoad",
"(",
")",
"&&"... | [
"isLoadFromStackSlotPostFE",
"-",
"Check",
"for",
"post-frame",
"ptr",
"elimination",
"stack",
"locations",
"as",
"well",
"."
] | [
"ARM",
"ARM"
] | ARMBaseInstrInfo (2)2 | isLoadFromStackSlotPostFE | ARM | CPU | LLVM | 26,366 | 38 | 1 | [] |
[
"<s>",
"static",
"void",
"emit_unlikely_jump",
"(",
"rtx",
"cond",
",",
"rtx",
"label",
")",
"{",
"int",
"very_unlikely",
"=",
"REG_BR_PROB_BASE",
"/",
"100",
"-",
"1",
";",
"rtx",
"x",
"=",
"gen_rtx_IF_THEN_ELSE",
"(",
"VOIDmode",
",",
"cond",
",",
"label... | [
"Mark",
"the",
"previous",
"jump",
"instruction",
"as",
"unlikely",
"."
] | [
"rs6000",
"100",
"1"
] | rs60006 | emit_unlikely_jump | rs6000 | CPU | GCC | 26,367 | 58 | 1 | [] |
[
"<s>",
"bool",
"AArch64PassConfig",
"::",
"addIRTranslator",
"(",
")",
"{",
"addPass",
"(",
"new",
"IRTranslator",
"(",
")",
")",
";",
"return",
"false",
";",
"}",
"</s>"
] | [
"This",
"method",
"should",
"install",
"an",
"IR",
"translator",
"pass",
",",
"which",
"converts",
"from",
"LLVM",
"code",
"to",
"machine",
"instructions",
"with",
"possibly",
"generic",
"opcodes",
"."
] | [
"AArch64",
"AArch64"
] | AArch64TargetMachine (2)3 | addIRTranslator | AArch64 | CPU | LLVM | 26,368 | 19 | 1 | [] |
[
"<s>",
"static",
"void",
"frv_setup_incoming_varargs",
"(",
"cumulative_args_t",
"cum_v",
",",
"machine_mode",
"mode",
",",
"tree",
"type",
"ATTRIBUTE_UNUSED",
",",
"int",
"*",
"pretend_size",
",",
"int",
"second_time",
")",
"{",
"CUMULATIVE_ARGS",
"*",
"cum",
"="... | [
"Worker",
"function",
"for",
"TARGET_SETUP_INCOMING_VARARGS",
"."
] | [
"frv",
"\"setup_vararg: words = %2d, mode = %4s, pretend_size = %d, second_time = %d\\n\""
] | frv3 | frv_setup_incoming_varargs | frv | VLIW | GCC | 26,369 | 56 | 1 | [] |
[
"<s>",
"void",
"ConvergingVLIWScheduler",
"::",
"initialize",
"(",
"ScheduleDAGMI",
"*",
"dag",
")",
"{",
"DAG",
"=",
"static_cast",
"<",
"VLIWMachineScheduler",
"*",
">",
"(",
"dag",
")",
";",
"SchedModel",
"=",
"DAG",
"->",
"getSchedModel",
"(",
")",
";",
... | [
"Initialize",
"the",
"strategy",
"after",
"building",
"the",
"DAG",
"for",
"a",
"new",
"region",
"."
] | [
"Hexagon",
"\"-misched-topdown incompatible with -misched-bottomup\""
] | HexagonMachineScheduler28 | initialize | Hexagon | DSP | LLVM | 26,370 | 187 | 1 | [] |
[
"<s>",
"const",
"MCFixupKindInfo",
"&",
"getFixupKindInfo",
"(",
"MCFixupKind",
"Kind",
")",
"const",
"{",
"const",
"static",
"MCFixupKindInfo",
"Infos",
"[",
"Mips",
"::",
"NumTargetFixupKinds",
"]",
"=",
"{",
"{",
"\"fixup_Mips_16\"",
",",
"0",
",",
"16",
",... | [
"Get",
"information",
"on",
"a",
"fixup",
"kind",
"."
] | [
"Mips",
"Mips::NumTargetFixupKinds",
"\"fixup_Mips_16\"",
"0",
"16",
"0",
"\"fixup_Mips_32\"",
"0",
"32",
"0",
"\"fixup_Mips_REL32\"",
"0",
"32",
"0",
"\"fixup_Mips_26\"",
"0",
"26",
"0",
"\"fixup_Mips_HI16\"",
"0",
"16",
"0",
"\"fixup_Mips_LO16\"",
"0",
"16",
"0",
... | MipsAsmBackend52 | getFixupKindInfo | Mips | CPU | LLVM | 26,371 | 375 | 1 | [] |
[
"<s>",
"void",
"GBZ80InstrInfo",
"::",
"reMaterialize",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"I",
",",
"unsigned",
"DestReg",
",",
"unsigned",
"SubIdx",
",",
"const",
"MachineInstr",
"&",
"Orig",
",",
"const",
"Target... | [
"Re-issue",
"the",
"specified",
"'original",
"'",
"instruction",
"at",
"the",
"specific",
"location",
"targeting",
"a",
"new",
"destination",
"register",
"."
] | [
"GBZ80",
"GB",
"0"
] | GBZ80InstrInfo | reMaterialize | GBZ80 | MPU | LLVM | 26,372 | 92 | 1 | [] |
[
"<s>",
"void",
"Nios2DAGToDAGISel",
"::",
"Select",
"(",
"SDNode",
"*",
"Node",
")",
"{",
"if",
"(",
"Node",
"->",
"isMachineOpcode",
"(",
")",
")",
"{",
"LLVM_DEBUG",
"(",
"errs",
"(",
")",
"<<",
"\"== \"",
";",
"Node",
"->",
"dump",
"(",
"CurDAG",
... | [
"Main",
"hook",
"for",
"targets",
"to",
"transform",
"nodes",
"into",
"machine",
"nodes",
"."
] | [
"Nios2",
"Nios2",
"\"== \"",
"\"\\n\"",
"1"
] | Nios2ISelDAGToDAG | Select | Nios2 | MPU | LLVM | 26,373 | 58 | 1 | [] |
[
"<s>",
"void",
"MOSStaticStackAlloc",
"::",
"getAnalysisUsage",
"(",
"AnalysisUsage",
"&",
"AU",
")",
"const",
"{",
"AU",
".",
"addRequired",
"<",
"MachineModuleInfoWrapperPass",
">",
"(",
")",
";",
"AU",
".",
"addPreserved",
"<",
"MachineModuleInfoWrapperPass",
"... | [
"getAnalysisUsage",
"-",
"Subclasses",
"that",
"override",
"getAnalysisUsage",
"must",
"call",
"this",
"."
] | [
"MOS",
"MOS"
] | MOSStaticStackAlloc | getAnalysisUsage | MOS | MPU | LLVM | 26,374 | 30 | 1 | [] |
[
"<s>",
"static",
"struct",
"constant_pool",
"*",
"s390_start_pool",
"(",
"struct",
"constant_pool",
"*",
"*",
"pool_list",
",",
"rtx_insn",
"*",
"insn",
")",
"{",
"struct",
"constant_pool",
"*",
"pool",
",",
"*",
"*",
"prev",
";",
"pool",
"=",
"s390_alloc_po... | [
"Create",
"new",
"constant",
"pool",
"covering",
"instructions",
"starting",
"at",
"INSN",
"and",
"chain",
"it",
"to",
"the",
"end",
"of",
"POOL_LIST",
"."
] | [
"s390"
] | s390 | s390_start_pool | s390 | MPU | GCC | 26,375 | 67 | 1 | [] |
[
"<s>",
"static",
"tree",
"arm_d_handle_target_float_abi",
"(",
"void",
")",
"{",
"const",
"char",
"*",
"abi",
";",
"switch",
"(",
"arm_float_abi",
")",
"{",
"case",
"ARM_FLOAT_ABI_HARD",
":",
"abi",
"=",
"\"hard\"",
";",
"break",
";",
"case",
"ARM_FLOAT_ABI_SO... | [
"Handle",
"a",
"call",
"to",
"`",
"__traits",
"(",
"getTargetInfo",
",",
"``",
"floatAbi",
"''",
")",
"'",
"."
] | [
"arm",
"\"hard\"",
"\"soft\"",
"\"softfp\"",
"\"\"",
"1"
] | arm-d | arm_d_handle_target_float_abi | arm | CPU | GCC | 26,376 | 67 | 1 | [] |
[
"<s>",
"void",
"emitInstruction",
"(",
"const",
"MCInst",
"&",
"Inst",
",",
"const",
"MCSubtargetInfo",
"&",
"STI",
")",
"override",
"{",
"EmitMappingSymbol",
"(",
"\"$t\"",
")",
";",
"MCELFStreamer",
"::",
"emitInstruction",
"(",
"Inst",
",",
"STI",
")",
";... | [
"Targets",
"should",
"implement",
"this",
"to",
"emit",
"instructions",
"."
] | [
"CSKY",
"\"$t\""
] | CSKYELFStreamer | emitInstruction | CSKY | CPU | LLVM | 26,377 | 30 | 1 | [] |
[
"<s>",
"bool",
"writeNopData",
"(",
"uint64_t",
"Count",
",",
"MCObjectWriter",
"*",
"OW",
")",
"const",
"override",
"{",
"if",
"(",
"Count",
"==",
"0",
")",
"return",
"true",
";",
"return",
"false",
";",
"}",
"</s>"
] | [
"Write",
"an",
"(",
"optimal",
")",
"nop",
"sequence",
"of",
"Count",
"bytes",
"to",
"the",
"given",
"output",
"."
] | [
"FISC",
"0"
] | FISCAsmBackend | writeNopData | FISC | CPU | LLVM | 26,378 | 26 | 1 | [] |
[
"<s>",
"unsigned",
"postKnownBits",
"(",
"unsigned",
"LogAlign",
"=",
"0",
")",
"const",
"{",
"return",
"std",
"::",
"max",
"(",
"LogAlign",
",",
"internalKnownBits",
"(",
")",
")",
";",
"}",
"</s>"
] | [
"Compute",
"the",
"number",
"of",
"known",
"low",
"bits",
"of",
"postOffset",
"."
] | [
"AArch64",
"0"
] | AArch64BranchFixupPass1 | postKnownBits | AArch64 | CPU | LLVM | 26,379 | 23 | 1 | [] |
[
"<s>",
"void",
"Thumb2InstrInfo",
"::",
"loadRegFromStackSlot",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"I",
",",
"unsigned",
"DestReg",
",",
"int",
"FI",
",",
"const",
"TargetRegisterClass",
"*",
"RC",
")",
"const",
"{"... | [
"Load",
"the",
"specified",
"register",
"of",
"the",
"given",
"register",
"class",
"from",
"the",
"specified",
"stack",
"frame",
"index",
"."
] | [
"ARM",
"ARM::GPRRegisterClass",
"ARM::t2LDRi12",
"0",
"ARM"
] | Thumb2InstrInfo49 | loadRegFromStackSlot | ARM | CPU | LLVM | 26,380 | 113 | 1 | [] |
[
"<s>",
"bool",
"extract_base_offset_in_addr",
"(",
"rtx",
"mem",
",",
"rtx",
"*",
"base",
",",
"rtx",
"*",
"offset",
")",
"{",
"rtx",
"addr",
";",
"gcc_assert",
"(",
"MEM_P",
"(",
"mem",
")",
")",
";",
"addr",
"=",
"XEXP",
"(",
"mem",
",",
"0",
")"... | [
"If",
"MEM",
"is",
"in",
"the",
"form",
"of",
"``",
"base+offset",
"''",
",",
"extract",
"the",
"two",
"parts",
"of",
"address",
"and",
"set",
"to",
"BASE",
"and",
"OFFSET",
",",
"otherwise",
"return",
"false",
"after",
"clearing",
"BASE",
"and",
"OFFSET... | [
"aarch64",
"0",
"0",
"1",
"0",
"1"
] | aarch64 | extract_base_offset_in_addr | aarch64 | CPU | GCC | 26,381 | 125 | 1 | [] |
[
"<s>",
"bool",
"MipsCallLowering",
"::",
"lowerFormalArguments",
"(",
"MachineIRBuilder",
"&",
"MIRBuilder",
",",
"const",
"Function",
"&",
"F",
",",
"ArrayRef",
"<",
"unsigned",
">",
"VRegs",
")",
"const",
"{",
"if",
"(",
"F",
".",
"arg_empty",
"(",
")",
... | [
"This",
"hook",
"must",
"be",
"implemented",
"to",
"lower",
"the",
"incoming",
"(",
"formal",
")",
"arguments",
",",
"described",
"by",
"VRegs",
",",
"for",
"GlobalISel",
"."
] | [
"Mips",
"Mips",
"Mips",
"Mips",
"8",
"8",
"0",
"ISD::InputArg",
"8",
"ISD::ArgFlagsTy",
"16",
"Mips"
] | MipsCallLowering6 | lowerFormalArguments | Mips | CPU | LLVM | 26,382 | 333 | 1 | [] |
[
"<s>",
"static",
"bool",
"rs6000_can_change_mode_class",
"(",
"machine_mode",
"from",
",",
"machine_mode",
"to",
",",
"reg_class_t",
"rclass",
")",
"{",
"unsigned",
"from_size",
"=",
"GET_MODE_SIZE",
"(",
"from",
")",
";",
"unsigned",
"to_size",
"=",
"GET_MODE_SIZ... | [
"Implement",
"TARGET_CAN_CHANGE_MODE_CLASS",
"."
] | [
"powerpcspe",
"8",
"8",
"8",
"8",
"8",
"8",
"1",
"1",
"1",
"1",
"1",
"1",
"1",
"15",
"16",
"8",
"16",
"1",
"1"
] | powerpcspe | rs6000_can_change_mode_class | powerpcspe | CPU | GCC | 26,383 | 450 | 1 | [] |
[
"<s>",
"virtual",
"void",
"getAnalysisUsage",
"(",
"AnalysisUsage",
"&",
"AU",
")",
"const",
"{",
"AU",
".",
"addRequired",
"<",
"CallGraph",
">",
"(",
")",
";",
"}",
"</s>"
] | [
"getAnalysisUsage",
"-",
"Subclasses",
"that",
"override",
"getAnalysisUsage",
"must",
"call",
"this",
"."
] | [
"PIC16"
] | PIC16Cloner | getAnalysisUsage | PIC16 | MPU | LLVM | 26,384 | 20 | 1 | [] |
[
"<s>",
"void",
"AGCInstrInfo",
"::",
"copyPhysReg",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"MI",
",",
"const",
"DebugLoc",
"&",
"DL",
",",
"unsigned",
"DestReg",
",",
"unsigned",
"SrcReg",
",",
"bool",
"KillSrc",
")",... | [
"}",
"Branch",
"Analysis",
"&",
"Modification"
] | [
"AGC",
"AGC",
"AGC::R0",
"AGC::MM12RegClass",
"\"Can only copy from memory\"",
"AGC::CA",
"AGC::MM10RegClass",
"\"Can only copy to erasable memory\"",
"AGC::R0",
"AGC::MM12RegClass",
"\"Can only copy from memory\"",
"AGC::CA",
"\"Cannot copy accumulator without killing it\"",
"AGC::TS"
] | AGCInstrInfo | copyPhysReg | AGC | MPU | LLVM | 26,385 | 225 | 1 | [] |
[
"<s>",
"bool",
"ARMBaseRegisterInfo",
"::",
"canRealignStack",
"(",
"const",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"const",
"MachineFrameInfo",
"*",
"MFI",
"=",
"MF",
".",
"getFrameInfo",
"(",
")",
";",
"return",
"(",
"RealignStack",
"&&",
"(",
"!... | [
"True",
"if",
"the",
"stack",
"can",
"be",
"realigned",
"for",
"the",
"target",
"."
] | [
"ARM",
"ARM"
] | ARMBaseRegisterInfo1 | canRealignStack | ARM | CPU | LLVM | 26,386 | 40 | 1 | [] |
[
"<s>",
"static",
"rtx",
"gen_ldst",
"(",
"bool",
"load_p",
",",
"int",
"regno",
",",
"rtx",
"base_mem",
",",
"int",
"offset",
")",
"{",
"rtx",
"reg",
"=",
"gen_rtx_REG",
"(",
"SImode",
",",
"regno",
")",
";",
"rtx",
"mem",
"=",
"adjust_address_nv",
"("... | [
"Helper",
"for",
"nios2_ldst_parallel",
",",
"for",
"generating",
"a",
"parallel",
"vector",
"SET",
"element",
"."
] | [
"nios2"
] | nios2 | gen_ldst | nios2 | MPU | GCC | 26,387 | 56 | 1 | [] |
[
"<s>",
"bool",
"AArch64TargetLowering",
"::",
"isProfitableToHoist",
"(",
"Instruction",
"*",
"I",
")",
"const",
"{",
"if",
"(",
"I",
"->",
"getOpcode",
"(",
")",
"!=",
"Instruction",
"::",
"FMul",
")",
"return",
"true",
";",
"if",
"(",
"I",
"->",
"getNu... | [
"Return",
"true",
"if",
"it",
"is",
"profitable",
"to",
"hoist",
"instruction",
"in",
"the",
"then/else",
"to",
"before",
"if",
"."
] | [
"AArch64",
"AArch64",
"1",
"0",
"ISD::FMA"
] | AArch64ISelLowering (2)1 | isProfitableToHoist | AArch64 | CPU | LLVM | 26,388 | 161 | 1 | [] |
[
"<s>",
"static",
"bool",
"rs6000_cannot_change_mode_class",
"(",
"machine_mode",
"from",
",",
"machine_mode",
"to",
",",
"enum",
"reg_class",
"rclass",
")",
"{",
"unsigned",
"from_size",
"=",
"GET_MODE_SIZE",
"(",
"from",
")",
";",
"unsigned",
"to_size",
"=",
"G... | [
"Return",
"nonzero",
"if",
"for",
"CLASS",
"a",
"mode",
"change",
"from",
"FROM",
"to",
"TO",
"is",
"invalid",
"."
] | [
"rs6000",
"8",
"8",
"8",
"8",
"8",
"8",
"1",
"1",
"1",
"1",
"1",
"1",
"1",
"15",
"16",
"8",
"16",
"1",
"1"
] | rs60005 | rs6000_cannot_change_mode_class | rs6000 | CPU | GCC | 26,389 | 455 | 1 | [] |
[
"<s>",
"unsigned",
"int",
"mips_hard_regno_nregs",
"(",
"int",
"regno",
",",
"machine_mode",
"mode",
")",
"{",
"if",
"(",
"ST_REG_P",
"(",
"regno",
")",
")",
"return",
"(",
"GET_MODE_SIZE",
"(",
"mode",
")",
"+",
"3",
")",
"/",
"4",
";",
"if",
"(",
"... | [
"Implement",
"HARD_REGNO_NREGS",
"."
] | [
"mips",
"3",
"4",
"1",
"1"
] | mips4 | mips_hard_regno_nregs | mips | CPU | GCC | 26,390 | 66 | 1 | [] |
[
"<s>",
"bool",
"MOSRegisterInfo",
"::",
"shouldCoalesce",
"(",
"MachineInstr",
"*",
"MI",
",",
"const",
"TargetRegisterClass",
"*",
"SrcRC",
",",
"unsigned",
"SubReg",
",",
"const",
"TargetRegisterClass",
"*",
"DstRC",
",",
"unsigned",
"DstSubReg",
",",
"const",
... | [
"Subtarget",
"Hooks",
"."
] | [
"MOS",
"MOS",
"MOS::Imag8RegClass",
"MOS::Imag16RegClass",
"MOS::AImag8RegClass",
"0",
"0",
"MOS::AImag8RegClass",
"1",
"1",
"MOS::Anyi8RegClass",
"0",
"0",
"MOS::Anyi8RegClass",
"1",
"1",
"MOS::GPRRegClass",
"MOS::Anyi8RegClass",
"0",
"MOS::Anyi8RegClass",
"1"
] | MOSRegisterInfo | shouldCoalesce | MOS | MPU | LLVM | 26,391 | 320 | 1 | [] |
[
"<s>",
"void",
"setupMF",
"(",
"MachineFunction",
"&",
"MF",
",",
"GISelKnownBits",
"*",
"KB",
",",
"CodeGenCoverage",
"&",
"CoverageInfo",
",",
"ProfileSummaryInfo",
"*",
"PSI",
",",
"BlockFrequencyInfo",
"*",
"BFI",
",",
"AAResults",
"*",
"AA",
")",
"overrid... | [
"Setup",
"per-MF",
"executor",
"state",
"."
] | [
"AArch64"
] | AArch64InstructionSelector34 | setupMF | AArch64 | CPU | LLVM | 26,392 | 81 | 1 | [] |
[
"<s>",
"static",
"rtx",
"csky_dwarf_register_span",
"(",
"rtx",
"rtl",
")",
"{",
"machine_mode",
"mode",
";",
"unsigned",
"regno",
";",
"rtx",
"parts",
"[",
"16",
"]",
";",
"int",
"nregs",
";",
"int",
"i",
";",
"regno",
"=",
"REGNO",
"(",
"rtl",
")",
... | [
"Implement",
"TARGET_DWARF_REGISTER_SPAN",
".",
"Dwarf",
"models",
"VFP",
"registers",
"as",
"64-bit",
"or",
"128-bit",
"registers",
"default",
".",
"GCC",
"models",
"tham",
"as",
"32-bit",
"registers",
",",
"so",
"we",
"need",
"to",
"describe",
"this",
"to",
... | [
"csky",
"16",
"16",
"8",
"4",
"0",
"2",
"1",
"1",
"1",
"1",
"4",
"0",
"2",
"16",
"1",
"1",
"16"
] | csky | csky_dwarf_register_span | csky | CPU | GCC | 26,393 | 289 | 1 | [] |
[
"<s>",
"int",
"avr_progmem_p",
"(",
"tree",
"decl",
",",
"tree",
"attributes",
")",
"{",
"tree",
"a",
";",
"if",
"(",
"TREE_CODE",
"(",
"decl",
")",
"!=",
"VAR_DECL",
")",
"return",
"0",
";",
"if",
"(",
"avr_decl_memx_p",
"(",
"decl",
")",
")",
"retu... | [
"Look",
"for",
"attribute",
"`",
"progmem",
"'",
"in",
"DECL",
"if",
"found",
"return",
"1",
",",
"otherwise",
"0",
"."
] | [
"avr",
"0",
"2",
"1",
"\"progmem\"",
"1",
"0",
"\"progmem\"",
"1",
"0"
] | avr | avr_progmem_p | avr | MPU | GCC | 26,394 | 113 | 1 | [] |
[
"<s>",
"static",
"bool",
"atomic_insn_for_leon3_p",
"(",
"rtx_insn",
"*",
"insn",
")",
"{",
"switch",
"(",
"INSN_CODE",
"(",
"insn",
")",
")",
"{",
"case",
"CODE_FOR_swapsi",
":",
"case",
"CODE_FOR_ldstub",
":",
"case",
"CODE_FOR_atomic_compare_and_swap_leon3_1",
... | [
"True",
"if",
"INSN",
"is",
"an",
"atomic",
"instruction",
"."
] | [
"sparc"
] | sparc | atomic_insn_for_leon3_p | sparc | CPU | GCC | 26,395 | 36 | 1 | [] |
[
"<s>",
"static",
"std",
"::",
"string",
"getGraphName",
"(",
"const",
"MCallSubGraph",
"&",
"G",
")",
"{",
"return",
"\"CallGraph\"",
";",
"}",
"</s>"
] | [
"Generate",
"a",
"title",
"for",
"the",
"graph",
"in",
"DOT",
"format",
"."
] | [
"Patmos",
"\"CallGraph\""
] | PatmosCallGraphBuilder | getGraphName | Patmos | VLIW | LLVM | 26,396 | 16 | 1 | [] |
[
"<s>",
"static",
"void",
"push_regs",
"(",
"int",
"mask",
")",
"{",
"int",
"i",
";",
"int",
"exregs",
"[",
"FIRST_PSEUDO_REGISTER",
"]",
";",
"memset",
"(",
"exregs",
",",
"0",
",",
"sizeof",
"(",
"exregs",
")",
")",
";",
"for",
"(",
"i",
"=",
"0",... | [
"Generate",
"code",
"to",
"push",
"the",
"regs",
"specified",
"in",
"the",
"mask",
".",
"remember",
"that",
"the",
"mask",
"is",
"of",
"the",
"internal",
"shape",
"of",
"the",
"regs",
",",
"not",
"the",
"external",
"shape",
"-",
"so",
"go",
"through",
... | [
"z8k",
"0",
"0",
"1",
"1",
"0",
"1",
"2",
"1",
"1",
"1"
] | z8k | push_regs | z8k | MPU | GCC | 26,397 | 155 | 1 | [] |
[
"<s>",
"static",
"bool",
"h8300_return_in_memory",
"(",
"const_tree",
"type",
",",
"const_tree",
"fntype",
"ATTRIBUTE_UNUSED",
")",
"{",
"return",
"(",
"TYPE_MODE",
"(",
"type",
")",
"==",
"BLKmode",
"||",
"GET_MODE_SIZE",
"(",
"TYPE_MODE",
"(",
"type",
")",
"... | [
"Worker",
"function",
"for",
"TARGET_RETURN_IN_MEMORY",
"."
] | [
"h8300",
"8"
] | h8300 | h8300_return_in_memory | h8300 | MPU | GCC | 26,398 | 33 | 1 | [] |
[
"<s>",
"const",
"uint32_t",
"*",
"MMIXRegisterInfo",
"::",
"getNoPreservedMask",
"(",
")",
"const",
"{",
"return",
"CSR_NoRegs_RegMask",
";",
"}",
"</s>"
] | [
"Return",
"a",
"register",
"mask",
"that",
"clobbers",
"everything",
"."
] | [
"MMIX",
"MMIX"
] | MMIXRegisterInfo | getNoPreservedMask | MMIX | CPU | LLVM | 26,399 | 14 | 1 | [] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.