ground_truth listlengths 8 512 | natrual_language listlengths 1 243 | TS_V_token listlengths 1 182 | File stringlengths 2 45 | Func stringlengths 1 56 | Target stringclasses 175
values | Target_Clf stringclasses 6
values | Compiler_Type stringclasses 2
values | Idx int64 0 36.2k | Length int64 6 510 | Cover_Rate float64 1 1 | Template_token listlengths 0 0 |
|---|---|---|---|---|---|---|---|---|---|---|---|
[
"<s>",
"bool",
"writeNopData",
"(",
"raw_ostream",
"&",
"OS",
",",
"uint64_t",
"Count",
")",
"const",
"override",
"{",
"if",
"(",
"Count",
"==",
"0",
")",
"{",
"return",
"true",
";",
"}",
"return",
"false",
";",
"}",
"</s>"
] | [
"Write",
"an",
"(",
"optimal",
")",
"nop",
"sequence",
"of",
"Count",
"bytes",
"to",
"the",
"given",
"output",
"."
] | [
"UPT",
"0"
] | UPTAsmBackend | writeNopData | UPT | CPU | LLVM | 23,800 | 28 | 1 | [] |
[
"<s>",
"SMLoc",
"getEndLoc",
"(",
")",
"const",
"{",
"return",
"EndLoc",
";",
"}",
"</s>"
] | [
"getEndLoc",
"-",
"Get",
"the",
"location",
"of",
"the",
"last",
"token",
"of",
"this",
"operand",
"."
] | [
"X86"
] | X86AsmParser (2)2 | getEndLoc | X86 | CPU | LLVM | 23,801 | 10 | 1 | [] |
[
"<s>",
"bool",
"X86InstructionSelector",
"::",
"select",
"(",
"MachineInstr",
"&",
"I",
",",
"CodeGenCoverage",
"&",
"CoverageInfo",
")",
"const",
"{",
"assert",
"(",
"I",
".",
"getParent",
"(",
")",
"&&",
"\"Instruction should be in a basic block!\"",
")",
";",
... | [
"Select",
"the",
"(",
"possibly",
"generic",
")",
"instruction",
"I",
"to",
"only",
"use",
"target-specific",
"opcodes",
"."
] | [
"X86",
"X86",
"\"Instruction should be in a basic block!\"",
"\"Instruction should be in a function!\"",
"\"Generic instruction has unexpected implicit operands\\n\"",
"\" C++ instruction selection: \""
] | X86InstructionSelector18 | select | X86 | CPU | LLVM | 23,802 | 503 | 1 | [] |
[
"<s>",
"bool",
"enableEarlyIfConversion",
"(",
")",
"const",
"override",
"{",
"return",
"true",
";",
"}",
"</s>"
] | [
"Enable",
"the",
"use",
"of",
"the",
"early",
"if",
"conversion",
"pass",
"."
] | [
"PowerPC"
] | PPCSubtarget | enableEarlyIfConversion | PowerPC | CPU | LLVM | 23,803 | 11 | 1 | [] |
[
"<s>",
"void",
"SystemZInstrInfo",
"::",
"copyPhysReg",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"MBBI",
",",
"const",
"DebugLoc",
"&",
"DL",
",",
"unsigned",
"DestReg",
",",
"unsigned",
"SrcReg",
",",
"bool",
"KillSrc",
... | [
"}",
"Branch",
"Analysis",
"&",
"Modification"
] | [
"SystemZ",
"SystemZ",
"SystemZ::GR128BitRegClass",
"SystemZ::subreg_h64",
"SystemZ::subreg_h64",
"SystemZ::subreg_l64",
"SystemZ::subreg_l64",
"SystemZ::GRX32BitRegClass",
"SystemZ::LR",
"32",
"SystemZ::GR64BitRegClass",
"SystemZ::LGR",
"SystemZ::FP32BitRegClass",
"SystemZ::LDR32",
"Syst... | SystemZInstrInfo24 | copyPhysReg | SystemZ | CPU | LLVM | 23,804 | 412 | 1 | [] |
[
"<s>",
"SDValue",
"X86TargetLowering",
"::",
"LowerCallResult",
"(",
"SDValue",
"Chain",
",",
"SDValue",
"InFlag",
",",
"CallingConv",
"::",
"ID",
"CallConv",
",",
"bool",
"isVarArg",
",",
"const",
"SmallVectorImpl",
"<",
"ISD",
"::",
"InputArg",
">",
"&",
"In... | [
"LowerCallResult",
"-",
"Lower",
"the",
"result",
"values",
"of",
"an",
"ISD",
":",
":CALL",
"into",
"the",
"appropriate",
"copies",
"out",
"of",
"appropriate",
"physical",
"registers",
"."
] | [
"X86",
"X86",
"ISD::InputArg",
"16",
"X86",
"0",
"MVT::f32",
"MVT::f64",
"\"SSE register return with SSE disabled\"",
"X86::ST0",
"X86::ST1",
"MVT::f80",
"64",
"X86::XMM0",
"X86::XMM1",
"MVT::v2i64",
"1",
"0",
"ISD::EXTRACT_VECTOR_ELT",
"MVT::i64",
"0",
"MVT::i64",
"MVT::... | X86ISelLowering21 | LowerCallResult | X86 | CPU | LLVM | 23,805 | 486 | 1 | [] |
[
"<s>",
"bool",
"nds32_gw_last_load_to_ex_p",
"(",
"rtx_insn",
"*",
"producer",
",",
"rtx_insn",
"*",
"consumer",
")",
"{",
"rtx",
"last_def_reg",
"=",
"extract_nth_access_reg",
"(",
"producer",
",",
"-",
"1",
")",
";",
"return",
"gw_consumed_by_ex_dep_p",
"(",
"... | [
"Check",
"dependencies",
"from",
"LMW",
"(",
"N",
",",
"N",
")",
"to",
"EX",
"."
] | [
"nds32",
"1"
] | nds32-pipelines-auxiliary | nds32_gw_last_load_to_ex_p | nds32 | CPU | GCC | 23,806 | 32 | 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",
"\"ShadowCallStack attribute not supported on Darwin.\"",
"AArch64",
"AArch64",
"AArch64",
"AArch64",
"AArch64",
"AArch64",
"AArch64",
"AArch64",
"AArch64",
"AArch64",
"AArch64",
"AArch64",
"AArch64"... | AArch64RegisterInfo21 | getCallPreservedMask | AArch64 | CPU | LLVM | 23,807 | 207 | 1 | [] |
[
"<s>",
"bool",
"PULPFixupHwLoops",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"{",
"if",
"(",
"skipFunction",
"(",
"MF",
".",
"getFunction",
"(",
")",
")",
")",
"{",
"return",
"false",
";",
"}",
"bool",
"fixedPreHd",
"=",
"fixupL... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"RI5CY",
"0",
"1",
"4"
] | PULPFixupHwLoops | runOnMachineFunction | RI5CY | CPU | LLVM | 23,808 | 134 | 1 | [] |
[
"<s>",
"static",
"void",
"aarch64_parse_tune_string",
"(",
"const",
"char",
"*",
"tune_string",
",",
"struct",
"tune_params",
"*",
"tune",
")",
"{",
"tune",
"->",
"extra_tuning_flags",
"=",
"aarch64_parse_boolean_options",
"(",
"tune_string",
",",
"aarch64_tuning_flag... | [
"Support",
"for",
"overriding",
"other",
"tuning",
"flags",
"."
] | [
"aarch64",
"\"tune=\""
] | aarch64 | aarch64_parse_tune_string | aarch64 | CPU | GCC | 23,809 | 33 | 1 | [] |
[
"<s>",
"static",
"bool",
"cbranch_predicted_p",
"(",
"rtx_insn",
"*",
"insn",
")",
"{",
"rtx",
"x",
"=",
"find_reg_note",
"(",
"insn",
",",
"REG_BR_PROB",
",",
"0",
")",
";",
"if",
"(",
"x",
")",
"{",
"int",
"pred_val",
"=",
"XINT",
"(",
"x",
",",
... | [
"Return",
"true",
"if",
"INSN",
"is",
"annotated",
"with",
"a",
"REG_BR_PROB",
"note",
"that",
"indicates",
"it",
"'s",
"a",
"branch",
"that",
"'s",
"predicted",
"taken",
"."
] | [
"tilepro",
"0",
"0",
"2"
] | tilepro2 | cbranch_predicted_p | tilepro | VLIW | GCC | 23,810 | 48 | 1 | [] |
[
"<s>",
"StringRef",
"getPassName",
"(",
")",
"const",
"override",
"{",
"return",
"\"Hexagon constant-extender optimization\"",
";",
"}",
"</s>"
] | [
"getPassName",
"-",
"Return",
"a",
"nice",
"clean",
"name",
"for",
"a",
"pass",
"."
] | [
"Hexagon",
"\"Hexagon constant-extender optimization\""
] | HexagonConstExtenders (2) | getPassName | Hexagon | DSP | LLVM | 23,811 | 11 | 1 | [] |
[
"<s>",
"void",
"MSP430RegisterInfo",
"::",
"emitPrologue",
"(",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"MachineBasicBlock",
"&",
"MBB",
"=",
"MF",
".",
"front",
"(",
")",
";",
"MachineFrameInfo",
"*",
"MFI",
"=",
"MF",
".",
"getFrameInfo",
"(",
"... | [
"emitProlog/emitEpilog",
"-",
"These",
"methods",
"insert",
"prolog",
"and",
"epilog",
"code",
"into",
"the",
"function",
"."
] | [
"MSP430",
"MSP430",
"MSP430",
"MSP430",
"MSP430",
"0",
"2",
"MSP430",
"MSP430::PUSH16r",
"MSP430::FPW",
"MSP430::MOV16rr",
"MSP430::FPW",
"MSP430::SPW",
"MSP430::FPW",
"MSP430",
"MSP430::PUSH16r",
"MSP430::SUB16ri",
"MSP430::SPW",
"MSP430::SPW",
"3"
] | MSP430RegisterInfo11 | emitPrologue | MSP430 | MPU | LLVM | 23,812 | 342 | 1 | [] |
[
"<s>",
"StringRef",
"getPassName",
"(",
")",
"const",
"override",
"{",
"return",
"\"Local Dynamic TLS Access Clean-up\"",
";",
"}",
"</s>"
] | [
"getPassName",
"-",
"Return",
"a",
"nice",
"clean",
"name",
"for",
"a",
"pass",
"."
] | [
"X86",
"\"Local Dynamic TLS Access Clean-up\""
] | X86InstrInfo (2)3 | getPassName | X86 | CPU | LLVM | 23,813 | 11 | 1 | [] |
[
"<s>",
"static",
"void",
"emit_unlikely_jump",
"(",
"rtx",
"insn",
")",
"{",
"int",
"very_unlikely",
"=",
"REG_BR_PROB_BASE",
"/",
"100",
"-",
"1",
";",
"rtx_insn",
"*",
"jump",
"=",
"emit_jump_insn",
"(",
"insn",
")",
";",
"add_int_reg_note",
"(",
"jump",
... | [
"Mark",
"the",
"previous",
"jump",
"instruction",
"as",
"unlikely",
"."
] | [
"arc",
"100",
"1"
] | arc6 | emit_unlikely_jump | arc | MPU | GCC | 23,814 | 36 | 1 | [] |
[
"<s>",
"bool",
"shouldNormalizeToSelectSequence",
"(",
"LLVMContext",
"&",
",",
"EVT",
")",
"const",
"override",
"{",
"return",
"false",
";",
"}",
"</s>"
] | [
"Returns",
"true",
"if",
"we",
"should",
"normalize",
"select",
"(",
"N0",
"&",
"N1",
",",
"X",
",",
"Y",
")",
"=",
">",
"select",
"(",
"N0",
",",
"select",
"(",
"N1",
",",
"X",
",",
"Y",
")",
",",
"Y",
")",
"and",
"select",
"(",
"N0|N1",
","... | [
"RISCV"
] | RISCVISelLowering12 | shouldNormalizeToSelectSequence | RISCV | CPU | LLVM | 23,815 | 15 | 1 | [] |
[
"<s>",
"bool",
"isUnspillableTerminatorImpl",
"(",
"const",
"MachineInstr",
"*",
"MI",
")",
"const",
"override",
"{",
"return",
"MI",
"->",
"getOpcode",
"(",
")",
"==",
"ARM",
"::",
"t2LoopEndDec",
"||",
"MI",
"->",
"getOpcode",
"(",
")",
"==",
"ARM",
"::"... | [
"Return",
"true",
"if",
"the",
"given",
"terminator",
"MI",
"is",
"not",
"expected",
"to",
"spill",
"."
] | [
"ARM",
"ARM::t2LoopEndDec",
"ARM::t2DoLoopStartTP",
"ARM::t2WhileLoopStartLR"
] | ARMBaseInstrInfo39 | isUnspillableTerminatorImpl | ARM | CPU | LLVM | 23,816 | 43 | 1 | [] |
[
"<s>",
"bool",
"PPCDarwinAsmPrinter",
"::",
"doFinalization",
"(",
"Module",
"&",
"M",
")",
"{",
"bool",
"isPPC64",
"=",
"getDataLayout",
"(",
")",
".",
"getPointerSizeInBits",
"(",
")",
"==",
"64",
";",
"const",
"TargetLoweringObjectFileMachO",
"&",
"TLOFMacho"... | [
"doFinalization",
"-",
"Virtual",
"method",
"overriden",
"by",
"subclasses",
"to",
"do",
"any",
"necessary",
"clean",
"up",
"after",
"all",
"passes",
"have",
"run",
"."
] | [
"PowerPC",
"PPC",
"PPC",
"64",
"\"$non_lazy_ptr\"",
"PPC",
"3",
"2",
"0",
"0",
"PPC",
"8",
"4",
"PPC",
"8",
"4"
] | PPCAsmPrinter110 | doFinalization | PowerPC | CPU | LLVM | 23,817 | 324 | 1 | [] |
[
"<s>",
"bool",
"CJGInstrInfo",
"::",
"reverseBranchCondition",
"(",
"SmallVectorImpl",
"<",
"MachineOperand",
">",
"&",
"Cond",
")",
"const",
"{",
"assert",
"(",
"Cond",
".",
"size",
"(",
")",
"==",
"1",
"&&",
"\"Invalid Xbranch condition!\"",
")",
";",
"CJGCC... | [
"Reverses",
"the",
"branch",
"condition",
"of",
"the",
"specified",
"condition",
"list",
",",
"returning",
"false",
"on",
"success",
"and",
"true",
"if",
"it",
"can",
"not",
"be",
"reversed",
"."
] | [
"CJG",
"CJG",
"1",
"\"Invalid Xbranch condition!\"",
"CJGCC::CondCodes",
"CJGCC::CondCodes",
"0",
"\"Invalid branch condition!\"",
"CJGCC::COND_C",
"CJGCC::COND_NC",
"CJGCC::COND_N",
"CJGCC::COND_NN",
"CJGCC::COND_V",
"CJGCC::COND_NV",
"CJGCC::COND_Z",
"CJGCC::COND_NZ",
"CJGCC::COND_... | CJGInstrInfo | reverseBranchCondition | CJG | CPU | LLVM | 23,818 | 206 | 1 | [] |
[
"<s>",
"static",
"bool",
"rx_hard_regno_mode_ok",
"(",
"unsigned",
"int",
"regno",
",",
"machine_mode",
")",
"{",
"return",
"REGNO_REG_CLASS",
"(",
"regno",
")",
"==",
"GR_REGS",
";",
"}",
"</s>"
] | [
"Implement",
"TARGET_HARD_REGNO_MODE_OK",
"."
] | [
"rx"
] | rx | rx_hard_regno_mode_ok | rx | CPU | GCC | 23,819 | 20 | 1 | [] |
[
"<s>",
"bool",
"TOYRegisterInfo",
"::",
"trackLivenessAfterRegAlloc",
"(",
"const",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"return",
"true",
";",
"}",
"</s>"
] | [
"Returns",
"true",
"if",
"the",
"live-ins",
"should",
"be",
"tracked",
"after",
"register",
"allocation",
"."
] | [
"TOY",
"TOY"
] | TOYRegisterInfo1 | trackLivenessAfterRegAlloc | TOY | CPU | LLVM | 23,820 | 16 | 1 | [] |
[
"<s>",
"static",
"bool",
"aarch64_vfp_is_call_or_return_candidate",
"(",
"machine_mode",
"mode",
",",
"const_tree",
"type",
",",
"machine_mode",
"*",
"base_mode",
",",
"int",
"*",
"count",
",",
"bool",
"*",
"is_ha",
",",
"bool",
"silent_p",
")",
"{",
"if",
"("... | [
"Return",
"TRUE",
"if",
"an",
"argument",
",",
"whose",
"type",
"is",
"described",
"by",
"TYPE",
"and",
"MODE",
",",
"shall",
"be",
"passed",
"or",
"returned",
"in",
"simd/fp",
"register",
"(",
"s",
")",
"(",
"providing",
"these",
"parameter",
"passing",
... | [
"aarch64",
"1",
"2",
"0",
"0",
"\"gcc-10/changes.html#empty_base\"",
"1",
"\"parameter passing for argument of \"",
"\"type %qT with %<[[no_unique_address]]%> members \"",
"\"changed %{in GCC 10.1%}\"",
"\"parameter passing for argument of \"",
"\"type %qT when C++17 is enabled changed to matc... | aarch64 | aarch64_vfp_is_call_or_return_candidate | aarch64 | CPU | GCC | 23,821 | 318 | 1 | [] |
[
"<s>",
"void",
"arm_options_perform_arch_sanity_checks",
"(",
"void",
")",
"{",
"if",
"(",
"TARGET_INTERWORK",
")",
"arm_cpp_interwork",
"=",
"1",
";",
"if",
"(",
"arm_arch5t",
")",
"target_flags",
"&=",
"~",
"MASK_INTERWORK",
";",
"if",
"(",
"TARGET_IWMMXT",
"&... | [
"Perform",
"some",
"validation",
"between",
"the",
"desired",
"architecture",
"and",
"the",
"rest",
"of",
"the",
"options",
"."
] | [
"arm",
"1",
"\"iwmmxt requires an AAPCS compatible ABI for proper operation\"",
"\"iwmmxt abi requires an iwmmxt capable cpu\"",
"0",
"\"target CPU does not support interworking\"",
"\"AAPCS does not support %<-mcaller-super-interworking%>\"",
"\"AAPCS does not support %<-mcallee-super-interworking%>\... | arm8 | arm_options_perform_arch_sanity_checks | arm | CPU | GCC | 23,822 | 234 | 1 | [] |
[
"<s>",
"bool",
"AArch64StorePairSuppress",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"{",
"const",
"TargetSubtargetInfo",
"&",
"ST",
"=",
"MF",
".",
"getSubtarget",
"(",
")",
";",
"TII",
"=",
"static_cast",
"<",
"const",
"AArch64Instr... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"AArch64",
"AArch64",
"AArch64",
"\"*** \"",
"\": \"",
"\" Skipping pass: no machine model present.\\n\"",
"0",
"\"Unpairing store \"",
"\"\\n\"",
"0"
] | AArch64StorePairSuppress2 | runOnMachineFunction | AArch64 | CPU | LLVM | 23,823 | 256 | 1 | [] |
[
"<s>",
"unsigned",
"ARMTargetLowering",
"::",
"getMaxSupportedInterleaveFactor",
"(",
")",
"const",
"{",
"if",
"(",
"Subtarget",
"->",
"hasNEON",
"(",
")",
")",
"return",
"4",
";",
"return",
"TargetLoweringBase",
"::",
"getMaxSupportedInterleaveFactor",
"(",
")",
... | [
"Get",
"the",
"maximum",
"supported",
"factor",
"for",
"interleaved",
"memory",
"accesses",
"."
] | [
"ARM",
"ARM",
"4"
] | ARMISelLowering101 | getMaxSupportedInterleaveFactor | ARM | CPU | LLVM | 23,824 | 27 | 1 | [] |
[
"<s>",
"bool",
"X86Subtarget",
"::",
"isLegalToCallImmediateAddr",
"(",
")",
"const",
"{",
"if",
"(",
"In64BitMode",
"||",
"isTargetWin32",
"(",
")",
")",
"return",
"false",
";",
"return",
"isTargetELF",
"(",
")",
"||",
"TM",
".",
"getRelocationModel",
"(",
... | [
"Return",
"true",
"if",
"the",
"subtarget",
"allows",
"calls",
"to",
"immediate",
"address",
"."
] | [
"X86",
"X86"
] | X86Subtarget (2)3 | isLegalToCallImmediateAddr | X86 | CPU | LLVM | 23,825 | 35 | 1 | [] |
[
"<s>",
"rtx",
"mn10300_builtin_saveregs",
"(",
")",
"{",
"rtx",
"offset",
",",
"mem",
";",
"tree",
"fntype",
"=",
"TREE_TYPE",
"(",
"current_function_decl",
")",
";",
"int",
"argadj",
"=",
"(",
"(",
"!",
"(",
"TYPE_ARG_TYPES",
"(",
"fntype",
")",
"!=",
"... | [
"Flush",
"the",
"argument",
"registers",
"to",
"the",
"stack",
"for",
"a",
"stdarg",
"function",
";",
"return",
"the",
"new",
"argument",
"pointer",
"."
] | [
"mn10300",
"0",
"0",
"0",
"4",
"1",
"0",
"0"
] | mn103002 | mn10300_builtin_saveregs | mn10300 | MPU | GCC | 23,826 | 162 | 1 | [] |
[
"<s>",
"static",
"tree",
"gcn_reduction_update",
"(",
"location_t",
"loc",
",",
"gimple_stmt_iterator",
"*",
"gsi",
",",
"tree",
"ptr",
",",
"tree",
"var",
",",
"tree_code",
"op",
")",
"{",
"tree",
"type",
"=",
"TREE_TYPE",
"(",
"var",
")",
";",
"tree",
... | [
"Emit",
"a",
"sequence",
"to",
"update",
"a",
"reduction",
"accumulator",
"at",
"*",
"PTR",
"with",
"the",
"value",
"held",
"in",
"VAR",
"using",
"operator",
"OP",
".",
"Return",
"the",
"updated",
"value",
".",
"TODO",
":",
"optimize",
"for",
"atomic",
"... | [
"gcn"
] | gcn-tree | gcn_reduction_update | gcn | GPU | GCC | 23,827 | 83 | 1 | [] |
[
"<s>",
"bool",
"PPCLoopPreIncPrep",
"::",
"runOnFunction",
"(",
"Function",
"&",
"F",
")",
"{",
"LI",
"=",
"&",
"getAnalysis",
"<",
"LoopInfoWrapperPass",
">",
"(",
")",
".",
"getLoopInfo",
"(",
")",
";",
"SE",
"=",
"&",
"getAnalysis",
"<",
"ScalarEvolutio... | [
"runOnFunction",
"-",
"Virtual",
"method",
"overriden",
"by",
"subclasses",
"to",
"do",
"the",
"per-function",
"processing",
"of",
"the",
"pass",
"."
] | [
"PowerPC",
"PPC"
] | PPCLoopPreIncPrep10 | runOnFunction | PowerPC | CPU | LLVM | 23,828 | 107 | 1 | [] |
[
"<s>",
"bool",
"hasBranchDivergence",
"(",
")",
"{",
"return",
"true",
";",
"}",
"</s>"
] | [
"Return",
"true",
"if",
"branch",
"divergence",
"exists",
"."
] | [
"TGSI"
] | TGSITargetTransformInfo | hasBranchDivergence | TGSI | Virtual ISA | LLVM | 23,829 | 9 | 1 | [] |
[
"<s>",
"static",
"void",
"process_epilogue",
"(",
")",
"{",
"if",
"(",
"block_num",
"!=",
"n_basic_blocks",
"-",
"1",
")",
"{",
"fprintf",
"(",
"asm_out_file",
",",
"\"\\t.label_state 1\\n\"",
")",
";",
"need_copy_state",
"=",
"1",
";",
"}",
"fprintf",
"(",
... | [
"The",
"function",
"emits",
"unwind",
"directives",
"for",
"the",
"start",
"of",
"an",
"epilogue",
"."
] | [
"ia64",
"1",
"\"\\t.label_state 1\\n\"",
"1",
"\"\\t.restore sp\\n\""
] | ia642 | process_epilogue | ia64 | CPU | GCC | 23,830 | 35 | 1 | [] |
[
"<s>",
"StringRef",
"getPassName",
"(",
")",
"const",
"override",
"{",
"return",
"\"WebAssembly Register Stackify\"",
";",
"}",
"</s>"
] | [
"getPassName",
"-",
"Return",
"a",
"nice",
"clean",
"name",
"for",
"a",
"pass",
"."
] | [
"WebAssembly",
"\"WebAssembly Register Stackify\""
] | WebAssemblyRegStackify | getPassName | WebAssembly | Virtual ISA | LLVM | 23,831 | 11 | 1 | [] |
[
"<s>",
"bool",
"X86InstrInfo",
"::",
"findCommutedOpIndices",
"(",
"MachineInstr",
"&",
"MI",
",",
"unsigned",
"&",
"SrcOpIdx1",
",",
"unsigned",
"&",
"SrcOpIdx2",
")",
"const",
"{",
"switch",
"(",
"MI",
".",
"getOpcode",
"(",
")",
")",
"{",
"case",
"X86",... | [
"Returns",
"true",
"iff",
"the",
"routine",
"could",
"find",
"two",
"commutable",
"operands",
"in",
"the",
"given",
"machine",
"instruction",
"."
] | [
"X86",
"X86",
"X86::CMPPDrri",
"X86::CMPPSrri",
"X86::VCMPPDrri",
"X86::VCMPPSrri",
"X86::VCMPPDYrri",
"X86::VCMPPSYrri",
"3",
"0x7",
"0x00",
"0x03",
"0x04",
"0x07",
"1",
"2"
] | X86InstrInfo (2)1 | findCommutedOpIndices | X86 | CPU | LLVM | 23,832 | 149 | 1 | [] |
[
"<s>",
"std",
"::",
"pair",
"<",
"unsigned",
",",
"const",
"TargetRegisterClass",
"*",
">",
"PPCTargetLowering",
"::",
"getRegForInlineAsmConstraint",
"(",
"const",
"std",
"::",
"string",
"&",
"Constraint",
",",
"EVT",
"VT",
")",
"const",
"{",
"if",
"(",
"Co... | [
"Given",
"a",
"physical",
"register",
"constraint",
"(",
"e.g",
"."
] | [
"PowerPC",
"PPC",
"1",
"0",
"MVT::i64",
"PPC",
"PPC",
"0U",
"PPC::G8RCRegClass",
"0U",
"PPC::GPRCRegClass",
"MVT::f32",
"MVT::i32",
"0U",
"PPC::F4RCRegClass",
"MVT::f64",
"MVT::i64",
"0U",
"PPC::F8RCRegClass",
"0U",
"PPC::VRRCRegClass",
"0U",
"PPC::CRRCRegClass"
] | PPCISelLowering105 | getRegForInlineAsmConstraint | PowerPC | CPU | LLVM | 23,833 | 195 | 1 | [] |
[
"<s>",
"int",
"fmpyaddoperands",
"(",
"rtx",
"*",
"operands",
")",
"{",
"enum",
"machine_mode",
"mode",
"=",
"GET_MODE",
"(",
"operands",
"[",
"0",
"]",
")",
";",
"if",
"(",
"mode",
"!=",
"SFmode",
"&&",
"mode",
"!=",
"DFmode",
")",
"return",
"0",
";... | [
"Returns",
"1",
"if",
"the",
"6",
"operands",
"specified",
"in",
"OPERANDS",
"are",
"suitable",
"for",
"use",
"in",
"fmpyadd",
"instructions",
"."
] | [
"pa",
"0",
"0",
"1",
"2",
"3",
"4",
"5",
"0",
"1",
"2",
"3",
"4",
"5",
"0",
"3",
"4",
"3",
"5",
"0",
"3",
"0",
"3",
"1",
"3",
"2",
"0",
"4",
"0",
"5",
"0",
"0",
"0",
"1",
"2",
"3",
"4",
"5",
"0",
"1"
] | pa3 | fmpyaddoperands | pa | CPU | GCC | 23,834 | 350 | 1 | [] |
[
"<s>",
"StringRef",
"getPassName",
"(",
")",
"const",
"override",
"{",
"return",
"\"X86 Load Value Injection (LVI) Load Hardening\"",
";",
"}",
"</s>"
] | [
"getPassName",
"-",
"Return",
"a",
"nice",
"clean",
"name",
"for",
"a",
"pass",
"."
] | [
"X86",
"\"X86 Load Value Injection (LVI) Load Hardening\""
] | X86LoadValueInjectionLoadHardening | getPassName | X86 | CPU | LLVM | 23,835 | 11 | 1 | [] |
[
"<s>",
"bool",
"ARMBaseTargetMachine",
"::",
"addPreRegAlloc",
"(",
"PassManagerBase",
"&",
"PM",
")",
"{",
"if",
"(",
"getOptLevel",
"(",
")",
"!=",
"CodeGenOpt",
"::",
"None",
"&&",
"!",
"Subtarget",
".",
"isThumb1Only",
"(",
")",
")",
"PM",
".",
"add",
... | [
"This",
"method",
"may",
"be",
"implemented",
"by",
"targets",
"that",
"want",
"to",
"run",
"passes",
"immediately",
"before",
"register",
"allocation",
"."
] | [
"ARM",
"ARM",
"ARM"
] | ARMTargetMachine61 | addPreRegAlloc | ARM | CPU | LLVM | 23,836 | 66 | 1 | [] |
[
"<s>",
"bool",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"override",
"{",
"AArch64FI",
"=",
"MF",
".",
"getInfo",
"<",
"AArch64FunctionInfo",
">",
"(",
")",
";",
"STI",
"=",
"static_cast",
"<",
"const",
"AArch64Subtarget",
"*",
">",
"("... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"AArch64",
"AArch64",
"AArch64",
"AArch64"
] | AArch64AsmPrinter | runOnMachineFunction | AArch64 | CPU | LLVM | 23,837 | 130 | 1 | [] |
[
"<s>",
"void",
"NyuziTargetObjectFile",
"::",
"Initialize",
"(",
"MCContext",
"&",
"Ctx",
",",
"const",
"TargetMachine",
"&",
"TM",
")",
"{",
"TargetLoweringObjectFileELF",
"::",
"Initialize",
"(",
"Ctx",
",",
"TM",
")",
";",
"InitializeELF",
"(",
"TM",
".",
... | [
"This",
"method",
"must",
"be",
"called",
"before",
"any",
"actual",
"lowering",
"is",
"done",
"."
] | [
"Nyuzi",
"Nyuzi"
] | NyuziTargetObjectFile | Initialize | Nyuzi | GPU | LLVM | 23,838 | 34 | 1 | [] |
[
"<s>",
"void",
"getAnalysisUsage",
"(",
"AnalysisUsage",
"&",
"AU",
")",
"const",
"override",
"{",
"AU",
".",
"setPreservesCFG",
"(",
")",
";",
"AU",
".",
"addPreserved",
"<",
"MachineBlockFrequencyInfo",
">",
"(",
")",
";",
"AU",
".",
"addPreservedID",
"(",... | [
"getAnalysisUsage",
"-",
"Subclasses",
"that",
"override",
"getAnalysisUsage",
"must",
"call",
"this",
"."
] | [
"WebAssembly"
] | WebAssemblyArgumentMove | getAnalysisUsage | WebAssembly | Virtual ISA | LLVM | 23,839 | 40 | 1 | [] |
[
"<s>",
"int",
"X86FrameLowering",
"::",
"getFrameIndexReference",
"(",
"const",
"MachineFunction",
"&",
"MF",
",",
"int",
"FI",
",",
"unsigned",
"&",
"FrameReg",
")",
"const",
"{",
"if",
"(",
"TRI",
"->",
"hasBasePointer",
"(",
"MF",
")",
")",
"FrameReg",
... | [
"getFrameIndexReference",
"-",
"This",
"method",
"should",
"return",
"the",
"base",
"register",
"and",
"offset",
"used",
"to",
"reference",
"a",
"frame",
"index",
"location",
"."
] | [
"X86",
"X86"
] | X86FrameLowering82 | getFrameIndexReference | X86 | CPU | LLVM | 23,840 | 73 | 1 | [] |
[
"<s>",
"static",
"int",
"ia64_spec_check_src_p",
"(",
"rtx",
"src",
")",
"{",
"if",
"(",
"GET_CODE",
"(",
"src",
")",
"==",
"IF_THEN_ELSE",
")",
"{",
"rtx",
"t",
";",
"t",
"=",
"XEXP",
"(",
"src",
",",
"0",
")",
";",
"if",
"(",
"GET_CODE",
"(",
"... | [
"Return",
"nonzero",
",",
"if",
"SRC",
"belongs",
"to",
"recovery",
"check",
"."
] | [
"ia64",
"0",
"0",
"1",
"0",
"0"
] | ia64 | ia64_spec_check_src_p | ia64 | CPU | GCC | 23,841 | 112 | 1 | [] |
[
"<s>",
"static",
"int",
"pdp11_addr_cost",
"(",
"rtx",
"addr",
",",
"machine_mode",
"mode",
",",
"addr_space_t",
"as",
"ATTRIBUTE_UNUSED",
",",
"bool",
"speed",
")",
"{",
"int",
"cost",
"=",
"0",
";",
"if",
"(",
"GET_CODE",
"(",
"addr",
")",
"!=",
"REG",... | [
"Return",
"cost",
"of",
"accessing",
"the",
"supplied",
"operand",
".",
"Registers",
"are",
"free",
".",
"Anything",
"else",
"starts",
"with",
"a",
"cost",
"of",
"two",
".",
"Add",
"to",
"that",
"for",
"memory",
"references",
"the",
"memory",
"accesses",
"... | [
"pdp11",
"0",
"2",
"2"
] | pdp11 | pdp11_addr_cost | pdp11 | MPU | GCC | 23,842 | 77 | 1 | [] |
[
"<s>",
"BitVector",
"SIRegisterInfo",
"::",
"getReservedRegs",
"(",
"const",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"BitVector",
"Reserved",
"(",
"getNumRegs",
"(",
")",
")",
";",
"Reserved",
".",
"set",
"(",
"AMDGPU",
"::",
"INDIRECT_BASE_ADDR",
")"... | [
"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",
"... | [
"AMDGPU",
"SI",
"AMDGPU::INDIRECT_BASE_ADDR",
"AMDGPU::EXEC",
"AMDGPU::FLAT_SCR",
"AMDGPU::TBA",
"AMDGPU::TMA",
"AMDGPU::TTMP0_TTMP1",
"AMDGPU::TTMP2_TTMP3",
"AMDGPU::TTMP4_TTMP5",
"AMDGPU::TTMP6_TTMP7",
"AMDGPU::TTMP8_TTMP9",
"AMDGPU::TTMP10_TTMP11",
"AMDGPU::SGPR_32RegClass",
"AMDGPU::... | SIRegisterInfo37 | getReservedRegs | AMDGPU | GPU | LLVM | 23,843 | 308 | 1 | [] |
[
"<s>",
"static",
"const",
"char",
"*",
"mips16_call_stub_mode_suffix",
"(",
"machine_mode",
"mode",
")",
"{",
"if",
"(",
"mode",
"==",
"SFmode",
")",
"return",
"\"sf\"",
";",
"else",
"if",
"(",
"mode",
"==",
"DFmode",
")",
"return",
"\"df\"",
";",
"else",
... | [
"Return",
"the",
"two-character",
"string",
"that",
"identifies",
"floating-point",
"return",
"mode",
"MODE",
"in",
"the",
"name",
"of",
"a",
"MIPS16",
"function",
"stub",
"."
] | [
"mips",
"\"sf\"",
"\"df\"",
"\"sc\"",
"\"dc\"",
"\"df\""
] | mips | mips16_call_stub_mode_suffix | mips | CPU | GCC | 23,844 | 72 | 1 | [] |
[
"<s>",
"static",
"HOST_WIDE_INT",
"iq2000_starting_frame_offset",
"(",
"void",
")",
"{",
"return",
"crtl",
"->",
"outgoing_args_size",
";",
"}",
"</s>"
] | [
"Implement",
"TARGET_STARTING_FRAME_OFFSET",
"."
] | [
"iq2000"
] | iq2000 | iq2000_starting_frame_offset | iq2000 | CPU | GCC | 23,845 | 13 | 1 | [] |
[
"<s>",
"void",
"ScheduleDAGPostRA",
"::",
"releaseSucc",
"(",
"SUnit",
"*",
"SU",
",",
"SDep",
"*",
"SuccEdge",
")",
"{",
"SUnit",
"*",
"SuccSU",
"=",
"SuccEdge",
"->",
"getSUnit",
"(",
")",
";",
"if",
"(",
"SuccEdge",
"->",
"isWeak",
"(",
")",
")",
... | [
"ReleaseSucc",
"-",
"Decrement",
"the",
"NumPredsLeft",
"count",
"of",
"a",
"successor",
"."
] | [
"Patmos",
"0",
"\"*** Scheduling failed! ***\\n\"",
"\" has been released too many times!\\n\"",
"0",
"0"
] | PatmosPostRAScheduler | releaseSucc | Patmos | VLIW | LLVM | 23,846 | 101 | 1 | [] |
[
"<s>",
"const",
"X86InstrInfo",
"*",
"getInstrInfo",
"(",
")",
"{",
"return",
"getTargetMachine",
"(",
")",
".",
"getInstrInfo",
"(",
")",
";",
"}",
"</s>"
] | [
"TargetInstrInfo",
"getter",
"."
] | [
"X86",
"X86"
] | X86ISelDAGToDAG103 | getInstrInfo | X86 | CPU | LLVM | 23,847 | 17 | 1 | [] |
[
"<s>",
"void",
"AVRFrameLowering",
"::",
"determineCalleeSaves",
"(",
"MachineFunction",
"&",
"MF",
",",
"BitVector",
"&",
"SavedRegs",
",",
"RegScavenger",
"*",
"RS",
")",
"const",
"{",
"TargetFrameLowering",
"::",
"determineCalleeSaves",
"(",
"MF",
",",
"SavedRe... | [
"This",
"method",
"determines",
"which",
"of",
"the",
"registers",
"reported",
"by",
"TargetRegisterInfo",
":",
":getCalleeSavedRegs",
"(",
")",
"should",
"actually",
"get",
"saved",
"."
] | [
"AVR",
"AVR",
"AVR::R29",
"AVR::R28"
] | AVRFrameLowering (2) | determineCalleeSaves | AVR | MPU | LLVM | 23,848 | 58 | 1 | [] |
[
"<s>",
"static",
"bool",
"optimizeCall",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineInstr",
"&",
"MI",
",",
"const",
"MachineRegisterInfo",
"&",
"MRI",
",",
"MachineDominatorTree",
"&",
"MDT",
",",
"LiveIntervals",
"&",
"LIS",
",",
"const",
"WebAssemblyT... | [
"optimizeCall",
"-",
"Take",
"the",
"given",
"call",
"instruction",
"and",
"return",
"a",
"more",
"optimal",
"value",
"to",
"replace",
"the",
"instruction",
"with",
"or",
"0",
"if",
"a",
"more",
"optimal",
"form",
"ca",
"n't",
"be",
"found",
"."
] | [
"WebAssembly",
"WebAssembly",
"1",
"2",
"0",
"\"Store results: call to builtin function with wrong \"",
"\"signature, from/to mismatch\""
] | WebAssemblyStoreResults12 | optimizeCall | WebAssembly | Virtual ISA | LLVM | 23,849 | 202 | 1 | [] |
[
"<s>",
"const",
"uint16_t",
"*",
"X86RegisterInfo",
"::",
"getCalleeSavedRegs",
"(",
"const",
"MachineFunction",
"*",
"MF",
")",
"const",
"{",
"bool",
"HasAVX",
"=",
"TM",
".",
"getSubtarget",
"<",
"X86Subtarget",
">",
"(",
")",
".",
"hasAVX",
"(",
")",
";... | [
"Code",
"Generation",
"virtual",
"methods",
"..."
] | [
"X86",
"X86",
"X86",
"X86"
] | X86RegisterInfo9 | getCalleeSavedRegs | X86 | CPU | LLVM | 23,850 | 234 | 1 | [] |
[
"<s>",
"static",
"int",
"ix86_simd_clone_usable",
"(",
"struct",
"cgraph_node",
"*",
"node",
")",
"{",
"switch",
"(",
"node",
"->",
"simdclone",
"->",
"vecsize_mangle",
")",
"{",
"case",
"'b'",
":",
"if",
"(",
"!",
"TARGET_SSE2",
")",
"return",
"-",
"1",
... | [
"If",
"SIMD",
"clone",
"NODE",
"ca",
"n't",
"be",
"used",
"in",
"a",
"vectorized",
"loop",
"in",
"current",
"function",
",",
"return",
"-1",
",",
"otherwise",
"return",
"a",
"badness",
"of",
"using",
"it",
"(",
"0",
"if",
"it",
"is",
"most",
"desirable... | [
"i386",
"1",
"0",
"2",
"1",
"1",
"1",
"0",
"1",
"0"
] | i3864 | ix86_simd_clone_usable | i386 | CPU | GCC | 23,851 | 90 | 1 | [] |
[
"<s>",
"static",
"uint64_t",
"getSymbolOffset",
"(",
"const",
"MCSymbolRefExpr",
"*",
"SymRefExpr",
",",
"const",
"MCAsmLayout",
"&",
"Layout",
")",
"{",
"if",
"(",
"!",
"SymRefExpr",
")",
"{",
"return",
"0",
";",
"}",
"const",
"MCSymbol",
"&",
"Sym",
"=",... | [
"Variant",
"that",
"reports",
"a",
"fatal",
"error",
"if",
"the",
"offset",
"is",
"not",
"computable",
"."
] | [
"MOS",
"0",
"0"
] | MOSAsmBackend | getSymbolOffset | MOS | MPU | LLVM | 23,852 | 53 | 1 | [] |
[
"<s>",
"void",
"X86DAGToDAGISel",
"::",
"PreprocessISelDAG",
"(",
")",
"{",
"OptForSize",
"=",
"MF",
"->",
"getFunction",
"(",
")",
"->",
"optForSize",
"(",
")",
";",
"OptForMinSize",
"=",
"MF",
"->",
"getFunction",
"(",
")",
"->",
"optForMinSize",
"(",
")... | [
"PreprocessISelDAG",
"-",
"This",
"hook",
"allows",
"targets",
"to",
"hack",
"on",
"the",
"graph",
"before",
"instruction",
"selection",
"starts",
"."
] | [
"X86",
"X86",
"\"OptForMinSize implies OptForSize\"",
"X86ISD::CALL",
"X86ISD::TC_RETURN",
"X86ISD::CALL",
"0",
"1",
"0",
"ISD::FP_ROUND",
"ISD::FP_EXTEND",
"0",
"0",
"X86",
"X86",
"X86",
"X86",
"X86",
"ISD::FP_EXTEND",
"1",
"ISD::FP_ROUND",
"0",
"ISD::EXTLOAD",
"0"
] | X86ISelDAGToDAG36 | PreprocessISelDAG | X86 | CPU | LLVM | 23,853 | 486 | 1 | [] |
[
"<s>",
"void",
"BlackfinRegisterInfo",
"::",
"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",
"."
] | [
"Blackfin",
"4",
"3",
"3",
"\"FP elimination on a non-leaf function is not supported\"",
"BF::SP",
"BF::P1",
"0x3ffff",
"BF::LINK",
"BF::PUSH",
"BF::RETS",
"BF::PUSH",
"BF::FP",
"BF::MOVE",
"BF::FP",
"BF::SP",
"BF::P1",
"BF::ADDpp",
"BF::SP",
"BF::SP",
"BF::P1"
] | BlackfinRegisterInfo3 | emitPrologue | Blackfin | DSP | LLVM | 23,854 | 323 | 1 | [] |
[
"<s>",
"bool",
"requiresRegisterScavenging",
"(",
"const",
"MachineFunction",
"&",
"MF",
")",
"const",
"override",
"{",
"return",
"true",
";",
"}",
"</s>"
] | [
"Returns",
"true",
"if",
"the",
"target",
"requires",
"(",
"and",
"can",
"make",
"use",
"of",
")",
"the",
"register",
"scavenger",
"."
] | [
"CAHP"
] | CAHPRegisterInfo | requiresRegisterScavenging | CAHP | CPU | LLVM | 23,855 | 15 | 1 | [] |
[
"<s>",
"static",
"tree",
"ix86_veclibabi_svml",
"(",
"combined_fn",
"fn",
",",
"tree",
"type_out",
",",
"tree",
"type_in",
")",
"{",
"char",
"name",
"[",
"20",
"]",
";",
"tree",
"fntype",
",",
"new_fndecl",
",",
"args",
";",
"unsigned",
"arity",
";",
"co... | [
"Handler",
"for",
"an",
"SVML-style",
"interface",
"to",
"a",
"library",
"with",
"vectorized",
"intrinsics",
"."
] | [
"i386",
"20",
"2",
"4",
"\"vmlsLn4\"",
"\"vmldLn2\"",
"4",
"\"vmls%s\"",
"10",
"1",
"\"vmld%s2\"",
"10",
"4",
"0x20",
"0",
"1",
"1",
"1",
"1",
"1"
] | i3865 | ix86_veclibabi_svml | i386 | CPU | GCC | 23,856 | 386 | 1 | [] |
[
"<s>",
"bool",
"HexagonOptAddrMode",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"{",
"bool",
"Changed",
"=",
"false",
";",
"auto",
"&",
"HST",
"=",
"MF",
".",
"getSubtarget",
"<",
"HexagonSubtarget",
">",
"(",
")",
";",
"auto",
"... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"Hexagon",
"Hexagon",
"Hexagon",
"\"==== [RefMap#]=====:\\n \"",
"\"\\n\""
] | HexagonOptAddrMode | runOnMachineFunction | Hexagon | DSP | LLVM | 23,857 | 280 | 1 | [] |
[
"<s>",
"int",
"symbol_mentioned_p",
"(",
"rtx",
"x",
")",
"{",
"const",
"char",
"*",
"fmt",
";",
"int",
"i",
";",
"if",
"(",
"GET_CODE",
"(",
"x",
")",
"==",
"SYMBOL_REF",
")",
"return",
"1",
";",
"if",
"(",
"GET_CODE",
"(",
"x",
")",
"==",
"UNSP... | [
"Return",
"TRUE",
"if",
"X",
"references",
"a",
"SYMBOL_REF",
"."
] | [
"microblaze",
"1",
"0",
"1",
"0",
"1",
"0",
"1",
"1",
"0"
] | microblaze | symbol_mentioned_p | microblaze | MPU | GCC | 23,858 | 150 | 1 | [] |
[
"<s>",
"StringRef",
"getPassName",
"(",
")",
"const",
"override",
"{",
"return",
"\"Teak Assembly Printer\"",
";",
"}",
"</s>"
] | [
"getPassName",
"-",
"Return",
"a",
"nice",
"clean",
"name",
"for",
"a",
"pass",
"."
] | [
"Teak",
"\"Teak Assembly Printer\""
] | TeakAsmPrinter | getPassName | Teak | DSP | LLVM | 23,859 | 11 | 1 | [] |
[
"<s>",
"virtual",
"ScheduleDAGInstrs",
"*",
"createMachineScheduler",
"(",
"MachineSchedContext",
"*",
"C",
")",
"const",
"{",
"const",
"AMDGPUSubtarget",
"&",
"ST",
"=",
"TM",
"->",
"getSubtarget",
"<",
"AMDGPUSubtarget",
">",
"(",
")",
";",
"if",
"(",
"ST",
... | [
"Create",
"an",
"instance",
"of",
"ScheduleDAGInstrs",
"to",
"be",
"run",
"within",
"the",
"standard",
"MachineScheduler",
"pass",
"for",
"this",
"function",
"and",
"target",
"at",
"the",
"current",
"optimization",
"level",
"."
] | [
"R600"
] | AMDGPUTargetMachine54 | createMachineScheduler | R600 | GPU | LLVM | 23,860 | 47 | 1 | [] |
[
"<s>",
"bool",
"R600VectorRegMerger",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"Fn",
")",
"{",
"TII",
"=",
"static_cast",
"<",
"const",
"R600InstrInfo",
"*",
">",
"(",
"Fn",
".",
"getSubtarget",
"(",
")",
".",
"getInstrInfo",
"(",
")",
")",... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"AMDGPU",
"R600",
"R600",
"AMDGPU::REG_SEQUENCE",
"R600_InstFlag::TEX_INST",
"1",
"SI",
"0",
"\"Trying to optimize \"",
"SI",
"\"Using common slots...\\n\"",
"SI",
"SI",
"SI",
"SI",
"SI",
"SI",
"SI",
"\"Using free slots...\\n\"",
"SI",
"SI",
"SI",
"SI",
"SI",
"SI",
... | R600OptimizeVectorRegisters (2) | runOnMachineFunction | AMDGPU | GPU | LLVM | 23,861 | 406 | 1 | [] |
[
"<s>",
"void",
"SystemZFrameLowering",
"::",
"emitEpilogue",
"(",
"MachineFunction",
"&",
"MF",
",",
"MachineBasicBlock",
"&",
"MBB",
")",
"const",
"{",
"MachineBasicBlock",
"::",
"iterator",
"MBBI",
"=",
"MBB",
".",
"getLastNonDebugInstr",
"(",
")",
";",
"auto"... | [
"Insert",
"epilog",
"code",
"into",
"the",
"function",
"."
] | [
"SystemZ",
"SystemZ",
"SystemZ",
"SystemZ",
"SystemZ",
"\"Can only insert epilogue into returning blocks\"",
"SystemZ::LMG",
"\"Expected to see callee-save register restore code\"",
"2",
"1",
"0x7fff8",
"\"No restore instruction available\"",
"1",
"SystemZ::R15D"
] | SystemZFrameLowering (2) | emitEpilogue | SystemZ | CPU | LLVM | 23,862 | 279 | 1 | [] |
[
"<s>",
"static",
"rtx_insn",
"*",
"pru_insert_loop_label_last",
"(",
"rtx_insn",
"*",
"last_insn",
",",
"rtx_code_label",
"*",
"label",
",",
"bool",
"shared",
")",
"{",
"rtx_insn",
"*",
"next",
",",
"*",
"prev",
";",
"int",
"count",
"=",
"0",
",",
"code",
... | [
"Figure",
"out",
"where",
"to",
"put",
"LABEL",
",",
"which",
"is",
"the",
"label",
"for",
"a",
"repeat",
"loop",
".",
"The",
"loop",
"ends",
"just",
"before",
"LAST_INSN",
".",
"If",
"SHARED",
",",
"insns",
"other",
"than",
"the",
"``",
"repeat",
"''"... | [
"pru",
"0",
"\"considering end of repeat loop at insn %d\\n\"",
"0",
"0",
"1",
"0",
"2",
"2",
"\"Adding %d nop%s inside loop\\n\\n\"",
"2",
"1",
"\"\"",
"\"s\"",
"2"
] | pru | pru_insert_loop_label_last | pru | CPU | GCC | 23,863 | 251 | 1 | [] |
[
"<s>",
"void",
"Mips16FrameLowering",
"::",
"emitEpilogue",
"(",
"MachineFunction",
"&",
"MF",
",",
"MachineBasicBlock",
"&",
"MBB",
")",
"const",
"{",
"MachineBasicBlock",
"::",
"iterator",
"MBBI",
"=",
"MBB",
".",
"getLastNonDebugInstr",
"(",
")",
";",
"Machin... | [
"Insert",
"epilog",
"code",
"into",
"the",
"function",
"."
] | [
"Mips",
"Mips",
"Mips",
"Mips",
"16",
"Mips::RestoreRaF16"
] | Mips16FrameLowering26 | emitEpilogue | Mips | CPU | LLVM | 23,864 | 119 | 1 | [] |
[
"<s>",
"static",
"bool",
"frv_pack_insn_p",
"(",
"rtx_insn",
"*",
"insn",
")",
"{",
"if",
"(",
"frv_packet",
".",
"num_insns",
"==",
"frv_packet",
".",
"issue_rate",
")",
"return",
"false",
";",
"if",
"(",
"frv_packet",
".",
"num_insns",
">",
"0",
"&&",
... | [
"Return",
"true",
"if",
"INSN",
"can",
"be",
"added",
"to",
"the",
"current",
"packet",
".",
"Update",
"the",
"DFA",
"state",
"on",
"success",
"."
] | [
"frv",
"0",
"0"
] | frv | frv_pack_insn_p | frv | VLIW | GCC | 23,865 | 90 | 1 | [] |
[
"<s>",
"bool",
"s390_logical_operator_ok_p",
"(",
"rtx",
"*",
"operands",
")",
"{",
"if",
"(",
"GET_CODE",
"(",
"operands",
"[",
"0",
"]",
")",
"==",
"MEM",
")",
"return",
"rtx_equal_p",
"(",
"operands",
"[",
"0",
"]",
",",
"operands",
"[",
"1",
"]",
... | [
"Check",
"whether",
"OPERANDS",
"are",
"OK",
"for",
"a",
"logical",
"operation",
"(",
"AND",
",",
"IOR",
",",
"XOR",
")",
"."
] | [
"s390",
"0",
"0",
"1",
"0",
"2"
] | s390 | s390_logical_operator_ok_p | s390 | MPU | GCC | 23,866 | 56 | 1 | [] |
[
"<s>",
"ArrayRef",
"<",
"std",
"::",
"pair",
"<",
"unsigned",
",",
"const",
"char",
"*",
">>",
"M68kInstrInfo",
"::",
"getSerializableDirectMachineOperandTargetFlags",
"(",
")",
"const",
"{",
"using",
"namespace",
"M68kII",
";",
"static",
"const",
"std",
"::",
... | [
"Return",
"an",
"array",
"that",
"contains",
"the",
"direct",
"target",
"flag",
"values",
"and",
"their",
"names",
"."
] | [
"M68k",
"M68k",
"M68k",
"\"m68k-absolute\"",
"\"m68k-pcrel\"",
"\"m68k-got\"",
"\"m68k-gotoff\"",
"\"m68k-gotpcrel\"",
"\"m68k-plt\""
] | M68kInstrInfo (2) | getSerializableDirectMachineOperandTargetFlags | M68k | MPU | LLVM | 23,867 | 84 | 1 | [] |
[
"<s>",
"void",
"getAnalysisUsage",
"(",
"AnalysisUsage",
"&",
"AU",
")",
"const",
"override",
"{",
"AU",
".",
"addRequired",
"<",
"LoopInfoWrapperPass",
">",
"(",
")",
";",
"AU",
".",
"addRequired",
"<",
"DominatorTreeWrapperPass",
">",
"(",
")",
";",
"AU",
... | [
"getAnalysisUsage",
"-",
"Subclasses",
"that",
"override",
"getAnalysisUsage",
"must",
"call",
"this",
"."
] | [
"AMDGPU"
] | SIAnnotateControlFlow11 | getAnalysisUsage | AMDGPU | GPU | LLVM | 23,868 | 54 | 1 | [] |
[
"<s>",
"void",
"X86TargetLowering",
"::",
"insertSSPDeclarations",
"(",
"Module",
"&",
"M",
")",
"const",
"{",
"if",
"(",
"!",
"Subtarget",
".",
"isTargetGlibc",
"(",
")",
")",
"TargetLowering",
"::",
"insertSSPDeclarations",
"(",
"M",
")",
";",
"}",
"</s>"
... | [
"Inserts",
"necessary",
"declarations",
"for",
"SSP",
"(",
"stack",
"protection",
")",
"purpose",
"."
] | [
"X86",
"X86"
] | X86ISelLowering148 | insertSSPDeclarations | X86 | CPU | LLVM | 23,869 | 28 | 1 | [] |
[
"<s>",
"bool",
"SIInstrInfo",
"::",
"isLegalRegOperand",
"(",
"const",
"MachineRegisterInfo",
"&",
"MRI",
",",
"const",
"MCOperandInfo",
"&",
"OpInfo",
",",
"const",
"MachineOperand",
"&",
"MO",
")",
"const",
"{",
"if",
"(",
"!",
"MO",
".",
"isReg",
"(",
"... | [
"Check",
"if",
"MO",
"(",
"a",
"register",
"operand",
")",
"is",
"a",
"legal",
"register",
"for",
"the",
"given",
"operand",
"description",
"."
] | [
"AMDGPU",
"SI"
] | SIInstrInfo (3) | isLegalRegOperand | AMDGPU | GPU | LLVM | 23,870 | 89 | 1 | [] |
[
"<s>",
"bool",
"HexagonTargetObjectFile",
"::",
"isGlobalInSmallSection",
"(",
"const",
"GlobalObject",
"*",
"GO",
",",
"const",
"TargetMachine",
"&",
"TM",
")",
"const",
"{",
"DEBUG",
"(",
"dbgs",
"(",
")",
"<<",
"\"Checking if value is in small-data, -G\"",
"<<",
... | [
"Return",
"true",
"if",
"this",
"global",
"address",
"should",
"be",
"placed",
"into",
"small",
"data/bss",
"section",
"."
] | [
"Hexagon",
"Hexagon",
"\"Checking if value is in small-data, -G\"",
"\": \\\"\"",
"\"\\\": \"",
"\"no, not a global variable\\n\"",
"\"yes\"",
"\"no\"",
"\", has section: \"",
"\"no, is a constant\\n\"",
"\"no, is static\\n\"",
"\"no, is an array\\n\"",
"\"no, has opaque type\\n\"",
"0",
... | HexagonTargetObjectFile10 | isGlobalInSmallSection | Hexagon | DSP | LLVM | 23,871 | 341 | 1 | [] |
[
"<s>",
"void",
"R600AsmPrinter",
"::",
"emitInstruction",
"(",
"const",
"MachineInstr",
"*",
"MI",
")",
"{",
"const",
"R600Subtarget",
"&",
"STI",
"=",
"MF",
"->",
"getSubtarget",
"<",
"R600Subtarget",
">",
"(",
")",
";",
"R600MCInstLower",
"MCInstLowering",
"... | [
"Targets",
"should",
"implement",
"this",
"to",
"emit",
"instructions",
"."
] | [
"AMDGPU",
"R600",
"R600",
"R600",
"R600",
"\"Illegal instruction detected: \""
] | AMDGPUMCInstLower20 | emitInstruction | AMDGPU | GPU | LLVM | 23,872 | 183 | 1 | [] |
[
"<s>",
"bool",
"ARMAsmBackend",
"::",
"fixupNeedsRelaxation",
"(",
"const",
"MCFixup",
"&",
"Fixup",
",",
"uint64_t",
"Value",
",",
"const",
"MCInstFragment",
"*",
"DF",
",",
"const",
"MCAsmLayout",
"&",
"Layout",
")",
"const",
"{",
"switch",
"(",
"(",
"unsi... | [
"Simple",
"predicate",
"for",
"targets",
"where",
"!",
"Resolved",
"implies",
"requiring",
"relaxation",
"."
] | [
"ARM",
"ARM",
"ARM::fixup_arm_thumb_br",
"4",
"2046",
"2048",
"ARM::fixup_arm_thumb_bcc",
"4",
"254",
"256",
"ARM::fixup_thumb_adr_pcrel_10",
"ARM::fixup_arm_thumb_cp",
"4",
"1020",
"0",
"3",
"\"Unexpected fixup kind in fixupNeedsRelaxation()!\""
] | ARMAsmBackend13 | fixupNeedsRelaxation | ARM | CPU | LLVM | 23,873 | 133 | 1 | [] |
[
"<s>",
"void",
"ARMConstantIslands",
"::",
"verify",
"(",
"MachineFunction",
"&",
"Fn",
")",
"{",
"assert",
"(",
"BBOffsets",
".",
"size",
"(",
")",
"==",
"BBSizes",
".",
"size",
"(",
")",
")",
";",
"for",
"(",
"unsigned",
"i",
"=",
"1",
",",
"e",
... | [
"Check",
"if",
"this",
"register",
"bank",
"is",
"valid",
"."
] | [
"ARM",
"ARM",
"1",
"1",
"1",
"ARM::CONSTPOOL_ENTRY",
"4",
"0",
"4",
"0",
"4",
"0",
"4",
"0"
] | ARMConstantIslandPass18 | verify | ARM | CPU | LLVM | 23,874 | 194 | 1 | [] |
[
"<s>",
"static",
"DItype",
"local_fixunsdfdi",
"(",
"DFtype",
"a",
")",
"{",
"USItype",
"hi",
",",
"lo",
";",
"hi",
"=",
"a",
"/",
"(",
"(",
"(",
"UDItype",
")",
"1",
")",
"<<",
"(",
"sizeof",
"(",
"SItype",
")",
"*",
"8",
")",
")",
";",
"lo",
... | [
"This",
"version",
"is",
"needed",
"to",
"prevent",
"recursion",
";",
"fixunsdfdi",
"in",
"libgcc",
"calls",
"fixdfdi",
",",
"which",
"in",
"turn",
"calls",
"calls",
"fixunsdfdi",
"."
] | [
"rs6000",
"1",
"8",
"1",
"8",
"8"
] | ppc64-fp | local_fixunsdfdi | rs6000 | CPU | GCC | 23,875 | 86 | 1 | [] |
[
"<s>",
"int",
"bfin_hard_regno_rename_ok",
"(",
"unsigned",
"int",
"old_reg",
"ATTRIBUTE_UNUSED",
",",
"unsigned",
"int",
"new_reg",
")",
"{",
"if",
"(",
"funkind",
"(",
"TREE_TYPE",
"(",
"current_function_decl",
")",
")",
"!=",
"SUBROUTINE",
"&&",
"!",
"df_regs... | [
"Return",
"nonzero",
"if",
"register",
"OLD_REG",
"can",
"be",
"renamed",
"to",
"register",
"NEW_REG",
"."
] | [
"bfin",
"0",
"1"
] | bfin | bfin_hard_regno_rename_ok | bfin | DSP | GCC | 23,876 | 38 | 1 | [] |
[
"<s>",
"MVT",
"AMDGPUTargetLowering",
"::",
"getVectorIdxTy",
"(",
")",
"const",
"{",
"return",
"MVT",
"::",
"i32",
";",
"}",
"</s>"
] | [
"Returns",
"the",
"type",
"to",
"be",
"used",
"for",
"the",
"index",
"operand",
"of",
":",
"ISD",
":",
":INSERT_VECTOR_ELT",
",",
"ISD",
":",
":EXTRACT_VECTOR_ELT",
",",
"ISD",
":",
":INSERT_SUBVECTOR",
",",
"and",
"ISD",
":",
":EXTRACT_SUBVECTOR",
"."
] | [
"R600",
"MVT::i32"
] | AMDGPUISelLowering100 | getVectorIdxTy | R600 | GPU | LLVM | 23,877 | 14 | 1 | [] |
[
"<s>",
"bool",
"SPUAsmPrinter",
"::",
"PrintAsmMemoryOperand",
"(",
"const",
"MachineInstr",
"*",
"MI",
",",
"unsigned",
"OpNo",
",",
"unsigned",
"AsmVariant",
",",
"const",
"char",
"*",
"ExtraCode",
")",
"{",
"if",
"(",
"ExtraCode",
"&&",
"ExtraCode",
"[",
... | [
"Print",
"the",
"specified",
"operand",
"of",
"MI",
",",
"an",
"INLINEASM",
"instruction",
",",
"using",
"the",
"specified",
"assembler",
"variant",
"as",
"an",
"address",
"."
] | [
"CellSPU",
"SPU",
"0"
] | SPUAsmPrinter1 | PrintAsmMemoryOperand | CellSPU | MPU | LLVM | 23,878 | 45 | 1 | [] |
[
"<s>",
"static",
"rtx",
"nvptx_expand_worker_addr",
"(",
"tree",
"exp",
",",
"rtx",
"target",
",",
"machine_mode",
"ARG_UNUSED",
"(",
"mode",
")",
",",
"int",
"ignore",
")",
"{",
"if",
"(",
"ignore",
")",
"return",
"target",
";",
"unsigned",
"align",
"=",
... | [
"Worker",
"reduction",
"address",
"expander",
"."
] | [
"nvptx",
"2",
"0",
"1"
] | nvptx3 | nvptx_expand_worker_addr | nvptx | GPU | GCC | 23,879 | 135 | 1 | [] |
[
"<s>",
"void",
"applyFixup",
"(",
"MCFixup",
"const",
"&",
",",
"char",
"*",
",",
"unsigned",
",",
"uint64_t",
",",
"bool",
")",
"const",
"override",
"{",
"return",
";",
"}",
"</s>"
] | [
"Apply",
"the",
"Value",
"for",
"given",
"Fixup",
"into",
"the",
"provided",
"data",
"fragment",
",",
"at",
"the",
"offset",
"specified",
"by",
"the",
"fixup",
"and",
"following",
"the",
"fixup",
"kind",
"as",
"appropriate",
"."
] | [
"Hexagon"
] | HexagonAsmBackend | applyFixup | Hexagon | DSP | LLVM | 23,880 | 22 | 1 | [] |
[
"<s>",
"bool",
"CSKYAsmParser",
"::",
"ParseDirective",
"(",
"AsmToken",
"DirectiveID",
")",
"{",
"StringRef",
"IDVal",
"=",
"DirectiveID",
".",
"getString",
"(",
")",
";",
"if",
"(",
"IDVal",
"==",
"\".csky_attribute\"",
")",
"return",
"parseDirectiveAttribute",
... | [
"ParseDirective",
"-",
"Parse",
"a",
"target",
"specific",
"assembler",
"directive",
"This",
"method",
"is",
"deprecated",
",",
"use",
"'parseDirective",
"'",
"instead",
"."
] | [
"CSKY",
"CSKY",
"\".csky_attribute\""
] | CSKYAsmParser1 | ParseDirective | CSKY | CPU | LLVM | 23,881 | 33 | 1 | [] |
[
"<s>",
"void",
"X86InstrInfo",
"::",
"replaceBranchWithTailCall",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"SmallVectorImpl",
"<",
"MachineOperand",
">",
"&",
"BranchCond",
",",
"const",
"MachineInstr",
"&",
"TailCall",
")",
"const",
"{",
"assert",
"(",
"canMake... | [
"Replace",
"the",
"conditional",
"branch",
"in",
"MBB",
"with",
"a",
"conditional",
"tail",
"call",
"."
] | [
"X86",
"X86",
"0",
"\"Can't find the branch to replace!\"",
"X86::CondCode",
"X86::getCondFromBranch",
"1",
"0",
"X86::TCRETURNdi",
"X86::TCRETURNdicc",
"X86::TCRETURNdi64cc",
"0",
"0",
"0",
"8"
] | X86InstrInfo (2)3 | replaceBranchWithTailCall | X86 | CPU | LLVM | 23,882 | 295 | 1 | [] |
[
"<s>",
"const",
"uint32_t",
"*",
"NyuziRegisterInfo",
"::",
"getCallPreservedMask",
"(",
"const",
"MachineFunction",
"&",
"MF",
",",
"CallingConv",
"::",
"ID",
")",
"const",
"{",
"return",
"NyuziCSR_RegMask",
";",
"}",
"</s>"
] | [
"Return",
"a",
"mask",
"of",
"call-preserved",
"registers",
"for",
"the",
"given",
"calling",
"convention",
"on",
"the",
"current",
"function",
"."
] | [
"Nyuzi",
"Nyuzi",
"Nyuzi"
] | NyuziRegisterInfo | getCallPreservedMask | Nyuzi | GPU | LLVM | 23,883 | 22 | 1 | [] |
[
"<s>",
"bool",
"SIInsertWaits",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"{",
"bool",
"Changes",
"=",
"false",
";",
"TII",
"=",
"static_cast",
"<",
"const",
"SIInstrInfo",
"*",
">",
"(",
"MF",
".",
"getSubtarget",
"(",
")",
"."... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"AMDGPU",
"SI",
"SI",
"SI",
"0",
"0",
"AMDGPU::S_BARRIER"
] | SIInsertWaits | runOnMachineFunction | AMDGPU | GPU | LLVM | 23,884 | 245 | 1 | [] |
[
"<s>",
"static",
"bool",
"riscv_compressed_reg_p",
"(",
"int",
"regno",
")",
"{",
"return",
"(",
"TARGET_RVC",
"&&",
"(",
"IN_RANGE",
"(",
"regno",
",",
"GP_REG_FIRST",
"+",
"8",
",",
"GP_REG_FIRST",
"+",
"15",
")",
"||",
"IN_RANGE",
"(",
"regno",
",",
"... | [
"Return",
"true",
"if",
"hard",
"reg",
"REGNO",
"can",
"be",
"used",
"in",
"compressed",
"instructions",
"."
] | [
"riscv",
"8",
"15",
"8",
"15"
] | riscv | riscv_compressed_reg_p | riscv | CPU | GCC | 23,885 | 42 | 1 | [] |
[
"<s>",
"static",
"void",
"ix86_expand_ashl_const",
"(",
"rtx",
"operand",
",",
"int",
"count",
",",
"enum",
"machine_mode",
"mode",
")",
"{",
"if",
"(",
"count",
"==",
"1",
")",
"{",
"emit_insn",
"(",
"(",
"mode",
"==",
"DImode",
"?",
"gen_addsi3",
":",
... | [
"Helper",
"function",
"of",
"ix86_split_ashl",
"used",
"to",
"generate",
"an",
"SImode/DImode",
"left",
"shift",
"by",
"a",
"constant",
",",
"either",
"using",
"a",
"single",
"shift",
"or",
"a",
"sequence",
"of",
"add",
"instructions",
"."
] | [
"i386",
"1",
"0"
] | i3863 | ix86_expand_ashl_const | i386 | CPU | GCC | 23,886 | 124 | 1 | [] |
[
"<s>",
"StringRef",
"getPassName",
"(",
")",
"const",
"override",
"{",
"return",
"\"TVM Register Numbering\"",
";",
"}",
"</s>"
] | [
"getPassName",
"-",
"Return",
"a",
"nice",
"clean",
"name",
"for",
"a",
"pass",
"."
] | [
"TVM",
"\"TVM Register Numbering\""
] | TVMRegNumbering | getPassName | TVM | Virtual ISA | LLVM | 23,887 | 11 | 1 | [] |
[
"<s>",
"static",
"void",
"avr_asm_init_sections",
"(",
"void",
")",
"{",
"readonly_data_section",
"->",
"unnamed",
".",
"callback",
"=",
"avr_output_data_section_asm_op",
";",
"data_section",
"->",
"unnamed",
".",
"callback",
"=",
"avr_output_data_section_asm_op",
";",
... | [
"Implement",
"`",
"TARGET_ASM_INIT_SECTIONS",
"'",
"."
] | [
"avr"
] | avr6 | avr_asm_init_sections | avr | MPU | GCC | 23,888 | 32 | 1 | [] |
[
"<s>",
"unsigned",
"ARMFastISel",
"::",
"fastEmitInst_ri",
"(",
"unsigned",
"MachineInstOpcode",
",",
"const",
"TargetRegisterClass",
"*",
"RC",
",",
"unsigned",
"Op0",
",",
"uint64_t",
"Imm",
")",
"{",
"unsigned",
"ResultReg",
"=",
"createResultReg",
"(",
"RC",
... | [
"Emit",
"a",
"MachineInstr",
"with",
"a",
"register",
"operand",
",",
"an",
"immediate",
",",
"and",
"a",
"result",
"register",
"in",
"the",
"given",
"register",
"class",
"."
] | [
"ARM",
"ARM",
"1",
"1",
"0"
] | ARMFastISel24 | fastEmitInst_ri | ARM | CPU | LLVM | 23,889 | 168 | 1 | [] |
[
"<s>",
"static",
"int",
"vfp_emit_fstmd",
"(",
"int",
"base_reg",
",",
"int",
"count",
")",
"{",
"rtx",
"par",
";",
"rtx",
"dwarf",
";",
"rtx",
"tmp",
",",
"reg",
";",
"int",
"i",
";",
"if",
"(",
"count",
"==",
"2",
"&&",
"!",
"arm_arch6",
")",
"... | [
"Emit",
"RTL",
"to",
"save",
"block",
"of",
"VFP",
"register",
"pairs",
"to",
"the",
"stack",
".",
"Returns",
"the",
"number",
"of",
"bytes",
"pushed",
"."
] | [
"arm",
"2",
"3",
"2",
"16",
"32",
"16",
"16",
"1",
"2",
"0",
"0",
"8",
"1",
"8",
"1",
"0",
"0",
"1",
"0",
"1",
"1",
"2",
"0",
"8",
"1",
"0",
"1",
"1",
"8"
] | arm4 | vfp_emit_fstmd | arm | CPU | GCC | 23,890 | 373 | 1 | [] |
[
"<s>",
"if",
"(",
"!",
"TII",
"->",
"fitsConstReadLimitations",
"(",
"CurrentPacketMIs",
")",
")",
"{",
"LLVM_DEBUG",
"(",
"{",
"dbgs",
"(",
")",
"<<",
"\"Couldn't pack :\\n\"",
";",
"MI",
".",
"dump",
"(",
")",
";",
"dbgs",
"(",
")",
"<<",
"\"with the f... | [
"Same",
"but",
"using",
"const",
"index",
"set",
"instead",
"of",
"MI",
"set",
"."
] | [
"AMDGPU",
"\"Couldn't pack :\\n\"",
"\"with the following packets :\\n\"",
"0",
"1",
"\"\\n\"",
"\"because of Consts read limitations\\n\""
] | R600Packetizer (2)1 | fitsConstReadLimitations | AMDGPU | GPU | LLVM | 23,891 | 80 | 1 | [] |
[
"<s>",
"static",
"void",
"ix86_avx256_split_vector_move_misalign",
"(",
"rtx",
"op0",
",",
"rtx",
"op1",
")",
"{",
"rtx",
"m",
";",
"rtx",
"(",
"*",
"extract",
")",
"(",
"rtx",
",",
"rtx",
",",
"rtx",
")",
";",
"rtx",
"(",
"*",
"load_unaligned",
")",
... | [
"Split",
"32-byte",
"AVX",
"unaligned",
"load",
"and",
"store",
"if",
"needed",
"."
] | [
"i386",
"0",
"16",
"0",
"16"
] | i3865 | ix86_avx256_split_vector_move_misalign | i386 | CPU | GCC | 23,892 | 324 | 1 | [] |
[
"<s>",
"const",
"RegisterBank",
"&",
"ARMRegisterBankInfo",
"::",
"getRegBankFromRegClass",
"(",
"const",
"TargetRegisterClass",
"&",
"RC",
",",
"LLT",
")",
"const",
"{",
"using",
"namespace",
"ARM",
";",
"switch",
"(",
"RC",
".",
"getID",
"(",
")",
")",
"{"... | [
"Get",
"a",
"register",
"bank",
"that",
"covers",
"RC",
"."
] | [
"ARM",
"ARM",
"ARM",
"ARM::GPRRegBankID",
"ARM::FPRRegBankID",
"\"Unsupported register kind\"",
"\"Switch should handle all register classes\""
] | ARMRegisterBankInfo17 | getRegBankFromRegClass | ARM | CPU | LLVM | 23,893 | 122 | 1 | [] |
[
"<s>",
"void",
"BPFTargetMachine",
"::",
"registerPassBuilderCallbacks",
"(",
"PassBuilder",
"&",
"PB",
")",
"{",
"PB",
".",
"registerPipelineStartEPCallback",
"(",
"[",
"=",
"]",
"(",
"ModulePassManager",
"&",
"MPM",
",",
"OptimizationLevel",
")",
"{",
"FunctionP... | [
"Invoke",
"the",
"PassBuilder",
"callback",
"registration",
"."
] | [
"BPF",
"BPF",
"BPF",
"BPF",
"BPF",
"BPF"
] | BPFTargetMachine | registerPassBuilderCallbacks | BPF | Virtual ISA | LLVM | 23,894 | 138 | 1 | [] |
[
"<s>",
"unsigned",
"HexagonInstrInfo",
"::",
"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... | [
"Hexagon",
"Hexagon",
"Hexagon::L2_loadri_io",
"Hexagon::L2_loadrd_io",
"Hexagon::V6_vL32b_ai",
"Hexagon::V6_vL32b_nt_ai",
"Hexagon::V6_vL32Ub_ai",
"Hexagon::LDriw_pred",
"Hexagon::LDriw_ctr",
"Hexagon::PS_vloadrq_ai",
"Hexagon::PS_vloadrw_ai",
"Hexagon::PS_vloadrw_nt_ai",
"1",
"0",
"2",... | HexagonInstrInfo (2)2 | isLoadFromStackSlot | Hexagon | DSP | LLVM | 23,895 | 256 | 1 | [] |
[
"<s>",
"static",
"void",
"riscv_reorg",
"(",
"void",
")",
"{",
"if",
"(",
"TARGET_SAVE_RESTORE",
")",
"riscv_remove_unneeded_save_restore_calls",
"(",
")",
";",
"}",
"</s>"
] | [
"Implement",
"TARGET_MACHINE_DEPENDENT_REORG",
"."
] | [
"riscv"
] | riscv | riscv_reorg | riscv | CPU | GCC | 23,896 | 16 | 1 | [] |
[
"<s>",
"bool",
"SITargetLowering",
"::",
"allowsMisalignedMemoryAccesses",
"(",
"EVT",
"VT",
",",
"unsigned",
"AddrSpace",
",",
"unsigned",
"Align",
",",
"bool",
"*",
"IsFast",
")",
"const",
"{",
"if",
"(",
"IsFast",
")",
"*",
"IsFast",
"=",
"false",
";",
... | [
"Returns",
"true",
"if",
"the",
"target",
"allows",
"unaligned",
"memory",
"accesses",
"of",
"the",
"specified",
"type",
"."
] | [
"AMDGPU",
"SI",
"MVT::Other",
"MVT::Other",
"1024",
"16",
"AMDGPU",
"AMDGPU",
"4",
"0",
"AMDGPU",
"4",
"0",
"MVT::i32",
"MVT::i32",
"4",
"0"
] | SIISelLowering121 | allowsMisalignedMemoryAccesses | AMDGPU | GPU | LLVM | 23,897 | 185 | 1 | [] |
[
"<s>",
"void",
"GCNPassConfig",
"::",
"addPreRegAlloc",
"(",
")",
"{",
"if",
"(",
"getOptLevel",
"(",
")",
">",
"CodeGenOpt",
"::",
"None",
")",
"{",
"insertPass",
"(",
"&",
"MachineSchedulerID",
",",
"&",
"SILoadStoreOptimizerID",
")",
";",
"insertPass",
"(... | [
"This",
"method",
"may",
"be",
"implemented",
"by",
"targets",
"that",
"want",
"to",
"run",
"passes",
"immediately",
"before",
"register",
"allocation",
"."
] | [
"AMDGPU",
"SI",
"SI",
"SI"
] | AMDGPUTargetMachine84 | addPreRegAlloc | AMDGPU | GPU | LLVM | 23,898 | 52 | 1 | [] |
[
"<s>",
"static",
"rtx",
"function_arg_record_value",
"(",
"const_tree",
"type",
",",
"machine_mode",
"mode",
",",
"int",
"slotno",
",",
"bool",
"named",
",",
"int",
"regbase",
")",
"{",
"const",
"int",
"size",
"=",
"int_size_in_bytes",
"(",
"type",
")",
";",... | [
"Used",
"by",
"function_arg",
"and",
"sparc_function_value_1",
"to",
"implement",
"the",
"complex",
"conventions",
"of",
"the",
"64-bit",
"ABI",
"for",
"passing",
"and",
"returning",
"structures",
".",
"Return",
"an",
"expression",
"valid",
"as",
"a",
"return",
... | [
"sparc",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"0"
] | sparc | function_arg_record_value | sparc | CPU | GCC | 23,899 | 255 | 1 | [] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.