ground_truth listlengths 8 512 | natrual_language listlengths 1 243 | TS_V_token listlengths 1 182 | File stringlengths 2 45 | Func stringlengths 1 56 | Target stringclasses 175
values | Target_Clf stringclasses 6
values | Compiler_Type stringclasses 2
values | Idx int64 0 36.2k | Length int64 6 510 | Cover_Rate float64 1 1 | Template_token listlengths 0 0 |
|---|---|---|---|---|---|---|---|---|---|---|---|
[
"<s>",
"bool",
"s390_vectorize_vec_perm_const",
"(",
"machine_mode",
"vmode",
",",
"rtx",
"target",
",",
"rtx",
"op0",
",",
"rtx",
"op1",
",",
"const",
"vec_perm_indices",
"&",
"sel",
")",
"{",
"struct",
"expand_vec_perm_d",
"d",
";",
"unsigned",
"int",
"i",
... | [
"Return",
"true",
"if",
"we",
"can",
"emit",
"instructions",
"for",
"the",
"constant",
"permutation",
"vector",
"in",
"SEL",
".",
"If",
"OUTPUT",
",",
"IN0",
",",
"IN1",
"are",
"non-null",
"the",
"hook",
"is",
"supposed",
"to",
"emit",
"the",
"required",
... | [
"s390",
"16",
"0",
"2"
] | s390 | s390_vectorize_vec_perm_const | s390 | MPU | GCC | 22,000 | 176 | 1 | [] |
[
"<s>",
"static",
"enum",
"rs6000_reg_type",
"register_to_reg_type",
"(",
"rtx",
"reg",
",",
"bool",
"*",
"is_altivec",
")",
"{",
"HOST_WIDE_INT",
"regno",
";",
"enum",
"reg_class",
"rclass",
";",
"if",
"(",
"SUBREG_P",
"(",
"reg",
")",
")",
"reg",
"=",
"SU... | [
"Classify",
"a",
"register",
"type",
".",
"Because",
"the",
"FMRGOW/FMRGEW",
"instructions",
"only",
"work",
"on",
"traditional",
"floating",
"point",
"registers",
",",
"and",
"the",
"VMRGOW/VMRGEW",
"instructions",
"only",
"work",
"on",
"the",
"traditional",
"alt... | [
"rs6000",
"0",
"0"
] | rs6000 | register_to_reg_type | rs6000 | CPU | GCC | 22,001 | 133 | 1 | [] |
[
"<s>",
"bool",
"s390_hard_regno_rename_ok",
"(",
"unsigned",
"int",
"old_reg",
",",
"unsigned",
"int",
"new_reg",
")",
"{",
"if",
"(",
"cfun",
"->",
"machine",
"->",
"base_reg",
")",
"if",
"(",
"REGNO",
"(",
"cfun",
"->",
"machine",
"->",
"base_reg",
")",
... | [
"Return",
"nonzero",
"if",
"register",
"OLD_REG",
"can",
"be",
"renamed",
"to",
"register",
"NEW_REG",
"."
] | [
"s390",
"0"
] | s3904 | s390_hard_regno_rename_ok | s390 | MPU | GCC | 22,002 | 74 | 1 | [] |
[
"<s>",
"bool",
"mips_const_vector_same_val_p",
"(",
"rtx",
"op",
",",
"machine_mode",
"mode",
")",
"{",
"int",
"i",
",",
"nunits",
"=",
"GET_MODE_NUNITS",
"(",
"mode",
")",
";",
"rtx",
"first",
";",
"if",
"(",
"GET_CODE",
"(",
"op",
")",
"!=",
"CONST_VEC... | [
"Return",
"true",
"if",
"OP",
"is",
"a",
"constant",
"vector",
"with",
"the",
"number",
"of",
"units",
"in",
"MODE",
",",
"and",
"each",
"unit",
"has",
"the",
"same",
"value",
"."
] | [
"mips",
"0",
"1"
] | mips | mips_const_vector_same_val_p | mips | CPU | GCC | 22,003 | 86 | 1 | [] |
[
"<s>",
"const",
"MCPhysReg",
"*",
"SystemZRegisterInfo",
"::",
"getCalleeSavedRegs",
"(",
"const",
"MachineFunction",
"*",
"MF",
")",
"const",
"{",
"const",
"SystemZSubtarget",
"&",
"Subtarget",
"=",
"MF",
"->",
"getSubtarget",
"<",
"SystemZSubtarget",
">",
"(",
... | [
"Code",
"Generation",
"virtual",
"methods",
"..."
] | [
"SystemZ",
"SystemZ",
"SystemZ",
"SystemZ",
"SystemZ",
"SystemZ",
"SystemZ",
"SystemZ"
] | SystemZRegisterInfo16 | getCalleeSavedRegs | SystemZ | CPU | LLVM | 22,004 | 95 | 1 | [] |
[
"<s>",
"static",
"void",
"tilepro_trampoline_init",
"(",
"rtx",
"m_tramp",
",",
"tree",
"fndecl",
",",
"rtx",
"static_chain",
")",
"{",
"rtx",
"fnaddr",
",",
"chaddr",
";",
"rtx",
"mem",
";",
"rtx",
"begin_addr",
",",
"end_addr",
";",
"int",
"ptr_mode_size",... | [
"Implement",
"TARGET_TRAMPOLINE_INIT",
"."
] | [
"tilepro",
"0",
"2",
"0",
"0",
"\"__clear_cache\"",
"2"
] | tilepro2 | tilepro_trampoline_init | tilepro | VLIW | GCC | 22,005 | 175 | 1 | [] |
[
"<s>",
"static",
"tree",
"ix86_mangle_function_version_assembler_name",
"(",
"tree",
"decl",
",",
"tree",
"id",
")",
"{",
"tree",
"version_attr",
";",
"const",
"char",
"*",
"orig_name",
",",
"*",
"version_string",
";",
"char",
"*",
"attr_str",
",",
"*",
"assem... | [
"This",
"function",
"changes",
"the",
"assembler",
"name",
"for",
"functions",
"that",
"are",
"versions",
".",
"If",
"DECL",
"is",
"a",
"function",
"version",
"and",
"has",
"a",
"``",
"target",
"''",
"attribute",
",",
"it",
"appends",
"the",
"attribute",
"... | [
"i386",
"\"gnu_inline\"",
"\"Function versions cannot be marked as gnu_inline,\"",
"\" bodies have to be generated\"",
"\"Virtual function multiversioning not supported\"",
"\"target\"",
"\"default\"",
"0",
"2",
"\"%s.%s\""
] | i3864 | ix86_mangle_function_version_assembler_name | i386 | CPU | GCC | 22,006 | 203 | 1 | [] |
[
"<s>",
"bool",
"X86InstrInfo",
"::",
"hasHighOperandLatency",
"(",
"const",
"TargetSchedModel",
"&",
"SchedModel",
",",
"const",
"MachineRegisterInfo",
"*",
"MRI",
",",
"const",
"MachineInstr",
"&",
"DefMI",
",",
"unsigned",
"DefIdx",
",",
"const",
"MachineInstr",
... | [
"Compute",
"operand",
"latency",
"between",
"a",
"def",
"of",
"'Reg",
"'",
"and",
"a",
"use",
"in",
"the",
"current",
"loop",
"."
] | [
"X86",
"X86"
] | X86InstrInfo (2)1 | hasHighOperandLatency | X86 | CPU | LLVM | 22,007 | 44 | 1 | [] |
[
"<s>",
"bool",
"RISCVExpandSSR",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"{",
"TII",
"=",
"static_cast",
"<",
"const",
"RISCVInstrInfo",
"*",
">",
"(",
"MF",
".",
"getSubtarget",
"(",
")",
".",
"getInstrInfo",
"(",
")",
")",
"... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"RI5CY",
"RISCV",
"RISCV",
"RISCV",
"RISCV",
"0"
] | RISCVExpandSSRInsts | runOnMachineFunction | RI5CY | CPU | LLVM | 22,008 | 158 | 1 | [] |
[
"<s>",
"SDValue",
"MBlazeTargetLowering",
"::",
"LowerReturn",
"(",
"SDValue",
"Chain",
",",
"CallingConv",
"::",
"ID",
"CallConv",
",",
"bool",
"isVarArg",
",",
"const",
"SmallVectorImpl",
"<",
"ISD",
"::",
"OutputArg",
">",
"&",
"Outs",
",",
"const",
"SmallV... | [
"This",
"hook",
"must",
"be",
"implemented",
"to",
"lower",
"outgoing",
"return",
"values",
",",
"described",
"by",
"the",
"Outs",
"array",
",",
"into",
"the",
"specified",
"DAG",
"."
] | [
"MBlaze",
"MBlaze",
"ISD::OutputArg",
"16",
"MBlaze",
"0",
"0",
"\"Can only return in registers!\"",
"1",
"MBlazeISD::Ret",
"MVT::Other",
"MBlaze::R15",
"MVT::i32",
"MBlazeISD::Ret",
"MVT::Other",
"MBlaze::R15",
"MVT::i32"
] | MBlazeISelLowering5 | LowerReturn | MBlaze | MPU | LLVM | 22,009 | 300 | 1 | [] |
[
"<s>",
"bool",
"doInitialization",
"(",
"Module",
"&",
"M",
")",
"override",
"{",
"LLVMContext",
"&",
"Ctx",
"=",
"M",
".",
"getContext",
"(",
")",
";",
"Mod",
"=",
"&",
"M",
";",
"FloatType",
"=",
"Type",
"::",
"getFloatTy",
"(",
"Ctx",
")",
";",
... | [
"Set",
"up",
"the",
"AsmPrinter",
"when",
"we",
"are",
"working",
"on",
"a",
"new",
"module",
"."
] | [
"R600",
"4",
"4"
] | R600TextureIntrinsicsReplacer | doInitialization | R600 | GPU | LLVM | 22,010 | 152 | 1 | [] |
[
"<s>",
"static",
"bool",
"iq2000_modes_tieable_p",
"(",
"machine_mode",
"mode1",
",",
"machine_mode",
"mode2",
")",
"{",
"return",
"(",
"(",
"GET_MODE_CLASS",
"(",
"mode1",
")",
"==",
"MODE_FLOAT",
"||",
"GET_MODE_CLASS",
"(",
"mode1",
")",
"==",
"MODE_COMPLEX_F... | [
"Implement",
"TARGET_MODES_TIEABLE_P",
"."
] | [
"iq2000"
] | iq2000 | iq2000_modes_tieable_p | iq2000 | CPU | GCC | 22,011 | 47 | 1 | [] |
[
"<s>",
"X86Subtarget",
"::",
"X86Subtarget",
"(",
"const",
"Triple",
"&",
"TT",
",",
"StringRef",
"CPU",
",",
"StringRef",
"FS",
",",
"const",
"X86TargetMachine",
"&",
"TM",
",",
"unsigned",
"StackAlignOverride",
")",
":",
"X86GenSubtargetInfo",
"(",
"TT",
","... | [
"This",
"constructor",
"initializes",
"the",
"data",
"members",
"to",
"match",
"that",
"of",
"the",
"specified",
"triple",
"."
] | [
"X86",
"X86",
"X86",
"X86",
"X86",
"X86",
"X86",
"X86",
"X86",
"X86"
] | X86Subtarget22 | X86Subtarget | X86 | CPU | LLVM | 22,012 | 282 | 1 | [] |
[
"<s>",
"static",
"tree",
"rs6000_d_handle_target_float_abi",
"(",
"void",
")",
"{",
"const",
"char",
"*",
"abi",
";",
"if",
"(",
"TARGET_HARD_FLOAT",
")",
"abi",
"=",
"\"hard\"",
";",
"else",
"if",
"(",
"TARGET_SOFT_FLOAT",
")",
"abi",
"=",
"\"soft\"",
";",
... | [
"Handle",
"a",
"call",
"to",
"`",
"__traits",
"(",
"getTargetInfo",
",",
"``",
"floatAbi",
"''",
")",
"'",
"."
] | [
"rs6000",
"\"hard\"",
"\"soft\"",
"\"\"",
"1"
] | rs6000-d | rs6000_d_handle_target_float_abi | rs6000 | CPU | GCC | 22,013 | 48 | 1 | [] |
[
"<s>",
"void",
"print",
"(",
"raw_ostream",
"&",
"OS",
")",
"const",
"override",
"{",
"switch",
"(",
"Kind",
")",
"{",
"case",
"k_Register",
":",
"OS",
"<<",
"\"Reg<\"",
"<<",
"Reg",
".",
"Num",
"<<",
"\">\"",
";",
"break",
";",
"case",
"k_Immediate",
... | [
"print",
"-",
"Print",
"a",
"debug",
"representation",
"of",
"the",
"operand",
"to",
"the",
"given",
"stream",
"."
] | [
"LC2200",
"\"Reg<\"",
"\">\"",
"\"Imm<\"",
"\">\""
] | LC2200AsmParser | print | LC2200 | CPU | LLVM | 22,014 | 69 | 1 | [] |
[
"<s>",
"bool",
"PatmosFrameLowering",
"::",
"spillCalleeSavedRegisters",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"MI",
",",
"const",
"std",
"::",
"vector",
"<",
"CalleeSavedInfo",
">",
"&",
"CSI",
",",
"const",
"TargetRegi... | [
"spillCalleeSavedRegisters",
"-",
"Issues",
"instruction",
"(",
"s",
")",
"to",
"spill",
"all",
"callee",
"saved",
"registers",
"and",
"returns",
"true",
"if",
"it",
"is",
"n't",
"possible",
"/",
"profitable",
"to",
"do",
"so",
"by",
"issuing",
"a",
"series"... | [
"Patmos",
"Patmos",
"Patmos",
"Patmos",
"0",
"0",
"1",
"Patmos::PRegsRegClass",
"Patmos::S0",
"Patmos::SRegsRegClass",
"Patmos::R9",
"Patmos::R9",
"1",
"4"
] | PatmosFrameLowering | spillCalleeSavedRegisters | Patmos | VLIW | LLVM | 22,015 | 320 | 1 | [] |
[
"<s>",
"bool",
"ARMTargetLowering",
"::",
"isOffsetFoldingLegal",
"(",
"const",
"GlobalAddressSDNode",
"*",
"GA",
")",
"const",
"{",
"return",
"false",
";",
"}",
"</s>"
] | [
"Return",
"true",
"if",
"folding",
"a",
"constant",
"offset",
"with",
"the",
"given",
"GlobalAddress",
"is",
"legal",
"."
] | [
"ARM",
"ARM"
] | ARMISelLowering (2) | isOffsetFoldingLegal | ARM | CPU | LLVM | 22,016 | 16 | 1 | [] |
[
"<s>",
"void",
"MipsMCCodeEmitter",
"::",
"encodeInstruction",
"(",
"const",
"MCInst",
"&",
"MI",
",",
"raw_ostream",
"&",
"OS",
",",
"SmallVectorImpl",
"<",
"MCFixup",
">",
"&",
"Fixups",
",",
"const",
"MCSubtargetInfo",
"&",
"STI",
")",
"const",
"{",
"MCIn... | [
"Encode",
"the",
"given",
"Inst",
"to",
"bytes",
"and",
"append",
"to",
"CB",
"."
] | [
"Mips",
"Mips",
"Mips::DSLL",
"Mips::DSRL",
"Mips::DSRA",
"Mips::DROTR",
"Mips::DEXT",
"Mips::DINS",
"Mips::NOP",
"Mips::SLL",
"Mips::SLL_MM",
"\"unimplemented opcode in encodeInstruction()\"",
"1",
"Mips",
"Mips",
"Mips::MipsR62MicroMipsR6",
"Mips::Arch_micromipsr6",
"1",
"Mips:... | MipsMCCodeEmitter | encodeInstruction | Mips | CPU | LLVM | 22,017 | 315 | 1 | [] |
[
"<s>",
"bool",
"RISCVTargetLowering",
"::",
"isLegalICmpImmediate",
"(",
"int64_t",
"Imm",
")",
"const",
"{",
"return",
"isInt",
"<",
"12",
">",
"(",
"Imm",
")",
";",
"}",
"</s>"
] | [
"Return",
"true",
"if",
"the",
"specified",
"immediate",
"is",
"legal",
"icmp",
"immediate",
",",
"that",
"is",
"the",
"target",
"has",
"icmp",
"instructions",
"which",
"can",
"compare",
"a",
"register",
"against",
"the",
"immediate",
"without",
"having",
"to"... | [
"RISCV",
"RISCV",
"12"
] | RISCVISelLowering | isLegalICmpImmediate | RISCV | CPU | LLVM | 22,018 | 20 | 1 | [] |
[
"<s>",
"SDValue",
"MSP430TargetLowering",
"::",
"LowerCall",
"(",
"SDValue",
"Chain",
",",
"SDValue",
"Callee",
",",
"CallingConv",
"::",
"ID",
"CallConv",
",",
"bool",
"isVarArg",
",",
"bool",
"&",
"isTailCall",
",",
"const",
"SmallVectorImpl",
"<",
"ISD",
":... | [
"This",
"hook",
"must",
"be",
"implemented",
"to",
"lower",
"calls",
"into",
"the",
"specified",
"DAG",
"."
] | [
"MSP430",
"MSP430",
"ISD::OutputArg",
"ISD::InputArg",
"\"Unsupported calling convention\"",
"MSP430",
"\"ISRs cannot be called directly\""
] | MSP430ISelLowering1 | LowerCall | MSP430 | MPU | LLVM | 22,019 | 136 | 1 | [] |
[
"<s>",
"void",
"mprocFrameLowering",
"::",
"emitPrologue",
"(",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"}",
"</s>"
] | [
"emitProlog/emitEpilog",
"-",
"These",
"methods",
"insert",
"prolog",
"and",
"epilog",
"code",
"into",
"the",
"function",
"."
] | [
"mproc",
"mproc"
] | mprocFrameLowering | emitPrologue | mproc | Virtual ISA | LLVM | 22,020 | 12 | 1 | [] |
[
"<s>",
"static",
"void",
"mips_pop_asm_switch_1",
"(",
"struct",
"mips_asm_switch",
"*",
"asm_switch",
",",
"const",
"char",
"*",
"prefix",
",",
"const",
"char",
"*",
"suffix",
")",
"{",
"gcc_assert",
"(",
"asm_switch",
"->",
"nesting_level",
")",
";",
"asm_sw... | [
"Likewise",
",",
"but",
"end",
"a",
"block",
"."
] | [
"mips",
"0",
"\"%s.set\\t%s%s\""
] | mips | mips_pop_asm_switch_1 | mips | CPU | GCC | 22,021 | 56 | 1 | [] |
[
"<s>",
"void",
"BlackfinRegisterInfo",
"::",
"emitEpilogue",
"(",
"MachineFunction",
"&",
"MF",
",",
"MachineBasicBlock",
"&",
"MBB",
")",
"const",
"{",
"MachineFrameInfo",
"*",
"MFI",
"=",
"MF",
".",
"getFrameInfo",
"(",
")",
";",
"MachineBasicBlock",
"::",
"... | [
"Insert",
"epilog",
"code",
"into",
"the",
"function",
"."
] | [
"Blackfin",
"4",
"0",
"\"Misaligned frame size\"",
"\"FP elimination on a non-leaf function is not supported\"",
"BF::SP",
"BF::P1",
"BF::UNLINK"
] | BlackfinRegisterInfo3 | emitEpilogue | Blackfin | DSP | LLVM | 22,022 | 130 | 1 | [] |
[
"<s>",
"static",
"unsigned",
"rs6000_adjust_vect_cost_per_stmt",
"(",
"enum",
"vect_cost_for_stmt",
"kind",
",",
"struct",
"_stmt_vec_info",
"*",
"stmt_info",
")",
"{",
"if",
"(",
"kind",
"==",
"scalar_stmt",
"&&",
"stmt_info",
"&&",
"stmt_info",
"->",
"stmt",
"&&... | [
"Adjust",
"vectorization",
"cost",
"after",
"calling",
"rs6000_builtin_vectorization_cost",
".",
"For",
"some",
"statement",
",",
"we",
"would",
"like",
"to",
"further",
"fine-grain",
"tweak",
"the",
"cost",
"on",
"top",
"of",
"rs6000_builtin_vectorization_cost",
"han... | [
"rs6000",
"2",
"0"
] | rs6000 | rs6000_adjust_vect_cost_per_stmt | rs6000 | CPU | GCC | 22,023 | 60 | 1 | [] |
[
"<s>",
"const",
"Z80oldSubtarget",
"&",
"getSubtarget",
"(",
")",
"const",
"{",
"return",
"*",
"Subtarget",
";",
"}",
"</s>"
] | [
"getSubtarget",
"-",
"Return",
"the",
"subtarget",
"for",
"which",
"this",
"machine",
"code",
"is",
"being",
"compiled",
"."
] | [
"Z80old",
"Z80old"
] | Z80oldAsmPrinter | getSubtarget | Z80old | MPU | LLVM | 22,024 | 13 | 1 | [] |
[
"<s>",
"bool",
"AArch64RegisterInfo",
"::",
"isAsmClobberable",
"(",
"const",
"MachineFunction",
"&",
"MF",
",",
"unsigned",
"PhysReg",
")",
"const",
"{",
"return",
"!",
"isReservedReg",
"(",
"MF",
",",
"PhysReg",
")",
";",
"}",
"</s>"
] | [
"Returns",
"false",
"if",
"we",
"ca",
"n't",
"guarantee",
"that",
"Physreg",
",",
"specified",
"as",
"an",
"IR",
"asm",
"clobber",
"constraint",
",",
"will",
"be",
"preserved",
"across",
"the",
"statement",
"."
] | [
"AArch64",
"AArch64"
] | AArch64RegisterInfo | isAsmClobberable | AArch64 | CPU | LLVM | 22,025 | 25 | 1 | [] |
[
"<s>",
"bool",
"AArch64ConditionalCompares",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"{",
"LLVM_DEBUG",
"(",
"dbgs",
"(",
")",
"<<",
"\"********** AArch64 Conditional Compares **********\\n\"",
"<<",
"\"********** Function: \"",
"<<",
"MF",
"... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"AArch64",
"AArch64",
"\"********** AArch64 Conditional Compares **********\\n\"",
"\"********** Function: \""
] | AArch64ConditionalCompares1 | runOnMachineFunction | AArch64 | CPU | LLVM | 22,026 | 187 | 1 | [] |
[
"<s>",
"static",
"rtx",
"get_branch_target",
"(",
"rtx",
"branch",
")",
"{",
"if",
"(",
"CALL_P",
"(",
"branch",
")",
")",
"{",
"rtx",
"call",
";",
"call",
"=",
"XVECEXP",
"(",
"PATTERN",
"(",
"branch",
")",
",",
"0",
",",
"0",
")",
";",
"if",
"(... | [
"Returns",
"0",
"if",
"we",
"do",
"n't",
"want",
"a",
"hint",
"for",
"this",
"branch",
".",
"Otherwise",
"return",
"the",
"rtx",
"for",
"the",
"branch",
"target",
"."
] | [
"microblaze",
"0",
"0",
"0",
"0"
] | microblaze3 | get_branch_target | microblaze | MPU | GCC | 22,027 | 77 | 1 | [] |
[
"<s>",
"int",
"vfp3_const_double_rtx",
"(",
"rtx",
"x",
")",
"{",
"if",
"(",
"!",
"TARGET_VFP3",
")",
"return",
"0",
";",
"return",
"vfp3_const_double_index",
"(",
"x",
")",
"!=",
"-",
"1",
";",
"}",
"</s>"
] | [
"Return",
"TRUE",
"if",
"rtx",
"X",
"is",
"a",
"valid",
"immediate",
"VFPv3",
"constant",
"."
] | [
"arm",
"0",
"1"
] | arm | vfp3_const_double_rtx | arm | CPU | GCC | 22,028 | 25 | 1 | [] |
[
"<s>",
"const",
"TargetRegisterInfo",
"*",
"getRegisterInfo",
"(",
")",
"const",
"{",
"return",
"&",
"InstrInfo",
".",
"getRegisterInfo",
"(",
")",
";",
"}",
"</s>"
] | [
"getRegisterInfo",
"-",
"TargetInstrInfo",
"is",
"a",
"superset",
"of",
"MRegister",
"info",
"."
] | [
"MSP430"
] | MSP430Subtarget2 | getRegisterInfo | MSP430 | MPU | LLVM | 22,029 | 17 | 1 | [] |
[
"<s>",
"MachineInstrBuilder",
"R600InstrInfo",
"::",
"buildIndirectRead",
"(",
"MachineBasicBlock",
"*",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"I",
",",
"unsigned",
"ValueReg",
",",
"unsigned",
"Address",
",",
"unsigned",
"OffsetReg",
",",
"unsigned",
"... | [
"Build",
"instruction",
"(",
"s",
")",
"for",
"an",
"indirect",
"register",
"read",
"."
] | [
"AMDGPU",
"R600",
"\"Invalid Channel\"",
"0",
"AMDGPU::R600_AddrRegClass",
"1",
"AMDGPU::R600_Addr_YRegClass",
"2",
"AMDGPU::R600_Addr_ZRegClass",
"3",
"AMDGPU::R600_Addr_WRegClass",
"AMDGPU::MOVA_INT_eg",
"AMDGPU::AR_X",
"AMDGPU::OpName",
"0",
"AMDGPU::MOV",
"AMDGPU::AR_X",
"AMDGP... | R600InstrInfo10 | buildIndirectRead | AMDGPU | GPU | LLVM | 22,030 | 196 | 1 | [] |
[
"<s>",
"static",
"int",
"ix86_mode_entry",
"(",
"int",
"entity",
")",
"{",
"switch",
"(",
"entity",
")",
"{",
"case",
"X86_DIRFLAG",
":",
"return",
"ix86_dirflag_mode_entry",
"(",
")",
";",
"case",
"AVX_U128",
":",
"return",
"ix86_avx_u128_mode_entry",
"(",
")... | [
"Return",
"a",
"mode",
"that",
"ENTITY",
"is",
"assumed",
"to",
"be",
"switched",
"to",
"at",
"function",
"entry",
"."
] | [
"i386"
] | i386 | ix86_mode_entry | i386 | CPU | GCC | 22,031 | 52 | 1 | [] |
[
"<s>",
"static",
"rtx",
"avr_function_arg",
"(",
"cumulative_args_t",
"cum_v",
",",
"const",
"function_arg_info",
"&",
"arg",
")",
"{",
"CUMULATIVE_ARGS",
"*",
"cum",
"=",
"get_cumulative_args",
"(",
"cum_v",
")",
";",
"int",
"bytes",
"=",
"avr_num_arg_regs",
"(... | [
"Controls",
"whether",
"a",
"function",
"argument",
"is",
"passed",
"in",
"a",
"register",
",",
"and",
"which",
"register",
"."
] | [
"avr"
] | avr | avr_function_arg | avr | MPU | GCC | 22,032 | 66 | 1 | [] |
[
"<s>",
"const",
"SIRegisterInfo",
"&",
"getRegisterInfo",
"(",
")",
"const",
"{",
"return",
"RI",
";",
"}",
"</s>"
] | [
"getRegisterInfo",
"-",
"TargetInstrInfo",
"is",
"a",
"superset",
"of",
"MRegister",
"info",
"."
] | [
"R600",
"SI"
] | SIInstrInfo35 | getRegisterInfo | R600 | GPU | LLVM | 22,033 | 12 | 1 | [] |
[
"<s>",
"outliner",
"::",
"TargetCostInfo",
"X86InstrInfo",
"::",
"getOutliningCandidateInfo",
"(",
"std",
"::",
"vector",
"<",
"outliner",
"::",
"Candidate",
">",
"&",
"RepeatedSequenceLocs",
")",
"const",
"{",
"unsigned",
"SequenceSize",
"=",
"std",
"::",
"accumu... | [
"Returns",
"a",
"outliner",
":",
":OutlinedFunction",
"struct",
"containing",
"target-specific",
"information",
"for",
"a",
"set",
"of",
"outlining",
"candidates",
"."
] | [
"X86",
"X86",
"0",
"0",
"0",
"1",
"0",
"1",
"0",
"1",
"1"
] | X86InstrInfo102 | getOutliningCandidateInfo | X86 | CPU | LLVM | 22,034 | 137 | 1 | [] |
[
"<s>",
"static",
"int",
"nvptx_sese_number",
"(",
"int",
"n",
",",
"int",
"p",
",",
"int",
"dir",
",",
"basic_block",
"b",
",",
"auto_vec",
"<",
"basic_block",
">",
"*",
"list",
")",
"{",
"if",
"(",
"BB_GET_SESE",
"(",
"b",
")",
")",
"return",
"n",
... | [
"DFS",
"walk",
"creating",
"SESE",
"data",
"structures",
".",
"Only",
"cover",
"nodes",
"with",
"BB_VISITED",
"set",
".",
"Append",
"discovered",
"blocks",
"to",
"LIST",
".",
"We",
"number",
"in",
"increments",
"of",
"3",
"so",
"that",
"the",
"above",
"and... | [
"nvptx",
"\"Block %d(%d), parent (%d), orientation %+d\\n\"",
"3",
"2",
"0",
"0"
] | nvptx3 | nvptx_sese_number | nvptx | GPU | GCC | 22,035 | 211 | 1 | [] |
[
"<s>",
"void",
"RISCVPassConfig",
"::",
"addPreEmitPass",
"(",
")",
"{",
"addPass",
"(",
"createRISCVBranchSelectionPass",
"(",
")",
")",
";",
"}",
"</s>"
] | [
"This",
"pass",
"may",
"be",
"implemented",
"by",
"targets",
"that",
"want",
"to",
"run",
"passes",
"immediately",
"before",
"machine",
"code",
"is",
"emitted",
"."
] | [
"RISCV",
"RISCV",
"RISCV"
] | RISCVTargetMachine (2)1 | addPreEmitPass | RISCV | CPU | LLVM | 22,036 | 15 | 1 | [] |
[
"<s>",
"TargetLoweringObjectFile",
"*",
"getObjFileLowering",
"(",
")",
"const",
"override",
"{",
"return",
"TLOF",
".",
"get",
"(",
")",
";",
"}",
"</s>"
] | [
"Return",
"information",
"about",
"object",
"file",
"lowering",
"."
] | [
"SPIRV"
] | SPIRVTargetMachine | getObjFileLowering | SPIRV | Virtual ISA | LLVM | 22,037 | 16 | 1 | [] |
[
"<s>",
"bool",
"X86AsmParser",
"::",
"parsePrimaryExpr",
"(",
"const",
"MCExpr",
"*",
"&",
"Res",
",",
"SMLoc",
"&",
"EndLoc",
")",
"{",
"MCAsmParser",
"&",
"Parser",
"=",
"getParser",
"(",
")",
";",
"if",
"(",
"getTok",
"(",
")",
".",
"is",
"(",
"As... | [
"Parse",
"a",
"primary",
"expression",
"."
] | [
"X86",
"X86",
"X86MCExpr::create"
] | X86AsmParser (2)4 | parsePrimaryExpr | X86 | CPU | LLVM | 22,038 | 130 | 1 | [] |
[
"<s>",
"void",
"MipsELFStreamer",
"::",
"emitInstruction",
"(",
"const",
"MCInst",
"&",
"Inst",
",",
"const",
"MCSubtargetInfo",
"&",
"STI",
")",
"{",
"MCELFStreamer",
"::",
"emitInstruction",
"(",
"Inst",
",",
"STI",
")",
";",
"MCContext",
"&",
"Context",
"... | [
"Targets",
"should",
"implement",
"this",
"to",
"emit",
"instructions",
"."
] | [
"Mips",
"Mips",
"0"
] | MipsELFStreamer19 | emitInstruction | Mips | CPU | LLVM | 22,039 | 110 | 1 | [] |
[
"<s>",
"bool",
"ix86_using_red_zone",
"(",
"void",
")",
"{",
"return",
"(",
"TARGET_RED_ZONE",
"&&",
"!",
"TARGET_64BIT_MS_ABI",
"&&",
"(",
"!",
"cfun",
"->",
"machine",
"->",
"has_local_indirect_jump",
"||",
"cfun",
"->",
"machine",
"->",
"indirect_branch_type",
... | [
"Return",
"true",
"if",
"a",
"red-zone",
"is",
"in",
"use",
"."
] | [
"i386"
] | i386 | ix86_using_red_zone | i386 | CPU | GCC | 22,040 | 32 | 1 | [] |
[
"<s>",
"SDValue",
"X86TargetLowering",
"::",
"PerformDAGCombine",
"(",
"SDNode",
"*",
"N",
",",
"DAGCombinerInfo",
"&",
"DCI",
")",
"const",
"{",
"SelectionDAG",
"&",
"DAG",
"=",
"DCI",
".",
"DAG",
";",
"switch",
"(",
"N",
"->",
"getOpcode",
"(",
")",
")... | [
"This",
"method",
"will",
"be",
"invoked",
"for",
"all",
"target",
"nodes",
"and",
"for",
"any",
"target-independent",
"nodes",
"that",
"the",
"target",
"has",
"registered",
"with",
"invoke",
"it",
"for",
"."
] | [
"X86",
"X86",
"ISD::EXTRACT_VECTOR_ELT",
"ISD::SELECT",
"X86ISD::CMOV",
"ISD::MUL",
"ISD::SHL",
"ISD::SRA",
"ISD::SRL",
"ISD::OR",
"ISD::STORE",
"X86ISD::FXOR",
"X86ISD::FOR",
"X86ISD::FAND",
"X86ISD::BT",
"X86ISD::VZEXT_MOVL",
"ISD::ZERO_EXTEND",
"X86ISD::SHUFPS",
"X86ISD::SHUFP... | X86ISelLowering93 | PerformDAGCombine | X86 | CPU | LLVM | 22,041 | 359 | 1 | [] |
[
"<s>",
"bool",
"PPCLinuxAsmPrinter",
"::",
"doFinalization",
"(",
"Module",
"&",
"M",
")",
"{",
"const",
"DataLayout",
"*",
"TD",
"=",
"TM",
".",
"getDataLayout",
"(",
")",
";",
"bool",
"isPPC64",
"=",
"TD",
"->",
"getPointerSizeInBits",
"(",
")",
"==",
... | [
"doFinalization",
"-",
"Virtual",
"method",
"overriden",
"by",
"subclasses",
"to",
"do",
"any",
"necessary",
"clean",
"up",
"after",
"all",
"passes",
"have",
"run",
"."
] | [
"PowerPC",
"PPC",
"PPC",
"64",
"PPC",
"PPC",
"PPC",
"\".toc\"",
"\".got2\"",
"PPC",
"4",
"0",
"PPC",
"8",
"4"
] | PPCAsmPrinter29 | doFinalization | PowerPC | CPU | LLVM | 22,042 | 338 | 1 | [] |
[
"<s>",
"static",
"void",
"ix86_emit_save_reg_using_mov",
"(",
"machine_mode",
"mode",
",",
"unsigned",
"int",
"regno",
",",
"HOST_WIDE_INT",
"cfa_offset",
")",
"{",
"struct",
"machine_function",
"*",
"m",
"=",
"cfun",
"->",
"machine",
";",
"rtx",
"reg",
"=",
"... | [
"Emit",
"a",
"single",
"register",
"save",
"at",
"CFA",
"-",
"CFA_OFFSET",
"."
] | [
"i386",
"1",
"1",
"0"
] | i386 | ix86_emit_save_reg_using_mov | i386 | CPU | GCC | 22,043 | 387 | 1 | [] |
[
"<s>",
"bool",
"AMDGPUAsmParser",
"::",
"usesConstantBus",
"(",
"const",
"MCInst",
"&",
"Inst",
",",
"unsigned",
"OpIdx",
")",
"{",
"const",
"MCOperand",
"&",
"MO",
"=",
"Inst",
".",
"getOperand",
"(",
"OpIdx",
")",
";",
"if",
"(",
"MO",
".",
"isImm",
... | [
"Returns",
"true",
"if",
"this",
"operand",
"uses",
"the",
"constant",
"bus",
"."
] | [
"AMDGPU",
"AMDGPU"
] | AMDGPUAsmParser11 | usesConstantBus | AMDGPU | GPU | LLVM | 22,044 | 100 | 1 | [] |
[
"<s>",
"void",
"microblaze_declare_object",
"(",
"FILE",
"*",
"stream",
",",
"const",
"char",
"*",
"name",
",",
"const",
"char",
"*",
"section",
",",
"const",
"char",
"*",
"fmt",
",",
"int",
"size",
")",
"{",
"fputs",
"(",
"section",
",",
"stream",
")"... | [
"Emit",
"either",
"a",
"label",
",",
".comm",
",",
"or",
".lcomm",
"directive",
",",
"and",
"mark",
"that",
"the",
"symbol",
"is",
"used",
",",
"so",
"that",
"we",
"do",
"n't",
"emit",
"an",
".extern",
"for",
"it",
"in",
"microblaze_asm_file_end",
"."
] | [
"microblaze"
] | microblaze | microblaze_declare_object | microblaze | MPU | GCC | 22,045 | 50 | 1 | [] |
[
"<s>",
"virtual",
"const",
"char",
"*",
"getPassName",
"(",
")",
"const",
"{",
"return",
"\"SI annotate control flow\"",
";",
"}",
"</s>"
] | [
"getPassName",
"-",
"Return",
"a",
"nice",
"clean",
"name",
"for",
"a",
"pass",
"."
] | [
"R600",
"\"SI annotate control flow\""
] | SIAnnotateControlFlow1 | getPassName | R600 | GPU | LLVM | 22,046 | 13 | 1 | [] |
[
"<s>",
"static",
"bool",
"mayAlias",
"(",
"MachineInstr",
"&",
"MIa",
",",
"SmallVectorImpl",
"<",
"MachineInstr",
"*",
">",
"&",
"MemInsns",
",",
"const",
"AArch64InstrInfo",
"*",
"TII",
")",
"{",
"for",
"(",
"MachineInstr",
"*",
"MIb",
":",
"MemInsns",
"... | [
"Returns",
"true",
"if",
"this",
"instruction",
"'s",
"memory",
"access",
"aliases",
"the",
"memory",
"access",
"of",
"Other",
"."
] | [
"AArch64",
"AArch64"
] | AArch64LoadStoreOptimizer | mayAlias | AArch64 | CPU | LLVM | 22,047 | 49 | 1 | [] |
[
"<s>",
"static",
"bool",
"index_term_p",
"(",
"rtx",
"prod",
",",
"machine_mode",
"mode",
",",
"bool",
"strict",
")",
"{",
"rtx",
"xfoo0",
",",
"xfoo1",
";",
"bool",
"log_p",
";",
"if",
"(",
"GET_MODE_SIZE",
"(",
"mode",
")",
"==",
"1",
")",
"return",
... | [
"1",
"if",
"PROD",
"is",
"either",
"a",
"reg",
"times",
"size",
"of",
"mode",
"MODE",
"and",
"MODE",
"is",
"less",
"than",
"or",
"equal",
"8",
"bytes",
",",
"or",
"just",
"a",
"reg",
"if",
"MODE",
"is",
"one",
"byte",
"."
] | [
"vax",
"1",
"8",
"0",
"1",
"1",
"1"
] | vax | index_term_p | vax | CPU | GCC | 22,048 | 174 | 1 | [] |
[
"<s>",
"const",
"ArrayRef",
"<",
"MCPhysReg",
">",
"Cpu0ABIInfo",
"::",
"GetByValArgRegs",
"(",
")",
"const",
"{",
"if",
"(",
"IsO32",
"(",
")",
")",
"return",
"makeArrayRef",
"(",
"O32IntRegs",
")",
";",
"if",
"(",
"IsS32",
"(",
")",
")",
"return",
"m... | [
"The",
"registers",
"to",
"use",
"for",
"byval",
"arguments",
"."
] | [
"Cpu0",
"Cpu0",
"\"Unhandled ABI\""
] | Cpu0ABIInfo | GetByValArgRegs | Cpu0 | CPU | LLVM | 22,049 | 42 | 1 | [] |
[
"<s>",
"bool",
"MipsConstantIslands",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"mf",
")",
"{",
"MF",
"=",
"&",
"mf",
";",
"MCP",
"=",
"mf",
".",
"getConstantPool",
"(",
")",
";",
"STI",
"=",
"&",
"mf",
".",
"getTarget",
"(",
")",
".",... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"Mips",
"Mips",
"Mips",
"\"constant island machine function \"",
"\"\\n\"",
"Mips",
"Mips",
"Mips",
"Mips",
"\"constant island processing \"",
"\"\\n\"",
"0",
"0",
"\"Beginning CP iteration #\"",
"0",
"30",
"\"Constant Island pass failed to converge!\"",
"\"Beginning BR iteration #... | MipsConstantIslandPass18 | runOnMachineFunction | Mips | CPU | LLVM | 22,050 | 430 | 1 | [] |
[
"<s>",
"static",
"bool",
"rs6000_assemble_integer",
"(",
"rtx",
"x",
",",
"unsigned",
"int",
"size",
",",
"int",
"aligned_p",
")",
"{",
"if",
"(",
"RELOCATABLE_NEEDS_FIXUP",
"&&",
"size",
"==",
"4",
"&&",
"aligned_p",
")",
"{",
"static",
"int",
"recurse",
... | [
"Target",
"hook",
"for",
"assembling",
"integer",
"objects",
".",
"The",
"powerpc",
"version",
"has",
"to",
"handle",
"fixup",
"entries",
"for",
"relocatable",
"code",
"if",
"RELOCATABLE_NEEDS_FIXUP",
"is",
"defined",
".",
"It",
"also",
"needs",
"to",
"handle",
... | [
"rs6000",
"4",
"0",
"1",
"256",
"1",
"\"LCP\"",
"\"\\t.long\\t(\"",
"\")@fixup\\n\"",
"\"\\t.section\\t\\\".fixup\\\",\\\"aw\\\"\\n\"",
"2",
"\"\\t.long\\t\"",
"\"\\n\\t.previous\\n\"",
"0",
"0",
"0",
"0",
"\"\\t.long\\t%s\\n\""
] | rs60006 | rs6000_assemble_integer | rs6000 | CPU | GCC | 22,051 | 232 | 1 | [] |
[
"<s>",
"bool",
"MBlazeTargetObjectFile",
"::",
"IsGlobalInSmallSection",
"(",
"const",
"GlobalValue",
"*",
"GV",
",",
"const",
"TargetMachine",
"&",
"TM",
",",
"SectionKind",
"Kind",
")",
"const",
"{",
"const",
"GlobalVariable",
"*",
"GVA",
"=",
"dyn_cast",
"<",... | [
"Return",
"true",
"if",
"this",
"global",
"address",
"should",
"be",
"placed",
"into",
"small",
"data/bss",
"section",
"."
] | [
"MBlaze",
"MBlaze"
] | MBlazeTargetObjectFile1 | IsGlobalInSmallSection | MBlaze | MPU | LLVM | 22,052 | 101 | 1 | [] |
[
"<s>",
"static",
"rtx",
"aarch64_simd_dup_constant",
"(",
"rtx",
"vals",
")",
"{",
"machine_mode",
"mode",
"=",
"GET_MODE",
"(",
"vals",
")",
";",
"machine_mode",
"inner_mode",
"=",
"GET_MODE_INNER",
"(",
"mode",
")",
";",
"rtx",
"x",
";",
"if",
"(",
"!",
... | [
"If",
"VALS",
"is",
"a",
"vector",
"constant",
"that",
"can",
"be",
"loaded",
"into",
"a",
"register",
"using",
"DUP",
",",
"generate",
"instructions",
"to",
"do",
"so",
"and",
"return",
"an",
"RTX",
"to",
"assign",
"to",
"the",
"register",
".",
"Otherwi... | [
"aarch64"
] | aarch643 | aarch64_simd_dup_constant | aarch64 | CPU | GCC | 22,053 | 59 | 1 | [] |
[
"<s>",
"const",
"MCFixupKindInfo",
"&",
"getFixupKindInfo",
"(",
"MCFixupKind",
"Kind",
")",
"const",
"{",
"const",
"static",
"MCFixupKindInfo",
"Infos",
"[",
"TOY",
"::",
"NumTargetFixupKinds",
"]",
"=",
"{",
"{",
"\"fixup_TOY_CALL\"",
",",
"0",
",",
"16",
",... | [
"Get",
"information",
"on",
"a",
"fixup",
"kind",
"."
] | [
"TOY",
"TOY::NumTargetFixupKinds",
"\"fixup_TOY_CALL\"",
"0",
"16",
"\"fixup_TOY_BR\"",
"0",
"16",
"\"Invalid kind!\""
] | TOYAsmBackend | getFixupKindInfo | TOY | CPU | LLVM | 22,054 | 86 | 1 | [] |
[
"<s>",
"bool",
"AArch64FrameLowering",
"::",
"hasFP",
"(",
"const",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"const",
"MachineFrameInfo",
"*",
"MFI",
"=",
"MF",
".",
"getFrameInfo",
"(",
")",
";",
"const",
"TargetRegisterInfo",
"*",
"RegInfo",
"=",
"... | [
"hasFP",
"-",
"Return",
"true",
"if",
"the",
"specified",
"function",
"should",
"have",
"a",
"dedicated",
"frame",
"pointer",
"register",
"."
] | [
"AArch64",
"AArch64"
] | AArch64FrameLowering (2) | hasFP | AArch64 | CPU | LLVM | 22,055 | 79 | 1 | [] |
[
"<s>",
"virtual",
"gimple",
"*",
"fold",
"(",
"gimple_folder",
"&",
")",
"const",
"{",
"return",
"NULL",
";",
"}",
"</s>"
] | [
"Try",
"to",
"fold",
"the",
"call",
".",
"Return",
"the",
"new",
"statement",
"on",
"success",
"and",
"null",
"on",
"failure",
"."
] | [
"aarch64"
] | aarch64-sve-builtins | fold | aarch64 | CPU | GCC | 22,056 | 14 | 1 | [] |
[
"<s>",
"void",
"getAnalysisUsage",
"(",
"AnalysisUsage",
"&",
"AU",
")",
"const",
"override",
"{",
"AU",
".",
"addRequired",
"<",
"MachineBranchProbabilityInfo",
">",
"(",
")",
";",
"MachineFunctionPass",
"::",
"getAnalysisUsage",
"(",
"AU",
")",
";",
"}",
"</... | [
"getAnalysisUsage",
"-",
"Subclasses",
"that",
"override",
"getAnalysisUsage",
"must",
"call",
"this",
"."
] | [
"Hexagon"
] | HexagonNewValueJump (2) | getAnalysisUsage | Hexagon | DSP | LLVM | 22,057 | 27 | 1 | [] |
[
"<s>",
"std",
"::",
"pair",
"<",
"uint16_t",
",",
"uint16_t",
">",
"X86InstrInfo",
"::",
"getExecutionDomain",
"(",
"const",
"MachineInstr",
"&",
"MI",
")",
"const",
"{",
"uint16_t",
"domain",
"=",
"(",
"MI",
".",
"getDesc",
"(",
")",
".",
"TSFlags",
">>... | [
"Return",
"the",
"current",
"execution",
"domain",
"and",
"bit",
"mask",
"of",
"possible",
"domains",
"for",
"instruction",
"."
] | [
"X86",
"X86",
"X86II::SSEDomainShift",
"3",
"0",
"0xe",
"0xe",
"0x6",
"0",
"0",
"0xe",
"0xe",
"0xe",
"1",
"3",
"3",
"0xa",
"0xc"
] | X86InstrInfo114 | getExecutionDomain | X86 | CPU | LLVM | 22,058 | 252 | 1 | [] |
[
"<s>",
"void",
"HexagonFrameLowering",
"::",
"processFunctionBeforeFrameFinalized",
"(",
"MachineFunction",
"&",
"MF",
",",
"RegScavenger",
"*",
"RS",
")",
"const",
"{",
"MachineFrameInfo",
"&",
"MFI",
"=",
"MF",
".",
"getFrameInfo",
"(",
")",
";",
"bool",
"HasA... | [
"processFunctionBeforeFrameFinalized",
"-",
"This",
"method",
"is",
"called",
"immediately",
"before",
"the",
"specified",
"function",
"'s",
"frame",
"layout",
"(",
"MF.getFrameInfo",
"(",
")",
")",
"is",
"finalized",
"."
] | [
"Hexagon",
"Hexagon",
"4",
"0",
"8",
"8",
"8",
"\"Unexpected local frame alignment\"",
"1",
"8",
"1",
"0",
"0",
"Hexagon"
] | HexagonFrameLowering28 | processFunctionBeforeFrameFinalized | Hexagon | DSP | LLVM | 22,059 | 507 | 1 | [] |
[
"<s>",
"bool",
"DCPU16FrameLowering",
"::",
"hasFP",
"(",
"const",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"const",
"MachineFrameInfo",
"*",
"MFI",
"=",
"MF",
".",
"getFrameInfo",
"(",
")",
";",
"return",
"(",
"MF",
".",
"getTarget",
"(",
")",
"... | [
"hasFP",
"-",
"Return",
"true",
"if",
"the",
"specified",
"function",
"should",
"have",
"a",
"dedicated",
"frame",
"pointer",
"register",
"."
] | [
"Dcpu16",
"DCPU16"
] | Dcpu16FrameLowering | hasFP | Dcpu16 | CPU | LLVM | 22,060 | 56 | 1 | [] |
[
"<s>",
"bool",
"mprocPassConfig",
"::",
"addInstSelector",
"(",
")",
"{",
"addPass",
"(",
"createmprocISelDag",
"(",
"getmprocTargetMachine",
"(",
")",
",",
"getOptLevel",
"(",
")",
")",
")",
";",
"return",
"false",
";",
"}",
"</s>"
] | [
"addInstSelector",
"-",
"This",
"method",
"should",
"install",
"an",
"instruction",
"selector",
"pass",
",",
"which",
"converts",
"from",
"LLVM",
"code",
"to",
"machine",
"instructions",
"."
] | [
"mproc",
"mproc",
"mproc",
"mproc"
] | mprocTargetMachine | addInstSelector | mproc | Virtual ISA | LLVM | 22,061 | 25 | 1 | [] |
[
"<s>",
"MCSymbol",
"*",
"X86AsmPrinter",
"::",
"GetCPISymbol",
"(",
"unsigned",
"CPID",
")",
"const",
"{",
"if",
"(",
"Subtarget",
"->",
"isTargetKnownWindowsMSVC",
"(",
")",
")",
"{",
"const",
"MachineConstantPoolEntry",
"&",
"CPE",
"=",
"MF",
"->",
"getConst... | [
"Return",
"the",
"symbol",
"for",
"the",
"specified",
"constant",
"pool",
"entry",
"."
] | [
"X86",
"X86"
] | X86AsmPrinter34 | GetCPISymbol | X86 | CPU | LLVM | 22,062 | 140 | 1 | [] |
[
"<s>",
"void",
"PPCDAGToDAGISel",
"::",
"PostprocessISelDAG",
"(",
")",
"{",
"if",
"(",
"TM",
".",
"getOptLevel",
"(",
")",
"==",
"CodeGenOpt",
"::",
"None",
")",
"return",
";",
"PeepholePPC64",
"(",
")",
";",
"PeepholeCROps",
"(",
")",
";",
"PeepholePPC64... | [
"PostprocessISelDAG",
"(",
")",
"-",
"This",
"hook",
"allows",
"the",
"target",
"to",
"hack",
"on",
"the",
"graph",
"right",
"after",
"selection",
"."
] | [
"PowerPC",
"PPC",
"PPC",
"PPC"
] | PPCISelDAGToDAG (2)1 | PostprocessISelDAG | PowerPC | CPU | LLVM | 22,063 | 34 | 1 | [] |
[
"<s>",
"unsigned",
"Cpu0MachineFunctionInfo",
"::",
"getGlobalBaseReg",
"(",
")",
"{",
"return",
"GlobalBaseReg",
"=",
"Cpu0",
"::",
"GP",
";",
"}",
"</s>"
] | [
"getGlobalBaseReg",
"-",
"Return",
"a",
"virtual",
"register",
"initialized",
"with",
"the",
"the",
"global",
"base",
"register",
"value",
"."
] | [
"Cpu0",
"Cpu0",
"Cpu0::GP"
] | Cpu0MachineFunction | getGlobalBaseReg | Cpu0 | CPU | LLVM | 22,064 | 15 | 1 | [] |
[
"<s>",
"void",
"M68kIncomingValueHandler",
"::",
"assignValueToReg",
"(",
"Register",
"ValVReg",
",",
"Register",
"PhysReg",
",",
"CCValAssign",
"&",
"VA",
")",
"{",
"MIRBuilder",
".",
"getMRI",
"(",
")",
"->",
"addLiveIn",
"(",
"PhysReg",
")",
";",
"MIRBuilde... | [
"The",
"specified",
"value",
"has",
"been",
"assigned",
"to",
"a",
"physical",
"register",
",",
"handle",
"the",
"appropriate",
"COPY",
"(",
"either",
"to",
"or",
"from",
")",
"and",
"mark",
"any",
"relevant",
"uses/defines",
"as",
"needed",
"."
] | [
"M68k",
"M68k"
] | M68kCallLowering2 | assignValueToReg | M68k | MPU | LLVM | 22,065 | 50 | 1 | [] |
[
"<s>",
"void",
"MINA32MCCodeEmitter",
"::",
"encodeInstruction",
"(",
"const",
"MCInst",
"&",
"MI",
",",
"raw_ostream",
"&",
"OS",
",",
"SmallVectorImpl",
"<",
"MCFixup",
">",
"&",
"Fixups",
",",
"const",
"MCSubtargetInfo",
"&",
"STI",
")",
"const",
"{",
"ve... | [
"Encode",
"the",
"given",
"Inst",
"to",
"bytes",
"and",
"append",
"to",
"CB",
"."
] | [
"MINA32",
"MINA32",
"support::endian",
"support::little"
] | MINA32MCCodeEmitter | encodeInstruction | MINA32 | CPU | LLVM | 22,066 | 76 | 1 | [] |
[
"<s>",
"void",
"HexagonHazardRecognizer",
"::",
"EmitInstruction",
"(",
"SUnit",
"*",
"SU",
")",
"{",
"MachineInstr",
"*",
"MI",
"=",
"SU",
"->",
"getInstr",
"(",
")",
";",
"if",
"(",
"!",
"MI",
")",
"return",
";",
"for",
"(",
"ConstMIOperands",
"MO",
... | [
"EmitInstruction",
"-",
"This",
"callback",
"is",
"invoked",
"when",
"an",
"instruction",
"is",
"emitted",
",",
"to",
"advance",
"the",
"hazard",
"state",
"."
] | [
"Hexagon",
"Hexagon",
"\"Expecting .new store\"",
"\" Add instruction \"",
"0",
"1"
] | HexagonHazardRecognizer7 | EmitInstruction | Hexagon | DSP | LLVM | 22,067 | 293 | 1 | [] |
[
"<s>",
"const",
"char",
"*",
"getPassName",
"(",
")",
"const",
"{",
"return",
"\"R600 Vector Registers Merge Pass\"",
";",
"}",
"</s>"
] | [
"getPassName",
"-",
"Return",
"a",
"nice",
"clean",
"name",
"for",
"a",
"pass",
"."
] | [
"R600",
"\"R600 Vector Registers Merge Pass\""
] | R600OptimizeVectorRegisters1 | getPassName | R600 | GPU | LLVM | 22,068 | 12 | 1 | [] |
[
"<s>",
"Optional",
"<",
"MCFixupKind",
">",
"ARMAsmBackendELF",
"::",
"getFixupKind",
"(",
"StringRef",
"Name",
")",
"const",
"{",
"unsigned",
"Type",
"=",
"llvm",
"::",
"StringSwitch",
"<",
"unsigned",
">",
"(",
"Name",
")",
".",
"Case",
"(",
"\"BFD_RELOC_N... | [
"getFixupKind",
"-",
"Get",
"the",
"fixup",
"kind",
"of",
"this",
"expression",
"."
] | [
"ARM",
"ARM",
"\"BFD_RELOC_NONE\"",
"ARM",
"\"BFD_RELOC_8\"",
"ARM",
"\"BFD_RELOC_16\"",
"ARM",
"\"BFD_RELOC_32\"",
"ARM",
"1u",
"1u"
] | ARMAsmBackend33 | getFixupKind | ARM | CPU | LLVM | 22,069 | 90 | 1 | [] |
[
"<s>",
"static",
"void",
"convert_to_callp",
"(",
"rtx_insn",
"*",
"insn",
")",
"{",
"rtx",
"lab",
";",
"extract_insn",
"(",
"insn",
")",
";",
"if",
"(",
"GET_CODE",
"(",
"PATTERN",
"(",
"insn",
")",
")",
"==",
"SET",
")",
"{",
"rtx",
"dest",
"=",
... | [
"Convert",
"the",
"pattern",
"of",
"INSN",
",",
"which",
"must",
"be",
"a",
"CALL_INSN",
",",
"into",
"a",
"callp",
"."
] | [
"c6x",
"0",
"1",
"0"
] | c6x | convert_to_callp | c6x | VLIW | GCC | 22,070 | 99 | 1 | [] |
[
"<s>",
"static",
"void",
"avr_addr_space_diagnose_usage",
"(",
"addr_space_t",
"as",
",",
"location_t",
"loc",
")",
"{",
"(",
"void",
")",
"avr_addr_space_supported_p",
"(",
"as",
",",
"loc",
")",
";",
"}",
"</s>"
] | [
"Implement",
"`",
"TARGET_ADDR_SPACE_DIAGNOSE_USAGE",
"'",
"."
] | [
"avr"
] | avr | avr_addr_space_diagnose_usage | avr | MPU | GCC | 22,071 | 22 | 1 | [] |
[
"<s>",
"rtx",
"function_expander",
"::",
"generate_insn",
"(",
"insn_code",
"icode",
")",
"{",
"expand_insn",
"(",
"icode",
",",
"m_ops",
".",
"length",
"(",
")",
",",
"m_ops",
".",
"address",
"(",
")",
")",
";",
"return",
"function_returns_void_p",
"(",
"... | [
"Generate",
"instruction",
"ICODE",
",",
"given",
"that",
"its",
"operands",
"have",
"already",
"been",
"added",
"to",
"M_OPS",
".",
"Return",
"the",
"value",
"of",
"the",
"first",
"operand",
"."
] | [
"aarch64",
"0"
] | aarch64-sve-builtins | generate_insn | aarch64 | CPU | GCC | 22,072 | 41 | 1 | [] |
[
"<s>",
"static",
"bool",
"arm_is_segment_info_known",
"(",
"rtx",
"orig",
",",
"bool",
"*",
"is_readonly",
")",
"{",
"*",
"is_readonly",
"=",
"false",
";",
"if",
"(",
"LABEL_REF_P",
"(",
"orig",
")",
")",
"{",
"*",
"is_readonly",
"=",
"true",
";",
"retur... | [
"Try",
"to",
"determine",
"whether",
"an",
"object",
",",
"referenced",
"via",
"ORIG",
",",
"will",
"be",
"placed",
"in",
"the",
"text",
"or",
"data",
"segment",
".",
"This",
"is",
"used",
"in",
"FDPIC",
"mode",
",",
"to",
"decide",
"which",
"relocations... | [
"arm",
"0",
"0",
"\"section\""
] | arm | arm_is_segment_info_known | arm | CPU | GCC | 22,073 | 214 | 1 | [] |
[
"<s>",
"bool",
"s390_match_ccmode",
"(",
"rtx",
"insn",
",",
"enum",
"machine_mode",
"req_mode",
")",
"{",
"int",
"i",
";",
"if",
"(",
"req_mode",
"==",
"VOIDmode",
")",
"return",
"false",
";",
"if",
"(",
"GET_CODE",
"(",
"PATTERN",
"(",
"insn",
")",
"... | [
"Return",
"true",
"if",
"every",
"SET",
"in",
"INSN",
"that",
"sets",
"the",
"CC",
"register",
"has",
"source",
"and",
"destination",
"with",
"matching",
"CC",
"modes",
"and",
"that",
"CC",
"mode",
"is",
"at",
"least",
"as",
"constrained",
"as",
"REQ_MODE"... | [
"s390",
"0",
"0",
"0"
] | s3903 | s390_match_ccmode | s390 | MPU | GCC | 22,074 | 122 | 1 | [] |
[
"<s>",
"bool",
"Thumb1FrameLowering",
"::",
"restoreCalleeSavedRegisters",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"MI",
",",
"const",
"std",
"::",
"vector",
"<",
"CalleeSavedInfo",
">",
"&",
"CSI",
",",
"const",
"TargetRe... | [
"restoreCalleeSavedRegisters",
"-",
"Issues",
"instruction",
"(",
"s",
")",
"to",
"restore",
"all",
"callee",
"saved",
"registers",
"and",
"returns",
"true",
"if",
"it",
"is",
"n't",
"possible",
"/",
"profitable",
"to",
"do",
"so",
"by",
"issuing",
"a",
"ser... | [
"ARM",
"ARM",
"ARM",
"0",
"ARM::tPOP",
"0",
"1",
"ARM::LR",
"ARM::PC",
"ARM::tPOP_RET"
] | Thumb1FrameLowering11 | restoreCalleeSavedRegisters | ARM | CPU | LLVM | 22,075 | 265 | 1 | [] |
[
"<s>",
"void",
"SparcFrameLowering",
"::",
"emitPrologue",
"(",
"MachineFunction",
"&",
"MF",
",",
"MachineBasicBlock",
"&",
"MBB",
")",
"const",
"{",
"SparcMachineFunctionInfo",
"*",
"FuncInfo",
"=",
"MF",
".",
"getInfo",
"<",
"SparcMachineFunctionInfo",
">",
"("... | [
"emitProlog/emitEpilog",
"-",
"These",
"methods",
"insert",
"prolog",
"and",
"epilog",
"code",
"into",
"the",
"function",
"."
] | [
"Sparc",
"Sparc",
"Sparc",
"Sparc",
"\"Shrink-wrapping not yet supported\"",
"Sparc",
"Sparc",
"SP::SAVEri",
"SP::SAVErr",
"0",
"SP::ADDri",
"SP::ADDrr",
"Sparc",
"SP",
"SP::I6",
"SP::I7",
"SP::O7"
] | SparcFrameLowering2 | emitPrologue | Sparc | CPU | LLVM | 22,076 | 383 | 1 | [] |
[
"<s>",
"const",
"TargetRegisterInfo",
"*",
"getRegisterInfo",
"(",
")",
"const",
"override",
"{",
"return",
"getSubtargetImpl",
"(",
")",
"->",
"getRegisterInfo",
"(",
")",
";",
"}",
"</s>"
] | [
"getRegisterInfo",
"-",
"TargetInstrInfo",
"is",
"a",
"superset",
"of",
"MRegister",
"info",
"."
] | [
"MSP430"
] | MSP430TargetMachine | getRegisterInfo | MSP430 | MPU | LLVM | 22,077 | 19 | 1 | [] |
[
"<s>",
"bool",
"hasReservedCallFrame",
"(",
"const",
"MachineFunction",
"&",
"MF",
")",
"const",
"override",
"{",
"return",
"true",
";",
"}",
"</s>"
] | [
"hasReservedCallFrame",
"-",
"Under",
"normal",
"circumstances",
",",
"when",
"a",
"frame",
"pointer",
"is",
"not",
"required",
",",
"we",
"reserve",
"argument",
"space",
"for",
"call",
"sites",
"in",
"the",
"function",
"immediately",
"on",
"entry",
"to",
"the... | [
"VE"
] | VEFrameLowering | hasReservedCallFrame | VE | CPU | LLVM | 22,078 | 15 | 1 | [] |
[
"<s>",
"bool",
"MipsPassConfig",
"::",
"addInstSelector",
"(",
")",
"{",
"PM",
".",
"add",
"(",
"createMipsISelDag",
"(",
"getMipsTargetMachine",
"(",
")",
")",
")",
";",
"return",
"false",
";",
"}",
"</s>"
] | [
"addInstSelector",
"-",
"This",
"method",
"should",
"install",
"an",
"instruction",
"selector",
"pass",
",",
"which",
"converts",
"from",
"LLVM",
"code",
"to",
"machine",
"instructions",
"."
] | [
"Mips",
"Mips",
"Mips",
"Mips"
] | MipsTargetMachine86 | addInstSelector | Mips | CPU | LLVM | 22,079 | 23 | 1 | [] |
[
"<s>",
"static",
"int",
"ix86_avx_u128_mode_after",
"(",
"int",
"mode",
",",
"rtx_insn",
"*",
"insn",
")",
"{",
"rtx",
"pat",
"=",
"PATTERN",
"(",
"insn",
")",
";",
"if",
"(",
"vzeroupper_operation",
"(",
"pat",
",",
"VOIDmode",
")",
"||",
"vzeroall_operat... | [
"Calculate",
"mode",
"of",
"upper",
"128bit",
"AVX",
"registers",
"after",
"the",
"insn",
"."
] | [
"i386"
] | i3864 | ix86_avx_u128_mode_after | i386 | CPU | GCC | 22,080 | 74 | 1 | [] |
[
"<s>",
"static",
"void",
"rl78_alloc_physical_registers_op1",
"(",
"rtx_insn",
"*",
"insn",
")",
"{",
"if",
"(",
"rtx_equal_p",
"(",
"OP",
"(",
"0",
")",
",",
"OP",
"(",
"1",
")",
")",
")",
"{",
"OP",
"(",
"0",
")",
"=",
"OP",
"(",
"1",
")",
"=",... | [
"Devirtualize",
"an",
"insn",
"of",
"the",
"form",
"(",
"SET",
"(",
"op",
")",
"(",
"unop",
"(",
"op",
")",
")",
")",
"."
] | [
"rl78",
"0",
"1",
"0",
"1",
"1",
"0",
"0",
"0",
"0",
"0",
"1",
"1",
"0",
"0",
"1",
"1",
"0",
"0",
"1",
"1"
] | rl78 | rl78_alloc_physical_registers_op1 | rl78 | MPU | GCC | 22,081 | 189 | 1 | [] |
[
"<s>",
"void",
"MipsSEFrameLowering",
"::",
"emitEpilogue",
"(",
"MachineFunction",
"&",
"MF",
",",
"MachineBasicBlock",
"&",
"MBB",
")",
"const",
"{",
"MachineBasicBlock",
"::",
"iterator",
"MBBI",
"=",
"MBB",
".",
"getLastNonDebugInstr",
"(",
")",
";",
"Machin... | [
"Insert",
"epilog",
"code",
"into",
"the",
"function",
"."
] | [
"Mips",
"Mips",
"Mips",
"Mips",
"Mips",
"Mips",
"Mips",
"Mips",
"Mips",
"Mips",
"0",
"Mips",
"Mips::GPR64RegClass",
"Mips::GPR32RegClass",
"0",
"0",
"4",
"Mips"
] | MipsSEFrameLowering | emitEpilogue | Mips | CPU | LLVM | 22,082 | 349 | 1 | [] |
[
"<s>",
"void",
"GCNPassConfig",
"::",
"addPreEmitPass",
"(",
")",
"{",
"addPass",
"(",
"&",
"PostRAHazardRecognizerID",
")",
";",
"if",
"(",
"EnableSIInsertWaitcntsPass",
")",
"addPass",
"(",
"createSIInsertWaitcntsPass",
"(",
")",
")",
";",
"else",
"addPass",
"... | [
"This",
"pass",
"may",
"be",
"implemented",
"by",
"targets",
"that",
"want",
"to",
"run",
"passes",
"immediately",
"before",
"machine",
"code",
"is",
"emitted",
"."
] | [
"AMDGPU",
"SI",
"SI",
"SI",
"SI",
"SI",
"SI",
"SI"
] | AMDGPUTargetMachine22 | addPreEmitPass | AMDGPU | GPU | LLVM | 22,083 | 66 | 1 | [] |
[
"<s>",
"bool",
"aarch64_mask_and_shift_for_ubfiz_p",
"(",
"machine_mode",
"mode",
",",
"rtx",
"mask",
",",
"rtx",
"shft_amnt",
")",
"{",
"return",
"CONST_INT_P",
"(",
"mask",
")",
"&&",
"CONST_INT_P",
"(",
"shft_amnt",
")",
"&&",
"INTVAL",
"(",
"shft_amnt",
")... | [
"Return",
"true",
"if",
"the",
"mask",
"and",
"a",
"shift",
"amount",
"from",
"an",
"RTX",
"of",
"the",
"form",
"(",
"x",
"<",
"<",
"SHFT_AMNT",
")",
"&",
"MASK",
"are",
"valid",
"to",
"combine",
"into",
"a",
"UBFIZ",
"instruction",
"of",
"mode",
"MO... | [
"aarch64",
"1",
"0",
"1",
"1",
"0"
] | aarch644 | aarch64_mask_and_shift_for_ubfiz_p | aarch64 | CPU | GCC | 22,084 | 76 | 1 | [] |
[
"<s>",
"void",
"ARMPassConfig",
"::",
"addPreEmitPass2",
"(",
")",
"{",
"addPass",
"(",
"createARMFixCortexA57AES1742098Pass",
"(",
")",
")",
";",
"addPass",
"(",
"createARMBranchTargetsPass",
"(",
")",
")",
";",
"addPass",
"(",
"createARMConstantIslandPass",
"(",
... | [
"Targets",
"may",
"add",
"passes",
"immediately",
"before",
"machine",
"code",
"is",
"emitted",
"in",
"this",
"callback",
"."
] | [
"ARM",
"ARM",
"ARM",
"ARM",
"ARM",
"ARM"
] | ARMTargetMachine47 | addPreEmitPass2 | ARM | CPU | LLVM | 22,085 | 64 | 1 | [] |
[
"<s>",
"bool",
"frv_can_eliminate",
"(",
"const",
"int",
"from",
",",
"const",
"int",
"to",
")",
"{",
"return",
"(",
"from",
"==",
"ARG_POINTER_REGNUM",
"&&",
"to",
"==",
"STACK_POINTER_REGNUM",
"?",
"!",
"frame_pointer_needed",
":",
"true",
")",
";",
"}",
... | [
"Worker",
"function",
"for",
"TARGET_CAN_ELIMINATE",
"."
] | [
"frv"
] | frv | frv_can_eliminate | frv | VLIW | GCC | 22,086 | 29 | 1 | [] |
[
"<s>",
"bool",
"MCS51AsmParser",
"::",
"MatchAndEmitInstruction",
"(",
"SMLoc",
"Loc",
",",
"unsigned",
"&",
"Opcode",
",",
"OperandVector",
"&",
"Operands",
",",
"MCStreamer",
"&",
"Out",
",",
"uint64_t",
"&",
"ErrorInfo",
",",
"bool",
"MatchingInlineAsm",
")",... | [
"MatchAndEmitInstruction",
"-",
"Recognize",
"a",
"series",
"of",
"operands",
"of",
"a",
"parsed",
"instruction",
"as",
"an",
"actual",
"MCInst",
"and",
"emit",
"it",
"to",
"the",
"specified",
"MCStreamer",
"."
] | [
"MCS51",
"MCS51",
"\"invalid instruction\""
] | MCS51AsmParser | MatchAndEmitInstruction | MCS51 | MPU | LLVM | 22,087 | 105 | 1 | [] |
[
"<s>",
"bool",
"SITypeRewriter",
"::",
"doInitialization",
"(",
"Module",
"&",
"M",
")",
"{",
"Mod",
"=",
"&",
"M",
";",
"v16i8",
"=",
"VectorType",
"::",
"get",
"(",
"Type",
"::",
"getInt8Ty",
"(",
"M",
".",
"getContext",
"(",
")",
")",
",",
"16",
... | [
"Set",
"up",
"the",
"AsmPrinter",
"when",
"we",
"are",
"working",
"on",
"a",
"new",
"module",
"."
] | [
"AMDGPU",
"SI",
"16",
"4"
] | SITypeRewriter10 | doInitialization | AMDGPU | GPU | LLVM | 22,088 | 59 | 1 | [] |
[
"<s>",
"bool",
"mask_low_and_shift_p",
"(",
"machine_mode",
"mode",
",",
"rtx",
"mask",
",",
"rtx",
"shift",
",",
"int",
"maxlen",
")",
"{",
"return",
"IN_RANGE",
"(",
"mask_low_and_shift_len",
"(",
"mode",
",",
"mask",
",",
"shift",
")",
",",
"1",
",",
... | [
"Check",
"if",
"MASK",
"and",
"SHIFT",
"are",
"valid",
"in",
"mask-low-and-shift-left",
"operation",
"if",
"MAXLEN",
"is",
"the",
"maxium",
"length",
"of",
"consecutive",
"bits",
"that",
"can",
"make",
"up",
"MASK",
".",
"MODE",
"is",
"the",
"mode",
"of",
... | [
"mips",
"1"
] | mips | mask_low_and_shift_p | mips | CPU | GCC | 22,089 | 34 | 1 | [] |
[
"<s>",
"bool",
"isCheapToSpeculateCtlz",
"(",
")",
"const",
"override",
"{",
"return",
"true",
";",
"}",
"</s>"
] | [
"Return",
"true",
"if",
"it",
"is",
"cheap",
"to",
"speculate",
"a",
"call",
"to",
"intrinsic",
"ctlz",
"."
] | [
"SystemZ"
] | SystemZISelLowering18 | isCheapToSpeculateCtlz | SystemZ | CPU | LLVM | 22,090 | 11 | 1 | [] |
[
"<s>",
"void",
"VideoCore4RegisterInfo",
"::",
"eliminateFrameIndex",
"(",
"MachineBasicBlock",
"::",
"iterator",
"II",
",",
"int",
"SPAdj",
",",
"unsigned",
"FIOperandNum",
",",
"RegScavenger",
"*",
"RS",
")",
"const",
"{",
"assert",
"(",
"SPAdj",
"==",
"0",
... | [
"This",
"method",
"must",
"be",
"overriden",
"to",
"eliminate",
"abstract",
"frame",
"indices",
"from",
"instructions",
"which",
"may",
"use",
"them",
"."
] | [
"VideoCore4",
"VideoCore4",
"0",
"\"Unexpected\"",
"1"
] | VideoCore4RegisterInfo | eliminateFrameIndex | VideoCore4 | DSP | LLVM | 22,091 | 145 | 1 | [] |
[
"<s>",
"tree",
"gimple_folder",
"::",
"load_store_cookie",
"(",
"tree",
"type",
")",
"{",
"return",
"build_int_cst",
"(",
"build_pointer_type",
"(",
"type",
")",
",",
"TYPE_ALIGN",
"(",
"type",
")",
")",
";",
"}",
"</s>"
] | [
"Return",
"the",
"alignment",
"and",
"TBAA",
"argument",
"to",
"an",
"internal",
"load",
"or",
"store",
"function",
"like",
"IFN_MASK_LOAD",
"or",
"IFN_MASK_STORE",
",",
"given",
"that",
"it",
"accesses",
"memory",
"elements",
"of",
"type",
"TYPE",
"."
] | [
"aarch64"
] | aarch64-sve-builtins1 | load_store_cookie | aarch64 | CPU | GCC | 22,092 | 24 | 1 | [] |
[
"<s>",
"void",
"ARMBaseInstrInfo",
"::",
"breakPartialRegDependency",
"(",
"MachineInstr",
"&",
"MI",
",",
"unsigned",
"OpNum",
",",
"const",
"TargetRegisterInfo",
"*",
"TRI",
")",
"const",
"{",
"assert",
"(",
"OpNum",
"<",
"MI",
".",
"getDesc",
"(",
")",
".... | [
"Insert",
"a",
"dependency-breaking",
"instruction",
"before",
"MI",
"to",
"eliminate",
"an",
"unwanted",
"dependency",
"on",
"OpNum",
"."
] | [
"ARM",
"ARM",
"\"OpNum is not a def\"",
"\"Need TRI instance\"",
"\"Can't break virtual register dependencies.\"",
"ARM::SPRRegClass",
"ARM::D0",
"ARM::S0",
"2",
"\"Register enums broken\"",
"ARM::DPRRegClass",
"\"Can only break D-reg deps\"",
"\"MI doesn't clobber full D-reg\"",
"ARM::FCO... | ARMBaseInstrInfo1 | breakPartialRegDependency | ARM | CPU | LLVM | 22,093 | 206 | 1 | [] |
[
"<s>",
"bool",
"ARMLowOverheadLoops",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"{",
"if",
"(",
"!",
"static_cast",
"<",
"const",
"ARMSubtarget",
"&",
">",
"(",
"MF",
".",
"getSubtarget",
"(",
")",
")",
".",
"hasLOB",
"(",
")",
... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"ARM",
"ARM",
"ARM",
"\"ARM Loops on \"",
"\" ------------- \\n\"",
"ARM",
"ARM",
"ARM"
] | ARMLowOverheadLoops1 | runOnMachineFunction | ARM | CPU | LLVM | 22,094 | 166 | 1 | [] |
[
"<s>",
"static",
"int",
"arc_check_release31a",
"(",
"rtx_insn",
"*",
"pred",
",",
"rtx_insn",
"*",
"succ",
")",
"{",
"if",
"(",
"!",
"pred",
"||",
"!",
"INSN_P",
"(",
"pred",
")",
"||",
"!",
"succ",
"||",
"!",
"INSN_P",
"(",
"succ",
")",
")",
"ret... | [
"When",
"compiling",
"for",
"release",
"310a",
",",
"insert",
"a",
"nop",
"before",
"any",
"conditional",
"jump",
"."
] | [
"arc",
"0",
"0",
"0",
"1",
"1",
"0"
] | arc1 | arc_check_release31a | arc | MPU | GCC | 22,095 | 150 | 1 | [] |
[
"<s>",
"void",
"RISCVInstrInfo",
"::",
"loadRegFromStackSlot",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"I",
",",
"unsigned",
"DstReg",
",",
"int",
"FI",
",",
"const",
"TargetRegisterClass",
"*",
"RC",
",",
"const",
"Targ... | [
"Load",
"the",
"specified",
"register",
"of",
"the",
"given",
"register",
"class",
"from",
"the",
"specified",
"stack",
"frame",
"index",
"."
] | [
"RISCV",
"RISCV",
"RISCV::GPRRegClass",
"RISCV::GPRRegClass",
"32",
"RISCV::LW",
"RISCV::LD",
"RISCV::FPR32RegClass",
"RISCV::FLW",
"RISCV::FPR64RegClass",
"RISCV::FLD",
"RISCV::VGRRegClass",
"RISCV::VPRRegClass",
"RISCV::VQRRegClass",
"RISCV::VORRegClass",
"RISCV::VLE_V_um",
"\"Can'... | RISCVInstrInfo31 | loadRegFromStackSlot | RISCV | CPU | LLVM | 22,096 | 232 | 1 | [] |
[
"<s>",
"void",
"ARMPassConfig",
"::",
"addPreEmitPass2",
"(",
")",
"{",
"addPass",
"(",
"createARMConstantIslandPass",
"(",
")",
")",
";",
"addPass",
"(",
"createARMLowOverheadLoopsPass",
"(",
")",
")",
";",
"if",
"(",
"TM",
"->",
"getTargetTriple",
"(",
")",
... | [
"Targets",
"may",
"add",
"passes",
"immediately",
"before",
"machine",
"code",
"is",
"emitted",
"in",
"this",
"callback",
"."
] | [
"ARM",
"ARM",
"ARM",
"ARM"
] | ARMTargetMachine103 | addPreEmitPass2 | ARM | CPU | LLVM | 22,097 | 41 | 1 | [] |
[
"<s>",
"bool",
"mayLoad",
"(",
")",
"const",
"{",
"return",
"Load",
";",
"}",
"</s>"
] | [
"Return",
"true",
"if",
"this",
"instruction",
"could",
"possibly",
"read",
"memory",
"."
] | [
"Hexagon"
] | HexagonShuffler | mayLoad | Hexagon | DSP | LLVM | 22,098 | 10 | 1 | [] |
[
"<s>",
"void",
"TPCAAWrapperPass",
"::",
"getAnalysisUsage",
"(",
"AnalysisUsage",
"&",
"AU",
")",
"const",
"{",
"AU",
".",
"setPreservesAll",
"(",
")",
";",
"}",
"</s>"
] | [
"getAnalysisUsage",
"-",
"Subclasses",
"that",
"override",
"getAnalysisUsage",
"must",
"call",
"this",
"."
] | [
"TPC",
"TPC"
] | TPCAliasAnalysis | getAnalysisUsage | TPC | Virtual ISA | LLVM | 22,099 | 18 | 1 | [] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.