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>",
"int",
"pa_reloc_needed",
"(",
"tree",
"exp",
")",
"{",
"int",
"reloc",
"=",
"0",
";",
"switch",
"(",
"TREE_CODE",
"(",
"exp",
")",
")",
"{",
"case",
"ADDR_EXPR",
":",
"return",
"1",
";",
"case",
"POINTER_PLUS_EXPR",
":",
"case",
"PLUS_EXPR",
":... | [
"Examine",
"EXP",
"and",
"return",
"nonzero",
"if",
"it",
"contains",
"an",
"ADDR_EXPR",
"(",
"meaning",
"it",
"will",
"need",
"a",
"link/runtime",
"reloc",
")",
"."
] | [
"pa",
"0",
"1",
"0",
"1",
"0"
] | pa | pa_reloc_needed | pa | CPU | GCC | 18,700 | 130 | 1 | [] |
[
"<s>",
"unsigned",
"getMaximumJumpTableSize",
"(",
")",
"const",
"{",
"return",
"MaxJumpTableSize",
";",
"}",
"</s>"
] | [
"Return",
"upper",
"limit",
"for",
"number",
"of",
"entries",
"in",
"a",
"jump",
"table",
"."
] | [
"AArch64"
] | AArch64Subtarget (2)1 | getMaximumJumpTableSize | AArch64 | CPU | LLVM | 18,701 | 10 | 1 | [] |
[
"<s>",
"void",
"TOYMCInstLower",
"::",
"Initialize",
"(",
"Mangler",
"*",
"M",
",",
"MCContext",
"*",
"C",
")",
"{",
"Mang",
"=",
"M",
";",
"Ctx",
"=",
"C",
";",
"}",
"</s>"
] | [
"This",
"method",
"must",
"be",
"called",
"before",
"any",
"actual",
"lowering",
"is",
"done",
"."
] | [
"TOY",
"TOY"
] | TOYMCInstLower1 | Initialize | TOY | CPU | LLVM | 18,702 | 23 | 1 | [] |
[
"<s>",
"static",
"bool",
"expand_vec_perm_even_odd_trunc",
"(",
"struct",
"expand_vec_perm_d",
"*",
"d",
")",
"{",
"rtx",
"t1",
",",
"t2",
",",
"t3",
",",
"t4",
";",
"unsigned",
"i",
",",
"odd",
",",
"nelt",
"=",
"d",
"->",
"nelt",
";",
"if",
"(",
"!... | [
"A",
"subroutine",
"of",
"expand_vec_perm_even_odd_1",
".",
"Implement",
"extract-even",
"and",
"extract-odd",
"permutations",
"of",
"two",
"V64QI",
"operands",
"with",
"two",
"``",
"shifts",
"''",
",",
"two",
"``",
"truncs",
"''",
"and",
"one",
"``",
"concat",
... | [
"i386",
"0",
"1",
"1",
"2",
"8",
"8"
] | i386-expand | expand_vec_perm_even_odd_trunc | i386 | CPU | GCC | 18,703 | 247 | 1 | [] |
[
"<s>",
"BitVector",
"RISCVRegisterInfo",
"::",
"getReservedRegs",
"(",
"const",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"BitVector",
"Reserved",
"(",
"getNumRegs",
"(",
")",
")",
";",
"const",
"TargetFrameLowering",
"*",
"TFI",
"=",
"MF",
".",
"getSub... | [
"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",
"... | [
"RISCV",
"RISCV",
"RISCV::zero",
"RISCV::zero_64",
"RISCV::fp",
"RISCV::s0",
"RISCV::fp_64",
"RISCV::s0_64",
"RISCV::sp",
"RISCV::sp_64",
"RISCV::tp",
"RISCV::tp_64",
"RISCV::gp",
"RISCV::gp_64"
] | RISCVRegisterInfo32 | getReservedRegs | RISCV | CPU | LLVM | 18,704 | 158 | 1 | [] |
[
"<s>",
"static",
"GlobalVariable",
"*",
"getGlobalVariable",
"(",
"Module",
"&",
"M",
",",
"Type",
"*",
"Ty",
",",
"WebAssemblyTargetMachine",
"&",
"TM",
",",
"const",
"char",
"*",
"Name",
")",
"{",
"auto",
"*",
"GV",
"=",
"dyn_cast",
"<",
"GlobalVariable"... | [
"getGlobalVariable",
"-",
"Look",
"up",
"the",
"specified",
"global",
"variable",
"in",
"the",
"module",
"symbol",
"table",
"."
] | [
"WebAssembly",
"WebAssembly",
"\"unable to create global: \""
] | WebAssemblyLowerEmscriptenEHSjLj14 | getGlobalVariable | WebAssembly | Virtual ISA | LLVM | 18,705 | 70 | 1 | [] |
[
"<s>",
"bool",
"GCNDownwardRPTracker",
"::",
"reset",
"(",
"const",
"MachineInstr",
"&",
"MI",
",",
"const",
"LiveRegSet",
"*",
"LiveRegsCopy",
")",
"{",
"MRI",
"=",
"&",
"MI",
".",
"getParent",
"(",
")",
"->",
"getParent",
"(",
")",
"->",
"getRegInfo",
... | [
"Reset",
"an",
"existing",
"scalar",
"value",
"for",
"Def",
"and",
"a",
"given",
"Instance",
"."
] | [
"AMDGPU"
] | GCNRegPressure | reset | AMDGPU | GPU | LLVM | 18,706 | 88 | 1 | [] |
[
"<s>",
"static",
"unsigned",
"int",
"compute_vrsave_mask",
"(",
"void",
")",
"{",
"unsigned",
"int",
"i",
",",
"mask",
"=",
"0",
";",
"for",
"(",
"i",
"=",
"FIRST_ALTIVEC_REGNO",
";",
"i",
"<=",
"LAST_ALTIVEC_REGNO",
";",
"++",
"i",
")",
"if",
"(",
"re... | [
"Return",
"a",
"32-bit",
"mask",
"of",
"the",
"AltiVec",
"registers",
"we",
"need",
"to",
"set",
"in",
"VRSAVE",
".",
"Bit",
"n",
"of",
"the",
"return",
"value",
"is",
"1",
"if",
"Vn",
"is",
"live",
".",
"The",
"MSB",
"in",
"the",
"32-bit",
"word",
... | [
"rs6000",
"0",
"0",
"1"
] | rs60003 | compute_vrsave_mask | rs6000 | CPU | GCC | 18,707 | 110 | 1 | [] |
[
"<s>",
"bool",
"R600ClauseMergePass",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"{",
"if",
"(",
"skipFunction",
"(",
"MF",
".",
"getFunction",
"(",
")",
")",
")",
"return",
"false",
";",
"const",
"R600Subtarget",
"&",
"ST",
"=",
... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"AMDGPU",
"R600",
"R600",
"R600",
"8",
"\"CF ALU instruction disabled\""
] | R600ClauseMergePass | runOnMachineFunction | AMDGPU | GPU | LLVM | 18,708 | 222 | 1 | [] |
[
"<s>",
"PreservedAnalyses",
"AMDGPUPromoteKernelArgumentsPass",
"::",
"run",
"(",
"Function",
"&",
"F",
",",
"FunctionAnalysisManager",
"&",
"AM",
")",
"{",
"MemorySSA",
"&",
"MSSA",
"=",
"AM",
".",
"getResult",
"<",
"MemorySSAAnalysis",
">",
"(",
"F",
")",
".... | [
"Run",
"the",
"analysis",
"pass",
"over",
"a",
"function",
"and",
"produce",
"a",
"dominator",
"tree",
"."
] | [
"AMDGPU",
"AMDGPU",
"AMDGPU"
] | AMDGPUPromoteKernelArguments | run | AMDGPU | GPU | LLVM | 18,709 | 95 | 1 | [] |
[
"<s>",
"MachineInstrBuilder",
"SIInstrInfo",
"::",
"getAddNoCarry",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"I",
",",
"const",
"DebugLoc",
"&",
"DL",
",",
"unsigned",
"DestReg",
")",
"const",
"{",
"if",
"(",
"ST",
".",... | [
"Return",
"a",
"partially",
"built",
"integer",
"add",
"instruction",
"without",
"carry",
"."
] | [
"AMDGPU",
"SI",
"AMDGPU::V_ADD_U32_e64",
"0",
"AMDGPU::V_ADD_I32_e64"
] | SIInstrInfo12 | getAddNoCarry | AMDGPU | GPU | LLVM | 18,710 | 127 | 1 | [] |
[
"<s>",
"void",
"VETargetLowering",
"::",
"ReplaceNodeResults",
"(",
"SDNode",
"*",
"N",
",",
"SmallVectorImpl",
"<",
"SDValue",
">",
"&",
"Results",
",",
"SelectionDAG",
"&",
"DAG",
")",
"const",
"{",
"switch",
"(",
"N",
"->",
"getOpcode",
"(",
")",
")",
... | [
"ReplaceNodeResults",
"-",
"Replace",
"the",
"results",
"of",
"node",
"with",
"an",
"illegal",
"result",
"type",
"with",
"new",
"values",
"built",
"out",
"of",
"custom",
"code",
"."
] | [
"VE",
"VE",
"ISD::ATOMIC_SWAP",
"\"Do not know how to custom type legalize this operation!\""
] | VEISelLowering11 | ReplaceNodeResults | VE | CPU | LLVM | 18,711 | 58 | 1 | [] |
[
"<s>",
"void",
"GCNPassConfig",
"::",
"addFastRegAlloc",
"(",
"FunctionPass",
"*",
"RegAllocPass",
")",
"{",
"insertPass",
"(",
"&",
"PHIEliminationID",
",",
"&",
"SILowerControlFlowID",
",",
"false",
")",
";",
"TargetPassConfig",
"::",
"addFastRegAlloc",
"(",
"Re... | [
"addFastRegAlloc",
"-",
"Add",
"the",
"minimum",
"set",
"of",
"target-independent",
"passes",
"that",
"are",
"required",
"for",
"fast",
"register",
"allocation",
"."
] | [
"AMDGPU",
"SI"
] | AMDGPUTargetMachine113 | addFastRegAlloc | AMDGPU | GPU | LLVM | 18,712 | 29 | 1 | [] |
[
"<s>",
"void",
"assignValueToAddress",
"(",
"Register",
"ValVReg",
",",
"Register",
"Addr",
",",
"uint64_t",
"Size",
",",
"MachinePointerInfo",
"&",
"MPO",
",",
"CCValAssign",
"&",
"VA",
")",
"override",
"{",
"auto",
"MMO",
"=",
"MIRBuilder",
".",
"getMF",
"... | [
"An",
"overload",
"which",
"takes",
"an",
"ArgInfo",
"if",
"additional",
"information",
"about",
"the",
"arg",
"is",
"needed",
"."
] | [
"X86",
"1"
] | X86CallLowering1 | assignValueToAddress | X86 | CPU | LLVM | 18,713 | 61 | 1 | [] |
[
"<s>",
"void",
"print",
"(",
"DiagnosticPrinter",
"&",
"DP",
")",
"const",
"override",
"{",
"std",
"::",
"string",
"Str",
";",
"raw_string_ostream",
"OS",
"(",
"Str",
")",
";",
"if",
"(",
"DLoc",
".",
"isUnknown",
"(",
")",
"==",
"false",
")",
"{",
"... | [
"print",
"-",
"Print",
"a",
"debug",
"representation",
"of",
"the",
"operand",
"to",
"the",
"given",
"stream",
"."
] | [
"BPF",
"\"in function \""
] | BPFISelLowering14 | print | BPF | Virtual ISA | LLVM | 18,714 | 138 | 1 | [] |
[
"<s>",
"bool",
"MipsSEInstrInfo",
"::",
"expandPostRAPseudo",
"(",
"MachineBasicBlock",
"::",
"iterator",
"MI",
")",
"const",
"{",
"MachineBasicBlock",
"&",
"MBB",
"=",
"*",
"MI",
"->",
"getParent",
"(",
")",
";",
"bool",
"isMicroMips",
"=",
"TM",
".",
"getS... | [
"This",
"function",
"is",
"called",
"for",
"all",
"pseudo",
"instructions",
"that",
"remain",
"after",
"register",
"allocation",
"."
] | [
"Mips",
"Mips",
"Mips",
"Mips",
"Mips",
"Mips::RetRA",
"Mips::PseudoMFHI",
"Mips",
"Mips::MFHI16_MM",
"Mips::MFHI",
"Mips::PseudoMFLO",
"Mips",
"Mips::MFLO16_MM",
"Mips::MFLO",
"Mips::PseudoMFHI64",
"Mips::MFHI64",
"Mips::PseudoMFLO64",
"Mips::MFLO64",
"Mips::PseudoMTLOHI",
"Mi... | MipsSEInstrInfo18 | expandPostRAPseudo | Mips | CPU | LLVM | 18,715 | 453 | 1 | [] |
[
"<s>",
"static",
"rtx",
"nvptx_pc_set",
"(",
"const",
"rtx_insn",
"*",
"insn",
",",
"bool",
"strict",
"=",
"true",
")",
"{",
"rtx",
"pat",
";",
"if",
"(",
"(",
"strict",
"&&",
"!",
"JUMP_P",
"(",
"insn",
")",
")",
"||",
"(",
"!",
"strict",
"&&",
... | [
"Variant",
"of",
"pc_set",
"that",
"only",
"requires",
"JUMP_P",
"(",
"INSN",
")",
"if",
"STRICT",
".",
"This",
"variant",
"is",
"needed",
"in",
"the",
"nvptx",
"target",
"because",
"the",
"branches",
"generated",
"for",
"parititioning",
"are",
"NONJUMP_INSN_P... | [
"nvptx",
"0",
"0"
] | nvptx | nvptx_pc_set | nvptx | GPU | GCC | 18,716 | 97 | 1 | [] |
[
"<s>",
"void",
"getAnalysisUsage",
"(",
"AnalysisUsage",
"&",
"AU",
")",
"const",
"{",
"AsmPrinter",
"::",
"getAnalysisUsage",
"(",
"AU",
")",
";",
"AU",
".",
"setPreservesAll",
"(",
")",
";",
"}",
"</s>"
] | [
"getAnalysisUsage",
"-",
"Subclasses",
"that",
"override",
"getAnalysisUsage",
"must",
"call",
"this",
"."
] | [
"SystemZ"
] | SystemZAsmPrinter21 | getAnalysisUsage | SystemZ | CPU | LLVM | 18,717 | 23 | 1 | [] |
[
"<s>",
"bool",
"MSP430AsmParser",
"::",
"ParseInstruction",
"(",
"ParseInstructionInfo",
"&",
"Info",
",",
"StringRef",
"Name",
",",
"SMLoc",
"NameLoc",
",",
"OperandVector",
"&",
"Operands",
")",
"{",
"if",
"(",
"Name",
".",
"endswith_lower",
"(",
"\".w\"",
"... | [
"ParseInstruction",
"-",
"Parse",
"one",
"assembly",
"instruction",
"."
] | [
"MSP430",
"MSP430",
"\".w\"",
"2",
"MSP430Operand::CreateToken",
"\"unexpected token\""
] | MSP430AsmParser | ParseInstruction | MSP430 | MPU | LLVM | 18,718 | 182 | 1 | [] |
[
"<s>",
"SMLoc",
"getStartLoc",
"(",
")",
"const",
"override",
"{",
"return",
"StartLoc",
";",
"}",
"</s>"
] | [
"getStartLoc",
"-",
"Get",
"the",
"location",
"of",
"the",
"first",
"token",
"of",
"this",
"operand",
"."
] | [
"RISCV"
] | RISCVAsmParser (2) | getStartLoc | RISCV | CPU | LLVM | 18,719 | 11 | 1 | [] |
[
"<s>",
"bool",
"PPCInstrInfo",
"::",
"isProfitableToIfCvt",
"(",
"MachineBasicBlock",
"&",
"TMBB",
",",
"unsigned",
"NumT",
",",
"unsigned",
"ExtraT",
",",
"MachineBasicBlock",
"&",
"FMBB",
",",
"unsigned",
"NumF",
",",
"unsigned",
"ExtraF",
",",
"const",
"Branc... | [
"Second",
"variant",
"of",
"isProfitableToIfCvt",
"."
] | [
"PowerPC",
"PPC"
] | PPCInstrInfo (2) | isProfitableToIfCvt | PowerPC | CPU | LLVM | 18,720 | 47 | 1 | [] |
[
"<s>",
"void",
"AVRPassConfig",
"::",
"addPreRegAlloc",
"(",
")",
"{",
"addPass",
"(",
"createAVRDynAllocaSRPass",
"(",
")",
")",
";",
"}",
"</s>"
] | [
"This",
"method",
"may",
"be",
"implemented",
"by",
"targets",
"that",
"want",
"to",
"run",
"passes",
"immediately",
"before",
"register",
"allocation",
"."
] | [
"AVR",
"AVR",
"AVR"
] | AVRTargetMachine | addPreRegAlloc | AVR | MPU | LLVM | 18,721 | 15 | 1 | [] |
[
"<s>",
"static",
"int",
"stackSlotSize",
"(",
")",
"{",
"return",
"4",
";",
"}",
"</s>"
] | [
"Stack",
"slot",
"size",
"(",
"4",
"bytes",
")"
] | [
"Xtensa",
"4"
] | XtensaFrameLowering | stackSlotSize | Xtensa | MPU | LLVM | 18,722 | 10 | 1 | [] |
[
"<s>",
"bool",
"AArch64FastISel",
"::",
"isTypeLegal",
"(",
"Type",
"*",
"Ty",
",",
"MVT",
"&",
"VT",
")",
"{",
"EVT",
"evt",
"=",
"TLI",
".",
"getValueType",
"(",
"DL",
",",
"Ty",
",",
"true",
")",
";",
"if",
"(",
"evt",
"==",
"MVT",
"::",
"Othe... | [
"Return",
"true",
"if",
"this",
"type",
"is",
"legal",
"."
] | [
"AArch64",
"AArch64",
"MVT::Other",
"MVT::f128"
] | AArch64FastISel (2) | isTypeLegal | AArch64 | CPU | LLVM | 18,723 | 74 | 1 | [] |
[
"<s>",
"bool",
"evaluateBranch",
"(",
"const",
"MCInst",
"&",
"Inst",
",",
"uint64_t",
"Addr",
",",
"uint64_t",
"Size",
",",
"uint64_t",
"&",
"Target",
")",
"const",
"{",
"if",
"(",
"Info",
"->",
"get",
"(",
"Inst",
".",
"getOpcode",
"(",
")",
")",
"... | [
"Given",
"a",
"branch",
"instruction",
"try",
"to",
"get",
"the",
"address",
"the",
"branch",
"targets",
"."
] | [
"ARM",
"0",
"0",
"8"
] | ARMMCTargetDesc3 | evaluateBranch | ARM | CPU | LLVM | 18,724 | 73 | 1 | [] |
[
"<s>",
"virtual",
"const",
"TargetRegisterInfo",
"*",
"getRegisterInfo",
"(",
")",
"const",
"{",
"return",
"&",
"InstrInfo",
".",
"getRegisterInfo",
"(",
")",
";",
"}",
"</s>"
] | [
"getRegisterInfo",
"-",
"TargetInstrInfo",
"is",
"a",
"superset",
"of",
"MRegister",
"info",
"."
] | [
"Kudeyar"
] | KudeyarTargetMachine | getRegisterInfo | Kudeyar | CPU | LLVM | 18,725 | 18 | 1 | [] |
[
"<s>",
"static",
"bool",
"mips_cfun_call_saved_reg_p",
"(",
"unsigned",
"int",
"regno",
")",
"{",
"if",
"(",
"global_regs",
"[",
"regno",
"]",
")",
"return",
"false",
";",
"if",
"(",
"cfun",
"->",
"machine",
"->",
"interrupt_handler_p",
"&&",
"mips_interrupt_e... | [
"Return",
"true",
"if",
"the",
"current",
"function",
"should",
"treat",
"register",
"REGNO",
"as",
"call-saved",
"."
] | [
"mips"
] | mips4 | mips_cfun_call_saved_reg_p | mips | CPU | GCC | 18,726 | 51 | 1 | [] |
[
"<s>",
"bool",
"enableSubRegLiveness",
"(",
")",
"const",
"override",
"{",
"return",
"false",
";",
"}",
"</s>"
] | [
"Enable",
"tracking",
"of",
"subregister",
"liveness",
"in",
"register",
"allocator",
"."
] | [
"R600"
] | AMDGPUSubtarget32 | enableSubRegLiveness | R600 | GPU | LLVM | 18,727 | 11 | 1 | [] |
[
"<s>",
"MachineInstr",
"*",
"X86InstrInfo",
"::",
"optimizeLoadInstr",
"(",
"MachineInstr",
"*",
"MI",
",",
"const",
"MachineRegisterInfo",
"*",
"MRI",
",",
"unsigned",
"&",
"FoldAsLoadDefReg",
",",
"MachineInstr",
"*",
"&",
"DefMI",
")",
"const",
"{",
"if",
"... | [
"optimizeLoadInstr",
"-",
"Try",
"to",
"remove",
"the",
"load",
"by",
"folding",
"it",
"to",
"a",
"register",
"operand",
"at",
"the",
"use",
"."
] | [
"X86",
"X86",
"0",
"0",
"0",
"0",
"0"
] | X86InstrInfo (2)5 | optimizeLoadInstr | X86 | CPU | LLVM | 18,728 | 226 | 1 | [] |
[
"<s>",
"static",
"int",
"h8300_and_costs",
"(",
"rtx",
"x",
")",
"{",
"rtx",
"operands",
"[",
"4",
"]",
";",
"if",
"(",
"GET_MODE",
"(",
"x",
")",
"==",
"QImode",
")",
"return",
"1",
";",
"if",
"(",
"GET_MODE",
"(",
"x",
")",
"!=",
"HImode",
"&&"... | [
"Compute",
"the",
"cost",
"of",
"an",
"and",
"insn",
"."
] | [
"h8300",
"4",
"1",
"100",
"0",
"1",
"0",
"2",
"1",
"3",
"2"
] | h8300 | h8300_and_costs | h8300 | MPU | GCC | 18,729 | 101 | 1 | [] |
[
"<s>",
"StringRef",
"getPassName",
"(",
")",
"const",
"override",
"{",
"return",
"\"J2 Assembly Printer\"",
";",
"}",
"</s>"
] | [
"getPassName",
"-",
"Return",
"a",
"nice",
"clean",
"name",
"for",
"a",
"pass",
"."
] | [
"J2",
"\"J2 Assembly Printer\""
] | J2AsmPrinter | getPassName | J2 | MPU | LLVM | 18,730 | 11 | 1 | [] |
[
"<s>",
"bool",
"X86AsmBackend",
"::",
"shouldForceRelocation",
"(",
"const",
"MCAssembler",
"&",
",",
"const",
"MCFixup",
"&",
"Fixup",
",",
"const",
"MCValue",
"&",
")",
"{",
"return",
"Fixup",
".",
"getKind",
"(",
")",
">=",
"FirstLiteralRelocationKind",
";"... | [
"Hook",
"to",
"check",
"if",
"a",
"relocation",
"is",
"needed",
"for",
"some",
"target",
"specific",
"reason",
"."
] | [
"X86",
"X86"
] | X86AsmBackend (2)1 | shouldForceRelocation | X86 | CPU | LLVM | 18,731 | 29 | 1 | [] |
[
"<s>",
"TargetLowering",
"::",
"ConstraintWeight",
"FISCTargetLowering",
"::",
"getSingleConstraintMatchWeight",
"(",
"AsmOperandInfo",
"&",
"info",
",",
"const",
"char",
"*",
"constraint",
")",
"const",
"{",
"ConstraintWeight",
"weight",
"=",
"CW_Invalid",
";",
"Valu... | [
"Examine",
"constraint",
"string",
"and",
"operand",
"type",
"and",
"determine",
"a",
"weight",
"value",
"."
] | [
"FISC",
"FISC"
] | FISCISelLowering | getSingleConstraintMatchWeight | FISC | CPU | LLVM | 18,732 | 138 | 1 | [] |
[
"<s>",
"SDValue",
"PIC16TargetLowering",
"::",
"PerformDAGCombine",
"(",
"SDNode",
"*",
"N",
",",
"DAGCombinerInfo",
"&",
"DCI",
")",
"const",
"{",
"switch",
"(",
"N",
"->",
"getOpcode",
"(",
")",
")",
"{",
"case",
"ISD",
"::",
"STORE",
":",
"return",
"P... | [
"This",
"method",
"will",
"be",
"invoked",
"for",
"all",
"target",
"nodes",
"and",
"for",
"any",
"target-independent",
"nodes",
"that",
"the",
"target",
"has",
"registered",
"with",
"invoke",
"it",
"for",
"."
] | [
"PIC16",
"PIC16",
"ISD::STORE",
"PIC16ISD::PIC16Load",
"PIC16"
] | PIC16ISelLowering | PerformDAGCombine | PIC16 | MPU | LLVM | 18,733 | 57 | 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... | HexagonISelLowering28 | getTargetNodeName | Hexagon | DSP | LLVM | 18,734 | 346 | 1 | [] |
[
"<s>",
"static",
"tree",
"aarch64_builtin_reciprocal",
"(",
"tree",
"fndecl",
")",
"{",
"if",
"(",
"!",
"use_rsqrt_p",
"(",
")",
")",
"return",
"NULL_TREE",
";",
"return",
"aarch64_builtin_rsqrt",
"(",
"DECL_FUNCTION_CODE",
"(",
"fndecl",
")",
")",
";",
"}",
... | [
"Function",
"to",
"decide",
"when",
"to",
"use",
"the",
"approximate",
"reciprocal",
"square",
"root",
"builtin",
"."
] | [
"aarch64"
] | aarch643 | aarch64_builtin_reciprocal | aarch64 | CPU | GCC | 18,735 | 28 | 1 | [] |
[
"<s>",
"static",
"int",
"n_pregs_to_save",
"(",
"bool",
"is_inthandler",
",",
"bool",
"consecutive",
")",
"{",
"int",
"count",
"=",
"0",
";",
"unsigned",
"i",
";",
"for",
"(",
"i",
"=",
"REG_P5",
"+",
"1",
";",
"i",
"--",
"!=",
"REG_P0",
";",
")",
... | [
"Like",
"n_dregs_to_save",
",",
"but",
"compute",
"number",
"of",
"PREGS",
"to",
"save",
"."
] | [
"bfin",
"0",
"1"
] | bfin | n_pregs_to_save | bfin | DSP | GCC | 18,736 | 57 | 1 | [] |
[
"<s>",
"static",
"int",
"cpat_info",
"(",
"unsigned",
"char",
"*",
"arr",
",",
"int",
"size",
",",
"int",
"*",
"prun",
",",
"int",
"*",
"pstart",
")",
"{",
"int",
"cpat",
",",
"run",
",",
"i",
",",
"start",
";",
"cpat",
"=",
"1",
";",
"run",
"=... | [
"Return",
"true",
"if",
"the",
"first",
"SIZE",
"bytes",
"of",
"arr",
"is",
"a",
"constant",
"that",
"can",
"be",
"generated",
"with",
"cbd",
",",
"chd",
",",
"cwd",
"or",
"cdd",
".",
"When",
"non-NULL",
",",
"PRUN",
"and",
"PSTART",
"represent",
"the"... | [
"spu",
"1",
"0",
"1",
"0",
"16",
"3",
"1",
"2",
"1",
"3",
"2",
"0",
"16",
"4",
"8",
"0",
"0",
"1",
"0",
"0",
"0",
"16",
"0",
"1",
"1",
"16",
"1",
"0"
] | spu | cpat_info | spu | MPU | GCC | 18,737 | 254 | 1 | [] |
[
"<s>",
"int",
"cris_fatal",
"(",
"char",
"*",
"arg",
")",
"{",
"internal_error",
"(",
"arg",
")",
";",
"return",
"0",
";",
"}",
"</s>"
] | [
"Usable",
"as",
"a",
"guard",
"in",
"expressions",
"."
] | [
"cris",
"0"
] | cris | cris_fatal | cris | MPU | GCC | 18,738 | 17 | 1 | [] |
[
"<s>",
"std",
"::",
"pair",
"<",
"unsigned",
",",
"const",
"TargetRegisterClass",
"*",
">",
"P2TargetLowering",
"::",
"getRegForInlineAsmConstraint",
"(",
"const",
"TargetRegisterInfo",
"*",
"TRI",
",",
"StringRef",
"Constraint",
",",
"MVT",
"VT",
")",
"const",
... | [
"Given",
"a",
"physical",
"register",
"constraint",
"(",
"e.g",
"."
] | [
"P2",
"P2",
"1",
"0",
"MVT::i32",
"MVT::i16",
"MVT::i8",
"0U",
"P2::P2GPRRegClass",
"\"Unexpected type for constraint r\"",
"\"Unexpected type.\""
] | P2ISelLowering | getRegForInlineAsmConstraint | P2 | MPU | LLVM | 18,739 | 146 | 1 | [] |
[
"<s>",
"static",
"void",
"recombine_stvx_pattern",
"(",
"rtx_insn",
"*",
"insn",
",",
"del_info",
"*",
"to_delete",
")",
"{",
"rtx",
"body",
"=",
"PATTERN",
"(",
"insn",
")",
";",
"gcc_assert",
"(",
"GET_CODE",
"(",
"body",
")",
"==",
"SET",
"&&",
"MEM_P... | [
"If",
"INSN",
"is",
"the",
"store",
"for",
"an",
"stvx",
"pattern",
",",
"put",
"it",
"in",
"canonical",
"form",
"."
] | [
"rs6000",
"0",
"0",
"0",
"0",
"0",
"0",
"1",
"0",
"1",
"\"stvx opportunity found at %d\\n\""
] | rs6000-p8swap1 | recombine_stvx_pattern | rs6000 | CPU | GCC | 18,740 | 417 | 1 | [] |
[
"<s>",
"static",
"std",
"::",
"unique_ptr",
"<",
"SparcOperand",
">",
"CreateReg",
"(",
"unsigned",
"RegNum",
",",
"unsigned",
"Kind",
",",
"SMLoc",
"S",
",",
"SMLoc",
"E",
")",
"{",
"auto",
"Op",
"=",
"make_unique",
"<",
"SparcOperand",
">",
"(",
"k_Reg... | [
"CreateReg",
"-",
"Allocate",
"a",
"single",
"virtual",
"register",
"for",
"the",
"given",
"type",
"."
] | [
"Sparc",
"Sparc",
"Sparc",
"SparcOperand::RegisterKind"
] | SparcAsmParser | CreateReg | Sparc | CPU | LLVM | 18,741 | 70 | 1 | [] |
[
"<s>",
"bool",
"M68kPassConfig",
"::",
"addRegBankSelect",
"(",
")",
"{",
"addPass",
"(",
"new",
"RegBankSelect",
"(",
")",
")",
";",
"return",
"false",
";",
"}",
"</s>"
] | [
"This",
"method",
"should",
"install",
"a",
"register",
"bank",
"selector",
"pass",
",",
"which",
"assigns",
"register",
"banks",
"to",
"virtual",
"registers",
"without",
"a",
"register",
"class",
"or",
"register",
"banks",
"."
] | [
"M68k",
"M68k"
] | M68kTargetMachine | addRegBankSelect | M68k | MPU | LLVM | 18,742 | 19 | 1 | [] |
[
"<s>",
"static",
"tree",
"rl78_handle_vector_attribute",
"(",
"tree",
"*",
"node",
",",
"tree",
"name",
",",
"tree",
"args",
",",
"int",
"flags",
"ATTRIBUTE_UNUSED",
",",
"bool",
"*",
"no_add_attrs",
")",
"{",
"gcc_assert",
"(",
"DECL_P",
"(",
"*",
"node",
... | [
"Check",
"``",
"vector",
"''",
"attribute",
"."
] | [
"rl78",
"\"%qE attribute only applies to functions\""
] | rl78 | rl78_handle_vector_attribute | rl78 | MPU | GCC | 18,743 | 69 | 1 | [] |
[
"<s>",
"static",
"bool",
"sh_return_in_memory",
"(",
"tree",
"type",
",",
"tree",
"fndecl",
")",
"{",
"if",
"(",
"TARGET_SH5",
")",
"{",
"if",
"(",
"TYPE_MODE",
"(",
"type",
")",
"==",
"BLKmode",
")",
"return",
"(",
"(",
"unsigned",
"HOST_WIDE_INT",
")",... | [
"Worker",
"function",
"for",
"TARGET_RETURN_IN_MEMORY",
"."
] | [
"sh",
"8",
"8"
] | sh3 | sh_return_in_memory | sh | CPU | GCC | 18,744 | 84 | 1 | [] |
[
"<s>",
"unsigned",
"RISCVInstrInfo",
"::",
"getInstSizeInBytes",
"(",
"const",
"MachineInstr",
"&",
"MI",
")",
"const",
"{",
"unsigned",
"Opcode",
"=",
"MI",
".",
"getOpcode",
"(",
")",
";",
"switch",
"(",
"Opcode",
")",
"{",
"default",
":",
"{",
"if",
"... | [
"Returns",
"the",
"size",
"in",
"bytes",
"of",
"the",
"specified",
"MachineInstr",
",",
"or",
"~0U",
"when",
"this",
"function",
"is",
"not",
"implemented",
"by",
"a",
"target",
"."
] | [
"RISCV",
"RISCV",
"RISCV",
"RISCV",
"RISCV",
"2",
"0",
"RISCV::PseudoCALLReg",
"RISCV::PseudoCALL",
"RISCV::PseudoJump",
"RISCV::PseudoTAIL",
"RISCV::PseudoLLA",
"RISCV::PseudoLA",
"RISCV::PseudoLA_TLS_IE",
"RISCV::PseudoLA_TLS_GD",
"8",
"RISCV::PseudoAtomicLoadNand32",
"RISCV::Pse... | RISCVInstrInfo (2) | getInstSizeInBytes | RISCV | CPU | LLVM | 18,745 | 500 | 1 | [] |
[
"<s>",
"void",
"AArch64Operand",
"::",
"dump",
"(",
")",
"const",
"{",
"print",
"(",
"errs",
"(",
")",
")",
";",
"}",
"</s>"
] | [
"Dump",
"the",
"plan",
"to",
"stderr",
"(",
"for",
"debugging",
")",
"."
] | [
"AArch64",
"AArch64"
] | AArch64AsmParser13 | dump | AArch64 | CPU | LLVM | 18,746 | 16 | 1 | [] |
[
"<s>",
"unsigned",
"AlphaRegisterInfo",
"::",
"getFrameRegister",
"(",
"const",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"return",
"hasFP",
"(",
"MF",
")",
"?",
"Alpha",
"::",
"R15",
":",
"Alpha",
"::",
"R30",
";",
"}",
"</s>"
] | [
"Debug",
"information",
"queries",
"."
] | [
"Alpha",
"Alpha",
"Alpha::R15",
"Alpha::R30"
] | AlphaRegisterInfo | getFrameRegister | Alpha | MPU | LLVM | 18,747 | 27 | 1 | [] |
[
"<s>",
"unsigned",
"CSKYInstrInfo",
"::",
"isLoadFromStackSlot",
"(",
"const",
"MachineInstr",
"&",
"MI",
",",
"int",
"&",
"FrameIndex",
")",
"const",
"{",
"switch",
"(",
"MI",
".",
"getOpcode",
"(",
")",
")",
"{",
"default",
":",
"return",
"0",
";",
"ca... | [
"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... | [
"CSKY",
"CSKY",
"0",
"CSKY::LD16B",
"CSKY::LD16H",
"CSKY::LD16W",
"CSKY::LD32B",
"CSKY::LD32BS",
"CSKY::LD32H",
"CSKY::LD32HS",
"CSKY::LD32W",
"CSKY::FLD_S",
"CSKY::FLD_D",
"CSKY::f2FLD_S",
"CSKY::f2FLD_D",
"CSKY::RESTORE_CARRY",
"1",
"2",
"2",
"0",
"1",
"0",
"0"
] | CSKYInstrInfo1 | isLoadFromStackSlot | CSKY | CPU | LLVM | 18,748 | 166 | 1 | [] |
[
"<s>",
"void",
"ScheduleDAGPostRA",
"::",
"computeDFSResult",
"(",
")",
"{",
"if",
"(",
"!",
"DFSResult",
")",
"DFSResult",
"=",
"new",
"SchedDFSResult",
"(",
"true",
",",
"MinSubtreeSize",
")",
";",
"DFSResult",
"->",
"clear",
"(",
")",
";",
"ScheduledTrees... | [
"Compute",
"a",
"DFSResult",
"after",
"DAG",
"building",
"is",
"complete",
",",
"and",
"before",
"any",
"queue",
"comparisons",
"."
] | [
"Patmos"
] | PatmosPostRAScheduler | computeDFSResult | Patmos | VLIW | LLVM | 18,749 | 64 | 1 | [] |
[
"<s>",
"unsigned",
"getCSRFirstUseCost",
"(",
")",
"const",
"override",
"{",
"return",
"5",
";",
"}",
"</s>"
] | [
"Allow",
"the",
"target",
"to",
"override",
"the",
"cost",
"of",
"using",
"a",
"callee-saved",
"register",
"for",
"the",
"first",
"time",
"."
] | [
"AArch64",
"5"
] | AArch64RegisterInfo (2) | getCSRFirstUseCost | AArch64 | CPU | LLVM | 18,750 | 11 | 1 | [] |
[
"<s>",
"EVT",
"MipsTargetLowering",
"::",
"getOptimalMemOpType",
"(",
"const",
"MemOp",
"&",
"Op",
",",
"const",
"AttributeList",
"&",
"FuncAttributes",
")",
"const",
"{",
"bool",
"IsNonZeroMemset",
"=",
"Op",
".",
"isMemset",
"(",
")",
"&&",
"!",
"Op",
".",... | [
"It",
"returns",
"EVT",
":",
":Other",
"if",
"the",
"type",
"should",
"be",
"determined",
"using",
"generic",
"target-independent",
"logic",
"."
] | [
"Mips",
"Mips",
"1",
"\" Size=\"",
"\" DstAlign=\"",
"0",
"\" SrcAlign=\"",
"0",
"\" CapAlign=\"",
"\"\\n\"",
"MVT::isVoid",
"8",
"MVT::i64",
"4",
"MVT::i32",
"2",
"MVT::i16",
"MVT::i8",
"MVT::i64",
"MVT::i32"
] | MipsISelLowering66 | getOptimalMemOpType | Mips | CPU | LLVM | 18,751 | 258 | 1 | [] |
[
"<s>",
"MCSymbol",
"*",
"AArch64AsmPrinter",
"::",
"GetCPISymbol",
"(",
"unsigned",
"CPID",
")",
"const",
"{",
"if",
"(",
"!",
"getDataLayout",
"(",
")",
".",
"getLinkerPrivateGlobalPrefix",
"(",
")",
".",
"empty",
"(",
")",
")",
"return",
"OutContext",
".",... | [
"Return",
"the",
"symbol",
"for",
"the",
"specified",
"constant",
"pool",
"entry",
"."
] | [
"AArch64",
"AArch64",
"\"CPI\"",
"\"_\"",
"\"CPI\"",
"\"_\""
] | AArch64AsmPrinter12 | GetCPISymbol | AArch64 | CPU | LLVM | 18,752 | 93 | 1 | [] |
[
"<s>",
"bool",
"TMS320C64XInstrInfo",
"::",
"PredicateInstruction",
"(",
"MachineInstr",
"*",
"MI",
",",
"const",
"SmallVectorImpl",
"<",
"MachineOperand",
">",
"&",
"pred",
")",
"const",
"{",
"assert",
"(",
"MI",
"&&",
"\"Invalid machine instruction detected, can't p... | [
"Convert",
"the",
"instruction",
"into",
"a",
"predicated",
"instruction",
"."
] | [
"TMS320C64X",
"TMS320C64X",
"\"Invalid machine instruction detected, can't predicate!\"",
"1",
"1",
"0",
"1",
"0",
"1"
] | TMS320C64XInstrInfo | PredicateInstruction | TMS320C64X | VLIW | LLVM | 18,753 | 154 | 1 | [] |
[
"<s>",
"bool",
"HexagonInstrInfo",
"::",
"areMemAccessesTriviallyDisjoint",
"(",
"MachineInstr",
"*",
"MIa",
",",
"MachineInstr",
"*",
"MIb",
",",
"AliasAnalysis",
"*",
"AA",
")",
"const",
"{",
"int",
"OffsetA",
"=",
"0",
",",
"OffsetB",
"=",
"0",
";",
"unsi... | [
"Sometimes",
",",
"it",
"is",
"possible",
"for",
"the",
"target",
"to",
"tell",
",",
"even",
"without",
"aliasing",
"information",
",",
"that",
"two",
"MIs",
"access",
"different",
"memory",
"addresses",
"."
] | [
"Hexagon",
"Hexagon",
"0",
"0",
"0",
"0"
] | HexagonInstrInfo80 | areMemAccessesTriviallyDisjoint | Hexagon | DSP | LLVM | 18,754 | 221 | 1 | [] |
[
"<s>",
"unsigned",
"AMDGPUSubtarget",
"::",
"getOccupancyWithLocalMemSize",
"(",
"uint32_t",
"Bytes",
")",
"const",
"{",
"if",
"(",
"Bytes",
"<=",
"1638",
")",
"return",
"10",
";",
"if",
"(",
"Bytes",
"<=",
"1820",
")",
"return",
"9",
";",
"if",
"(",
"By... | [
"Inverse",
"of",
"getMaxLocalMemWithWaveCount",
"."
] | [
"AMDGPU",
"AMDGPU",
"1638",
"10",
"1820",
"9",
"2048",
"8",
"2340",
"7",
"2730",
"6",
"3276",
"5",
"4096",
"4",
"5461",
"3",
"8192",
"2",
"1"
] | AMDGPUSubtarget109 | getOccupancyWithLocalMemSize | AMDGPU | GPU | LLVM | 18,755 | 95 | 1 | [] |
[
"<s>",
"unsigned",
"ARMBaseRegisterInfo",
"::",
"getRegPressureLimit",
"(",
"const",
"TargetRegisterClass",
"*",
"RC",
",",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"const",
"ARMSubtarget",
"&",
"STI",
"=",
"MF",
".",
"getSubtarget",
"<",
"ARMSubtarget",
... | [
"Return",
"the",
"register",
"pressure",
"``",
"high",
"water",
"mark",
"''",
"for",
"the",
"specific",
"register",
"class",
"."
] | [
"ARM",
"ARM",
"ARM",
"ARM",
"ARM",
"0",
"ARM::tGPRRegClassID",
"4",
"5",
"ARM::GPRRegClassID",
"1",
"0",
"10",
"1",
"0",
"ARM::SPRRegClassID",
"ARM::DPRRegClassID",
"32",
"10"
] | ARMBaseRegisterInfo13 | getRegPressureLimit | ARM | CPU | LLVM | 18,756 | 126 | 1 | [] |
[
"<s>",
"static",
"void",
"mmix_conditional_register_usage",
"(",
"void",
")",
"{",
"int",
"i",
";",
"if",
"(",
"TARGET_ABI_GNU",
")",
"{",
"static",
"const",
"int",
"gnu_abi_reg_alloc_order",
"[",
"]",
"=",
"MMIX_GNU_ABI_REG_ALLOC_ORDER",
";",
"for",
"(",
"i",
... | [
"CONDITIONAL_REGISTER_USAGE",
"."
] | [
"mmix",
"0",
"15",
"30",
"0",
"0",
"0",
"0"
] | mmix | mmix_conditional_register_usage | mmix | CPU | GCC | 18,757 | 127 | 1 | [] |
[
"<s>",
"bool",
"X86TargetLowering",
"::",
"isCheapToSpeculateCttz",
"(",
")",
"const",
"{",
"return",
"Subtarget",
"->",
"hasBMI",
"(",
")",
";",
"}",
"</s>"
] | [
"Return",
"true",
"if",
"it",
"is",
"cheap",
"to",
"speculate",
"a",
"call",
"to",
"intrinsic",
"cttz",
"."
] | [
"X86",
"X86"
] | X86ISelLowering (2)3 | isCheapToSpeculateCttz | X86 | CPU | LLVM | 18,758 | 16 | 1 | [] |
[
"<s>",
"static",
"rtx",
"m68k_function_arg",
"(",
"cumulative_args_t",
"cum",
"ATTRIBUTE_UNUSED",
",",
"machine_mode",
"mode",
"ATTRIBUTE_UNUSED",
",",
"const_tree",
"type",
"ATTRIBUTE_UNUSED",
",",
"bool",
"named",
"ATTRIBUTE_UNUSED",
")",
"{",
"return",
"NULL_RTX",
... | [
"On",
"the",
"m68k",
"all",
"args",
"are",
"always",
"pushed",
"."
] | [
"m68k"
] | m68k4 | m68k_function_arg | m68k | MPU | GCC | 18,759 | 25 | 1 | [] |
[
"<s>",
"uint64_t",
"VEMCCodeEmitter",
"::",
"getBranchTargetOpValue",
"(",
"const",
"MCInst",
"&",
"MI",
",",
"unsigned",
"OpNo",
",",
"SmallVectorImpl",
"<",
"MCFixup",
">",
"&",
"Fixups",
",",
"const",
"MCSubtargetInfo",
"&",
"STI",
")",
"const",
"{",
"const... | [
"getBranchTargetOpValue",
"-",
"Return",
"binary",
"encoding",
"of",
"the",
"branch",
"target",
"operand",
"."
] | [
"VE",
"VE",
"0",
"VE::fixup_ve_srel32",
"0"
] | VEMCCodeEmitter1 | getBranchTargetOpValue | VE | CPU | LLVM | 18,760 | 94 | 1 | [] |
[
"<s>",
"static",
"enum",
"loongarch_symbol_type",
"loongarch_classify_symbolic_expression",
"(",
"rtx",
"x",
")",
"{",
"rtx",
"offset",
";",
"split_const",
"(",
"x",
",",
"&",
"x",
",",
"&",
"offset",
")",
";",
"if",
"(",
"UNSPEC_ADDRESS_P",
"(",
"x",
")",
... | [
"Classify",
"the",
"base",
"of",
"symbolic",
"expression",
"X",
",",
"given",
"that",
"X",
"appears",
"in",
"context",
"CONTEXT",
"."
] | [
"loongarch"
] | loongarch1 | loongarch_classify_symbolic_expression | loongarch | CPU | GCC | 18,761 | 43 | 1 | [] |
[
"<s>",
"AMDGPUAAResult",
"run",
"(",
"Function",
"&",
"F",
",",
"AnalysisManager",
"<",
"Function",
">",
"&",
"AM",
")",
"{",
"return",
"AMDGPUAAResult",
"(",
"F",
".",
"getParent",
"(",
")",
"->",
"getDataLayout",
"(",
")",
",",
"Triple",
"(",
"F",
".... | [
"Run",
"the",
"analysis",
"pass",
"over",
"a",
"function",
"and",
"produce",
"a",
"dominator",
"tree",
"."
] | [
"AMDGPU",
"AMDGPU",
"AMDGPU"
] | AMDGPUAliasAnalysis | run | AMDGPU | GPU | LLVM | 18,762 | 43 | 1 | [] |
[
"<s>",
"bool",
"isProfitableToDupForIfCvt",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"unsigned",
"NumCycles",
",",
"const",
"BranchProbability",
"&",
"Probability",
")",
"const",
"override",
"{",
"return",
"NumCycles",
"==",
"1",
";",
"}",
"</s>"
] | [
"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",
"."
] | [
"ARM",
"1"
] | ARMBaseInstrInfo | isProfitableToDupForIfCvt | ARM | CPU | LLVM | 18,763 | 24 | 1 | [] |
[
"<s>",
"bool",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"override",
"{",
"Subtarget",
"=",
"&",
"MF",
".",
"getSubtarget",
"<",
"BPFSubtarget",
">",
"(",
")",
";",
"return",
"SelectionDAGISel",
"::",
"runOnMachineFunction",
"(",
"MF",
")... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"BPF",
"BPF"
] | BPFISelDAGToDAG10 | runOnMachineFunction | BPF | Virtual ISA | LLVM | 18,764 | 30 | 1 | [] |
[
"<s>",
"static",
"int",
"loongarch_flatten_aggregate_argument",
"(",
"const_tree",
"type",
",",
"loongarch_aggregate_field",
"fields",
"[",
"2",
"]",
")",
"{",
"if",
"(",
"!",
"type",
"||",
"TREE_CODE",
"(",
"type",
")",
"!=",
"RECORD_TYPE",
")",
"return",
"-"... | [
"Identify",
"candidate",
"aggregates",
"for",
"passing",
"in",
"floating-point",
"registers",
".",
"Candidates",
"have",
"at",
"most",
"two",
"fields",
"after",
"flattening",
"."
] | [
"loongarch",
"2",
"1",
"0",
"0"
] | loongarch | loongarch_flatten_aggregate_argument | loongarch | CPU | GCC | 18,765 | 43 | 1 | [] |
[
"<s>",
"EVT",
"RISCVTargetLowering",
"::",
"getOptimalMemOpType",
"(",
"const",
"MemOp",
"&",
"Op",
",",
"const",
"AttributeList",
"&",
"FuncAttributes",
")",
"const",
"{",
"bool",
"IsNonZeroMemset",
"=",
"Op",
".",
"isMemset",
"(",
")",
"&&",
"!",
"Op",
"."... | [
"It",
"returns",
"EVT",
":",
":Other",
"if",
"the",
"type",
"should",
"be",
"determined",
"using",
"generic",
"target-independent",
"logic",
"."
] | [
"RISCV",
"RISCV",
"8",
"\" Size=\"",
"\" DstAlign=\"",
"0",
"\" SrcAlign=\"",
"0",
"\" CapSize=\"",
"\"\\n\"",
"MVT::isVoid"
] | RISCVISelLowering42 | getOptimalMemOpType | RISCV | CPU | LLVM | 18,766 | 188 | 1 | [] |
[
"<s>",
"static",
"bool",
"expand_vselect",
"(",
"rtx",
"target",
",",
"rtx",
"op0",
",",
"const",
"unsigned",
"char",
"*",
"perm",
",",
"unsigned",
"nelt",
")",
"{",
"rtx",
"rperm",
"[",
"MAX_VECT_LEN",
"]",
",",
"x",
";",
"unsigned",
"i",
";",
"for",
... | [
"Construct",
"(",
"set",
"target",
"(",
"vec_select",
"op0",
"(",
"parallel",
"perm",
")",
")",
")",
"and",
"return",
"true",
"if",
"that",
"'s",
"a",
"valid",
"instruction",
"in",
"the",
"active",
"ISA",
"."
] | [
"ia64",
"0",
"0"
] | ia64 | expand_vselect | ia64 | CPU | GCC | 18,767 | 126 | 1 | [] |
[
"<s>",
"static",
"void",
"do_cmpb3",
"(",
"rtx",
"dest",
",",
"rtx",
"src1",
",",
"rtx",
"src2",
")",
"{",
"if",
"(",
"GET_MODE",
"(",
"dest",
")",
"==",
"DImode",
")",
"emit_insn",
"(",
"gen_cmpbdi3",
"(",
"dest",
",",
"src1",
",",
"src2",
")",
")... | [
"Emit",
"an",
"cmpb",
"of",
"the",
"proper",
"mode",
"for",
"DEST",
".",
"DEST",
"is",
"the",
"destination",
"register",
"for",
"the",
"cmpb",
".",
"SRC1",
"is",
"the",
"first",
"input",
".",
"SRC2",
"is",
"the",
"second",
"input",
".",
"Computes",
"cm... | [
"rs6000"
] | rs6000-string | do_cmpb3 | rs6000 | CPU | GCC | 18,768 | 49 | 1 | [] |
[
"<s>",
"static",
"tree",
"nvptx_handle_shared_attribute",
"(",
"tree",
"*",
"node",
",",
"tree",
"name",
",",
"tree",
"ARG_UNUSED",
"(",
"args",
")",
",",
"int",
"ARG_UNUSED",
"(",
"flags",
")",
",",
"bool",
"*",
"no_add_attrs",
")",
"{",
"tree",
"decl",
... | [
"Handle",
"a",
"``",
"shared",
"''",
"attribute",
";",
"arguments",
"as",
"in",
"struct",
"attribute_spec.handler",
"."
] | [
"nvptx",
"\"%qE attribute only applies to variables\"",
"\"%qE attribute not allowed with auto storage class\""
] | nvptx | nvptx_handle_shared_attribute | nvptx | GPU | GCC | 18,769 | 91 | 1 | [] |
[
"<s>",
"bool",
"DLXRegisterInfo",
"::",
"trackLivenessAfterRegAlloc",
"(",
"const",
"MachineFunction",
"&",
")",
"const",
"{",
"return",
"true",
";",
"}",
"</s>"
] | [
"Returns",
"true",
"if",
"the",
"live-ins",
"should",
"be",
"tracked",
"after",
"register",
"allocation",
"."
] | [
"DLX",
"DLX"
] | DLXRegisterInfo | trackLivenessAfterRegAlloc | DLX | CPU | LLVM | 18,770 | 15 | 1 | [] |
[
"<s>",
"bool",
"canOpTrap",
"(",
"unsigned",
"Op",
",",
"EVT",
"VT",
")",
"const",
"override",
"{",
"return",
"false",
";",
"}",
"</s>"
] | [
"Returns",
"true",
"if",
"the",
"operation",
"can",
"trap",
"for",
"the",
"value",
"type",
"."
] | [
"Z80old"
] | Z80oldISelLowering | canOpTrap | Z80old | MPU | LLVM | 18,771 | 16 | 1 | [] |
[
"<s>",
"const",
"char",
"*",
"avr_devicespecs_file",
"(",
"int",
"argc",
",",
"const",
"char",
"*",
"*",
"argv",
")",
"{",
"const",
"char",
"*",
"mmcu",
"=",
"NULL",
";",
"if",
"(",
"verbose_flag",
")",
"fnotice",
"(",
"stderr",
",",
"\"Running spec func... | [
"Implement",
"spec",
"function",
"`",
"device-specs-file麓",
".",
"Compose",
"-specs=",
"<",
"specs-file-name",
">",
"%",
"s",
".",
"If",
"everything",
"went",
"well",
"then",
"argv",
"[",
"0",
"]",
"is",
"the",
"inflated",
"(",
"absolute",
")",
"specs",
"d... | [
"avr",
"\"Running spec function '%s' with %d args\\n\\n\"",
"0",
"\"bad usage of spec function %qs\"",
"\"device-specs-file\"",
"1",
"0",
"\"device-specs\"",
"0",
"1",
"2",
"0",
"\"specified option %qs more than once\"",
"\"-mmcu\"",
"\"strange device name %qs after %qs: bad character %q... | driver-avr4 | avr_devicespecs_file | avr | MPU | GCC | 18,772 | 213 | 1 | [] |
[
"<s>",
"const",
"uint32_t",
"*",
"AArch64RegisterInfo",
"::",
"getCallPreservedMask",
"(",
"const",
"MachineFunction",
"&",
"MF",
",",
"CallingConv",
"::",
"ID",
"CC",
")",
"const",
"{",
"bool",
"SCS",
"=",
"MF",
".",
"getFunction",
"(",
")",
".",
"hasFnAttr... | [
"Return",
"a",
"mask",
"of",
"call-preserved",
"registers",
"for",
"the",
"given",
"calling",
"convention",
"on",
"the",
"current",
"function",
"."
] | [
"AArch64",
"AArch64",
"AArch64",
"AArch64",
"AArch64",
"AArch64",
"AArch64",
"AArch64",
"AArch64",
"AArch64",
"AArch64",
"AArch64",
"AArch64",
"AArch64",
"AArch64",
"AArch64",
"AArch64",
"AArch64",
"AArch64",
"AArch64"
] | AArch64RegisterInfo62 | getCallPreservedMask | AArch64 | CPU | LLVM | 18,773 | 173 | 1 | [] |
[
"<s>",
"FastISel",
"*",
"ARM",
"::",
"createFastISel",
"(",
"FunctionLoweringInfo",
"&",
"funcInfo",
")",
"{",
"const",
"TargetMachine",
"&",
"TM",
"=",
"funcInfo",
".",
"MF",
"->",
"getTarget",
"(",
")",
";",
"const",
"ARMSubtarget",
"*",
"Subtarget",
"=",
... | [
"This",
"method",
"returns",
"a",
"target",
"specific",
"FastISel",
"object",
",",
"or",
"null",
"if",
"the",
"target",
"does",
"not",
"support",
"``",
"fast",
"''",
"ISel",
"."
] | [
"ARM",
"ARM::createFastISel",
"ARM",
"ARM",
"ARM",
"0"
] | ARMFastISel28 | createFastISel | ARM | CPU | LLVM | 18,774 | 65 | 1 | [] |
[
"<s>",
"void",
"m32c_conditional_register_usage",
"(",
"void",
")",
"{",
"int",
"memregs",
";",
"int",
"i",
";",
"if",
"(",
"0",
"<=",
"target_memregs",
"&&",
"target_memregs",
"<=",
"16",
")",
"{",
"for",
"(",
"i",
"=",
"target_memregs",
"/",
"2",
";",
... | [
"Implements",
"CONDITIONAL_REGISTER_USAGE",
".",
"We",
"adjust",
"the",
"number",
"of",
"available",
"memregs",
",",
"and",
"select",
"which",
"registers",
"need",
"to",
"be",
"preserved",
"across",
"calls",
"based",
"on",
"the",
"chip",
"family",
"."
] | [
"m32c",
"0",
"16",
"2",
"8",
"1",
"0",
"0",
"0",
"0",
"0"
] | m32c2 | m32c_conditional_register_usage | m32c | MPU | GCC | 18,775 | 104 | 1 | [] |
[
"<s>",
"int",
"m32c_expand_movcc",
"(",
"rtx",
"*",
"operands",
")",
"{",
"rtx",
"rel",
"=",
"operands",
"[",
"1",
"]",
";",
"if",
"(",
"GET_CODE",
"(",
"rel",
")",
"!=",
"EQ",
"&&",
"GET_CODE",
"(",
"rel",
")",
"!=",
"NE",
")",
"return",
"1",
";... | [
"Pattern",
"Output",
"Functions"
] | [
"m32c",
"1",
"1",
"2",
"3",
"1",
"2",
"2",
"3",
"3",
"0",
"1",
"0",
"0",
"2",
"3",
"0"
] | m32c | m32c_expand_movcc | m32c | MPU | GCC | 18,776 | 155 | 1 | [] |
[
"<s>",
"unsigned",
"X86TargetLowering",
"::",
"getNumRegistersForCallingConv",
"(",
"LLVMContext",
"&",
"Context",
",",
"CallingConv",
"::",
"ID",
"CC",
",",
"EVT",
"VT",
")",
"const",
"{",
"if",
"(",
"VT",
"==",
"MVT",
"::",
"v32i1",
"&&",
"Subtarget",
".",... | [
"Certain",
"targets",
"require",
"unusual",
"breakdowns",
"of",
"certain",
"types",
"."
] | [
"X86",
"X86",
"MVT::v32i1",
"1"
] | X86ISelLowering (2)8 | getNumRegistersForCallingConv | X86 | CPU | LLVM | 18,777 | 56 | 1 | [] |
[
"<s>",
"void",
"PPCHazardRecognizer970",
"::",
"EmitInstruction",
"(",
"SUnit",
"*",
"SU",
")",
"{",
"MachineInstr",
"*",
"MI",
"=",
"SU",
"->",
"getInstr",
"(",
")",
";",
"if",
"(",
"MI",
"->",
"isDebugValue",
"(",
")",
")",
"return",
";",
"unsigned",
... | [
"EmitInstruction",
"-",
"This",
"callback",
"is",
"invoked",
"when",
"an",
"instruction",
"is",
"emitted",
",",
"to",
"advance",
"the",
"hazard",
"state",
"."
] | [
"PowerPC",
"PPC",
"PPCII::PPC970_Unit",
"PPCII::PPC970_Pseudo",
"PPC::MTCTR",
"PPC::MTCTR8",
"4",
"PPCII::PPC970_BRU",
"4",
"5"
] | PPCHazardRecognizers15 | EmitInstruction | PowerPC | CPU | LLVM | 18,778 | 197 | 1 | [] |
[
"<s>",
"void",
"SparcTargetLowering",
"::",
"ReplaceNodeResults",
"(",
"SDNode",
"*",
"N",
",",
"SmallVectorImpl",
"<",
"SDValue",
">",
"&",
"Results",
",",
"SelectionDAG",
"&",
"DAG",
")",
"const",
"{",
"SDLoc",
"dl",
"(",
"N",
")",
";",
"RTLIB",
"::",
... | [
"ReplaceNodeResults",
"-",
"Replace",
"the",
"results",
"of",
"node",
"with",
"an",
"illegal",
"result",
"type",
"with",
"new",
"values",
"built",
"out",
"of",
"custom",
"code",
"."
] | [
"Sparc",
"Sparc",
"\"Do not know how to custom type legalize this operation!\"",
"ISD::FP_TO_SINT",
"ISD::FP_TO_UINT",
"0",
"MVT::f128",
"0",
"MVT::i64",
"ISD::FP_TO_SINT",
"0",
"1",
"ISD::SINT_TO_FP",
"ISD::UINT_TO_FP",
"0",
"MVT::f128",
"0",
"MVT::i64",
"ISD::SINT_TO_FP",
"0"... | SparcISelLowering18 | ReplaceNodeResults | Sparc | CPU | LLVM | 18,779 | 235 | 1 | [] |
[
"<s>",
"void",
"SparcFrameLowering",
"::",
"emitEpilogue",
"(",
"MachineFunction",
"&",
"MF",
",",
"MachineBasicBlock",
"&",
"MBB",
")",
"const",
"{",
"SparcMachineFunctionInfo",
"*",
"FuncInfo",
"=",
"MF",
".",
"getInfo",
"<",
"SparcMachineFunctionInfo",
">",
"("... | [
"Insert",
"epilog",
"code",
"into",
"the",
"function",
"."
] | [
"Sparc",
"Sparc",
"Sparc",
"Sparc",
"Sparc",
"Sparc",
"SP::RETL",
"\"Can only put epilog before 'retl' instruction!\"",
"SP::RESTORErr",
"SP::G0",
"SP::G0",
"SP::G0",
"0",
"SP",
"SP::ADDrr",
"SP::ADDri"
] | SparcFrameLowering (2)1 | emitEpilogue | Sparc | CPU | LLVM | 18,780 | 186 | 1 | [] |
[
"<s>",
"unsigned",
"X86InstrInfo",
"::",
"getGlobalBaseReg",
"(",
"MachineFunction",
"*",
"MF",
")",
"const",
"{",
"assert",
"(",
"(",
"!",
"Subtarget",
".",
"is64Bit",
"(",
")",
"||",
"MF",
"->",
"getTarget",
"(",
")",
".",
"getCodeModel",
"(",
")",
"==... | [
"getGlobalBaseReg",
"-",
"Return",
"a",
"virtual",
"register",
"initialized",
"with",
"the",
"the",
"global",
"base",
"register",
"value",
"."
] | [
"X86",
"X86",
"\"X86-64 PIC uses RIP relative addressing\"",
"X86",
"X86",
"X86",
"X86",
"0",
"X86::GR64_NOSPRegClass",
"X86::GR32_NOSPRegClass",
"X86"
] | X86InstrInfo (2)3 | getGlobalBaseReg | X86 | CPU | LLVM | 18,781 | 128 | 1 | [] |
[
"<s>",
"lm32_return_addr_rtx",
"(",
"count",
",",
"frame",
")",
"{",
"{",
"FRAME_POINTER_REGNUM",
",",
"STACK_POINTER_REGNUM",
"}",
",",
"\\",
"{",
"ARG_POINTER_REGNUM",
",",
"STACK_POINTER_REGNUM",
"}",
",",
"\\",
"}",
"(",
"OFFSET",
")",
"=",
"lm32_compute_ini... | [
"Support",
"function",
"to",
"determine",
"the",
"return",
"address",
"of",
"the",
"function",
"'count",
"'",
"frames",
"back",
"up",
"the",
"stack",
"."
] | [
"lm32",
"0",
"\" = \"",
"0",
"\"object\"",
"1",
"0",
"\"object\"",
"1"
] | lm32 | lm32_return_addr_rtx | lm32 | MPU | GCC | 18,782 | 442 | 1 | [] |
[
"<s>",
"static",
"void",
"swap_reorder",
"(",
"rtx_insn",
"*",
"*",
"a",
",",
"int",
"n",
")",
"{",
"rtx_insn",
"*",
"insn",
"=",
"a",
"[",
"n",
"-",
"1",
"]",
";",
"int",
"i",
"=",
"n",
"-",
"2",
";",
"while",
"(",
"i",
">=",
"0",
"&&",
"r... | [
"Resort",
"the",
"array",
"A",
"in",
"which",
"only",
"element",
"at",
"index",
"N",
"may",
"be",
"out",
"of",
"order",
"."
] | [
"sh",
"1",
"2",
"0",
"0",
"1",
"1",
"1"
] | sh | swap_reorder | sh | CPU | GCC | 18,783 | 77 | 1 | [] |
[
"<s>",
"static",
"unsigned",
"getReg",
"(",
"const",
"MCDisassembler",
"*",
"D",
",",
"unsigned",
"RC",
",",
"unsigned",
"RegNo",
")",
"{",
"const",
"MCRegisterInfo",
"*",
"RegInfo",
"=",
"D",
"->",
"getContext",
"(",
")",
".",
"getRegisterInfo",
"(",
")",... | [
"Returns",
"the",
"register",
"associated",
"with",
"this",
"edge",
"."
] | [
"Mips"
] | MipsDisassembler40 | getReg | Mips | CPU | LLVM | 18,784 | 49 | 1 | [] |
[
"<s>",
"void",
"AlphaRegisterInfo",
"::",
"emitPrologue",
"(",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"MachineBasicBlock",
"&",
"MBB",
"=",
"MF",
".",
"front",
"(",
")",
";",
"MachineBasicBlock",
"::",
"iterator",
"MBBI",
"=",
"MBB",
".",
"begin",
... | [
"emitProlog/emitEpilog",
"-",
"These",
"methods",
"insert",
"prolog",
"and",
"epilog",
"code",
"into",
"the",
"function",
"."
] | [
"Alpha",
"Alpha",
"Alpha::LDAHg",
"Alpha::R29",
"Alpha::R27",
"Alpha::LDAg",
"Alpha::R29",
"Alpha::R29",
"Alpha::ALTENT",
"8",
"0",
"1",
"Alpha::LDA",
"Alpha::R30",
"Alpha::R30",
"Alpha::LDAH",
"Alpha::R30",
"Alpha::R30",
"Alpha::LDA",
"Alpha::R30",
"Alpha::R30",
"\"Too big... | AlphaRegisterInfo1 | emitPrologue | Alpha | MPU | LLVM | 18,785 | 476 | 1 | [] |
[
"<s>",
"static",
"bool",
"classof",
"(",
"const",
"MCExpr",
"*",
"E",
")",
"{",
"return",
"E",
"->",
"getKind",
"(",
")",
"==",
"MCExpr",
"::",
"Target",
";",
"}",
"</s>"
] | [
"Methods",
"for",
"support",
"type",
"inquiry",
"through",
"isa",
",",
"cast",
",",
"and",
"dyn_cast",
":"
] | [
"DLX"
] | DLXMCExpr | classof | DLX | CPU | LLVM | 18,786 | 22 | 1 | [] |
[
"<s>",
"MachineBasicBlock",
"*",
"SparcTargetLowering",
"::",
"EmitInstrWithCustomInserter",
"(",
"MachineInstr",
"*",
"MI",
",",
"MachineBasicBlock",
"*",
"BB",
")",
"const",
"{",
"const",
"TargetInstrInfo",
"&",
"TII",
"=",
"*",
"getTargetMachine",
"(",
")",
"."... | [
"This",
"method",
"should",
"be",
"implemented",
"by",
"targets",
"that",
"mark",
"instructions",
"with",
"the",
"'usesCustomInserter",
"'",
"flag",
"."
] | [
"Sparc",
"Sparc",
"\"Unknown SELECT_CC!\"",
"SP::SELECT_CC_Int_ICC",
"SP::SELECT_CC_FP_ICC",
"SP::SELECT_CC_DFP_ICC",
"SP::BCOND",
"SP::SELECT_CC_Int_FCC",
"SP::SELECT_CC_FP_FCC",
"SP::SELECT_CC_DFP_FCC",
"SP::FBCOND",
"SPCC::CondCodes",
"3",
"SP::PHI",
"0",
"2",
"1"
] | SparcISelLowering32 | EmitInstrWithCustomInserter | Sparc | CPU | LLVM | 18,787 | 376 | 1 | [] |
[
"<s>",
"bool",
"PIC16AsmPrinter",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"{",
"this",
"->",
"MF",
"=",
"&",
"MF",
";",
"SetupMachineFunction",
"(",
"MF",
")",
";",
"const",
"Function",
"*",
"F",
"=",
"MF",
".",
"getFunction",... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"PIC16",
"PIC16",
"\"\\n\"",
"\"\\tretlw low(\"",
"\")\\n\"",
"\"\\tretlw high(\"",
"\")\\n\"",
"\":\\n\"",
"0",
"\"\\n\"",
"\"\\t.line \"",
"\"\\n\""
] | PIC16AsmPrinter2 | runOnMachineFunction | PIC16 | MPU | LLVM | 18,788 | 295 | 1 | [] |
[
"<s>",
"bool",
"mep_secondary_memory_needed",
"(",
"enum",
"reg_class",
"rclass1",
",",
"enum",
"reg_class",
"rclass2",
",",
"machine_mode",
"mode",
"ATTRIBUTE_UNUSED",
")",
"{",
"if",
"(",
"!",
"mep_have_core_copro_moves_p",
")",
"{",
"if",
"(",
"reg_classes_inters... | [
"Implement",
"SECONDARY_MEMORY_NEEDED",
"."
] | [
"mep"
] | mep | mep_secondary_memory_needed | mep | CPU | GCC | 18,789 | 87 | 1 | [] |
[
"<s>",
"SDValue",
"DCPU16TargetLowering",
"::",
"LowerOperation",
"(",
"SDValue",
"Op",
",",
"SelectionDAG",
"&",
"DAG",
")",
"const",
"{",
"switch",
"(",
"Op",
".",
"getOpcode",
"(",
")",
")",
"{",
"case",
"ISD",
"::",
"GlobalAddress",
":",
"return",
"Low... | [
"LowerOperation",
"-",
"Provide",
"custom",
"lowering",
"hooks",
"for",
"some",
"operations",
"."
] | [
"Dcpu16",
"DCPU16",
"ISD::GlobalAddress",
"ISD::BlockAddress",
"ISD::ExternalSymbol",
"ISD::BR_CC",
"ISD::SELECT_CC",
"ISD::SIGN_EXTEND",
"ISD::RETURNADDR",
"ISD::FRAMEADDR",
"ISD::ROTL",
"ISD::ROTR",
"ISD::SMUL_LOHI",
"ISD::UMUL_LOHI",
"ISD::JumpTable",
"\"unimplemented operand\""
] | Dcpu16ISelLowering | LowerOperation | Dcpu16 | CPU | LLVM | 18,790 | 209 | 1 | [] |
[
"<s>",
"static",
"HOST_WIDE_INT",
"lm32_starting_frame_offset",
"(",
"void",
")",
"{",
"return",
"UNITS_PER_WORD",
";",
"}",
"</s>"
] | [
"Implement",
"TARGET_STARTING_FRAME_OFFSET",
"."
] | [
"lm32"
] | lm32 | lm32_starting_frame_offset | lm32 | MPU | GCC | 18,791 | 11 | 1 | [] |
[
"<s>",
"void",
"AArch64FrameLowering",
"::",
"processFunctionBeforeFrameFinalized",
"(",
"MachineFunction",
"&",
"MF",
",",
"RegScavenger",
"*",
"RS",
")",
"const",
"{",
"MachineFrameInfo",
"&",
"MFI",
"=",
"MF",
".",
"getFrameInfo",
"(",
")",
";",
"assert",
"("... | [
"processFunctionBeforeFrameFinalized",
"-",
"This",
"method",
"is",
"called",
"immediately",
"before",
"the",
"specified",
"function",
"'s",
"frame",
"layout",
"(",
"MF.getFrameInfo",
"(",
")",
")",
"is",
"finalized",
"."
] | [
"AArch64",
"AArch64",
"\"Upwards growing stack unsupported\"",
"AArch64",
"AArch64",
"16",
"\"Cannot align scalable vectors more than 16 bytes\"",
"8",
"16",
"AArch64::GPR64commonRegClass",
"\"There must be a free register after frame setup\"",
"AArch64::MOVi64imm",
"2",
"AArch64::STURXi",... | AArch64FrameLowering14 | processFunctionBeforeFrameFinalized | AArch64 | CPU | LLVM | 18,792 | 295 | 1 | [] |
[
"<s>",
"BitVector",
"XCoreRegisterInfo",
"::",
"getReservedRegs",
"(",
"const",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"BitVector",
"Reserved",
"(",
"getNumRegs",
"(",
")",
")",
";",
"Reserved",
".",
"set",
"(",
"XCore",
"::",
"CP",
")",
";",
"Re... | [
"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",
"... | [
"XCore",
"XCore",
"XCore::CP",
"XCore::DP",
"XCore::SP",
"XCore::LR",
"XCore::R10"
] | XCoreRegisterInfo11 | getReservedRegs | XCore | MPU | LLVM | 18,793 | 78 | 1 | [] |
[
"<s>",
"void",
"PatmosDAGToDAGISel",
"::",
"Select",
"(",
"SDNode",
"*",
"Node",
")",
"{",
"if",
"(",
"Node",
"->",
"isMachineOpcode",
"(",
")",
")",
"return",
";",
"switch",
"(",
"Node",
"->",
"getOpcode",
"(",
")",
")",
"{",
"default",
":",
"break",
... | [
"Main",
"hook",
"for",
"targets",
"to",
"transform",
"nodes",
"into",
"machine",
"nodes",
"."
] | [
"Patmos",
"Patmos"
] | PatmosISelDAGToDAG1 | Select | Patmos | VLIW | LLVM | 18,794 | 40 | 1 | [] |
[
"<s>",
"SMLoc",
"Z80Operand",
"::",
"getEndLoc",
"(",
")",
"const",
"{",
"return",
"this",
"->",
"EndLoc",
";",
"}",
"</s>"
] | [
"getEndLoc",
"-",
"Get",
"the",
"location",
"of",
"the",
"last",
"token",
"of",
"this",
"operand",
"."
] | [
"Z80",
"Z80"
] | Z80Operand | getEndLoc | Z80 | MPU | LLVM | 18,795 | 14 | 1 | [] |
[
"<s>",
"static",
"bool",
"s390_function_arg_float",
"(",
"enum",
"machine_mode",
"mode",
",",
"tree",
"type",
")",
"{",
"int",
"size",
"=",
"s390_function_arg_size",
"(",
"mode",
",",
"type",
")",
";",
"if",
"(",
"size",
">",
"8",
")",
"return",
"false",
... | [
"Return",
"true",
"if",
"a",
"function",
"argument",
"of",
"type",
"TYPE",
"and",
"mode",
"MODE",
"is",
"to",
"be",
"passed",
"in",
"a",
"floating-point",
"register",
",",
"if",
"available",
"."
] | [
"s390",
"8"
] | s3903 | s390_function_arg_float | s390 | MPU | GCC | 18,796 | 141 | 1 | [] |
[
"<s>",
"const",
"char",
"*",
"getPassName",
"(",
")",
"const",
"override",
"{",
"return",
"\"X86 Machine Code Emitter\"",
";",
"}",
"</s>"
] | [
"getPassName",
"-",
"Return",
"a",
"nice",
"clean",
"name",
"for",
"a",
"pass",
"."
] | [
"X86",
"\"X86 Machine Code Emitter\""
] | X86CodeEmitter1 | getPassName | X86 | CPU | LLVM | 18,797 | 13 | 1 | [] |
[
"<s>",
"void",
"LC3bAsmPrinter",
"::",
"EmitInstruction",
"(",
"const",
"MachineInstr",
"*",
"MI",
")",
"{",
"if",
"(",
"MI",
"->",
"isDebugValue",
"(",
")",
")",
"{",
"SmallString",
"<",
"128",
">",
"Str",
";",
"raw_svector_ostream",
"OS",
"(",
"Str",
"... | [
"EmitInstruction",
"-",
"This",
"callback",
"is",
"invoked",
"when",
"an",
"instruction",
"is",
"emitted",
",",
"to",
"advance",
"the",
"hazard",
"state",
"."
] | [
"LC3b",
"LC3b",
"128"
] | LC3bAsmPrinter | EmitInstruction | LC3b | CPU | LLVM | 18,798 | 62 | 1 | [] |
[
"<s>",
"void",
"AlphaRegisterInfo",
"::",
"emitEpilogue",
"(",
"MachineFunction",
"&",
"MF",
",",
"MachineBasicBlock",
"&",
"MBB",
")",
"const",
"{",
"const",
"MachineFrameInfo",
"*",
"MFI",
"=",
"MF",
".",
"getFrameInfo",
"(",
")",
";",
"MachineBasicBlock",
"... | [
"Insert",
"epilog",
"code",
"into",
"the",
"function",
"."
] | [
"Alpha",
"Alpha",
"Alpha::RETDAG",
"Alpha::RETDAGp",
"\"Can only insert epilog into returning blocks\"",
"Alpha::BISr",
"Alpha::R30",
"Alpha::R15",
"Alpha::R15",
"Alpha::LDQ",
"Alpha::R15",
"0",
"Alpha::R15",
"0",
"Alpha::LDA",
"Alpha::R30",
"Alpha::R30",
"Alpha::LDAH",
"Alpha::R... | AlphaRegisterInfo2 | emitEpilogue | Alpha | MPU | LLVM | 18,799 | 321 | 1 | [] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.