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>",
"void",
"ARMBaseRegisterInfo",
"::",
"eliminateCallFramePseudoInstr",
"(",
"MachineFunction",
"&",
"MF",
",",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"I",
")",
"const",
"{",
"const",
"TargetFrameLowering",
"*",
"TFI",
"=",... | [
"This",
"method",
"is",
"called",
"during",
"prolog/epilog",
"code",
"insertion",
"to",
"eliminate",
"call",
"frame",
"setup",
"and",
"destroy",
"pseudo",
"instructions",
"(",
"but",
"only",
"if",
"the",
"Target",
"is",
"using",
"them",
")",
"."
] | [
"ARM",
"ARM",
"0",
"0",
"1",
"ARM",
"ARM",
"\"This eliminateCallFramePseudoInstr does not support Thumb1!\"",
"ARM",
"ARMCC::CondCodes",
"1",
"ARMCC::AL",
"ARMCC::CondCodes",
"ARM::ADJCALLSTACKDOWN",
"ARM::tADJCALLSTACKDOWN",
"2",
"ARM",
"3",
"ARM::ADJCALLSTACKUP",
"ARM::tADJCA... | ARMBaseRegisterInfo1 | eliminateCallFramePseudoInstr | ARM | CPU | LLVM | 8,800 | 301 | 1 | [] |
[
"<s>",
"static",
"bool",
"microblaze_legitimate_constant_p",
"(",
"machine_mode",
"mode",
"ATTRIBUTE_UNUSED",
",",
"rtx",
"x",
")",
"{",
"if",
"(",
"microblaze_cannot_force_const_mem",
"(",
"mode",
",",
"x",
")",
")",
"return",
"false",
";",
"if",
"(",
"GET_CODE... | [
"Implement",
"TARGET_LEGITIMATE_CONSTANT_P",
".",
"At",
"present",
",",
"GAS",
"does",
"n't",
"understand",
"li",
".",
"[",
"sd",
"]",
",",
"so",
"do",
"n't",
"allow",
"it",
"to",
"be",
"generated",
"at",
"present",
"."
] | [
"microblaze",
"0",
"0",
"0",
"0",
"1"
] | microblaze | microblaze_legitimate_constant_p | microblaze | MPU | GCC | 8,801 | 165 | 1 | [] |
[
"<s>",
"const",
"PPCMCExpr",
"*",
"PPCMCExpr",
"::",
"Create",
"(",
"VariantKind",
"Kind",
",",
"const",
"MCExpr",
"*",
"Expr",
",",
"bool",
"isDarwin",
",",
"MCContext",
"&",
"Ctx",
")",
"{",
"return",
"new",
"(",
"Ctx",
")",
"PPCMCExpr",
"(",
"Kind",
... | [
"Construct",
"a",
"unary",
"instruction",
",",
"given",
"the",
"opcode",
"and",
"an",
"operand",
"."
] | [
"PowerPC",
"PPC",
"PPC",
"PPC"
] | PPCMCExpr (2) | Create | PowerPC | CPU | LLVM | 8,802 | 38 | 1 | [] |
[
"<s>",
"MCSymbol",
"*",
"OR1KMCInstLower",
"::",
"GetBlockAddressSymbol",
"(",
"const",
"MachineOperand",
"&",
"MO",
")",
"const",
"{",
"return",
"Printer",
".",
"GetBlockAddressSymbol",
"(",
"MO",
".",
"getBlockAddress",
"(",
")",
")",
";",
"}",
"</s>"
] | [
"Return",
"the",
"MCSymbol",
"used",
"to",
"satisfy",
"BlockAddress",
"uses",
"of",
"the",
"specified",
"basic",
"block",
"."
] | [
"OR1K",
"OR1K"
] | OR1KMCInstLower | GetBlockAddressSymbol | OR1K | CPU | LLVM | 8,803 | 26 | 1 | [] |
[
"<s>",
"bool",
"isLegalMaskedStore",
"(",
"Type",
"*",
"DataTy",
",",
"Align",
"Alignment",
")",
"{",
"return",
"isLegalMaskedLoad",
"(",
"DataTy",
",",
"Alignment",
")",
";",
"}",
"</s>"
] | [
"Return",
"true",
"if",
"the",
"target",
"supports",
"masked",
"store",
"."
] | [
"ARM"
] | ARMTargetTransformInfo (2)1 | isLegalMaskedStore | ARM | CPU | LLVM | 8,804 | 20 | 1 | [] |
[
"<s>",
"void",
"MipsTargetELFStreamer",
"::",
"emitAssignment",
"(",
"MCSymbol",
"*",
"Symbol",
",",
"const",
"MCExpr",
"*",
"Value",
")",
"{",
"if",
"(",
"Value",
"->",
"getKind",
"(",
")",
"!=",
"MCExpr",
"::",
"SymbolRef",
")",
"return",
";",
"const",
... | [
"Emit",
"an",
"assignment",
"of",
"Value",
"to",
"Symbol",
"."
] | [
"Mips",
"Mips",
"2",
"2"
] | MipsTargetStreamer11 | emitAssignment | Mips | CPU | LLVM | 8,805 | 129 | 1 | [] |
[
"<s>",
"bool",
"MOSCallLowering",
"::",
"lowerFormalArguments",
"(",
"MachineIRBuilder",
"&",
"MIRBuilder",
",",
"const",
"Function",
"&",
"F",
",",
"ArrayRef",
"<",
"ArrayRef",
"<",
"Register",
">>",
"VRegs",
",",
"FunctionLoweringInfo",
"&",
"FLI",
")",
"const... | [
"This",
"hook",
"must",
"be",
"implemented",
"to",
"lower",
"the",
"incoming",
"(",
"formal",
")",
"arguments",
",",
"described",
"by",
"VRegs",
",",
"for",
"GlobalISel",
"."
] | [
"MOS",
"MOS",
"MOS",
"MOS::CLD_Implied",
"0",
"MOS",
"MOS",
"MOS",
"1"
] | MOSCallLowering | lowerFormalArguments | MOS | MPU | LLVM | 8,806 | 285 | 1 | [] |
[
"<s>",
"bool",
"isMem",
"(",
")",
"const",
"override",
"{",
"return",
"Kind",
"==",
"k_Memory",
";",
"}",
"</s>"
] | [
"isMem",
"-",
"Is",
"this",
"a",
"memory",
"operand",
"?"
] | [
"P2"
] | P2AsmParser | isMem | P2 | MPU | LLVM | 8,807 | 13 | 1 | [] |
[
"<s>",
"unsigned",
"TeakInstrInfo",
"::",
"getInstSizeInBytes",
"(",
"const",
"MachineInstr",
"&",
"MI",
")",
"const",
"{",
"return",
"get",
"(",
"MI",
".",
"getOpcode",
"(",
")",
")",
".",
"getSize",
"(",
")",
">>",
"1",
";",
"}",
"</s>"
] | [
"Returns",
"the",
"size",
"in",
"bytes",
"of",
"the",
"specified",
"MachineInstr",
",",
"or",
"~0U",
"when",
"this",
"function",
"is",
"not",
"implemented",
"by",
"a",
"target",
"."
] | [
"Teak",
"Teak",
"1"
] | TeakInstrInfo | getInstSizeInBytes | Teak | DSP | LLVM | 8,808 | 29 | 1 | [] |
[
"<s>",
"static",
"unsigned",
"estimateStackSize",
"(",
"MachineFunction",
"&",
"MF",
")",
"{",
"const",
"MachineFrameInfo",
"*",
"FFI",
"=",
"MF",
".",
"getFrameInfo",
"(",
")",
";",
"int",
"Offset",
"=",
"0",
";",
"for",
"(",
"int",
"i",
"=",
"FFI",
"... | [
"Estimate",
"and",
"return",
"the",
"size",
"of",
"the",
"stack",
"frame",
"."
] | [
"ARM",
"0",
"0",
"0",
"1"
] | ARMBaseRegisterInfo12 | estimateStackSize | ARM | CPU | LLVM | 8,809 | 141 | 1 | [] |
[
"<s>",
"DecodeStatus",
"AVRDisassembler",
"::",
"getInstruction",
"(",
"MCInst",
"&",
"Instr",
",",
"uint64_t",
"&",
"Size",
",",
"ArrayRef",
"<",
"uint8_t",
">",
"Bytes",
",",
"uint64_t",
"Address",
",",
"raw_ostream",
"&",
"CStream",
")",
"const",
"{",
"ui... | [
"Returns",
"the",
"disassembly",
"of",
"a",
"single",
"instruction",
"."
] | [
"AVR",
"AVR"
] | AVRDisassembler | getInstruction | AVR | MPU | LLVM | 8,810 | 160 | 1 | [] |
[
"<s>",
"bool",
"sh_loads_bankedreg_p",
"(",
"rtx",
"insn",
")",
"{",
"if",
"(",
"GET_CODE",
"(",
"PATTERN",
"(",
"insn",
")",
")",
"==",
"SET",
")",
"{",
"rtx",
"op",
"=",
"SET_DEST",
"(",
"PATTERN",
"(",
"insn",
")",
")",
";",
"if",
"(",
"REG_P",
... | [
"Return",
"true",
"iff",
"INSN",
"loads",
"a",
"banked",
"register",
"."
] | [
"sh"
] | sh | sh_loads_bankedreg_p | sh | CPU | GCC | 8,811 | 54 | 1 | [] |
[
"<s>",
"static",
"SDValue",
"getTargetNode",
"(",
"ConstantPoolSDNode",
"*",
"N",
",",
"SDLoc",
"DL",
",",
"EVT",
"Ty",
",",
"SelectionDAG",
"&",
"DAG",
",",
"unsigned",
"Flags",
")",
"{",
"return",
"DAG",
".",
"getTargetConstantPool",
"(",
"N",
"->",
"get... | [
"Retrieve",
"the",
"target",
"node",
"this",
"edge",
"connects",
"to",
"."
] | [
"TL45"
] | TL45ISelLowering | getTargetNode | TL45 | MPU | LLVM | 8,812 | 51 | 1 | [] |
[
"<s>",
"MachineBasicBlock",
"::",
"iterator",
"AVRFrameLowering",
"::",
"eliminateCallFramePseudoInstr",
"(",
"MachineFunction",
"&",
"MF",
",",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"MI",
")",
"const",
"{",
"const",
"AVRSubtarge... | [
"This",
"method",
"is",
"called",
"during",
"prolog/epilog",
"code",
"insertion",
"to",
"eliminate",
"call",
"frame",
"setup",
"and",
"destroy",
"pseudo",
"instructions",
"(",
"but",
"only",
"if",
"the",
"Target",
"is",
"using",
"them",
")",
"."
] | [
"AVR",
"AVR",
"AVR",
"AVR",
"AVR",
"0",
"0",
"1",
"\"Unsupported stack alignment\"",
"6",
"AVR::ADIWRdK",
"AVR::SUBIWRdK",
"AVR::SPREAD",
"AVR::R31R30",
"AVR::SP",
"AVR::R31R30",
"AVR::R31R30",
"3",
"AVR::SPWRITE",
"AVR::SP",
"AVR::R31R30"
] | AVRFrameLowering12 | eliminateCallFramePseudoInstr | AVR | MPU | LLVM | 8,813 | 338 | 1 | [] |
[
"<s>",
"virtual",
"const",
"DataLayout",
"*",
"getDataLayout",
"(",
")",
"const",
"{",
"return",
"&",
"Layout",
";",
"}",
"</s>"
] | [
"Return",
"the",
"DataLayout",
"associated",
"with",
"the",
"module",
"this",
"SCEV",
"instance",
"is",
"operating",
"on",
"."
] | [
"R600"
] | AMDGPUTargetMachine20 | getDataLayout | R600 | GPU | LLVM | 8,814 | 14 | 1 | [] |
[
"<s>",
"MCSection",
"*",
"LanaiTargetObjectFile",
"::",
"getSectionForConstant",
"(",
"const",
"DataLayout",
"&",
"DL",
",",
"SectionKind",
"Kind",
",",
"const",
"Constant",
"*",
"C",
",",
"unsigned",
"&",
"Align",
")",
"const",
"{",
"if",
"(",
"isConstantInSm... | [
"Given",
"a",
"constant",
"with",
"the",
"SectionKind",
",",
"return",
"a",
"section",
"that",
"it",
"should",
"be",
"placed",
"in",
"."
] | [
"Lanai",
"Lanai"
] | LanaiTargetObjectFile | getSectionForConstant | Lanai | CPU | LLVM | 8,815 | 52 | 1 | [] |
[
"<s>",
"static",
"bool",
"v850_legitimate_address_p",
"(",
"machine_mode",
"mode",
",",
"rtx",
"x",
",",
"bool",
"strict_p",
",",
"addr_space_t",
"as",
"ATTRIBUTE_UNUSED",
")",
"{",
"gcc_assert",
"(",
"ADDR_SPACE_GENERIC_P",
"(",
"as",
")",
")",
";",
"if",
"("... | [
"Implement",
"TARGET_LEGITIMATE_ADDRESS_P",
"."
] | [
"v850",
"2",
"0",
"4",
"4",
"0",
"0",
"0",
"1",
"1",
"1",
"2",
"0",
"1",
"0",
"1",
"1",
"2",
"0",
"1"
] | v8505 | v850_legitimate_address_p | v850 | MPU | GCC | 8,816 | 290 | 1 | [] |
[
"<s>",
"bool",
"ARMAsmPrinter",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"{",
"AFI",
"=",
"MF",
".",
"getInfo",
"<",
"ARMFunctionInfo",
">",
"(",
")",
";",
"MCP",
"=",
"MF",
".",
"getConstantPool",
"(",
")",
";",
"Subtarget",
... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"ARM",
"ARM",
"ARM",
"ARM",
"6",
"4",
"3",
"2",
"1",
"5",
"1",
"0",
"1",
"0",
"ARM::tBX",
"ARMCC::AL",
"0"
] | ARMAsmPrinter102 | runOnMachineFunction | ARM | CPU | LLVM | 8,817 | 356 | 1 | [] |
[
"<s>",
"void",
"aarch64_gen_atomic_ldop",
"(",
"enum",
"rtx_code",
"code",
",",
"rtx",
"out_data",
",",
"rtx",
"out_result",
",",
"rtx",
"mem",
",",
"rtx",
"value",
",",
"rtx",
"model_rtx",
")",
"{",
"machine_mode",
"mode",
"=",
"GET_MODE",
"(",
"mem",
")"... | [
"Emit",
"an",
"atomic",
"load+operate",
".",
"CODE",
"is",
"the",
"operation",
".",
"OUT_DATA",
"is",
"the",
"location",
"to",
"store",
"the",
"data",
"read",
"from",
"memory",
".",
"OUT_RESULT",
"is",
"the",
"location",
"to",
"store",
"the",
"result",
"of... | [
"aarch64",
"0"
] | aarch643 | aarch64_gen_atomic_ldop | aarch64 | CPU | GCC | 8,818 | 463 | 1 | [] |
[
"<s>",
"bool",
"MipsSEInstrInfo",
"::",
"isReallyTriviallyReMaterializable",
"(",
"const",
"MachineInstr",
"&",
"MI",
",",
"AAResults",
"*",
"AA",
")",
"const",
"{",
"switch",
"(",
"MI",
".",
"getOpcode",
"(",
")",
")",
"{",
"case",
"Mips",
"::",
"CheriBound... | [
"For",
"instructions",
"with",
"opcodes",
"for",
"which",
"the",
"M_REMATERIALIZABLE",
"flag",
"is",
"set",
",",
"this",
"hook",
"lets",
"the",
"target",
"specify",
"whether",
"the",
"instruction",
"is",
"actually",
"trivially",
"rematerializable",
",",
"taking",
... | [
"Mips",
"Mips",
"Mips::CheriBoundedStackPseudoImm",
"3",
"Mips::CIncOffsetImm",
"Mips::CMove",
"Mips::COPY",
"1",
"1",
"Mips::CNULL",
"Mips::LUi64",
"1",
"MipsII::MO_CAPTABLE_OFF_HI"
] | MipsSEInstrInfo30 | isReallyTriviallyReMaterializable | Mips | CPU | LLVM | 8,819 | 133 | 1 | [] |
[
"<s>",
"StringRef",
"SIRegisterInfo",
"::",
"getRegAsmName",
"(",
"unsigned",
"Reg",
")",
"const",
"{",
"switch",
"(",
"Reg",
")",
"{",
"case",
"AMDGPU",
"::",
"FLAT_SCR",
":",
"return",
"\"flat_scratch\"",
";",
"case",
"AMDGPU",
"::",
"FLAT_SCR_LO",
":",
"r... | [
"Return",
"the",
"assembly",
"name",
"for",
"Reg",
"."
] | [
"AMDGPU",
"SI",
"AMDGPU::FLAT_SCR",
"\"flat_scratch\"",
"AMDGPU::FLAT_SCR_LO",
"\"flat_scratch_lo\"",
"AMDGPU::FLAT_SCR_HI",
"\"flat_scratch_hi\"",
"AMDGPU::NoRegAltName",
"32",
"AMDGPU::Reg32",
"64",
"AMDGPU::Reg64",
"96",
"AMDGPU::Reg96",
"128",
"AMDGPU::Reg128",
"160",
"AMDGPU... | SIRegisterInfo89 | getRegAsmName | AMDGPU | GPU | LLVM | 8,820 | 175 | 1 | [] |
[
"<s>",
"bool",
"X86CallLowering",
"::",
"lowerFormalArguments",
"(",
"MachineIRBuilder",
"&",
"MIRBuilder",
",",
"const",
"Function",
"&",
"F",
",",
"ArrayRef",
"<",
"unsigned",
">",
"VRegs",
")",
"const",
"{",
"if",
"(",
"F",
".",
"arg_empty",
"(",
")",
"... | [
"This",
"hook",
"must",
"be",
"implemented",
"to",
"lower",
"the",
"incoming",
"(",
"formal",
")",
"arguments",
",",
"described",
"by",
"VRegs",
",",
"for",
"GlobalISel",
"."
] | [
"X86",
"X86",
"8",
"0",
"X86"
] | X86CallLowering | lowerFormalArguments | X86 | CPU | LLVM | 8,821 | 301 | 1 | [] |
[
"<s>",
"const",
"MipsMCExpr",
"*",
"MipsMCExpr",
"::",
"Create",
"(",
"VariantKind",
"Kind",
",",
"const",
"MCExpr",
"*",
"Expr",
",",
"MCContext",
"&",
"Ctx",
")",
"{",
"return",
"new",
"(",
"Ctx",
")",
"MipsMCExpr",
"(",
"Kind",
",",
"Expr",
")",
";"... | [
"Construct",
"a",
"unary",
"instruction",
",",
"given",
"the",
"opcode",
"and",
"an",
"operand",
"."
] | [
"Mips",
"Mips",
"Mips",
"Mips"
] | MipsMCExpr2 | Create | Mips | CPU | LLVM | 8,822 | 33 | 1 | [] |
[
"<s>",
"const",
"MCS51InstrInfo",
"*",
"getInstrInfo",
"(",
")",
"const",
"override",
"{",
"return",
"&",
"InstrInfo",
";",
"}",
"</s>"
] | [
"TargetInstrInfo",
"getter",
"."
] | [
"MCS51",
"MCS51"
] | MCS51Subtarget | getInstrInfo | MCS51 | MPU | LLVM | 8,823 | 14 | 1 | [] |
[
"<s>",
"bool",
"GCNPassConfig",
"::",
"addPreISel",
"(",
")",
"{",
"AMDGPUPassConfig",
"::",
"addPreISel",
"(",
")",
";",
"if",
"(",
"TM",
"->",
"getOptLevel",
"(",
")",
">",
"CodeGenOpt",
"::",
"None",
")",
"addPass",
"(",
"createAMDGPULateCodeGenPreparePass"... | [
"{",
"{",
"@",
"For",
"GlobalISel"
] | [
"AMDGPU",
"AMDGPU",
"AMDGPU",
"AMDGPU",
"AMDGPU",
"AMDGPU",
"SI",
"AMDGPU"
] | AMDGPUTargetMachine (2)1 | addPreISel | AMDGPU | GPU | LLVM | 8,824 | 162 | 1 | [] |
[
"<s>",
"const",
"AAPTargetMachine",
"&",
"getTargetMachine",
"(",
")",
"{",
"return",
"static_cast",
"<",
"const",
"AAPTargetMachine",
"&",
">",
"(",
"TM",
")",
";",
"}",
"</s>"
] | [
"Return",
"the",
"target",
"machine",
"(",
"if",
"available",
")",
"."
] | [
"AAP",
"AAP",
"AAP"
] | AAPISelDAGToDAG | getTargetMachine | AAP | MPU | LLVM | 8,825 | 19 | 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 (2)1 | encodeInstruction | Mips | CPU | LLVM | 8,826 | 335 | 1 | [] |
[
"<s>",
"bool",
"HexagonTargetLowering",
"::",
"getPostIndexedAddressParts",
"(",
"SDNode",
"*",
"N",
",",
"SDNode",
"*",
"Op",
",",
"SDValue",
"&",
"Base",
",",
"SDValue",
"&",
"Offset",
",",
"ISD",
"::",
"MemIndexedMode",
"&",
"AM",
",",
"SelectionDAG",
"&"... | [
"Returns",
"true",
"by",
"value",
",",
"base",
"pointer",
"and",
"offset",
"pointer",
"and",
"addressing",
"mode",
"by",
"reference",
"if",
"this",
"node",
"can",
"be",
"combined",
"with",
"a",
"load",
"/",
"store",
"to",
"form",
"a",
"post-indexed",
"load... | [
"Hexagon",
"Hexagon",
"ISD::MemIndexedMode",
"MVT::i8",
"MVT::i16",
"MVT::i32",
"MVT::i64",
"MVT::f32",
"MVT::f64",
"MVT::v2i16",
"MVT::v2i32",
"MVT::v4i8",
"MVT::v4i16",
"MVT::v8i8",
"ISD::ADD",
"0",
"1",
"ISD::POST_INC"
] | HexagonISelLowering1 | getPostIndexedAddressParts | Hexagon | DSP | LLVM | 8,827 | 253 | 1 | [] |
[
"<s>",
"std",
"::",
"pair",
"<",
"unsigned",
",",
"const",
"TargetRegisterClass",
"*",
">",
"RV16KTargetLowering",
"::",
"getRegForInlineAsmConstraint",
"(",
"const",
"TargetRegisterInfo",
"*",
"TRI",
",",
"StringRef",
"Constraint",
",",
"MVT",
"VT",
")",
"const",... | [
"Given",
"a",
"physical",
"register",
"constraint",
"(",
"e.g",
"."
] | [
"RV16K",
"RV16K",
"1",
"0",
"0U",
"RV16K::GPRRegClass"
] | RV16KISelLowering | getRegForInlineAsmConstraint | RV16K | Virtual ISA | LLVM | 8,828 | 81 | 1 | [] |
[
"<s>",
"Liveness",
"(",
"MachineRegisterInfo",
"&",
"mri",
",",
"const",
"DataFlowGraph",
"&",
"g",
")",
":",
"DFG",
"(",
"g",
")",
",",
"TRI",
"(",
"g",
".",
"getTRI",
"(",
")",
")",
",",
"PRI",
"(",
"g",
".",
"getPRI",
"(",
")",
")",
",",
"MD... | [
"During",
"our",
"initial",
"pass",
"over",
"the",
"program",
",",
"we",
"determine",
"that",
"things",
"are",
"either",
"alive",
"or",
"maybe",
"alive",
".",
"More",
"..."
] | [
"Hexagon"
] | RDFLiveness5 | Liveness | Hexagon | DSP | LLVM | 8,829 | 86 | 1 | [] |
[
"<s>",
"inline",
"bool",
"isAdd",
"(",
"const",
"MCInstrDesc",
"&",
"MCInstD",
")",
"{",
"if",
"(",
"isSPUInst",
"(",
"MCInstD",
")",
")",
"return",
"getSlotOpCode",
"(",
"MCInstD",
")",
"==",
"spuADD",
";",
"if",
"(",
"isVPUInst",
"(",
"MCInstD",
")",
... | [
"Return",
"true",
"if",
"the",
"instruction",
"is",
"an",
"add",
"instruction",
"."
] | [
"TPC"
] | TPCMCInstrInfo | isAdd | TPC | Virtual ISA | LLVM | 8,830 | 44 | 1 | [] |
[
"<s>",
"const",
"char",
"*",
"HexagonTargetLowering",
"::",
"getTargetNodeName",
"(",
"unsigned",
"Opcode",
")",
"const",
"{",
"switch",
"(",
"(",
"HexagonISD",
"::",
"NodeType",
")",
"Opcode",
")",
"{",
"case",
"HexagonISD",
"::",
"ALLOCA",
":",
"return",
"... | [
"getTargetNodeName",
"-",
"This",
"method",
"returns",
"the",
"name",
"of",
"a",
"target",
"specific"
] | [
"Hexagon",
"Hexagon",
"HexagonISD::NodeType",
"HexagonISD::ALLOCA",
"\"HexagonISD::ALLOCA\"",
"HexagonISD::AT_GOT",
"\"HexagonISD::AT_GOT\"",
"HexagonISD::AT_PCREL",
"\"HexagonISD::AT_PCREL\"",
"HexagonISD::BARRIER",
"\"HexagonISD::BARRIER\"",
"HexagonISD::CALL",
"\"HexagonISD::CALL\"",
"H... | HexagonISelLowering19 | getTargetNodeName | Hexagon | DSP | LLVM | 8,831 | 410 | 1 | [] |
[
"<s>",
"bool",
"doFinalization",
"(",
"Module",
"&",
"M",
")",
"override",
"{",
"Result",
".",
"reset",
"(",
")",
";",
"return",
"false",
";",
"}",
"</s>"
] | [
"doFinalization",
"-",
"Virtual",
"method",
"overriden",
"by",
"subclasses",
"to",
"do",
"any",
"necessary",
"clean",
"up",
"after",
"all",
"passes",
"have",
"run",
"."
] | [
"AMDGPU"
] | AMDGPUAliasAnalysis (2) | doFinalization | AMDGPU | GPU | LLVM | 8,832 | 19 | 1 | [] |
[
"<s>",
"void",
"Thumb2InstrInfo",
"::",
"loadRegFromStackSlot",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"I",
",",
"unsigned",
"DestReg",
",",
"int",
"FI",
",",
"const",
"TargetRegisterClass",
"*",
"RC",
",",
"const",
"Ta... | [
"Load",
"the",
"specified",
"register",
"of",
"the",
"given",
"register",
"class",
"from",
"the",
"specified",
"stack",
"frame",
"index",
"."
] | [
"ARM",
"ARM::GPRRegClass",
"ARM::tGPRRegClass",
"ARM::tcGPRRegClass",
"ARM::rGPRRegClass",
"ARM::GPRnopcRegClass",
"ARM::t2LDRi12",
"0",
"ARM::GPRPairRegClass",
"ARM::GPRPair_with_gsub_1_in_rGPRRegClass",
"ARM::t2LDRDi8",
"ARM::gsub_0",
"ARM::gsub_1",
"0",
"ARM"
] | Thumb2InstrInfo18 | loadRegFromStackSlot | ARM | CPU | LLVM | 8,833 | 349 | 1 | [] |
[
"<s>",
"void",
"UnwindOpcodeAssembler",
"::",
"Finalize",
"(",
"unsigned",
"&",
"PersonalityIndex",
",",
"SmallVectorImpl",
"<",
"uint8_t",
">",
"&",
"Result",
")",
"{",
"UnwindOpcodeStreamer",
"OpStreamer",
"(",
"Result",
")",
";",
"if",
"(",
"HasPersonality",
... | [
"Finalize",
"the",
"unwind",
"opcode",
"sequence",
"for",
"emitBytes",
"(",
")"
] | [
"ARM",
"ARM::EHABI",
"1",
"3",
"4",
"4",
"ARM::EHABI",
"3",
"ARM::EHABI",
"ARM::EHABI",
"ARM::EHABI",
"3",
"\"too many opcodes for __aeabi_unwind_cpp_pr0\"",
"4",
"2",
"3",
"4",
"4",
"1",
"0",
"1"
] | ARMUnwindOpAsm (2) | Finalize | ARM | CPU | LLVM | 8,834 | 266 | 1 | [] |
[
"<s>",
"bool",
"AMDGPUResourceUsageAnalysis",
"::",
"runOnSCC",
"(",
"CallGraphSCC",
"&",
"SCC",
")",
"{",
"auto",
"*",
"TPC",
"=",
"getAnalysisIfAvailable",
"<",
"TargetPassConfig",
">",
"(",
")",
";",
"if",
"(",
"!",
"TPC",
")",
"return",
"false",
";",
"... | [
"runOnSCC",
"-",
"This",
"method",
"should",
"be",
"implemented",
"by",
"the",
"subclass",
"to",
"perform",
"whatever",
"action",
"is",
"necessary",
"for",
"the",
"specified",
"SCC",
"."
] | [
"AMDGPU",
"AMDGPU",
"SI",
"SI",
"\"should only be called once per function\""
] | AMDGPUResourceUsageAnalysis | runOnSCC | AMDGPU | GPU | LLVM | 8,835 | 178 | 1 | [] |
[
"<s>",
"SDValue",
"MSP430TargetLowering",
"::",
"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",
"."
] | [
"MSP430",
"MSP430",
"ISD::OutputArg",
"16",
"MSP430",
"\"ISRs cannot return any value\"",
"MSP430",
"0",
"0",
"\"Can only return in registers!\"",
"1",
"MSP430",
"MSP430ISD::RETI_FLAG",
"MSP430ISD::RET_FLAG",
"MVT::Other",
"MVT::Other"
] | MSP430ISelLowering14 | LowerReturn | MSP430 | MPU | LLVM | 8,836 | 314 | 1 | [] |
[
"<s>",
"void",
"mn10300_split_cbranch",
"(",
"machine_mode",
"cmp_mode",
",",
"rtx",
"cmp_op",
",",
"rtx",
"label_ref",
")",
"{",
"rtx",
"flags",
",",
"x",
";",
"flags",
"=",
"gen_rtx_REG",
"(",
"cmp_mode",
",",
"CC_REG",
")",
";",
"x",
"=",
"gen_rtx_COMPA... | [
"A",
"helper",
"function",
"for",
"splitting",
"cbranch",
"patterns",
"after",
"reload",
"."
] | [
"mn10300",
"0",
"1"
] | mn103004 | mn10300_split_cbranch | mn10300 | MPU | GCC | 8,837 | 110 | 1 | [] |
[
"<s>",
"static",
"MCAsmInfo",
"*",
"createMCAsmInfo",
"(",
"const",
"Target",
"&",
"T",
",",
"StringRef",
"TT",
")",
"{",
"Triple",
"TheTriple",
"(",
"TT",
")",
";",
"switch",
"(",
"TheTriple",
".",
"getOS",
"(",
")",
")",
"{",
"case",
"Triple",
"::",
... | [
"createMCAsmInfo",
"-",
"Create",
"a",
"MCAsmInfo",
"implementation",
"for",
"the",
"specified",
"target",
"triple",
"."
] | [
"X86",
"X86",
"X86",
"X86"
] | X86TargetMachine37 | createMCAsmInfo | X86 | CPU | LLVM | 8,838 | 79 | 1 | [] |
[
"<s>",
"static",
"const",
"char",
"*",
"cond_string",
"(",
"enum",
"rtx_code",
"code",
")",
"{",
"switch",
"(",
"code",
")",
"{",
"case",
"NE",
":",
"return",
"\"ne\"",
";",
"case",
"EQ",
":",
"return",
"\"eq\"",
";",
"case",
"GE",
":",
"if",
"(",
... | [
"Return",
"assembly",
"language",
"string",
"which",
"identifies",
"a",
"comparison",
"type",
"."
] | [
"avr",
"\"ne\"",
"\"eq\"",
"\"pl\"",
"\"ge\"",
"\"mi\"",
"\"lt\"",
"\"sh\"",
"\"lo\""
] | avr3 | cond_string | avr | MPU | GCC | 8,839 | 84 | 1 | [] |
[
"<s>",
"bool",
"ARCOptAddrMode",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"{",
"if",
"(",
"skipFunction",
"(",
"MF",
".",
"getFunction",
"(",
")",
")",
"||",
"KILL_PASS",
"(",
")",
")",
"return",
"false",
";",
"if",
"(",
"DUM... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"ARC",
"ARC",
"ARC"
] | ARCOptAddrMode1 | runOnMachineFunction | ARC | MPU | LLVM | 8,840 | 139 | 1 | [] |
[
"<s>",
"static",
"char",
"*",
"to_host_file_spec",
"(",
"char",
"*",
"filespec",
")",
"{",
"if",
"(",
"strchr",
"(",
"filespec",
",",
"']'",
")",
"||",
"strchr",
"(",
"filespec",
",",
"':'",
")",
")",
"return",
"filespec",
";",
"else",
"{",
"strcpy",
... | [
"Translate",
"a",
"Unix",
"syntax",
"file",
"specification",
"FILESPEC",
"into",
"VMS",
"syntax",
".",
"If",
"indicators",
"of",
"VMS",
"syntax",
"found",
",",
"return",
"input",
"string",
".",
"Return",
"a",
"pointer",
"to",
"a",
"static",
"buffer",
"."
] | [
"vms",
"1",
"1"
] | vms-ar | to_host_file_spec | vms | Virtual ISA | GCC | 8,841 | 64 | 1 | [] |
[
"<s>",
"static",
"bool",
"arm_const_not_ok_for_debug_p",
"(",
"rtx",
"p",
")",
"{",
"tree",
"decl_op0",
"=",
"NULL",
";",
"tree",
"decl_op1",
"=",
"NULL",
";",
"if",
"(",
"GET_CODE",
"(",
"p",
")",
"==",
"UNSPEC",
")",
"return",
"true",
";",
"if",
"(",... | [
"This",
"is",
"a",
"temporary",
"fix",
"for",
"PR60655",
".",
"Ideally",
"we",
"need",
"to",
"handle",
"most",
"of",
"these",
"cases",
"in",
"the",
"generic",
"part",
"but",
"currently",
"we",
"reject",
"minus",
"(",
"..",
")",
"(",
"sym_ref",
")",
"."... | [
"arm",
"1",
"1",
"0",
"0"
] | arm | arm_const_not_ok_for_debug_p | arm | CPU | GCC | 8,842 | 184 | 1 | [] |
[
"<s>",
"bool",
"AMDGPULowerIntrinsics",
"::",
"makeLIDRangeMetadata",
"(",
"Function",
"&",
"F",
")",
"const",
"{",
"auto",
"*",
"TPC",
"=",
"getAnalysisIfAvailable",
"<",
"TargetPassConfig",
">",
"(",
")",
";",
"if",
"(",
"!",
"TPC",
")",
"return",
"false",... | [
"Creates",
"value",
"range",
"metadata",
"on",
"an",
"workitemid",
".",
"*",
"intrinsic",
"call",
"or",
"load",
"."
] | [
"AMDGPU",
"AMDGPU",
"AMDGPU"
] | AMDGPULowerIntrinsics11 | makeLIDRangeMetadata | AMDGPU | GPU | LLVM | 8,843 | 102 | 1 | [] |
[
"<s>",
"void",
"clear",
"(",
")",
"{",
"memset",
"(",
"ScoreLBs",
",",
"0",
",",
"sizeof",
"(",
"ScoreLBs",
")",
")",
";",
"memset",
"(",
"ScoreUBs",
",",
"0",
",",
"sizeof",
"(",
"ScoreUBs",
")",
")",
";",
"PendingEvents",
"=",
"0",
";",
"memset",... | [
"Clear",
"all",
"timers",
"in",
"this",
"group",
"."
] | [
"AMDGPU",
"0",
"0",
"0",
"0",
"0",
"0"
] | SIInsertWaitcnts | clear | AMDGPU | GPU | LLVM | 8,844 | 85 | 1 | [] |
[
"<s>",
"static",
"bool",
"msp430_var_in_low_mem",
"(",
"tree",
"decl",
")",
"{",
"gcc_assert",
"(",
"VAR_P",
"(",
"decl",
")",
")",
";",
"if",
"(",
"has_attr",
"(",
"ATTR_UPPER",
",",
"decl",
")",
"||",
"has_attr",
"(",
"ATTR_EITHER",
",",
"decl",
")",
... | [
"Given",
"a",
"non-automatic",
"VAR_DECL",
"which",
"can",
"possibly",
"have",
"a",
"section",
",",
"return",
"true",
"if",
"the",
"variable",
"will",
"definitely",
"be",
"placed",
"in",
"the",
"lower",
"memory",
"region",
"(",
"below",
"address",
"0x10000",
... | [
"msp430",
"\"section\""
] | msp430 | msp430_var_in_low_mem | msp430 | MPU | GCC | 8,845 | 85 | 1 | [] |
[
"<s>",
"const",
"uint32_t",
"*",
"SIRegisterInfo",
"::",
"getCallPreservedMask",
"(",
"const",
"MachineFunction",
"&",
"MF",
",",
"CallingConv",
"::",
"ID",
"CC",
")",
"const",
"{",
"switch",
"(",
"CC",
")",
"{",
"case",
"CallingConv",
"::",
"C",
":",
"cas... | [
"Return",
"a",
"mask",
"of",
"call-preserved",
"registers",
"for",
"the",
"given",
"calling",
"convention",
"on",
"the",
"current",
"function",
"."
] | [
"AMDGPU",
"SI",
"AMDGPU",
"AMDGPU",
"AMDGPU",
"SI",
"SI"
] | SIRegisterInfo (3) | getCallPreservedMask | AMDGPU | GPU | LLVM | 8,846 | 73 | 1 | [] |
[
"<s>",
"bool",
"expand_move",
"(",
"rtx",
"*",
"operands",
",",
"machine_mode",
"mode",
")",
"{",
"rtx",
"op",
"=",
"operands",
"[",
"1",
"]",
";",
"if",
"(",
"(",
"TARGET_ID_SHARED_LIBRARY",
"||",
"TARGET_FDPIC",
")",
"&&",
"SYMBOLIC_CONST",
"(",
"op",
... | [
"Expand",
"a",
"move",
"operation",
"in",
"mode",
"MODE",
".",
"The",
"operands",
"are",
"in",
"OPERANDS",
"."
] | [
"bfin",
"1",
"0",
"0",
"0",
"0",
"0",
"0",
"1",
"2",
"0",
"1",
"0",
"0",
"1",
"1",
"1"
] | bfin | expand_move | bfin | DSP | GCC | 8,847 | 274 | 1 | [] |
[
"<s>",
"string",
"str",
"(",
"void",
")",
"const",
"{",
"stringbuf",
"buf",
";",
"char",
"kind",
"[",
"]",
"=",
"{",
"'-'",
",",
"'u'",
",",
"'d'",
",",
"'x'",
"}",
";",
"for",
"(",
"unsigned",
"long",
"i",
"=",
"0",
";",
"i",
"<",
"uses",
".... | [
"Return",
"the",
"twine",
"contents",
"as",
"a",
"std",
":",
":string",
"."
] | [
"Patmos",
"0",
"0",
"1",
"2"
] | RAInfo | str | Patmos | VLIW | LLVM | 8,848 | 95 | 1 | [] |
[
"<s>",
"static",
"bool",
"timode_scalar_to_vector_candidate_p",
"(",
"rtx_insn",
"*",
"insn",
")",
"{",
"rtx",
"def_set",
"=",
"pseudo_reg_set",
"(",
"insn",
")",
";",
"if",
"(",
"!",
"def_set",
")",
"return",
"false",
";",
"rtx",
"src",
"=",
"SET_SRC",
"(... | [
"The",
"TImode",
"version",
"of",
"scalar_to_vector_candidate_p",
"."
] | [
"i386"
] | i386-features | timode_scalar_to_vector_candidate_p | i386 | CPU | GCC | 8,849 | 145 | 1 | [] |
[
"<s>",
"static",
"int",
"loongarch_zero_extend_cost",
"(",
"rtx",
"op",
")",
"{",
"if",
"(",
"MEM_P",
"(",
"op",
")",
")",
"return",
"0",
";",
"return",
"COSTS_N_INSNS",
"(",
"1",
")",
";",
"}",
"</s>"
] | [
"Return",
"the",
"cost",
"of",
"zero-extending",
"OP",
"to",
"mode",
"MODE",
",",
"not",
"including",
"the",
"cost",
"of",
"OP",
"itself",
"."
] | [
"loongarch",
"0",
"1"
] | loongarch | loongarch_zero_extend_cost | loongarch | CPU | GCC | 8,850 | 25 | 1 | [] |
[
"<s>",
"static",
"rtx",
"get_branch_target",
"(",
"rtx_insn",
"*",
"branch",
")",
"{",
"if",
"(",
"JUMP_P",
"(",
"branch",
")",
")",
"{",
"rtx",
"set",
",",
"src",
";",
"if",
"(",
"GET_CODE",
"(",
"PATTERN",
"(",
"branch",
")",
")",
"==",
"RETURN",
... | [
"Returns",
"0",
"if",
"we",
"do",
"n't",
"want",
"a",
"hint",
"for",
"this",
"branch",
".",
"Otherwise",
"return",
"the",
"rtx",
"for",
"the",
"branch",
"target",
"."
] | [
"spu",
"0",
"0",
"0",
"6",
"10",
"1",
"1",
"4",
"10",
"2",
"2",
"0",
"0",
"0",
"0",
"0",
"0"
] | spu3 | get_branch_target | spu | MPU | GCC | 8,851 | 329 | 1 | [] |
[
"<s>",
"void",
"init_cumulative_args",
"(",
"CUMULATIVE_ARGS",
"*",
"cum",
",",
"tree",
"fntype",
",",
"rtx",
"libname",
"ATTRIBUTE_UNUSED",
",",
"int",
"incoming",
",",
"int",
"libcall",
",",
"int",
"n_named_args",
")",
"{",
"static",
"CUMULATIVE_ARGS",
"zero_c... | [
"Handle",
"the",
"INIT_CUMULATIVE_ARGS",
"macro",
".",
"Initialize",
"a",
"variable",
"CUM",
"of",
"type",
"CUMULATIVE_ARGS",
"for",
"a",
"call",
"to",
"a",
"function",
"whose",
"data",
"type",
"is",
"FNTYPE",
".",
"For",
"a",
"library",
"call",
",",
"FNTYPE... | [
"rs6000",
"0",
"0",
"0",
"\"longcall\"",
"\"shortcall\"",
"\"\\ninit_cumulative_args:\"",
"\" ret code = %s,\"",
"\" longcall,\"",
"\" proto = %d, nargs = %d\\n\"",
"\"cannot return value in vector register because\"",
"\" altivec instructions are disabled, use -maltivec\"",
"\" to enable th... | rs60003 | init_cumulative_args | rs6000 | CPU | GCC | 8,852 | 283 | 1 | [] |
[
"<s>",
"char",
"*",
"mcore_output_call",
"(",
"rtx",
"operands",
"[",
"]",
",",
"int",
"index",
")",
"{",
"static",
"char",
"buffer",
"[",
"20",
"]",
";",
"rtx",
"addr",
"=",
"operands",
"[",
"index",
"]",
";",
"if",
"(",
"REG_P",
"(",
"addr",
")",... | [
"Functions",
"to",
"output",
"assembly",
"code",
"for",
"a",
"function",
"call",
"."
] | [
"mcore",
"20",
"\"unknown\"",
"1",
"\"jsr\\t%%%d\"",
"0",
"0",
"\"jbsr\\t%%%d\""
] | mcore | mcore_output_call | mcore | MPU | GCC | 8,853 | 121 | 1 | [] |
[
"<s>",
"static",
"void",
"nvptx_goacc_reduction_teardown",
"(",
"gcall",
"*",
"call",
",",
"offload_attrs",
"*",
"oa",
")",
"{",
"gimple_stmt_iterator",
"gsi",
"=",
"gsi_for_stmt",
"(",
"call",
")",
";",
"tree",
"lhs",
"=",
"gimple_call_lhs",
"(",
"call",
")",... | [
"NVPTX",
"implementation",
"of",
"GOACC_REDUCTION_TEARDOWN",
"."
] | [
"nvptx",
"2",
"3",
"5",
"1",
"1"
] | nvptx | nvptx_goacc_reduction_teardown | nvptx | GPU | GCC | 8,854 | 213 | 1 | [] |
[
"<s>",
"bool",
"isImm",
"(",
")",
"const",
"override",
"{",
"return",
"Kind",
"==",
"IMMEDIATE",
";",
"}",
"</s>"
] | [
"isImm",
"-",
"Is",
"this",
"an",
"immediate",
"operand",
"?"
] | [
"DLX"
] | DLXAsmParser | isImm | DLX | CPU | LLVM | 8,855 | 13 | 1 | [] |
[
"<s>",
"void",
"XtensaMCCodeEmitter",
"::",
"encodeInstruction",
"(",
"const",
"MCInst",
"&",
"MI",
",",
"raw_ostream",
"&",
"OS",
",",
"SmallVectorImpl",
"<",
"MCFixup",
">",
"&",
"Fixups",
",",
"const",
"MCSubtargetInfo",
"&",
"STI",
")",
"const",
"{",
"ui... | [
"Encode",
"the",
"given",
"Inst",
"to",
"bytes",
"and",
"append",
"to",
"CB",
"."
] | [
"Xtensa",
"Xtensa",
"support::endian",
"0",
"0xff",
"support::little",
"support::endian",
"8",
"0xff",
"support::little",
"8",
"support::endian",
"16",
"0xff",
"support::little"
] | XtensaMCCodeEmitter | encodeInstruction | Xtensa | MPU | LLVM | 8,856 | 128 | 1 | [] |
[
"<s>",
"const",
"Cpu0RegisterInfo",
"&",
"Cpu0SEInstrInfo",
"::",
"getRegisterInfo",
"(",
")",
"const",
"{",
"return",
"RI",
";",
"}",
"</s>"
] | [
"getRegisterInfo",
"-",
"TargetInstrInfo",
"is",
"a",
"superset",
"of",
"MRegister",
"info",
"."
] | [
"Cpu0",
"Cpu0",
"Cpu0"
] | Cpu0SEInstrInfo | getRegisterInfo | Cpu0 | CPU | LLVM | 8,857 | 14 | 1 | [] |
[
"<s>",
"bool",
"aarch64_expand_movmem",
"(",
"rtx",
"*",
"operands",
")",
"{",
"int",
"n",
",",
"mode_bits",
";",
"rtx",
"dst",
"=",
"operands",
"[",
"0",
"]",
";",
"rtx",
"src",
"=",
"operands",
"[",
"1",
"]",
";",
"rtx",
"base",
";",
"machine_mode"... | [
"Expand",
"movmem",
",",
"as",
"if",
"from",
"a",
"__builtin_memcpy",
".",
"Return",
"true",
"if",
"we",
"succeed",
",",
"otherwise",
"return",
"false",
"."
] | [
"aarch64",
"0",
"1",
"16",
"2",
"2",
"2",
"16",
"16",
"2",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"8"
] | aarch646 | aarch64_expand_movmem | aarch64 | CPU | GCC | 8,858 | 328 | 1 | [] |
[
"<s>",
"void",
"NVPTXTargetMachine",
"::",
"registerPassBuilderCallbacks",
"(",
"PassBuilder",
"&",
"PB",
")",
"{",
"PB",
".",
"registerPipelineParsingCallback",
"(",
"[",
"]",
"(",
"StringRef",
"PassName",
",",
"FunctionPassManager",
"&",
"PM",
",",
"ArrayRef",
"... | [
"Invoke",
"the",
"PassBuilder",
"callback",
"registration",
"."
] | [
"NVPTX",
"NVPTX",
"\"nvvm-reflect\"",
"\"nvvm-intr-range\""
] | NVPTXTargetMachine (2)1 | registerPassBuilderCallbacks | NVPTX | GPU | LLVM | 8,859 | 130 | 1 | [] |
[
"<s>",
"StackOffset",
"(",
"const",
"StackOffset",
"&",
"Other",
")",
":",
"Bytes",
"(",
"Other",
".",
"Bytes",
")",
"{",
"}",
"</s>"
] | [
"Offset",
"from",
"the",
"stack",
"pointer",
"."
] | [
"AArch64"
] | AArch64StackOffset1 | StackOffset | AArch64 | CPU | LLVM | 8,860 | 16 | 1 | [] |
[
"<s>",
"bool",
"ARMBaseRegisterInfo",
"::",
"canRealignStack",
"(",
"const",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"const",
"MachineRegisterInfo",
"*",
"MRI",
"=",
"&",
"MF",
".",
"getRegInfo",
"(",
")",
";",
"const",
"ARMFunctionInfo",
"*",
"AFI",
... | [
"True",
"if",
"the",
"stack",
"can",
"be",
"realigned",
"for",
"the",
"target",
"."
] | [
"ARM",
"ARM",
"ARM",
"ARM",
"ARM",
"ARM"
] | ARMBaseRegisterInfo10 | canRealignStack | ARM | CPU | LLVM | 8,861 | 116 | 1 | [] |
[
"<s>",
"void",
"sparc_emit_floatunsdi",
"(",
"rtx",
"*",
"operands",
",",
"machine_mode",
"mode",
")",
"{",
"rtx",
"i0",
",",
"i1",
",",
"f0",
",",
"in",
",",
"out",
";",
"out",
"=",
"operands",
"[",
"0",
"]",
";",
"in",
"=",
"force_reg",
"(",
"DIm... | [
"Generate",
"an",
"unsigned",
"DImode",
"to",
"FP",
"conversion",
".",
"This",
"is",
"the",
"same",
"code",
"optabs",
"would",
"emit",
"if",
"we",
"did",
"n't",
"have",
"TFmode",
"patterns",
"."
] | [
"sparc",
"0",
"1",
"0"
] | sparc4 | sparc_emit_floatunsdi | sparc | CPU | GCC | 8,862 | 207 | 1 | [] |
[
"<s>",
"static",
"int",
"arc_memory_move_cost",
"(",
"machine_mode",
"mode",
",",
"reg_class_t",
"rclass",
"ATTRIBUTE_UNUSED",
",",
"bool",
"in",
"ATTRIBUTE_UNUSED",
")",
"{",
"if",
"(",
"(",
"GET_MODE_SIZE",
"(",
"mode",
")",
"<=",
"UNITS_PER_WORD",
")",
"||",
... | [
"Implement",
"TARGET_MEMORY_MOVE_COST",
"."
] | [
"arc",
"2",
"6",
"2"
] | arc | arc_memory_move_cost | arc | MPU | GCC | 8,863 | 56 | 1 | [] |
[
"<s>",
"DecodeStatus",
"SparcDisassembler",
"::",
"getInstruction",
"(",
"MCInst",
"&",
"Instr",
",",
"uint64_t",
"&",
"Size",
",",
"ArrayRef",
"<",
"uint8_t",
">",
"Bytes",
",",
"uint64_t",
"Address",
",",
"raw_ostream",
"&",
"VStream",
",",
"raw_ostream",
"&... | [
"Returns",
"the",
"disassembly",
"of",
"a",
"single",
"instruction",
"."
] | [
"Sparc",
"Sparc",
"Sparc::FeatureV9",
"Sparc",
"Sparc",
"Sparc",
"4"
] | SparcDisassembler13 | getInstruction | Sparc | CPU | LLVM | 8,864 | 182 | 1 | [] |
[
"<s>",
"static",
"inline",
"tree",
"def_builtin",
"(",
"HOST_WIDE_INT",
"mask",
",",
"HOST_WIDE_INT",
"mask2",
",",
"const",
"char",
"*",
"name",
",",
"enum",
"ix86_builtin_func_type",
"tcode",
",",
"enum",
"ix86_builtins",
"code",
")",
"{",
"tree",
"decl",
"=... | [
"Add",
"a",
"SPARC",
"builtin",
"function",
"with",
"NAME",
",",
"ICODE",
",",
"CODE",
"and",
"TYPE",
".",
"Return",
"the",
"function",
"decl",
"or",
"NULL_TREE",
"if",
"the",
"builtin",
"was",
"not",
"added",
"."
] | [
"i386",
"0",
"0",
"0",
"0",
"0"
] | i386-builtins | def_builtin | i386 | CPU | GCC | 8,865 | 304 | 1 | [] |
[
"<s>",
"static",
"int",
"signal_function_p",
"(",
"tree",
"func",
")",
"{",
"tree",
"a",
";",
"if",
"(",
"TREE_CODE",
"(",
"func",
")",
"!=",
"FUNCTION_DECL",
")",
"return",
"0",
";",
"a",
"=",
"lookup_attribute",
"(",
"\"signal\"",
",",
"DECL_ATTRIBUTES",... | [
"Return",
"nonzero",
"if",
"FUNC",
"is",
"a",
"signal",
"function",
"as",
"specified",
"by",
"the",
"``",
"signal",
"''",
"attribute",
"."
] | [
"avr",
"0",
"\"signal\""
] | avr3 | signal_function_p | avr | MPU | GCC | 8,866 | 41 | 1 | [] |
[
"<s>",
"const",
"char",
"*",
"output_fp_compare",
"(",
"rtx",
"insn",
",",
"rtx",
"*",
"operands",
",",
"bool",
"eflags_p",
",",
"bool",
"unordered_p",
")",
"{",
"int",
"stack_top_dies",
";",
"rtx",
"cmp_op0",
",",
"cmp_op1",
";",
"int",
"is_sse",
"=",
"... | [
"Output",
"code",
"for",
"INSN",
"to",
"compare",
"OPERANDS",
".",
"EFLAGS_P",
"is",
"1",
"when",
"fcomi",
"should",
"be",
"used",
"and",
"2",
"when",
"fnstsw",
"should",
"be",
"used",
".",
"UNORDERED_P",
"is",
"true",
"when",
"fucom",
"should",
"be",
"u... | [
"i386",
"0",
"1",
"0",
"1",
"1",
"2",
"0",
"\"%vucomiss\\t{%1, %0|%0, %1}\"",
"\"%vcomiss\\t{%1, %0|%0, %1}\"",
"\"%vucomisd\\t{%1, %0|%0, %1}\"",
"\"%vcomisd\\t{%1, %0|%0, %1}\"",
"0",
"\"ftst\\n\\tfnstsw\\t%0\"",
"1",
"\"ftst\\n\\tfnstsw\\t%0\"",
"\"fucomip\\t{%y1, %0|%0, %y1}\"",
... | i3864 | output_fp_compare | i386 | CPU | GCC | 8,867 | 371 | 1 | [] |
[
"<s>",
"bool",
"MVEGatherScatterLowering",
"::",
"runOnFunction",
"(",
"Function",
"&",
"F",
")",
"{",
"if",
"(",
"!",
"EnableMaskedGatherScatters",
")",
"return",
"false",
";",
"auto",
"&",
"TPC",
"=",
"getAnalysis",
"<",
"TargetPassConfig",
">",
"(",
")",
... | [
"runOnFunction",
"-",
"Virtual",
"method",
"overriden",
"by",
"subclasses",
"to",
"do",
"the",
"per-function",
"processing",
"of",
"the",
"pass",
"."
] | [
"ARM",
"ARM",
"4",
"4",
"Intrinsic::masked_gather",
"0",
"Intrinsic::masked_scatter",
"0",
"1",
"0",
"0"
] | MVEGatherScatterLowering (2) | runOnFunction | ARM | CPU | LLVM | 8,868 | 398 | 1 | [] |
[
"<s>",
"static",
"bool",
"arm_vectorize_vec_perm_const_ok",
"(",
"machine_mode",
"vmode",
",",
"const",
"unsigned",
"char",
"*",
"sel",
")",
"{",
"struct",
"expand_vec_perm_d",
"d",
";",
"unsigned",
"int",
"i",
",",
"nelt",
",",
"which",
";",
"bool",
"ret",
... | [
"Implement",
"TARGET_VECTORIZE_VEC_PERM_CONST_OK",
"."
] | [
"arm",
"0",
"2",
"1",
"2",
"2",
"0",
"3",
"1",
"2",
"3"
] | arm4 | arm_vectorize_vec_perm_const_ok | arm | CPU | GCC | 8,869 | 228 | 1 | [] |
[
"<s>",
"VariantKind",
"getKind",
"(",
")",
"const",
"{",
"return",
"Kind",
";",
"}",
"</s>"
] | [
"Returns",
"the",
"Kind",
"of",
"lane",
"offset",
"."
] | [
"AArch64"
] | AArch64MCExpr (2) | getKind | AArch64 | CPU | LLVM | 8,870 | 10 | 1 | [] |
[
"<s>",
"bool",
"AArch64CallLowering",
"::",
"lowerFormalArguments",
"(",
"MachineIRBuilder",
"&",
"MIRBuilder",
",",
"const",
"Function",
"&",
"F",
",",
"ArrayRef",
"<",
"unsigned",
">",
"VRegs",
")",
"const",
"{",
"auto",
"&",
"Args",
"=",
"F",
".",
"getArg... | [
"This",
"hook",
"must",
"be",
"implemented",
"to",
"lower",
"the",
"incoming",
"(",
"formal",
")",
"arguments",
",",
"described",
"by",
"VRegs",
",",
"for",
"GlobalISel",
"."
] | [
"AArch64",
"AArch64",
"8",
"0",
"1",
"AArch64",
"AArch64",
"AArch64",
"8",
"AArch64",
"AArch64",
"4"
] | AArch64CallLowering33 | lowerFormalArguments | AArch64 | CPU | LLVM | 8,871 | 347 | 1 | [] |
[
"<s>",
"void",
"AArch64PassConfig",
"::",
"addPostRegAlloc",
"(",
")",
"{",
"if",
"(",
"TM",
"->",
"getOptLevel",
"(",
")",
"!=",
"CodeGenOpt",
"::",
"None",
"&&",
"EnableDeadRegisterElimination",
")",
"addPass",
"(",
"createAArch64DeadRegisterDefinitions",
"(",
"... | [
"This",
"method",
"may",
"be",
"implemented",
"by",
"targets",
"that",
"want",
"to",
"run",
"passes",
"after",
"register",
"allocation",
"pass",
"pipeline",
"but",
"before",
"prolog-epilog",
"insertion",
"."
] | [
"AArch64",
"AArch64",
"AArch64",
"AArch64"
] | AArch64TargetMachine2 | addPostRegAlloc | AArch64 | CPU | LLVM | 8,872 | 52 | 1 | [] |
[
"<s>",
"void",
"SPURegisterInfo",
"::",
"emitEpilogue",
"(",
"MachineFunction",
"&",
"MF",
",",
"MachineBasicBlock",
"&",
"MBB",
")",
"const",
"{",
"MachineBasicBlock",
"::",
"iterator",
"MBBI",
"=",
"prior",
"(",
"MBB",
".",
"end",
"(",
")",
")",
";",
"co... | [
"Insert",
"epilog",
"code",
"into",
"the",
"function",
"."
] | [
"CellSPU",
"SPU",
"SPU",
"SPU::RET",
"\"Can only insert epilog into returning blocks\"",
"0xf",
"0",
"\"SPURegisterInfo::emitEpilogue: FrameSize not aligned\"",
"0",
"SPU",
"SPU::LQDr128",
"SPU::R0",
"SPU::R1",
"SPU::AIr32",
"SPU::R1",
"SPU::R1",
"1",
"16",
"1",
"1",
"16",
... | SPURegisterInfo8 | emitEpilogue | CellSPU | MPU | LLVM | 8,873 | 441 | 1 | [] |
[
"<s>",
"rtx",
"extract_nth_lmsw_access_reg",
"(",
"rtx_insn",
"*",
"insn",
",",
"int",
"n",
")",
"{",
"rtx",
"nth_rtx",
"=",
"extract_nth_access_rtx",
"(",
"insn",
",",
"n",
")",
";",
"if",
"(",
"nth_rtx",
"==",
"NULL_RTX",
")",
"return",
"NULL_RTX",
";",
... | [
"Returns",
"the",
"register",
"operated",
"by",
"the",
"nth",
"load/store",
"operation",
"in",
"the",
"real",
"micro-operation",
"accessing",
"order",
".",
"This",
"function",
"assumes",
"INSN",
"must",
"be",
"a",
"multiple-word",
"load/store",
"insn",
"."
] | [
"nds32"
] | nds32-pipelines-auxiliary | extract_nth_lmsw_access_reg | nds32 | CPU | GCC | 8,874 | 64 | 1 | [] |
[
"<s>",
"unsigned",
"PPCFastISel",
"::",
"fastMaterializeConstant",
"(",
"const",
"Constant",
"*",
"C",
")",
"{",
"EVT",
"CEVT",
"=",
"TLI",
".",
"getValueType",
"(",
"C",
"->",
"getType",
"(",
")",
",",
"true",
")",
";",
"if",
"(",
"!",
"CEVT",
".",
... | [
"Emit",
"a",
"constant",
"in",
"a",
"register",
"using",
"target-specific",
"logic",
",",
"such",
"as",
"constant",
"pool",
"loads",
"."
] | [
"PowerPC",
"PPC",
"0",
"PPC",
"PPC",
"PPC",
"MVT::i1",
"0"
] | PPCFastISel17 | fastMaterializeConstant | PowerPC | CPU | LLVM | 8,875 | 124 | 1 | [] |
[
"<s>",
"unsigned",
"getElementSize",
"(",
")",
"{",
"return",
"CurType",
".",
"ElementSize",
";",
"}",
"</s>"
] | [
"Return",
"the",
"size",
"of",
"an",
"element",
"read",
"or",
"written",
"by",
"Inst",
"."
] | [
"X86"
] | X86AsmParser16 | getElementSize | X86 | CPU | LLVM | 8,876 | 11 | 1 | [] |
[
"<s>",
"bool",
"isCall",
"(",
"unsigned",
"Opcode",
",",
"bool",
"*",
"IsIndirectCall",
")",
"{",
"*",
"IsIndirectCall",
"=",
"false",
";",
"switch",
"(",
"Opcode",
")",
"{",
"default",
":",
"return",
"false",
";",
"case",
"Mips",
"::",
"JAL",
":",
"ca... | [
"Is",
"a",
"function",
"call",
"."
] | [
"Mips",
"Mips::JAL",
"Mips::BAL_BR",
"Mips::BLTZAL",
"Mips::BGEZAL",
"Mips::JALR"
] | MipsNaClELFStreamer11 | isCall | Mips | CPU | LLVM | 8,877 | 64 | 1 | [] |
[
"<s>",
"unsigned",
"MipsRegisterInfo",
"::",
"eliminateFrameIndex",
"(",
"MachineBasicBlock",
"::",
"iterator",
"II",
",",
"int",
"SPAdj",
",",
"int",
"*",
"Value",
",",
"RegScavenger",
"*",
"RS",
")",
"const",
"{",
"MachineInstr",
"&",
"MI",
"=",
"*",
"II",... | [
"This",
"method",
"must",
"be",
"overriden",
"to",
"eliminate",
"abstract",
"frame",
"indices",
"from",
"instructions",
"which",
"may",
"use",
"them",
"."
] | [
"Mips",
"Mips",
"0",
"\"Instr doesn't have FrameIndex operand!\"",
"\"\\nFunction : \"",
"\"\\n\"",
"\"<--------->\\n\"",
"\"FrameIndex : \"",
"\"\\n\"",
"\"spOffset : \"",
"\"\\n\"",
"\"stackSize : \"",
"\"\\n\"",
"0",
"4",
"1",
"\"Offset : \"",
"\"\\n\"",
"\"<--------->\... | MipsRegisterInfo38 | eliminateFrameIndex | Mips | CPU | LLVM | 8,878 | 270 | 1 | [] |
[
"<s>",
"bool",
"RISCVTargetLowering",
"::",
"isDesirableToCommuteWithShift",
"(",
"const",
"SDNode",
"*",
"N",
",",
"CombineLevel",
"Level",
")",
"const",
"{",
"SDValue",
"N0",
"=",
"N",
"->",
"getOperand",
"(",
"0",
")",
";",
"EVT",
"Ty",
"=",
"N0",
".",
... | [
"Return",
"true",
"if",
"it",
"is",
"profitable",
"to",
"move",
"this",
"shift",
"by",
"a",
"constant",
"amount",
"through",
"its",
"operand",
",",
"adjusting",
"any",
"immediate",
"operands",
"as",
"necessary",
"to",
"preserve",
"semantics",
"."
] | [
"RISCV",
"RISCV",
"0",
"ISD::ADD",
"ISD::OR",
"1",
"1",
"RISCVMatInt::getIntMatCost",
"RISCVMatInt::getIntMatCost"
] | RISCVISelLowering16 | isDesirableToCommuteWithShift | RISCV | CPU | LLVM | 8,879 | 213 | 1 | [] |
[
"<s>",
"unsigned",
"int",
"mn10300_get_live_callee_saved_regs",
"(",
"unsigned",
"int",
"*",
"bytes_saved",
")",
"{",
"int",
"mask",
";",
"int",
"i",
";",
"unsigned",
"int",
"count",
";",
"count",
"=",
"mask",
"=",
"0",
";",
"for",
"(",
"i",
"=",
"0",
... | [
"Returns",
"the",
"set",
"of",
"live",
",",
"callee-saved",
"registers",
"as",
"a",
"bitmask",
".",
"The",
"callee-saved",
"extended",
"registers",
"can",
"not",
"be",
"stored",
"individually",
",",
"so",
"all",
"of",
"them",
"will",
"be",
"included",
"in",
... | [
"mn10300",
"0",
"0",
"1",
"0x3c000",
"0",
"0x04000",
"0x40000",
"1",
"0",
"0x3c000"
] | mn10300 | mn10300_get_live_callee_saved_regs | mn10300 | MPU | GCC | 8,880 | 123 | 1 | [] |
[
"<s>",
"bool",
"isNoopAddrSpaceCast",
"(",
"unsigned",
"SrcAS",
",",
"unsigned",
"DestAS",
")",
"const",
"override",
"{",
"const",
"bool",
"SrcIsCheri",
"=",
"isCheriPointer",
"(",
"SrcAS",
",",
"nullptr",
")",
";",
"const",
"bool",
"DestIsCheri",
"=",
"isCher... | [
"Returns",
"true",
"if",
"a",
"cast",
"between",
"SrcAS",
"and",
"DestAS",
"is",
"a",
"noop",
"."
] | [
"Mips",
"256",
"256"
] | MipsTargetMachine29 | isNoopAddrSpaceCast | Mips | CPU | LLVM | 8,881 | 61 | 1 | [] |
[
"<s>",
"void",
"function_expander",
"::",
"add_address_operand",
"(",
"rtx",
"x",
")",
"{",
"m_ops",
".",
"safe_grow",
"(",
"m_ops",
".",
"length",
"(",
")",
"+",
"1",
",",
"true",
")",
";",
"create_address_operand",
"(",
"&",
"m_ops",
".",
"last",
"(",
... | [
"Add",
"an",
"address",
"operand",
"with",
"value",
"X",
".",
"The",
"static",
"operand",
"data",
"says",
"what",
"mode",
"and",
"form",
"the",
"address",
"must",
"have",
"."
] | [
"aarch64",
"1"
] | aarch64-sve-builtins1 | add_address_operand | aarch64 | CPU | GCC | 8,882 | 37 | 1 | [] |
[
"<s>",
"bool",
"R600InstrInfo",
"::",
"isLegalToSplitMBBAt",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"MBBI",
")",
"const",
"{",
"for",
"(",
"MachineInstr",
"::",
"const_mop_iterator",
"I",
"=",
"MBBI",
"->",
"operands_begi... | [
"Return",
"true",
"if",
"it",
"'s",
"legal",
"to",
"split",
"the",
"given",
"basic",
"block",
"at",
"the",
"specified",
"instruction",
"(",
"i.e",
"."
] | [
"AMDGPU",
"R600"
] | R600InstrInfo (2) | isLegalToSplitMBBAt | AMDGPU | GPU | LLVM | 8,883 | 90 | 1 | [] |
[
"<s>",
"bool",
"X86CallFrameOptimization",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"{",
"STI",
"=",
"&",
"MF",
".",
"getSubtarget",
"<",
"X86Subtarget",
">",
"(",
")",
";",
"TII",
"=",
"STI",
"->",
"getInstrInfo",
"(",
")",
";... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"X86",
"X86",
"X86",
"X86",
"X86",
"\"Expect power of 2 stack slot size\""
] | X86CallFrameOptimization17 | runOnMachineFunction | X86 | CPU | LLVM | 8,884 | 214 | 1 | [] |
[
"<s>",
"bool",
"Cpu0DAGToDAGISel",
"::",
"SelectInlineAsmMemoryOperand",
"(",
"const",
"SDValue",
"&",
"Op",
",",
"unsigned",
"ConstraintID",
",",
"std",
"::",
"vector",
"<",
"SDValue",
">",
"&",
"OutOps",
")",
"{",
"switch",
"(",
"ConstraintID",
")",
"{",
"... | [
"SelectInlineAsmMemoryOperand",
"-",
"Select",
"the",
"specified",
"address",
"as",
"a",
"target",
"addressing",
"mode",
",",
"according",
"to",
"the",
"specified",
"constraint",
"."
] | [
"Cpu0",
"Cpu0",
"\"Unexpected asm memory constraint\""
] | Cpu0ISelDAGToDAG4 | SelectInlineAsmMemoryOperand | Cpu0 | CPU | LLVM | 8,885 | 55 | 1 | [] |
[
"<s>",
"rtx",
"rs6000_find_base_term",
"(",
"rtx",
"op",
")",
"{",
"rtx",
"base",
";",
"base",
"=",
"op",
";",
"if",
"(",
"GET_CODE",
"(",
"base",
")",
"==",
"CONST",
")",
"base",
"=",
"XEXP",
"(",
"base",
",",
"0",
")",
";",
"if",
"(",
"GET_CODE... | [
"Implement",
"FIND_BASE_TERM",
"."
] | [
"powerpcspe",
"0",
"0",
"1",
"0",
"0"
] | powerpcspe | rs6000_find_base_term | powerpcspe | CPU | GCC | 8,886 | 90 | 1 | [] |
[
"<s>",
"void",
"emitEpilogue",
"(",
"MachineFunction",
"&",
"MF",
",",
"MachineBasicBlock",
"&",
"MBB",
")",
"const",
"override",
"{",
"}",
"</s>"
] | [
"Insert",
"epilog",
"code",
"into",
"the",
"function",
"."
] | [
"HSAIL"
] | HSAILFrameLowering | emitEpilogue | HSAIL | Virtual ISA | LLVM | 8,887 | 15 | 1 | [] |
[
"<s>",
"void",
"MipsPassConfig",
"::",
"addIRPasses",
"(",
")",
"{",
"TargetPassConfig",
"::",
"addIRPasses",
"(",
")",
";",
"if",
"(",
"getMipsSubtarget",
"(",
")",
".",
"os16",
"(",
")",
")",
"addPass",
"(",
"createMipsOs16",
"(",
"getMipsTargetMachine",
"... | [
"Add",
"common",
"target",
"configurable",
"passes",
"that",
"perform",
"LLVM",
"IR",
"to",
"IR",
"transforms",
"following",
"machine",
"independent",
"optimization",
"."
] | [
"Mips",
"Mips",
"Mips",
"Mips",
"Mips",
"Mips",
"Mips",
"Mips",
"Mips"
] | MipsTargetMachine35 | addIRPasses | Mips | CPU | LLVM | 8,888 | 54 | 1 | [] |
[
"<s>",
"bool",
"ExpandPseudo",
"::",
"expand",
"(",
")",
"{",
"bool",
"Expanded",
"=",
"false",
";",
"for",
"(",
"MachineFunction",
"::",
"iterator",
"BB",
"=",
"MF",
".",
"begin",
"(",
")",
",",
"BBEnd",
"=",
"MF",
".",
"end",
"(",
")",
";",
"BB",... | [
"expand",
"-",
"Expand",
"a",
"record",
"into",
"a",
"set",
"of",
"elements",
"if",
"possible",
"."
] | [
"Mips"
] | MipsSEFrameLowering | expand | Mips | CPU | LLVM | 8,889 | 79 | 1 | [] |
[
"<s>",
"bool",
"AArch64InstrInfo",
"::",
"isCandidateToMergeOrPair",
"(",
"const",
"MachineInstr",
"&",
"MI",
")",
"const",
"{",
"bool",
"IsPreLdSt",
"=",
"isPreLdSt",
"(",
"MI",
")",
";",
"if",
"(",
"MI",
".",
"hasOrderedMemoryRef",
"(",
")",
")",
"return",... | [
"Return",
"true",
"if",
"this",
"is",
"a",
"load/store",
"that",
"can",
"be",
"potentially",
"paired/merged",
"."
] | [
"AArch64",
"AArch64",
"2",
"1",
"2",
"1",
"\"Expected a reg or frame index operand.\"",
"3",
"2",
"1",
"1",
"AArch64::LDURQi",
"AArch64::STURQi",
"AArch64::LDRQui",
"AArch64::STRQui"
] | AArch64InstrInfo105 | isCandidateToMergeOrPair | AArch64 | CPU | LLVM | 8,890 | 290 | 1 | [] |
[
"<s>",
"const",
"uint16_t",
"*",
"LC3RegisterInfo",
"::",
"getCalleeSavedRegs",
"(",
"const",
"MachineFunction",
"*",
"MF",
")",
"const",
"{",
"static",
"const",
"uint16_t",
"CalleeSavedRegs",
"[",
"]",
"=",
"{",
"LC3",
"::",
"R4",
",",
"LC3",
"::",
"R5",
... | [
"Code",
"Generation",
"virtual",
"methods",
"..."
] | [
"LC3",
"LC3",
"LC3::R4",
"LC3::R5",
"LC3::R6",
"LC3::R7",
"LC3::R8",
"LC3::R9",
"0"
] | LC3RegisterInfo | getCalleeSavedRegs | LC3 | CPU | LLVM | 8,891 | 53 | 1 | [] |
[
"<s>",
"StringRef",
"getPassName",
"(",
")",
"const",
"override",
"{",
"return",
"\"M68k DAG->DAG Pattern Instruction Selection\"",
";",
"}",
"</s>"
] | [
"getPassName",
"-",
"Return",
"a",
"nice",
"clean",
"name",
"for",
"a",
"pass",
"."
] | [
"M68k",
"\"M68k DAG->DAG Pattern Instruction Selection\""
] | M68kISelDAGToDAG | getPassName | M68k | MPU | LLVM | 8,892 | 11 | 1 | [] |
[
"<s>",
"void",
"eliminateCallFramePseudoInstr",
"(",
"MachineFunction",
"&",
"MF",
",",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"MI",
")",
"const",
"{",
"MBB",
".",
"erase",
"(",
"MI",
")",
";",
"}",
"</s>"
] | [
"This",
"method",
"is",
"called",
"during",
"prolog/epilog",
"code",
"insertion",
"to",
"eliminate",
"call",
"frame",
"setup",
"and",
"destroy",
"pseudo",
"instructions",
"(",
"but",
"only",
"if",
"the",
"Target",
"is",
"using",
"them",
")",
"."
] | [
"BPF"
] | BPFFrameLowering11 | eliminateCallFramePseudoInstr | BPF | Virtual ISA | LLVM | 8,893 | 26 | 1 | [] |
[
"<s>",
"bool",
"X86InstrInfo",
"::",
"getMachineCombinerPatterns",
"(",
"MachineInstr",
"&",
"Root",
",",
"SmallVectorImpl",
"<",
"MachineCombinerPattern",
"::",
"MC_PATTERN",
">",
"&",
"Patterns",
")",
"const",
"{",
"bool",
"Commute",
";",
"if",
"(",
"isReassocia... | [
"Return",
"true",
"when",
"there",
"is",
"potentially",
"a",
"faster",
"code",
"sequence",
"for",
"an",
"instruction",
"chain",
"ending",
"in",
"Root",
"."
] | [
"X86",
"X86"
] | X86InstrInfo123 | getMachineCombinerPatterns | X86 | CPU | LLVM | 8,894 | 86 | 1 | [] |
[
"<s>",
"const",
"uint32_t",
"*",
"RISCVRegisterInfo",
"::",
"getCallPreservedMask",
"(",
"const",
"MachineFunction",
"&",
",",
"CallingConv",
"::",
"ID",
")",
"const",
"{",
"return",
"CSR_RegMask",
";",
"}",
"</s>"
] | [
"Return",
"a",
"mask",
"of",
"call-preserved",
"registers",
"for",
"the",
"given",
"calling",
"convention",
"on",
"the",
"current",
"function",
"."
] | [
"RISCV",
"RISCV"
] | RISCVRegisterInfo22 | getCallPreservedMask | RISCV | CPU | LLVM | 8,895 | 21 | 1 | [] |
[
"<s>",
"void",
"markGlobalAsPromotedToConstantPool",
"(",
"const",
"GlobalVariable",
"*",
"GV",
")",
"{",
"PromotedGlobals",
".",
"insert",
"(",
"GV",
")",
";",
"}",
"</s>"
] | [
"Indicate",
"to",
"the",
"backend",
"that",
"GV",
"has",
"had",
"its",
"storage",
"changed",
"to",
"inside",
"a",
"constant",
"pool",
"."
] | [
"ARM"
] | ARMMachineFunctionInfo (2)1 | markGlobalAsPromotedToConstantPool | ARM | CPU | LLVM | 8,896 | 17 | 1 | [] |
[
"<s>",
"void",
"arm_emit_fp16_const",
"(",
"rtx",
"c",
")",
"{",
"REAL_VALUE_TYPE",
"r",
";",
"long",
"bits",
";",
"REAL_VALUE_FROM_CONST_DOUBLE",
"(",
"r",
",",
"c",
")",
";",
"bits",
"=",
"real_to_target",
"(",
"NULL",
",",
"&",
"r",
",",
"HFmode",
")"... | [
"Emit",
"a",
"fp16",
"constant",
"appropriately",
"padded",
"to",
"occupy",
"a",
"4-byte",
"word",
".",
"HFmode",
"constant",
"pool",
"entries",
"are",
"actually",
"loaded",
"with",
"ldr",
"."
] | [
"arm",
"2",
"2",
"1",
"2"
] | arm4 | arm_emit_fp16_const | arm | CPU | GCC | 8,897 | 66 | 1 | [] |
[
"<s>",
"void",
"crx_print_operand_address",
"(",
"FILE",
"*",
"file",
",",
"rtx",
"addr",
")",
"{",
"enum",
"crx_addrtype",
"addrtype",
";",
"struct",
"crx_address",
"address",
";",
"int",
"offset",
";",
"addrtype",
"=",
"crx_decompose_address",
"(",
"addr",
"... | [
"Implements",
"the",
"macro",
"PRINT_OPERAND_ADDRESS",
"defined",
"in",
"crx.h",
"."
] | [
"crx",
"0",
"\"%d(%s)\"",
"\"%d(%s)+\"",
"\"%d(%s, %s, %d)\""
] | crx | crx_print_operand_address | crx | CPU | GCC | 8,898 | 222 | 1 | [] |
[
"<s>",
"void",
"AArch64FrameLowering",
"::",
"processFunctionBeforeFrameFinalized",
"(",
"MachineFunction",
"&",
"MF",
",",
"RegScavenger",
"*",
"RS",
")",
"const",
"{",
"if",
"(",
"!",
"MF",
".",
"hasEHFunclets",
"(",
")",
")",
"return",
";",
"const",
"Target... | [
"processFunctionBeforeFrameFinalized",
"-",
"This",
"method",
"is",
"called",
"immediately",
"before",
"the",
"specified",
"function",
"'s",
"frame",
"layout",
"(",
"MF.getFrameInfo",
"(",
")",
")",
"is",
"finalized",
"."
] | [
"AArch64",
"AArch64",
"8",
"16",
"AArch64::GPR64commonRegClass",
"\"There must be a free register after frame setup\"",
"AArch64::MOVi64imm",
"2",
"AArch64::STURXi",
"0"
] | AArch64FrameLowering31 | processFunctionBeforeFrameFinalized | AArch64 | CPU | LLVM | 8,899 | 231 | 1 | [] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.