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>",
"MipsSubtarget",
"::",
"MipsSubtarget",
"(",
"const",
"Triple",
"&",
"TT",
",",
"const",
"std",
"::",
"string",
"&",
"CPU",
",",
"const",
"std",
"::",
"string",
"&",
"FS",
",",
"bool",
"little",
",",
"const",
"MipsTargetMachine",
"&",
"TM",
")",
... | [
"This",
"constructor",
"initializes",
"the",
"data",
"members",
"to",
"match",
"that",
"of",
"the",
"specified",
"triple",
"."
] | [
"Mips",
"Mips",
"Mips",
"Mips",
"Mips",
"Mips",
"Mips",
"Mips",
"Mips",
"Mips",
"Mips",
"Mips",
"Mips",
"Mips",
"Mips",
"Mips",
"Mips",
"Mips",
"Mips",
"Mips",
"Mips",
"Mips",
"Mips",
"Mips",
"Mips",
"Mips",
"Mips",
"Mips",
"Mips",
"Mips",
"\"Code generati... | MipsSubtarget30 | MipsSubtarget | Mips | CPU | LLVM | 8,700 | 487 | 1 | [] |
[
"<s>",
"bool",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"override",
"{",
"TII",
"=",
"MF",
".",
"getSubtarget",
"<",
"TGSISubtarget",
">",
"(",
")",
".",
"getInstrInfo",
"(",
")",
";",
"TRI",
"=",
"&",
"TII",
"->",
"getRegisterInfo",... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"TGSI",
"TGSI",
"\"LoopInfo:\\n\""
] | TGSICFGStructurizer | runOnMachineFunction | TGSI | Virtual ISA | LLVM | 8,701 | 163 | 1 | [] |
[
"<s>",
"static",
"int",
"ix86_mode_exit",
"(",
"int",
"entity",
")",
"{",
"switch",
"(",
"entity",
")",
"{",
"case",
"X86_DIRFLAG",
":",
"return",
"X86_DIRFLAG_ANY",
";",
"case",
"AVX_U128",
":",
"return",
"ix86_avx_u128_mode_exit",
"(",
")",
";",
"case",
"I... | [
"Return",
"a",
"mode",
"that",
"ENTITY",
"is",
"assumed",
"to",
"be",
"switched",
"to",
"at",
"function",
"exit",
"."
] | [
"i386"
] | i3868 | ix86_mode_exit | i386 | CPU | GCC | 8,702 | 47 | 1 | [] |
[
"<s>",
"static",
"int",
"aarch64_builtin_vectorization_cost",
"(",
"enum",
"vect_cost_for_stmt",
"type_of_cost",
",",
"tree",
"vectype",
",",
"int",
"misalign",
"ATTRIBUTE_UNUSED",
")",
"{",
"unsigned",
"elements",
";",
"const",
"cpu_vector_cost",
"*",
"costs",
"=",
... | [
"Implement",
"targetm.vectorize.builtin_vectorization_cost",
"."
] | [
"aarch64",
"2",
"1"
] | aarch64 | aarch64_builtin_vectorization_cost | aarch64 | CPU | GCC | 8,703 | 215 | 1 | [] |
[
"<s>",
"static",
"void",
"dump_constants",
"(",
"struct",
"mips16_constant",
"*",
"constants",
",",
"rtx",
"insn",
")",
"{",
"struct",
"mips16_constant",
"*",
"c",
",",
"*",
"next",
";",
"int",
"align",
";",
"align",
"=",
"0",
";",
"for",
"(",
"c",
"="... | [
"Dump",
"out",
"the",
"constants",
"in",
"CONSTANTS",
"after",
"INSN",
"."
] | [
"mips",
"0"
] | mips3 | dump_constants | mips | CPU | GCC | 8,704 | 137 | 1 | [] |
[
"<s>",
"bool",
"X86PassConfig",
"::",
"addPostFastRegAllocRewrite",
"(",
")",
"{",
"addPass",
"(",
"createX86FastTileConfigPass",
"(",
")",
")",
";",
"return",
"true",
";",
"}",
"</s>"
] | [
"addPostFastRegAllocRewrite",
"-",
"Add",
"passes",
"to",
"the",
"optimized",
"register",
"allocation",
"pipeline",
"after",
"fast",
"register",
"allocation",
"is",
"complete",
"."
] | [
"X86",
"X86",
"X86"
] | X86TargetMachine114 | addPostFastRegAllocRewrite | X86 | CPU | LLVM | 8,705 | 18 | 1 | [] |
[
"<s>",
"AArch64Subtarget",
"::",
"AArch64Subtarget",
"(",
"const",
"Triple",
"&",
"TT",
",",
"const",
"std",
"::",
"string",
"&",
"CPU",
",",
"const",
"std",
"::",
"string",
"&",
"FS",
",",
"const",
"TargetMachine",
"&",
"TM",
",",
"bool",
"LittleEndian",
... | [
"This",
"constructor",
"initializes",
"the",
"data",
"members",
"to",
"match",
"that",
"of",
"the",
"specified",
"triple",
"."
] | [
"AArch64",
"AArch64",
"AArch64",
"AArch64"
] | AArch64Subtarget13 | AArch64Subtarget | AArch64 | CPU | LLVM | 8,706 | 150 | 1 | [] |
[
"<s>",
"void",
"RISCVFrameLowering",
"::",
"emitEpilogue",
"(",
"MachineFunction",
"&",
"MF",
",",
"MachineBasicBlock",
"&",
"MBB",
")",
"const",
"{",
"const",
"RISCVRegisterInfo",
"*",
"RI",
"=",
"STI",
".",
"getRegisterInfo",
"(",
")",
";",
"MachineFrameInfo",... | [
"Insert",
"epilog",
"code",
"into",
"the",
"function",
"."
] | [
"RISCV",
"RISCV",
"RISCV",
"RISCV",
"\"frame pointer should not have been eliminated\"",
"0",
"\"SecondSPAdjustAmount should be greater than zero\""
] | RISCVFrameLowering (2) | emitEpilogue | RISCV | CPU | LLVM | 8,707 | 415 | 1 | [] |
[
"<s>",
"bool",
"AArch64LoadStoreOpt",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"Fn",
")",
"{",
"if",
"(",
"skipFunction",
"(",
"*",
"Fn",
".",
"getFunction",
"(",
")",
")",
")",
"return",
"false",
";",
"Subtarget",
"=",
"&",
"static_cast",
... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"AArch64",
"AArch64",
"AArch64",
"AArch64"
] | AArch64LoadStoreOptimizer | runOnMachineFunction | AArch64 | CPU | LLVM | 8,708 | 130 | 1 | [] |
[
"<s>",
"void",
"RISCVInstrInfo",
"::",
"copyPhysReg",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"MBBI",
",",
"const",
"DebugLoc",
"&",
"DL",
",",
"MCRegister",
"DstReg",
",",
"MCRegister",
"SrcReg",
",",
"bool",
"KillSrc",... | [
"}",
"Branch",
"Analysis",
"&",
"Modification"
] | [
"RISCV",
"RISCV",
"RISCV::GPRRegClass",
"RISCV::ADDI",
"0",
"RISCV::FPR32RegClass",
"RISCV::FSGNJ_S",
"RISCV::FPR64RegClass",
"RISCV::FSGNJ_D",
"\"Impossible reg-to-reg copy\""
] | RISCVInstrInfo11 | copyPhysReg | RISCV | CPU | LLVM | 8,709 | 165 | 1 | [] |
[
"<s>",
"virtual",
"void",
"print",
"(",
"raw_ostream",
"&",
"OS",
")",
"const",
"{",
"}",
"</s>"
] | [
"print",
"-",
"Print",
"a",
"debug",
"representation",
"of",
"the",
"operand",
"to",
"the",
"given",
"stream",
"."
] | [
"X86"
] | X86AsmParser (2)2 | print | X86 | CPU | LLVM | 8,710 | 11 | 1 | [] |
[
"<s>",
"bool",
"PatmosInstrInfo",
"::",
"isUnpredicatedTerminator",
"(",
"const",
"MachineInstr",
"*",
"MI",
")",
"const",
"{",
"if",
"(",
"!",
"MI",
"->",
"isTerminator",
"(",
")",
")",
"return",
"false",
";",
"if",
"(",
"MI",
"->",
"isBranch",
"(",
")"... | [
"Returns",
"true",
"if",
"the",
"instruction",
"is",
"a",
"terminator",
"instruction",
"that",
"has",
"not",
"been",
"predicated",
"."
] | [
"Patmos",
"Patmos"
] | PatmosInstrInfo | isUnpredicatedTerminator | Patmos | VLIW | LLVM | 8,711 | 48 | 1 | [] |
[
"<s>",
"PPC",
"::",
"AddrMode",
"PPCTargetLowering",
"::",
"SelectForceXFormMode",
"(",
"SDValue",
"N",
",",
"SDValue",
"&",
"Disp",
",",
"SDValue",
"&",
"Base",
",",
"SelectionDAG",
"&",
"DAG",
")",
"const",
"{",
"PPC",
"::",
"AddrMode",
"Mode",
"=",
"PPC... | [
"SelectForceXFormMode",
"-",
"Given",
"the",
"specified",
"address",
",",
"force",
"it",
"to",
"be",
"represented",
"as",
"an",
"indexed",
"[",
"r+r",
"]",
"operation",
"(",
"an",
"XForm",
"instruction",
")",
"."
] | [
"PowerPC",
"PPC::AddrMode",
"PPC",
"PPC::AddrMode",
"PPC::AM_XForm",
"0",
"1",
"0",
"1",
"ISD::ADD",
"1",
"1",
"0",
"0",
"1",
"PPC",
"PPC::ZERO8",
"PPC::ZERO"
] | PPCISelLowering109 | SelectForceXFormMode | PowerPC | CPU | LLVM | 8,712 | 192 | 1 | [] |
[
"<s>",
"static",
"const",
"char",
"*",
"generate_target_offloadend_file",
"(",
"const",
"char",
"*",
"target_compiler",
")",
"{",
"const",
"char",
"*",
"src_filename",
"=",
"make_temp_file",
"(",
"\"_target_offloadend.c\"",
")",
";",
"const",
"char",
"*",
"obj_fil... | [
"Generates",
"object",
"file",
"with",
"__offload_",
"*",
"_end",
"symbols",
"for",
"the",
"target",
"library",
"."
] | [
"i386",
"\"_target_offloadend.c\"",
"\"_target_offloadend.o\"",
"\"w\"",
"\"cannot open '%s'\"",
"\"void *__offload_funcs_end[0]\\n\"",
"\"__attribute__ ((__used__, visibility (\\\"hidden\\\"),\\n\"",
"\"section (\\\".gnu.offload_funcs\\\"))) = { };\\n\\n\"",
"\"void *__offload_vars_end[0]\\n\"",
... | intelmic-mkoffload2 | generate_target_offloadend_file | i386 | CPU | GCC | 8,713 | 166 | 1 | [] |
[
"<s>",
"bool",
"storeOfVectorConstantIsCheap",
"(",
"EVT",
"MemVT",
",",
"unsigned",
"NumElem",
",",
"unsigned",
"AddrSpace",
")",
"const",
"override",
"{",
"return",
"NumElem",
">",
"2",
";",
"}",
"</s>"
] | [
"Return",
"true",
"if",
"it",
"is",
"expected",
"to",
"be",
"cheaper",
"to",
"do",
"a",
"store",
"of",
"vector",
"constant",
"with",
"the",
"given",
"size",
"and",
"type",
"for",
"the",
"address",
"space",
"than",
"to",
"store",
"the",
"individual",
"sca... | [
"X86",
"2"
] | X86ISelLowering | storeOfVectorConstantIsCheap | X86 | CPU | LLVM | 8,714 | 21 | 1 | [] |
[
"<s>",
"void",
"c4x_override_options",
"(",
")",
"{",
"if",
"(",
"c4x_rpts_cycles_string",
")",
"c4x_rpts_cycles",
"=",
"atoi",
"(",
"c4x_rpts_cycles_string",
")",
";",
"else",
"c4x_rpts_cycles",
"=",
"0",
";",
"if",
"(",
"TARGET_C30",
")",
"c4x_cpu_version",
"=... | [
"Override",
"command",
"line",
"options",
".",
"Called",
"once",
"after",
"all",
"options",
"have",
"been",
"parsed",
".",
"Mostly",
"we",
"process",
"the",
"processor",
"type",
"and",
"sometimes",
"adjust",
"other",
"TARGET_",
"options",
"."
] | [
"c4x",
"0",
"30",
"31",
"32",
"33",
"40",
"44",
"40",
"30",
"31",
"32",
"33",
"40",
"44",
"\"unknown CPU version %d, using 40.\\n\"",
"40",
"1"
] | c4x | c4x_override_options | c4x | DSP | GCC | 8,715 | 249 | 1 | [] |
[
"<s>",
"static",
"rtx",
"m32r_function_arg",
"(",
"cumulative_args_t",
"cum_v",
",",
"machine_mode",
"mode",
",",
"const_tree",
"type",
"ATTRIBUTE_UNUSED",
",",
"bool",
"named",
"ATTRIBUTE_UNUSED",
")",
"{",
"CUMULATIVE_ARGS",
"*",
"cum",
"=",
"get_cumulative_args",
... | [
"On",
"the",
"M32R",
"the",
"first",
"M32R_MAX_PARM_REGS",
"args",
"are",
"normally",
"in",
"registers",
"and",
"the",
"rest",
"are",
"pushed",
"."
] | [
"m32r"
] | m32r4 | m32r_function_arg | m32r | MPU | GCC | 8,716 | 59 | 1 | [] |
[
"<s>",
"ScheduleDAGInstrs",
"*",
"createMachineScheduler",
"(",
"MachineSchedContext",
"*",
"C",
")",
"const",
"override",
"{",
"return",
"createPPCMachineScheduler",
"(",
"C",
")",
";",
"}",
"</s>"
] | [
"Create",
"an",
"instance",
"of",
"ScheduleDAGInstrs",
"to",
"be",
"run",
"within",
"the",
"standard",
"MachineScheduler",
"pass",
"for",
"this",
"function",
"and",
"target",
"at",
"the",
"current",
"optimization",
"level",
"."
] | [
"PowerPC",
"PPC"
] | PPCTargetMachine1 | createMachineScheduler | PowerPC | CPU | LLVM | 8,717 | 18 | 1 | [] |
[
"<s>",
"static",
"int",
"csky_address_cost",
"(",
"rtx",
"x",
",",
"machine_mode",
"mode",
"ATTRIBUTE_UNUSED",
",",
"addr_space_t",
"as",
"ATTRIBUTE_UNUSED",
",",
"bool",
"speed",
"ATTRIBUTE_UNUSED",
")",
"{",
"enum",
"rtx_code",
"code",
"=",
"GET_CODE",
"(",
"x... | [
"Implement",
"TARGET_ADDRESS_COST",
"to",
"estimate",
"cost",
"of",
"the",
"memory",
"address",
"X",
".",
"For",
"C-SKY",
",",
"(",
"register",
")",
"and",
"(",
"register",
"+",
"offset",
")",
"have",
"the",
"same",
"cost",
".",
"Other",
"situations",
"cos... | [
"csky",
"1",
"0",
"1",
"1",
"3"
] | csky | csky_address_cost | csky | CPU | GCC | 8,718 | 80 | 1 | [] |
[
"<s>",
"static",
"unsigned",
"findDeadCallerSavedReg",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"&",
"MBBI",
",",
"const",
"TargetRegisterInfo",
"&",
"TRI",
",",
"bool",
"Is64Bit",
")",
"{",
"const",
"MachineFunction",
"*",... | [
"findDeadCallerSavedReg",
"-",
"Return",
"a",
"caller-saved",
"register",
"that",
"is",
"n't",
"live",
"when",
"it",
"reaches",
"the",
"``",
"return",
"''",
"instruction",
"."
] | [
"X86",
"0",
"X86::EAX",
"X86::EDX",
"X86::ECX",
"0",
"X86::RAX",
"X86::RDX",
"X86::RCX",
"X86::RSI",
"X86::RDI",
"X86::R8",
"X86::R9",
"X86::R10",
"X86::R11",
"0",
"0",
"X86::RET",
"X86::RETI",
"X86::TCRETURNdi",
"X86::TCRETURNri",
"X86::TCRETURNmi",
"X86::TCRETURNdi64",
... | X86FrameLowering (2)1 | findDeadCallerSavedReg | X86 | CPU | LLVM | 8,719 | 350 | 1 | [] |
[
"<s>",
"static",
"bool",
"csky_cannot_force_const_mem",
"(",
"machine_mode",
"mode",
"ATTRIBUTE_UNUSED",
",",
"rtx",
"x",
")",
"{",
"return",
"csky_tls_referenced_p",
"(",
"x",
")",
";",
"}",
"</s>"
] | [
"Implement",
"TARGET_CANNOT_FORCE_CONST_MEM",
".",
"Determine",
"if",
"it",
"'s",
"legal",
"to",
"put",
"X",
"into",
"the",
"constant",
"pool",
".",
"This",
"is",
"not",
"possible",
"for",
"the",
"address",
"of",
"thread-local",
"symbols",
",",
"which",
"is",
... | [
"csky"
] | csky | csky_cannot_force_const_mem | csky | CPU | GCC | 8,720 | 19 | 1 | [] |
[
"<s>",
"static",
"rtx",
"nds32_expand_unop_builtin",
"(",
"enum",
"insn_code",
"icode",
",",
"tree",
"exp",
",",
"rtx",
"target",
",",
"bool",
"return_p",
")",
"{",
"rtx",
"pat",
";",
"rtx",
"op0",
"=",
"nds32_read_argument",
"(",
"exp",
",",
"0",
")",
"... | [
"Expand",
"builtins",
"that",
"take",
"one",
"operand",
"."
] | [
"nds32",
"0",
"1",
"0"
] | nds32-intrinsic | nds32_expand_unop_builtin | nds32 | CPU | GCC | 8,721 | 108 | 1 | [] |
[
"<s>",
"static",
"void",
"sparc64_initialize_trampoline",
"(",
"rtx",
"m_tramp",
",",
"rtx",
"fnaddr",
",",
"rtx",
"cxt",
")",
"{",
"emit_move_insn",
"(",
"adjust_address",
"(",
"m_tramp",
",",
"SImode",
",",
"0",
")",
",",
"GEN_INT",
"(",
"trunc_int_for_mode"... | [
"The",
"64",
"bit",
"version",
"is",
"simpler",
"because",
"it",
"makes",
"more",
"sense",
"to",
"load",
"the",
"values",
"as",
"``",
"immediate",
"''",
"data",
"out",
"of",
"the",
"trampoline",
".",
"It",
"'s",
"also",
"easier",
"since",
"we",
"can",
... | [
"sparc",
"0",
"0x83414000",
"4",
"0xca586018",
"8",
"0x81c14000",
"12",
"0xca586010",
"16",
"24",
"0",
"8",
"\"__enable_execute_stack\"",
"1",
"0"
] | sparc6 | sparc64_initialize_trampoline | sparc | CPU | GCC | 8,722 | 222 | 1 | [] |
[
"<s>",
"StringRef",
"getPassName",
"(",
")",
"const",
"override",
"{",
"return",
"\"RV16K DAG->DAG Pattern Instruction Selection\"",
";",
"}",
"</s>"
] | [
"getPassName",
"-",
"Return",
"a",
"nice",
"clean",
"name",
"for",
"a",
"pass",
"."
] | [
"RV16K",
"\"RV16K DAG->DAG Pattern Instruction Selection\""
] | RV16KISelDAGToDAG | getPassName | RV16K | Virtual ISA | LLVM | 8,723 | 11 | 1 | [] |
[
"<s>",
"SparcSubtarget",
"&",
"SparcSubtarget",
"::",
"initializeSubtargetDependencies",
"(",
"StringRef",
"CPU",
",",
"StringRef",
"FS",
")",
"{",
"IsV9",
"=",
"false",
";",
"V8DeprecatedInsts",
"=",
"false",
";",
"IsVIS",
"=",
"false",
";",
"HasHardQuad",
"=",... | [
"initializeSubtargetDependencies",
"-",
"Initializes",
"using",
"a",
"CPU",
",",
"a",
"TuneCPU",
",",
"and",
"feature",
"string",
"so",
"that",
"we",
"can",
"use",
"initializer",
"lists",
"for",
"subtarget",
"initialization",
"."
] | [
"Sparc",
"Sparc",
"Sparc",
"\"v9\"",
"\"v8\""
] | SparcSubtarget1 | initializeSubtargetDependencies | Sparc | CPU | LLVM | 8,724 | 79 | 1 | [] |
[
"<s>",
"unsigned",
"ARMAsmParser",
"::",
"checkTargetMatchPredicate",
"(",
"MCInst",
"&",
"Inst",
")",
"{",
"unsigned",
"Opc",
"=",
"Inst",
".",
"getOpcode",
"(",
")",
";",
"const",
"MCInstrDesc",
"&",
"MCID",
"=",
"MII",
".",
"get",
"(",
"Opc",
")",
";"... | [
"checkTargetMatchPredicate",
"-",
"Validate",
"the",
"instruction",
"match",
"against",
"any",
"complex",
"target",
"predicates",
"not",
"expressible",
"via",
"match",
"classes",
"."
] | [
"ARM",
"ARM",
"ARMII::ThumbArithFlagSetting",
"\"optionally flag setting instruction missing optional def operand\"",
"\"operand count mismatch!\"",
"0",
"ARM::CPSR",
"ARM::CPSR",
"ARM::CPSR",
"ARM::tADDhirr",
"ARM",
"1",
"ARM",
"2",
"ARM::tMOVr",
"ARM",
"0",
"ARM",
"1",
"ARM::... | ARMAsmParser64 | checkTargetMatchPredicate | ARM | CPU | LLVM | 8,725 | 466 | 1 | [] |
[
"<s>",
"const",
"MCPhysReg",
"*",
"AMDGPURegisterInfo",
"::",
"getCalleeSavedRegs",
"(",
"const",
"MachineFunction",
"*",
"MF",
")",
"const",
"{",
"return",
"&",
"CalleeSavedReg",
";",
"}",
"</s>"
] | [
"Code",
"Generation",
"virtual",
"methods",
"..."
] | [
"R600"
] | AMDGPURegisterInfo | getCalleeSavedRegs | R600 | GPU | LLVM | 8,726 | 19 | 1 | [] |
[
"<s>",
"Value",
"*",
"X86TargetLowering",
"::",
"getSafeStackPointerLocation",
"(",
"IRBuilderBase",
"&",
"IRB",
")",
"const",
"{",
"if",
"(",
"Subtarget",
".",
"getTargetTriple",
"(",
")",
".",
"isOSContiki",
"(",
")",
")",
"return",
"getDefaultSafeStackPointerLo... | [
"Return",
"true",
"if",
"the",
"target",
"stores",
"SafeStack",
"pointer",
"at",
"a",
"fixed",
"offset",
"in",
"some",
"non-standard",
"address",
"space",
",",
"and",
"populates",
"the",
"address",
"space",
"and",
"offset",
"as",
"appropriate",
"."
] | [
"X86",
"X86",
"0x48",
"0x24",
"0x18"
] | X86ISelLowering (2)5 | getSafeStackPointerLocation | X86 | CPU | LLVM | 8,727 | 100 | 1 | [] |
[
"<s>",
"bool",
"X86InstructionSelector",
"::",
"select",
"(",
"MachineInstr",
"&",
"I",
")",
"const",
"{",
"assert",
"(",
"I",
".",
"getParent",
"(",
")",
"&&",
"\"Instruction should be in a basic block!\"",
")",
";",
"assert",
"(",
"I",
".",
"getParent",
"(",... | [
"Select",
"the",
"(",
"possibly",
"generic",
")",
"instruction",
"I",
"to",
"only",
"use",
"target-specific",
"opcodes",
"."
] | [
"X86",
"X86",
"\"Instruction should be in a basic block!\"",
"\"Instruction should be in a function!\"",
"\"Generic instruction has unexpected implicit operands\\n\""
] | X86InstructionSelector21 | select | X86 | CPU | LLVM | 8,728 | 137 | 1 | [] |
[
"<s>",
"const",
"PatmosInstrInfo",
"*",
"getInstrInfo",
"(",
")",
"const",
"override",
"{",
"return",
"InstrInfo",
".",
"get",
"(",
")",
";",
"}",
"</s>"
] | [
"TargetInstrInfo",
"getter",
"."
] | [
"Patmos",
"Patmos"
] | PatmosSubtarget1 | getInstrInfo | Patmos | VLIW | LLVM | 8,729 | 17 | 1 | [] |
[
"<s>",
"int",
"arc_attr_type",
"(",
"rtx_insn",
"*",
"insn",
")",
"{",
"if",
"(",
"NONJUMP_INSN_P",
"(",
"insn",
")",
"?",
"(",
"GET_CODE",
"(",
"PATTERN",
"(",
"insn",
")",
")",
"==",
"USE",
"||",
"GET_CODE",
"(",
"PATTERN",
"(",
"insn",
")",
")",
... | [
"Return",
"the",
"integer",
"value",
"of",
"the",
"``",
"type",
"''",
"attribute",
"for",
"INSN",
",",
"or",
"-1",
"if",
"INSN",
"ca",
"n't",
"have",
"attributes",
"."
] | [
"arc",
"1"
] | arc4 | arc_attr_type | arc | MPU | GCC | 8,730 | 81 | 1 | [] |
[
"<s>",
"bool",
"AMDGPULowerIntrinsics",
"::",
"runOnModule",
"(",
"Module",
"&",
"M",
")",
"{",
"bool",
"Changed",
"=",
"false",
";",
"for",
"(",
"Function",
"&",
"F",
":",
"M",
")",
"{",
"if",
"(",
"!",
"F",
".",
"isDeclaration",
"(",
")",
")",
"c... | [
"runOnModule",
"-",
"Virtual",
"method",
"overriden",
"by",
"subclasses",
"to",
"process",
"the",
"module",
"being",
"operated",
"on",
"."
] | [
"AMDGPU",
"AMDGPU",
"Intrinsic::memcpy",
"Intrinsic::memmove",
"Intrinsic::memset",
"Intrinsic::r600_read_tidig_x",
"Intrinsic::r600_read_tidig_y",
"Intrinsic::r600_read_tidig_z",
"Intrinsic::r600_read_local_size_x",
"Intrinsic::r600_read_local_size_y",
"Intrinsic::r600_read_local_size_z"
] | AMDGPULowerIntrinsics7 | runOnModule | AMDGPU | GPU | LLVM | 8,731 | 121 | 1 | [] |
[
"<s>",
"bool",
"writeNopData",
"(",
"uint64_t",
"Count",
",",
"MCObjectWriter",
"*",
"OW",
")",
"const",
"{",
"uint64_t",
"NumNops",
"=",
"Count",
"/",
"4",
";",
"for",
"(",
"uint64_t",
"i",
"=",
"0",
";",
"i",
"!=",
"NumNops",
";",
"++",
"i",
")",
... | [
"Write",
"an",
"(",
"optimal",
")",
"nop",
"sequence",
"of",
"Count",
"bytes",
"to",
"the",
"given",
"output",
"."
] | [
"PowerPC",
"4",
"0",
"0x60000000",
"4",
"1",
"0",
"2",
"0",
"3",
"0",
"0"
] | PPCAsmBackend22 | writeNopData | PowerPC | CPU | LLVM | 8,732 | 99 | 1 | [] |
[
"<s>",
"bool",
"PPCLoopDataPrefetch",
"::",
"runOnFunction",
"(",
"Function",
"&",
"F",
")",
"{",
"LI",
"=",
"&",
"getAnalysis",
"<",
"LoopInfoWrapperPass",
">",
"(",
")",
".",
"getLoopInfo",
"(",
")",
";",
"SE",
"=",
"&",
"getAnalysis",
"<",
"ScalarEvolut... | [
"runOnFunction",
"-",
"Virtual",
"method",
"overriden",
"by",
"subclasses",
"to",
"do",
"the",
"per-function",
"processing",
"of",
"the",
"pass",
"."
] | [
"PowerPC",
"PPC"
] | PPCLoopDataPrefetch1 | runOnFunction | PowerPC | CPU | LLVM | 8,733 | 130 | 1 | [] |
[
"<s>",
"void",
"PTXAsmPrinter",
"::",
"EmitInstruction",
"(",
"const",
"MachineInstr",
"*",
"MI",
")",
"{",
"std",
"::",
"string",
"str",
";",
"str",
".",
"reserve",
"(",
"64",
")",
";",
"raw_string_ostream",
"OS",
"(",
"str",
")",
";",
"printInstruction",... | [
"EmitInstruction",
"-",
"This",
"callback",
"is",
"invoked",
"when",
"an",
"instruction",
"is",
"emitted",
",",
"to",
"advance",
"the",
"hazard",
"state",
"."
] | [
"PTX",
"PTX",
"64",
"\"%type\"",
"5"
] | PTXAsmPrinter1 | EmitInstruction | PTX | GPU | LLVM | 8,734 | 98 | 1 | [] |
[
"<s>",
"bool",
"fixupNeedsRelaxation",
"(",
"const",
"MCFixup",
"&",
"Fixup",
",",
"uint64_t",
"Value",
",",
"const",
"MCRelaxableFragment",
"*",
"DF",
",",
"const",
"MCAsmLayout",
"&",
"Layout",
")",
"const",
"override",
"{",
"llvm_unreachable",
"(",
"\"RelaxIn... | [
"Simple",
"predicate",
"for",
"targets",
"where",
"!",
"Resolved",
"implies",
"requiring",
"relaxation",
"."
] | [
"MCS51",
"\"RelaxInstruction() unimplemented\""
] | MCS51AsmBackend | fixupNeedsRelaxation | MCS51 | MPU | LLVM | 8,735 | 33 | 1 | [] |
[
"<s>",
"void",
"XNCMAsmPrinter",
"::",
"EmitInstruction",
"(",
"const",
"MachineInstr",
"*",
"MI",
")",
"{",
"XNCMMCInstLower",
"MCInstLowering",
"(",
"OutContext",
",",
"*",
"Mang",
",",
"*",
"this",
")",
";",
"MCInst",
"TmpInst",
";",
"MCInstLowering",
".",
... | [
"EmitInstruction",
"-",
"This",
"callback",
"is",
"invoked",
"when",
"an",
"instruction",
"is",
"emitted",
",",
"to",
"advance",
"the",
"hazard",
"state",
"."
] | [
"XNCM",
"XNCM",
"XNCM"
] | XNCMAsmPrinter | EmitInstruction | XNCM | CPU | LLVM | 8,736 | 43 | 1 | [] |
[
"<s>",
"bool",
"TPCPipeliner",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"{",
"if",
"(",
"!",
"EnablePipelining",
")",
"{",
"return",
"false",
";",
"}",
"MLI",
"=",
"&",
"getAnalysis",
"<",
"MachineLoopInfo",
">",
"(",
")",
";",... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"TPC",
"TPC",
"TPC",
"TPC"
] | TPCSoftwareLoopPipelining | runOnMachineFunction | TPC | Virtual ISA | LLVM | 8,737 | 111 | 1 | [] |
[
"<s>",
"static",
"bool",
"bpf_small_register_classes_for_mode_p",
"(",
"machine_mode",
"mode",
")",
"{",
"if",
"(",
"TARGET_XBPF",
")",
"return",
"1",
";",
"else",
"return",
"(",
"mode",
"!=",
"FUNCTION_MODE",
")",
";",
"}",
"</s>"
] | [
"Implement",
"target",
"hook",
"small_register_classes_for_mode_p",
"."
] | [
"bpf",
"1"
] | bpf1 | bpf_small_register_classes_for_mode_p | bpf | Virtual ISA | GCC | 8,738 | 24 | 1 | [] |
[
"<s>",
"bool",
"HexagonOptAddrMode",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"{",
"if",
"(",
"skipFunction",
"(",
"*",
"MF",
".",
"getFunction",
"(",
")",
")",
")",
"return",
"false",
";",
"bool",
"Changed",
"=",
"false",
";",... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"Hexagon",
"Hexagon",
"Hexagon",
"\"==== [RefMap#]=====:\\n \"",
"\"\\n\""
] | HexagonOptAddrMode13 | runOnMachineFunction | Hexagon | DSP | LLVM | 8,739 | 276 | 1 | [] |
[
"<s>",
"void",
"lm32_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",
"]",
"."
] | [
"lm32",
"0",
"1",
"2",
"3"
] | lm32 | lm32_expand_scc | lm32 | MPU | GCC | 8,740 | 59 | 1 | [] |
[
"<s>",
"static",
"void",
"sparc_function_arg_advance",
"(",
"cumulative_args_t",
"cum_v",
",",
"machine_mode",
"mode",
",",
"const_tree",
"type",
",",
"bool",
"named",
")",
"{",
"CUMULATIVE_ARGS",
"*",
"cum",
"=",
"get_cumulative_args",
"(",
"cum_v",
")",
";",
"... | [
"Handle",
"the",
"TARGET_FUNCTION_ARG_ADVANCE",
"hook",
".",
"Update",
"the",
"data",
"in",
"CUM",
"to",
"advance",
"over",
"an",
"argument",
"of",
"mode",
"MODE",
"and",
"data",
"type",
"TYPE",
".",
"TYPE",
"is",
"null",
"for",
"libcalls",
"where",
"that",
... | [
"sparc",
"0"
] | sparc8 | sparc_function_arg_advance | sparc | CPU | GCC | 8,741 | 137 | 1 | [] |
[
"<s>",
"static",
"bool",
"any_sibcall_could_use_r3",
"(",
"void",
")",
"{",
"edge_iterator",
"ei",
";",
"edge",
"e",
";",
"if",
"(",
"!",
"crtl",
"->",
"tail_call_emit",
")",
"return",
"false",
";",
"FOR_EACH_EDGE",
"(",
"e",
",",
"ei",
",",
"EXIT_BLOCK_PT... | [
"Return",
"true",
"if",
"r3",
"is",
"used",
"by",
"any",
"of",
"the",
"tail",
"call",
"insns",
"in",
"the",
"current",
"function",
"."
] | [
"arm",
"3"
] | arm | any_sibcall_could_use_r3 | arm | CPU | GCC | 8,742 | 108 | 1 | [] |
[
"<s>",
"static",
"tree",
"bfin_handle_l1_data_attribute",
"(",
"tree",
"*",
"node",
",",
"tree",
"name",
",",
"tree",
"ARG_UNUSED",
"(",
"args",
")",
",",
"int",
"ARG_UNUSED",
"(",
"flags",
")",
",",
"bool",
"*",
"no_add_attrs",
")",
"{",
"tree",
"decl",
... | [
"Handle",
"a",
"``",
"l1_data",
"''",
",",
"``",
"l1_data_A",
"''",
"or",
"``",
"l1_data_B",
"''",
"attribute",
";",
"arguments",
"as",
"in",
"struct",
"attribute_spec.handler",
"."
] | [
"bfin",
"\"%qE attribute only applies to variables\"",
"\"%qE attribute cannot be specified for local variables\"",
"\"l1_data\"",
"0",
"\".l1.data\"",
"\"l1_data_A\"",
"0",
"\".l1.data.A\"",
"\"l1_data_B\"",
"0",
"\".l1.data.B\"",
"0",
"\"section of %q+D conflicts with previous declaratio... | bfin | bfin_handle_l1_data_attribute | bfin | DSP | GCC | 8,743 | 200 | 1 | [] |
[
"<s>",
"unsigned",
"TL45InstrInfo",
"::",
"insertBranch",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"*",
"TBB",
",",
"MachineBasicBlock",
"*",
"FBB",
",",
"ArrayRef",
"<",
"MachineOperand",
">",
"Cond",
",",
"const",
"DebugLoc",
"&",
"DL",
... | [
"Insert",
"branch",
"code",
"into",
"the",
"end",
"of",
"the",
"specified",
"MachineBasicBlock",
"."
] | [
"TL45",
"TL45",
"0",
"\"Unconditional branch with multiple successors!\"",
"TL45::JMPI",
"4",
"1",
"0",
"0",
"TL45::CMP_JMP",
"TL45::CMPI_JMP",
"1",
"1",
"TL45::r0",
"2",
"3",
"0",
"TL45::JMPI",
"4"
] | TL45InstrInfo | insertBranch | TL45 | MPU | LLVM | 8,744 | 303 | 1 | [] |
[
"<s>",
"static",
"rtx",
"riscv_force_temporary",
"(",
"rtx",
"dest",
",",
"rtx",
"value",
")",
"{",
"if",
"(",
"can_create_pseudo_p",
"(",
")",
")",
"return",
"force_reg",
"(",
"Pmode",
",",
"value",
")",
";",
"else",
"{",
"riscv_emit_move",
"(",
"dest",
... | [
"Copy",
"VALUE",
"to",
"a",
"register",
"and",
"return",
"that",
"register",
".",
"If",
"new",
"pseudos",
"are",
"allowed",
",",
"copy",
"it",
"into",
"a",
"new",
"register",
",",
"otherwise",
"use",
"DEST",
"."
] | [
"riscv"
] | riscv2 | riscv_force_temporary | riscv | CPU | GCC | 8,745 | 39 | 1 | [] |
[
"<s>",
"DFAPacketizer",
"*",
"R600InstrInfo",
"::",
"CreateTargetScheduleState",
"(",
"const",
"TargetMachine",
"*",
"TM",
",",
"const",
"ScheduleDAG",
"*",
"DAG",
")",
"const",
"{",
"const",
"InstrItineraryData",
"*",
"II",
"=",
"TM",
"->",
"getInstrItineraryData... | [
"Create",
"machine",
"specific",
"model",
"for",
"scheduling",
"."
] | [
"R600"
] | R600InstrInfo | CreateTargetScheduleState | R600 | GPU | LLVM | 8,746 | 45 | 1 | [] |
[
"<s>",
"unsigned",
"X86FrameLowering",
"::",
"getWinEHFuncletFrameSize",
"(",
"const",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"const",
"X86MachineFunctionInfo",
"*",
"X86FI",
"=",
"MF",
".",
"getInfo",
"<",
"X86MachineFunctionInfo",
">",
"(",
")",
";",
... | [
"Funclets",
"only",
"need",
"to",
"account",
"for",
"space",
"for",
"the",
"callee",
"saved",
"registers",
",",
"as",
"the",
"locals",
"are",
"accounted",
"for",
"in",
"the",
"parent",
"'s",
"stack",
"frame",
"."
] | [
"X86",
"X86",
"X86",
"X86",
"X86",
"X86",
"X86",
"X86::VR128RegClass"
] | X86FrameLowering (2)3 | getWinEHFuncletFrameSize | X86 | CPU | LLVM | 8,747 | 139 | 1 | [] |
[
"<s>",
"void",
"XCoreAsmPrinter",
"::",
"EmitInstruction",
"(",
"const",
"MachineInstr",
"*",
"MI",
")",
"{",
"SmallString",
"<",
"128",
">",
"Str",
";",
"raw_svector_ostream",
"O",
"(",
"Str",
")",
";",
"switch",
"(",
"MI",
"->",
"getOpcode",
"(",
")",
... | [
"EmitInstruction",
"-",
"This",
"callback",
"is",
"invoked",
"when",
"an",
"instruction",
"is",
"emitted",
",",
"to",
"advance",
"the",
"hazard",
"state",
"."
] | [
"XCore",
"XCore",
"128",
"XCore::DBG_VALUE",
"\"Should be handled target independently\"",
"XCore::ADD_2rus",
"2",
"0",
"\"\\tmov \"",
"XCore",
"0",
"\", \"",
"XCore",
"1",
"XCore::BR_JT",
"XCore::BR_JT32",
"\"\\tbru \"",
"XCore",
"1",
"XCore::BR_JT",
"0",
"0"
] | XCoreAsmPrinter12 | EmitInstruction | XCore | MPU | LLVM | 8,748 | 218 | 1 | [] |
[
"<s>",
"void",
"LC3InstPrinter",
"::",
"printRegName",
"(",
"raw_ostream",
"&",
"OS",
",",
"unsigned",
"RegNo",
")",
"const",
"{",
"OS",
"<<",
"StringRef",
"(",
"getRegisterName",
"(",
"RegNo",
")",
")",
".",
"lower",
"(",
")",
";",
"}",
"</s>"
] | [
"Print",
"the",
"assembler",
"register",
"name",
"."
] | [
"LC3",
"LC3"
] | LC3InstPrinter | printRegName | LC3 | CPU | LLVM | 8,749 | 29 | 1 | [] |
[
"<s>",
"bool",
"SIInstrInfo",
"::",
"isInlineConstant",
"(",
"const",
"MachineOperand",
"&",
"MO",
")",
"const",
"{",
"union",
"{",
"int32_t",
"I",
";",
"float",
"F",
";",
"}",
"Imm",
";",
"if",
"(",
"MO",
".",
"isImm",
"(",
")",
")",
"{",
"Imm",
"... | [
"returns",
"true",
"if",
"the",
"operand",
"OpIdx",
"in",
"MI",
"is",
"a",
"valid",
"inline",
"immediate",
"."
] | [
"R600",
"SI",
"16",
"64",
"0.0f",
"0.5f",
"0.5f",
"1.0f",
"1.0f",
"2.0f",
"2.0f",
"4.0f",
"4.0f"
] | SIInstrInfo43 | isInlineConstant | R600 | GPU | LLVM | 8,750 | 153 | 1 | [] |
[
"<s>",
"bool",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"override",
"{",
"ARM64FunctionInfo",
"*",
"AFI",
"=",
"MF",
".",
"getInfo",
"<",
"ARM64FunctionInfo",
">",
"(",
")",
";",
"if",
"(",
"AFI",
"->",
"getNumLocalDynamicTLSAccesses",
"... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"ARM64",
"ARM64",
"ARM64",
"2",
"0"
] | ARM64CleanupLocalDynamicTLSPass1 | runOnMachineFunction | ARM64 | CPU | LLVM | 8,751 | 62 | 1 | [] |
[
"<s>",
"unsigned",
"PPCInstrInfo",
"::",
"getInstrLatency",
"(",
"const",
"InstrItineraryData",
"*",
"ItinData",
",",
"const",
"MachineInstr",
"&",
"MI",
",",
"unsigned",
"*",
"PredCost",
")",
"const",
"{",
"if",
"(",
"!",
"ItinData",
"||",
"UseOldLatencyCalc",
... | [
"Compute",
"the",
"instruction",
"latency",
"of",
"a",
"given",
"instruction",
"."
] | [
"PowerPC",
"PPC",
"PPC",
"1",
"0",
"0"
] | PPCInstrInfo (2)2 | getInstrLatency | PowerPC | CPU | LLVM | 8,752 | 156 | 1 | [] |
[
"<s>",
"static",
"bool",
"arc_allocate_stack_slots_for_args",
"(",
"void",
")",
"{",
"unsigned",
"int",
"fn_type",
"=",
"arc_compute_function_type",
"(",
"cfun",
")",
";",
"return",
"!",
"ARC_NAKED_P",
"(",
"fn_type",
")",
";",
"}",
"</s>"
] | [
"Implement",
"`",
"TARGET_ALLOCATE_STACK_SLOTS_FOR_ARGS",
"'"
] | [
"arc"
] | arc | arc_allocate_stack_slots_for_args | arc | MPU | GCC | 8,753 | 24 | 1 | [] |
[
"<s>",
"int",
"first_reg_to_save",
"(",
"void",
")",
"{",
"int",
"first_reg",
";",
"for",
"(",
"first_reg",
"=",
"13",
";",
"first_reg",
"<=",
"31",
";",
"first_reg",
"++",
")",
"if",
"(",
"save_reg_p",
"(",
"first_reg",
")",
")",
"break",
";",
"if",
... | [
"Return",
"the",
"first",
"register",
"that",
"is",
"required",
"to",
"be",
"saved",
".",
"16",
"if",
"none",
"."
] | [
"rs6000",
"13",
"31"
] | rs60007 | first_reg_to_save | rs6000 | CPU | GCC | 8,754 | 50 | 1 | [] |
[
"<s>",
"static",
"void",
"nds32_group_insns",
"(",
"rtx_insn",
"*",
"sethi",
")",
"{",
"df_ref",
"def_record",
",",
"use_record",
";",
"df_link",
"*",
"link",
";",
"rtx_insn",
"*",
"use_insn",
"=",
"NULL",
";",
"rtx",
"group_id",
";",
"bool",
"valid",
";",... | [
"Group",
"the",
"relax",
"candidates",
"with",
"group",
"id",
"."
] | [
"nds32",
"1"
] | nds32-relax-opt | nds32_group_insns | nds32 | CPU | GCC | 8,755 | 323 | 1 | [] |
[
"<s>",
"void",
"pa_asm_output_aligned_bss",
"(",
"FILE",
"*",
"stream",
",",
"const",
"char",
"*",
"name",
",",
"unsigned",
"HOST_WIDE_INT",
"size",
",",
"unsigned",
"int",
"align",
")",
"{",
"switch_to_section",
"(",
"bss_section",
")",
";",
"fprintf",
"(",
... | [
"This",
"function",
"places",
"uninitialized",
"global",
"data",
"in",
"the",
"bss",
"section",
".",
"The",
"ASM_OUTPUT_ALIGNED_BSS",
"macro",
"needs",
"to",
"be",
"defined",
"to",
"call",
"this",
"function",
"on",
"the",
"SOM",
"port",
"to",
"prevent",
"unini... | [
"pa",
"\"\\t.align %u\\n\"",
"\"object\"",
"\"\\t.align %u\\n\"",
"\"\\t.block \"",
"\"\\n\""
] | pa4 | pa_asm_output_aligned_bss | pa | CPU | GCC | 8,756 | 85 | 1 | [] |
[
"<s>",
"bool",
"RISCVAsmBackend",
"::",
"mayNeedRelaxation",
"(",
"const",
"MCInst",
"&",
"Inst",
")",
"const",
"{",
"return",
"getRelaxedOpcode",
"(",
"Inst",
".",
"getOpcode",
"(",
")",
")",
"!=",
"Inst",
".",
"getOpcode",
"(",
")",
";",
"}",
"</s>"
] | [
"Check",
"whether",
"the",
"given",
"instruction",
"may",
"need",
"relaxation",
"."
] | [
"RISCV",
"RISCV"
] | RISCVAsmBackend11 | mayNeedRelaxation | RISCV | CPU | LLVM | 8,757 | 29 | 1 | [] |
[
"<s>",
"void",
"print_operand_address",
"(",
"FILE",
"*",
"file",
",",
"rtx",
"x",
")",
"{",
"if",
"(",
"REG_P",
"(",
"x",
")",
")",
"fprintf",
"(",
"file",
",",
"\"0(%s)\"",
",",
"reg_names",
"[",
"REGNO",
"(",
"x",
")",
"]",
")",
";",
"else",
"... | [
"Print",
"the",
"operand",
"address",
"represented",
"by",
"the",
"rtx",
"addr"
] | [
"powerpcspe",
"\"0(%s)\"",
"\"@%s(%s)\"",
"0",
"1",
"0",
"0",
"\"%s,%s\"",
"1",
"0",
"\"%s,%s\"",
"0",
"1",
"0",
"1",
"\"(%s)\"",
"1",
"0",
"0",
"1",
"\"lo16(\"",
"1",
"\")(%s)\"",
"0",
"0",
"1",
"1",
"\"@l(%s)\"",
"0",
"\"@l(%s)\"",
"0",
"\"(%s)\"",
"... | powerpcspe | print_operand_address | powerpcspe | CPU | GCC | 8,758 | 490 | 1 | [] |
[
"<s>",
"const",
"GCNSubtarget",
"*",
"GCNTargetMachine",
"::",
"getSubtargetImpl",
"(",
"const",
"Function",
"&",
"F",
")",
"const",
"{",
"StringRef",
"GPU",
"=",
"getGPUName",
"(",
"F",
")",
";",
"StringRef",
"FS",
"=",
"getFeatureString",
"(",
"F",
")",
... | [
"Virtual",
"method",
"implemented",
"by",
"subclasses",
"that",
"returns",
"a",
"reference",
"to",
"that",
"target",
"'s",
"TargetSubtargetInfo-derived",
"member",
"variable",
"."
] | [
"AMDGPU",
"128"
] | AMDGPUTargetMachine102 | getSubtargetImpl | AMDGPU | GPU | LLVM | 8,759 | 101 | 1 | [] |
[
"<s>",
"static",
"void",
"mt_emit_save_fp",
"(",
"enum",
"save_direction",
"direction",
",",
"struct",
"mt_frame_info",
"info",
")",
"{",
"rtx",
"base_reg",
";",
"int",
"reg_mask",
"=",
"info",
".",
"reg_mask",
"&",
"~",
"(",
"FP_MASK",
"|",
"LINK_MASK",
")"... | [
"Emit",
"code",
"to",
"save",
"the",
"frame",
"pointer",
"in",
"the",
"prologue",
"and",
"restore",
"frame",
"pointer",
"in",
"epilogue",
"."
] | [
"mt",
"0"
] | mt | mt_emit_save_fp | mt | CPU | GCC | 8,760 | 138 | 1 | [] |
[
"<s>",
"int",
"store_multiple_operation",
"(",
"rtx",
"op",
",",
"enum",
"machine_mode",
"mode",
"ATTRIBUTE_UNUSED",
")",
"{",
"int",
"count",
";",
"int",
"mask",
";",
"int",
"i",
";",
"unsigned",
"int",
"last",
";",
"rtx",
"elt",
";",
"count",
"=",
"XVE... | [
"Return",
"true",
"if",
"OP",
"is",
"a",
"store",
"multiple",
"operation",
".",
"It",
"is",
"known",
"to",
"be",
"a",
"PARALLEL",
"and",
"the",
"first",
"section",
"will",
"be",
"tested",
".",
"OP",
"is",
"the",
"current",
"operation",
".",
"MODE",
"is... | [
"mn10300",
"0",
"2",
"0",
"0",
"0",
"0",
"0",
"0",
"1",
"1",
"1",
"4",
"0",
"1",
"0",
"1",
"0",
"0",
"1",
"0",
"0",
"0",
"1",
"1",
"4",
"0",
"0x3c000",
"0",
"0x3c000",
"0x3c000",
"0"
] | mn103003 | store_multiple_operation | mn10300 | MPU | GCC | 8,761 | 362 | 1 | [] |
[
"<s>",
"static",
"int",
"ix86_mode_exit",
"(",
"int",
"entity",
")",
"{",
"switch",
"(",
"entity",
")",
"{",
"case",
"X86_DIRFLAG",
":",
"return",
"X86_DIRFLAG_ANY",
";",
"case",
"AVX_U128",
":",
"return",
"ix86_avx_u128_mode_exit",
"(",
")",
";",
"case",
"I... | [
"Return",
"a",
"mode",
"that",
"ENTITY",
"is",
"assumed",
"to",
"be",
"switched",
"to",
"at",
"function",
"exit",
"."
] | [
"i386"
] | i386 | ix86_mode_exit | i386 | CPU | GCC | 8,762 | 50 | 1 | [] |
[
"<s>",
"ArrayRef",
"<",
"std",
"::",
"pair",
"<",
"int",
",",
"const",
"char",
"*",
">>",
"AMDGPUInstrInfo",
"::",
"getSerializableTargetIndices",
"(",
")",
"const",
"{",
"static",
"std",
"::",
"pair",
"<",
"int",
",",
"const",
"char",
"*",
">",
"TargetI... | [
"Return",
"an",
"array",
"that",
"contains",
"the",
"ids",
"of",
"the",
"target",
"indices",
"(",
"used",
"for",
"the",
"TargetIndex",
"machine",
"operand",
")",
"and",
"their",
"names",
"."
] | [
"AMDGPU",
"AMDGPU",
"AMDGPU::TI_CONSTDATA_START",
"\"amdgpu-constdata-start\"",
"AMDGPU::TI_SCRATCH_RSRC_DWORD0",
"\"amdgpu-scratch-rsrc-dword0\"",
"AMDGPU::TI_SCRATCH_RSRC_DWORD1",
"\"amdgpu-scratch-rsrc-dword1\"",
"AMDGPU::TI_SCRATCH_RSRC_DWORD2",
"\"amdgpu-scratch-rsrc-dword2\"",
"AMDGPU::TI_... | AMDGPUInstrInfo | getSerializableTargetIndices | AMDGPU | GPU | LLVM | 8,763 | 83 | 1 | [] |
[
"<s>",
"bool",
"SIFrameLowering",
"::",
"hasFP",
"(",
"const",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"const",
"MachineFrameInfo",
"&",
"MFI",
"=",
"MF",
".",
"getFrameInfo",
"(",
")",
";",
"if",
"(",
"MFI",
".",
"hasCalls",
"(",
")",
"&&",
"... | [
"hasFP",
"-",
"Return",
"true",
"if",
"the",
"specified",
"function",
"should",
"have",
"a",
"dedicated",
"frame",
"pointer",
"register",
"."
] | [
"AMDGPU",
"SI",
"SI",
"0"
] | SIFrameLowering2 | hasFP | AMDGPU | GPU | LLVM | 8,764 | 100 | 1 | [] |
[
"<s>",
"SDValue",
"M68kTargetLowering",
"::",
"getPICJumpTableRelocBase",
"(",
"SDValue",
"Table",
",",
"SelectionDAG",
"&",
"DAG",
")",
"const",
"{",
"if",
"(",
"getJumpTableEncoding",
"(",
")",
"==",
"MachineJumpTableInfo",
"::",
"EK_Custom32",
")",
"return",
"D... | [
"Returns",
"relocation",
"base",
"for",
"the",
"given",
"PIC",
"jumptable",
"."
] | [
"M68k",
"M68k",
"M68kISD::GLOBAL_BASE_REG"
] | M68kISelLowering | getPICJumpTableRelocBase | M68k | MPU | LLVM | 8,765 | 51 | 1 | [] |
[
"<s>",
"SDValue",
"rvexTargetLowering",
"::",
"LowerFormalArguments",
"(",
"SDValue",
"Chain",
",",
"CallingConv",
"::",
"ID",
"CallConv",
",",
"bool",
"isVarArg",
",",
"const",
"SmallVectorImpl",
"<",
"ISD",
"::",
"InputArg",
">",
"&",
"Ins",
",",
"DebugLoc",
... | [
"This",
"hook",
"must",
"be",
"implemented",
"to",
"lower",
"the",
"incoming",
"(",
"formal",
")",
"arguments",
",",
"described",
"by",
"the",
"Ins",
"array",
",",
"into",
"the",
"specified",
"DAG",
"."
] | [
"rvex",
"rvex",
"ISD::InputArg"
] | rvexISelLowering | LowerFormalArguments | rvex | VLIW | LLVM | 8,766 | 46 | 1 | [] |
[
"<s>",
"const",
"uint16_t",
"*",
"PatmosRegisterInfo",
"::",
"getCalleeSavedRegs",
"(",
"const",
"MachineFunction",
"*",
"MF",
")",
"const",
"{",
"const",
"TargetFrameLowering",
"*",
"TFI",
"=",
"TM",
".",
"getFrameLowering",
"(",
")",
";",
"static",
"const",
... | [
"Code",
"Generation",
"virtual",
"methods",
"..."
] | [
"Patmos",
"Patmos",
"Patmos::S0",
"Patmos::SRB",
"Patmos::SRO",
"Patmos::R21",
"Patmos::R22",
"Patmos::R23",
"Patmos::R24",
"Patmos::R25",
"Patmos::R26",
"Patmos::R27",
"Patmos::R28",
"Patmos::P1",
"Patmos::P2",
"Patmos::P3",
"Patmos::P4",
"Patmos::P5",
"Patmos::P6",
"Patmos::P... | PatmosRegisterInfo | getCalleeSavedRegs | Patmos | VLIW | LLVM | 8,767 | 211 | 1 | [] |
[
"<s>",
"bool",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"override",
"{",
"TII",
"=",
"MF",
".",
"getSubtarget",
"<",
"R600Subtarget",
">",
"(",
")",
".",
"getInstrInfo",
"(",
")",
";",
"TRI",
"=",
"&",
"TII",
"->",
"getRegisterInfo",... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"AMDGPU",
"R600",
"\"LoopInfo:\\n\""
] | AMDILCFGStructurizer14 | runOnMachineFunction | AMDGPU | GPU | LLVM | 8,768 | 161 | 1 | [] |
[
"<s>",
"static",
"void",
"thumb_set_frame_pointer",
"(",
"arm_stack_offsets",
"*",
"offsets",
")",
"{",
"HOST_WIDE_INT",
"amount",
";",
"rtx",
"insn",
",",
"dwarf",
";",
"amount",
"=",
"offsets",
"->",
"outgoing_args",
"-",
"offsets",
"->",
"locals_base",
";",
... | [
"Set",
"the",
"Thumb",
"frame",
"pointer",
"from",
"the",
"stack",
"pointer",
"."
] | [
"arm",
"1024",
"1",
"1"
] | arm4 | thumb_set_frame_pointer | arm | CPU | GCC | 8,769 | 145 | 1 | [] |
[
"<s>",
"void",
"i386_pe_seh_end_prologue",
"(",
"FILE",
"*",
"f",
")",
"{",
"if",
"(",
"!",
"TARGET_SEH",
")",
"return",
";",
"if",
"(",
"cfun",
"->",
"is_thunk",
")",
"return",
";",
"cfun",
"->",
"machine",
"->",
"seh",
"->",
"after_prologue",
"=",
"t... | [
"Emit",
"an",
"assembler",
"directive",
"for",
"the",
"end",
"of",
"the",
"prologue",
"."
] | [
"i386",
"\"\\t.seh_endprologue\\n\""
] | winnt | i386_pe_seh_end_prologue | i386 | CPU | GCC | 8,770 | 41 | 1 | [] |
[
"<s>",
"ChangeStatus",
"updateImpl",
"(",
"Attributor",
"&",
"A",
")",
"override",
"{",
"ChangeStatus",
"Change",
"=",
"ChangeStatus",
"::",
"UNCHANGED",
";",
"auto",
"CheckCallSite",
"=",
"[",
"&",
"]",
"(",
"AbstractCallSite",
"CS",
")",
"{",
"Function",
"... | [
"The",
"actual",
"update/transfer",
"function",
"which",
"has",
"to",
"be",
"implemented",
"by",
"the",
"derived",
"classes",
"."
] | [
"AMDGPU",
"\"[AAAMDFlatWorkGroupSize] Call \"",
"\"->\""
] | AMDGPUAttributor | updateImpl | AMDGPU | GPU | LLVM | 8,771 | 149 | 1 | [] |
[
"<s>",
"static",
"reg_class_t",
"ix86_preferred_reload_class",
"(",
"rtx",
"x",
",",
"reg_class_t",
"regclass",
")",
"{",
"machine_mode",
"mode",
"=",
"GET_MODE",
"(",
"x",
")",
";",
"if",
"(",
"regclass",
"==",
"NO_REGS",
")",
"return",
"NO_REGS",
";",
"if"... | [
"Put",
"float",
"CONST_DOUBLE",
"in",
"the",
"constant",
"pool",
"instead",
"of",
"fp",
"regs",
".",
"QImode",
"must",
"go",
"into",
"class",
"Q_REGS",
".",
"Narrow",
"ALL_REGS",
"to",
"GENERAL_REGS",
".",
"This",
"supports",
"allowing",
"movsf",
"and",
"mov... | [
"i386",
"0"
] | i3866 | ix86_preferred_reload_class | i386 | CPU | GCC | 8,772 | 221 | 1 | [] |
[
"<s>",
"bool",
"SITargetLowering",
"::",
"CanLowerReturn",
"(",
"CallingConv",
"::",
"ID",
"CallConv",
",",
"MachineFunction",
"&",
"MF",
",",
"bool",
"IsVarArg",
",",
"const",
"SmallVectorImpl",
"<",
"ISD",
"::",
"OutputArg",
">",
"&",
"Outs",
",",
"LLVMConte... | [
"This",
"hook",
"should",
"be",
"implemented",
"to",
"check",
"whether",
"the",
"return",
"values",
"described",
"by",
"the",
"Outs",
"array",
"can",
"fit",
"into",
"the",
"return",
"registers",
"."
] | [
"AMDGPU",
"SI",
"ISD::OutputArg",
"AMDGPU::isEntryFunctionCC",
"16"
] | SIISelLowering (2)3 | CanLowerReturn | AMDGPU | GPU | LLVM | 8,773 | 83 | 1 | [] |
[
"<s>",
"bool",
"MBlazeAsmParser",
"::",
"ParseInstruction",
"(",
"StringRef",
"Name",
",",
"SMLoc",
"NameLoc",
",",
"SmallVectorImpl",
"<",
"MCParsedAsmOperand",
"*",
">",
"&",
"Operands",
")",
"{",
"size_t",
"dotLoc",
"=",
"Name",
".",
"find",
"(",
"'.'",
"... | [
"ParseInstruction",
"-",
"Parse",
"one",
"assembly",
"instruction",
"."
] | [
"MBlaze",
"MBlaze",
"MBlaze",
"0",
"MBlaze",
"\"lw\"",
"\"sw\"",
"\"lh\"",
"\"sh\"",
"\"lb\"",
"\"sb\""
] | MBlazeAsmParser10 | ParseInstruction | MBlaze | MPU | LLVM | 8,774 | 210 | 1 | [] |
[
"<s>",
"void",
"SIFrameLowering",
"::",
"processFunctionBeforeFrameFinalized",
"(",
"MachineFunction",
"&",
"MF",
",",
"RegScavenger",
"*",
"RS",
")",
"const",
"{",
"MachineFrameInfo",
"&",
"MFI",
"=",
"MF",
".",
"getFrameInfo",
"(",
")",
";",
"if",
"(",
"!",
... | [
"processFunctionBeforeFrameFinalized",
"-",
"This",
"method",
"is",
"called",
"immediately",
"before",
"the",
"specified",
"function",
"'s",
"frame",
"layout",
"(",
"MF.getFrameInfo",
"(",
")",
")",
"is",
"finalized",
"."
] | [
"AMDGPU",
"SI",
"\"RegScavenger required if spilling\"",
"AMDGPU::SGPR_32RegClass",
"AMDGPU::SGPR_32RegClass"
] | SIFrameLowering27 | processFunctionBeforeFrameFinalized | AMDGPU | GPU | LLVM | 8,775 | 95 | 1 | [] |
[
"<s>",
"static",
"void",
"sparc_asm_function_epilogue",
"(",
"FILE",
"*",
"file",
",",
"HOST_WIDE_INT",
"size",
"ATTRIBUTE_UNUSED",
")",
"{",
"rtx",
"insn",
",",
"last_real_insn",
";",
"insn",
"=",
"get_last_insn",
"(",
")",
";",
"last_real_insn",
"=",
"prev_rea... | [
"This",
"function",
"generates",
"the",
"assembly",
"code",
"for",
"function",
"exit",
"."
] | [
"sparc",
"0",
"0",
"\"\\tnop\\n\""
] | sparc4 | sparc_asm_function_epilogue | sparc | CPU | GCC | 8,776 | 91 | 1 | [] |
[
"<s>",
"static",
"int",
"arm_needs_doubleword_align",
"(",
"machine_mode",
"mode",
",",
"const_tree",
"type",
")",
"{",
"if",
"(",
"!",
"type",
")",
"return",
"GET_MODE_ALIGNMENT",
"(",
"mode",
")",
">",
"PARM_BOUNDARY",
";",
"if",
"(",
"!",
"AGGREGATE_TYPE_P"... | [
"Return",
"1",
"if",
"double",
"word",
"alignment",
"is",
"required",
"for",
"argument",
"passing",
".",
"Return",
"-1",
"if",
"double",
"word",
"alignment",
"used",
"to",
"be",
"required",
"for",
"argument",
"passing",
"before",
"PR77728",
"ABI",
"fix",
","... | [
"arm",
"0",
"0",
"1",
"1",
"1",
"2"
] | arm | arm_needs_doubleword_align | arm | CPU | GCC | 8,777 | 161 | 1 | [] |
[
"<s>",
"void",
"GCNHazardRecognizer",
"::",
"RecedeCycle",
"(",
")",
"{",
"llvm_unreachable",
"(",
"\"hazard recognizer does not support bottom-up scheduling.\"",
")",
";",
"}",
"</s>"
] | [
"RecedeCycle",
"-",
"This",
"callback",
"is",
"invoked",
"whenever",
"the",
"next",
"bottom-up",
"instruction",
"to",
"be",
"scheduled",
"can",
"not",
"issue",
"in",
"the",
"current",
"cycle",
",",
"either",
"because",
"of",
"latency",
"or",
"resource",
"confl... | [
"AMDGPU",
"\"hazard recognizer does not support bottom-up scheduling.\""
] | GCNHazardRecognizer (2) | RecedeCycle | AMDGPU | GPU | LLVM | 8,778 | 13 | 1 | [] |
[
"<s>",
"bool",
"mips_cannot_change_mode_class",
"(",
"enum",
"machine_mode",
"from",
",",
"enum",
"machine_mode",
"to",
",",
"enum",
"reg_class",
"class",
")",
"{",
"if",
"(",
"MIN",
"(",
"GET_MODE_SIZE",
"(",
"from",
")",
",",
"GET_MODE_SIZE",
"(",
"to",
")... | [
"Implement",
"CANNOT_CHANGE_MODE_CLASS",
"."
] | [
"mips",
"1"
] | mips3 | mips_cannot_change_mode_class | mips | CPU | GCC | 8,779 | 116 | 1 | [] |
[
"<s>",
"void",
"getAnalysisUsage",
"(",
"AnalysisUsage",
"&",
"AU",
")",
"const",
"override",
"{",
"AU",
".",
"setPreservesCFG",
"(",
")",
";",
"AU",
".",
"addRequired",
"<",
"MachineDominatorTree",
">",
"(",
")",
";",
"MachineFunctionPass",
"::",
"getAnalysis... | [
"getAnalysisUsage",
"-",
"Subclasses",
"that",
"override",
"getAnalysisUsage",
"must",
"call",
"this",
"."
] | [
"X86"
] | X86InstrInfo (2) | getAnalysisUsage | X86 | CPU | LLVM | 8,780 | 33 | 1 | [] |
[
"<s>",
"void",
"BPFDAGToDAGISel",
"::",
"Select",
"(",
"SDNode",
"*",
"Node",
")",
"{",
"unsigned",
"Opcode",
"=",
"Node",
"->",
"getOpcode",
"(",
")",
";",
"DEBUG",
"(",
"dbgs",
"(",
")",
"<<",
"\"Selecting: \"",
";",
"Node",
"->",
"dump",
"(",
"CurDA... | [
"Main",
"hook",
"for",
"targets",
"to",
"transform",
"nodes",
"into",
"machine",
"nodes",
"."
] | [
"BPF",
"BPF",
"\"Selecting: \"",
"\"== \"",
"ISD::SDIV",
"\"Error at line \"",
"\": \"",
"\"Error: \"",
"\"Unsupport signed division for DAG: \"",
"\"Please convert to unsigned div/mod.\\n\"",
"ISD::INTRINSIC_W_CHAIN",
"1",
"Intrinsic::bpf_load_byte",
"Intrinsic::bpf_load_half",
"Intrins... | BPFISelDAGToDAG | Select | BPF | Virtual ISA | LLVM | 8,781 | 415 | 1 | [] |
[
"<s>",
"void",
"emit_shift",
"(",
"enum",
"rtx_code",
"code",
",",
"rtx",
"op0",
",",
"rtx",
"op1",
",",
"rtx",
"op2",
")",
"{",
"rtx",
"shift",
"=",
"gen_rtx_fmt_ee",
"(",
"code",
",",
"SImode",
",",
"op1",
",",
"op2",
")",
";",
"rtx",
"pat",
"=",... | [
"Emit",
"a",
"shift",
"insn",
"to",
"set",
"OP0",
"to",
"OP1",
"shifted",
"by",
"OP2",
";",
"CODE",
"specifies",
"what",
"kind",
"of",
"shift",
"."
] | [
"arc"
] | arc | emit_shift | arc | MPU | GCC | 8,782 | 64 | 1 | [] |
[
"<s>",
"void",
"alpha_emit_xfloating_arith",
"(",
"enum",
"rtx_code",
"code",
",",
"rtx",
"operands",
"[",
"]",
")",
"{",
"rtx",
"func",
";",
"int",
"mode",
";",
"rtx",
"out_operands",
"[",
"3",
"]",
";",
"func",
"=",
"alpha_lookup_xfloating_lib_func",
"(",
... | [
"Emit",
"an",
"X_floating",
"library",
"function",
"call",
"for",
"arithmetic",
"(",
"+",
",",
"-",
",",
"*",
",",
"/",
")",
"."
] | [
"alpha",
"3",
"0",
"1",
"1",
"2",
"2",
"0",
"3",
"1",
"2"
] | alpha | alpha_emit_xfloating_arith | alpha | MPU | GCC | 8,783 | 103 | 1 | [] |
[
"<s>",
"SDValue",
"AArch64TargetLowering",
"::",
"BuildSDIVPow2",
"(",
"SDNode",
"*",
"N",
",",
"const",
"APInt",
"&",
"Divisor",
",",
"SelectionDAG",
"&",
"DAG",
",",
"std",
"::",
"vector",
"<",
"SDNode",
"*",
">",
"*",
"Created",
")",
"const",
"{",
"At... | [
"Targets",
"may",
"override",
"this",
"function",
"to",
"provide",
"custom",
"SDIV",
"lowering",
"for",
"power-of-2",
"denominators",
"."
] | [
"AArch64",
"AArch64",
"0",
"0",
"0",
"MVT::i32",
"MVT::i64",
"0",
"0",
"1ULL",
"1",
"AArch64",
"ISD::SETLT",
"ISD::ADD",
"AArch64ISD::CSEL",
"ISD::SRA",
"MVT::i64",
"ISD::SUB",
"0"
] | AArch64ISelLowering105 | BuildSDIVPow2 | AArch64 | CPU | LLVM | 8,784 | 368 | 1 | [] |
[
"<s>",
"void",
"MipsTargetObjectFile",
"::",
"Initialize",
"(",
"MCContext",
"&",
"Ctx",
",",
"const",
"TargetMachine",
"&",
"TM",
")",
"{",
"TargetLoweringObjectFileELF",
"::",
"Initialize",
"(",
"Ctx",
",",
"TM",
")",
";",
"SmallDataSection",
"=",
"getContext"... | [
"This",
"method",
"must",
"be",
"called",
"before",
"any",
"actual",
"lowering",
"is",
"done",
"."
] | [
"Mips",
"Mips",
"\".sdata\"",
"\".sbss\"",
"Mips"
] | MipsTargetObjectFile21 | Initialize | Mips | CPU | LLVM | 8,785 | 94 | 1 | [] |
[
"<s>",
"static",
"bool",
"aarch64_sve_cmp_operand_p",
"(",
"rtx_code",
"op_code",
",",
"rtx",
"x",
")",
"{",
"if",
"(",
"register_operand",
"(",
"x",
",",
"VOIDmode",
")",
")",
"return",
"true",
";",
"switch",
"(",
"op_code",
")",
"{",
"case",
"LTU",
":"... | [
"Return",
"true",
"if",
"X",
"is",
"a",
"valid",
"second",
"operand",
"for",
"the",
"SVE",
"instruction",
"that",
"implements",
"integer",
"comparison",
"OP_CODE",
"."
] | [
"aarch64"
] | aarch645 | aarch64_sve_cmp_operand_p | aarch64 | CPU | GCC | 8,786 | 82 | 1 | [] |
[
"<s>",
"static",
"int",
"get_arc_condition_code",
"(",
"rtx",
"comparison",
")",
"{",
"switch",
"(",
"GET_MODE",
"(",
"XEXP",
"(",
"comparison",
",",
"0",
")",
")",
")",
"{",
"case",
"CCmode",
":",
"case",
"SImode",
":",
"switch",
"(",
"GET_CODE",
"(",
... | [
"Returns",
"the",
"index",
"of",
"the",
"ARC",
"condition",
"code",
"string",
"in",
"`",
"arc_condition_codes",
"'",
".",
"COMPARISON",
"should",
"be",
"an",
"rtx",
"like",
"`",
"(",
"eq",
"(",
"...",
")",
"(",
"...",
")",
")",
"'",
"."
] | [
"arc",
"0",
"42"
] | arc4 | get_arc_condition_code | arc | MPU | GCC | 8,787 | 431 | 1 | [] |
[
"<s>",
"static",
"bool",
"sparc_vectorize_vec_perm_const",
"(",
"machine_mode",
"vmode",
",",
"rtx",
"target",
",",
"rtx",
"op0",
",",
"rtx",
"op1",
",",
"const",
"vec_perm_indices",
"&",
"sel",
")",
"{",
"if",
"(",
"!",
"TARGET_VIS2",
")",
"return",
"false"... | [
"Implement",
"TARGET_VEC_PERM_CONST",
"."
] | [
"sparc",
"0",
"8",
"0xf",
"28",
"4"
] | sparc | sparc_vectorize_vec_perm_const | sparc | CPU | GCC | 8,788 | 166 | 1 | [] |
[
"<s>",
"int",
"M680x0RegisterInfo",
"::",
"getSpillRegisterOrder",
"(",
"unsigned",
"Reg",
")",
"const",
"{",
"int",
"Result",
"=",
"getRegisterOrder",
"(",
"Reg",
",",
"*",
"getRegClass",
"(",
"M680x0",
"::",
"SPILLRegClassID",
")",
")",
";",
"if",
"(",
"Re... | [
"Return",
"spill",
"order",
"index",
"of",
"a",
"register",
",",
"if",
"there",
"is",
"none",
"then",
"trap",
"."
] | [
"M680x0",
"M680x0",
"M680x0::SPILLRegClassID",
"0",
"\"Cannot determine spill order\""
] | M680x0RegisterInfo | getSpillRegisterOrder | M680x0 | MPU | LLVM | 8,789 | 43 | 1 | [] |
[
"<s>",
"int",
"frv_expand_block_clear",
"(",
"rtx",
"operands",
"[",
"]",
")",
"{",
"rtx",
"orig_dest",
"=",
"operands",
"[",
"0",
"]",
";",
"rtx",
"bytes_rtx",
"=",
"operands",
"[",
"1",
"]",
";",
"rtx",
"align_rtx",
"=",
"operands",
"[",
"3",
"]",
... | [
"Expand",
"a",
"block",
"clear",
"operation",
",",
"and",
"return",
"1",
"if",
"successful",
".",
"Return",
"0",
"if",
"we",
"should",
"let",
"the",
"compiler",
"generate",
"normal",
"code",
".",
"operands",
"[",
"0",
"]",
"is",
"the",
"destination",
"op... | [
"frv",
"0",
"1",
"3",
"0",
"0",
"0",
"0",
"0",
"4",
"4",
"2",
"2"
] | frv2 | frv_expand_block_clear | frv | VLIW | GCC | 8,790 | 251 | 1 | [] |
[
"<s>",
"void",
"GCNPassConfig",
"::",
"addPreEmitPass",
"(",
")",
"{",
"addPass",
"(",
"createSIMemoryLegalizerPass",
"(",
")",
")",
";",
"addPass",
"(",
"createSIInsertWaitcntsPass",
"(",
")",
")",
";",
"addPass",
"(",
"createSIShrinkInstructionsPass",
"(",
")",
... | [
"This",
"pass",
"may",
"be",
"implemented",
"by",
"targets",
"that",
"want",
"to",
"run",
"passes",
"immediately",
"before",
"machine",
"code",
"is",
"emitted",
"."
] | [
"AMDGPU",
"SI",
"SI",
"SI",
"SI",
"SI"
] | AMDGPUTargetMachine104 | addPreEmitPass | AMDGPU | GPU | LLVM | 8,791 | 54 | 1 | [] |
[
"<s>",
"static",
"int",
"rs6000_memory_move_cost",
"(",
"machine_mode",
"mode",
",",
"reg_class_t",
"rclass",
",",
"bool",
"in",
"ATTRIBUTE_UNUSED",
")",
"{",
"int",
"ret",
";",
"if",
"(",
"TARGET_DEBUG_COST",
")",
"dbg_cost_ctrl",
"++",
";",
"if",
"(",
"reg_c... | [
"A",
"C",
"expressions",
"returning",
"the",
"cost",
"of",
"moving",
"data",
"of",
"MODE",
"from",
"a",
"register",
"to",
"or",
"from",
"memory",
"."
] | [
"rs6000",
"4",
"0",
"4",
"32",
"4",
"4",
"1",
"\"rs6000_memory_move_cost: ret=%d, mode=%s, rclass=%s, in=%d\\n\""
] | rs6000 | rs6000_memory_move_cost | rs6000 | CPU | GCC | 8,792 | 150 | 1 | [] |
[
"<s>",
"SDValue",
"X86SelectionDAGInfo",
"::",
"EmitTargetCodeForMemcpy",
"(",
"SelectionDAG",
"&",
"DAG",
",",
"const",
"SDLoc",
"&",
"dl",
",",
"SDValue",
"Chain",
",",
"SDValue",
"Dst",
",",
"SDValue",
"Src",
",",
"SDValue",
"Size",
",",
"Align",
"Alignment... | [
"Emit",
"target-specific",
"code",
"that",
"performs",
"a",
"memcpy",
"."
] | [
"X86",
"X86",
"256",
"256",
"X86::RCX",
"X86::RSI",
"X86::RDI",
"X86::ECX",
"X86::ESI",
"X86::EDI",
"X86",
"X86",
"MVT::i8"
] | X86SelectionDAGInfo24 | EmitTargetCodeForMemcpy | X86 | CPU | LLVM | 8,793 | 224 | 1 | [] |
[
"<s>",
"bool",
"SystemZTargetLowering",
"::",
"allowsMisalignedMemoryAccesses",
"(",
"EVT",
"VT",
",",
"unsigned",
",",
"Align",
",",
"MachineMemOperand",
"::",
"Flags",
",",
"bool",
"*",
"Fast",
")",
"const",
"{",
"if",
"(",
"Fast",
")",
"*",
"Fast",
"=",
... | [
"Returns",
"true",
"if",
"the",
"target",
"allows",
"unaligned",
"memory",
"accesses",
"of",
"the",
"specified",
"type",
"."
] | [
"SystemZ",
"SystemZ"
] | SystemZISelLowering (2)2 | allowsMisalignedMemoryAccesses | SystemZ | CPU | LLVM | 8,794 | 35 | 1 | [] |
[
"<s>",
"bool",
"HexagonPassConfig",
"::",
"addInstSelector",
"(",
")",
"{",
"HexagonTargetMachine",
"&",
"TM",
"=",
"getHexagonTargetMachine",
"(",
")",
";",
"bool",
"NoOpt",
"=",
"(",
"getOptLevel",
"(",
")",
"==",
"CodeGenOpt",
"::",
"None",
")",
";",
"if"... | [
"addInstSelector",
"-",
"This",
"method",
"should",
"install",
"an",
"instruction",
"selector",
"pass",
",",
"which",
"converts",
"from",
"LLVM",
"code",
"to",
"machine",
"instructions",
"."
] | [
"Hexagon",
"Hexagon",
"Hexagon",
"Hexagon",
"Hexagon",
"Hexagon",
"Hexagon",
"Hexagon",
"Hexagon",
"Hexagon",
"Hexagon",
"\"After hexagon peephole pass\"",
"Hexagon",
"Hexagon"
] | HexagonTargetMachine (2) | addInstSelector | Hexagon | DSP | LLVM | 8,795 | 152 | 1 | [] |
[
"<s>",
"bool",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"override",
"{",
"const",
"PPCSubtarget",
"&",
"STI",
"=",
"MF",
".",
"getSubtarget",
"<",
"PPCSubtarget",
">",
"(",
")",
";",
"if",
"(",
"!",
"STI",
".",
"hasVSX",
"(",
")",
... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"PowerPC",
"PPC",
"PPC"
] | PPCVSXFMAMutate (2) | runOnMachineFunction | PowerPC | CPU | LLVM | 8,796 | 112 | 1 | [] |
[
"<s>",
"SDValue",
"XCoreTargetLowering",
"::",
"LowerReturn",
"(",
"SDValue",
"Chain",
",",
"CallingConv",
"::",
"ID",
"CallConv",
",",
"bool",
"isVarArg",
",",
"const",
"SmallVectorImpl",
"<",
"ISD",
"::",
"OutputArg",
">",
"&",
"Outs",
",",
"const",
"SmallVe... | [
"This",
"hook",
"must",
"be",
"implemented",
"to",
"lower",
"outgoing",
"return",
"values",
",",
"described",
"by",
"the",
"Outs",
"array",
",",
"into",
"the",
"specified",
"DAG",
"."
] | [
"XCore",
"XCore",
"ISD::OutputArg",
"XCore",
"XCore",
"16",
"4",
"XCore",
"4",
"1",
"0",
"MVT::i32",
"4",
"0",
"\"Can't return value from vararg function in memory\"",
"8",
"MVT::i32",
"ISD::TokenFactor",
"MVT::Other",
"0",
"1",
"0",
"XCoreISD::RETSP",
"MVT::Other"
] | XCoreISelLowering2 | LowerReturn | XCore | MPU | LLVM | 8,797 | 496 | 1 | [] |
[
"<s>",
"pop",
"(",
"unsigned",
"i",
")",
":",
"i",
"(",
"i",
")",
"{",
"}",
"</s>"
] | [
"Pop",
"the",
"previous",
"solver",
"state",
"."
] | [
"TVM"
] | TVMStackFixup | pop | TVM | Virtual ISA | LLVM | 8,798 | 12 | 1 | [] |
[
"<s>",
"std",
"::",
"string",
"LineReader",
"::",
"readLine",
"(",
"unsigned",
"lineNum",
")",
"{",
"if",
"(",
"lineNum",
"<",
"theCurLine",
")",
"{",
"theCurLine",
"=",
"0",
";",
"fstr",
".",
"seekg",
"(",
"0",
",",
"std",
"::",
"ios",
"::",
"beg",
... | [
"Reads",
"a",
"line",
"."
] | [
"NVPTX",
"0",
"0",
"500"
] | NVPTXAsmPrinter14 | readLine | NVPTX | GPU | LLVM | 8,799 | 60 | 1 | [] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.