ground_truth listlengths 8 512 | natrual_language listlengths 1 243 | TS_V_token listlengths 1 182 | File stringlengths 2 45 | Func stringlengths 1 56 | Target stringclasses 175
values | Target_Clf stringclasses 6
values | Compiler_Type stringclasses 2
values | Idx int64 0 36.2k | Length int64 6 510 | Cover_Rate float64 1 1 | Template_token listlengths 0 0 |
|---|---|---|---|---|---|---|---|---|---|---|---|
[
"<s>",
"bool",
"SITargetLowering",
"::",
"isLegalAddressingMode",
"(",
"const",
"DataLayout",
"&",
"DL",
",",
"const",
"AddrMode",
"&",
"AM",
",",
"Type",
"*",
"Ty",
",",
"unsigned",
"AS",
")",
"const",
"{",
"if",
"(",
"AM",
".",
"BaseGV",
")",
"return",... | [
"isLegalAddressingMode",
"-",
"Return",
"true",
"if",
"the",
"addressing",
"mode",
"represented",
"by",
"AM",
"is",
"legal",
"for",
"this",
"target",
",",
"for",
"a",
"load/store",
"of",
"the",
"specified",
"type",
"."
] | [
"AMDGPU",
"SI",
"AMDGPU",
"AMDGPU",
"AMDGPU",
"AMDGPU",
"AMDGPU",
"12",
"0",
"1",
"2",
"AMDGPU",
"AMDGPU",
"16",
"0",
"1",
"AMDGPU",
"\"unhandled address space\""
] | SIISelLowering100 | isLegalAddressingMode | AMDGPU | GPU | LLVM | 30,000 | 215 | 1 | [] |
[
"<s>",
"DecodeStatus",
"BPFDisassembler",
"::",
"getInstruction",
"(",
"MCInst",
"&",
"Instr",
",",
"uint64_t",
"&",
"Size",
",",
"ArrayRef",
"<",
"uint8_t",
">",
"Bytes",
",",
"uint64_t",
"Address",
",",
"raw_ostream",
"&",
"CStream",
")",
"const",
"{",
"bo... | [
"Returns",
"the",
"disassembly",
"of",
"a",
"single",
"instruction",
"."
] | [
"BPF",
"BPF",
"BPF",
"BPF",
"BPF",
"BPF",
"BPF",
"BPF::ALU32",
"BPF",
"BPF",
"BPF::LD_imm64",
"BPF::LD_pseudo",
"16",
"0",
"16",
"12",
"0",
"13",
"8",
"14",
"16",
"15",
"24",
"12",
"24",
"13",
"16",
"14",
"8",
"15",
"0",
"1",
"BPF::LD_ABS_B",
"BPF::L... | BPFDisassembler11 | getInstruction | BPF | Virtual ISA | LLVM | 30,001 | 415 | 1 | [] |
[
"<s>",
"rtx",
"extract_pattern_from_insn",
"(",
"rtx",
"insn",
")",
"{",
"if",
"(",
"INSN_P",
"(",
"insn",
")",
")",
"return",
"PATTERN",
"(",
"insn",
")",
";",
"return",
"insn",
";",
"}",
"</s>"
] | [
"Get",
"the",
"rtx",
"in",
"the",
"PATTERN",
"field",
"of",
"an",
"insn",
".",
"If",
"INSN",
"is",
"not",
"an",
"insn",
",",
"the",
"funciton",
"does",
"n't",
"change",
"anything",
"and",
"returns",
"it",
"directly",
"."
] | [
"nds32"
] | nds32-utils | extract_pattern_from_insn | nds32 | CPU | GCC | 30,002 | 24 | 1 | [] |
[
"<s>",
"HOST_WIDE_INT",
"mips_initial_elimination_offset",
"(",
"int",
"from",
",",
"int",
"to",
")",
"{",
"HOST_WIDE_INT",
"offset",
";",
"compute_frame_size",
"(",
"get_frame_size",
"(",
")",
")",
";",
"switch",
"(",
"from",
")",
"{",
"case",
"FRAME_POINTER_RE... | [
"Implement",
"INITIAL_ELIMINATION_OFFSET",
".",
"FROM",
"is",
"either",
"the",
"frame",
"pointer",
"or",
"argument",
"pointer",
".",
"TO",
"is",
"either",
"the",
"stack",
"pointer",
"or",
"hard",
"frame",
"pointer",
"."
] | [
"mips",
"0"
] | mips3 | mips_initial_elimination_offset | mips | CPU | GCC | 30,003 | 82 | 1 | [] |
[
"<s>",
"bool",
"ok_for_simple_arith_logic_operands",
"(",
"rtx",
"*",
",",
"enum",
"machine_mode",
")",
"{",
"return",
"!",
"visium_flags_exposed",
";",
"}",
"</s>"
] | [
"Return",
"true",
"if",
"the",
"operands",
"are",
"valid",
"for",
"a",
"simple",
"arithmetic",
"or",
"logical",
"insn",
"."
] | [
"visium"
] | visium2 | ok_for_simple_arith_logic_operands | visium | Virtual ISA | GCC | 30,004 | 15 | 1 | [] |
[
"<s>",
"const",
"char",
"*",
"loongarch_output_division",
"(",
"const",
"char",
"*",
"division",
",",
"rtx",
"*",
"operands",
")",
"{",
"const",
"char",
"*",
"s",
";",
"s",
"=",
"division",
";",
"if",
"(",
"TARGET_CHECK_ZERO_DIV",
")",
"{",
"output_asm_ins... | [
"Return",
"the",
"assembly",
"code",
"for",
"DIV",
".",
"{",
"W/D",
"}",
"instruction",
"DIVISION",
",",
"which",
"has",
"the",
"operands",
"given",
"by",
"OPERANDS",
".",
"Add",
"in",
"a",
"divide-by-zero",
"check",
"if",
"needed",
"."
] | [
"loongarch",
"\"bne\\t%2,%.,1f\\n\\tbreak\\t7\\n1:\""
] | loongarch | loongarch_output_division | loongarch | CPU | GCC | 30,005 | 45 | 1 | [] |
[
"<s>",
"const",
"char",
"*",
"m68k_output_branch_integer",
"(",
"rtx_code",
"code",
")",
"{",
"switch",
"(",
"code",
")",
"{",
"case",
"EQ",
":",
"return",
"\"jeq %l3\"",
";",
"case",
"NE",
":",
"return",
"\"jne %l3\"",
";",
"case",
"GT",
":",
"return",
... | [
"Return",
"an",
"output",
"template",
"for",
"a",
"branch",
"with",
"CODE",
"."
] | [
"m68k",
"\"jeq %l3\"",
"\"jne %l3\"",
"\"jgt %l3\"",
"\"jhi %l3\"",
"\"jlt %l3\"",
"\"jcs %l3\"",
"\"jge %l3\"",
"\"jcc %l3\"",
"\"jle %l3\"",
"\"jls %l3\"",
"\"jpl %l3\"",
"\"jmi %l3\""
] | m68k | m68k_output_branch_integer | m68k | MPU | GCC | 30,006 | 94 | 1 | [] |
[
"<s>",
"unsigned",
"GBZ80InstrInfo",
"::",
"removeBranch",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"int",
"*",
"BytesRemoved",
")",
"const",
"{",
"if",
"(",
"BytesRemoved",
")",
"*",
"BytesRemoved",
"=",
"0",
";",
"MachineBasicBlock",
"::",
"iterator",
"I",... | [
"Remove",
"the",
"branching",
"code",
"at",
"the",
"end",
"of",
"the",
"specific",
"MBB",
"."
] | [
"GBZ80",
"GB",
"0",
"0"
] | GBZ80InstrInfo | removeBranch | GBZ80 | MPU | LLVM | 30,007 | 121 | 1 | [] |
[
"<s>",
"bool",
"SIInstrInfo",
"::",
"isReallyTriviallyReMaterializable",
"(",
"const",
"MachineInstr",
"&",
"MI",
",",
"AAResults",
"*",
"AA",
")",
"const",
"{",
"if",
"(",
"isVOP1",
"(",
"MI",
")",
"||",
"isVOP2",
"(",
"MI",
")",
"||",
"isVOP3",
"(",
"M... | [
"For",
"instructions",
"with",
"opcodes",
"for",
"which",
"the",
"M_REMATERIALIZABLE",
"flag",
"is",
"set",
",",
"this",
"hook",
"lets",
"the",
"target",
"specify",
"whether",
"the",
"instruction",
"is",
"actually",
"trivially",
"rematerializable",
",",
"taking",
... | [
"AMDGPU",
"SI"
] | SIInstrInfo120 | isReallyTriviallyReMaterializable | AMDGPU | GPU | LLVM | 30,008 | 75 | 1 | [] |
[
"<s>",
"void",
"LanaiPassConfig",
"::",
"addPreEmitPass",
"(",
")",
"{",
"addPass",
"(",
"createLanaiDelaySlotFillerPass",
"(",
"getLanaiTargetMachine",
"(",
")",
")",
")",
";",
"}",
"</s>"
] | [
"This",
"pass",
"may",
"be",
"implemented",
"by",
"targets",
"that",
"want",
"to",
"run",
"passes",
"immediately",
"before",
"machine",
"code",
"is",
"emitted",
"."
] | [
"Lanai",
"Lanai",
"Lanai",
"Lanai"
] | LanaiTargetMachine | addPreEmitPass | Lanai | CPU | LLVM | 30,009 | 18 | 1 | [] |
[
"<s>",
"bool",
"SPUAsmPrinter",
"::",
"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",
"."
] | [
"CellSPU",
"SPU",
"0",
"1",
"0",
"0",
"1",
"1"
] | SPUAsmPrinter5 | PrintAsmOperand | CellSPU | MPU | LLVM | 30,010 | 138 | 1 | [] |
[
"<s>",
"bool",
"SparcAsmParser",
"::",
"ParseInstruction",
"(",
"ParseInstructionInfo",
"&",
"Info",
",",
"StringRef",
"Name",
",",
"SMLoc",
"NameLoc",
",",
"SmallVectorImpl",
"<",
"MCParsedAsmOperand",
"*",
">",
"&",
"Operands",
")",
"{",
"Operands",
".",
"push... | [
"ParseInstruction",
"-",
"Parse",
"one",
"assembly",
"instruction",
"."
] | [
"Sparc",
"Sparc",
"SparcOperand::CreateToken",
"0",
"\"unexpected token\"",
"\"unexpected token\"",
"\"unexpected token\"",
"\"unexpected token\""
] | SparcAsmParser11 | ParseInstruction | Sparc | CPU | LLVM | 30,011 | 262 | 1 | [] |
[
"<s>",
"bool",
"AArch64RegisterInfo",
"::",
"needsFrameBaseReg",
"(",
"MachineInstr",
"*",
"MI",
",",
"int64_t",
"Offset",
")",
"const",
"{",
"for",
"(",
"unsigned",
"i",
"=",
"0",
";",
"!",
"MI",
"->",
"getOperand",
"(",
"i",
")",
".",
"isFI",
"(",
")... | [
"Returns",
"true",
"if",
"the",
"instruction",
"'s",
"frame",
"index",
"reference",
"would",
"be",
"better",
"served",
"by",
"a",
"base",
"register",
"other",
"than",
"FP",
"or",
"SP",
"."
] | [
"AArch64",
"AArch64",
"0",
"\"Instr doesn't have FrameIndex operand!\"",
"AArch64",
"16",
"20",
"128",
"AArch64::FP",
"AArch64::SP"
] | AArch64RegisterInfo (2) | needsFrameBaseReg | AArch64 | CPU | LLVM | 30,012 | 167 | 1 | [] |
[
"<s>",
"bool",
"Thumb2ITBlockPass",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"Fn",
")",
"{",
"const",
"TargetMachine",
"&",
"TM",
"=",
"Fn",
".",
"getTarget",
"(",
")",
";",
"AFI",
"=",
"Fn",
".",
"getInfo",
"<",
"ARMFunctionInfo",
">",
"... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"ARM",
"ARM"
] | Thumb2ITBlockPass22 | runOnMachineFunction | ARM | CPU | LLVM | 30,013 | 113 | 1 | [] |
[
"<s>",
"int",
"s390_float_const_zero_p",
"(",
"rtx",
"value",
")",
"{",
"return",
"(",
"GET_MODE_CLASS",
"(",
"GET_MODE",
"(",
"value",
")",
")",
"==",
"MODE_FLOAT",
"&&",
"value",
"==",
"CONST0_RTX",
"(",
"GET_MODE",
"(",
"value",
")",
")",
")",
";",
"}... | [
"Returns",
"true",
"if",
"the",
"input",
"parameter",
"VALUE",
"is",
"a",
"float",
"zero",
"."
] | [
"s390"
] | s390 | s390_float_const_zero_p | s390 | MPU | GCC | 30,014 | 31 | 1 | [] |
[
"<s>",
"static",
"enum",
"attr_type",
"s390_safe_attr_type",
"(",
"rtx_insn",
"*",
"insn",
")",
"{",
"if",
"(",
"recog_memoized",
"(",
"insn",
")",
">=",
"0",
")",
"return",
"get_attr_type",
"(",
"insn",
")",
";",
"else",
"return",
"TYPE_NONE",
";",
"}",
... | [
"Return",
"attribute",
"type",
"of",
"insn",
"."
] | [
"s390",
"0"
] | s390 | s390_safe_attr_type | s390 | MPU | GCC | 30,015 | 30 | 1 | [] |
[
"<s>",
"void",
"SPIRVAsmPrinter",
"::",
"getAnalysisUsage",
"(",
"AnalysisUsage",
"&",
"AU",
")",
"const",
"{",
"AU",
".",
"addRequired",
"<",
"SPIRVModuleAnalysis",
">",
"(",
")",
";",
"AU",
".",
"addPreserved",
"<",
"SPIRVModuleAnalysis",
">",
"(",
")",
";... | [
"getAnalysisUsage",
"-",
"Subclasses",
"that",
"override",
"getAnalysisUsage",
"must",
"call",
"this",
"."
] | [
"SPIRV",
"SPIRV",
"SPIRV",
"SPIRV"
] | SPIRVAsmPrinter | getAnalysisUsage | SPIRV | Virtual ISA | LLVM | 30,016 | 37 | 1 | [] |
[
"<s>",
"int",
"load_update_operand",
"(",
"rtx",
"op",
",",
"enum",
"machine_mode",
"mode",
")",
"{",
"if",
"(",
"GET_CODE",
"(",
"op",
")",
"!=",
"MEM",
"||",
"GET_MODE",
"(",
"op",
")",
"!=",
"mode",
")",
"return",
"0",
";",
"op",
"=",
"XEXP",
"(... | [
"Return",
"true",
"if",
"OP",
"is",
"valid",
"load",
"with",
"update",
"operand",
"."
] | [
"arc",
"0",
"0",
"0",
"1",
"0",
"1"
] | arc3 | load_update_operand | arc | MPU | GCC | 30,017 | 88 | 1 | [] |
[
"<s>",
"void",
"rs6000_output_tlsargs",
"(",
"rtx",
"*",
"operands",
")",
"{",
"rtx",
"op",
"[",
"3",
"]",
";",
"op",
"[",
"0",
"]",
"=",
"operands",
"[",
"0",
"]",
";",
"op",
"[",
"1",
"]",
"=",
"XVECEXP",
"(",
"operands",
"[",
"2",
"]",
",",
... | [
"Output",
"arg",
"setup",
"instructions",
"for",
"a",
"!",
"TARGET_TLS_MARKERS",
"__tls_get_addr",
"call",
"."
] | [
"rs6000",
"3",
"0",
"0",
"1",
"2",
"0",
"0",
"2",
"1",
"2",
"2",
"0",
"1",
"\"addis %0,%2,%1@got@tlsgd@ha\\n\\t\"",
"\"addi %0,%0,%1@got@tlsgd@l\"",
"\"addi %0,%2,%1@got@tlsgd\"",
"2",
"1",
"\"addis %0,%1,%&@got@tlsld@ha\\n\\t\"",
"\"addi %0,%0,%&@got@tlsld@l\"",
"\"addi %0... | rs60008 | rs6000_output_tlsargs | rs6000 | CPU | GCC | 30,018 | 141 | 1 | [] |
[
"<s>",
"bool",
"ARMTargetLowering",
"::",
"lowerInterleavedStore",
"(",
"StoreInst",
"*",
"SI",
",",
"ShuffleVectorInst",
"*",
"SVI",
",",
"unsigned",
"Factor",
")",
"const",
"{",
"assert",
"(",
"Factor",
">=",
"2",
"&&",
"Factor",
"<=",
"getMaxSupportedInterlea... | [
"Lower",
"interleaved",
"store",
"(",
"s",
")",
"into",
"target",
"specific",
"instructions/intrinsics",
"."
] | [
"ARM",
"ARM",
"2",
"\"Invalid interleave factor\"",
"0",
"\"Invalid interleaved store\"",
"64",
"64",
"128",
"0",
"1",
"Intrinsic::ID",
"3",
"Intrinsic::arm_neon_vst2",
"Intrinsic::arm_neon_vst3",
"Intrinsic::arm_neon_vst4",
"6",
"Intrinsic::getDeclaration",
"2",
"0"
] | ARMISelLowering (2)2 | lowerInterleavedStore | ARM | CPU | LLVM | 30,019 | 428 | 1 | [] |
[
"<s>",
"bool",
"AArch64StorePairSuppress",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"{",
"if",
"(",
"skipFunction",
"(",
"*",
"MF",
".",
"getFunction",
"(",
")",
")",
")",
"return",
"false",
";",
"const",
"TargetSubtargetInfo",
"&"... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"AArch64",
"AArch64",
"AArch64",
"\"*** \"",
"\": \"",
"\" Skipping pass: no machine model present.\\n\"",
"0",
"\"Unpairing store \"",
"\"\\n\"",
"0"
] | AArch64StorePairSuppress1 | runOnMachineFunction | AArch64 | CPU | LLVM | 30,020 | 269 | 1 | [] |
[
"<s>",
"bool",
"WebAssemblyPassConfig",
"::",
"addInstSelector",
"(",
")",
"{",
"addPass",
"(",
"createWebAssemblyISelDag",
"(",
"getWebAssemblyTargetMachine",
"(",
")",
",",
"getOptLevel",
"(",
")",
")",
")",
";",
"return",
"false",
";",
"}",
"</s>"
] | [
"addInstSelector",
"-",
"This",
"method",
"should",
"install",
"an",
"instruction",
"selector",
"pass",
",",
"which",
"converts",
"from",
"LLVM",
"code",
"to",
"machine",
"instructions",
"."
] | [
"WebAssembly",
"WebAssembly",
"WebAssembly",
"WebAssembly"
] | WebAssemblyTargetMachine2 | addInstSelector | WebAssembly | Virtual ISA | LLVM | 30,021 | 25 | 1 | [] |
[
"<s>",
"BitVector",
"SIRegisterInfo",
"::",
"getReservedRegs",
"(",
"const",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"BitVector",
"Reserved",
"(",
"getNumRegs",
"(",
")",
")",
";",
"reserveRegisterTuples",
"(",
"Reserved",
",",
"AMDGPU",
"::",
"EXEC",
... | [
"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",
"... | [
"AMDGPU",
"SI",
"AMDGPU::EXEC",
"AMDGPU::FLAT_SCR",
"AMDGPU::M0",
"AMDGPU::SRC_SHARED_BASE",
"AMDGPU::SRC_SHARED_LIMIT",
"AMDGPU::SRC_PRIVATE_BASE",
"AMDGPU::SRC_PRIVATE_LIMIT",
"AMDGPU::SRC_POPS_EXITING_WAVE_ID",
"AMDGPU::XNACK_MASK",
"AMDGPU::LDS_DIRECT",
"AMDGPU::TBA",
"AMDGPU::TMA",
... | SIRegisterInfo74 | getReservedRegs | AMDGPU | GPU | LLVM | 30,022 | 508 | 1 | [] |
[
"<s>",
"X86Subtarget",
"::",
"X86Subtarget",
"(",
"const",
"std",
"::",
"string",
"&",
"TT",
",",
"const",
"std",
"::",
"string",
"&",
"FS",
",",
"bool",
"is64Bit",
")",
":",
"PICStyle",
"(",
"PICStyles",
"::",
"None",
")",
",",
"X86SSELevel",
"(",
"No... | [
"This",
"constructor",
"initializes",
"the",
"data",
"members",
"to",
"match",
"that",
"of",
"the",
"specified",
"triple",
"."
] | [
"X86",
"X86",
"X86",
"X86",
"X86",
"X86",
"8",
"128",
"X86",
"X86",
"X86",
"\"Subtarget features: SSELevel \"",
"X86",
"\", 3DNowLevel \"",
"X86",
"\", 64bit \"",
"X86",
"\"\\n\"",
"X86",
"\"64-bit code requested on a subtarget that doesn't support it!\"",
"16"
] | X86Subtarget27 | X86Subtarget | X86 | CPU | LLVM | 30,023 | 244 | 1 | [] |
[
"<s>",
"const",
"MCExpr",
"*",
"getSubExpr",
"(",
")",
"const",
"{",
"return",
"Expr",
";",
"}",
"</s>"
] | [
"getSubExpr",
"-",
"Get",
"the",
"child",
"of",
"this",
"expression",
"."
] | [
"CSKY"
] | CSKYMCExpr | getSubExpr | CSKY | CPU | LLVM | 30,024 | 12 | 1 | [] |
[
"<s>",
"Register",
"RISCVTargetLowering",
"::",
"getExceptionPointerRegister",
"(",
"const",
"Constant",
"*",
"PersonalityFn",
")",
"const",
"{",
"return",
"RISCVABI",
"::",
"isCheriPureCapABI",
"(",
"Subtarget",
".",
"getTargetABI",
"(",
")",
")",
"?",
"RISCV",
"... | [
"If",
"a",
"physical",
"register",
",",
"this",
"returns",
"the",
"register",
"that",
"receives",
"the",
"exception",
"address",
"on",
"entry",
"to",
"an",
"EH",
"pad",
"."
] | [
"RISCV",
"RISCV",
"RISCVABI::isCheriPureCapABI",
"RISCV::C10",
"RISCV::X10"
] | RISCVISelLowering42 | getExceptionPointerRegister | RISCV | CPU | LLVM | 30,025 | 33 | 1 | [] |
[
"<s>",
"AArch64TargetMachine",
"::",
"AArch64TargetMachine",
"(",
"const",
"Target",
"&",
"T",
",",
"const",
"Triple",
"&",
"TT",
",",
"StringRef",
"CPU",
",",
"StringRef",
"FS",
",",
"const",
"TargetOptions",
"&",
"Options",
",",
"Optional",
"<",
"Reloc",
"... | [
"Create",
"an",
"AArch64",
"architecture",
"model",
"."
] | [
"AArch64",
"AArch64",
"AArch64"
] | AArch64TargetMachine25 | AArch64TargetMachine | AArch64 | CPU | LLVM | 30,026 | 164 | 1 | [] |
[
"<s>",
"InstructionCost",
"AArch64TTIImpl",
"::",
"getGatherScatterOpCost",
"(",
"unsigned",
"Opcode",
",",
"Type",
"*",
"DataTy",
",",
"const",
"Value",
"*",
"Ptr",
",",
"bool",
"VariableMask",
",",
"Align",
"Alignment",
",",
"TTI",
"::",
"TargetCostKind",
"Cos... | [
"Calculate",
"the",
"cost",
"of",
"Gather",
"/",
"Scatter",
"operation",
"."
] | [
"AArch64",
"AArch64",
"\"Expected valid max vscale value\"",
"0"
] | AArch64TargetTransformInfo27 | getGatherScatterOpCost | AArch64 | CPU | LLVM | 30,027 | 164 | 1 | [] |
[
"<s>",
"static",
"inline",
"SPIRV",
"::",
"SpecialTypeDescriptor",
"getEmptyKey",
"(",
")",
"{",
"return",
"SPIRV",
"::",
"SpecialTypeDescriptor",
"(",
"SPIRV",
"::",
"SpecialTypeDescriptor",
"::",
"STK_Empty",
")",
";",
"}",
"</s>"
] | [
"Empty",
"key",
":",
"no",
"key",
"should",
"be",
"generated",
"that",
"has",
"no",
"DILocalVariable",
"."
] | [
"SPIRV",
"SPIRV::SpecialTypeDescriptor",
"SPIRV::SpecialTypeDescriptor",
"SPIRV::SpecialTypeDescriptor"
] | SPIRVDuplicatesTracker | getEmptyKey | SPIRV | Virtual ISA | LLVM | 30,028 | 22 | 1 | [] |
[
"<s>",
"bool",
"Z80AsmParser",
"::",
"ParseDirective",
"(",
"AsmToken",
"DirectiveID",
")",
"{",
"llvm_unreachable",
"(",
"\"Unimplemented\"",
")",
";",
"}",
"</s>"
] | [
"ParseDirective",
"-",
"Parse",
"a",
"target",
"specific",
"assembler",
"directive",
"This",
"method",
"is",
"deprecated",
",",
"use",
"'parseDirective",
"'",
"instead",
"."
] | [
"Z80",
"Z80",
"\"Unimplemented\""
] | Z80AsmParser1 | ParseDirective | Z80 | MPU | LLVM | 30,029 | 15 | 1 | [] |
[
"<s>",
"StringRef",
"getPassName",
"(",
")",
"const",
"override",
"{",
"return",
"\"Z80old Assembly / Object Emitter\"",
";",
"}",
"</s>"
] | [
"getPassName",
"-",
"Return",
"a",
"nice",
"clean",
"name",
"for",
"a",
"pass",
"."
] | [
"Z80old",
"\"Z80old Assembly / Object Emitter\""
] | Z80oldAsmPrinter | getPassName | Z80old | MPU | LLVM | 30,030 | 11 | 1 | [] |
[
"<s>",
"bool",
"isMachineVerifierClean",
"(",
")",
"const",
"override",
"{",
"return",
"false",
";",
"}",
"</s>"
] | [
"Returns",
"true",
"if",
"the",
"target",
"is",
"expected",
"to",
"pass",
"all",
"machine",
"verifier",
"checks",
"."
] | [
"PowerPC"
] | PPCTargetMachine10 | isMachineVerifierClean | PowerPC | CPU | LLVM | 30,031 | 11 | 1 | [] |
[
"<s>",
"static",
"tree",
"mips_builtin_vectorized_function",
"(",
"unsigned",
"int",
"fn",
",",
"tree",
"type_out",
",",
"tree",
"type_in",
")",
"{",
"machine_mode",
"in_mode",
",",
"out_mode",
";",
"int",
"in_n",
",",
"out_n",
";",
"if",
"(",
"TREE_CODE",
"... | [
"Implement",
"TARGET_VECTORIZE_BUILTIN_VECTORIZED_FUNCTION",
"."
] | [
"mips",
"2",
"2",
"4",
"4"
] | mips | mips_builtin_vectorized_function | mips | CPU | GCC | 30,032 | 158 | 1 | [] |
[
"<s>",
"static",
"unsigned",
"addLiveIn",
"(",
"MachineFunction",
"&",
"MF",
",",
"unsigned",
"PReg",
",",
"const",
"TargetRegisterClass",
"*",
"RC",
")",
"{",
"Register",
"VReg",
"=",
"MF",
".",
"getRegInfo",
"(",
")",
".",
"createVirtualRegister",
"(",
"RC... | [
"addLiveIn",
"-",
"Add",
"the",
"specified",
"register",
"as",
"a",
"live-in",
"."
] | [
"Mips"
] | MipsISelLowering (2)4 | addLiveIn | Mips | CPU | LLVM | 30,033 | 48 | 1 | [] |
[
"<s>",
"SDValue",
"PPCTargetLowering",
"::",
"LowerCall",
"(",
"TargetLowering",
"::",
"CallLoweringInfo",
"&",
"CLI",
",",
"SmallVectorImpl",
"<",
"SDValue",
">",
"&",
"InVals",
")",
"const",
"{",
"SelectionDAG",
"&",
"DAG",
"=",
"CLI",
".",
"DAG",
";",
"SD... | [
"This",
"hook",
"must",
"be",
"implemented",
"to",
"lower",
"calls",
"into",
"the",
"specified",
"DAG",
"."
] | [
"PowerPC",
"PPC",
"ISD::OutputArg",
"ISD::InputArg",
"\"failed to perform tail call elimination on a call \"",
"\"site marked musttail\"",
"PPC"
] | PPCISelLowering (2)2 | LowerCall | PowerPC | CPU | LLVM | 30,034 | 274 | 1 | [] |
[
"<s>",
"ArrayRef",
"<",
"std",
"::",
"pair",
"<",
"unsigned",
",",
"const",
"char",
"*",
">>",
"MipsInstrInfo",
"::",
"getSerializableDirectMachineOperandTargetFlags",
"(",
")",
"const",
"{",
"using",
"namespace",
"MipsII",
";",
"static",
"const",
"std",
"::",
... | [
"Return",
"an",
"array",
"that",
"contains",
"the",
"direct",
"target",
"flag",
"values",
"and",
"their",
"names",
"."
] | [
"Mips",
"Mips",
"Mips",
"\"mips-got\"",
"\"mips-got-call\"",
"\"mips-gprel\"",
"\"mips-abs-hi\"",
"\"mips-abs-lo\"",
"\"mips-tlsgd\"",
"\"mips-tlsldm\"",
"\"mips-dtprel-hi\"",
"\"mips-dtprel-lo\"",
"\"mips-gottprel\"",
"\"mips-tprel-hi\"",
"\"mips-tprel-lo\"",
"\"mips-gpoff-hi\"",
"\... | MipsInstrInfo | getSerializableDirectMachineOperandTargetFlags | Mips | CPU | LLVM | 30,035 | 186 | 1 | [] |
[
"<s>",
"unsigned",
"AArch64RegisterInfo",
"::",
"getRegPressureLimit",
"(",
"const",
"TargetRegisterClass",
"*",
"RC",
",",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"const",
"TargetFrameLowering",
"*",
"TFI",
"=",
"MF",
".",
"getTarget",
"(",
")",
".",
... | [
"Return",
"the",
"register",
"pressure",
"``",
"high",
"water",
"mark",
"''",
"for",
"the",
"specific",
"register",
"class",
"."
] | [
"AArch64",
"AArch64",
"0",
"AArch64::GPR32RegClassID",
"AArch64::GPR32spRegClassID",
"AArch64::GPR32allRegClassID",
"AArch64::GPR64spRegClassID",
"AArch64::GPR64allRegClassID",
"AArch64::GPR64RegClassID",
"AArch64::GPR32commonRegClassID",
"AArch64::GPR64commonRegClassID",
"32",
"1",
"AArch... | AArch64RegisterInfo1 | getRegPressureLimit | AArch64 | CPU | LLVM | 30,036 | 187 | 1 | [] |
[
"<s>",
"unsigned",
"HexagonInstrInfo",
"::",
"getInstrLatency",
"(",
"const",
"InstrItineraryData",
"*",
"ItinData",
",",
"const",
"MachineInstr",
"*",
"MI",
",",
"unsigned",
"*",
"PredCost",
")",
"const",
"{",
"return",
"getInstrTimingClassLatency",
"(",
"ItinData"... | [
"Compute",
"the",
"instruction",
"latency",
"of",
"a",
"given",
"instruction",
"."
] | [
"Hexagon",
"Hexagon"
] | HexagonInstrInfo5 | getInstrLatency | Hexagon | DSP | LLVM | 30,037 | 30 | 1 | [] |
[
"<s>",
"void",
"setKind",
"(",
"BaseKind",
"K",
")",
"{",
"Kind",
"=",
"K",
";",
"}",
"</s>"
] | [
"Setter",
"for",
"the",
"kind",
"of",
"this",
"node",
"."
] | [
"AArch64"
] | AArch64FastISel (2) | setKind | AArch64 | CPU | LLVM | 30,038 | 12 | 1 | [] |
[
"<s>",
"const",
"char",
"*",
"BPFTargetLowering",
"::",
"getTargetNodeName",
"(",
"unsigned",
"Opcode",
")",
"const",
"{",
"switch",
"(",
"Opcode",
")",
"{",
"default",
":",
"return",
"NULL",
";",
"case",
"BPFISD",
"::",
"RET_FLAG",
":",
"return",
"\"BPFISD:... | [
"getTargetNodeName",
"-",
"This",
"method",
"returns",
"the",
"name",
"of",
"a",
"target",
"specific"
] | [
"BPF",
"BPF",
"BPFISD::RET_FLAG",
"\"BPFISD::RET_FLAG\"",
"BPFISD::CALL",
"\"BPFISD::CALL\"",
"BPFISD::SELECT_CC",
"\"BPFISD::SELECT_CC\"",
"BPFISD::BR_CC",
"\"BPFISD::BR_CC\"",
"BPFISD::Wrapper",
"\"BPFISD::Wrapper\""
] | BPFISelLowering14 | getTargetNodeName | BPF | Virtual ISA | LLVM | 30,039 | 64 | 1 | [] |
[
"<s>",
"static",
"const",
"char",
"*",
"rs6000_get_some_local_dynamic_name",
"(",
"void",
")",
"{",
"rtx",
"insn",
";",
"if",
"(",
"cfun",
"->",
"machine",
"->",
"some_ld_name",
")",
"return",
"cfun",
"->",
"machine",
"->",
"some_ld_name",
";",
"for",
"(",
... | [
"Locate",
"some",
"local-dynamic",
"symbol",
"still",
"in",
"use",
"by",
"this",
"function",
"so",
"that",
"we",
"can",
"print",
"its",
"name",
"in",
"some",
"tls_ld",
"pattern",
"."
] | [
"rs6000",
"0"
] | rs60003 | rs6000_get_some_local_dynamic_name | rs6000 | CPU | GCC | 30,040 | 76 | 1 | [] |
[
"<s>",
"bool",
"runOnModule",
"(",
"Module",
"&",
"M",
")",
"override",
"{",
"Context",
"=",
"&",
"M",
".",
"getContext",
"(",
")",
";",
"Int32Type",
"=",
"Type",
"::",
"getInt32Ty",
"(",
"M",
".",
"getContext",
"(",
")",
")",
";",
"ImageSizeType",
"... | [
"runOnModule",
"-",
"Virtual",
"method",
"overriden",
"by",
"subclasses",
"to",
"process",
"the",
"module",
"being",
"operated",
"on",
"."
] | [
"AMDGPU",
"3",
"2"
] | AMDGPUOpenCLImageTypeLoweringPass | runOnModule | AMDGPU | GPU | LLVM | 30,041 | 60 | 1 | [] |
[
"<s>",
"bool",
"analyzeSelect",
"(",
"const",
"MachineInstr",
"&",
"MI",
",",
"SmallVectorImpl",
"<",
"MachineOperand",
">",
"&",
"Cond",
",",
"unsigned",
"&",
"TrueOp",
",",
"unsigned",
"&",
"FalseOp",
",",
"bool",
"&",
"Optimizable",
")",
"const",
"overrid... | [
"Analyze",
"the",
"given",
"select",
"instruction",
",",
"returning",
"true",
"if",
"it",
"can",
"not",
"be",
"understood",
"."
] | [
"JVM"
] | JVMInstrInfo | analyzeSelect | JVM | Virtual ISA | LLVM | 30,042 | 34 | 1 | [] |
[
"<s>",
"void",
"addPreSched2",
"(",
")",
"override",
"{",
"addPass",
"(",
"&",
"IfConverterID",
",",
"false",
")",
";",
"}",
"</s>"
] | [
"This",
"method",
"may",
"be",
"implemented",
"by",
"targets",
"that",
"want",
"to",
"run",
"passes",
"after",
"prolog-epilog",
"insertion",
"and",
"before",
"the",
"second",
"instruction",
"scheduling",
"pass",
"."
] | [
"TGSI"
] | TGSITargetMachine | addPreSched2 | TGSI | Virtual ISA | LLVM | 30,043 | 15 | 1 | [] |
[
"<s>",
"MCObjectWriter",
"*",
"createObjectWriter",
"(",
"raw_pwrite_stream",
"&",
"OS",
")",
"const",
"override",
"{",
"return",
"createX86MachObjectWriter",
"(",
"OS",
",",
"true",
",",
"MachO",
"::",
"CPU_TYPE_X86_64",
",",
"Subtype",
")",
";",
"}",
"</s>"
] | [
"Create",
"a",
"new",
"MCObjectWriter",
"instance",
"for",
"use",
"by",
"the",
"assembler",
"backend",
"to",
"emit",
"the",
"final",
"object",
"file",
"."
] | [
"X86",
"X86",
"X86"
] | X86AsmBackend (2)3 | createObjectWriter | X86 | CPU | LLVM | 30,044 | 26 | 1 | [] |
[
"<s>",
"uint64_t",
"SIMCCodeEmitter",
"::",
"getMachineOpValue",
"(",
"const",
"MCInst",
"&",
"MI",
",",
"const",
"MCOperand",
"&",
"MO",
",",
"SmallVectorImpl",
"<",
"MCFixup",
">",
"&",
"Fixups",
",",
"const",
"MCSubtargetInfo",
"&",
"STI",
")",
"const",
"... | [
"getMachineOpValue",
"-",
"Return",
"binary",
"encoding",
"of",
"operand",
"."
] | [
"AMDGPU",
"SI",
"4",
"0",
"AMDGPU::isSISrcOperand",
"0U",
"255",
"4",
"\"Encoding of this operand type is not supported yet.\"",
"0"
] | SIMCCodeEmitter (2)1 | getMachineOpValue | AMDGPU | GPU | LLVM | 30,045 | 257 | 1 | [] |
[
"<s>",
"static",
"const",
"char",
"*",
"output_branch",
"(",
"rtx",
"label",
",",
"const",
"char",
"*",
"cond",
",",
"rtx_insn",
"*",
"insn",
")",
"{",
"char",
"str",
"[",
"64",
"]",
";",
"rtx",
"operands",
"[",
"2",
"]",
";",
"gcc_assert",
"(",
"c... | [
"Output",
"a",
"conditional/unconditional",
"branch",
"to",
"LABEL",
".",
"COND",
"is",
"the",
"string",
"condition",
".",
"INSN",
"is",
"the",
"instruction",
"."
] | [
"visium",
"64",
"2",
"0",
"8",
"1",
"1",
"1",
"0",
"1",
"\"write.l 1(sp),%1\"",
"\"write.l (sp),%1\"",
"\"moviu %1,%%u %0\"",
"\"movil %1,%%l %0\"",
"\"bra \"",
"\",%1,%1\"",
"\"%#\"",
"\"\\t\\t;long branch\"",
"\" read.l %1,1(sp)\"",
"\" read.l %1,(sp)\"",
"\"bra ... | visium5 | output_branch | visium | Virtual ISA | GCC | 30,046 | 365 | 1 | [] |
[
"<s>",
"static",
"inline",
"enum",
"insn_code",
"rs6000_htm_spr_icode",
"(",
"bool",
"nonvoid",
")",
"{",
"if",
"(",
"nonvoid",
")",
"return",
"(",
"TARGET_POWERPC64",
")",
"?",
"CODE_FOR_htm_mfspr_di",
":",
"CODE_FOR_htm_mfspr_si",
";",
"else",
"return",
"(",
"... | [
"Return",
"the",
"correct",
"ICODE",
"value",
"depending",
"on",
"whether",
"we",
"are",
"setting",
"or",
"reading",
"the",
"HTM",
"SPRs",
"."
] | [
"rs6000"
] | rs6000-builtin | rs6000_htm_spr_icode | rs6000 | CPU | GCC | 30,047 | 34 | 1 | [] |
[
"<s>",
"bool",
"SystemZInstrInfo",
"::",
"restoreCalleeSavedRegisters",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"MI",
",",
"const",
"std",
"::",
"vector",
"<",
"CalleeSavedInfo",
">",
"&",
"CSI",
")",
"const",
"{",
"if",... | [
"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... | [
"SystemZ",
"SystemZ",
"SystemZ",
"SystemZ",
"0",
"SystemZ::FP64RegClass",
"SystemZ::MOV64rm",
"SystemZ::MOV64rmm",
"SystemZ::R11D",
"SystemZ::R15D",
"0",
"0"
] | SystemZInstrInfo4 | restoreCalleeSavedRegisters | SystemZ | CPU | LLVM | 30,048 | 367 | 1 | [] |
[
"<s>",
"static",
"bool",
"m32r_in_small_data_p",
"(",
"tree",
"decl",
")",
"{",
"tree",
"section",
";",
"if",
"(",
"TREE_CODE",
"(",
"decl",
")",
"!=",
"VAR_DECL",
")",
"return",
"false",
";",
"if",
"(",
"lookup_attribute",
"(",
"\"model\"",
",",
"DECL_ATT... | [
"Only",
"mark",
"the",
"object",
"as",
"being",
"small",
"data",
"area",
"addressable",
"if",
"it",
"has",
"n't",
"been",
"explicitly",
"marked",
"with",
"a",
"code",
"model",
".",
"The",
"user",
"can",
"explicitly",
"put",
"an",
"object",
"in",
"the",
"... | [
"m32r",
"\"model\"",
"\".sdata\"",
"0",
"\".sbss\"",
"0",
"0"
] | m32r3 | m32r_in_small_data_p | m32r | MPU | GCC | 30,049 | 135 | 1 | [] |
[
"<s>",
"TargetTransformInfo",
"LanaiTargetMachine",
"::",
"getTargetTransformInfo",
"(",
"const",
"Function",
"&",
"F",
")",
"{",
"return",
"TargetTransformInfo",
"(",
"LanaiTTIImpl",
"(",
"this",
",",
"F",
")",
")",
";",
"}",
"</s>"
] | [
"Get",
"a",
"TargetTransformInfo",
"implementation",
"for",
"the",
"target",
"."
] | [
"Lanai",
"Lanai",
"Lanai"
] | LanaiTargetMachine | getTargetTransformInfo | Lanai | CPU | LLVM | 30,050 | 23 | 1 | [] |
[
"<s>",
"inline",
"bool",
"pr_or_ffr_regnum_p",
"(",
"unsigned",
"int",
"regno",
")",
"{",
"return",
"PR_REGNUM_P",
"(",
"regno",
")",
"||",
"regno",
"==",
"FFR_REGNUM",
"||",
"regno",
"==",
"FFRT_REGNUM",
";",
"}",
"</s>"
] | [
"Return",
"true",
"if",
"REGNO",
"is",
"P0-P15",
"or",
"one",
"of",
"the",
"special",
"FFR-related",
"registers",
"."
] | [
"aarch64"
] | aarch64 | pr_or_ffr_regnum_p | aarch64 | CPU | GCC | 30,051 | 24 | 1 | [] |
[
"<s>",
"bool",
"MCS51AsmBackend",
"::",
"writeNopData",
"(",
"raw_ostream",
"&",
"OS",
",",
"uint64_t",
"Count",
")",
"const",
"{",
"assert",
"(",
"(",
"Count",
"%",
"2",
")",
"==",
"0",
"&&",
"\"NOP instructions must be 2 bytes\"",
")",
";",
"OS",
".",
"w... | [
"Write",
"an",
"(",
"optimal",
")",
"nop",
"sequence",
"of",
"Count",
"bytes",
"to",
"the",
"given",
"output",
"."
] | [
"MCS51",
"MCS51",
"2",
"0",
"\"NOP instructions must be 2 bytes\""
] | MCS51AsmBackend | writeNopData | MCS51 | MPU | LLVM | 30,052 | 38 | 1 | [] |
[
"<s>",
"const",
"MCPhysReg",
"*",
"SystemZRegisterInfo",
"::",
"getCalleeSavedRegs",
"(",
"const",
"MachineFunction",
"*",
"MF",
")",
"const",
"{",
"const",
"SystemZSubtarget",
"&",
"Subtarget",
"=",
"MF",
"->",
"getSubtarget",
"<",
"SystemZSubtarget",
">",
"(",
... | [
"Code",
"Generation",
"virtual",
"methods",
"..."
] | [
"SystemZ",
"SystemZ",
"SystemZ",
"SystemZ",
"SystemZ",
"SystemZ",
"SystemZ",
"SystemZ",
"SystemZ"
] | SystemZRegisterInfo15 | getCalleeSavedRegs | SystemZ | CPU | LLVM | 30,053 | 114 | 1 | [] |
[
"<s>",
"bool",
"MipsAsmBackend",
"::",
"writeNopData",
"(",
"raw_ostream",
"&",
"OS",
",",
"uint64_t",
"Count",
",",
"const",
"MCSubtargetInfo",
"*",
"STI",
")",
"const",
"{",
"OS",
".",
"write_zeros",
"(",
"Count",
")",
";",
"return",
"true",
";",
"}",
... | [
"Write",
"an",
"(",
"optimal",
")",
"nop",
"sequence",
"of",
"Count",
"bytes",
"to",
"the",
"given",
"output",
"."
] | [
"Mips",
"Mips"
] | MipsAsmBackend16 | writeNopData | Mips | CPU | LLVM | 30,054 | 30 | 1 | [] |
[
"<s>",
"int",
"m68k_sched_address_bypass_p",
"(",
"rtx_insn",
"*",
"pro",
",",
"rtx_insn",
"*",
"con",
")",
"{",
"rtx",
"pro_x",
";",
"rtx",
"con_mem_read",
";",
"pro_x",
"=",
"sched_get_reg_operand",
"(",
"pro",
",",
"true",
")",
";",
"if",
"(",
"pro_x",
... | [
"Return",
"non-zero",
"if",
"PRO",
"modifies",
"register",
"used",
"as",
"part",
"of",
"address",
"in",
"CON",
"."
] | [
"m68k",
"0",
"1",
"0"
] | m68k | m68k_sched_address_bypass_p | m68k | MPU | GCC | 30,055 | 70 | 1 | [] |
[
"<s>",
"bool",
"isImm",
"(",
")",
"const",
"{",
"return",
"Kind",
"==",
"k_Immediate",
";",
"}",
"</s>"
] | [
"isImm",
"-",
"Is",
"this",
"an",
"immediate",
"operand",
"?"
] | [
"AArch64"
] | AArch64AsmParser13 | isImm | AArch64 | CPU | LLVM | 30,056 | 12 | 1 | [] |
[
"<s>",
"static",
"bool",
"ix86_profile_before_prologue",
"(",
"void",
")",
"{",
"return",
"flag_fentry",
"!=",
"0",
";",
"}",
"</s>"
] | [
"Return",
"true",
",",
"if",
"profiling",
"code",
"should",
"be",
"emitted",
"before",
"prologue",
".",
"Otherwise",
"it",
"returns",
"false",
".",
"Note",
":",
"For",
"x86",
"with",
"``",
"hotfix",
"''",
"it",
"is",
"sorried",
"."
] | [
"i386",
"0"
] | i386 | ix86_profile_before_prologue | i386 | CPU | GCC | 30,057 | 13 | 1 | [] |
[
"<s>",
"bool",
"FixupLEAPass",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"Func",
")",
"{",
"TM",
"=",
"&",
"Func",
".",
"getTarget",
"(",
")",
";",
"const",
"X86Subtarget",
"&",
"ST",
"=",
"TM",
"->",
"getSubtarget",
"<",
"X86Subtarget",
"... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"X86",
"X86",
"X86",
"X86",
"\"Start X86FixupLEAs\\n\"",
"\"End X86FixupLEAs\\n\""
] | X86FixupLEAs21 | runOnMachineFunction | X86 | CPU | LLVM | 30,058 | 127 | 1 | [] |
[
"<s>",
"static",
"arm_stack_offsets",
"*",
"arm_get_frame_offsets",
"(",
"void",
")",
"{",
"struct",
"arm_stack_offsets",
"*",
"offsets",
";",
"offsets",
"=",
"&",
"cfun",
"->",
"machine",
"->",
"stack_offsets",
";",
"return",
"offsets",
";",
"}",
"</s>"
] | [
"Calculate",
"stack",
"offsets",
".",
"These",
"are",
"used",
"to",
"calculate",
"register",
"elimination",
"offsets",
"and",
"in",
"prologue/epilogue",
"code",
".",
"Also",
"calculates",
"which",
"registers",
"should",
"be",
"saved",
"."
] | [
"arm"
] | arm | arm_get_frame_offsets | arm | CPU | GCC | 30,059 | 26 | 1 | [] |
[
"<s>",
"int",
"c6x_nsaved_regs",
"(",
"void",
")",
"{",
"int",
"nregs",
"=",
"0",
";",
"int",
"regno",
";",
"for",
"(",
"regno",
"=",
"0",
";",
"regno",
"<",
"FIRST_PSEUDO_REGISTER",
";",
"regno",
"++",
")",
"if",
"(",
"c6x_save_reg",
"(",
"regno",
"... | [
"Return",
"number",
"of",
"saved",
"general",
"prupose",
"registers",
"."
] | [
"c6x",
"0",
"0"
] | c6x | c6x_nsaved_regs | c6x | VLIW | GCC | 30,060 | 41 | 1 | [] |
[
"<s>",
"const",
"X86Subtarget",
"*",
"X86TargetMachine",
"::",
"getSubtargetImpl",
"(",
"const",
"Function",
"&",
"F",
")",
"const",
"{",
"Attribute",
"CPUAttr",
"=",
"F",
".",
"getFnAttribute",
"(",
"\"target-cpu\"",
")",
";",
"Attribute",
"TuneAttr",
"=",
"F... | [
"Virtual",
"method",
"implemented",
"by",
"subclasses",
"that",
"returns",
"a",
"reference",
"to",
"that",
"target",
"'s",
"TargetSubtargetInfo-derived",
"member",
"variable",
"."
] | [
"X86",
"X86",
"X86",
"\"target-cpu\"",
"\"tune-cpu\"",
"\"target-features\"",
"512",
"0",
"\"prefer-vector-width\"",
"0",
"\"min-legal-vector-width\"",
"0",
"\"use-soft-float\"",
"\"+soft-float\"",
"\"+soft-float,\"",
"X86"
] | X86TargetMachine91 | getSubtargetImpl | X86 | CPU | LLVM | 30,061 | 357 | 1 | [] |
[
"<s>",
"bool",
"M88kInstrInfo",
"::",
"analyzeBranch",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"*",
"&",
"TBB",
",",
"MachineBasicBlock",
"*",
"&",
"FBB",
",",
"SmallVectorImpl",
"<",
"MachineOperand",
">",
"&",
"Cond",
",",
"bool",
"Al... | [
"analyzeBranch",
"-",
"Analyze",
"the",
"branching",
"code",
"at",
"the",
"end",
"of",
"MBB",
",",
"returning",
"true",
"if",
"it",
"can",
"not",
"be",
"understood",
"(",
"e.g",
"."
] | [
"M88k",
"M88k",
"0",
"2",
"2",
"1",
"1",
"2"
] | M88kInstrInfo | analyzeBranch | M88k | MPU | LLVM | 30,062 | 387 | 1 | [] |
[
"<s>",
"MachineBasicBlock",
"::",
"iterator",
"TOYFrameLowering",
"::",
"eliminateCallFramePseudoInstr",
"(",
"MachineFunction",
"&",
"MF",
",",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"I",
")",
"const",
"{",
"if",
"(",
"I",
"-... | [
"This",
"method",
"is",
"called",
"during",
"prolog/epilog",
"code",
"insertion",
"to",
"eliminate",
"call",
"frame",
"setup",
"and",
"destroy",
"pseudo",
"instructions",
"(",
"but",
"only",
"if",
"the",
"Target",
"is",
"using",
"them",
")",
"."
] | [
"TOY",
"TOY",
"TOY::ADJCALLSTACKUP",
"TOY::ADJCALLSTACKDOWN"
] | TOYFrameLowering1 | eliminateCallFramePseudoInstr | TOY | CPU | LLVM | 30,063 | 62 | 1 | [] |
[
"<s>",
"bool",
"ECLairAsmParser",
"::",
"ParseDirective",
"(",
"AsmToken",
"DirectiveID",
")",
"{",
"return",
"true",
";",
"}",
"</s>"
] | [
"ParseDirective",
"-",
"Parse",
"a",
"target",
"specific",
"assembler",
"directive",
"This",
"method",
"is",
"deprecated",
",",
"use",
"'parseDirective",
"'",
"instead",
"."
] | [
"ECLair",
"ECLair"
] | ECLairAsmParser | ParseDirective | ECLair | MPU | LLVM | 30,064 | 13 | 1 | [] |
[
"<s>",
"bool",
"has",
"(",
"unsigned",
"R",
")",
"const",
"{",
"unsigned",
"Idx",
"=",
"v2x",
"(",
"R",
")",
";",
"if",
"(",
"Idx",
">=",
"Bits",
".",
"size",
"(",
")",
")",
"return",
"false",
";",
"return",
"Bits",
".",
"test",
"(",
"Idx",
")"... | [
"Tests",
"whether",
"a",
"library",
"function",
"is",
"available",
"."
] | [
"Hexagon"
] | HexagonBitSimplify20 | has | Hexagon | DSP | LLVM | 30,065 | 38 | 1 | [] |
[
"<s>",
"static",
"SPIRV",
"::",
"Scope",
"getScope",
"(",
"SyncScope",
"::",
"ID",
"Ord",
")",
"{",
"switch",
"(",
"Ord",
")",
"{",
"case",
"SyncScope",
"::",
"SingleThread",
":",
"return",
"SPIRV",
"::",
"Scope",
"::",
"Invocation",
";",
"case",
"SyncSc... | [
"Get",
"the",
"local",
"scope",
"for",
"this",
"variable",
"."
] | [
"SPIRV",
"SPIRV::Scope",
"SPIRV::Scope",
"SPIRV::Scope",
"\"Unsupported synchronization Scope ID.\""
] | SPIRVInstructionSelector | getScope | SPIRV | Virtual ISA | LLVM | 30,066 | 50 | 1 | [] |
[
"<s>",
"tree",
"gcn_goacc_adjust_propagation_record",
"(",
"tree",
"record_type",
",",
"bool",
"sender",
",",
"const",
"char",
"*",
"name",
")",
"{",
"tree",
"type",
"=",
"record_type",
";",
"TYPE_ADDR_SPACE",
"(",
"type",
")",
"=",
"ADDR_SPACE_LDS",
";",
"if"... | [
"Implement",
"TARGET_GOACC_ADJUST_PROPAGATION_RECORD",
".",
"Tweak",
"(",
"worker",
")",
"propagation",
"record",
",",
"e.g",
".",
"to",
"put",
"it",
"in",
"shared",
"memory",
"."
] | [
"gcn",
"1"
] | gcn-tree | gcn_goacc_adjust_propagation_record | gcn | GPU | GCC | 30,067 | 84 | 1 | [] |
[
"<s>",
"const",
"WebAssemblyRegisterInfo",
"*",
"getRegisterInfo",
"(",
")",
"const",
"override",
"{",
"return",
"&",
"getInstrInfo",
"(",
")",
"->",
"getRegisterInfo",
"(",
")",
";",
"}",
"</s>"
] | [
"getRegisterInfo",
"-",
"TargetInstrInfo",
"is",
"a",
"superset",
"of",
"MRegister",
"info",
"."
] | [
"WebAssembly",
"WebAssembly"
] | WebAssemblySubtarget | getRegisterInfo | WebAssembly | Virtual ISA | LLVM | 30,068 | 20 | 1 | [] |
[
"<s>",
"unsigned",
"WebAssemblyInstrInfo",
"::",
"insertBranch",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"*",
"TBB",
",",
"MachineBasicBlock",
"*",
"FBB",
",",
"ArrayRef",
"<",
"MachineOperand",
">",
"Cond",
",",
"const",
"DebugLoc",
"&",
... | [
"Insert",
"branch",
"code",
"into",
"the",
"end",
"of",
"the",
"specified",
"MachineBasicBlock",
"."
] | [
"WebAssembly",
"WebAssembly",
"\"code size not handled\"",
"0",
"WebAssembly::BR",
"1",
"2",
"\"Expected a flag and a successor block\"",
"1",
"1",
"WebAssembly::EXCEPT_REFRegClass",
"0",
"\"__cpp_exception\"",
"WebAssembly::BR_ON_EXN",
"1",
"WebAssembly::BR_IF",
"1",
"\"br_on_exn ... | WebAssemblyInstrInfo27 | insertBranch | WebAssembly | Virtual ISA | LLVM | 30,069 | 312 | 1 | [] |
[
"<s>",
"SDValue",
"CJGTargetLowering",
"::",
"LowerOperation",
"(",
"SDValue",
"Op",
",",
"SelectionDAG",
"&",
"DAG",
")",
"const",
"{",
"switch",
"(",
"Op",
".",
"getOpcode",
"(",
")",
")",
"{",
"case",
"ISD",
"::",
"BR_CC",
":",
"return",
"LowerBR_CC",
... | [
"LowerOperation",
"-",
"Provide",
"custom",
"lowering",
"hooks",
"for",
"some",
"operations",
"."
] | [
"CJG",
"CJG",
"ISD::BR_CC",
"ISD::SELECT_CC",
"ISD::GlobalAddress",
"ISD::ExternalSymbol",
"\"unimplemented operand\""
] | CJGISelLowering | LowerOperation | CJG | CPU | LLVM | 30,070 | 84 | 1 | [] |
[
"<s>",
"int",
"sh2a_get_function_vector_number",
"(",
"rtx",
"x",
")",
"{",
"int",
"num",
";",
"tree",
"list",
",",
"t",
";",
"if",
"(",
"(",
"GET_CODE",
"(",
"x",
")",
"==",
"SYMBOL_REF",
")",
"&&",
"(",
"SYMBOL_REF_FLAGS",
"(",
"x",
")",
"&",
"SYMB... | [
"Returns",
"the",
"function",
"vector",
"number",
",",
"if",
"the",
"attribute",
"'function_vector",
"'",
"is",
"assigned",
",",
"otherwise",
"returns",
"zero",
"."
] | [
"sh",
"0",
"\"function_vector\"",
"0",
"0"
] | sh4 | sh2a_get_function_vector_number | sh | CPU | GCC | 30,071 | 114 | 1 | [] |
[
"<s>",
"DecodeStatus",
"PPCDisassembler",
"::",
"getInstruction",
"(",
"MCInst",
"&",
"MI",
",",
"uint64_t",
"&",
"Size",
",",
"const",
"MemoryObject",
"&",
"Region",
",",
"uint64_t",
"Address",
",",
"raw_ostream",
"&",
"os",
",",
"raw_ostream",
"&",
"cs",
"... | [
"Returns",
"the",
"disassembly",
"of",
"a",
"single",
"instruction",
"."
] | [
"PowerPC",
"PPC",
"4",
"4",
"1",
"0",
"0",
"24",
"1",
"16",
"2",
"8",
"3",
"0"
] | PPCDisassembler10 | getInstruction | PowerPC | CPU | LLVM | 30,072 | 124 | 1 | [] |
[
"<s>",
"static",
"unsigned",
"int",
"compute_saved_regs",
"(",
")",
"{",
"unsigned",
"int",
"saved_regs",
"=",
"0",
";",
"int",
"regno",
";",
"for",
"(",
"regno",
"=",
"0",
";",
"regno",
"<=",
"6",
";",
"regno",
"++",
")",
"{",
"if",
"(",
"WORD_REG_U... | [
"Compute",
"which",
"registers",
"to",
"push/pop",
".",
"Return",
"a",
"bit",
"vector",
"of",
"registers",
"."
] | [
"h8300",
"0",
"0",
"6",
"1",
"1"
] | h83002 | compute_saved_regs | h8300 | MPU | GCC | 30,073 | 61 | 1 | [] |
[
"<s>",
"void",
"ARMAsmPrinter",
"::",
"emitXXStructor",
"(",
"const",
"DataLayout",
"&",
"DL",
",",
"const",
"Constant",
"*",
"CV",
")",
"{",
"uint64_t",
"Size",
"=",
"getDataLayout",
"(",
")",
".",
"getTypeAllocSize",
"(",
"CV",
"->",
"getType",
"(",
")",... | [
"Targets",
"can",
"override",
"this",
"to",
"change",
"how",
"global",
"constants",
"that",
"are",
"part",
"of",
"a",
"C++",
"static/global",
"constructor",
"list",
"are",
"emitted",
"."
] | [
"ARM",
"ARM",
"\"C++ constructor pointer had zero size!\"",
"\"C++ constructor pointer was not a GlobalValue!\"",
"ARM",
"ARMII::MO_NO_FLAG",
"ARM"
] | ARMAsmPrinter5 | emitXXStructor | ARM | CPU | LLVM | 30,074 | 111 | 1 | [] |
[
"<s>",
"MCSymbol",
"*",
"AAPMCInstLower",
"::",
"GetBlockAddressSymbol",
"(",
"const",
"MachineOperand",
"&",
"MO",
")",
"const",
"{",
"switch",
"(",
"MO",
".",
"getTargetFlags",
"(",
")",
")",
"{",
"default",
":",
"llvm_unreachable",
"(",
"\"Unknown target flag... | [
"Return",
"the",
"MCSymbol",
"used",
"to",
"satisfy",
"BlockAddress",
"uses",
"of",
"the",
"specified",
"basic",
"block",
"."
] | [
"AAP",
"AAP",
"\"Unknown target flag on GV operand\"",
"0"
] | AAPMCInstLower | GetBlockAddressSymbol | AAP | MPU | LLVM | 30,075 | 48 | 1 | [] |
[
"<s>",
"const",
"RV16KInstrInfo",
"*",
"getInstrInfo",
"(",
")",
"const",
"override",
"{",
"return",
"&",
"InstrInfo",
";",
"}",
"</s>"
] | [
"TargetInstrInfo",
"getter",
"."
] | [
"RV16K",
"RV16K"
] | RV16KSubtarget | getInstrInfo | RV16K | Virtual ISA | LLVM | 30,076 | 14 | 1 | [] |
[
"<s>",
"void",
"X86FrameLowering",
"::",
"BuildCFI",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"MBBI",
",",
"DebugLoc",
"DL",
",",
"MCCFIInstruction",
"CFIInst",
")",
"const",
"{",
"MachineFunction",
"&",
"MF",
"=",
"*",
... | [
"Wraps",
"up",
"getting",
"a",
"CFI",
"index",
"and",
"building",
"a",
"MachineInstr",
"for",
"it",
"."
] | [
"X86",
"X86"
] | X86FrameLowering (2)4 | BuildCFI | X86 | CPU | LLVM | 30,077 | 71 | 1 | [] |
[
"<s>",
"bool",
"SystemZELFFrameLowering",
"::",
"restoreCalleeSavedRegisters",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"MBBI",
",",
"MutableArrayRef",
"<",
"CalleeSavedInfo",
">",
"CSI",
",",
"const",
"TargetRegisterInfo",
"*",
... | [
"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... | [
"SystemZ",
"SystemZ",
"SystemZ",
"SystemZ",
"SystemZ::FP64BitRegClass",
"SystemZ::FP64BitRegClass",
"SystemZ::VR128BitRegClass",
"SystemZ::VR128BitRegClass",
"SystemZ::GPRRegs",
"\"Should be loading %r15 and something else\"",
"SystemZ::LMG",
"SystemZ::R11D",
"SystemZ::R15D",
"SystemZ::GR6... | SystemZFrameLowering14 | restoreCalleeSavedRegisters | SystemZ | CPU | LLVM | 30,078 | 357 | 1 | [] |
[
"<s>",
"unsigned",
"getGlobalBaseReg",
"(",
")",
"const",
"{",
"return",
"GlobalBaseReg",
";",
"}",
"</s>"
] | [
"getGlobalBaseReg",
"-",
"Return",
"a",
"virtual",
"register",
"initialized",
"with",
"the",
"the",
"global",
"base",
"register",
"value",
"."
] | [
"Nios2"
] | Nios2MachineFunction | getGlobalBaseReg | Nios2 | MPU | LLVM | 30,079 | 10 | 1 | [] |
[
"<s>",
"TargetIRAnalysis",
"AMDGPUTargetMachine",
"::",
"getTargetIRAnalysis",
"(",
")",
"{",
"return",
"TargetIRAnalysis",
"(",
"[",
"this",
"]",
"(",
"Function",
"&",
"F",
")",
"{",
"return",
"TargetTransformInfo",
"(",
"AMDGPUTTIImpl",
"(",
"this",
",",
"F",
... | [
"Get",
"a",
"TargetIRAnalysis",
"appropriate",
"for",
"the",
"target",
"."
] | [
"AMDGPU",
"AMDGPU",
"AMDGPU"
] | AMDGPUTargetMachine72 | getTargetIRAnalysis | AMDGPU | GPU | LLVM | 30,080 | 42 | 1 | [] |
[
"<s>",
"bool",
"SPUFrameLowering",
"::",
"hasFP",
"(",
"const",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"const",
"MachineFrameInfo",
"*",
"MFI",
"=",
"MF",
".",
"getFrameInfo",
"(",
")",
";",
"return",
"MFI",
"->",
"getStackSize",
"(",
")",
"&&",
... | [
"hasFP",
"-",
"Return",
"true",
"if",
"the",
"specified",
"function",
"should",
"have",
"a",
"dedicated",
"frame",
"pointer",
"register",
"."
] | [
"CellSPU",
"SPU"
] | SPUFrameLowering1 | hasFP | CellSPU | MPU | LLVM | 30,081 | 52 | 1 | [] |
[
"<s>",
"static",
"void",
"pru_dump_frame_layout",
"(",
"FILE",
"*",
"file",
")",
"{",
"fprintf",
"(",
"file",
",",
"\"\\t%s Current Frame Info\\n\"",
",",
"ASM_COMMENT_START",
")",
";",
"fprintf",
"(",
"file",
",",
"\"\\t%s total_size = %d\\n\"",
",",
"ASM_COMMENT_S... | [
"Dump",
"stack",
"layout",
"."
] | [
"pru",
"\"\\t%s Current Frame Info\\n\"",
"\"\\t%s total_size = %d\\n\"",
"\"\\t%s var_size = %d\\n\"",
"\"\\t%s out_args_size = %d\\n\"",
"\"\\t%s save_reg_size = %d\\n\"",
"\"\\t%s initialized = %d\\n\"",
"\"\\t%s save_regs_offset = %d\\n\"",
"\"\\t%s is_leaf = %d\\n\"",
"\"\\t%s frame_pointer_n... | pru | pru_dump_frame_layout | pru | CPU | GCC | 30,082 | 148 | 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::R2",
"PPC",
"PPC::R13",
"PPC::R31",
"PPC::R0",
"PPC::X0",
"PPC::X1",
"PPC::X13",
"PPC::X31",
"PPC::X2",
"PPC::X2",
"PPC",
"PPC::R31"
] | PPCRegisterInfo84 | getReservedRegs | PowerPC | CPU | LLVM | 30,083 | 276 | 1 | [] |
[
"<s>",
"unsigned",
"HOST_WIDE_INT",
"s390_extract_part",
"(",
"rtx",
"op",
",",
"machine_mode",
"mode",
",",
"int",
"def",
")",
"{",
"unsigned",
"HOST_WIDE_INT",
"value",
"=",
"0",
";",
"int",
"max_parts",
"=",
"HOST_BITS_PER_WIDE_INT",
"/",
"GET_MODE_BITSIZE",
... | [
"Return",
"the",
"part",
"of",
"op",
"which",
"has",
"a",
"value",
"different",
"from",
"def",
".",
"The",
"size",
"of",
"the",
"part",
"is",
"determined",
"by",
"mode",
".",
"Use",
"this",
"function",
"only",
"if",
"you",
"already",
"know",
"that",
"o... | [
"s390",
"0",
"1",
"1",
"0",
"0"
] | s3904 | s390_extract_part | s390 | MPU | GCC | 30,084 | 118 | 1 | [] |
[
"<s>",
"bool",
"shouldConvertConstantLoadToIntImm",
"(",
"const",
"APInt",
"&",
"Imm",
",",
"Type",
"*",
"Ty",
")",
"const",
"override",
"{",
"return",
"true",
";",
"}",
"</s>"
] | [
"Returns",
"true",
"if",
"it",
"is",
"beneficial",
"to",
"convert",
"a",
"load",
"of",
"a",
"constant",
"to",
"just",
"the",
"constant",
"itself",
"."
] | [
"RV16K"
] | RV16KISelLowering | shouldConvertConstantLoadToIntImm | RV16K | Virtual ISA | LLVM | 30,085 | 19 | 1 | [] |
[
"<s>",
"std",
"::",
"pair",
"<",
"unsigned",
",",
"const",
"TargetRegisterClass",
"*",
">",
"MandarinTargetLowering",
"::",
"getRegForInlineAsmConstraint",
"(",
"const",
"std",
"::",
"string",
"&",
"Constraint",
",",
"MVT",
"VT",
")",
"const",
"{",
"if",
"(",
... | [
"Given",
"a",
"physical",
"register",
"constraint",
"(",
"e.g",
"."
] | [
"Mandarin",
"1",
"0",
"0U",
"MD::GenericRegsRegClass"
] | MandarinISelLowering | getRegForInlineAsmConstraint | Mandarin | CPU | LLVM | 30,086 | 74 | 1 | [] |
[
"<s>",
"bool",
"RV16KInstrInfo",
"::",
"reverseBranchCondition",
"(",
"SmallVectorImpl",
"<",
"MachineOperand",
">",
"&",
"Cond",
")",
"const",
"{",
"using",
"std",
"::",
"swap",
";",
"assert",
"(",
"(",
"Cond",
".",
"size",
"(",
")",
"==",
"3",
")",
"&&... | [
"Reverses",
"the",
"branch",
"condition",
"of",
"the",
"specified",
"condition",
"list",
",",
"returning",
"false",
"on",
"success",
"and",
"true",
"if",
"it",
"can",
"not",
"be",
"reversed",
"."
] | [
"RV16K",
"RV16K",
"3",
"\"Invalid branch condition!\"",
"RV16K::CondCode",
"2",
"\"Invalid cond code\"",
"RV16K::COND_E",
"RV16K::COND_NE",
"RV16K::COND_NE",
"RV16K::COND_E",
"RV16K::COND_L",
"RV16K::COND_LE",
"RV16K::COND_LE",
"RV16K::COND_L",
"RV16K::COND_B",
"RV16K::COND_BE",
"R... | RV16KInstrInfo | reverseBranchCondition | RV16K | Virtual ISA | LLVM | 30,087 | 189 | 1 | [] |
[
"<s>",
"bool",
"X86InstrInfo",
"::",
"isUnpredicatedTerminator",
"(",
"const",
"MachineInstr",
"*",
"MI",
")",
"const",
"{",
"const",
"TargetInstrDesc",
"&",
"TID",
"=",
"MI",
"->",
"getDesc",
"(",
")",
";",
"if",
"(",
"!",
"TID",
".",
"isTerminator",
"(",... | [
"Returns",
"true",
"if",
"the",
"instruction",
"is",
"a",
"terminator",
"instruction",
"that",
"has",
"not",
"been",
"predicated",
"."
] | [
"X86",
"X86"
] | X86InstrInfo101 | isUnpredicatedTerminator | X86 | CPU | LLVM | 30,088 | 73 | 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"
] | HexagonTargetObjectFile28 | IsGlobalInSmallSection | Hexagon | DSP | LLVM | 30,089 | 100 | 1 | [] |
[
"<s>",
"static",
"void",
"push_regs",
"(",
"HARD_REG_SET",
"*",
"mask",
",",
"int",
"interrupt_handler",
")",
"{",
"int",
"i",
"=",
"interrupt_handler",
"?",
"LAST_BANKED_REG",
"+",
"1",
":",
"0",
";",
"int",
"skip_fpscr",
"=",
"0",
";",
"for",
"(",
";",... | [
"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",
... | [
"sh",
"1",
"0",
"0",
"1",
"0",
"1",
"4",
"32"
] | sh4 | push_regs | sh | CPU | GCC | 30,090 | 419 | 1 | [] |
[
"<s>",
"const",
"MMIXSubtarget",
"*",
"getSubtargetImpl",
"(",
"const",
"Function",
"&",
")",
"const",
"override",
"{",
"return",
"&",
"Subtarget",
";",
"}",
"</s>"
] | [
"Virtual",
"method",
"implemented",
"by",
"subclasses",
"that",
"returns",
"a",
"reference",
"to",
"that",
"target",
"'s",
"TargetSubtargetInfo-derived",
"member",
"variable",
"."
] | [
"MMIX",
"MMIX"
] | MMIXTargetMachine | getSubtargetImpl | MMIX | CPU | LLVM | 30,091 | 17 | 1 | [] |
[
"<s>",
"bool",
"X86TargetMachine",
"::",
"addPreEmitPass",
"(",
"PassManagerBase",
"&",
"PM",
")",
"{",
"bool",
"ShouldPrint",
"=",
"false",
";",
"if",
"(",
"getOptLevel",
"(",
")",
"!=",
"CodeGenOpt",
"::",
"None",
"&&",
"Subtarget",
".",
"hasXMMInt",
"(",
... | [
"This",
"pass",
"may",
"be",
"implemented",
"by",
"targets",
"that",
"want",
"to",
"run",
"passes",
"immediately",
"before",
"machine",
"code",
"is",
"emitted",
"."
] | [
"X86",
"X86",
"X86::VR128RegClass",
"X86"
] | X86TargetMachine116 | addPreEmitPass | X86 | CPU | LLVM | 30,092 | 79 | 1 | [] |
[
"<s>",
"static",
"rtx",
"bfin_function_arg",
"(",
"cumulative_args_t",
"cum_v",
",",
"const",
"function_arg_info",
"&",
"arg",
")",
"{",
"CUMULATIVE_ARGS",
"*",
"cum",
"=",
"get_cumulative_args",
"(",
"cum_v",
")",
";",
"int",
"bytes",
"=",
"arg",
".",
"promot... | [
"Define",
"where",
"to",
"put",
"the",
"arguments",
"to",
"a",
"function",
".",
"Value",
"is",
"zero",
"to",
"push",
"the",
"argument",
"on",
"the",
"stack",
",",
"or",
"a",
"hard",
"register",
"in",
"which",
"to",
"store",
"the",
"argument",
".",
"MOD... | [
"bfin",
"1"
] | bfin | bfin_function_arg | bfin | DSP | GCC | 30,093 | 82 | 1 | [] |
[
"<s>",
"bool",
"rs6000_is_valid_and_mask",
"(",
"rtx",
"mask",
",",
"machine_mode",
"mode",
")",
"{",
"int",
"nb",
",",
"ne",
";",
"if",
"(",
"!",
"rs6000_is_valid_mask",
"(",
"mask",
",",
"&",
"nb",
",",
"&",
"ne",
",",
"mode",
")",
")",
"return",
"... | [
"Return",
"whether",
"MASK",
"(",
"a",
"CONST_INT",
")",
"is",
"a",
"valid",
"mask",
"for",
"any",
"rlwinm",
",",
"rldicl",
",",
"or",
"rldicr",
"instruction",
",",
"to",
"implement",
"an",
"AND",
"with",
"it",
"in",
"mode",
"MODE",
"."
] | [
"powerpcspe",
"0",
"63",
"32",
"32",
"32"
] | powerpcspe | rs6000_is_valid_and_mask | powerpcspe | CPU | GCC | 30,094 | 82 | 1 | [] |
[
"<s>",
"static",
"void",
"emit_constant_insn",
"(",
"rtx",
"cond",
",",
"rtx",
"pattern",
")",
"{",
"if",
"(",
"cond",
")",
"pattern",
"=",
"gen_rtx_COND_EXEC",
"(",
"VOIDmode",
",",
"copy_rtx",
"(",
"cond",
")",
",",
"pattern",
")",
";",
"emit_insn",
"(... | [
"Emit",
"an",
"instruction",
"with",
"the",
"indicated",
"PATTERN",
".",
"If",
"COND",
"is",
"non-NULL",
",",
"conditionalize",
"the",
"execution",
"of",
"the",
"instruction",
"on",
"COND",
"being",
"true",
"."
] | [
"arm"
] | arm | emit_constant_insn | arm | CPU | GCC | 30,095 | 35 | 1 | [] |
[
"<s>",
"virtual",
"const",
"DataLayout",
"*",
"getDataLayout",
"(",
")",
"const",
"{",
"return",
"&",
"DL",
";",
"}",
"</s>"
] | [
"Return",
"the",
"DataLayout",
"associated",
"with",
"the",
"module",
"this",
"SCEV",
"instance",
"is",
"operating",
"on",
"."
] | [
"X86"
] | X86TargetMachine20 | getDataLayout | X86 | CPU | LLVM | 30,096 | 14 | 1 | [] |
[
"<s>",
"static",
"void",
"frv_fill_unused_units",
"(",
"enum",
"frv_insn_group",
"group",
")",
"{",
"unsigned",
"int",
"non_nops",
",",
"nops",
",",
"i",
";",
"struct",
"frv_packet_group",
"*",
"packet_group",
";",
"packet_group",
"=",
"&",
"frv_packet",
".",
... | [
"See",
"whether",
"we",
"need",
"to",
"add",
"nops",
"to",
"group",
"GROUP",
"in",
"order",
"to",
"make",
"a",
"valid",
"packet",
"."
] | [
"frv",
"0",
"0",
"0"
] | frv | frv_fill_unused_units | frv | VLIW | GCC | 30,097 | 90 | 1 | [] |
[
"<s>",
"static",
"bool",
"riscv_cannot_force_const_mem",
"(",
"enum",
"machine_mode",
"mode",
"ATTRIBUTE_UNUSED",
",",
"rtx",
"x",
")",
"{",
"enum",
"riscv_symbol_type",
"type",
";",
"rtx",
"base",
",",
"offset",
";",
"if",
"(",
"GET_CODE",
"(",
"x",
")",
"=... | [
"Implement",
"TARGET_CANNOT_FORCE_CONST_MEM",
"."
] | [
"riscv",
"0"
] | riscv2 | riscv_cannot_force_const_mem | riscv | CPU | GCC | 30,098 | 98 | 1 | [] |
[
"<s>",
"void",
"ARCFrameLowering",
"::",
"determineCalleeSaves",
"(",
"MachineFunction",
"&",
"MF",
",",
"BitVector",
"&",
"SavedRegs",
",",
"RegScavenger",
"*",
"RS",
")",
"const",
"{",
"DEBUG",
"(",
"dbgs",
"(",
")",
"<<",
"\"Determine Callee Saves: \"",
"<<",... | [
"This",
"method",
"determines",
"which",
"of",
"the",
"registers",
"reported",
"by",
"TargetRegisterInfo",
":",
":getCalleeSavedRegs",
"(",
")",
"should",
"actually",
"get",
"saved",
"."
] | [
"ARC",
"ARC",
"\"Determine Callee Saves: \"",
"\"\\n\"",
"ARC::BLINK"
] | ARCFrameLowering10 | determineCalleeSaves | ARC | MPU | LLVM | 30,099 | 57 | 1 | [] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.