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>",
"const",
"TPCSubtarget",
"*",
"TPCTargetMachine",
"::",
"getSubtargetImpl",
"(",
"const",
"Function",
"&",
"F",
")",
"const",
"{",
"Attribute",
"CPUAttr",
"=",
"F",
".",
"getFnAttribute",
"(",
"\"target-cpu\"",
")",
";",
"Attribute",
"FSAttr",
"=",
"F",... | [
"Virtual",
"method",
"implemented",
"by",
"subclasses",
"that",
"returns",
"a",
"reference",
"to",
"that",
"target",
"'s",
"TargetSubtargetInfo-derived",
"member",
"variable",
"."
] | [
"TPC",
"TPC",
"TPC",
"\"target-cpu\"",
"\"target-features\""
] | TPCTargetMachine | getSubtargetImpl | TPC | Virtual ISA | LLVM | 27,300 | 97 | 1 | [] |
[
"<s>",
"void",
"MBlazeFrameLowering",
"::",
"emitPrologue",
"(",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"MachineBasicBlock",
"&",
"MBB",
"=",
"MF",
".",
"front",
"(",
")",
";",
"MachineFrameInfo",
"*",
"MFI",
"=",
"MF",
".",
"getFrameInfo",
"(",
... | [
"emitProlog/emitEpilog",
"-",
"These",
"methods",
"insert",
"prolog",
"and",
"epilog",
"code",
"into",
"the",
"function",
"."
] | [
"MBlaze",
"MBlaze",
"MBlaze",
"MBlaze",
"MBlaze",
"MBlaze",
"MBlaze",
"0",
"MBlaze",
"MBlaze",
"MBlaze::ADDIK",
"MBlaze::R1",
"MBlaze::R1",
"MBlaze::SWI",
"MBlaze::R15",
"MBlaze::R1",
"MBlaze::SWI",
"MBlaze::R19",
"MBlaze::R1",
"MBlaze::ADD",
"MBlaze::R19",
"MBlaze::R1",
... | MBlazeFrameLowering | emitPrologue | MBlaze | MPU | LLVM | 27,301 | 341 | 1 | [] |
[
"<s>",
"static",
"unsigned",
"char",
"riscv_class_max_nregs",
"(",
"reg_class_t",
"rclass",
",",
"machine_mode",
"mode",
")",
"{",
"if",
"(",
"reg_class_subset_p",
"(",
"rclass",
",",
"FP_REGS",
")",
")",
"return",
"riscv_hard_regno_nregs",
"(",
"FP_REG_FIRST",
",... | [
"Implement",
"CLASS_MAX_NREGS",
"."
] | [
"riscv",
"0"
] | riscv | riscv_class_max_nregs | riscv | CPU | GCC | 27,302 | 50 | 1 | [] |
[
"<s>",
"std",
"::",
"pair",
"<",
"const",
"TargetRegisterClass",
"*",
",",
"uint8_t",
">",
"ARMTargetLowering",
"::",
"findRepresentativeClass",
"(",
"MVT",
"VT",
")",
"const",
"{",
"const",
"TargetRegisterClass",
"*",
"RRC",
"=",
"nullptr",
";",
"uint8_t",
"C... | [
"Return",
"the",
"largest",
"legal",
"super-reg",
"register",
"class",
"of",
"the",
"register",
"class",
"for",
"the",
"specified",
"type",
"and",
"its",
"associated",
"``",
"cost",
"''",
"."
] | [
"ARM",
"ARM",
"1",
"MVT::f32",
"MVT::f64",
"MVT::v8i8",
"MVT::v4i16",
"MVT::v2i32",
"MVT::v1i64",
"MVT::v2f32",
"ARM::DPRRegClass",
"2",
"MVT::v16i8",
"MVT::v8i16",
"MVT::v4i32",
"MVT::v2i64",
"MVT::v4f32",
"MVT::v2f64",
"ARM::DPRRegClass",
"2",
"MVT::v4i64",
"ARM::DPRRegCl... | ARMISelLowering (2) | findRepresentativeClass | ARM | CPU | LLVM | 27,303 | 195 | 1 | [] |
[
"<s>",
"bool",
"HexagonInstrInfo",
"::",
"PredicateInstruction",
"(",
"MachineInstr",
"&",
"MI",
",",
"ArrayRef",
"<",
"MachineOperand",
">",
"Cond",
")",
"const",
"{",
"if",
"(",
"Cond",
".",
"empty",
"(",
")",
"||",
"isNewValueJump",
"(",
"Cond",
"[",
"0... | [
"Convert",
"the",
"instruction",
"into",
"a",
"predicated",
"instruction",
"."
] | [
"Hexagon",
"Hexagon",
"0",
"0",
"\"\\nCannot predicate:\"",
"\"Expected predicable instruction\"",
"0",
"1",
"0"
] | HexagonInstrInfo10 | PredicateInstruction | Hexagon | DSP | LLVM | 27,304 | 376 | 1 | [] |
[
"<s>",
"static",
"bool",
"cr16_legitimate_address_p",
"(",
"machine_mode",
"mode",
"ATTRIBUTE_UNUSED",
",",
"rtx",
"addr",
",",
"bool",
"strict",
")",
"{",
"enum",
"cr16_addrtype",
"addrtype",
";",
"struct",
"cr16_address",
"address",
";",
"if",
"(",
"TARGET_DEBUG... | [
"Implementation",
"of",
"TARGET_LEGITIMATE_ADDRESS_P",
"."
] | [
"cr16",
"\"\\n======\\nTARGET_LEGITIMATE_ADDRESS_P, mode = %s, strict = %d\"",
"1",
"0",
"\"invalid\"",
"\"absolute\"",
"\"register relative\"",
"\"register pair relative\"",
"\"index + register pair relative\"",
"\"\\ncr16 address type: %s\\n\"",
"\"base register not strict\\n\"",
"\"index re... | cr16 | cr16_legitimate_address_p | cr16 | MPU | GCC | 27,305 | 255 | 1 | [] |
[
"<s>",
"std",
"::",
"pair",
"<",
"int64_t",
",",
"int64_t",
">",
"SIInstrInfo",
"::",
"splitFlatOffset",
"(",
"int64_t",
"COffsetVal",
",",
"unsigned",
"AddrSpace",
",",
"bool",
"IsSigned",
")",
"const",
"{",
"int64_t",
"RemainderOffset",
"=",
"COffsetVal",
";... | [
"Split",
"COffsetVal",
"into",
"{",
"immediate",
"offset",
"field",
",",
"remainder",
"offset",
"}",
"values",
"."
] | [
"AMDGPU",
"SI",
"0",
"AMDGPU::getNumFlatOffsetBits",
"1LL",
"1",
"0"
] | SIInstrInfo141 | splitFlatOffset | AMDGPU | GPU | LLVM | 27,306 | 135 | 1 | [] |
[
"<s>",
"SMLoc",
"getStartLoc",
"(",
")",
"const",
"{",
"return",
"StartLoc",
";",
"}",
"</s>"
] | [
"getStartLoc",
"-",
"Get",
"the",
"location",
"of",
"the",
"first",
"token",
"of",
"this",
"operand",
"."
] | [
"PowerPC"
] | PPCAsmParser (2) | getStartLoc | PowerPC | CPU | LLVM | 27,307 | 10 | 1 | [] |
[
"<s>",
"bool",
"X86InstrInfo",
"::",
"analyzeCompare",
"(",
"const",
"MachineInstr",
"&",
"MI",
",",
"Register",
"&",
"SrcReg",
",",
"Register",
"&",
"SrcReg2",
",",
"int",
"&",
"CmpMask",
",",
"int",
"&",
"CmpValue",
")",
"const",
"{",
"switch",
"(",
"M... | [
"analyzeCompare",
"-",
"For",
"a",
"comparison",
"instruction",
",",
"return",
"the",
"source",
"registers",
"in",
"SrcReg",
"and",
"SrcReg2",
"if",
"having",
"two",
"register",
"operands",
",",
"and",
"the",
"value",
"it",
"compares",
"against",
"in",
"CmpVal... | [
"X86",
"X86",
"X86::CMP64ri32",
"X86::CMP64ri8",
"X86::CMP32ri",
"X86::CMP32ri8",
"X86::CMP16ri",
"X86::CMP16ri8",
"X86::CMP8ri",
"0",
"0",
"1",
"0",
"1",
"0",
"X86::SUB64rm",
"X86::SUB32rm",
"X86::SUB16rm",
"X86::SUB8rm",
"1",
"0",
"0",
"0",
"X86::SUB64rr",
"X86::SUB... | X86InstrInfo100 | analyzeCompare | X86 | CPU | LLVM | 27,308 | 469 | 1 | [] |
[
"<s>",
"static",
"unsigned",
"int",
"h8300_classify_operand",
"(",
"rtx",
"op",
",",
"int",
"size",
",",
"enum",
"h8300_operand_class",
"*",
"class",
")",
"{",
"enum",
"h8300_operand_class",
"dummy",
";",
"if",
"(",
"class",
"==",
"0",
")",
"class",
"=",
"... | [
"Store",
"the",
"class",
"of",
"operand",
"OP",
"in",
"*",
"CLASS",
"and",
"return",
"the",
"length",
"of",
"any",
"extra",
"operand",
"fields",
".",
"SIZE",
"is",
"the",
"number",
"of",
"bytes",
"in",
"OP",
".",
"CLASS",
"can",
"be",
"null",
"if",
"... | [
"h8300",
"0",
"1",
"0",
"4",
"0",
"0xffff",
"2",
"0",
"1",
"0",
"0",
"0"
] | h83003 | h8300_classify_operand | h8300 | MPU | GCC | 27,309 | 226 | 1 | [] |
[
"<s>",
"Register",
"SparcTargetLowering",
"::",
"getRegisterByName",
"(",
"const",
"char",
"*",
"RegName",
",",
"LLT",
"VT",
",",
"const",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"Register",
"Reg",
"=",
"StringSwitch",
"<",
"Register",
">",
"(",
"Re... | [
"Return",
"the",
"register",
"ID",
"of",
"the",
"name",
"passed",
"in",
"."
] | [
"Sparc",
"Sparc",
"\"i0\"",
"SP::I0",
"\"i1\"",
"SP::I1",
"\"i2\"",
"SP::I2",
"\"i3\"",
"SP::I3",
"\"i4\"",
"SP::I4",
"\"i5\"",
"SP::I5",
"\"i6\"",
"SP::I6",
"\"i7\"",
"SP::I7",
"\"o0\"",
"SP::O0",
"\"o1\"",
"SP::O1",
"\"o2\"",
"SP::O2",
"\"o3\"",
"SP::O3",
"\"o4\... | SparcISelLowering12 | getRegisterByName | Sparc | CPU | LLVM | 27,310 | 337 | 1 | [] |
[
"<s>",
"static",
"int",
"supersparc_adjust_cost",
"(",
"rtx_insn",
"*",
"insn",
",",
"rtx",
"link",
",",
"rtx_insn",
"*",
"dep_insn",
",",
"int",
"cost",
")",
"{",
"enum",
"attr_type",
"insn_type",
";",
"if",
"(",
"!",
"recog_memoized",
"(",
"insn",
")",
... | [
"Adjust",
"the",
"cost",
"of",
"a",
"scheduling",
"dependency",
".",
"Return",
"the",
"new",
"cost",
"of",
"a",
"dependency",
"LINK",
"or",
"INSN",
"on",
"DEP_INSN",
".",
"COST",
"is",
"the",
"current",
"cost",
"."
] | [
"sparc",
"0",
"0",
"3",
"3",
"3",
"0"
] | sparc4 | supersparc_adjust_cost | sparc | CPU | GCC | 27,311 | 168 | 1 | [] |
[
"<s>",
"void",
"VideocoreInstPrinter",
"::",
"printInst",
"(",
"const",
"MCInst",
"*",
"MI",
",",
"raw_ostream",
"&",
"OS",
",",
"StringRef",
"Annot",
")",
"{",
"printInstruction",
"(",
"MI",
",",
"OS",
")",
";",
"printAnnotation",
"(",
"OS",
",",
"Annot",... | [
"Print",
"the",
"specified",
"MCInst",
"to",
"the",
"specified",
"raw_ostream",
"."
] | [
"Videocore",
"Videocore"
] | VideocoreInstPrinter | printInst | Videocore | DSP | LLVM | 27,312 | 33 | 1 | [] |
[
"<s>",
"XCoreSubtarget",
"::",
"XCoreSubtarget",
"(",
"const",
"Triple",
"&",
"TT",
",",
"const",
"std",
"::",
"string",
"&",
"CPU",
",",
"const",
"std",
"::",
"string",
"&",
"FS",
",",
"const",
"TargetMachine",
"&",
"TM",
")",
":",
"XCoreGenSubtargetInfo"... | [
"This",
"constructor",
"initializes",
"the",
"data",
"members",
"to",
"match",
"that",
"of",
"the",
"specified",
"triple",
"."
] | [
"XCore",
"XCore",
"XCore",
"XCore"
] | XCoreSubtarget | XCoreSubtarget | XCore | MPU | LLVM | 27,313 | 63 | 1 | [] |
[
"<s>",
"void",
"AMDGPUMCInstLower",
"::",
"lower",
"(",
"const",
"MachineInstr",
"*",
"MI",
",",
"MCInst",
"&",
"OutMI",
")",
"const",
"{",
"OutMI",
".",
"setOpcode",
"(",
"MI",
"->",
"getOpcode",
"(",
")",
")",
";",
"for",
"(",
"const",
"MachineOperand"... | [
"The",
"instruction",
"is",
"lowered",
"."
] | [
"R600",
"\"unknown operand type\"",
"\"Only floating point immediates are supported at the moment.\""
] | AMDGPUMCInstLower28 | lower | R600 | GPU | LLVM | 27,314 | 193 | 1 | [] |
[
"<s>",
"virtual",
"bool",
"isProfitableToDupForIfCvt",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"unsigned",
"NumCycles",
",",
"const",
"BranchProbability",
"&",
"Probability",
")",
"const",
"{",
"const",
"MCInstrDesc",
"&",
"MCID",
"=",
"prior",
"(",
"MBB",
".... | [
"Return",
"true",
"if",
"it",
"'s",
"profitable",
"for",
"if-converter",
"to",
"duplicate",
"instructions",
"of",
"specified",
"accumulated",
"instruction",
"latencies",
"in",
"the",
"specified",
"MBB",
"to",
"enable",
"if-conversion",
"."
] | [
"Patmos",
"4"
] | PatmosInstrInfo | isProfitableToDupForIfCvt | Patmos | VLIW | LLVM | 27,315 | 59 | 1 | [] |
[
"<s>",
"unsigned",
"ARMBaseInstrInfo",
"::",
"isLoadFromStackSlot",
"(",
"const",
"MachineInstr",
"*",
"MI",
",",
"int",
"&",
"FrameIndex",
")",
"const",
"{",
"switch",
"(",
"MI",
"->",
"getOpcode",
"(",
")",
")",
"{",
"default",
":",
"break",
";",
"case",... | [
"isLoadFromStackSlot",
"-",
"If",
"the",
"specified",
"machine",
"instruction",
"is",
"a",
"direct",
"load",
"from",
"a",
"stack",
"slot",
",",
"return",
"the",
"virtual",
"or",
"physical",
"register",
"number",
"of",
"the",
"destination",
"along",
"with",
"th... | [
"ARM",
"ARM",
"ARM::LDRrs",
"ARM::t2LDRs",
"1",
"2",
"3",
"2",
"0",
"3",
"0",
"1",
"0",
"ARM::LDRi12",
"ARM::t2LDRi12",
"ARM::tLDRspi",
"ARM::VLDRD",
"ARM::VLDRS",
"1",
"2",
"2",
"0",
"1",
"0",
"ARM::VLD1q64",
"ARM::VLD1d64TPseudo",
"ARM::VLD1d64QPseudo",
"1",
... | ARMBaseInstrInfo (2) | isLoadFromStackSlot | ARM | CPU | LLVM | 27,316 | 355 | 1 | [] |
[
"<s>",
"bool",
"isImm",
"(",
"int64_t",
"MinValue",
",",
"int64_t",
"MaxValue",
")",
"const",
"{",
"return",
"Kind",
"==",
"KindImm",
"&&",
"inRange",
"(",
"Imm",
",",
"MinValue",
",",
"MaxValue",
")",
";",
"}",
"</s>"
] | [
"isImm",
"-",
"Is",
"this",
"an",
"immediate",
"operand",
"?"
] | [
"Videocore"
] | VideocoreAsmParser | isImm | Videocore | DSP | LLVM | 27,317 | 26 | 1 | [] |
[
"<s>",
"static",
"const",
"char",
"*",
"mips_sync_insn2_template",
"(",
"enum",
"attr_sync_insn2",
"type",
")",
"{",
"switch",
"(",
"type",
")",
"{",
"case",
"SYNC_INSN2_NOP",
":",
"gcc_unreachable",
"(",
")",
";",
"case",
"SYNC_INSN2_AND",
":",
"return",
"\"a... | [
"Return",
"the",
"asm",
"template",
"associated",
"with",
"sync_insn2",
"value",
"TYPE",
"."
] | [
"mips",
"\"and\\t%0,%1,%z2\"",
"\"xor\\t%0,%1,%z2\"",
"\"nor\\t%0,%1,%.\""
] | mips | mips_sync_insn2_template | mips | CPU | GCC | 27,318 | 47 | 1 | [] |
[
"<s>",
"unsigned",
"assignCustomValue",
"(",
"const",
"ARMCallLowering",
"::",
"ArgInfo",
"&",
"Arg",
",",
"ArrayRef",
"<",
"CCValAssign",
">",
"VAs",
")",
"override",
"{",
"CCValAssign",
"VA",
"=",
"VAs",
"[",
"0",
"]",
";",
"assert",
"(",
"VA",
".",
"n... | [
"Handle",
"custom",
"values",
",",
"which",
"may",
"be",
"passed",
"into",
"one",
"or",
"more",
"of",
"VAs",
"."
] | [
"ARM",
"ARM",
"0",
"\"Value doesn't need custom handling\"",
"MVT::f64",
"\"Unsupported type\"",
"1",
"\"Value doesn't need custom handling\"",
"MVT::f64",
"\"Unsupported type\"",
"\"Values belong to different arguments\"",
"\"Value should be in reg\"",
"\"Value should be in reg\"",
"32",
... | ARMCallLowering (2) | assignCustomValue | ARM | CPU | LLVM | 27,319 | 243 | 1 | [] |
[
"<s>",
"void",
"GCNSubtarget",
"::",
"adjustSchedDependency",
"(",
"SUnit",
"*",
"Def",
",",
"int",
"DefOpIdx",
",",
"SUnit",
"*",
"Use",
",",
"int",
"UseOpIdx",
",",
"SDep",
"&",
"Dep",
")",
"const",
"{",
"if",
"(",
"Dep",
".",
"getKind",
"(",
")",
... | [
"Perform",
"target",
"specific",
"adjustments",
"to",
"the",
"latency",
"of",
"a",
"schedule",
"dependency",
"."
] | [
"AMDGPU",
"SI",
"0",
"SI"
] | AMDGPUSubtarget104 | adjustSchedDependency | AMDGPU | GPU | LLVM | 27,320 | 321 | 1 | [] |
[
"<s>",
"void",
"MipsPassConfig",
"::",
"addPreRegAlloc",
"(",
")",
"{",
"addPass",
"(",
"createMipsOptimizePICCallPass",
"(",
"getMipsTargetMachine",
"(",
")",
")",
")",
";",
"}",
"</s>"
] | [
"This",
"method",
"may",
"be",
"implemented",
"by",
"targets",
"that",
"want",
"to",
"run",
"passes",
"immediately",
"before",
"register",
"allocation",
"."
] | [
"Mips",
"Mips",
"Mips",
"Mips"
] | MipsTargetMachine46 | addPreRegAlloc | Mips | CPU | LLVM | 27,321 | 18 | 1 | [] |
[
"<s>",
"void",
"PPCAIXAsmPrinter",
"::",
"emitInstruction",
"(",
"const",
"MachineInstr",
"*",
"MI",
")",
"{",
"switch",
"(",
"MI",
"->",
"getOpcode",
"(",
")",
")",
"{",
"default",
":",
"break",
";",
"case",
"PPC",
"::",
"BL8",
":",
"case",
"PPC",
"::... | [
"Targets",
"should",
"implement",
"this",
"to",
"emit",
"instructions",
"."
] | [
"PowerPC",
"PPC",
"PPC::BL8",
"PPC::BL",
"PPC::BL8_NOP",
"PPC::BL_NOP",
"0",
"PPC::BL_TLS",
"PPC::BL8_TLS",
"PPC::BL8_TLS_",
"PPC::BL8_NOP_TLS",
"\"TLS call not yet implemented\"",
"PPC::TAILB",
"PPC::TAILB8",
"PPC::TAILBA",
"PPC::TAILBA8",
"PPC::TAILBCTR",
"PPC::TAILBCTR8",
"0",... | PPCAsmPrinter59 | emitInstruction | PowerPC | CPU | LLVM | 27,322 | 234 | 1 | [] |
[
"<s>",
"void",
"PPCFrameLowering",
"::",
"eliminateCallFramePseudoInstr",
"(",
"MachineFunction",
"&",
"MF",
",",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"I",
")",
"const",
"{",
"const",
"PPCInstrInfo",
"&",
"TII",
"=",
"*",
... | [
"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",
")",
"."
] | [
"PowerPC",
"PPC",
"PPC",
"PPC",
"PPC::ADJCALLSTACKUP",
"1",
"PPC",
"1",
"PPC::X1",
"PPC::R1",
"PPC::X0",
"PPC::R0",
"PPC::ADDI8",
"PPC::ADDI",
"PPC::ADD8",
"PPC::ADD4",
"PPC::LIS8",
"PPC::LIS",
"PPC::ORI8",
"PPC::ORI",
"16",
"16",
"0xFFFF"
] | PPCFrameLowering79 | eliminateCallFramePseudoInstr | PowerPC | CPU | LLVM | 27,323 | 346 | 1 | [] |
[
"<s>",
"bool",
"MipsSEFrameLowering",
"::",
"hasReservedCallFrame",
"(",
"const",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"const",
"MachineFrameInfo",
"&",
"MFI",
"=",
"MF",
".",
"getFrameInfo",
"(",
")",
";",
"return",
"isInt",
"<",
"16",
">",
"(",... | [
"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... | [
"Mips",
"Mips",
"16"
] | MipsSEFrameLowering (2)1 | hasReservedCallFrame | Mips | CPU | LLVM | 27,324 | 48 | 1 | [] |
[
"<s>",
"void",
"arm_reset_previous_fndecl",
"(",
"void",
")",
"{",
"arm_previous_fndecl",
"=",
"NULL_TREE",
";",
"}",
"</s>"
] | [
"Invalidate",
"arm_previous_fndecl",
"."
] | [
"arm"
] | arm | arm_reset_previous_fndecl | arm | CPU | GCC | 27,325 | 11 | 1 | [] |
[
"<s>",
"StringRef",
"getPassName",
"(",
")",
"const",
"override",
"{",
"return",
"\"AArch64PostLegalizerCombiner\"",
";",
"}",
"</s>"
] | [
"getPassName",
"-",
"Return",
"a",
"nice",
"clean",
"name",
"for",
"a",
"pass",
"."
] | [
"AArch64",
"\"AArch64PostLegalizerCombiner\""
] | AArch64PostLegalizerCombiner (2) | getPassName | AArch64 | CPU | LLVM | 27,326 | 11 | 1 | [] |
[
"<s>",
"static",
"bool",
"mem_ok_for_ldd_std",
"(",
"rtx",
"mem",
",",
"rtx",
"*",
"base",
",",
"rtx",
"*",
"offset",
")",
"{",
"rtx",
"addr",
";",
"gcc_assert",
"(",
"base",
"!=",
"NULL",
"&&",
"offset",
"!=",
"NULL",
")",
";",
"if",
"(",
"side_effe... | [
"Helper",
"for",
"gen_operands_ldd_std",
".",
"Returns",
"true",
"iff",
"the",
"memory",
"operand",
"MEM",
"'s",
"address",
"contains",
"an",
"immediate",
"offset",
"from",
"the",
"base",
"register",
"and",
"has",
"no",
"side",
"effects",
",",
"in",
"which",
... | [
"arc",
"0",
"0",
"1"
] | arc | mem_ok_for_ldd_std | arc | MPU | GCC | 27,327 | 166 | 1 | [] |
[
"<s>",
"bool",
"hasFP",
"(",
"const",
"MachineFunction",
"&",
"MF",
")",
"const",
"override",
"{",
"return",
"false",
";",
"}",
"</s>"
] | [
"hasFP",
"-",
"Return",
"true",
"if",
"the",
"specified",
"function",
"should",
"have",
"a",
"dedicated",
"frame",
"pointer",
"register",
"."
] | [
"HSAIL"
] | HSAILFrameLowering | hasFP | HSAIL | Virtual ISA | LLVM | 27,328 | 15 | 1 | [] |
[
"<s>",
"rtx",
"mmix_return_addr_rtx",
"(",
"int",
"count",
",",
"rtx",
"frame",
"ATTRIBUTE_UNUSED",
")",
"{",
"return",
"count",
"==",
"0",
"?",
"(",
"MMIX_CFUN_NEEDS_SAVED_EH_RETURN_ADDRESS",
"?",
"validize_mem",
"(",
"gen_rtx_MEM",
"(",
"Pmode",
",",
"plus_const... | [
"RETURN_ADDR_RTX",
"."
] | [
"mmix",
"0",
"16"
] | mmix | mmix_return_addr_rtx | mmix | CPU | GCC | 27,329 | 48 | 1 | [] |
[
"<s>",
"static",
"bool",
"moxie_pass_by_reference",
"(",
"cumulative_args_t",
",",
"const",
"function_arg_info",
"&",
"arg",
")",
"{",
"if",
"(",
"arg",
".",
"aggregate_type_p",
"(",
")",
")",
"return",
"true",
";",
"unsigned",
"HOST_WIDE_INT",
"size",
"=",
"a... | [
"Return",
"non-zero",
"if",
"the",
"function",
"argument",
"described",
"by",
"TYPE",
"is",
"to",
"be",
"passed",
"by",
"reference",
"."
] | [
"moxie",
"4",
"6"
] | moxie | moxie_pass_by_reference | moxie | CPU | GCC | 27,330 | 41 | 1 | [] |
[
"<s>",
"const",
"InstrItineraryData",
"&",
"getInstrItineraryData",
"(",
")",
"const",
"{",
"return",
"InstrItins",
";",
"}",
"</s>"
] | [
"getInstrItineraryData",
"-",
"Returns",
"instruction",
"itinerary",
"data",
"for",
"the",
"target",
"or",
"specific",
"subtarget",
"."
] | [
"Mips"
] | MipsSubtarget (2) | getInstrItineraryData | Mips | CPU | LLVM | 27,331 | 12 | 1 | [] |
[
"<s>",
"const",
"char",
"*",
"getPassName",
"(",
")",
"const",
"{",
"return",
"\"R600 Emit Clause Markers Pass\"",
";",
"}",
"</s>"
] | [
"getPassName",
"-",
"Return",
"a",
"nice",
"clean",
"name",
"for",
"a",
"pass",
"."
] | [
"R600",
"\"R600 Emit Clause Markers Pass\""
] | R600EmitClauseMarkers1 | getPassName | R600 | GPU | LLVM | 27,332 | 12 | 1 | [] |
[
"<s>",
"bool",
"TVMTargetLowering",
"::",
"allowsMisalignedMemoryAccesses",
"(",
"EVT",
",",
"unsigned",
",",
"unsigned",
",",
"bool",
"*",
")",
"const",
"{",
"return",
"true",
";",
"}",
"</s>"
] | [
"Returns",
"true",
"if",
"the",
"target",
"allows",
"unaligned",
"memory",
"accesses",
"of",
"the",
"specified",
"type",
"."
] | [
"TVM",
"TVM"
] | TVMISelLowering | allowsMisalignedMemoryAccesses | TVM | Virtual ISA | LLVM | 27,333 | 20 | 1 | [] |
[
"<s>",
"void",
"print_operand_address",
"(",
"FILE",
"*",
"file",
",",
"rtx",
"addr",
")",
"{",
"visium_output_address",
"(",
"file",
",",
"QImode",
",",
"addr",
")",
";",
"}",
"</s>"
] | [
"Print",
"the",
"operand",
"address",
"represented",
"by",
"the",
"rtx",
"addr"
] | [
"visium"
] | visium2 | print_operand_address | visium | Virtual ISA | GCC | 27,334 | 21 | 1 | [] |
[
"<s>",
"void",
"fma_forest",
"::",
"merge_forest",
"(",
"fma_forest",
"*",
"other_forest",
")",
"{",
"std",
"::",
"list",
"<",
"fma_root_node",
"*",
">",
"*",
"other_roots",
";",
"std",
"::",
"list",
"<",
"fma_root_node",
"*",
">",
"::",
"iterator",
"other... | [
"Merge",
"REF_FOREST",
"and",
"OTHER_FOREST",
"together",
",",
"making",
"REF_FOREST",
"the",
"canonical",
"fma_forest",
"object",
"to",
"represent",
"both",
"."
] | [
"aarch64"
] | cortex-a57-fma-steering2 | merge_forest | aarch64 | CPU | GCC | 27,335 | 115 | 1 | [] |
[
"<s>",
"bool",
"AArch64AddressTypePromotion",
"::",
"runOnFunction",
"(",
"Function",
"&",
"F",
")",
"{",
"if",
"(",
"skipFunction",
"(",
"F",
")",
")",
"return",
"false",
";",
"if",
"(",
"!",
"EnableAddressTypePromotion",
"||",
"F",
".",
"isDeclaration",
"(... | [
"runOnFunction",
"-",
"Virtual",
"method",
"overriden",
"by",
"subclasses",
"to",
"do",
"the",
"per-function",
"processing",
"of",
"the",
"pass",
"."
] | [
"AArch64",
"AArch64",
"\"*** \"",
"\": \""
] | AArch64AddressTypePromotion7 | runOnFunction | AArch64 | CPU | LLVM | 27,336 | 90 | 1 | [] |
[
"<s>",
"bool",
"AArch64LoadStoreOpt",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"Fn",
")",
"{",
"if",
"(",
"skipFunction",
"(",
"*",
"Fn",
".",
"getFunction",
"(",
")",
")",
")",
"return",
"false",
";",
"Subtarget",
"=",
"&",
"static_cast",
... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"AArch64",
"AArch64",
"AArch64",
"AArch64"
] | AArch64LoadStoreOptimizer14 | runOnMachineFunction | AArch64 | CPU | LLVM | 27,337 | 138 | 1 | [] |
[
"<s>",
"static",
"bool",
"loongarch_split_move_insn_p",
"(",
"rtx",
"dest",
",",
"rtx",
"src",
")",
"{",
"return",
"loongarch_split_move_p",
"(",
"dest",
",",
"src",
")",
";",
"}",
"</s>"
] | [
"Return",
"true",
"if",
"a",
"move",
"from",
"SRC",
"to",
"DEST",
"in",
"INSN",
"should",
"be",
"split",
"."
] | [
"loongarch"
] | loongarch1 | loongarch_split_move_insn_p | loongarch | CPU | GCC | 27,338 | 20 | 1 | [] |
[
"<s>",
"static",
"void",
"sparc_init_builtins",
"(",
"void",
")",
"{",
"if",
"(",
"TARGET_VIS",
")",
"sparc_vis_init_builtins",
"(",
")",
";",
"}",
"</s>"
] | [
"Implement",
"the",
"TARGET_INIT_BUILTINS",
"target",
"hook",
".",
"Create",
"builtin",
"functions",
"for",
"special",
"SPARC",
"instructions",
"."
] | [
"sparc"
] | sparc3 | sparc_init_builtins | sparc | CPU | GCC | 27,339 | 16 | 1 | [] |
[
"<s>",
"static",
"bool",
"save_local_or_in_reg_p",
"(",
"unsigned",
"int",
"regno",
",",
"int",
"leaf_function",
")",
"{",
"if",
"(",
"!",
"call_used_regs",
"[",
"regno",
"]",
"&&",
"df_regs_ever_live_p",
"(",
"regno",
")",
")",
"return",
"true",
";",
"if",
... | [
"Return",
"whether",
"REGNO",
",",
"a",
"local",
"or",
"in",
"register",
",",
"must",
"be",
"saved/restored",
"."
] | [
"sparc"
] | sparc8 | save_local_or_in_reg_p | sparc | CPU | GCC | 27,340 | 87 | 1 | [] |
[
"<s>",
"bool",
"X86TargetLowering",
"::",
"getTgtMemIntrinsic",
"(",
"IntrinsicInfo",
"&",
"Info",
",",
"const",
"CallInst",
"&",
"I",
",",
"MachineFunction",
"&",
"MF",
",",
"unsigned",
"Intrinsic",
")",
"const",
"{",
"const",
"IntrinsicData",
"*",
"IntrData",
... | [
"Given",
"an",
"intrinsic",
",",
"checks",
"if",
"on",
"the",
"target",
"the",
"intrinsic",
"will",
"need",
"to",
"map",
"to",
"a",
"MemIntrinsicNode",
"(",
"touches",
"memory",
")",
"."
] | [
"X86",
"X86",
"ISD::INTRINSIC_W_CHAIN",
"0",
"0",
"MVT::getVT",
"1",
"0",
"MVT::getVT",
"1",
"1",
"0",
"MVT::getVT",
"1",
"MVT::INVALID_SIMPLE_VALUE_TYPE",
"MVT::i8",
"MVT::i16",
"MVT::i32",
"MVT::getVectorVT",
"1"
] | X86ISelLowering102 | getTgtMemIntrinsic | X86 | CPU | LLVM | 27,341 | 304 | 1 | [] |
[
"<s>",
"void",
"MipsOutgoingValueHandler",
"::",
"assignValueToAddress",
"(",
"Register",
"ValVReg",
",",
"const",
"CCValAssign",
"&",
"VA",
")",
"{",
"MachineMemOperand",
"*",
"MMO",
";",
"Register",
"Addr",
"=",
"getStackAddress",
"(",
"VA",
",",
"MMO",
")",
... | [
"An",
"overload",
"which",
"takes",
"an",
"ArgInfo",
"if",
"additional",
"information",
"about",
"the",
"arg",
"is",
"needed",
"."
] | [
"Mips",
"Mips"
] | MipsCallLowering16 | assignValueToAddress | Mips | CPU | LLVM | 27,342 | 51 | 1 | [] |
[
"<s>",
"DecodeStatus",
"RISCVDisassembler",
"::",
"getInstruction",
"(",
"MCInst",
"&",
"MI",
",",
"uint64_t",
"&",
"Size",
",",
"ArrayRef",
"<",
"uint8_t",
">",
"Bytes",
",",
"uint64_t",
"Address",
",",
"raw_ostream",
"&",
"OS",
",",
"raw_ostream",
"&",
"CS... | [
"Returns",
"the",
"disassembly",
"of",
"a",
"single",
"instruction",
"."
] | [
"RISCV",
"RISCV",
"0",
"0x3",
"0x3",
"support::endian",
"\"Trying RISCV32 table :\\n\"",
"4",
"support::endian",
"RISCV::Feature64Bit",
"\"Trying RISCV32Only_16 table (16-bit Instruction):\\n\"",
"RISCV",
"2",
"\"Trying RISCV_C table (16-bit Instruction):\\n\"",
"2"
] | RISCVDisassembler26 | getInstruction | RISCV | CPU | LLVM | 27,343 | 209 | 1 | [] |
[
"<s>",
"bool",
"X86InstrInfo",
"::",
"analyzeCompare",
"(",
"const",
"MachineInstr",
"&",
"MI",
",",
"unsigned",
"&",
"SrcReg",
",",
"unsigned",
"&",
"SrcReg2",
",",
"int",
"&",
"CmpMask",
",",
"int",
"&",
"CmpValue",
")",
"const",
"{",
"switch",
"(",
"M... | [
"analyzeCompare",
"-",
"For",
"a",
"comparison",
"instruction",
",",
"return",
"the",
"source",
"registers",
"in",
"SrcReg",
"and",
"SrcReg2",
"if",
"having",
"two",
"register",
"operands",
",",
"and",
"the",
"value",
"it",
"compares",
"against",
"in",
"CmpVal... | [
"X86",
"X86",
"X86::CMP64ri32",
"X86::CMP64ri8",
"X86::CMP32ri",
"X86::CMP32ri8",
"X86::CMP16ri",
"X86::CMP16ri8",
"X86::CMP8ri",
"0",
"0",
"1",
"0",
"1",
"0",
"X86::SUB64rm",
"X86::SUB32rm",
"X86::SUB16rm",
"X86::SUB8rm",
"1",
"0",
"0",
"0",
"X86::SUB64rr",
"X86::SUB... | X86InstrInfo | analyzeCompare | X86 | CPU | LLVM | 27,344 | 469 | 1 | [] |
[
"<s>",
"int",
"SIInstrInfo",
"::",
"pseudoToMCOpcode",
"(",
"int",
"Opcode",
")",
"const",
"{",
"SIEncodingFamily",
"Gen",
"=",
"subtargetEncodingFamily",
"(",
"ST",
")",
";",
"if",
"(",
"(",
"get",
"(",
"Opcode",
")",
".",
"TSFlags",
"&",
"SIInstrFlags",
... | [
"Return",
"a",
"target-specific",
"opcode",
"if",
"Opcode",
"is",
"a",
"pseudo",
"instruction",
"."
] | [
"AMDGPU",
"SI",
"SI",
"SIInstrFlags::renamedInGFX9",
"0",
"AMDGPU",
"SIEncodingFamily::GFX9",
"SIInstrFlags::D16Buf",
"SIEncodingFamily::GFX80",
"SIInstrFlags::SDWA",
"SIEncodingFamily::SDWA",
"AMDGPU",
"SIEncodingFamily::SDWA9",
"AMDGPU",
"SIEncodingFamily::SDWA10",
"AMDGPU::getMCOpco... | SIInstrInfo110 | pseudoToMCOpcode | AMDGPU | GPU | LLVM | 27,345 | 179 | 1 | [] |
[
"<s>",
"const",
"char",
"*",
"output_addsi3",
"(",
"rtx",
"*",
"operands",
")",
"{",
"if",
"(",
"!",
"operands_match_p",
"(",
"operands",
"[",
"0",
"]",
",",
"operands",
"[",
"1",
"]",
")",
")",
"{",
"if",
"(",
"!",
"ADDRESS_REG_P",
"(",
"operands",
... | [
"Output",
"assembler",
"code",
"to",
"perform",
"a",
"32",
"bit",
"3",
"operand",
"add",
"."
] | [
"m68k",
"0",
"1",
"1",
"1",
"1",
"2",
"2",
"2",
"2",
"32768",
"2",
"32767",
"\"move%.l %2,%0\\n\\tadd%.l %1,%0\"",
"2",
"\"lea (%1,%2.l),%0\"",
"\"lea %1@(0,%2:l),%0\"",
"\"lea (%c2,%1),%0\"",
"\"lea %1@(%c2),%0\"",
"2",
"2",
"0",
"2",
"8",
"\"addq%.l %2,%0\"",
"2",... | m68k3 | output_addsi3 | m68k | MPU | GCC | 27,346 | 373 | 1 | [] |
[
"<s>",
"static",
"void",
"rs6000_xcoff_file_end",
"(",
"void",
")",
"{",
"text_section",
"(",
")",
";",
"fputs",
"(",
"\"_section_.text:\\n\"",
",",
"asm_out_file",
")",
";",
"data_section",
"(",
")",
";",
"fputs",
"(",
"TARGET_32BIT",
"?",
"\"\\t.long _section_... | [
"Output",
"at",
"end",
"of",
"assembler",
"file",
".",
"On",
"the",
"RS/6000",
",",
"referencing",
"data",
"should",
"automatically",
"pull",
"in",
"text",
"."
] | [
"rs6000",
"\"_section_.text:\\n\"",
"\"\\t.long _section_.text\\n\"",
"\"\\t.llong _section_.text\\n\""
] | rs60003 | rs6000_xcoff_file_end | rs6000 | CPU | GCC | 27,347 | 34 | 1 | [] |
[
"<s>",
"TargetLowering",
"::",
"ConstraintWeight",
"SystemZTargetLowering",
"::",
"getSingleConstraintMatchWeight",
"(",
"AsmOperandInfo",
"&",
"info",
",",
"const",
"char",
"*",
"constraint",
")",
"const",
"{",
"ConstraintWeight",
"weight",
"=",
"CW_Invalid",
";",
"V... | [
"Examine",
"constraint",
"string",
"and",
"operand",
"type",
"and",
"determine",
"a",
"weight",
"value",
"."
] | [
"SystemZ",
"SystemZ",
"8",
"12",
"16",
"20",
"0x7fffffff"
] | SystemZISelLowering (2)1 | getSingleConstraintMatchWeight | SystemZ | CPU | LLVM | 27,348 | 303 | 1 | [] |
[
"<s>",
"void",
"X86IntelInstPrinter",
"::",
"printPCRelImm",
"(",
"const",
"MCInst",
"*",
"MI",
",",
"unsigned",
"OpNo",
",",
"raw_ostream",
"&",
"O",
")",
"{",
"const",
"MCOperand",
"&",
"Op",
"=",
"MI",
"->",
"getOperand",
"(",
"OpNo",
")",
";",
"if",
... | [
"value",
"(",
"e.g",
"."
] | [
"X86",
"X86",
"\"unknown pcrel immediate operand\"",
"\"0x\""
] | X86IntelInstPrinter19 | printPCRelImm | X86 | CPU | LLVM | 27,349 | 117 | 1 | [] |
[
"<s>",
"static",
"rtx_insn",
"*",
"nds32_md_asm_adjust",
"(",
"vec",
"<",
"rtx",
">",
"&",
"outputs",
"ATTRIBUTE_UNUSED",
",",
"vec",
"<",
"rtx",
">",
"&",
"inputs",
"ATTRIBUTE_UNUSED",
",",
"vec",
"<",
"machine_mode",
">",
"&",
"input_modes",
"ATTRIBUTE_UNUSE... | [
"Miscellaneous",
"Parameters",
"."
] | [
"nds32"
] | nds321 | nds32_md_asm_adjust | nds32 | CPU | GCC | 27,350 | 81 | 1 | [] |
[
"<s>",
"bool",
"X86AsmPrinter",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"{",
"Subtarget",
"=",
"&",
"MF",
".",
"getSubtarget",
"<",
"X86Subtarget",
">",
"(",
")",
";",
"SMShadowTracker",
".",
"startFunction",
"(",
"MF",
")",
";"... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"X86",
"X86",
"X86"
] | X86AsmPrinter30 | runOnMachineFunction | X86 | CPU | LLVM | 27,351 | 106 | 1 | [] |
[
"<s>",
"bool",
"RISCVInstrInfo",
"::",
"isFunctionSafeToOutlineFrom",
"(",
"MachineFunction",
"&",
"MF",
",",
"bool",
"OutlineFromLinkOnceODRs",
")",
"const",
"{",
"const",
"Function",
"&",
"F",
"=",
"MF",
".",
"getFunction",
"(",
")",
";",
"if",
"(",
"!",
"... | [
"Return",
"true",
"if",
"the",
"function",
"can",
"safely",
"be",
"outlined",
"from",
"."
] | [
"RISCV",
"RISCV"
] | RISCVInstrInfo (2) | isFunctionSafeToOutlineFrom | RISCV | CPU | LLVM | 27,352 | 54 | 1 | [] |
[
"<s>",
"TargetPassConfig",
"*",
"Cpu0TargetMachine",
"::",
"createPassConfig",
"(",
"PassManagerBase",
"&",
"PM",
")",
"{",
"return",
"new",
"Cpu0PassConfig",
"(",
"this",
",",
"PM",
")",
";",
"}",
"</s>"
] | [
"Create",
"a",
"pass",
"configuration",
"object",
"to",
"be",
"used",
"by",
"addPassToEmitX",
"methods",
"for",
"generating",
"a",
"pipeline",
"of",
"CodeGen",
"passes",
"."
] | [
"Cpu0",
"Cpu0",
"Cpu0"
] | Cpu0TargetMachine1 | createPassConfig | Cpu0 | CPU | LLVM | 27,353 | 21 | 1 | [] |
[
"<s>",
"void",
"SparcInstPrinter",
"::",
"printInst",
"(",
"const",
"MCInst",
"*",
"MI",
",",
"uint64_t",
"Address",
",",
"StringRef",
"Annot",
",",
"const",
"MCSubtargetInfo",
"&",
"STI",
",",
"raw_ostream",
"&",
"O",
")",
"{",
"if",
"(",
"!",
"printAlias... | [
"Print",
"the",
"specified",
"MCInst",
"to",
"the",
"specified",
"raw_ostream",
"."
] | [
"Sparc",
"Sparc",
"Sparc"
] | SparcInstPrinter11 | printInst | Sparc | CPU | LLVM | 27,354 | 67 | 1 | [] |
[
"<s>",
"SDValue",
"AMDGPUTargetLowering",
"::",
"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",
"."
] | [
"AMDGPU",
"AMDGPU",
"ISD::OutputArg",
"AMDGPUISD::ENDPGM",
"MVT::Other"
] | AMDGPUISelLowering (2)1 | LowerReturn | AMDGPU | GPU | LLVM | 27,355 | 64 | 1 | [] |
[
"<s>",
"void",
"output_dbcc_and_branch",
"(",
"rtx",
"*",
"operands",
")",
"{",
"switch",
"(",
"GET_CODE",
"(",
"operands",
"[",
"3",
"]",
")",
")",
"{",
"case",
"EQ",
":",
"output_asm_insn",
"(",
"\"dbeq %0,%l1\\n\\tjeq %l2\"",
",",
"operands",
")",
";",
... | [
"Output",
"a",
"dbCC",
";",
"jCC",
"sequence",
".",
"Note",
"we",
"do",
"not",
"handle",
"the",
"floating",
"point",
"version",
"of",
"this",
"sequence",
"(",
"Fdbcc",
")",
".",
"We",
"also",
"do",
"not",
"handle",
"alternative",
"conditions",
"when",
"C... | [
"m68k",
"3",
"\"dbeq %0,%l1\\n\\tjeq %l2\"",
"\"dbne %0,%l1\\n\\tjne %l2\"",
"\"dbgt %0,%l1\\n\\tjgt %l2\"",
"\"dbhi %0,%l1\\n\\tjhi %l2\"",
"\"dblt %0,%l1\\n\\tjlt %l2\"",
"\"dbcs %0,%l1\\n\\tjcs %l2\"",
"\"dbge %0,%l1\\n\\tjge %l2\"",
"\"dbcc %0,%l1\\n\\tjcc %l2\"",
"\"dble %0,%l1\\n\\tjle %l2... | m68k7 | output_dbcc_and_branch | m68k | MPU | GCC | 27,356 | 182 | 1 | [] |
[
"<s>",
"virtual",
"const",
"BPFRegisterInfo",
"&",
"getRegisterInfo",
"(",
")",
"const",
"{",
"return",
"RI",
";",
"}",
"</s>"
] | [
"getRegisterInfo",
"-",
"TargetInstrInfo",
"is",
"a",
"superset",
"of",
"MRegister",
"info",
"."
] | [
"BPF",
"BPF"
] | BPFInstrInfo12 | getRegisterInfo | BPF | Virtual ISA | LLVM | 27,357 | 13 | 1 | [] |
[
"<s>",
"rtx",
"swap_endian_selector_for_mode",
"(",
"machine_mode",
"mode",
")",
"{",
"unsigned",
"int",
"swap1",
"[",
"16",
"]",
"=",
"{",
"15",
",",
"14",
",",
"13",
",",
"12",
",",
"11",
",",
"10",
",",
"9",
",",
"8",
",",
"7",
",",
"6",
",",
... | [
"Return",
"the",
"permutation",
"index",
"for",
"the",
"swapping",
"on",
"the",
"given",
"vector",
"mode",
".",
"Note",
"that",
"the",
"permutation",
"index",
"is",
"correspondingly",
"generated",
"by",
"endianness",
",",
"it",
"should",
"be",
"used",
"by",
... | [
"rs6000",
"16",
"15",
"14",
"13",
"12",
"11",
"10",
"9",
"8",
"7",
"6",
"5",
"4",
"3",
"2",
"1",
"0",
"16",
"7",
"6",
"5",
"4",
"3",
"2",
"1",
"0",
"15",
"14",
"13",
"12",
"11",
"10",
"9",
"8",
"16",
"3",
"2",
"1",
"0",
"7",
"6",
"5... | rs6000-call | swap_endian_selector_for_mode | rs6000 | CPU | GCC | 27,358 | 283 | 1 | [] |
[
"<s>",
"bool",
"Error",
"(",
"SMLoc",
"L",
",",
"const",
"Twine",
"&",
"Msg",
",",
"SMRange",
"Range",
"=",
"None",
",",
"bool",
"MatchingInlineAsm",
"=",
"false",
")",
"{",
"MCAsmParser",
"&",
"Parser",
"=",
"getParser",
"(",
")",
";",
"if",
"(",
"M... | [
"Return",
"an",
"error",
"at",
"the",
"location",
"L",
",",
"with",
"the",
"message",
"Msg",
"."
] | [
"X86"
] | X86AsmParser (2)4 | Error | X86 | CPU | LLVM | 27,359 | 69 | 1 | [] |
[
"<s>",
"static",
"rtx",
"riscv_emit_set",
"(",
"rtx",
"target",
",",
"rtx",
"src",
")",
"{",
"emit_insn",
"(",
"gen_rtx_SET",
"(",
"target",
",",
"src",
")",
")",
";",
"return",
"target",
";",
"}",
"</s>"
] | [
"Emit",
"an",
"instruction",
"of",
"the",
"form",
"(",
"set",
"TARGET",
"SRC",
")",
"."
] | [
"riscv"
] | riscv | riscv_emit_set | riscv | CPU | GCC | 27,360 | 25 | 1 | [] |
[
"<s>",
"StringRef",
"getPassName",
"(",
")",
"const",
"override",
"{",
"return",
"\"PULP Hardware Loop Fixup\"",
";",
"}",
"</s>"
] | [
"getPassName",
"-",
"Return",
"a",
"nice",
"clean",
"name",
"for",
"a",
"pass",
"."
] | [
"RI5CY",
"\"PULP Hardware Loop Fixup\""
] | PULPFixupHwLoops | getPassName | RI5CY | CPU | LLVM | 27,361 | 11 | 1 | [] |
[
"<s>",
"ScheduleHazardRecognizer",
"::",
"HazardType",
"PPCHazardRecognizer970",
"::",
"getHazardType",
"(",
"SUnit",
"*",
"SU",
",",
"int",
"Stalls",
")",
"{",
"assert",
"(",
"Stalls",
"==",
"0",
"&&",
"\"PPC hazards don't support scoreboard lookahead\"",
")",
";",
... | [
"getHazardType",
"-",
"Return",
"the",
"hazard",
"type",
"of",
"emitting",
"this",
"node",
"."
] | [
"PowerPC",
"PPC",
"0",
"\"PPC hazards don't support scoreboard lookahead\"",
"PPCII::PPC970_Unit",
"PPCII::PPC970_Pseudo",
"0",
"2",
"\"Unknown instruction type!\"",
"PPCII::PPC970_FXU",
"PPCII::PPC970_LSU",
"PPCII::PPC970_FPU",
"PPCII::PPC970_VALU",
"PPCII::PPC970_VPERM",
"4",
"PPCII:... | PPCHazardRecognizers15 | getHazardType | PowerPC | CPU | LLVM | 27,362 | 263 | 1 | [] |
[
"<s>",
"MachinePointerInfo",
"MipsFunctionInfo",
"::",
"callPtrInfo",
"(",
"MachineFunction",
"&",
"MF",
",",
"const",
"GlobalValue",
"*",
"GV",
")",
"{",
"return",
"MachinePointerInfo",
"(",
"MF",
".",
"getPSVManager",
"(",
")",
".",
"getGlobalValueCallEntry",
"(... | [
"Create",
"a",
"MachinePointerInfo",
"that",
"has",
"a",
"GlobalValuePseudoSourceValue",
"object",
"representing",
"a",
"GOT",
"entry",
"for",
"a",
"global",
"function",
"."
] | [
"Mips",
"Mips"
] | MipsMachineFunction16 | callPtrInfo | Mips | CPU | LLVM | 27,363 | 31 | 1 | [] |
[
"<s>",
"bool",
"AArch64PassConfig",
"::",
"addLegalizeMachineIR",
"(",
")",
"{",
"addPass",
"(",
"new",
"Legalizer",
"(",
")",
")",
";",
"return",
"false",
";",
"}",
"</s>"
] | [
"This",
"method",
"should",
"install",
"a",
"legalize",
"pass",
",",
"which",
"converts",
"the",
"instruction",
"sequence",
"into",
"one",
"that",
"can",
"be",
"selected",
"by",
"the",
"target",
"."
] | [
"AArch64",
"AArch64"
] | AArch64TargetMachine (2)3 | addLegalizeMachineIR | AArch64 | CPU | LLVM | 27,364 | 19 | 1 | [] |
[
"<s>",
"static",
"inline",
"rtx",
"s390_expand_mask_and_shift",
"(",
"rtx",
"val",
",",
"machine_mode",
"mode",
",",
"rtx",
"count",
")",
"{",
"val",
"=",
"expand_simple_binop",
"(",
"SImode",
",",
"AND",
",",
"val",
",",
"GEN_INT",
"(",
"GET_MODE_MASK",
"("... | [
"A",
"subroutine",
"of",
"s390_expand_cs_hqi",
"and",
"s390_expand_atomic",
"which",
"returns",
"a",
"register",
"that",
"holds",
"VAL",
"of",
"mode",
"MODE",
"shifted",
"by",
"COUNT",
"bits",
"."
] | [
"s390",
"1",
"1"
] | s390 | s390_expand_mask_and_shift | s390 | MPU | GCC | 27,365 | 59 | 1 | [] |
[
"<s>",
"static",
"void",
"Query",
"(",
"const",
"MachineInstr",
"&",
"MI",
",",
"AliasAnalysis",
"&",
"AA",
",",
"bool",
"&",
"Read",
",",
"bool",
"&",
"Write",
",",
"bool",
"&",
"Effects",
",",
"bool",
"&",
"StackPointer",
")",
"{",
"assert",
"(",
"... | [
"Query",
"Liveness",
"at",
"Idx",
"."
] | [
"WebAssembly",
"WebAssembly::DIV_S_I32",
"WebAssembly::DIV_S_I64",
"WebAssembly::REM_S_I32",
"WebAssembly::REM_S_I64",
"WebAssembly::DIV_U_I32",
"WebAssembly::DIV_U_I64",
"WebAssembly::REM_U_I32",
"WebAssembly::REM_U_I64",
"WebAssembly::I32_TRUNC_S_F32",
"WebAssembly::I64_TRUNC_S_F32",
"WebAss... | WebAssemblyRegStackify11 | Query | WebAssembly | Virtual ISA | LLVM | 27,366 | 397 | 1 | [] |
[
"<s>",
"SDNode",
"*",
"M680x0DAGToDAGISel",
"::",
"getGlobalBaseReg",
"(",
")",
"{",
"unsigned",
"GlobalBaseReg",
"=",
"getInstrInfo",
"(",
")",
"->",
"getGlobalBaseReg",
"(",
"MF",
")",
";",
"auto",
"&",
"DL",
"=",
"MF",
"->",
"getDataLayout",
"(",
")",
"... | [
"getGlobalBaseReg",
"-",
"Return",
"a",
"virtual",
"register",
"initialized",
"with",
"the",
"the",
"global",
"base",
"register",
"value",
"."
] | [
"M680x0",
"M680x0"
] | M680x0ISelDAGToDAG | getGlobalBaseReg | M680x0 | MPU | LLVM | 27,367 | 50 | 1 | [] |
[
"<s>",
"const",
"HexagonLDBackend",
"&",
"getTarget",
"(",
")",
"const",
"{",
"return",
"m_Target",
";",
"}",
"</s>"
] | [
"getTarget",
"-",
"Return",
"the",
"target",
"machine",
"this",
"machine",
"code",
"is",
"compiled",
"with"
] | [
"Hexagon",
"Hexagon"
] | HexagonRelocator | getTarget | Hexagon | DSP | LLVM | 27,368 | 12 | 1 | [] |
[
"<s>",
"static",
"int",
"try_constant_tricks",
"(",
"HOST_WIDE_INT",
"value",
",",
"HOST_WIDE_INT",
"*",
"x",
",",
"HOST_WIDE_INT",
"*",
"y",
")",
"{",
"HOST_WIDE_INT",
"i",
";",
"unsigned",
"HOST_WIDE_INT",
"bit",
",",
"shf",
",",
"rot",
";",
"if",
"(",
"... | [
"Try",
"tricks",
"to",
"load",
"a",
"constant",
"inline",
"and",
"return",
"the",
"trick",
"number",
"if",
"success",
"(",
"0",
"is",
"non-inlinable",
")",
".",
"0",
":",
"not",
"inlinable",
"1",
":",
"single",
"instruction",
"(",
"do",
"the",
"usual",
... | [
"mcore",
"1",
"0",
"2",
"1",
"32",
"3",
"4",
"0x80000000ULL",
"0",
"31",
"5",
"6",
"7",
"1",
"1",
"31",
"31",
"1",
"0x7FFFFFFF",
"8",
"1",
"0",
"1",
"0",
"9",
"3",
"0",
"3",
"3",
"10",
"5",
"0",
"5",
"5",
"11",
"0"
] | mcore | try_constant_tricks | mcore | MPU | GCC | 27,369 | 403 | 1 | [] |
[
"<s>",
"const",
"BitTracker",
"::",
"RegisterCell",
"&",
"lookup",
"(",
"unsigned",
"VR",
")",
"{",
"unsigned",
"RInd",
"=",
"TargetRegisterInfo",
"::",
"virtReg2Index",
"(",
"VR",
")",
";",
"if",
"(",
"RInd",
">=",
"CVect",
".",
"size",
"(",
")",
")",
... | [
"This",
"method",
"finds",
"the",
"value",
"with",
"the",
"given",
"Name",
"in",
"the",
"the",
"symbol",
"table",
"."
] | [
"Hexagon",
"16",
"32U",
"0",
"0"
] | HexagonGenInsert (2) | lookup | Hexagon | DSP | LLVM | 27,370 | 87 | 1 | [] |
[
"<s>",
"bool",
"CSKYConstantIslands",
"::",
"isBBInRange",
"(",
"MachineInstr",
"*",
"MI",
",",
"MachineBasicBlock",
"*",
"DestBB",
",",
"unsigned",
"MaxDisp",
")",
"{",
"unsigned",
"BrOffset",
"=",
"getOffsetOf",
"(",
"MI",
")",
";",
"unsigned",
"DestOffset",
... | [
"isBBInRange",
"-",
"Returns",
"true",
"if",
"the",
"distance",
"between",
"specific",
"MI",
"and",
"specific",
"BB",
"can",
"fit",
"in",
"MI",
"'s",
"displacement",
"field",
"."
] | [
"CSKY",
"CSKY",
"\"Branch of destination \"",
"\" from \"",
"\" max delta=\"",
"\" from \"",
"\" to \"",
"\" offset \"",
"\"\\t\""
] | CSKYConstantIslandPass | isBBInRange | CSKY | CPU | LLVM | 27,371 | 132 | 1 | [] |
[
"<s>",
"static",
"inline",
"int",
"desc_is_active",
"(",
"unsigned",
"char",
"qp",
",",
"unw_word",
"t",
",",
"struct",
"unw_state_record",
"*",
"sr",
")",
"{",
"if",
"(",
"sr",
"->",
"when_target",
"<=",
"sr",
"->",
"region_start",
"+",
"MIN",
"(",
"(",... | [
"General",
"descriptors",
"."
] | [
"ia64",
"1",
"0",
"0",
"1UL",
"0",
"0",
"1UL",
"1"
] | unwind-ia64 | desc_is_active | ia64 | CPU | GCC | 27,372 | 86 | 1 | [] |
[
"<s>",
"static",
"void",
"ATTRIBUTE_UNUSED",
"i386_output_dwarf_dtprel",
"(",
"FILE",
"*",
"file",
",",
"int",
"size",
",",
"rtx",
"x",
")",
"{",
"fputs",
"(",
"ASM_LONG",
",",
"file",
")",
";",
"output_addr_const",
"(",
"file",
",",
"x",
")",
";",
"fput... | [
"This",
"is",
"called",
"from",
"dwarf2out.cc",
"via",
"TARGET_ASM_OUTPUT_DWARF_DTPREL",
".",
"We",
"need",
"to",
"emit",
"DTP-relative",
"relocations",
"."
] | [
"i386",
"\"@dtpoff\"",
"4",
"8",
"\", 0\""
] | i386 | i386_output_dwarf_dtprel | i386 | CPU | GCC | 27,373 | 67 | 1 | [] |
[
"<s>",
"virtual",
"void",
"registerRoots",
"(",
")",
"{",
"}",
"</s>"
] | [
"Notify",
"this",
"strategy",
"that",
"all",
"roots",
"have",
"been",
"released",
"(",
"including",
"those",
"that",
"depend",
"on",
"EntrySU",
"or",
"ExitSU",
")",
"."
] | [
"Patmos"
] | PatmosPostRAScheduler | registerRoots | Patmos | VLIW | LLVM | 27,374 | 7 | 1 | [] |
[
"<s>",
"static",
"void",
"mips_file_start",
"(",
"void",
")",
"{",
"default_file_start",
"(",
")",
";",
"fprintf",
"(",
"asm_out_file",
",",
"\"\\t.section .mdebug.%s\\n\\t.previous\\n\"",
",",
"mips_mdebug_abi_name",
"(",
")",
")",
";",
"if",
"(",
"mips_abi",
"==... | [
"Implement",
"TARGET_ASM_FILE_START",
"."
] | [
"mips",
"\"\\t.section .mdebug.%s\\n\\t.previous\\n\"",
"\"\\t.section .gcc_compiled_long%d\\n\"",
"\"\\t.previous\\n\"",
"64",
"32",
"\"\\t.nan\\t%s\\n\"",
"\"2008\"",
"\"legacy\"",
"\"\\t.gnu_attribute 4, 0\\n\"",
"\"\\t.module\\tsoftfloat\\n\"",
"\"\\t.module\\tsinglefloat\\n\"",
"\"\\t.m... | mips | mips_file_start | mips | CPU | GCC | 27,375 | 488 | 1 | [] |
[
"<s>",
"int",
"c4x_hard_regno_rename_ok",
"(",
"unsigned",
"int",
"regno1",
",",
"unsigned",
"int",
"regno2",
")",
"{",
"if",
"(",
"IS_FLOAT_CALL_SAVED_REGNO",
"(",
"regno1",
")",
"&&",
"IS_INT_CALL_SAVED_REGNO",
"(",
"regno2",
")",
")",
"return",
"0",
";",
"i... | [
"Return",
"nonzero",
"if",
"REGNO1",
"can",
"be",
"renamed",
"to",
"REGNO2",
"."
] | [
"c4x",
"0",
"0",
"0",
"0",
"1"
] | c4x1 | c4x_hard_regno_rename_ok | c4x | DSP | GCC | 27,376 | 78 | 1 | [] |
[
"<s>",
"void",
"SHUXIAsmPrinter",
"::",
"EmitInstruction",
"(",
"const",
"MachineInstr",
"*",
"MI",
")",
"{",
"MCInst",
"TmpInst",
";",
"MCInstLowering",
".",
"Lower",
"(",
"MI",
",",
"TmpInst",
")",
";",
"EmitToStreamer",
"(",
"*",
"OutStreamer",
",",
"TmpI... | [
"EmitInstruction",
"-",
"This",
"callback",
"is",
"invoked",
"when",
"an",
"instruction",
"is",
"emitted",
",",
"to",
"advance",
"the",
"hazard",
"state",
"."
] | [
"SHUXI",
"SHUXI"
] | SHUXIAsmPrinter | EmitInstruction | SHUXI | CPU | LLVM | 27,377 | 32 | 1 | [] |
[
"<s>",
"bool",
"ARMTargetLowering",
"::",
"functionArgumentNeedsConsecutiveRegisters",
"(",
"Type",
"*",
"Ty",
",",
"CallingConv",
"::",
"ID",
"CallConv",
",",
"bool",
"isVarArg",
")",
"const",
"{",
"if",
"(",
"getEffectiveCallingConv",
"(",
"CallConv",
",",
"isVa... | [
"Returns",
"true",
"if",
"an",
"argument",
"of",
"type",
"Ty",
"needs",
"to",
"be",
"passed",
"in",
"a",
"contiguous",
"block",
"of",
"registers",
"in",
"calling",
"convention",
"CallConv",
"."
] | [
"ARM",
"ARM",
"ARM",
"0",
"\"isHA: \"",
"\" \""
] | ARMISelLowering (2)2 | functionArgumentNeedsConsecutiveRegisters | ARM | CPU | LLVM | 27,378 | 101 | 1 | [] |
[
"<s>",
"rtx",
"aarch64_pfalse_reg",
"(",
"machine_mode",
"mode",
")",
"{",
"gcc_assert",
"(",
"GET_MODE_CLASS",
"(",
"mode",
")",
"==",
"MODE_VECTOR_BOOL",
")",
";",
"rtx",
"reg",
"=",
"force_reg",
"(",
"VNx16BImode",
",",
"CONST0_RTX",
"(",
"VNx16BImode",
")"... | [
"Return",
"an",
"all-false",
"predicate",
"register",
"of",
"mode",
"MODE",
"."
] | [
"aarch64"
] | aarch64 | aarch64_pfalse_reg | aarch64 | CPU | GCC | 27,379 | 39 | 1 | [] |
[
"<s>",
"void",
"Cpu0AsmPrinter",
"::",
"emitFrameDirective",
"(",
")",
"{",
"const",
"TargetRegisterInfo",
"&",
"RI",
"=",
"*",
"TM",
".",
"getRegisterInfo",
"(",
")",
";",
"unsigned",
"stackReg",
"=",
"RI",
".",
"getFrameRegister",
"(",
"*",
"MF",
")",
";... | [
"Frame",
"Directive",
"."
] | [
"Cpu0",
"Cpu0",
"\"\\t.frame\\t$\"",
"Cpu0",
"\",\"",
"\",$\"",
"Cpu0"
] | Cpu0AsmPrinter1 | emitFrameDirective | Cpu0 | CPU | LLVM | 27,380 | 105 | 1 | [] |
[
"<s>",
"static",
"int",
"mips_set_reg_reg_piece_cost",
"(",
"machine_mode",
"mode",
",",
"unsigned",
"int",
"units",
")",
"{",
"return",
"COSTS_N_INSNS",
"(",
"(",
"GET_MODE_SIZE",
"(",
"mode",
")",
"+",
"units",
"-",
"1",
")",
"/",
"units",
")",
";",
"}",... | [
"Return",
"the",
"cost",
"of",
"moving",
"between",
"two",
"registers",
"of",
"mode",
"MODE",
",",
"assuming",
"that",
"the",
"move",
"will",
"be",
"in",
"pieces",
"of",
"at",
"most",
"UNITS",
"bytes",
"."
] | [
"mips",
"1"
] | mips | mips_set_reg_reg_piece_cost | mips | CPU | GCC | 27,381 | 30 | 1 | [] |
[
"<s>",
"bool",
"ARMAsmParser",
"::",
"MatchAndEmitInstruction",
"(",
"SMLoc",
"IDLoc",
",",
"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",
"."
] | [
"ARM",
"ARM",
"4",
"\"Parsed as: \"",
"\"\\n\"",
"\"Changed to: \"",
"\"\\n\"",
"\"deprecated instruction in IT block\"",
"ARM::ITasm",
"ARM",
"ARM",
"0",
"\"invalid instruction\"",
"ARM",
"0",
"\"Implement any new match types added!\""
] | ARMAsmParser40 | MatchAndEmitInstruction | ARM | CPU | LLVM | 27,382 | 373 | 1 | [] |
[
"<s>",
"bool",
"X86CallLowering",
"::",
"lowerFormalArguments",
"(",
"MachineIRBuilder",
"&",
"MIRBuilder",
",",
"const",
"Function",
"&",
"F",
",",
"ArrayRef",
"<",
"ArrayRef",
"<",
"Register",
">>",
"VRegs",
")",
"const",
"{",
"if",
"(",
"F",
".",
"arg_emp... | [
"This",
"hook",
"must",
"be",
"implemented",
"to",
"lower",
"the",
"incoming",
"(",
"formal",
")",
"arguments",
",",
"described",
"by",
"VRegs",
",",
"for",
"GlobalISel",
"."
] | [
"X86",
"X86",
"8",
"0",
"1",
"0",
"X86"
] | X86CallLowering17 | lowerFormalArguments | X86 | CPU | LLVM | 27,383 | 318 | 1 | [] |
[
"<s>",
"unsigned",
"WebAssemblyFastISel",
"::",
"signExtend",
"(",
"unsigned",
"Reg",
",",
"const",
"Value",
"*",
"V",
",",
"MVT",
"::",
"SimpleValueType",
"From",
",",
"MVT",
"::",
"SimpleValueType",
"To",
")",
"{",
"if",
"(",
"To",
"==",
"MVT",
"::",
"... | [
"Return",
"a",
"new",
"range",
"in",
"the",
"specified",
"integer",
"type",
",",
"which",
"must",
"be",
"strictly",
"larger",
"than",
"the",
"current",
"type",
"."
] | [
"WebAssembly",
"WebAssembly",
"MVT::SimpleValueType",
"MVT::SimpleValueType",
"MVT::i64",
"MVT::i64",
"WebAssembly::I64RegClass",
"WebAssembly::I64_EXTEND_S_I32",
"MVT::i32",
"0"
] | WebAssemblyFastISel (2)2 | signExtend | WebAssembly | Virtual ISA | LLVM | 27,384 | 125 | 1 | [] |
[
"<s>",
"void",
"print",
"(",
"raw_ostream",
"&",
"OS",
")",
"const",
"override",
"{",
"auto",
"RegName",
"=",
"[",
"]",
"(",
"unsigned",
"Reg",
")",
"{",
"if",
"(",
"Reg",
")",
"return",
"RISCVInstPrinter",
"::",
"getRegisterName",
"(",
"Reg",
")",
";"... | [
"print",
"-",
"Print",
"a",
"debug",
"representation",
"of",
"the",
"operand",
"to",
"the",
"given",
"stream",
"."
] | [
"RI5CY",
"RISCV",
"\"noreg\"",
"\"<register \"",
"\">\"",
"\"'\"",
"\"'\"",
"\"<sysreg: \"",
"\"<vtype: \"",
"RISCV"
] | RISCVAsmParser | print | RI5CY | CPU | LLVM | 27,385 | 139 | 1 | [] |
[
"<s>",
"int",
"mips_load_store_insns",
"(",
"rtx",
"mem",
",",
"rtx_insn",
"*",
"insn",
")",
"{",
"machine_mode",
"mode",
";",
"bool",
"might_split_p",
";",
"rtx",
"set",
";",
"gcc_assert",
"(",
"MEM_P",
"(",
"mem",
")",
")",
";",
"mode",
"=",
"GET_MODE"... | [
"Return",
"the",
"number",
"of",
"instructions",
"needed",
"to",
"implement",
"INSN",
",",
"given",
"that",
"it",
"loads",
"from",
"or",
"stores",
"to",
"MEM",
".",
"Assume",
"that",
"BASE_INSN_LENGTH",
"is",
"the",
"length",
"of",
"one",
"instruction",
"."
... | [
"mips",
"0"
] | mips | mips_load_store_insns | mips | CPU | GCC | 27,386 | 97 | 1 | [] |
[
"<s>",
"virtual",
"unsigned",
"int",
"execute",
"(",
"function",
"*",
"fun",
")",
"{",
"return",
"rs6000_analyze_swaps",
"(",
"fun",
")",
";",
"}",
"</s>"
] | [
"Main",
"entry",
"point",
"for",
"this",
"pass",
"."
] | [
"rs6000"
] | rs6000-p8swap | execute | rs6000 | CPU | GCC | 27,387 | 17 | 1 | [] |
[
"<s>",
"static",
"rtx",
"frv_frame_offset_rtx",
"(",
"int",
"offset",
")",
"{",
"rtx",
"offset_rtx",
"=",
"GEN_INT",
"(",
"offset",
")",
";",
"if",
"(",
"IN_RANGE",
"(",
"offset",
",",
"-",
"2048",
",",
"2047",
")",
")",
"return",
"offset_rtx",
";",
"e... | [
"Return",
"an",
"rtx",
"with",
"the",
"value",
"OFFSET",
",",
"which",
"will",
"either",
"be",
"a",
"register",
"or",
"a",
"signed",
"12-bit",
"integer",
".",
"It",
"can",
"be",
"used",
"as",
"the",
"second",
"operand",
"in",
"an",
"``",
"add",
"''",
... | [
"frv",
"2048",
"2047",
"32768",
"32767"
] | frv | frv_frame_offset_rtx | frv | VLIW | GCC | 27,388 | 93 | 1 | [] |
[
"<s>",
"void",
"ix86_expand_push",
"(",
"enum",
"machine_mode",
"mode",
",",
"rtx",
"x",
")",
"{",
"rtx",
"tmp",
";",
"tmp",
"=",
"expand_simple_binop",
"(",
"Pmode",
",",
"PLUS",
",",
"stack_pointer_rtx",
",",
"GEN_INT",
"(",
"-",
"GET_MODE_SIZE",
"(",
"m... | [
"Expand",
"a",
"push",
"in",
"MODE",
".",
"This",
"is",
"some",
"mode",
"for",
"which",
"we",
"do",
"not",
"support",
"proper",
"push",
"instructions",
",",
"at",
"least",
"from",
"the",
"registers",
"that",
"we",
"expect",
"the",
"value",
"to",
"live",
... | [
"i386",
"1"
] | i3863 | ix86_expand_push | i386 | CPU | GCC | 27,389 | 70 | 1 | [] |
[
"<s>",
"BitVector",
"MMIXRegisterInfo",
"::",
"getReservedRegs",
"(",
"const",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"BitVector",
"Reserved",
"(",
"getNumRegs",
"(",
")",
")",
";",
"markSuperRegs",
"(",
"Reserved",
",",
"MMIX",
"::",
"r254",
")",
... | [
"getReservedRegs",
"-",
"Returns",
"a",
"bitset",
"indexed",
"by",
"physical",
"register",
"number",
"indicating",
"if",
"a",
"register",
"is",
"a",
"special",
"register",
"that",
"has",
"particular",
"uses",
"and",
"should",
"be",
"considered",
"unavailable",
"... | [
"MMIX",
"MMIX",
"MMIX::r254",
"MMIX::r253",
"MMIX::r252"
] | MMIXRegisterInfo | getReservedRegs | MMIX | CPU | LLVM | 27,390 | 51 | 1 | [] |
[
"<s>",
"void",
"LanaiFrameLowering",
"::",
"determineFrameLayout",
"(",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"MachineFrameInfo",
"*",
"MFI",
"=",
"MF",
".",
"getFrameInfo",
"(",
")",
";",
"const",
"LanaiRegisterInfo",
"*",
"LRI",
"=",
"STI",
".",
... | [
"Determine",
"the",
"frame",
"layout",
"but",
"do",
"not",
"update",
"the",
"machine",
"function",
"."
] | [
"Lanai",
"Lanai",
"Lanai"
] | LanaiFrameLowering | determineFrameLayout | Lanai | CPU | LLVM | 27,391 | 131 | 1 | [] |
[
"<s>",
"bool",
"isDesirableToTransformToIntegerOp",
"(",
"unsigned",
"Opc",
",",
"EVT",
"VT",
")",
"const",
"override",
"{",
"if",
"(",
"Opc",
"!=",
"ISD",
"::",
"LOAD",
"&&",
"Opc",
"!=",
"ISD",
"::",
"STORE",
")",
"return",
"false",
";",
"if",
"(",
"... | [
"Return",
"true",
"if",
"it",
"is",
"profitable",
"for",
"dag",
"combiner",
"to",
"transform",
"a",
"floating",
"point",
"op",
"of",
"specified",
"opcode",
"to",
"a",
"equivalent",
"op",
"of",
"an",
"integer",
"type",
"."
] | [
"PowerPC",
"ISD::LOAD",
"ISD::STORE",
"MVT::f32",
"MVT::f64"
] | PPCISelLowering106 | isDesirableToTransformToIntegerOp | PowerPC | CPU | LLVM | 27,392 | 50 | 1 | [] |
[
"<s>",
"void",
"Hexagon_CCState",
"::",
"AnalyzeCallResult",
"(",
"EVT",
"VT",
",",
"Hexagon_CCAssignFn",
"Fn",
")",
"{",
"if",
"(",
"Fn",
"(",
"0",
",",
"VT",
",",
"VT",
",",
"CCValAssign",
"::",
"Full",
",",
"ISD",
"::",
"ArgFlagsTy",
"(",
")",
",",
... | [
"AnalyzeCallResult",
"-",
"Same",
"as",
"above",
"except",
"it",
"'s",
"specialized",
"for",
"calls",
"which",
"produce",
"a",
"single",
"value",
"."
] | [
"Hexagon",
"Hexagon",
"Hexagon",
"0",
"ISD::ArgFlagsTy",
"1",
"1",
"\"Call result has unhandled type \"",
"\"\\n\""
] | HexagonCallingConvLower | AnalyzeCallResult | Hexagon | DSP | LLVM | 27,393 | 65 | 1 | [] |
[
"<s>",
"bool",
"small_data_operand",
"(",
"rtx",
"op",
",",
"machine_mode",
"mode",
"ATTRIBUTE_UNUSED",
")",
"{",
"if",
"(",
"!",
"TARGET_SDATA_USE",
")",
"return",
"0",
";",
"if",
"(",
"GET_CODE",
"(",
"op",
")",
"==",
"SYMBOL_REF",
")",
"return",
"SYMBOL... | [
"Return",
"1",
"for",
"an",
"operand",
"in",
"small",
"memory",
"on",
"V.4/eabi",
"."
] | [
"m32r",
"0",
"0",
"0",
"0",
"0",
"1",
"0",
"0",
"0"
] | m32r | small_data_operand | m32r | MPU | GCC | 27,394 | 107 | 1 | [] |
[
"<s>",
"bool",
"GCNPassConfig",
"::",
"addIRTranslator",
"(",
")",
"{",
"addPass",
"(",
"new",
"IRTranslator",
"(",
")",
")",
";",
"return",
"false",
";",
"}",
"</s>"
] | [
"This",
"method",
"should",
"install",
"an",
"IR",
"translator",
"pass",
",",
"which",
"converts",
"from",
"LLVM",
"code",
"to",
"machine",
"instructions",
"with",
"possibly",
"generic",
"opcodes",
"."
] | [
"AMDGPU"
] | AMDGPUTargetMachine102 | addIRTranslator | AMDGPU | GPU | LLVM | 27,395 | 19 | 1 | [] |
[
"<s>",
"static",
"rtx",
"nvptx_function_arg",
"(",
"cumulative_args_t",
",",
"machine_mode",
"mode",
",",
"const_tree",
",",
"bool",
"named",
")",
"{",
"if",
"(",
"mode",
"==",
"VOIDmode",
")",
"return",
"NULL_RTX",
";",
"if",
"(",
"named",
")",
"return",
... | [
"Implement",
"TARGET_FUNCTION_ARG",
"."
] | [
"nvptx"
] | nvptx2 | nvptx_function_arg | nvptx | GPU | GCC | 27,396 | 38 | 1 | [] |
[
"<s>",
"bool",
"CSKYFrameLowering",
"::",
"hasFP",
"(",
"const",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"const",
"TargetRegisterInfo",
"*",
"RegInfo",
"=",
"MF",
".",
"getSubtarget",
"(",
")",
".",
"getRegisterInfo",
"(",
")",
";",
"const",
"Machin... | [
"hasFP",
"-",
"Return",
"true",
"if",
"the",
"specified",
"function",
"should",
"have",
"a",
"dedicated",
"frame",
"pointer",
"register",
"."
] | [
"CSKY",
"CSKY"
] | CSKYFrameLowering | hasFP | CSKY | CPU | LLVM | 27,397 | 72 | 1 | [] |
[
"<s>",
"bool",
"loongarch_global_symbol_p",
"(",
"const_rtx",
"x",
")",
"{",
"if",
"(",
"LABEL_REF_P",
"(",
"x",
")",
")",
"return",
"false",
";",
"const_tree",
"decl",
"=",
"SYMBOL_REF_DECL",
"(",
"x",
")",
";",
"if",
"(",
"!",
"decl",
")",
"return",
... | [
"Return",
"true",
"if",
"SYMBOL_REF",
"X",
"is",
"associated",
"with",
"a",
"global",
"symbol",
"(",
"in",
"the",
"STB_GLOBAL",
"sense",
")",
"."
] | [
"loongarch"
] | loongarch | loongarch_global_symbol_p | loongarch | CPU | GCC | 27,398 | 61 | 1 | [] |
[
"<s>",
"bool",
"ix86_standard_x87sse_constant_load_p",
"(",
"const",
"rtx_insn",
"*",
"insn",
",",
"rtx",
"dst",
")",
"{",
"rtx",
"src",
"=",
"find_constant_src",
"(",
"insn",
")",
";",
"gcc_assert",
"(",
"REG_P",
"(",
"dst",
")",
")",
";",
"if",
"(",
"s... | [
"Returns",
"true",
"if",
"INSN",
"can",
"be",
"transformed",
"from",
"a",
"memory",
"load",
"to",
"a",
"supported",
"FP",
"constant",
"load",
"."
] | [
"i386",
"1",
"1"
] | i386 | ix86_standard_x87sse_constant_load_p | i386 | CPU | GCC | 27,399 | 80 | 1 | [] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.