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",
"classof",
"(",
"const",
"MCExpr",
"*",
"E",
")",
"{",
"return",
"E",
"->",
"getKind",
"(",
")",
"==",
"MCExpr",
"::",
"Target",
";",
"}",
"</s>"
] | [
"Methods",
"for",
"support",
"type",
"inquiry",
"through",
"isa",
",",
"cast",
",",
"and",
"dyn_cast",
":"
] | [
"MOS"
] | MOSMCExpr | classof | MOS | MPU | LLVM | 15,500 | 22 | 1 | [] |
[
"<s>",
"void",
"msp430_register_pragmas",
"(",
"void",
")",
"{",
"c_register_addr_space",
"(",
"\"__near\"",
",",
"ADDR_SPACE_NEAR",
")",
";",
"if",
"(",
"msp430x",
")",
"c_register_addr_space",
"(",
"\"__far\"",
",",
"ADDR_SPACE_FAR",
")",
";",
"}",
"</s>"
] | [
"Implements",
"REGISTER_TARGET_PRAGMAS",
"."
] | [
"msp430",
"\"__near\"",
"\"__far\""
] | msp430-c | msp430_register_pragmas | msp430 | MPU | GCC | 15,501 | 25 | 1 | [] |
[
"<s>",
"bool",
"ARMAsmPrinter",
"::",
"lowerOperand",
"(",
"const",
"MachineOperand",
"&",
"MO",
",",
"MCOperand",
"&",
"MCOp",
")",
"{",
"switch",
"(",
"MO",
".",
"getType",
"(",
")",
")",
"{",
"default",
":",
"llvm_unreachable",
"(",
"\"unknown operand typ... | [
"Wrapper",
"for",
"MCInstLowering.lowerOperand",
"(",
")",
"for",
"the",
"tblgen'erated",
"pseudo",
"lowering",
"."
] | [
"ARM",
"ARM",
"\"unknown operand type\"",
"ARM::CPSR",
"\"Subregs should be eliminated!\"",
"ARM",
"\"execute-only should not generate constant pools\""
] | ARMMCInstLower15 | lowerOperand | ARM | CPU | LLVM | 15,502 | 340 | 1 | [] |
[
"<s>",
"bool",
"HexagonRemoveExtendArgs",
"::",
"runOnFunction",
"(",
"Function",
"&",
"F",
")",
"{",
"unsigned",
"Idx",
"=",
"1",
";",
"for",
"(",
"Function",
"::",
"arg_iterator",
"AI",
"=",
"F",
".",
"arg_begin",
"(",
")",
",",
"AE",
"=",
"F",
".",
... | [
"runOnFunction",
"-",
"Virtual",
"method",
"overriden",
"by",
"subclasses",
"to",
"do",
"the",
"per-function",
"processing",
"of",
"the",
"pass",
"."
] | [
"Hexagon",
"Hexagon",
"1"
] | HexagonRemoveSZExtArgs1 | runOnFunction | Hexagon | DSP | LLVM | 15,503 | 226 | 1 | [] |
[
"<s>",
"int",
"X86TTIImpl",
"::",
"getGatherScatterOpCost",
"(",
"unsigned",
"Opcode",
",",
"Type",
"*",
"SrcVTy",
",",
"const",
"Value",
"*",
"Ptr",
",",
"bool",
"VariableMask",
",",
"Align",
"Alignment",
",",
"TTI",
"::",
"TargetCostKind",
"CostKind",
",",
... | [
"Calculate",
"the",
"cost",
"of",
"Gather",
"/",
"Scatter",
"operation",
"."
] | [
"X86",
"X86",
"1",
"\"Unexpected data type for Gather/Scatter\"",
"\"Unexpected type for Ptr argument\"",
"2",
"4"
] | X86TargetTransformInfo103 | getGatherScatterOpCost | X86 | CPU | LLVM | 15,504 | 257 | 1 | [] |
[
"<s>",
"virtual",
"StringRef",
"getPassName",
"(",
")",
"const",
"{",
"return",
"\"TGSI DAG->DAG Pattern Instruction Selection\"",
";",
"}",
"</s>"
] | [
"getPassName",
"-",
"Return",
"a",
"nice",
"clean",
"name",
"for",
"a",
"pass",
"."
] | [
"TGSI",
"\"TGSI DAG->DAG Pattern Instruction Selection\""
] | TGSIISelDAGToDAG | getPassName | TGSI | Virtual ISA | LLVM | 15,505 | 11 | 1 | [] |
[
"<s>",
"bool",
"WebAssemblyInstrInfo",
"::",
"analyzeBranch",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"*",
"&",
"TBB",
",",
"MachineBasicBlock",
"*",
"&",
"FBB",
",",
"SmallVectorImpl",
"<",
"MachineOperand",
">",
"&",
"Cond",
",",
"bool"... | [
"analyzeBranch",
"-",
"Analyze",
"the",
"branching",
"code",
"at",
"the",
"end",
"of",
"MBB",
",",
"returning",
"true",
"if",
"it",
"can",
"not",
"be",
"understood",
"(",
"e.g",
"."
] | [
"WebAssembly",
"WebAssembly",
"WebAssembly",
"WebAssembly::BR_IF",
"1",
"0",
"WebAssembly::BR_UNLESS",
"1",
"0",
"WebAssembly::BR",
"0",
"0",
"WebAssembly::BR_ON_EXN",
"2",
"0"
] | WebAssemblyInstrInfo15 | analyzeBranch | WebAssembly | Virtual ISA | LLVM | 15,506 | 312 | 1 | [] |
[
"<s>",
"static",
"void",
"aarch64_record_vector_load_arg",
"(",
"tree",
"addr",
")",
"{",
"tree",
"decl",
"=",
"aarch64_vector_load_decl",
"(",
"addr",
")",
";",
"if",
"(",
"!",
"decl",
")",
"return",
";",
"if",
"(",
"!",
"cfun",
"->",
"machine",
"->",
"... | [
"We",
"'ve",
"seen",
"a",
"vector",
"load",
"from",
"address",
"ADDR",
".",
"Record",
"it",
"in",
"vector_load_decls",
",",
"if",
"appropriate",
"."
] | [
"aarch64",
"31"
] | aarch64-builtins1 | aarch64_record_vector_load_arg | aarch64 | CPU | GCC | 15,507 | 60 | 1 | [] |
[
"<s>",
"bool",
"SILowerControlFlowPass",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"{",
"bool",
"HaveCf",
"=",
"false",
";",
"for",
"(",
"MachineFunction",
"::",
"iterator",
"BI",
"=",
"MF",
".",
"begin",
"(",
")",
",",
"BE",
"=... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"R600",
"SI",
"SI",
"SI",
"SI",
"SI",
"SI",
"SI",
"SI",
"SI",
"3",
"0",
"0x09",
"0",
"1",
"1"
] | SILowerControlFlow26 | runOnMachineFunction | R600 | GPU | LLVM | 15,508 | 437 | 1 | [] |
[
"<s>",
"void",
"LC3MCInstLower",
"::",
"Initialize",
"(",
"Mangler",
"*",
"M",
",",
"MCContext",
"*",
"C",
")",
"{",
"Mang",
"=",
"M",
";",
"Ctx",
"=",
"C",
";",
"}",
"</s>"
] | [
"This",
"method",
"must",
"be",
"called",
"before",
"any",
"actual",
"lowering",
"is",
"done",
"."
] | [
"LC3",
"LC3"
] | LC3MCInstLower | Initialize | LC3 | CPU | LLVM | 15,509 | 23 | 1 | [] |
[
"<s>",
"static",
"reg_class_t",
"sparc_secondary_reload",
"(",
"bool",
"in_p",
",",
"rtx",
"x",
",",
"reg_class_t",
"rclass_i",
",",
"machine_mode",
"mode",
",",
"secondary_reload_info",
"*",
"sri",
")",
"{",
"enum",
"reg_class",
"rclass",
"=",
"(",
"enum",
"r... | [
"Implement",
"TARGET_SECONDARY_RELOAD",
"."
] | [
"sparc",
"0",
"1",
"8",
"2"
] | sparc | sparc_secondary_reload | sparc | CPU | GCC | 15,510 | 251 | 1 | [] |
[
"<s>",
"void",
"print",
"(",
"DiagnosticPrinter",
"&",
"DP",
")",
"const",
"override",
"{",
"DP",
"<<",
"Msg",
";",
"}",
"</s>"
] | [
"print",
"-",
"Print",
"a",
"debug",
"representation",
"of",
"the",
"operand",
"to",
"the",
"given",
"stream",
"."
] | [
"Hexagon"
] | HexagonISelLowering110 | print | Hexagon | DSP | LLVM | 15,511 | 15 | 1 | [] |
[
"<s>",
"bool",
"X86TargetLowering",
"::",
"mayBeEmittedAsTailCall",
"(",
"CallInst",
"*",
"CI",
")",
"const",
"{",
"if",
"(",
"!",
"CI",
"->",
"isTailCall",
"(",
")",
")",
"return",
"false",
";",
"CallSite",
"CS",
"(",
"CI",
")",
";",
"CallingConv",
"::"... | [
"Return",
"true",
"if",
"the",
"target",
"may",
"be",
"able",
"emit",
"the",
"call",
"instruction",
"as",
"a",
"tail",
"call",
"."
] | [
"X86",
"X86"
] | X86ISelLowering170 | mayBeEmittedAsTailCall | X86 | CPU | LLVM | 15,512 | 61 | 1 | [] |
[
"<s>",
"bool",
"WebAssemblyDAGToDAGISel",
"::",
"SelectInlineAsmMemoryOperand",
"(",
"const",
"SDValue",
"&",
"Op",
",",
"unsigned",
"ConstraintID",
",",
"std",
"::",
"vector",
"<",
"SDValue",
">",
"&",
"OutOps",
")",
"{",
"switch",
"(",
"ConstraintID",
")",
"... | [
"SelectInlineAsmMemoryOperand",
"-",
"Select",
"the",
"specified",
"address",
"as",
"a",
"target",
"addressing",
"mode",
",",
"according",
"to",
"the",
"specified",
"constraint",
"."
] | [
"WebAssembly",
"WebAssembly"
] | WebAssemblyISelDAGToDAG1 | SelectInlineAsmMemoryOperand | WebAssembly | Virtual ISA | LLVM | 15,513 | 52 | 1 | [] |
[
"<s>",
"std",
"::",
"unique_ptr",
"<",
"ARMInputExMap",
">",
"ARMInputExMap",
"::",
"create",
"(",
"Input",
"&",
"pInput",
")",
"{",
"std",
"::",
"unique_ptr",
"<",
"ARMInputExMap",
">",
"exMap",
"(",
"new",
"ARMInputExMap",
"(",
")",
")",
";",
"LDContext"... | [
"This",
"creates",
"an",
"identified",
"struct",
"."
] | [
"ARM",
"ARM",
"ARMInputExMap::create",
"ARM",
"ARM",
"ARM",
"ARM",
"ARMInputExMap::iterator",
"ARMInputExMap::iterator",
"ARM",
"ARMInputExMap::iterator",
"ARMInputExMap::iterator"
] | ARMException | create | ARM | CPU | LLVM | 15,514 | 337 | 1 | [] |
[
"<s>",
"unsigned",
"PPCVSXSwapRemoval",
"::",
"lookThruCopyLike",
"(",
"unsigned",
"SrcReg",
",",
"unsigned",
"VecIdx",
")",
"{",
"MachineInstr",
"*",
"MI",
"=",
"MRI",
"->",
"getVRegDef",
"(",
"SrcReg",
")",
";",
"if",
"(",
"!",
"MI",
"->",
"isCopyLike",
... | [
"Returns",
"the",
"original",
"SrcReg",
"unless",
"it",
"is",
"the",
"target",
"of",
"a",
"copy-like",
"operation",
",",
"in",
"which",
"case",
"we",
"chain",
"backwards",
"through",
"all",
"such",
"operations",
"to",
"the",
"ultimate",
"source",
"register",
... | [
"PowerPC",
"PPC",
"1",
"1",
"\"bad opcode for lookThruCopyLike\"",
"2",
"2",
"1",
"0",
"1"
] | PPCVSXSwapRemoval21 | lookThruCopyLike | PowerPC | CPU | LLVM | 15,515 | 169 | 1 | [] |
[
"<s>",
"static",
"std",
"::",
"unique_ptr",
"<",
"MSP430Operand",
">",
"CreateReg",
"(",
"unsigned",
"RegNum",
",",
"SMLoc",
"S",
",",
"SMLoc",
"E",
")",
"{",
"return",
"make_unique",
"<",
"MSP430Operand",
">",
"(",
"k_Reg",
",",
"RegNum",
",",
"S",
",",... | [
"CreateReg",
"-",
"Allocate",
"a",
"single",
"virtual",
"register",
"for",
"the",
"given",
"type",
"."
] | [
"MSP430",
"MSP430",
"MSP430"
] | MSP430AsmParser | CreateReg | MSP430 | MPU | LLVM | 15,516 | 35 | 1 | [] |
[
"<s>",
"int",
"next_insn_test_reg",
"(",
"rtx",
"insn",
",",
"rtx",
"reg",
")",
"{",
"rtx",
"body",
";",
"insn",
"=",
"next_nonnote_insn",
"(",
"insn",
")",
";",
"if",
"(",
"GET_CODE",
"(",
"insn",
")",
"!=",
"INSN",
")",
"return",
"0",
";",
"body",
... | [
"Returns",
"1",
"if",
"the",
"next",
"insn",
"after",
"'insn",
"'",
"is",
"a",
"test",
"of",
"the",
"register",
"'reg",
"'",
".",
"This",
"is",
"used",
"to",
"decide",
"whether",
"a",
"move",
"that",
"set",
"flags",
"should",
"be",
"used",
"instead",
... | [
"m68hc11",
"0",
"1",
"0",
"1",
"0",
"0",
"1"
] | m68hc111 | next_insn_test_reg | m68hc11 | MPU | GCC | 15,517 | 74 | 1 | [] |
[
"<s>",
"static",
"void",
"frv_register_nop",
"(",
"rtx",
"nop",
")",
"{",
"nop",
"=",
"make_insn_raw",
"(",
"nop",
")",
";",
"NEXT_INSN",
"(",
"nop",
")",
"=",
"0",
";",
"PREV_INSN",
"(",
"nop",
")",
"=",
"0",
";",
"frv_nops",
"[",
"frv_num_nops",
"+... | [
"Add",
"an",
"instruction",
"with",
"pattern",
"NOP",
"to",
"frv_nops",
"[",
"]",
"."
] | [
"frv",
"0",
"0"
] | frv2 | frv_register_nop | frv | VLIW | GCC | 15,518 | 38 | 1 | [] |
[
"<s>",
"void",
"M68kOperand",
"::",
"print",
"(",
"raw_ostream",
"&",
"OS",
")",
"const",
"{",
"switch",
"(",
"Kind",
")",
"{",
"case",
"KindTy",
"::",
"Invalid",
":",
"OS",
"<<",
"\"invalid\"",
";",
"break",
";",
"case",
"KindTy",
"::",
"Token",
":",
... | [
"print",
"-",
"Print",
"a",
"debug",
"representation",
"of",
"the",
"operand",
"to",
"the",
"given",
"stream",
"."
] | [
"M68k",
"M68k",
"\"invalid\"",
"\"token '\"",
"\"'\"",
"\"immediate \""
] | M68kAsmParser | print | M68k | MPU | LLVM | 15,519 | 71 | 1 | [] |
[
"<s>",
"static",
"void",
"mmix_trampoline_init",
"(",
"rtx",
"m_tramp",
",",
"tree",
"fndecl",
",",
"rtx",
"static_chain",
")",
"{",
"rtx",
"fnaddr",
"=",
"XEXP",
"(",
"DECL_RTL",
"(",
"fndecl",
")",
",",
"0",
")",
";",
"rtx",
"mem",
";",
"emit_block_mov... | [
"Set",
"the",
"static",
"chain",
"and",
"function",
"pointer",
"field",
"in",
"the",
"trampoline",
".",
"We",
"also",
"SYNCID",
"here",
"to",
"be",
"sure",
"(",
"does",
"n't",
"matter",
"in",
"the",
"simulator",
",",
"but",
"some",
"day",
"it",
"will",
... | [
"mmix",
"0",
"2",
"2",
"3",
"0",
"1"
] | mmix | mmix_trampoline_init | mmix | CPU | GCC | 15,520 | 115 | 1 | [] |
[
"<s>",
"static",
"void",
"push_minipool_fix",
"(",
"rtx",
"insn",
",",
"HOST_WIDE_INT",
"address",
",",
"rtx",
"*",
"loc",
",",
"enum",
"machine_mode",
"mode",
",",
"rtx",
"value",
")",
"{",
"Mfix",
"*",
"fix",
"=",
"(",
"Mfix",
"*",
")",
"obstack_alloc"... | [
"Record",
"INSN",
",",
"which",
"will",
"need",
"fixing",
"up",
"to",
"load",
"a",
"value",
"from",
"the",
"minipool",
".",
"ADDRESS",
"is",
"the",
"offset",
"of",
"the",
"insn",
"since",
"the",
"start",
"of",
"the",
"function",
";",
"LOC",
"is",
"a",
... | [
"arm",
"8",
"4",
"\";; %smode fixup for i%d; addr %lu, range (%ld,%ld): \"",
"1",
"\"\\n\""
] | arm3 | push_minipool_fix | arm | CPU | GCC | 15,521 | 240 | 1 | [] |
[
"<s>",
"void",
"csky_set_eh_return_address",
"(",
"rtx",
"source",
",",
"rtx",
"scratch",
")",
"{",
"HOST_WIDE_INT",
"delta",
"=",
"0",
";",
"rtx",
"basereg",
",",
"addr",
";",
"unsigned",
"int",
"reg_mask",
";",
"csky_layout_stack_frame",
"(",
")",
";",
"re... | [
"Helper",
"for",
"csky_eh_return",
"splitter",
":",
"store",
"the",
"call",
"frame",
"exception",
"handler",
"address",
"in",
"lr",
"."
] | [
"csky",
"0",
"1",
"0",
"0",
"0",
"1",
"4"
] | csky | csky_set_eh_return_address | csky | CPU | GCC | 15,522 | 201 | 1 | [] |
[
"<s>",
"virtual",
"const",
"PPCInstrInfo",
"*",
"getInstrInfo",
"(",
")",
"const",
"{",
"return",
"&",
"InstrInfo",
";",
"}",
"</s>"
] | [
"TargetInstrInfo",
"getter",
"."
] | [
"PowerPC",
"PPC"
] | PPCTargetMachine11 | getInstrInfo | PowerPC | CPU | LLVM | 15,523 | 14 | 1 | [] |
[
"<s>",
"mulsidi3_gen_fn",
"mips_mulsidi3_gen_fn",
"(",
"enum",
"rtx_code",
"ext_code",
")",
"{",
"bool",
"signed_p",
";",
"signed_p",
"=",
"ext_code",
"==",
"SIGN_EXTEND",
";",
"if",
"(",
"TARGET_64BIT",
")",
"{",
"if",
"(",
"ISA_HAS_R6DMUL",
")",
"return",
"s... | [
"Return",
"the",
"function",
"that",
"is",
"used",
"to",
"expand",
"the",
"<",
"u",
">",
"mulsidi3",
"pattern",
".",
"EXT_CODE",
"is",
"the",
"code",
"of",
"the",
"extension",
"used",
".",
"Return",
"NULL",
"if",
"widening",
"multiplication",
"should",
"n'... | [
"mips"
] | mips | mips_mulsidi3_gen_fn | mips | CPU | GCC | 15,524 | 123 | 1 | [] |
[
"<s>",
"static",
"void",
"frv_frame_access",
"(",
"frv_frame_accessor_t",
"*",
"accessor",
",",
"rtx",
"reg",
",",
"int",
"stack_offset",
")",
"{",
"enum",
"machine_mode",
"mode",
"=",
"GET_MODE",
"(",
"reg",
")",
";",
"rtx",
"mem",
"=",
"frv_frame_mem",
"("... | [
"Emit",
"instructions",
"that",
"transfer",
"REG",
"to",
"or",
"from",
"the",
"memory",
"location",
"(",
"sp",
"+",
"STACK_OFFSET",
")",
".",
"The",
"register",
"is",
"stored",
"in",
"memory",
"if",
"ACCESSOR-",
">",
"OP",
"is",
"FRV_STORE",
"and",
"loaded... | [
"frv",
"1",
"4",
"2"
] | frv2 | frv_frame_access | frv | VLIW | GCC | 15,525 | 286 | 1 | [] |
[
"<s>",
"DecodeStatus",
"DLXDisassembler",
"::",
"getInstruction",
"(",
"MCInst",
"&",
"Instr",
",",
"uint64_t",
"&",
"Size",
",",
"ArrayRef",
"<",
"uint8_t",
">",
"Bytes",
",",
"uint64_t",
"Address",
",",
"raw_ostream",
"&",
",",
"raw_ostream",
"&",
")",
"co... | [
"Returns",
"the",
"disassembly",
"of",
"a",
"single",
"instruction",
"."
] | [
"DLX",
"DLX",
"DLX",
"4"
] | DLXDisassembler | getInstruction | DLX | CPU | LLVM | 15,526 | 105 | 1 | [] |
[
"<s>",
"bool",
"AArch64TargetLowering",
"::",
"isFMAFasterThanFMulAndFAdd",
"(",
"EVT",
"VT",
")",
"const",
"{",
"VT",
"=",
"VT",
".",
"getScalarType",
"(",
")",
";",
"if",
"(",
"!",
"VT",
".",
"isSimple",
"(",
")",
")",
"return",
"false",
";",
"switch",... | [
"Return",
"true",
"if",
"an",
"FMA",
"operation",
"is",
"faster",
"than",
"a",
"pair",
"of",
"fmul",
"and",
"fadd",
"instructions",
"."
] | [
"AArch64",
"AArch64",
"MVT::f32",
"MVT::f64"
] | AArch64ISelLowering (2) | isFMAFasterThanFMulAndFAdd | AArch64 | CPU | LLVM | 15,527 | 63 | 1 | [] |
[
"<s>",
"static",
"bool",
"tilegx_tls_referenced_p",
"(",
"rtx",
"x",
")",
"{",
"if",
"(",
"GET_CODE",
"(",
"x",
")",
"==",
"CONST",
"&&",
"GET_CODE",
"(",
"XEXP",
"(",
"x",
",",
"0",
")",
")",
"==",
"PLUS",
")",
"x",
"=",
"XEXP",
"(",
"XEXP",
"("... | [
"Return",
"true",
"if",
"X",
"contains",
"a",
"thread-local",
"symbol",
"."
] | [
"tilegx",
"0",
"0",
"0"
] | tilegx | tilegx_tls_referenced_p | tilegx | VLIW | GCC | 15,528 | 64 | 1 | [] |
[
"<s>",
"bool",
"X86TargetLowering",
"::",
"allowsMisalignedMemoryAccesses",
"(",
"EVT",
"VT",
",",
"unsigned",
",",
"Align",
"Alignment",
",",
"MachineMemOperand",
"::",
"Flags",
"Flags",
",",
"bool",
"*",
"Fast",
")",
"const",
"{",
"if",
"(",
"Fast",
")",
"... | [
"Returns",
"true",
"if",
"the",
"target",
"allows",
"unaligned",
"memory",
"accesses",
"of",
"the",
"specified",
"type",
"."
] | [
"X86",
"X86",
"128",
"256",
"16"
] | X86ISelLowering (2)5 | allowsMisalignedMemoryAccesses | X86 | CPU | LLVM | 15,529 | 132 | 1 | [] |
[
"<s>",
"rtx",
"function_expander",
"::",
"get_reg_target",
"(",
")",
"{",
"machine_mode",
"target_mode",
"=",
"TYPE_MODE",
"(",
"TREE_TYPE",
"(",
"TREE_TYPE",
"(",
"fndecl",
")",
")",
")",
";",
"if",
"(",
"!",
"possible_target",
"||",
"GET_MODE",
"(",
"possi... | [
"Return",
"a",
"REG",
"rtx",
"that",
"can",
"be",
"used",
"for",
"the",
"result",
"of",
"the",
"function",
",",
"using",
"the",
"preferred",
"target",
"if",
"suitable",
"."
] | [
"aarch64"
] | aarch64-sve-builtins | get_reg_target | aarch64 | CPU | GCC | 15,530 | 44 | 1 | [] |
[
"<s>",
"int",
"X86FrameLowering",
"::",
"mergeSPUpdates",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"&",
"MBBI",
",",
"bool",
"doMergeWithPrevious",
")",
"const",
"{",
"if",
"(",
"(",
"doMergeWithPrevious",
"&&",
"MBBI",
"... | [
"Check",
"the",
"instruction",
"before/after",
"the",
"passed",
"instruction",
"."
] | [
"X86",
"X86",
"0",
"0",
"X86::ADD64ri32",
"X86::ADD64ri8",
"X86::ADD32ri",
"X86::ADD32ri8",
"0",
"1",
"2",
"X86::LEA32r",
"X86::LEA64_32r",
"0",
"1",
"2",
"1",
"3",
"X86::NoRegister",
"5",
"X86::NoRegister",
"4",
"X86::SUB64ri32",
"X86::SUB64ri8",
"X86::SUB32ri",
"X... | X86FrameLowering (2)2 | mergeSPUpdates | X86 | CPU | LLVM | 15,531 | 454 | 1 | [] |
[
"<s>",
"void",
"BPFPassConfig",
"::",
"addPreEmitPass",
"(",
")",
"{",
"const",
"BPFSubtarget",
"*",
"Subtarget",
"=",
"getBPFTargetMachine",
"(",
")",
".",
"getSubtargetImpl",
"(",
")",
";",
"if",
"(",
"getOptLevel",
"(",
")",
"!=",
"CodeGenOpt",
"::",
"Non... | [
"This",
"pass",
"may",
"be",
"implemented",
"by",
"targets",
"that",
"want",
"to",
"run",
"passes",
"immediately",
"before",
"machine",
"code",
"is",
"emitted",
"."
] | [
"BPF",
"BPF",
"BPF",
"BPF",
"BPF"
] | BPFTargetMachine2 | addPreEmitPass | BPF | Virtual ISA | LLVM | 15,532 | 49 | 1 | [] |
[
"<s>",
"bool",
"AArch64TargetLowering",
"::",
"allowsMisalignedMemoryAccesses",
"(",
"EVT",
"VT",
",",
"unsigned",
"AddrSpace",
",",
"unsigned",
"Align",
",",
"bool",
"*",
"Fast",
")",
"const",
"{",
"if",
"(",
"Subtarget",
"->",
"requiresStrictAlign",
"(",
")",
... | [
"Returns",
"true",
"if",
"the",
"target",
"allows",
"unaligned",
"memory",
"accesses",
"of",
"the",
"specified",
"type",
"."
] | [
"AArch64",
"AArch64"
] | AArch64ISelLowering122 | allowsMisalignedMemoryAccesses | AArch64 | CPU | LLVM | 15,533 | 44 | 1 | [] |
[
"<s>",
"static",
"rtx",
"mmix_function_arg_1",
"(",
"const",
"cumulative_args_t",
"argsp_v",
",",
"const",
"function_arg_info",
"&",
"arg",
",",
"bool",
"incoming",
")",
"{",
"CUMULATIVE_ARGS",
"*",
"argsp",
"=",
"get_cumulative_args",
"(",
"argsp_v",
")",
";",
... | [
"Helper",
"function",
"for",
"mmix_function_arg",
"and",
"mmix_function_incoming_arg",
"."
] | [
"mmix",
"64"
] | mmix | mmix_function_arg_1 | mmix | CPU | GCC | 15,534 | 131 | 1 | [] |
[
"<s>",
"unsigned",
"ARMBaseInstrInfo",
"::",
"insertBranch",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"*",
"TBB",
",",
"MachineBasicBlock",
"*",
"FBB",
",",
"ArrayRef",
"<",
"MachineOperand",
">",
"Cond",
",",
"const",
"DebugLoc",
"&",
"DL... | [
"Insert",
"branch",
"code",
"into",
"the",
"end",
"of",
"the",
"specified",
"MachineBasicBlock",
"."
] | [
"ARM",
"ARM",
"\"code size not handled\"",
"ARM",
"ARM",
"ARM::B",
"ARM::t2B",
"ARM::tB",
"ARM::Bcc",
"ARM::t2Bcc",
"ARM::tBcc",
"\"insertBranch must not be told to insert a fallthrough\"",
"2",
"0",
"3",
"\"ARM branch conditions have two or three components!\"",
"ARMCC::AL",
"2",
... | ARMBaseInstrInfo70 | insertBranch | ARM | CPU | LLVM | 15,535 | 475 | 1 | [] |
[
"<s>",
"void",
"getAnalysisUsage",
"(",
"AnalysisUsage",
"&",
"AU",
")",
"const",
"override",
"{",
"AU",
".",
"addRequired",
"<",
"LiveVariables",
">",
"(",
")",
";",
"AU",
".",
"addPreserved",
"<",
"LiveVariables",
">",
"(",
")",
";",
"AU",
".",
"addReq... | [
"getAnalysisUsage",
"-",
"Subclasses",
"that",
"override",
"getAnalysisUsage",
"must",
"call",
"this",
"."
] | [
"AMDGPU"
] | SIFixSGPRLiveRanges | getAnalysisUsage | AMDGPU | GPU | LLVM | 15,536 | 60 | 1 | [] |
[
"<s>",
"static",
"inline",
"bool",
"inline_secondary_memory_needed",
"(",
"machine_mode",
"mode",
",",
"reg_class_t",
"class1",
",",
"reg_class_t",
"class2",
",",
"int",
"strict",
")",
"{",
"if",
"(",
"lra_in_progress",
"&&",
"(",
"class1",
"==",
"NO_REGS",
"||"... | [
"If",
"we",
"are",
"copying",
"between",
"general",
"and",
"FP",
"registers",
",",
"we",
"need",
"a",
"memory",
"location",
".",
"The",
"same",
"is",
"true",
"for",
"SSE",
"and",
"MMX",
"registers",
".",
"To",
"optimize",
"register_move_cost",
"performance",... | [
"i386"
] | i386 | inline_secondary_memory_needed | i386 | CPU | GCC | 15,537 | 306 | 1 | [] |
[
"<s>",
"bool",
"visitInstruction",
"(",
"Instruction",
"&",
"I",
")",
"{",
"return",
"false",
";",
"}",
"</s>"
] | [
"Specify",
"what",
"to",
"return",
"for",
"unhandled",
"instructions",
"."
] | [
"AMDGPU"
] | AMDGPUCodeGenPrepare (2) | visitInstruction | AMDGPU | GPU | LLVM | 15,538 | 12 | 1 | [] |
[
"<s>",
"void",
"SITargetLowering",
"::",
"AdjustInstrPostInstrSelection",
"(",
"MachineInstr",
"&",
"MI",
",",
"SDNode",
"*",
"Node",
")",
"const",
"{",
"const",
"SIInstrInfo",
"*",
"TII",
"=",
"getSubtarget",
"(",
")",
"->",
"getInstrInfo",
"(",
")",
";",
"... | [
"This",
"method",
"should",
"be",
"implemented",
"by",
"targets",
"that",
"mark",
"instructions",
"with",
"the",
"'hasPostISelHook",
"'",
"flag",
"."
] | [
"AMDGPU",
"SI",
"SI",
"SI",
"AMDGPU::getNamedOperandIdx",
"AMDGPU::OpName",
"AMDGPU::getNamedOperandIdx",
"AMDGPU::OpName",
"1",
"1",
"AMDGPU::OpName",
"0",
"AMDGPU::OpName"
] | SIISelLowering62 | AdjustInstrPostInstrSelection | AMDGPU | GPU | LLVM | 15,539 | 440 | 1 | [] |
[
"<s>",
"void",
"rs6000_expand_extract_even",
"(",
"rtx",
"target",
",",
"rtx",
"op0",
",",
"rtx",
"op1",
")",
"{",
"machine_mode",
"vmode",
"=",
"GET_MODE",
"(",
"target",
")",
";",
"unsigned",
"i",
",",
"nelt",
"=",
"GET_MODE_NUNITS",
"(",
"vmode",
")",
... | [
"Expand",
"an",
"extract",
"even",
"operation",
"."
] | [
"rs6000",
"16",
"0",
"2"
] | rs60004 | rs6000_expand_extract_even | rs6000 | CPU | GCC | 15,540 | 78 | 1 | [] |
[
"<s>",
"MachineSDNode",
"*",
"SITargetLowering",
"::",
"buildRSRC",
"(",
"SelectionDAG",
"&",
"DAG",
",",
"SDLoc",
"DL",
",",
"SDValue",
"Ptr",
",",
"uint32_t",
"RsrcDword1",
",",
"uint64_t",
"RsrcDword2And3",
")",
"const",
"{",
"SDValue",
"PtrLo",
"=",
"DAG",... | [
"Return",
"a",
"resource",
"descriptor",
"with",
"the",
"'Add",
"TID",
"'",
"bit",
"enabled",
"The",
"TID",
"(",
"Thread",
"ID",
")",
"is",
"multiplied",
"by",
"the",
"stride",
"value",
"(",
"bits",
"[",
"61:48",
"]",
"of",
"the",
"resource",
"descriptor... | [
"AMDGPU",
"SI",
"AMDGPU::sub0",
"MVT::i32",
"AMDGPU::sub1",
"MVT::i32",
"AMDGPU::S_OR_B32",
"MVT::i32",
"MVT::i32",
"0",
"0xFFFFFFFF",
"32",
"AMDGPU::SReg_128RegClassID",
"MVT::i32",
"AMDGPU::sub0",
"MVT::i32",
"AMDGPU::sub1",
"MVT::i32",
"AMDGPU::sub2",
"MVT::i32",
"AMDGPU::... | SIISelLowering (2) | buildRSRC | AMDGPU | GPU | LLVM | 15,541 | 248 | 1 | [] |
[
"<s>",
"virtual",
"const",
"char",
"*",
"getPassName",
"(",
")",
"const",
"{",
"return",
"\"VideoCore4 Assembly Printer\"",
";",
"}",
"</s>"
] | [
"getPassName",
"-",
"Return",
"a",
"nice",
"clean",
"name",
"for",
"a",
"pass",
"."
] | [
"VideoCore4",
"\"VideoCore4 Assembly Printer\""
] | VideoCore4AsmPrinter | getPassName | VideoCore4 | DSP | LLVM | 15,542 | 13 | 1 | [] |
[
"<s>",
"TargetLowering",
"::",
"AtomicExpansionKind",
"SITargetLowering",
"::",
"shouldExpandAtomicRMWInIR",
"(",
"AtomicRMWInst",
"*",
"RMW",
")",
"const",
"{",
"switch",
"(",
"RMW",
"->",
"getOperation",
"(",
")",
")",
"{",
"case",
"AtomicRMWInst",
"::",
"FAdd",... | [
"Returns",
"how",
"the",
"IR-level",
"AtomicExpand",
"pass",
"should",
"expand",
"the",
"given",
"AtomicRMW",
",",
"if",
"at",
"all",
"."
] | [
"AMDGPU",
"SI",
"AMDGPU",
"AMDGPU"
] | SIISelLowering103 | shouldExpandAtomicRMWInIR | AMDGPU | GPU | LLVM | 15,543 | 112 | 1 | [] |
[
"<s>",
"void",
"ARMELFStreamer",
"::",
"Reset",
"(",
")",
"{",
"ExTab",
"=",
"NULL",
";",
"FnStart",
"=",
"NULL",
";",
"Personality",
"=",
"NULL",
";",
"CantUnwind",
"=",
"false",
";",
"}",
"</s>"
] | [
"Reset",
"the",
"unwind",
"opcode",
"assembler",
"."
] | [
"ARM",
"ARM"
] | ARMELFStreamer1 | Reset | ARM | CPU | LLVM | 15,544 | 24 | 1 | [] |
[
"<s>",
"void",
"thumb2_expand_return",
"(",
"bool",
"simple_return",
")",
"{",
"int",
"i",
",",
"num_regs",
";",
"unsigned",
"long",
"saved_regs_mask",
";",
"arm_stack_offsets",
"*",
"offsets",
";",
"offsets",
"=",
"arm_get_frame_offsets",
"(",
")",
";",
"saved_... | [
"Generate",
"pattern",
"*",
"pop_multiple_with_stack_update_and_return",
"if",
"single",
"POP",
"instruction",
"can",
"be",
"generated",
".",
"LR",
"should",
"be",
"replaced",
"by",
"PC",
".",
"All",
"the",
"checks",
"required",
"are",
"already",
"done",
"by",
"... | [
"arm",
"0",
"0",
"1",
"1",
"2",
"0",
"0",
"0",
"1",
"0",
"1",
"1",
"1",
"1"
] | arm4 | thumb2_expand_return | arm | CPU | GCC | 15,545 | 208 | 1 | [] |
[
"<s>",
"void",
"BPFInstrInfo",
"::",
"storeRegToStackSlot",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"I",
",",
"unsigned",
"SrcReg",
",",
"bool",
"isKill",
",",
"int",
"FI",
",",
"const",
"TargetRegisterClass",
"*",
"RC",... | [
"Store",
"the",
"specified",
"register",
"of",
"the",
"given",
"register",
"class",
"to",
"the",
"specified",
"stack",
"frame",
"index",
"."
] | [
"BPF",
"BPF",
"BPF::GPRRegClass",
"BPF::STD",
"0",
"\"Can't store this register to stack slot\""
] | BPFInstrInfo16 | storeRegToStackSlot | BPF | Virtual ISA | LLVM | 15,546 | 108 | 1 | [] |
[
"<s>",
"void",
"mips_expand_scc",
"(",
"rtx",
"operands",
"[",
"]",
")",
"{",
"rtx",
"target",
"=",
"operands",
"[",
"0",
"]",
";",
"enum",
"rtx_code",
"code",
"=",
"GET_CODE",
"(",
"operands",
"[",
"1",
"]",
")",
";",
"rtx",
"op0",
"=",
"operands",
... | [
"Try",
"performing",
"the",
"comparison",
"in",
"OPERANDS",
"[",
"1",
"]",
",",
"whose",
"arms",
"are",
"OPERANDS",
"[",
"2",
"]",
"and",
"OPERAND",
"[",
"3",
"]",
".",
"Store",
"the",
"result",
"in",
"OPERANDS",
"[",
"0",
"]",
".",
"On",
"64-bit",
... | [
"mips",
"0",
"1",
"2",
"3",
"0"
] | mips | mips_expand_scc | mips | CPU | GCC | 15,547 | 134 | 1 | [] |
[
"<s>",
"Value",
"*",
"HexagonTargetLowering",
"::",
"emitLoadLinked",
"(",
"IRBuilder",
"<",
">",
"&",
"Builder",
",",
"Value",
"*",
"Addr",
",",
"AtomicOrdering",
"Ord",
")",
"const",
"{",
"BasicBlock",
"*",
"BB",
"=",
"Builder",
".",
"GetInsertBlock",
"(",... | [
"Perform",
"a",
"load-linked",
"operation",
"on",
"Addr",
",",
"returning",
"a",
"``",
"Value",
"*",
"''",
"with",
"the",
"corresponding",
"pointee",
"type",
"."
] | [
"Hexagon",
"Hexagon",
"32",
"64",
"\"Only 32/64-bit atomic loads supported\"",
"Intrinsic::ID",
"32",
"Intrinsic::hexagon_L2_loadw_locked",
"Intrinsic::hexagon_L4_loadd_locked",
"Intrinsic::getDeclaration",
"\"larx\""
] | HexagonISelLowering100 | emitLoadLinked | Hexagon | DSP | LLVM | 15,548 | 183 | 1 | [] |
[
"<s>",
"void",
"SparcPassConfig",
"::",
"addPreEmitPass",
"(",
")",
"{",
"addPass",
"(",
"createSparcDelaySlotFillerPass",
"(",
"getSparcTargetMachine",
"(",
")",
")",
")",
";",
"if",
"(",
"this",
"->",
"getSparcTargetMachine",
"(",
")",
".",
"getSubtargetImpl",
... | [
"This",
"pass",
"may",
"be",
"implemented",
"by",
"targets",
"that",
"want",
"to",
"run",
"passes",
"immediately",
"before",
"machine",
"code",
"is",
"emitted",
"."
] | [
"Sparc",
"Sparc",
"Sparc",
"Sparc",
"Sparc",
"Sparc"
] | SparcTargetMachine33 | addPreEmitPass | Sparc | CPU | LLVM | 15,549 | 47 | 1 | [] |
[
"<s>",
"bool",
"AMDGPUPassConfig",
"::",
"addPreISel",
"(",
")",
"{",
"const",
"AMDGPUSubtarget",
"&",
"ST",
"=",
"TM",
"->",
"getSubtarget",
"<",
"AMDGPUSubtarget",
">",
"(",
")",
";",
"if",
"(",
"ST",
".",
"device",
"(",
")",
"->",
"getGeneration",
"("... | [
"{",
"{",
"@",
"For",
"GlobalISel"
] | [
"R600",
"AMDGPUDeviceInfo::HD6XXX",
"SI"
] | AMDGPUTargetMachine101 | addPreISel | R600 | GPU | LLVM | 15,550 | 57 | 1 | [] |
[
"<s>",
"bool",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"override",
"{",
"if",
"(",
"skipFunction",
"(",
"*",
"MF",
".",
"getFunction",
"(",
")",
")",
")",
"return",
"false",
";",
"const",
"PPCSubtarget",
"&",
"STI",
"=",
"MF",
"."... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"PowerPC",
"PPC",
"PPC"
] | PPCVSXSwapRemoval1 | runOnMachineFunction | PowerPC | CPU | LLVM | 15,551 | 93 | 1 | [] |
[
"<s>",
"static",
"void",
"frv_align_label",
"(",
"void",
")",
"{",
"unsigned",
"int",
"alignment",
",",
"target",
",",
"nop",
";",
"rtx_insn",
"*",
"x",
",",
"*",
"last",
",",
"*",
"barrier",
",",
"*",
"label",
";",
"last",
"=",
"frv_packet",
".",
"i... | [
"If",
"the",
"current",
"packet",
"falls",
"through",
"to",
"a",
"label",
",",
"try",
"to",
"pad",
"the",
"packet",
"with",
"nops",
"in",
"order",
"to",
"fit",
"the",
"label",
"'s",
"alignment",
"requirements",
"."
] | [
"frv",
"1",
"0",
"4",
"0",
"1",
"0",
"0",
"8",
"4",
"1",
"0",
"0",
"4",
"1",
"0",
"4",
"1",
"1"
] | frv3 | frv_align_label | frv | VLIW | GCC | 15,552 | 281 | 1 | [] |
[
"<s>",
"static",
"tree",
"rs6000_d_handle_target_object_format",
"(",
"void",
")",
"{",
"const",
"char",
"*",
"objfmt",
"=",
"NULL",
";",
"if",
"(",
"TARGET_ELF",
")",
"objfmt",
"=",
"\"elf\"",
";",
"else",
"if",
"(",
"TARGET_MACHO",
")",
"objfmt",
"=",
"\... | [
"Handle",
"a",
"call",
"to",
"`",
"__traits",
"(",
"getTargetInfo",
",",
"``",
"objectFormat",
"''",
")",
"'",
"."
] | [
"rs6000",
"\"elf\"",
"\"macho\"",
"\"coff\"",
"1"
] | rs6000-d | rs6000_d_handle_target_object_format | rs6000 | CPU | GCC | 15,553 | 63 | 1 | [] |
[
"<s>",
"static",
"void",
"ix86_add_queued_cfa_restore_notes",
"(",
"rtx",
"insn",
")",
"{",
"rtx",
"last",
";",
"if",
"(",
"!",
"queued_cfa_restores",
")",
"return",
";",
"for",
"(",
"last",
"=",
"queued_cfa_restores",
";",
"XEXP",
"(",
"last",
",",
"1",
"... | [
"Add",
"queued",
"REG_CFA_RESTORE",
"notes",
"if",
"any",
"to",
"INSN",
"."
] | [
"i386",
"1",
"1",
"1",
"1"
] | i386 | ix86_add_queued_cfa_restore_notes | i386 | CPU | GCC | 15,554 | 72 | 1 | [] |
[
"<s>",
"static",
"rtx",
"move_to_de",
"(",
"int",
"opno",
",",
"rtx",
"before",
")",
"{",
"rtx",
"src",
"=",
"OP",
"(",
"opno",
")",
";",
"machine_mode",
"mode",
"=",
"GET_MODE",
"(",
"src",
")",
";",
"rtx",
"reg",
";",
"if",
"(",
"mode",
"==",
"... | [
"Copy",
"OP",
"(",
"opno",
")",
"to",
"E",
"or",
"DE",
",",
"placing",
"any",
"generated",
"insns",
"before",
"BEFORE",
".",
"Returns",
"E/DE",
"RTX",
"."
] | [
"rl78"
] | rl782 | move_to_de | rl78 | MPU | GCC | 15,555 | 121 | 1 | [] |
[
"<s>",
"const",
"PPCSubtarget",
"*",
"getSubtargetImpl",
"(",
")",
"const",
"override",
"{",
"return",
"&",
"Subtarget",
";",
"}",
"</s>"
] | [
"Virtual",
"method",
"implemented",
"by",
"subclasses",
"that",
"returns",
"a",
"reference",
"to",
"that",
"target",
"'s",
"TargetSubtargetInfo-derived",
"member",
"variable",
"."
] | [
"PowerPC",
"PPC"
] | PPCTargetMachine | getSubtargetImpl | PowerPC | CPU | LLVM | 15,556 | 14 | 1 | [] |
[
"<s>",
"static",
"rtx",
"move_from_acc",
"(",
"unsigned",
"int",
"opno",
",",
"rtx",
"after",
")",
"{",
"rtx",
"dest",
"=",
"OP",
"(",
"opno",
")",
";",
"machine_mode",
"mode",
"=",
"GET_MODE",
"(",
"dest",
")",
";",
"if",
"(",
"REG_P",
"(",
"dest",
... | [
"Copy",
"accumulator",
"(",
"A",
"or",
"AX",
")",
"to",
"DEST",
",",
"placing",
"any",
"generated",
"insns",
"after",
"AFTER",
".",
"Returns",
"accumulator",
"RTX",
"."
] | [
"rl78",
"2"
] | rl782 | move_from_acc | rl78 | MPU | GCC | 15,557 | 64 | 1 | [] |
[
"<s>",
"bool",
"MOSRegisterInfo",
"::",
"saveScavengerRegister",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"I",
",",
"MachineBasicBlock",
"::",
"iterator",
"&",
"UseMI",
",",
"const",
"TargetRegisterClass",
"*",
"RC",
",",
"... | [
"Spill",
"the",
"register",
"so",
"it",
"can",
"be",
"used",
"by",
"the",
"register",
"scavenger",
"."
] | [
"MOS",
"MOS",
"MOS",
"MOS",
"\"Register: \"",
"\"\\n\"",
"\"Scavenger spill for register not yet implemented.\"",
"MOS::A",
"MOS::Y",
"MOS::A",
"MOS::RC16",
"MOS::RC17",
"MOS::A",
"MOS::PH",
"MOS::STImag8",
"MOS::PL",
"MOS::LDImag8"
] | MOSRegisterInfo | saveScavengerRegister | MOS | MPU | LLVM | 15,558 | 226 | 1 | [] |
[
"<s>",
"int",
"tls_symbolic_operand",
"(",
"rtx",
"op",
",",
"enum",
"machine_mode",
"mode",
"ATTRIBUTE_UNUSED",
")",
"{",
"if",
"(",
"GET_CODE",
"(",
"op",
")",
"!=",
"SYMBOL_REF",
")",
"return",
"0",
";",
"return",
"SYMBOL_REF_TLS_MODEL",
"(",
"op",
")",
... | [
"Return",
"the",
"TLS",
"type",
"for",
"TLS",
"symbols",
",",
"0",
"for",
"otherwise",
"."
] | [
"sh",
"0"
] | sh3 | tls_symbolic_operand | sh | CPU | GCC | 15,559 | 31 | 1 | [] |
[
"<s>",
"static",
"void",
"rs6000_expand_vector_set_var_p9",
"(",
"rtx",
"target",
",",
"rtx",
"val",
",",
"rtx",
"idx",
")",
"{",
"machine_mode",
"mode",
"=",
"GET_MODE",
"(",
"target",
")",
";",
"gcc_assert",
"(",
"VECTOR_MEM_VSX_P",
"(",
"mode",
")",
"&&",... | [
"Insert",
"VAL",
"into",
"IDX",
"of",
"TARGET",
",",
"VAL",
"size",
"is",
"same",
"of",
"the",
"vector",
"element",
",",
"IDX",
"is",
"variable",
"and",
"also",
"counts",
"by",
"vector",
"element",
"size",
"for",
"p9",
"and",
"above",
"."
] | [
"rs6000",
"1",
"8",
"1",
"0"
] | rs60001 | rs6000_expand_vector_set_var_p9 | rs6000 | CPU | GCC | 15,560 | 308 | 1 | [] |
[
"<s>",
"bool",
"ix86_notrack_prefixed_insn_p",
"(",
"rtx_insn",
"*",
"insn",
")",
"{",
"if",
"(",
"!",
"insn",
"||",
"!",
"(",
"(",
"flag_cf_protection",
"&",
"CF_BRANCH",
")",
")",
")",
"return",
"false",
";",
"if",
"(",
"CALL_P",
"(",
"insn",
")",
")... | [
"Return",
"1",
"if",
"control",
"tansfer",
"instruction",
"INSN",
"should",
"be",
"encoded",
"with",
"notrack",
"prefix",
"."
] | [
"i386",
"0",
"0",
"0"
] | i386-expand | ix86_notrack_prefixed_insn_p | i386 | CPU | GCC | 15,561 | 171 | 1 | [] |
[
"<s>",
"MachineInstr",
"*",
"SIInstrInfo",
"::",
"commuteInstructionImpl",
"(",
"MachineInstr",
"*",
"MI",
",",
"bool",
"NewMI",
",",
"unsigned",
"OpIdx0",
",",
"unsigned",
"OpIdx1",
")",
"const",
"{",
"int",
"CommutedOpcode",
"=",
"commuteOpcode",
"(",
"*",
"... | [
"Commutes",
"the",
"operands",
"in",
"the",
"given",
"instruction",
"by",
"changing",
"the",
"operands",
"order",
"and/or",
"changing",
"the",
"instruction",
"'s",
"opcode",
"and/or",
"the",
"immediate",
"value",
"operand",
"."
] | [
"AMDGPU",
"SI",
"1",
"AMDGPU::getNamedOperandIdx",
"AMDGPU::OpName",
"AMDGPU::getNamedOperandIdx",
"AMDGPU::OpName",
"AMDGPU::OpName",
"AMDGPU::OpName",
"0",
"0",
"\"Not expecting modifiers with immediates\"",
"\"Should only have immediates\""
] | SIInstrInfo (3) | commuteInstructionImpl | AMDGPU | GPU | LLVM | 15,562 | 452 | 1 | [] |
[
"<s>",
"bool",
"M68kFrameLowering",
"::",
"canSimplifyCallFramePseudos",
"(",
"const",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"return",
"hasReservedCallFrame",
"(",
"MF",
")",
"||",
"(",
"hasFP",
"(",
"MF",
")",
"&&",
"!",
"TRI",
"->",
"hasStackReali... | [
"canSimplifyCallFramePseudos",
"-",
"If",
"there",
"is",
"a",
"reserved",
"call",
"frame",
",",
"the",
"call",
"frame",
"pseudos",
"can",
"be",
"simplified",
"."
] | [
"M68k",
"M68k"
] | M68kFrameLowering | canSimplifyCallFramePseudos | M68k | MPU | LLVM | 15,563 | 41 | 1 | [] |
[
"<s>",
"static",
"bool",
"tilegx_vector_mode_supported_p",
"(",
"machine_mode",
"mode",
")",
"{",
"return",
"mode",
"==",
"V8QImode",
"||",
"mode",
"==",
"V4HImode",
"||",
"mode",
"==",
"V2SImode",
";",
"}",
"</s>"
] | [
"Implement",
"TARGET_VECTOR_MODE_SUPPORTED_P",
"."
] | [
"tilegx"
] | tilegx | tilegx_vector_mode_supported_p | tilegx | VLIW | GCC | 15,564 | 22 | 1 | [] |
[
"<s>",
"void",
"PPCTargetLowering",
"::",
"computeKnownBitsForTargetNode",
"(",
"const",
"SDValue",
"Op",
",",
"APInt",
"&",
"KnownZero",
",",
"APInt",
"&",
"KnownOne",
",",
"const",
"APInt",
"&",
"DemandedElts",
",",
"const",
"SelectionDAG",
"&",
"DAG",
",",
... | [
"Determine",
"which",
"of",
"the",
"bits",
"specified",
"in",
"Mask",
"are",
"known",
"to",
"be",
"either",
"zero",
"or",
"one",
"and",
"return",
"them",
"in",
"the",
"KnownZero/KnownOne",
"bitsets",
"."
] | [
"PowerPC",
"PPC",
"0",
"PPCISD::LBRX",
"2",
"MVT::i16",
"0xFFFF0000",
"ISD::INTRINSIC_WO_CHAIN",
"0",
"Intrinsic::ppc_altivec_vcmpbfp_p",
"Intrinsic::ppc_altivec_vcmpeqfp_p",
"Intrinsic::ppc_altivec_vcmpequb_p",
"Intrinsic::ppc_altivec_vcmpequh_p",
"Intrinsic::ppc_altivec_vcmpequw_p",
"I... | PPCISelLowering135 | computeKnownBitsForTargetNode | PowerPC | CPU | LLVM | 15,565 | 217 | 1 | [] |
[
"<s>",
"bool",
"AArch64AsmBackend",
"::",
"shouldForceRelocation",
"(",
"const",
"MCAssembler",
"&",
"Asm",
",",
"const",
"MCFixup",
"&",
"Fixup",
",",
"const",
"MCValue",
"&",
"Target",
")",
"{",
"unsigned",
"Kind",
"=",
"Fixup",
".",
"getKind",
"(",
")",
... | [
"Hook",
"to",
"check",
"if",
"a",
"relocation",
"is",
"needed",
"for",
"some",
"target",
"specific",
"reason",
"."
] | [
"AArch64",
"AArch64",
"AArch64::fixup_aarch64_pcrel_adrp_imm21",
"AArch64",
"AArch64",
"AArch64",
"AArch64",
"AArch64::fixup_aarch64_ldr_pcrel_imm19",
"AArch64"
] | AArch64AsmBackend40 | shouldForceRelocation | AArch64 | CPU | LLVM | 15,566 | 102 | 1 | [] |
[
"<s>",
"auto",
"end",
"(",
")",
"const",
"{",
"return",
"Data",
".",
"end",
"(",
")",
";",
"}",
"</s>"
] | [
"Get",
"a",
"const_iterator",
"to",
"the",
"end",
"of",
"the",
"symbol",
"table",
"."
] | [
"TVM"
] | TVMStack | end | TVM | Virtual ISA | LLVM | 15,567 | 14 | 1 | [] |
[
"<s>",
"bool",
"SIInstrInfo",
"::",
"shouldClusterMemOps",
"(",
"MachineInstr",
"&",
"FirstLdSt",
",",
"MachineInstr",
"&",
"SecondLdSt",
",",
"unsigned",
"NumLoads",
")",
"const",
"{",
"const",
"MachineOperand",
"*",
"FirstDst",
"=",
"nullptr",
";",
"const",
"M... | [
"Returns",
"true",
"if",
"the",
"two",
"given",
"memory",
"operations",
"should",
"be",
"scheduled",
"adjacent",
"."
] | [
"AMDGPU",
"SI",
"AMDGPU::OpName",
"AMDGPU::OpName",
"AMDGPU::OpName",
"AMDGPU::OpName",
"AMDGPU::OpName",
"AMDGPU::OpName",
"16"
] | SIInstrInfo103 | shouldClusterMemOps | AMDGPU | GPU | LLVM | 15,568 | 245 | 1 | [] |
[
"<s>",
"virtual",
"const",
"Z80InstrInfo",
"*",
"getInstrInfo",
"(",
")",
"const",
"{",
"return",
"&",
"InstrInfo",
";",
"}",
"</s>"
] | [
"TargetInstrInfo",
"getter",
"."
] | [
"Z80",
"Z80"
] | Z80TargetMachine (2) | getInstrInfo | Z80 | MPU | LLVM | 15,569 | 14 | 1 | [] |
[
"<s>",
"static",
"unsigned",
"int",
"mips_get_compress_on_flags",
"(",
"tree",
"attributes",
")",
"{",
"unsigned",
"int",
"flags",
"=",
"0",
";",
"if",
"(",
"lookup_attribute",
"(",
"\"mips16\"",
",",
"attributes",
")",
"!=",
"NULL",
")",
"flags",
"|=",
"MAS... | [
"Return",
"the",
"set",
"of",
"compression",
"modes",
"that",
"are",
"explicitly",
"required",
"by",
"the",
"attributes",
"in",
"ATTRIBUTES",
"."
] | [
"mips",
"0",
"\"mips16\"",
"\"micromips\""
] | mips | mips_get_compress_on_flags | mips | CPU | GCC | 15,570 | 49 | 1 | [] |
[
"<s>",
"bool",
"runOnFunction",
"(",
"Function",
"&",
"F",
")",
"override",
"{",
"if",
"(",
"skipFunction",
"(",
"F",
")",
")",
"return",
"false",
";",
"auto",
"*",
"TPC",
"=",
"getAnalysisIfAvailable",
"<",
"TargetPassConfig",
">",
"(",
")",
";",
"if",
... | [
"runOnFunction",
"-",
"Virtual",
"method",
"overriden",
"by",
"subclasses",
"to",
"do",
"the",
"per-function",
"processing",
"of",
"the",
"pass",
"."
] | [
"PowerPC",
"PPC",
"1",
"0",
"1"
] | PPCBoolRetToInt | runOnFunction | PowerPC | CPU | LLVM | 15,571 | 195 | 1 | [] |
[
"<s>",
"bool",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"override",
"{",
"const",
"M680x0Subtarget",
"&",
"STI",
"=",
"MF",
".",
"getSubtarget",
"<",
"M680x0Subtarget",
">",
"(",
")",
";",
"M680x0MachineFunctionInfo",
"*",
"MxFI",
"=",
"... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"M680x0",
"M680x0",
"M680x0",
"M680x0",
"M680x0",
"0",
"M680x0",
"M680x0::LEA32q",
"\"_GLOBAL_OFFSET_TABLE_\"",
"M680x0II::MO_GOTPCREL"
] | M680x0InstrInfo | runOnMachineFunction | M680x0 | MPU | LLVM | 15,572 | 129 | 1 | [] |
[
"<s>",
"MCDisassembler",
"::",
"DecodeStatus",
"ARCDisassembler",
"::",
"getInstruction",
"(",
"MCInst",
"&",
"Instr",
",",
"uint64_t",
"&",
"Size",
",",
"ArrayRef",
"<",
"uint8_t",
">",
"Bytes",
",",
"uint64_t",
"Address",
",",
"raw_ostream",
"&",
"vStream",
... | [
"Returns",
"the",
"disassembly",
"of",
"a",
"single",
"instruction",
"."
] | [
"ARC",
"ARC",
"2",
"0",
"1",
"0xF7",
"3",
"0x08",
"4",
"0",
"8",
"\"Successfully decoded 64-bit instruction.\"",
"\"Not a 64-bit instruction, falling back to 32-bit.\""
] | ARCDisassembler8 | getInstruction | ARC | MPU | LLVM | 15,573 | 258 | 1 | [] |
[
"<s>",
"const",
"TargetRegisterClass",
"*",
"ARMBaseRegisterInfo",
"::",
"getPointerRegClass",
"(",
"const",
"MachineFunction",
"&",
"MF",
",",
"unsigned",
"Kind",
")",
"const",
"{",
"return",
"&",
"ARM",
"::",
"GPRRegClass",
";",
"}",
"</s>"
] | [
"getPointerRegClass",
"-",
"Returns",
"a",
"TargetRegisterClass",
"used",
"for",
"pointer",
"values",
"."
] | [
"ARM",
"ARM",
"ARM::GPRRegClass"
] | ARMBaseRegisterInfo | getPointerRegClass | ARM | CPU | LLVM | 15,574 | 24 | 1 | [] |
[
"<s>",
"bool",
"DeadCodeElimination",
"::",
"erase",
"(",
"const",
"SetVector",
"<",
"NodeId",
">",
"&",
"Nodes",
")",
"{",
"if",
"(",
"Nodes",
".",
"empty",
"(",
")",
")",
"return",
"false",
";",
"NodeList",
"DRNs",
",",
"DINs",
";",
"for",
"(",
"au... | [
"erase",
"-",
"Erases",
"an",
"element",
"identified",
"by",
"Key",
",",
"if",
"it",
"exists",
"."
] | [
"Hexagon",
"\"Unexpected code node\"",
"\"Removing dead ref nodes:\\n\"",
"\" \"",
"\"erasing: \""
] | RDFDeadCode | erase | Hexagon | DSP | LLVM | 15,575 | 470 | 1 | [] |
[
"<s>",
"bool",
"ARMAsmPrinter",
"::",
"doInitialization",
"(",
"Module",
"&",
"M",
")",
"{",
"bool",
"Result",
"=",
"AsmPrinter",
"::",
"doInitialization",
"(",
"M",
")",
";",
"DW",
"=",
"getAnalysisIfAvailable",
"<",
"DwarfWriter",
">",
"(",
")",
";",
"if... | [
"Set",
"up",
"the",
"AsmPrinter",
"when",
"we",
"are",
"working",
"on",
"a",
"new",
"module",
"."
] | [
"ARM",
"ARM",
"\"\\t.syntax unified\\n\"",
"\"generic\"",
"\"\\t.cpu \"",
"\"\\t.eabi_attribute \"",
"ARMBuildAttrs::VFP_arch",
"\", 2\\n\"",
"\"\\t.eabi_attribute \"",
"ARMBuildAttrs::ABI_FP_denormal",
"\", 1\\n\"",
"\"\\t.eabi_attribute \"",
"ARMBuildAttrs::ABI_FP_exceptions",
"\", 1\\n\... | ARMAsmPrinter20 | doInitialization | ARM | CPU | LLVM | 15,576 | 198 | 1 | [] |
[
"<s>",
"static",
"bool",
"isExtended",
"(",
"uint64_t",
"TSFlags",
")",
"{",
"return",
"(",
"TSFlags",
">>",
"HexagonII",
"::",
"ExtendedPos",
")",
"&",
"HexagonII",
"::",
"ExtendedMask",
";",
"}",
"</s>"
] | [
"Test",
"if",
"the",
"given",
"EVT",
"is",
"extended",
"(",
"as",
"opposed",
"to",
"being",
"simple",
")",
"."
] | [
"Hexagon",
"HexagonII::ExtendedPos",
"HexagonII::ExtendedMask"
] | HexagonInstPrinter11 | isExtended | Hexagon | DSP | LLVM | 15,577 | 22 | 1 | [] |
[
"<s>",
"void",
"X86RegisterInfo",
"::",
"eliminateCallFramePseudoInstr",
"(",
"MachineFunction",
"&",
"MF",
",",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"I",
")",
"const",
"{",
"const",
"TargetFrameInfo",
"*",
"TFI",
"=",
"MF",... | [
"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",
")",
"."
] | [
"X86",
"X86",
"0",
"0",
"1",
"0",
"1",
"3",
"1",
"3"
] | X86RegisterInfo40 | eliminateCallFramePseudoInstr | X86 | CPU | LLVM | 15,578 | 365 | 1 | [] |
[
"<s>",
"int",
"reg_unused_after",
"(",
"rtx",
"reg",
",",
"rtx",
"insn",
")",
"{",
"enum",
"rtx_code",
"code",
";",
"rtx",
"set",
";",
"set",
"=",
"single_set",
"(",
"insn",
")",
";",
"if",
"(",
"set",
"&&",
"GET_CODE",
"(",
"SET_DEST",
"(",
"set",
... | [
"Return",
"nonzero",
"if",
"REG",
"is",
"not",
"used",
"after",
"INSN",
".",
"We",
"assume",
"REG",
"is",
"a",
"reload",
"reg",
",",
"and",
"therefore",
"does",
"not",
"live",
"past",
"labels",
"or",
"calls",
"or",
"jumps",
"."
] | [
"sh",
"1",
"1",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"1",
"0",
"0",
"0",
"1",
"1",
"0",
"0",
"0",
"0",
"1",
"1"
] | sh3 | reg_unused_after | sh | CPU | GCC | 15,579 | 394 | 1 | [] |
[
"<s>",
"const",
"BlackfinRegisterInfo",
"*",
"getRegisterInfo",
"(",
")",
"{",
"return",
"static_cast",
"<",
"const",
"BlackfinTargetMachine",
"&",
">",
"(",
"TM",
")",
".",
"getRegisterInfo",
"(",
")",
";",
"}",
"</s>"
] | [
"getRegisterInfo",
"-",
"TargetInstrInfo",
"is",
"a",
"superset",
"of",
"MRegister",
"info",
"."
] | [
"Blackfin"
] | BlackfinISelDAGToDAG | getRegisterInfo | Blackfin | DSP | LLVM | 15,580 | 23 | 1 | [] |
[
"<s>",
"static",
"tree",
"arm_handle_cmse_nonsecure_call",
"(",
"tree",
"*",
"node",
",",
"tree",
"name",
",",
"tree",
",",
"int",
",",
"bool",
"*",
"no_add_attrs",
")",
"{",
"tree",
"decl",
"=",
"NULL_TREE",
";",
"tree",
"fntype",
",",
"type",
";",
"if"... | [
"Called",
"upon",
"detection",
"of",
"the",
"use",
"of",
"the",
"cmse_nonsecure_call",
"attribute",
",",
"this",
"function",
"will",
"check",
"whether",
"the",
"attribute",
"is",
"allowed",
"here",
"and",
"will",
"add",
"the",
"attribute",
"to",
"the",
"functi... | [
"arm",
"\"%qE attribute ignored without %<-mcmse%> \"",
"\"option\"",
"\"%qE attribute only applies to base type of a \"",
"\"function pointer\"",
"\"cmse_nonsecure_call\""
] | arm1 | arm_handle_cmse_nonsecure_call | arm | CPU | GCC | 15,581 | 288 | 1 | [] |
[
"<s>",
"SDValue",
"PPCTargetLowering",
"::",
"LowerCall",
"(",
"TargetLowering",
"::",
"CallLoweringInfo",
"&",
"CLI",
",",
"SmallVectorImpl",
"<",
"SDValue",
">",
"&",
"InVals",
")",
"const",
"{",
"SelectionDAG",
"&",
"DAG",
"=",
"CLI",
".",
"DAG",
";",
"De... | [
"This",
"hook",
"must",
"be",
"implemented",
"to",
"lower",
"calls",
"into",
"the",
"specified",
"DAG",
"."
] | [
"PowerPC",
"PPC",
"ISD::OutputArg",
"32",
"32",
"ISD::InputArg",
"32",
"PPC",
"PPC",
"PPC"
] | PPCISelLowering62 | LowerCall | PowerPC | CPU | LLVM | 15,582 | 204 | 1 | [] |
[
"<s>",
"bool",
"MipsDAGToDAGISel",
"::",
"SelectInlineAsmMemoryOperand",
"(",
"const",
"SDValue",
"&",
"Op",
",",
"unsigned",
"ConstraintID",
",",
"std",
"::",
"vector",
"<",
"SDValue",
">",
"&",
"OutOps",
")",
"{",
"switch",
"(",
"ConstraintID",
")",
"{",
"... | [
"SelectInlineAsmMemoryOperand",
"-",
"Select",
"the",
"specified",
"address",
"as",
"a",
"target",
"addressing",
"mode",
",",
"according",
"to",
"the",
"specified",
"constraint",
"."
] | [
"Mips",
"Mips",
"\"Unexpected asm memory constraint\""
] | MipsISelDAGToDAG (2) | SelectInlineAsmMemoryOperand | Mips | CPU | LLVM | 15,583 | 70 | 1 | [] |
[
"<s>",
"virtual",
"const",
"OR1KRegisterInfo",
"*",
"getRegisterInfo",
"(",
")",
"const",
"{",
"return",
"&",
"InstrInfo",
".",
"getRegisterInfo",
"(",
")",
";",
"}",
"</s>"
] | [
"getRegisterInfo",
"-",
"TargetInstrInfo",
"is",
"a",
"superset",
"of",
"MRegister",
"info",
"."
] | [
"OR1K",
"OR1K"
] | OR1KTargetMachine | getRegisterInfo | OR1K | CPU | LLVM | 15,584 | 18 | 1 | [] |
[
"<s>",
"bool",
"mep_cannot_change_mode_class",
"(",
"machine_mode",
"from",
",",
"machine_mode",
"to",
",",
"enum",
"reg_class",
"regclass",
")",
"{",
"if",
"(",
"from",
"==",
"to",
")",
"return",
"false",
";",
"if",
"(",
"TARGET_64BIT_CR_REGS",
"&&",
"(",
"... | [
"Return",
"true",
"if",
"the",
"registers",
"in",
"CLASS",
"can",
"not",
"represent",
"the",
"change",
"from",
"modes",
"FROM",
"to",
"TO",
"."
] | [
"mep",
"8",
"8"
] | mep | mep_cannot_change_mode_class | mep | CPU | GCC | 15,585 | 60 | 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::TBA",
"AMDGPU::TMA",
"AMDGPU::TTMP0_TTMP1",
"AMDGPU::TTMP2_TTMP3",
"AMDGPU::TTMP4_TTMP5",
"AMDGPU::TT... | SIRegisterInfo28 | getReservedRegs | AMDGPU | GPU | LLVM | 15,586 | 436 | 1 | [] |
[
"<s>",
"static",
"int",
"m32r_is_insn",
"(",
"rtx",
"insn",
")",
"{",
"return",
"(",
"INSN_P",
"(",
"insn",
")",
"&&",
"GET_CODE",
"(",
"PATTERN",
"(",
"insn",
")",
")",
"!=",
"USE",
"&&",
"GET_CODE",
"(",
"PATTERN",
"(",
"insn",
")",
")",
"!=",
"C... | [
"Return",
"true",
"if",
"INSN",
"is",
"real",
"instruction",
"bearing",
"insn",
"."
] | [
"m32r"
] | m32r3 | m32r_is_insn | m32r | MPU | GCC | 15,587 | 47 | 1 | [] |
[
"<s>",
"static",
"int",
"rs6000_register_move_cost",
"(",
"machine_mode",
"mode",
",",
"reg_class_t",
"from",
",",
"reg_class_t",
"to",
")",
"{",
"int",
"ret",
";",
"reg_class_t",
"rclass",
";",
"if",
"(",
"TARGET_DEBUG_COST",
")",
"dbg_cost_ctrl",
"++",
";",
... | [
"A",
"C",
"expression",
"returning",
"the",
"cost",
"of",
"moving",
"data",
"from",
"a",
"register",
"of",
"class",
"CLASS1",
"to",
"one",
"of",
"CLASS2",
"."
] | [
"rs6000",
"2",
"3",
"4",
"2",
"4",
"6",
"2",
"1",
"\"rs6000_register_move_cost: ret=%d, mode=%s, from=%s, to=%s\\n\""
] | rs6000 | rs6000_register_move_cost | rs6000 | CPU | GCC | 15,588 | 370 | 1 | [] |
[
"<s>",
"const",
"MCExpr",
"*",
"createExprForCAPIVariantKind",
"(",
"const",
"MCExpr",
"*",
"SubExpr",
",",
"unsigned",
"VariantKind",
")",
"override",
"{",
"switch",
"(",
"VariantKind",
")",
"{",
"case",
"LLVMDisassembler_VariantKind_ARM_HI16",
":",
"return",
"ARMM... | [
"Create",
"an",
"MCExpr",
"for",
"the",
"target-specific",
"VariantKind",
"."
] | [
"ARM",
"ARM",
"ARM",
"ARM",
"ARM"
] | ARMMachORelocationInfo1 | createExprForCAPIVariantKind | ARM | CPU | LLVM | 15,589 | 60 | 1 | [] |
[
"<s>",
"bool",
"WebAssemblyOptimizeLiveIntervals",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"{",
"LLVM_DEBUG",
"(",
"dbgs",
"(",
")",
"<<",
"\"********** Optimize LiveIntervals **********\\n\"",
"\"********** Function: \"",
"<<",
"MF",
".",
"g... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"WebAssembly",
"WebAssembly",
"\"********** Optimize LiveIntervals **********\\n\"",
"\"********** Function: \"",
"\"OptimizeLiveIntervals expects liveness\"",
"4",
"0",
"WebAssembly",
"0",
"WebAssembly",
"0",
"0"
] | WebAssemblyOptimizeLiveIntervals12 | runOnMachineFunction | WebAssembly | Virtual ISA | LLVM | 15,590 | 322 | 1 | [] |
[
"<s>",
"SDValue",
"MipsTargetLowering",
"::",
"LowerReturn",
"(",
"SDValue",
"Chain",
",",
"CallingConv",
"::",
"ID",
"CallConv",
",",
"bool",
"IsVarArg",
",",
"const",
"SmallVectorImpl",
"<",
"ISD",
"::",
"OutputArg",
">",
"&",
"Outs",
",",
"const",
"SmallVec... | [
"This",
"hook",
"must",
"be",
"implemented",
"to",
"lower",
"outgoing",
"return",
"values",
",",
"described",
"by",
"the",
"Outs",
"array",
",",
"into",
"the",
"specified",
"DAG",
"."
] | [
"Mips",
"Mips",
"ISD::OutputArg",
"16",
"Mips",
"Mips",
"Mips",
"4",
"1",
"0",
"\"Can only return in registers!\"",
"ISD::BITCAST",
"1",
"Mips",
"Mips",
"Mips",
"Mips",
"\"sret virtual register not created in the entry block\"",
"Mips::V0_64",
"Mips::V0",
"1",
"0",
"MipsI... | MipsISelLowering (2) | LowerReturn | Mips | CPU | LLVM | 15,591 | 449 | 1 | [] |
[
"<s>",
"bool",
"AArch64InstrInfo",
"::",
"isFunctionSafeToOutlineFrom",
"(",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"return",
"MF",
".",
"getFunction",
"(",
")",
"->",
"hasFnAttribute",
"(",
"Attribute",
"::",
"NoRedZone",
")",
";",
"}",
"</s>"
] | [
"Return",
"true",
"if",
"the",
"function",
"can",
"safely",
"be",
"outlined",
"from",
"."
] | [
"AArch64",
"AArch64"
] | AArch64InstrInfo109 | isFunctionSafeToOutlineFrom | AArch64 | CPU | LLVM | 15,592 | 26 | 1 | [] |
[
"<s>",
"static",
"int",
"s390_builtin_vectorization_cost",
"(",
"enum",
"vect_cost_for_stmt",
"type_of_cost",
",",
"tree",
"vectype",
",",
"int",
"misalign",
"ATTRIBUTE_UNUSED",
")",
"{",
"switch",
"(",
"type_of_cost",
")",
"{",
"case",
"scalar_stmt",
":",
"case",
... | [
"Implement",
"targetm.vectorize.builtin_vectorization_cost",
"."
] | [
"s390",
"1",
"3",
"1"
] | s390 | s390_builtin_vectorization_cost | s390 | MPU | GCC | 15,593 | 94 | 1 | [] |
[
"<s>",
"void",
"MBlazeRegisterInfo",
"::",
"eliminateCallFramePseudoInstr",
"(",
"MachineFunction",
"&",
"MF",
",",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"I",
")",
"const",
"{",
"const",
"TargetFrameInfo",
"*",
"TFI",
"=",
"M... | [
"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",
")",
"."
] | [
"MBlaze",
"MBlaze",
"0",
"4",
"0",
"1",
"MBlaze::ADJCALLSTACKDOWN",
"MBlaze::ADDI",
"MBlaze::R1",
"MBlaze::R1",
"MBlaze::ADJCALLSTACKUP",
"MBlaze::ADDI",
"MBlaze::R1",
"MBlaze::R1"
] | MBlazeRegisterInfo5 | eliminateCallFramePseudoInstr | MBlaze | MPU | LLVM | 15,594 | 236 | 1 | [] |
[
"<s>",
"bool",
"AArch64TargetLowering",
"::",
"isZExtFree",
"(",
"SDValue",
"Val",
",",
"EVT",
"VT2",
")",
"const",
"{",
"EVT",
"VT1",
"=",
"Val",
".",
"getValueType",
"(",
")",
";",
"if",
"(",
"isZExtFree",
"(",
"VT1",
",",
"VT2",
")",
")",
"{",
"re... | [
"Return",
"true",
"if",
"zero-extending",
"the",
"specific",
"node",
"Val",
"to",
"type",
"VT2",
"is",
"free",
"(",
"either",
"because",
"it",
"'s",
"implicitly",
"zero-extended",
"such",
"as",
"ARM",
"ldrb",
"/",
"ldrh",
"or",
"because",
"it",
"'s",
"fold... | [
"AArch64",
"AArch64",
"ISD::LOAD",
"32"
] | AArch64ISelLowering109 | isZExtFree | AArch64 | CPU | LLVM | 15,595 | 87 | 1 | [] |
[
"<s>",
"bool",
"X86FrameLowering",
"::",
"assignCalleeSavedSpillSlots",
"(",
"MachineFunction",
"&",
"MF",
",",
"const",
"TargetRegisterInfo",
"*",
"TRI",
",",
"std",
"::",
"vector",
"<",
"CalleeSavedInfo",
">",
"&",
"CSI",
")",
"const",
"{",
"MachineFrameInfo",
... | [
"This",
"function",
"will",
"assign",
"callee",
"saved",
"gprs",
"to",
"volatile",
"vector",
"registers",
"for",
"prologue",
"spills",
"when",
"applicable",
"."
] | [
"X86",
"X86",
"X86",
"X86",
"X86",
"0",
"X86",
"0",
"0",
"1",
"X86::GR64RegClass",
"X86::GR32RegClass",
"1",
"X86",
"0",
"1",
"X86::GR64RegClass",
"X86::GR32RegClass",
"1"
] | X86FrameLowering (2)2 | assignCalleeSavedSpillSlots | X86 | CPU | LLVM | 15,596 | 390 | 1 | [] |
[
"<s>",
"bool",
"ARMTargetLowering",
"::",
"isCheapToSpeculateCtlz",
"(",
")",
"const",
"{",
"return",
"Subtarget",
"->",
"hasV6T2Ops",
"(",
")",
";",
"}",
"</s>"
] | [
"Return",
"true",
"if",
"it",
"is",
"cheap",
"to",
"speculate",
"a",
"call",
"to",
"intrinsic",
"ctlz",
"."
] | [
"ARM",
"ARM"
] | ARMISelLowering (2)2 | isCheapToSpeculateCtlz | ARM | CPU | LLVM | 15,597 | 16 | 1 | [] |
[
"<s>",
"int",
"ix86_memory_move_cost",
"(",
"enum",
"machine_mode",
"mode",
",",
"enum",
"reg_class",
"class",
",",
"int",
"in",
")",
"{",
"if",
"(",
"FLOAT_CLASS_P",
"(",
"class",
")",
")",
"{",
"int",
"index",
";",
"switch",
"(",
"mode",
")",
"{",
"c... | [
"Return",
"the",
"cost",
"of",
"moving",
"data",
"of",
"mode",
"M",
"between",
"a",
"register",
"and",
"memory",
".",
"A",
"value",
"of",
"2",
"is",
"the",
"default",
";",
"this",
"cost",
"is",
"relative",
"to",
"those",
"in",
"`",
"REGISTER_MOVE_COST",
... | [
"i386",
"0",
"1",
"2",
"100",
"4",
"0",
"8",
"1",
"16",
"2",
"100",
"4",
"0",
"8",
"1",
"100",
"1",
"0",
"0",
"0",
"4",
"2",
"1",
"1",
"2",
"2",
"1"
] | i3863 | ix86_memory_move_cost | i386 | CPU | GCC | 15,598 | 347 | 1 | [] |
[
"<s>",
"int",
"X86FrameLowering",
"::",
"getInitialCFAOffset",
"(",
"const",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"return",
"TRI",
"->",
"getSlotSize",
"(",
")",
";",
"}",
"</s>"
] | [
"Return",
"initial",
"CFA",
"offset",
"value",
"i.e",
"."
] | [
"X86",
"X86"
] | X86FrameLowering (2)3 | getInitialCFAOffset | X86 | CPU | LLVM | 15,599 | 20 | 1 | [] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.