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>",
"SDValue",
"rvexTargetLowering",
"::",
"PerformDAGCombine",
"(",
"SDNode",
"*",
"N",
",",
"DAGCombinerInfo",
"&",
"DCI",
")",
"const",
"{",
"SelectionDAG",
"&",
"DAG",
"=",
"DCI",
".",
"DAG",
";",
"unsigned",
"opc",
"=",
"N",
"->",
"getOpcode",
"(",... | [
"This",
"method",
"will",
"be",
"invoked",
"for",
"all",
"target",
"nodes",
"and",
"for",
"any",
"target-independent",
"nodes",
"that",
"the",
"target",
"has",
"registered",
"with",
"invoke",
"it",
"for",
"."
] | [
"rvex",
"rvex",
"ISD::SDIVREM",
"ISD::UDIVREM"
] | rvexISelLowering | PerformDAGCombine | rvex | VLIW | LLVM | 11,400 | 70 | 1 | [] |
[
"<s>",
"virtual",
"const",
"char",
"*",
"getPassName",
"(",
")",
"const",
"{",
"return",
"\"ARCompact Assembly Printer\"",
";",
"}",
"</s>"
] | [
"getPassName",
"-",
"Return",
"a",
"nice",
"clean",
"name",
"for",
"a",
"pass",
"."
] | [
"ARCompact",
"\"ARCompact Assembly Printer\""
] | ARCompactAsmPrinter | getPassName | ARCompact | MPU | LLVM | 11,401 | 13 | 1 | [] |
[
"<s>",
"unsigned",
"getBaseReg",
"(",
")",
"{",
"return",
"BaseReg",
";",
"}",
"</s>"
] | [
"Get",
"the",
"base",
"register",
"of",
"the",
"pointer",
"value",
"."
] | [
"X86"
] | X86AsmParser (2) | getBaseReg | X86 | CPU | LLVM | 11,402 | 9 | 1 | [] |
[
"<s>",
"static",
"bool",
"check_required_extensions",
"(",
"location_t",
"location",
",",
"tree",
"fndecl",
",",
"aarch64_feature_flags",
"required_extensions",
")",
"{",
"auto",
"missing_extensions",
"=",
"required_extensions",
"&",
"~",
"aarch64_asm_isa_flags",
";",
"... | [
"Check",
"whether",
"all",
"the",
"RVV_REQUIRE_",
"*",
"values",
"in",
"REQUIRED_EXTENSIONS",
"are",
"enabled",
"."
] | [
"aarch64",
"0",
"0"
] | aarch64-sve-builtins3 | check_required_extensions | aarch64 | CPU | GCC | 11,403 | 117 | 1 | [] |
[
"<s>",
"virtual",
"const",
"char",
"*",
"getPassName",
"(",
")",
"const",
"{",
"return",
"\"Mips Machine Code Emitter\"",
";",
"}",
"</s>"
] | [
"getPassName",
"-",
"Return",
"a",
"nice",
"clean",
"name",
"for",
"a",
"pass",
"."
] | [
"Mips",
"\"Mips Machine Code Emitter\""
] | MipsCodeEmitter | getPassName | Mips | CPU | LLVM | 11,404 | 13 | 1 | [] |
[
"<s>",
"bool",
"HexagonTargetLowering",
"::",
"isOffsetFoldingLegal",
"(",
"const",
"GlobalAddressSDNode",
"*",
"GA",
")",
"const",
"{",
"return",
"HTM",
".",
"getRelocationModel",
"(",
")",
"==",
"Reloc",
"::",
"Static",
";",
"}",
"</s>"
] | [
"Return",
"true",
"if",
"folding",
"a",
"constant",
"offset",
"with",
"the",
"given",
"GlobalAddress",
"is",
"legal",
"."
] | [
"Hexagon",
"Hexagon"
] | HexagonISelLowering (2) | isOffsetFoldingLegal | Hexagon | DSP | LLVM | 11,405 | 24 | 1 | [] |
[
"<s>",
"void",
"SHUXIRegisterInfo",
"::",
"eliminateFrameIndex",
"(",
"MachineBasicBlock",
"::",
"iterator",
"II",
",",
"int",
"SPAdj",
",",
"unsigned",
"FIOperandNum",
",",
"RegScavenger",
"*",
"RS",
")",
"const",
"{",
"MachineInstr",
"&",
"MI",
"=",
"*",
"II... | [
"This",
"method",
"must",
"be",
"overriden",
"to",
"eliminate",
"abstract",
"frame",
"indices",
"from",
"instructions",
"which",
"may",
"use",
"them",
"."
] | [
"SHUXI",
"SHUXI",
"0",
"\"Instruction not supported\"",
"SHUXI::LD",
"SHUXI::ST",
"SHUXI::ADDri",
"1",
"4",
"\"Offset must be aligned to 4 bytes because memory is \"",
"\"32-bit word addressable only\"",
"SHUXI::SP"
] | SHUXIRegisterInfo | eliminateFrameIndex | SHUXI | CPU | LLVM | 11,406 | 193 | 1 | [] |
[
"<s>",
"unsigned",
"X86FrameLowering",
"::",
"getWinEHParentFrameOffset",
"(",
"const",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"unsigned",
"Offset",
"=",
"16",
";",
"Offset",
"+=",
"SlotSize",
";",
"Offset",
"+=",
"MF",
".",
"getInfo",
"<",
"X86Machi... | [
"The",
"parent",
"frame",
"offset",
"(",
"aka",
"dispFrame",
")",
"is",
"only",
"used",
"on",
"X86_64",
"to",
"retrieve",
"the",
"parent",
"'s",
"frame",
"pointer",
"."
] | [
"X86",
"X86",
"16",
"X86"
] | X86FrameLowering (2)2 | getWinEHParentFrameOffset | X86 | CPU | LLVM | 11,407 | 47 | 1 | [] |
[
"<s>",
"void",
"gas_output_ascii",
"(",
"FILE",
"*",
"file",
",",
"const",
"char",
"*",
"str",
",",
"size_t",
"length",
")",
"{",
"const",
"unsigned",
"char",
"*",
"_ascii_bytes",
"=",
"(",
"const",
"unsigned",
"char",
"*",
")",
"str",
";",
"const",
"u... | [
"The",
"routine",
"used",
"to",
"output",
"sequences",
"of",
"byte",
"values",
".",
"We",
"use",
"a",
"special",
"version",
"of",
"this",
"for",
"most",
"svr4",
"targets",
"because",
"doing",
"so",
"makes",
"the",
"generated",
"assembly",
"code",
"more",
"... | [
"avr",
"0",
"60",
"\"\\\"\\n\"",
"0",
"0",
"\"\\\"\\n\"",
"0",
"0",
"\"\\t.ascii\\t\\\"\"",
"0",
"1",
"\"\\\\%03o\"",
"4",
"2",
"0",
"\"\\\"\\n\""
] | avr3 | gas_output_ascii | avr | MPU | GCC | 11,408 | 260 | 1 | [] |
[
"<s>",
"void",
"getAnalysisUsage",
"(",
"AnalysisUsage",
"&",
"AU",
")",
"const",
"override",
"{",
"MachineFunctionPass",
"::",
"getAnalysisUsage",
"(",
"AU",
")",
";",
"AU",
".",
"addRequired",
"<",
"MachineModuleInfo",
">",
"(",
")",
";",
"AU",
".",
"addPr... | [
"getAnalysisUsage",
"-",
"Subclasses",
"that",
"override",
"getAnalysisUsage",
"must",
"call",
"this",
"."
] | [
"X86"
] | X86RetpolineThunks | getAnalysisUsage | X86 | CPU | LLVM | 11,409 | 36 | 1 | [] |
[
"<s>",
"SDValue",
"AArch64TargetLowering",
"::",
"PerformDAGCombine",
"(",
"SDNode",
"*",
"N",
",",
"DAGCombinerInfo",
"&",
"DCI",
")",
"const",
"{",
"switch",
"(",
"N",
"->",
"getOpcode",
"(",
")",
")",
"{",
"default",
":",
"break",
";",
"case",
"ISD",
... | [
"This",
"method",
"will",
"be",
"invoked",
"for",
"all",
"target",
"nodes",
"and",
"for",
"any",
"target-independent",
"nodes",
"that",
"the",
"target",
"has",
"registered",
"with",
"invoke",
"it",
"for",
"."
] | [
"AArch64",
"AArch64",
"ISD::AND",
"ISD::ATOMIC_FENCE",
"ISD::ATOMIC_STORE",
"ISD::OR",
"ISD::SRA"
] | AArch64ISelLowering160 | PerformDAGCombine | AArch64 | CPU | LLVM | 11,410 | 102 | 1 | [] |
[
"<s>",
"void",
"AMDGPUPassConfig",
"::",
"addIRPasses",
"(",
")",
"{",
"const",
"AMDGPUTargetMachine",
"&",
"TM",
"=",
"getAMDGPUTargetMachine",
"(",
")",
";",
"disablePass",
"(",
"&",
"StackMapLivenessID",
")",
";",
"disablePass",
"(",
"&",
"FuncletLayoutID",
"... | [
"Add",
"common",
"target",
"configurable",
"passes",
"that",
"perform",
"LLVM",
"IR",
"to",
"IR",
"transforms",
"following",
"machine",
"independent",
"optimization",
"."
] | [
"AMDGPU",
"AMDGPU",
"AMDGPU",
"AMDGPU",
"AMDGPU",
"AMDGPU",
"AMDGPU",
"AMDGPU",
"AMDGPU",
"AMDGPU",
"R600",
"AMDGPU",
"AMDGPU",
"AMDGPU",
"AMDGPU",
"AMDGPU",
"AMDGPU",
"AMDGPU",
"AMDGPU"
] | AMDGPUTargetMachine (2)1 | addIRPasses | AMDGPU | GPU | LLVM | 11,411 | 320 | 1 | [] |
[
"<s>",
"static",
"int",
"ix86_mode_needed",
"(",
"int",
"entity",
",",
"rtx_insn",
"*",
"insn",
")",
"{",
"switch",
"(",
"entity",
")",
"{",
"case",
"X86_DIRFLAG",
":",
"return",
"ix86_dirflag_mode_needed",
"(",
"insn",
")",
";",
"case",
"AVX_U128",
":",
"... | [
"Return",
"needed",
"mode",
"for",
"entity",
"in",
"optimize_mode_switching",
"pass",
"."
] | [
"i386",
"0"
] | i3868 | ix86_mode_needed | i386 | CPU | GCC | 11,412 | 63 | 1 | [] |
[
"<s>",
"bool",
"GCNPassConfig",
"::",
"addPreISel",
"(",
")",
"{",
"AMDGPUPassConfig",
"::",
"addPreISel",
"(",
")",
";",
"addPass",
"(",
"createAMDGPULateCodeGenPreparePass",
"(",
")",
")",
";",
"if",
"(",
"EnableAtomicOptimizations",
")",
"{",
"addPass",
"(",
... | [
"{",
"{",
"@",
"For",
"GlobalISel"
] | [
"AMDGPU",
"AMDGPU",
"AMDGPU",
"AMDGPU",
"AMDGPU",
"AMDGPU",
"SI"
] | AMDGPUTargetMachine74 | addPreISel | AMDGPU | GPU | LLVM | 11,413 | 113 | 1 | [] |
[
"<s>",
"void",
"ix86_expand_fp_absneg_operator",
"(",
"enum",
"rtx_code",
"code",
",",
"enum",
"machine_mode",
"mode",
",",
"rtx",
"operands",
"[",
"]",
")",
"{",
"rtx",
"mask",
",",
"set",
",",
"use",
",",
"clob",
",",
"dst",
",",
"src",
";",
"bool",
... | [
"Generate",
"code",
"for",
"floating",
"point",
"ABS",
"or",
"NEG",
"."
] | [
"i386",
"0",
"1",
"3",
"0",
"0"
] | i3863 | ix86_expand_fp_absneg_operator | i386 | CPU | GCC | 11,414 | 300 | 1 | [] |
[
"<s>",
"static",
"machine_mode",
"mips_preferred_simd_mode",
"(",
"scalar_mode",
"mode",
")",
"{",
"if",
"(",
"TARGET_PAIRED_SINGLE_FLOAT",
"&&",
"mode",
"==",
"SFmode",
")",
"return",
"V2SFmode",
";",
"if",
"(",
"!",
"ISA_HAS_MSA",
")",
"return",
"word_mode",
"... | [
"Implement",
"TARGET_VECTORIZE_PREFERRED_SIMD_MODE",
"."
] | [
"mips"
] | mips | mips_preferred_simd_mode | mips | CPU | GCC | 11,415 | 77 | 1 | [] |
[
"<s>",
"static",
"bool",
"pru_assemble_integer",
"(",
"rtx",
"x",
",",
"unsigned",
"int",
"size",
",",
"int",
"aligned_p",
")",
"{",
"if",
"(",
"size",
"==",
"POINTER_SIZE",
"/",
"BITS_PER_UNIT",
"&&",
"aligned_p",
"&&",
"text_segment_operand",
"(",
"x",
","... | [
"Implement",
"`",
"TARGET_ASM_INTEGER",
"'",
".",
"Target",
"hook",
"for",
"assembling",
"integer",
"objects",
".",
"PRU",
"version",
"needs",
"special",
"handling",
"for",
"references",
"to",
"pmem",
".",
"Code",
"copied",
"from",
"AVR",
"."
] | [
"pru",
"\"\\t.4byte\\t%pmem(\"",
"\")\\n\"",
"\"\\t.2byte\\t%pmem(\"",
"\")\\n\""
] | pru | pru_assemble_integer | pru | CPU | GCC | 11,416 | 114 | 1 | [] |
[
"<s>",
"bool",
"X86CallLowering",
"::",
"lowerFormalArguments",
"(",
"MachineIRBuilder",
"&",
"MIRBuilder",
",",
"const",
"Function",
"&",
"F",
",",
"ArrayRef",
"<",
"unsigned",
">",
"VRegs",
")",
"const",
"{",
"if",
"(",
"F",
".",
"arg_empty",
"(",
")",
"... | [
"This",
"hook",
"must",
"be",
"implemented",
"to",
"lower",
"the",
"incoming",
"(",
"formal",
")",
"arguments",
",",
"described",
"by",
"VRegs",
",",
"for",
"GlobalISel",
"."
] | [
"X86",
"X86",
"8",
"0",
"X86"
] | X86CallLowering29 | lowerFormalArguments | X86 | CPU | LLVM | 11,417 | 303 | 1 | [] |
[
"<s>",
"Instruction",
"*",
"RISCVTargetLowering",
"::",
"emitLeadingFence",
"(",
"IRBuilder",
"<",
">",
"&",
"Builder",
",",
"Instruction",
"*",
"Inst",
",",
"AtomicOrdering",
"Ord",
")",
"const",
"{",
"if",
"(",
"isa",
"<",
"LoadInst",
">",
"(",
"Inst",
"... | [
"Custom",
"Lower",
"{",
"."
] | [
"RI5CY",
"RISCV"
] | RISCVISelLowering | emitLeadingFence | RI5CY | CPU | LLVM | 11,418 | 74 | 1 | [] |
[
"<s>",
"void",
"alpha_expand_builtin_establish_vms_condition_handler",
"(",
"rtx",
"target",
",",
"rtx",
"handler",
")",
"{",
"rtx",
"handler_slot_address",
"=",
"plus_constant",
"(",
"Pmode",
",",
"hard_frame_pointer_rtx",
",",
"VMS_COND_HANDLER_FP_OFFSET",
")",
";",
"... | [
"Expand",
"code",
"to",
"store",
"the",
"currently",
"installed",
"user",
"VMS",
"condition",
"handler",
"into",
"TARGET",
"and",
"install",
"HANDLER",
"as",
"the",
"new",
"condition",
"handler",
"."
] | [
"alpha"
] | alpha | alpha_expand_builtin_establish_vms_condition_handler | alpha | MPU | GCC | 11,419 | 55 | 1 | [] |
[
"<s>",
"SDValue",
"AMDGPUTargetLowering",
"::",
"LowerOperation",
"(",
"SDValue",
"Op",
",",
"SelectionDAG",
"&",
"DAG",
")",
"const",
"{",
"switch",
"(",
"Op",
".",
"getOpcode",
"(",
")",
")",
"{",
"default",
":",
"Op",
"->",
"print",
"(",
"errs",
"(",
... | [
"LowerOperation",
"-",
"Provide",
"custom",
"lowering",
"hooks",
"for",
"some",
"operations",
"."
] | [
"AMDGPU",
"AMDGPU",
"\"Custom lowering code for this\"",
"\"instruction is not implemented yet!\"",
"ISD::SIGN_EXTEND_INREG",
"SI",
"ISD::CONCAT_VECTORS",
"ISD::EXTRACT_SUBVECTOR",
"ISD::UDIVREM",
"ISD::SDIVREM",
"ISD::FREM",
"ISD::FCEIL",
"ISD::FTRUNC",
"ISD::FRINT",
"ISD::FNEARBYINT",
... | AMDGPUISelLowering94 | LowerOperation | AMDGPU | GPU | LLVM | 11,420 | 312 | 1 | [] |
[
"<s>",
"static",
"const",
"char",
"*",
"section_for_sym",
"(",
"rtx",
"sym",
")",
"{",
"nvptx_data_area",
"area",
"=",
"SYMBOL_DATA_AREA",
"(",
"sym",
")",
";",
"static",
"char",
"const",
"*",
"const",
"areas",
"[",
"]",
"=",
"{",
"\"\"",
",",
"\".global... | [
"Return",
"the",
"PTX",
"name",
"of",
"the",
"data",
"area",
"in",
"which",
"SYM",
"should",
"be",
"placed",
".",
"The",
"symbol",
"must",
"have",
"already",
"been",
"processed",
"by",
"nvptx_encode_seciton_info",
",",
"or",
"equivalent",
"."
] | [
"nvptx",
"\"\"",
"\".global\"",
"\".shared\"",
"\".local\"",
"\".const\"",
"\".param\""
] | nvptx | section_for_sym | nvptx | GPU | GCC | 11,421 | 48 | 1 | [] |
[
"<s>",
"void",
"BPFPassConfig",
"::",
"addIRPasses",
"(",
")",
"{",
"addPass",
"(",
"createBPFAbstractMemberAccess",
"(",
"&",
"getBPFTargetMachine",
"(",
")",
")",
")",
";",
"TargetPassConfig",
"::",
"addIRPasses",
"(",
")",
";",
"}",
"</s>"
] | [
"Add",
"common",
"target",
"configurable",
"passes",
"that",
"perform",
"LLVM",
"IR",
"to",
"IR",
"transforms",
"following",
"machine",
"independent",
"optimization",
"."
] | [
"BPF",
"BPF",
"BPF",
"BPF"
] | BPFTargetMachine12 | addIRPasses | BPF | Virtual ISA | LLVM | 11,422 | 25 | 1 | [] |
[
"<s>",
"void",
"SICInstPrinter",
"::",
"printRegName",
"(",
"raw_ostream",
"&",
"OS",
",",
"unsigned",
"RegNo",
")",
"const",
"{",
"OS",
"<<",
"getRegisterName",
"(",
"RegNo",
")",
";",
"}",
"</s>"
] | [
"Print",
"the",
"assembler",
"register",
"name",
"."
] | [
"SIC",
"SIC"
] | SICInstPrinter | printRegName | SIC | CPU | LLVM | 11,423 | 22 | 1 | [] |
[
"<s>",
"unsigned",
"X86TargetLowering",
"::",
"getByValTypeAlignment",
"(",
"Type",
"*",
"Ty",
")",
"const",
"{",
"if",
"(",
"Subtarget",
"->",
"is64Bit",
"(",
")",
")",
"{",
"unsigned",
"TyAlign",
"=",
"TD",
"->",
"getABITypeAlignment",
"(",
"Ty",
")",
";... | [
"Return",
"the",
"desired",
"alignment",
"for",
"ByVal",
"aggregate",
"function",
"arguments",
"in",
"the",
"caller",
"parameter",
"area",
"."
] | [
"X86",
"X86",
"8",
"8",
"4"
] | X86ISelLowering191 | getByValTypeAlignment | X86 | CPU | LLVM | 11,424 | 67 | 1 | [] |
[
"<s>",
"bool",
"HexagonSplitDoubleRegs",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"{",
"if",
"(",
"skipFunction",
"(",
"MF",
".",
"getFunction",
"(",
")",
")",
")",
"return",
"false",
";",
"DEBUG",
"(",
"dbgs",
"(",
")",
"<<",
... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"Hexagon",
"Hexagon",
"\"Splitting double registers in function: \"",
"Hexagon",
"\"Register partitioning: (partition #0 is fixed)\\n\"",
"\" -> \"",
"0",
"0",
"\"Calculating profit for partition #\""
] | HexagonSplitDouble4 | runOnMachineFunction | Hexagon | DSP | LLVM | 11,425 | 290 | 1 | [] |
[
"<s>",
"unsigned",
"RISCVInstrInfo",
"::",
"getInstSizeInBytes",
"(",
"const",
"MachineInstr",
"&",
"MI",
")",
"const",
"{",
"unsigned",
"Opcode",
"=",
"MI",
".",
"getOpcode",
"(",
")",
";",
"switch",
"(",
"Opcode",
")",
"{",
"default",
":",
"{",
"return",... | [
"Returns",
"the",
"size",
"in",
"bytes",
"of",
"the",
"specified",
"MachineInstr",
",",
"or",
"~0U",
"when",
"this",
"function",
"is",
"not",
"implemented",
"by",
"a",
"target",
"."
] | [
"RISCV",
"RISCV",
"0",
"RISCV::PseudoCALL",
"RISCV::PseudoTAIL",
"8",
"RISCV",
"0"
] | RISCVInstrInfo47 | getInstSizeInBytes | RISCV | CPU | LLVM | 11,426 | 147 | 1 | [] |
[
"<s>",
"static",
"tree",
"ix86_veclibabi_acml",
"(",
"enum",
"built_in_function",
"fn",
",",
"tree",
"type_out",
",",
"tree",
"type_in",
")",
"{",
"char",
"name",
"[",
"20",
"]",
"=",
"\"__vr.._\"",
";",
"tree",
"fntype",
",",
"new_fndecl",
",",
"args",
";... | [
"Handler",
"for",
"an",
"ACML-style",
"interface",
"to",
"a",
"library",
"with",
"vectorized",
"intrinsics",
"."
] | [
"i386",
"20",
"\"__vr.._\"",
"4",
"5",
"2",
"4",
"5",
"4",
"7",
"\"%s\"",
"10",
"0",
"1",
"1",
"1",
"1",
"1"
] | i3864 | ix86_veclibabi_acml | i386 | CPU | GCC | 11,427 | 347 | 1 | [] |
[
"<s>",
"static",
"void",
"aarch64_expand_builtin_va_start",
"(",
"tree",
"valist",
",",
"rtx",
"nextarg",
"ATTRIBUTE_UNUSED",
")",
"{",
"const",
"CUMULATIVE_ARGS",
"*",
"cum",
";",
"tree",
"f_stack",
",",
"f_grtop",
",",
"f_vrtop",
",",
"f_groff",
",",
"f_vroff"... | [
"Implement",
"TARGET_EXPAND_BUILTIN_VA_START",
"."
] | [
"aarch64",
"0",
"0",
"0"
] | aarch643 | aarch64_expand_builtin_va_start | aarch64 | CPU | GCC | 11,428 | 465 | 1 | [] |
[
"<s>",
"void",
"LanaiInstrInfo",
"::",
"storeRegToStackSlot",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"Position",
",",
"unsigned",
"SourceRegister",
",",
"bool",
"IsKill",
",",
"int",
"FrameIndex",
",",
"const",
"TargetRegis... | [
"Store",
"the",
"specified",
"register",
"of",
"the",
"given",
"register",
"class",
"to",
"the",
"specified",
"stack",
"frame",
"index",
"."
] | [
"Lanai",
"Lanai",
"Lanai::GPRRegClass",
"\"Can't store this register to stack slot\"",
"Lanai::SW_RI",
"0"
] | LanaiInstrInfo (2) | storeRegToStackSlot | Lanai | CPU | LLVM | 11,429 | 120 | 1 | [] |
[
"<s>",
"bool",
"AArch64PassConfig",
"::",
"addPreISel",
"(",
")",
"{",
"if",
"(",
"TM",
"->",
"getOptLevel",
"(",
")",
"!=",
"CodeGenOpt",
"::",
"None",
"&&",
"EnablePromoteConstant",
")",
"addPass",
"(",
"createAArch64PromoteConstantPass",
"(",
")",
")",
";",... | [
"{",
"{",
"@",
"For",
"GlobalISel"
] | [
"AArch64",
"AArch64",
"AArch64",
"4095",
"AArch64"
] | AArch64TargetMachine70 | addPreISel | AArch64 | CPU | LLVM | 11,430 | 87 | 1 | [] |
[
"<s>",
"bool",
"AArch64AsmPrinter",
"::",
"PrintAsmOperand",
"(",
"const",
"MachineInstr",
"*",
"MI",
",",
"unsigned",
"OpNum",
",",
"unsigned",
"AsmVariant",
",",
"const",
"char",
"*",
"ExtraCode",
",",
"raw_ostream",
"&",
"O",
")",
"{",
"const",
"TargetRegis... | [
"PrintAsmOperand",
"-",
"Print",
"out",
"an",
"operand",
"for",
"an",
"inline",
"asm",
"expression",
"."
] | [
"AArch64",
"AArch64",
"\"\"",
"0",
"AArch64::GPR32RegClass",
"AArch64::GPR64RegClass",
"\"FIXME: Unimplemented register pairs\"",
"0",
"\"\"",
"\"lo12\"",
"\"hi12\"",
"\"Unexpected operand for inline assembly\"",
"AArch64",
"0.0",
"\"Only FP 0.0 expected\"",
"\"#0.0\"",
"\"\""
] | AArch64AsmPrinter20 | PrintAsmOperand | AArch64 | CPU | LLVM | 11,431 | 433 | 1 | [] |
[
"<s>",
"Nios2ExprKind",
"getKind",
"(",
")",
"const",
"{",
"return",
"Kind",
";",
"}",
"</s>"
] | [
"Returns",
"the",
"Kind",
"of",
"lane",
"offset",
"."
] | [
"Nios2",
"Nios2"
] | Nios2MCExpr | getKind | Nios2 | MPU | LLVM | 11,432 | 10 | 1 | [] |
[
"<s>",
"void",
"SystemZPassConfig",
"::",
"addPostRewrite",
"(",
")",
"{",
"addPass",
"(",
"createSystemZPostRewritePass",
"(",
"getSystemZTargetMachine",
"(",
")",
")",
")",
";",
"}",
"</s>"
] | [
"Add",
"passes",
"to",
"be",
"run",
"immediately",
"after",
"virtual",
"registers",
"are",
"rewritten",
"to",
"physical",
"registers",
"."
] | [
"SystemZ",
"SystemZ",
"SystemZ",
"SystemZ"
] | SystemZTargetMachine18 | addPostRewrite | SystemZ | CPU | LLVM | 11,433 | 18 | 1 | [] |
[
"<s>",
"StringRef",
"getPassName",
"(",
")",
"const",
"override",
"{",
"return",
"\"Hexagon Hardware Loops\"",
";",
"}",
"</s>"
] | [
"getPassName",
"-",
"Return",
"a",
"nice",
"clean",
"name",
"for",
"a",
"pass",
"."
] | [
"Hexagon",
"\"Hexagon Hardware Loops\""
] | HexagonHardwareLoops1 | getPassName | Hexagon | DSP | LLVM | 11,434 | 11 | 1 | [] |
[
"<s>",
"bool",
"SystemZInstrInfo",
"::",
"FoldImmediate",
"(",
"MachineInstr",
"&",
"UseMI",
",",
"MachineInstr",
"&",
"DefMI",
",",
"unsigned",
"Reg",
",",
"MachineRegisterInfo",
"*",
"MRI",
")",
"const",
"{",
"unsigned",
"DefOpc",
"=",
"DefMI",
".",
"getOpco... | [
"Reg",
"is",
"known",
"to",
"be",
"defined",
"by",
"a",
"move",
"immediate",
"instruction",
",",
"try",
"to",
"fold",
"the",
"immediate",
"into",
"the",
"use",
"instruction",
"."
] | [
"SystemZ",
"SystemZ",
"SystemZ::LHIMux",
"SystemZ::LHI",
"SystemZ::LGHI",
"0",
"1",
"1",
"SystemZ::LOCRMux",
"SystemZ::LOCHIMux",
"2",
"2",
"1",
"2",
"1",
"SystemZ::LOCGR",
"SystemZ::LOCGHI",
"2",
"2",
"1",
"2",
"1",
"1"
] | SystemZInstrInfo (2)2 | FoldImmediate | SystemZ | CPU | LLVM | 11,435 | 335 | 1 | [] |
[
"<s>",
"void",
"BPFPassConfig",
"::",
"addIRPasses",
"(",
")",
"{",
"addPass",
"(",
"createBPFAbstractMemberAccess",
"(",
"&",
"getBPFTargetMachine",
"(",
")",
")",
")",
";",
"addPass",
"(",
"createBPFPreserveDIType",
"(",
")",
")",
";",
"TargetPassConfig",
"::"... | [
"Add",
"common",
"target",
"configurable",
"passes",
"that",
"perform",
"LLVM",
"IR",
"to",
"IR",
"transforms",
"following",
"machine",
"independent",
"optimization",
"."
] | [
"BPF",
"BPF",
"BPF",
"BPF",
"BPF"
] | BPFTargetMachine22 | addIRPasses | BPF | Virtual ISA | LLVM | 11,436 | 32 | 1 | [] |
[
"<s>",
"unsigned",
"AMDGPUAsmParser",
"::",
"checkTargetMatchPredicate",
"(",
"MCInst",
"&",
"Inst",
")",
"{",
"uint64_t",
"TSFlags",
"=",
"MII",
".",
"get",
"(",
"Inst",
".",
"getOpcode",
"(",
")",
")",
".",
"TSFlags",
";",
"if",
"(",
"(",
"getForcedEncod... | [
"checkTargetMatchPredicate",
"-",
"Validate",
"the",
"instruction",
"match",
"against",
"any",
"complex",
"target",
"predicates",
"not",
"expressible",
"via",
"match",
"classes",
"."
] | [
"AMDGPU",
"AMDGPU",
"32",
"SIInstrFlags::VOP3",
"64",
"SIInstrFlags::VOP3",
"SIInstrFlags::DPP",
"SIInstrFlags::SDWA",
"SIInstrFlags::VOP3",
"SIInstrFlags::VOPAsmPrefer32Bit",
"64",
"AMDGPU::V_MAC_F32_sdwa_vi",
"AMDGPU::V_MAC_F16_sdwa_vi",
"AMDGPU::getNamedOperandIdx",
"AMDGPU::OpName",
... | AMDGPUAsmParser1 | checkTargetMatchPredicate | AMDGPU | GPU | LLVM | 11,437 | 209 | 1 | [] |
[
"<s>",
"static",
"bool",
"mn10300_can_output_mi_thunk",
"(",
"const_tree",
"thunk_fndecl",
"ATTRIBUTE_UNUSED",
",",
"HOST_WIDE_INT",
"delta",
"ATTRIBUTE_UNUSED",
",",
"HOST_WIDE_INT",
"vcall_offset",
"ATTRIBUTE_UNUSED",
",",
"const_tree",
"function",
"ATTRIBUTE_UNUSED",
")",
... | [
"Return",
"true",
"if",
"mn10300_output_mi_thunk",
"would",
"be",
"able",
"to",
"output",
"the",
"assembler",
"code",
"for",
"the",
"thunk",
"function",
"specified",
"by",
"the",
"arguments",
"it",
"is",
"passed",
",",
"and",
"false",
"otherwise",
"."
] | [
"mn10300"
] | mn10300 | mn10300_can_output_mi_thunk | mn10300 | MPU | GCC | 11,438 | 25 | 1 | [] |
[
"<s>",
"void",
"MBlazeTargetObjectFile",
"::",
"Initialize",
"(",
"MCContext",
"&",
"Ctx",
",",
"const",
"TargetMachine",
"&",
"TM",
")",
"{",
"TargetLoweringObjectFileELF",
"::",
"Initialize",
"(",
"Ctx",
",",
"TM",
")",
";",
"SmallDataSection",
"=",
"getContex... | [
"This",
"method",
"must",
"be",
"called",
"before",
"any",
"actual",
"lowering",
"is",
"done",
"."
] | [
"MBlaze",
"MBlaze",
"\".sdata\"",
"\".sbss\""
] | MBlazeTargetObjectFile2 | Initialize | MBlaze | MPU | LLVM | 11,439 | 83 | 1 | [] |
[
"<s>",
"MachineInstr",
"*",
"Thumb2InstrInfo",
"::",
"optimizeSelect",
"(",
"MachineInstr",
"&",
"MI",
",",
"SmallPtrSetImpl",
"<",
"MachineInstr",
"*",
">",
"&",
"SeenMIs",
",",
"bool",
"PreferFalse",
")",
"const",
"{",
"MachineInstr",
"*",
"RV",
"=",
"ARMBas... | [
"Given",
"a",
"select",
"instruction",
"that",
"was",
"understood",
"by",
"analyzeSelect",
"and",
"returned",
"Optimizable",
"=",
"true",
",",
"attempt",
"to",
"optimize",
"MI",
"by",
"merging",
"it",
"with",
"one",
"of",
"its",
"operands",
"."
] | [
"ARM",
"ARM",
"0",
"ARM::t2CSEL",
"2",
"1",
"3"
] | Thumb2InstrInfo | optimizeSelect | ARM | CPU | LLVM | 11,440 | 156 | 1 | [] |
[
"<s>",
"bool",
"X86InstrInfo",
"::",
"isCoalescableExtInstr",
"(",
"const",
"MachineInstr",
"&",
"MI",
",",
"unsigned",
"&",
"SrcReg",
",",
"unsigned",
"&",
"DstReg",
",",
"unsigned",
"&",
"SubIdx",
")",
"const",
"{",
"switch",
"(",
"MI",
".",
"getOpcode",
... | [
"isCoalescableExtInstr",
"-",
"Return",
"true",
"if",
"the",
"instruction",
"is",
"a",
"``",
"coalescable",
"''",
"extension",
"instruction",
"."
] | [
"X86",
"X86",
"X86::MOVSX16rr8",
"X86::MOVZX16rr8",
"X86::MOVSX32rr8",
"X86::MOVZX32rr8",
"X86::MOVSX64rr8",
"X86",
"X86::MOVSX32rr16",
"X86::MOVZX32rr16",
"X86::MOVSX64rr16",
"X86::MOVSX64rr32",
"0",
"1",
"1",
"0",
"\"Unreachable!\"",
"X86::MOVSX16rr8",
"X86::MOVZX16rr8",
"X86... | X86InstrInfo (2) | isCoalescableExtInstr | X86 | CPU | LLVM | 11,441 | 250 | 1 | [] |
[
"<s>",
"static",
"const",
"char",
"*",
"avr_out_load_psi_reg_no_disp_tiny",
"(",
"rtx_insn",
"*",
"insn",
",",
"rtx",
"*",
"op",
",",
"int",
"*",
"plen",
")",
"{",
"rtx",
"dest",
"=",
"op",
"[",
"0",
"]",
";",
"rtx",
"src",
"=",
"op",
"[",
"1",
"]"... | [
"Handle",
"loads",
"of",
"24-bit",
"types",
"from",
"memory",
"to",
"register",
"."
] | [
"avr",
"0",
"1",
"0",
"2",
"\"ld %C0,%1\"",
"\"ld __tmp_reg__,-%1\"",
"1",
"\"ld %A0,%1\"",
"\"mov %B0,__tmp_reg__\"",
"8",
"\"ld %A0,%1+\"",
"\"ld %B0,%1+\"",
"\"ld %C0,%1\"",
"3",
"2",
"2",
"2",
"\"\""
] | avr4 | avr_out_load_psi_reg_no_disp_tiny | avr | MPU | GCC | 11,442 | 172 | 1 | [] |
[
"<s>",
"SDValue",
"MSP430TargetLowering",
"::",
"LowerCallResult",
"(",
"SDValue",
"Chain",
",",
"SDValue",
"InFlag",
",",
"CallingConv",
"::",
"ID",
"CallConv",
",",
"bool",
"isVarArg",
",",
"const",
"SmallVectorImpl",
"<",
"ISD",
"::",
"InputArg",
">",
"&",
... | [
"LowerCallResult",
"-",
"Lower",
"the",
"result",
"values",
"of",
"an",
"ISD",
":",
":CALL",
"into",
"the",
"appropriate",
"copies",
"out",
"of",
"appropriate",
"physical",
"registers",
"."
] | [
"MSP430",
"MSP430",
"ISD::InputArg",
"16",
"0",
"1",
"2",
"0"
] | MSP430ISelLowering (2)1 | LowerCallResult | MSP430 | MPU | LLVM | 11,443 | 168 | 1 | [] |
[
"<s>",
"enum",
"reg_class",
"aarch64_regno_regclass",
"(",
"unsigned",
"regno",
")",
"{",
"if",
"(",
"STUB_REGNUM_P",
"(",
"regno",
")",
")",
"return",
"STUB_REGS",
";",
"if",
"(",
"GP_REGNUM_P",
"(",
"regno",
")",
")",
"return",
"GENERAL_REGS",
";",
"if",
... | [
"Implement",
"REGNO_REG_CLASS",
"."
] | [
"aarch64"
] | aarch641 | aarch64_regno_regclass | aarch64 | CPU | GCC | 11,444 | 110 | 1 | [] |
[
"<s>",
"bool",
"mips_secondary_memory_needed",
"(",
"enum",
"reg_class",
"class1",
",",
"enum",
"reg_class",
"class2",
",",
"machine_mode",
"mode",
")",
"{",
"if",
"(",
"lra_in_progress",
"&&",
"(",
"class1",
"==",
"NO_REGS",
"||",
"class2",
"==",
"NO_REGS",
"... | [
"Implement",
"SECONDARY_MEMORY_NEEDED",
"."
] | [
"mips",
"8"
] | mips4 | mips_secondary_memory_needed | mips | CPU | GCC | 11,445 | 73 | 1 | [] |
[
"<s>",
"static",
"rtx",
"safe_vector_operand",
"(",
"rtx",
"x",
",",
"machine_mode",
"mode",
")",
"{",
"if",
"(",
"x",
"!=",
"const0_rtx",
")",
"return",
"x",
";",
"x",
"=",
"gen_reg_rtx",
"(",
"mode",
")",
";",
"emit_insn",
"(",
"gen_iwmmxt_clrdi",
"(",... | [
"Errors",
"in",
"the",
"source",
"file",
"can",
"cause",
"expand_expr",
"to",
"return",
"const0_rtx",
"where",
"we",
"expect",
"a",
"vector",
".",
"To",
"avoid",
"crashing",
",",
"use",
"one",
"of",
"the",
"vector",
"clear",
"instructions",
"."
] | [
"arm",
"0"
] | arm-builtins | safe_vector_operand | arm | CPU | GCC | 11,446 | 52 | 1 | [] |
[
"<s>",
"unsigned",
"AMDGPUInstrInfo",
"::",
"isLoadFromStackSlot",
"(",
"const",
"MachineInstr",
"*",
"MI",
",",
"int",
"&",
"FrameIndex",
")",
"const",
"{",
"return",
"0",
";",
"}",
"</s>"
] | [
"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... | [
"R600",
"0"
] | AMDGPUInstrInfo10 | isLoadFromStackSlot | R600 | GPU | LLVM | 11,447 | 20 | 1 | [] |
[
"<s>",
"static",
"void",
"pa_asm_trampoline_template",
"(",
"FILE",
"*",
"f",
")",
"{",
"if",
"(",
"!",
"TARGET_64BIT",
")",
"{",
"if",
"(",
"TARGET_PA_20",
")",
"{",
"fputs",
"(",
"\"\\tmfia\t%r20\\n\"",
",",
"f",
")",
";",
"fputs",
"(",
"\"\\tldw\t\t48(%... | [
"Output",
"assembler",
"code",
"for",
"a",
"block",
"containing",
"the",
"constant",
"parts",
"of",
"a",
"trampoline",
",",
"leaving",
"space",
"for",
"the",
"variable",
"parts.\\",
"The",
"trampoline",
"sets",
"the",
"static",
"chain",
"pointer",
"to",
"STATI... | [
"pa",
"\"\\tmfia\t%r20\\n\"",
"\"\\tldw\t\t48(%r20),%r22\\n\"",
"\"\\tcopy\t%r22,%r21\\n\"",
"\"\\tbb,>=,n\t%r22,30,.+16\\n\"",
"\"\\tdepwi\t0,31,2,%r22\\n\"",
"\"\\tldw\t\t0(%r22),%r21\\n\"",
"\"\\tldw\t\t4(%r22),%r19\\n\"",
"\"\\tbve\t\t(%r21)\\n\"",
"\"\\tldw\t\t52(%r1),%r29\\n\"",
"\"\\t.wor... | pa | pa_asm_trampoline_template | pa | CPU | GCC | 11,448 | 348 | 1 | [] |
[
"<s>",
"void",
"rs6000_activate_target_options",
"(",
"tree",
"new_tree",
")",
"{",
"cl_target_option_restore",
"(",
"&",
"global_options",
",",
"&",
"global_options_set",
",",
"TREE_TARGET_OPTION",
"(",
"new_tree",
")",
")",
";",
"if",
"(",
"TREE_TARGET_GLOBALS",
"... | [
"Restore",
"target",
"'s",
"globals",
"from",
"NEW_TREE",
"and",
"invalidate",
"the",
"rs6000_previous_fndecl",
"cache",
"."
] | [
"rs6000"
] | rs6000 | rs6000_activate_target_options | rs6000 | CPU | GCC | 11,449 | 64 | 1 | [] |
[
"<s>",
"static",
"void",
"loongarch_extend_comparands",
"(",
"rtx_code",
"code",
",",
"rtx",
"*",
"op0",
",",
"rtx",
"*",
"op1",
")",
"{",
"if",
"(",
"GET_MODE_SIZE",
"(",
"word_mode",
")",
">",
"GET_MODE_SIZE",
"(",
"GET_MODE",
"(",
"*",
"op0",
")",
")"... | [
"Sign-",
"or",
"zero-extend",
"OP0",
"and",
"OP1",
"for",
"integer",
"comparisons",
"."
] | [
"loongarch"
] | loongarch | loongarch_extend_comparands | loongarch | CPU | GCC | 11,450 | 132 | 1 | [] |
[
"<s>",
"static",
"void",
"iq2000_emit_frame_related_store",
"(",
"rtx",
"mem",
",",
"rtx",
"reg",
",",
"HOST_WIDE_INT",
"offset",
")",
"{",
"rtx",
"dwarf_address",
"=",
"plus_constant",
"(",
"Pmode",
",",
"stack_pointer_rtx",
",",
"offset",
")",
";",
"rtx",
"d... | [
"Emit",
"a",
"move",
"instruction",
"that",
"stores",
"REG",
"in",
"MEM",
".",
"Make",
"the",
"instruction",
"frame",
"related",
"and",
"note",
"that",
"it",
"stores",
"REG",
"at",
"(",
"SP",
"+",
"OFFSET",
")",
"."
] | [
"iq2000"
] | iq20003 | iq2000_emit_frame_related_store | iq2000 | CPU | GCC | 11,451 | 62 | 1 | [] |
[
"<s>",
"void",
"visium_init_expanders",
"(",
"void",
")",
"{",
"init_machine_status",
"=",
"visium_init_machine_status",
";",
"}",
"</s>"
] | [
"The",
"per-function",
"data",
"machinery",
"is",
"needed",
"to",
"indicate",
"when",
"a",
"frame",
"is",
"required",
"."
] | [
"visium"
] | visium | visium_init_expanders | visium | Virtual ISA | GCC | 11,452 | 11 | 1 | [] |
[
"<s>",
"static",
"void",
"chk_function_decl",
"(",
"const_tree",
"fntype",
",",
"location_t",
"call_location",
")",
"{",
"if",
"(",
"!",
"VOID_TYPE_P",
"(",
"TREE_TYPE",
"(",
"fntype",
")",
")",
"&&",
"pru_return_in_memory",
"(",
"TREE_TYPE",
"(",
"fntype",
")... | [
"Check",
"the",
"function",
"declaration",
"FNTYPE",
"for",
"TI",
"ABI",
"compatibility",
"."
] | [
"pru",
"\"large return values not supported with %<-mabi=ti%> option\"",
"\"function pointers not supported with %<-mabi=ti%> option\""
] | pru-passes | chk_function_decl | pru | CPU | GCC | 11,453 | 83 | 1 | [] |
[
"<s>",
"bool",
"SNESFrameLowering",
"::",
"canSimplifyCallFramePseudos",
"(",
"const",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"return",
"true",
";",
"}",
"</s>"
] | [
"canSimplifyCallFramePseudos",
"-",
"If",
"there",
"is",
"a",
"reserved",
"call",
"frame",
",",
"the",
"call",
"frame",
"pseudos",
"can",
"be",
"simplified",
"."
] | [
"SNES",
"SNES"
] | SNESFrameLowering | canSimplifyCallFramePseudos | SNES | DSP | LLVM | 11,454 | 16 | 1 | [] |
[
"<s>",
"void",
"BTFDebug",
"::",
"beginFunctionImpl",
"(",
"const",
"MachineFunction",
"*",
"MF",
")",
"{",
"auto",
"*",
"SP",
"=",
"MF",
"->",
"getFunction",
"(",
")",
".",
"getSubprogram",
"(",
")",
";",
"auto",
"*",
"Unit",
"=",
"SP",
"->",
"getUnit... | [
"Gather",
"pre-function",
"debug",
"information",
"."
] | [
"BPF",
"BTF::FUNC_STATIC",
"BTF::FUNC_GLOBAL",
"1",
"1",
"\"Null section for Function Label\"",
"\".text\""
] | BTFDebug1 | beginFunctionImpl | BPF | Virtual ISA | LLVM | 11,455 | 409 | 1 | [] |
[
"<s>",
"unsigned",
"char",
"X86Subtarget",
"::",
"classifyGlobalReference",
"(",
"const",
"GlobalValue",
"*",
"GV",
",",
"const",
"Module",
"&",
"M",
")",
"const",
"{",
"if",
"(",
"TM",
".",
"getCodeModel",
"(",
")",
"==",
"CodeModel",
"::",
"Large",
")",
... | [
"Classify",
"a",
"global",
"variable",
"reference",
"for",
"the",
"current",
"subtarget",
"according",
"to",
"how",
"we",
"should",
"reference",
"it",
"in",
"a",
"non-pcrel",
"context",
"."
] | [
"X86",
"X86",
"X86II::MO_NO_FLAG",
"X86II::MO_DLLIMPORT",
"X86II::MO_GOTPCREL",
"X86II::MO_DARWIN_NONLAZY",
"X86II::MO_DARWIN_NONLAZY_PIC_BASE",
"X86II::MO_GOT"
] | X86Subtarget45 | classifyGlobalReference | X86 | CPU | LLVM | 11,456 | 105 | 1 | [] |
[
"<s>",
"SDValue",
"R600TargetLowering",
"::",
"LowerFormalArguments",
"(",
"SDValue",
"Chain",
",",
"CallingConv",
"::",
"ID",
"CallConv",
",",
"bool",
"isVarArg",
",",
"const",
"SmallVectorImpl",
"<",
"ISD",
"::",
"InputArg",
">",
"&",
"Ins",
",",
"const",
"S... | [
"This",
"hook",
"must",
"be",
"implemented",
"to",
"lower",
"the",
"incoming",
"(",
"formal",
")",
"arguments",
",",
"described",
"by",
"the",
"Ins",
"array",
",",
"into",
"the",
"specified",
"DAG",
"."
] | [
"AMDGPU",
"R600",
"ISD::InputArg",
"16",
"R600",
"R600",
"ISD::InputArg",
"8",
"AMDGPU::isShader",
"0",
"ISD::InputArg",
"AMDGPU::isShader",
"AMDGPU::R600_Reg128RegClass",
"SI",
"ISD::LoadExtType",
"ISD::NON_EXTLOAD",
"ISD::SEXTLOAD",
"ISD::UNINDEXED",
"MVT::i32",
"MVT::i32",
... | R600ISelLowering78 | LowerFormalArguments | AMDGPU | GPU | LLVM | 11,457 | 473 | 1 | [] |
[
"<s>",
"unsigned",
"AArch64RegisterInfo",
"::",
"getRegPressureLimit",
"(",
"const",
"TargetRegisterClass",
"*",
"RC",
",",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"const",
"AArch64FrameLowering",
"*",
"TFI",
"=",
"getFrameLowering",
"(",
"MF",
")",
";",
... | [
"Return",
"the",
"register",
"pressure",
"``",
"high",
"water",
"mark",
"''",
"for",
"the",
"specific",
"register",
"class",
"."
] | [
"AArch64",
"AArch64",
"AArch64",
"0",
"AArch64::GPR32RegClassID",
"AArch64::GPR32spRegClassID",
"AArch64::GPR32allRegClassID",
"AArch64::GPR64spRegClassID",
"AArch64::GPR64allRegClassID",
"AArch64::GPR64RegClassID",
"AArch64::GPR32commonRegClassID",
"AArch64::GPR64commonRegClassID",
"32",
... | AArch64RegisterInfo (2) | getRegPressureLimit | AArch64 | CPU | LLVM | 11,458 | 189 | 1 | [] |
[
"<s>",
"SMLoc",
"getStartLoc",
"(",
")",
"const",
"override",
"{",
"return",
"StartLoc",
";",
"}",
"</s>"
] | [
"getStartLoc",
"-",
"Get",
"the",
"location",
"of",
"the",
"first",
"token",
"of",
"this",
"operand",
"."
] | [
"R600"
] | AMDGPUAsmParser18 | getStartLoc | R600 | GPU | LLVM | 11,459 | 11 | 1 | [] |
[
"<s>",
"int",
"pa_shadd_constant_p",
"(",
"int",
"val",
")",
"{",
"if",
"(",
"val",
"==",
"2",
"||",
"val",
"==",
"4",
"||",
"val",
"==",
"8",
")",
"return",
"1",
";",
"else",
"return",
"0",
";",
"}",
"</s>"
] | [
"Return",
"1",
"if",
"the",
"given",
"constant",
"is",
"2",
",",
"4",
",",
"or",
"8",
".",
"These",
"are",
"the",
"valid",
"constants",
"for",
"shadd",
"instructions",
"."
] | [
"pa",
"2",
"4",
"8",
"1",
"0"
] | pa4 | pa_shadd_constant_p | pa | CPU | GCC | 11,460 | 29 | 1 | [] |
[
"<s>",
"static",
"void",
"or1k_trampoline_init",
"(",
"rtx",
"m_tramp",
",",
"tree",
"fndecl",
",",
"rtx",
"chain",
")",
"{",
"const",
"unsigned",
"movhi_r13",
"=",
"(",
"0x06u",
"<<",
"26",
")",
"|",
"(",
"13",
"<<",
"21",
")",
";",
"const",
"unsigned... | [
"Worker",
"for",
"TARGET_TRAMPOLINE_INIT",
".",
"This",
"is",
"called",
"to",
"initialize",
"a",
"trampoline",
".",
"The",
"argument",
"M_TRAMP",
"is",
"an",
"RTX",
"for",
"the",
"memory",
"block",
"to",
"be",
"initialized",
"with",
"trampoline",
"code",
".",
... | [
"or1k",
"0x06u",
"26",
"13",
"21",
"0x06u",
"26",
"11",
"21",
"0x2a",
"26",
"13",
"21",
"13",
"16",
"0x2a",
"26",
"11",
"21",
"11",
"16",
"0x11",
"26",
"13",
"11",
"5",
"0",
"16",
"0xffff",
"16",
"0xffff",
"0",
"1",
"2",
"4",
"3",
"0",
"5",
... | or1k | or1k_trampoline_init | or1k | CPU | GCC | 11,461 | 397 | 1 | [] |
[
"<s>",
"bool",
"supportsEfficientVectorElementLoadStore",
"(",
")",
"{",
"return",
"false",
";",
"}",
"</s>"
] | [
"If",
"target",
"has",
"efficient",
"vector",
"element",
"load/store",
"instructions",
",",
"it",
"can",
"return",
"true",
"here",
"so",
"that",
"insertion/extraction",
"costs",
"are",
"not",
"added",
"to",
"the",
"scalarization",
"cost",
"of",
"a",
"load/store"... | [
"Hexagon"
] | HexagonTargetTransformInfo1 | supportsEfficientVectorElementLoadStore | Hexagon | DSP | LLVM | 11,462 | 9 | 1 | [] |
[
"<s>",
"bool",
"ARCFrameLowering",
"::",
"spillCalleeSavedRegisters",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"MI",
",",
"ArrayRef",
"<",
"CalleeSavedInfo",
">",
"CSI",
",",
"const",
"TargetRegisterInfo",
"*",
"TRI",
")",
... | [
"spillCalleeSavedRegisters",
"-",
"Issues",
"instruction",
"(",
"s",
")",
"to",
"spill",
"all",
"callee",
"saved",
"registers",
"and",
"returns",
"true",
"if",
"it",
"is",
"n't",
"possible",
"/",
"profitable",
"to",
"do",
"so",
"by",
"issuing",
"a",
"series"... | [
"ARC",
"ARC",
"\"Spill callee saved registers: \"",
"\"\\n\"",
"ARC::R14"
] | ARCFrameLowering12 | spillCalleeSavedRegisters | ARC | MPU | LLVM | 11,463 | 75 | 1 | [] |
[
"<s>",
"void",
"ARMTargetStreamer",
"::",
"emitInst",
"(",
"uint32_t",
"Inst",
",",
"char",
"Suffix",
")",
"{",
"unsigned",
"Size",
";",
"char",
"Buffer",
"[",
"4",
"]",
";",
"const",
"bool",
"LittleEndian",
"=",
"getStreamer",
"(",
")",
".",
"getContext",... | [
"Callback",
"used",
"to",
"implement",
"the",
".inst",
"directive",
"."
] | [
"ARM",
"ARM",
"4",
"4",
"0",
"1",
"1",
"2",
"4",
"0",
"2",
"0",
"1",
"1",
"0",
"2",
"1",
"\"Invalid Suffix\""
] | ARMTargetStreamer (2)1 | emitInst | ARM | CPU | LLVM | 11,464 | 239 | 1 | [] |
[
"<s>",
"Instruction",
"*",
"PPCTargetLowering",
"::",
"emitLeadingFence",
"(",
"IRBuilderBase",
"&",
"Builder",
",",
"Instruction",
"*",
"Inst",
",",
"AtomicOrdering",
"Ord",
")",
"const",
"{",
"if",
"(",
"Ord",
"==",
"AtomicOrdering",
"::",
"SequentiallyConsisten... | [
"Custom",
"Lower",
"{",
"."
] | [
"PowerPC",
"PPC",
"Intrinsic::ppc_sync",
"Intrinsic::ppc_lwsync"
] | PPCISelLowering109 | emitLeadingFence | PowerPC | CPU | LLVM | 11,465 | 58 | 1 | [] |
[
"<s>",
"bool",
"PPCAsmParser",
"::",
"ParseInstruction",
"(",
"ParseInstructionInfo",
"&",
"Info",
",",
"StringRef",
"Name",
",",
"SMLoc",
"NameLoc",
",",
"SmallVectorImpl",
"<",
"MCParsedAsmOperand",
"*",
">",
"&",
"Operands",
")",
"{",
"size_t",
"Dot",
"=",
... | [
"ParseInstruction",
"-",
"Parse",
"one",
"assembly",
"instruction",
"."
] | [
"PowerPC",
"PPC",
"0",
"PPC",
"PPC",
"PPC",
"PPC"
] | PPCAsmParser45 | ParseInstruction | PowerPC | CPU | LLVM | 11,466 | 196 | 1 | [] |
[
"<s>",
"unsigned",
"int",
"aarch64_tlsdesc_abi_id",
"(",
")",
"{",
"predefined_function_abi",
"&",
"tlsdesc_abi",
"=",
"function_abis",
"[",
"ARM_PCS_TLSDESC",
"]",
";",
"if",
"(",
"!",
"tlsdesc_abi",
".",
"initialized_p",
"(",
")",
")",
"{",
"HARD_REG_SET",
"fu... | [
"Return",
"the",
"ID",
"of",
"the",
"TLDESC",
"ABI",
",",
"initializing",
"the",
"descriptor",
"if",
"has",
"n't",
"been",
"already",
"."
] | [
"aarch64"
] | aarch64 | aarch64_tlsdesc_abi_id | aarch64 | CPU | GCC | 11,467 | 86 | 1 | [] |
[
"<s>",
"const",
"MCExpr",
"*",
"getSubExpr",
"(",
")",
"const",
"{",
"return",
"SubExpr",
";",
"}",
"</s>"
] | [
"getSubExpr",
"-",
"Get",
"the",
"child",
"of",
"this",
"expression",
"."
] | [
"AVR"
] | AVRMCExpr | getSubExpr | AVR | MPU | LLVM | 11,468 | 12 | 1 | [] |
[
"<s>",
"void",
"SystemZInstrInfo",
"::",
"insertSelect",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"I",
",",
"const",
"DebugLoc",
"&",
"DL",
",",
"unsigned",
"DstReg",
",",
"ArrayRef",
"<",
"MachineOperand",
">",
"Pred",
... | [
"Insert",
"a",
"select",
"instruction",
"into",
"MBB",
"before",
"I",
"that",
"will",
"copy",
"TrueReg",
"to",
"DstReg",
"when",
"Cond",
"is",
"true",
",",
"and",
"FalseReg",
"to",
"DstReg",
"when",
"Cond",
"is",
"false",
"."
] | [
"SystemZ",
"SystemZ",
"2",
"\"Invalid condition\"",
"0",
"1",
"SystemZ::GRX32BitRegClass",
"SystemZ::SELRMux",
"SystemZ::LOCRMux",
"SystemZ::LOCR",
"SystemZ::GR32BitRegClass",
"SystemZ::GR32BitRegClass",
"SystemZ::GR32BitRegClass",
"SystemZ::GR64BitRegClass",
"SystemZ::SELGR",
"SystemZ... | SystemZInstrInfo61 | insertSelect | SystemZ | CPU | LLVM | 11,469 | 323 | 1 | [] |
[
"<s>",
"enum",
"reg_class",
"secondary_input_reload_class",
"(",
"enum",
"reg_class",
"class",
",",
"enum",
"machine_mode",
"mode",
",",
"rtx",
"x",
")",
"{",
"enum",
"reg_class",
"default_class",
"=",
"GET_MODE_SIZE",
"(",
"mode",
")",
">=",
"4",
"?",
"DPREGS... | [
"Inform",
"reload",
"about",
"cases",
"where",
"moving",
"X",
"with",
"a",
"mode",
"MODE",
"to",
"a",
"register",
"in",
"CLASS",
"requires",
"an",
"extra",
"scratch",
"register",
".",
"Return",
"the",
"class",
"needed",
"for",
"the",
"scratch",
"register",
... | [
"bfin",
"4",
"1",
"1"
] | bfin2 | secondary_input_reload_class | bfin | DSP | GCC | 11,470 | 274 | 1 | [] |
[
"<s>",
"bool",
"AMDGPUAsmParser",
"::",
"MatchAndEmitInstruction",
"(",
"SMLoc",
"IDLoc",
",",
"unsigned",
"&",
"Opcode",
",",
"OperandVector",
"&",
"Operands",
",",
"MCStreamer",
"&",
"Out",
",",
"uint64_t",
"&",
"ErrorInfo",
",",
"bool",
"MatchingInlineAsm",
"... | [
"MatchAndEmitInstruction",
"-",
"Recognize",
"a",
"series",
"of",
"operands",
"of",
"a",
"parsed",
"instruction",
"as",
"an",
"actual",
"MCInst",
"and",
"emit",
"it",
"to",
"the",
"specified",
"MCStreamer",
"."
] | [
"AMDGPU",
"AMDGPU",
"\"instruction not supported on this GPU\"",
"\"unrecognized instruction mnemonic\"",
"0ULL",
"AMDGPU",
"AMDGPU",
"1",
"AMDGPU",
"AMDGPU",
"0",
"AMDGPU",
"AMDGPU",
"0",
"AMDGPU",
"\"too few operands for instruction\"",
"AMDGPU",
"\"invalid operand for instructio... | AMDGPUAsmParser (2) | MatchAndEmitInstruction | AMDGPU | GPU | LLVM | 11,471 | 324 | 1 | [] |
[
"<s>",
"void",
"PTXInstrInfo",
"::",
"copyPhysReg",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"I",
",",
"DebugLoc",
"DL",
",",
"unsigned",
"DstReg",
",",
"unsigned",
"SrcReg",
",",
"bool",
"KillSrc",
")",
"const",
"{",
... | [
"}",
"Branch",
"Analysis",
"&",
"Modification"
] | [
"PTX",
"PTX",
"0",
"0",
"\"Impossible reg-to-reg copy\""
] | PTXInstrInfo3 | copyPhysReg | PTX | GPU | LLVM | 11,472 | 147 | 1 | [] |
[
"<s>",
"void",
"X86AvoidSFBPass",
"::",
"buildCopy",
"(",
"MachineInstr",
"*",
"LoadInst",
",",
"unsigned",
"NLoadOpcode",
",",
"int64_t",
"LoadDisp",
",",
"MachineInstr",
"*",
"StoreInst",
",",
"unsigned",
"NStoreOpcode",
",",
"int64_t",
"StoreDisp",
",",
"unsign... | [
"Build",
"and",
"insert",
"Res",
"=",
"COPY",
"Op",
"."
] | [
"X86",
"X86",
"0",
"1",
"X86::NoRegister",
"X86::NoRegister",
"1",
"X86::NoRegister",
"X86::NoRegister",
"X86::AddrNumOperands",
"\"Expected virtual register\"",
"X86::AddrNumOperands"
] | X86AvoidStoreForwardingBlocks | buildCopy | X86 | CPU | LLVM | 11,473 | 386 | 1 | [] |
[
"<s>",
"static",
"int",
"ix86_vec_cost",
"(",
"machine_mode",
"mode",
",",
"int",
"cost",
")",
"{",
"if",
"(",
"!",
"VECTOR_MODE_P",
"(",
"mode",
")",
")",
"return",
"cost",
";",
"if",
"(",
"GET_MODE_BITSIZE",
"(",
"mode",
")",
"==",
"128",
"&&",
"TARG... | [
"Return",
"cost",
"of",
"vector",
"operation",
"in",
"MODE",
"given",
"that",
"scalar",
"version",
"has",
"COST",
".",
"If",
"PARALLEL",
"is",
"true",
"assume",
"that",
"CPU",
"has",
"more",
"than",
"one",
"unit",
"performing",
"the",
"operation",
"."
] | [
"i386",
"128",
"2",
"128",
"128"
] | i386 | ix86_vec_cost | i386 | CPU | GCC | 11,474 | 63 | 1 | [] |
[
"<s>",
"AsmToken",
"LexToken",
"(",
")",
"{",
"if",
"(",
"!",
"Lexer",
")",
"{",
"SetError",
"(",
"SMLoc",
"(",
")",
",",
"\"No MCAsmLexer installed\"",
")",
";",
"return",
"AsmToken",
"(",
"AsmToken",
"::",
"Error",
",",
"\"\"",
",",
"0",
")",
";",
... | [
"LexToken",
"-",
"Read",
"the",
"next",
"token",
"and",
"return",
"its",
"code",
"."
] | [
"MBlaze",
"\"No MCAsmLexer installed\"",
"\"\"",
"0",
"\"Unhandled dialect\"",
"\"\"",
"0",
"0"
] | MBlazeAsmLexer | LexToken | MBlaze | MPU | LLVM | 11,475 | 75 | 1 | [] |
[
"<s>",
"static",
"void",
"mips_emit_compare",
"(",
"enum",
"rtx_code",
"*",
"code",
",",
"rtx",
"*",
"op0",
",",
"rtx",
"*",
"op1",
",",
"bool",
"need_eq_ne_p",
")",
"{",
"if",
"(",
"GET_MODE_CLASS",
"(",
"GET_MODE",
"(",
"cmp_operands",
"[",
"0",
"]",
... | [
"Convert",
"a",
"comparison",
"into",
"something",
"that",
"can",
"be",
"used",
"in",
"a",
"branch",
"or",
"conditional",
"move",
".",
"On",
"entry",
",",
"*",
"OP0",
"and",
"*",
"OP1",
"are",
"the",
"values",
"being",
"compared",
"and",
"*",
"CODE",
"... | [
"mips",
"0",
"1",
"0",
"1",
"0",
"1",
"0",
"1",
"0",
"0",
"1",
"0",
"1"
] | mips3 | mips_emit_compare | mips | CPU | GCC | 11,476 | 293 | 1 | [] |
[
"<s>",
"unsigned",
"MipsSEInstrInfo",
"::",
"isLoadFromStackSlot",
"(",
"const",
"MachineInstr",
"&",
"MI",
",",
"int",
"&",
"FrameIndex",
")",
"const",
"{",
"unsigned",
"Opc",
"=",
"MI",
".",
"getOpcode",
"(",
")",
";",
"if",
"(",
"(",
"Opc",
"==",
"Mip... | [
"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... | [
"Mips",
"Mips",
"Mips::LW",
"Mips::LD",
"Mips::LWC1",
"Mips::LDC1",
"Mips::LDC164",
"1",
"2",
"2",
"1",
"0",
"0"
] | MipsSEInstrInfo10 | isLoadFromStackSlot | Mips | CPU | LLVM | 11,477 | 140 | 1 | [] |
[
"<s>",
"static",
"inline",
"tree",
"compound_expr",
"(",
"tree",
"t1",
",",
"tree",
"t2",
")",
"{",
"return",
"build2",
"(",
"COMPOUND_EXPR",
",",
"void_type_node",
",",
"t1",
",",
"t2",
")",
";",
"}",
"</s>"
] | [
"Return",
"the",
"compound",
"expression",
"made",
"of",
"T1",
"and",
"T2",
"."
] | [
"sparc"
] | sparc | compound_expr | sparc | CPU | GCC | 11,478 | 25 | 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",
"."
] | [
"arm",
"100",
"1"
] | arm6 | emit_unlikely_jump | arm | CPU | GCC | 11,479 | 36 | 1 | [] |
[
"<s>",
"const",
"char",
"*",
"ix86_output_ssemov",
"(",
"rtx_insn",
"*",
"insn",
",",
"rtx",
"*",
"operands",
")",
"{",
"machine_mode",
"mode",
"=",
"GET_MODE",
"(",
"operands",
"[",
"0",
"]",
")",
";",
"if",
"(",
"get_attr_type",
"(",
"insn",
")",
"!=... | [
"Return",
"the",
"template",
"of",
"the",
"TYPE_SSEMOV",
"instruction",
"to",
"move",
"operands",
"[",
"1",
"]",
"into",
"operands",
"[",
"0",
"]",
"."
] | [
"i386",
"0",
"1",
"64",
"32",
"16",
"0",
"\"%vmovq\\t{%1, %q0|%q0, %1}\"",
"\"%vmovd\\t{%1, %q0|%q0, %1}\"",
"1",
"\"%vmovq\\t{%q1, %0|%0, %q1}\"",
"\"%vmovd\\t{%q1, %0|%0, %q1}\"",
"\"%vmovq\\t{%1, %0|%0, %1}\"",
"0",
"\"%vmovd\\t{%1, %k0|%k0, %1}\"",
"1",
"\"%vmovd\\t{%k1, %0|%0, %... | i386 | ix86_output_ssemov | i386 | CPU | GCC | 11,480 | 377 | 1 | [] |
[
"<s>",
"void",
"getAnalysisUsage",
"(",
"AnalysisUsage",
"&",
"AU",
")",
"const",
"override",
"{",
"AU",
".",
"addRequired",
"<",
"LoopInfoWrapperPass",
">",
"(",
")",
";",
"AU",
".",
"addRequired",
"<",
"DominatorTreeWrapperPass",
">",
"(",
")",
";",
"AU",
... | [
"getAnalysisUsage",
"-",
"Subclasses",
"that",
"override",
"getAnalysisUsage",
"must",
"call",
"this",
"."
] | [
"AMDGPU"
] | SIAnnotateControlFlow34 | getAnalysisUsage | AMDGPU | GPU | LLVM | 11,481 | 54 | 1 | [] |
[
"<s>",
"bool",
"SystemZRegisterInfo",
"::",
"saveScavengerRegister",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"SaveMBBI",
",",
"MachineBasicBlock",
"::",
"iterator",
"&",
"UseMBBI",
",",
"const",
"TargetRegisterClass",
"*",
"RC... | [
"Spill",
"the",
"register",
"so",
"it",
"can",
"be",
"used",
"by",
"the",
"register",
"scavenger",
"."
] | [
"SystemZ",
"SystemZ",
"SystemZ",
"SystemZ",
"SystemZ",
"SystemZ",
"0",
"0"
] | SystemZRegisterInfo55 | saveScavengerRegister | SystemZ | CPU | LLVM | 11,482 | 194 | 1 | [] |
[
"<s>",
"const",
"MCFixupKindInfo",
"&",
"getFixupKindInfo",
"(",
"MCFixupKind",
"Kind",
")",
"const",
"{",
"const",
"static",
"MCFixupKindInfo",
"Infos",
"[",
"]",
"=",
"{",
"{",
"\"fixup_ppc_br24\"",
",",
"6",
",",
"24",
",",
"MCFixupKindInfo",
"::",
"FKF_IsP... | [
"Get",
"information",
"on",
"a",
"fixup",
"kind",
"."
] | [
"PowerPC",
"\"fixup_ppc_br24\"",
"6",
"24",
"\"fixup_ppc_brcond14\"",
"16",
"14",
"\"fixup_ppc_lo16\"",
"16",
"16",
"0",
"\"fixup_ppc_ha16\"",
"16",
"16",
"0",
"\"fixup_ppc_lo14\"",
"16",
"14",
"0",
"\"Invalid kind!\""
] | PPCMCCodeEmitter23 | getFixupKindInfo | PowerPC | CPU | LLVM | 11,483 | 112 | 1 | [] |
[
"<s>",
"const",
"uint16_t",
"*",
"SystemZRegisterInfo",
"::",
"getCalleeSavedRegs",
"(",
"const",
"MachineFunction",
"*",
"MF",
")",
"const",
"{",
"static",
"const",
"uint16_t",
"CalleeSavedRegs",
"[",
"]",
"=",
"{",
"SystemZ",
"::",
"R6D",
",",
"SystemZ",
"::... | [
"Code",
"Generation",
"virtual",
"methods",
"..."
] | [
"SystemZ",
"SystemZ",
"SystemZ::R6D",
"SystemZ::R7D",
"SystemZ::R8D",
"SystemZ::R9D",
"SystemZ::R10D",
"SystemZ::R11D",
"SystemZ::R12D",
"SystemZ::R13D",
"SystemZ::R14D",
"SystemZ::R15D",
"SystemZ::F8D",
"SystemZ::F9D",
"SystemZ::F10D",
"SystemZ::F11D",
"SystemZ::F12D",
"SystemZ::F... | SystemZRegisterInfo1 | getCalleeSavedRegs | SystemZ | CPU | LLVM | 11,484 | 101 | 1 | [] |
[
"<s>",
"void",
"X86PassConfig",
"::",
"addIRPasses",
"(",
")",
"{",
"addPass",
"(",
"createAtomicExpandPass",
"(",
")",
")",
";",
"TargetPassConfig",
"::",
"addIRPasses",
"(",
")",
";",
"if",
"(",
"TM",
"->",
"getOptLevel",
"(",
")",
"!=",
"CodeGenOpt",
":... | [
"Add",
"common",
"target",
"configurable",
"passes",
"that",
"perform",
"LLVM",
"IR",
"to",
"IR",
"transforms",
"following",
"machine",
"independent",
"optimization",
"."
] | [
"X86",
"X86"
] | X86TargetMachine130 | addIRPasses | X86 | CPU | LLVM | 11,485 | 99 | 1 | [] |
[
"<s>",
"BitVector",
"RISCVRegisterInfo",
"::",
"getReservedRegs",
"(",
"const",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"const",
"RISCVFrameLowering",
"*",
"TFI",
"=",
"getFrameLowering",
"(",
"MF",
")",
";",
"BitVector",
"Reserved",
"(",
"getNumRegs",
... | [
"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",
"0",
"RISCV",
"RISCV::X0",
"RISCV::X2",
"RISCV::X3",
"RISCV::X4",
"RISCV",
"RISCV::X8",
"RISCVABI::getBPReg"
] | RISCVRegisterInfo16 | getReservedRegs | RISCV | CPU | LLVM | 11,486 | 176 | 1 | [] |
[
"<s>",
"static",
"rtx",
"aarch64_move_pointer",
"(",
"rtx",
"pointer",
",",
"poly_int64",
"amount",
")",
"{",
"rtx",
"next",
"=",
"plus_constant",
"(",
"Pmode",
",",
"XEXP",
"(",
"pointer",
",",
"0",
")",
",",
"amount",
")",
";",
"return",
"adjust_automodi... | [
"Return",
"a",
"new",
"RTX",
"holding",
"the",
"result",
"of",
"moving",
"POINTER",
"forward",
"by",
"AMOUNT",
"bytes",
"."
] | [
"aarch64",
"0"
] | aarch64 | aarch64_move_pointer | aarch64 | CPU | GCC | 11,487 | 44 | 1 | [] |
[
"<s>",
"void",
"X86FrameLowering",
"::",
"eliminateCallFramePseudoInstr",
"(",
"MachineFunction",
"&",
"MF",
",",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"I",
")",
"const",
"{",
"bool",
"reserveCallFrame",
"=",
"hasReservedCallFram... | [
"This",
"method",
"is",
"called",
"during",
"prolog/epilog",
"code",
"insertion",
"to",
"eliminate",
"call",
"frame",
"setup",
"and",
"destroy",
"pseudo",
"instructions",
"(",
"but",
"only",
"if",
"the",
"Target",
"is",
"using",
"them",
")",
"."
] | [
"X86",
"X86",
"0",
"0",
"1",
"0",
"0"
] | X86FrameLowering82 | eliminateCallFramePseudoInstr | X86 | CPU | LLVM | 11,488 | 228 | 1 | [] |
[
"<s>",
"bool",
"SparcAsmPrinter",
"::",
"PrintAsmOperand",
"(",
"const",
"MachineInstr",
"*",
"MI",
",",
"unsigned",
"OpNo",
",",
"const",
"char",
"*",
"ExtraCode",
",",
"raw_ostream",
"&",
"O",
")",
"{",
"if",
"(",
"ExtraCode",
"&&",
"ExtraCode",
"[",
"0"... | [
"PrintAsmOperand",
"-",
"Print",
"out",
"an",
"operand",
"for",
"an",
"inline",
"asm",
"expression",
"."
] | [
"Sparc",
"Sparc",
"0",
"1",
"0",
"0"
] | SparcAsmPrinter17 | PrintAsmOperand | Sparc | CPU | LLVM | 11,489 | 92 | 1 | [] |
[
"<s>",
"unsigned",
"X86InstrInfo",
"::",
"removeBranch",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"int",
"*",
"BytesRemoved",
")",
"const",
"{",
"assert",
"(",
"!",
"BytesRemoved",
"&&",
"\"code size not handled\"",
")",
";",
"MachineBasicBlock",
"::",
"iterator... | [
"Remove",
"the",
"branching",
"code",
"at",
"the",
"end",
"of",
"the",
"specific",
"MBB",
"."
] | [
"X86",
"X86",
"\"code size not handled\"",
"0",
"X86::JMP_1",
"X86::getCondFromBranchOpc",
"X86::COND_INVALID"
] | X86InstrInfo | removeBranch | X86 | CPU | LLVM | 11,490 | 114 | 1 | [] |
[
"<s>",
"MachineBasicBlock",
"::",
"iterator",
"ARMBaseInstrInfo",
"::",
"insertOutlinedCall",
"(",
"Module",
"&",
"M",
",",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"&",
"It",
",",
"MachineFunction",
"&",
"MF",
",",
"const",
"... | [
"Insert",
"a",
"call",
"to",
"an",
"outlined",
"function",
"into",
"the",
"program",
"."
] | [
"ARM",
"ARM",
"ARM::tTAILJMPd",
"ARM::tTAILJMPdND",
"ARM::TAILJMPd",
"ARMCC::AL",
"ARM::tBL",
"ARM::BL",
"ARMCC::AL",
"0",
"\"No callee-saved register available?\"",
"ARM::LR",
"ARM::LR"
] | ARMBaseInstrInfo116 | insertOutlinedCall | ARM | CPU | LLVM | 11,491 | 351 | 1 | [] |
[
"<s>",
"void",
"th_mempair_save_restore_regs",
"(",
"rtx",
"operands",
"[",
"4",
"]",
",",
"bool",
"load_p",
",",
"machine_mode",
"mode",
")",
"{",
"gcc_assert",
"(",
"th_mempair_operands_p",
"(",
"operands",
",",
"load_p",
",",
"mode",
")",
")",
";",
"th_me... | [
"Emit",
"a",
"mempair",
"instruction",
"to",
"save/restore",
"two",
"registers",
"to/from",
"stack",
"."
] | [
"riscv",
"4"
] | thead | th_mempair_save_restore_regs | riscv | CPU | GCC | 11,492 | 53 | 1 | [] |
[
"<s>",
"bool",
"X86AsmPrinter",
"::",
"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",
"."
] | [
"X86",
"X86",
"0",
"1",
"0",
"0",
"\"no-rip\""
] | X86AsmPrinter58 | PrintAsmMemoryOperand | X86 | CPU | LLVM | 11,493 | 102 | 1 | [] |
[
"<s>",
"static",
"bool",
"mips_vector_mode_supported_p",
"(",
"enum",
"machine_mode",
"mode",
")",
"{",
"switch",
"(",
"mode",
")",
"{",
"case",
"V2SFmode",
":",
"return",
"TARGET_PAIRED_SINGLE_FLOAT",
";",
"case",
"V2HImode",
":",
"case",
"V4QImode",
":",
"retu... | [
"Target",
"hook",
"for",
"vector_mode_supported_p",
"."
] | [
"mips"
] | mips3 | mips_vector_mode_supported_p | mips | CPU | GCC | 11,494 | 36 | 1 | [] |
[
"<s>",
"void",
"R600SchedStrategy",
"::",
"releaseTopNode",
"(",
"SUnit",
"*",
"SU",
")",
"{",
"LLVM_DEBUG",
"(",
"dbgs",
"(",
")",
"<<",
"\"Top Releasing \"",
";",
"DAG",
"->",
"dumpNode",
"(",
"*",
"SU",
")",
")",
";",
"}",
"</s>"
] | [
"SU",
"has",
"had",
"all",
"predecessor",
"dependencies",
"resolved",
"."
] | [
"AMDGPU",
"R600",
"\"Top Releasing \""
] | R600MachineScheduler10 | releaseTopNode | AMDGPU | GPU | LLVM | 11,495 | 28 | 1 | [] |
[
"<s>",
"unsigned",
"int",
"get_ratio",
"(",
"machine_mode",
"mode",
")",
"{",
"if",
"(",
"TARGET_MIN_VLEN",
"==",
"32",
")",
"return",
"mode_vtype_infos",
".",
"ratio_for_min_vlen32",
"[",
"mode",
"]",
";",
"else",
"return",
"mode_vtype_infos",
".",
"ratio_for_m... | [
"Get",
"ratio",
"according",
"to",
"machine",
"mode",
"."
] | [
"riscv",
"32"
] | riscv-v | get_ratio | riscv | CPU | GCC | 11,496 | 32 | 1 | [] |
[
"<s>",
"bool",
"PatmosSPBundling",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"{",
"PSPI",
"=",
"&",
"getAnalysis",
"<",
"PatmosSinglePathInfo",
">",
"(",
")",
";",
"PostDom",
"=",
"&",
"getAnalysis",
"<",
"MachinePostDominatorTree",
"... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"Patmos",
"Patmos",
"Patmos",
"Patmos"
] | PatmosSPBundling | runOnMachineFunction | Patmos | VLIW | LLVM | 11,497 | 84 | 1 | [] |
[
"<s>",
"const",
"char",
"*",
"KudeyarTargetLowering",
"::",
"getTargetNodeName",
"(",
"unsigned",
"Opcode",
")",
"const",
"{",
"switch",
"(",
"Opcode",
")",
"{",
"case",
"KudeyarISD",
"::",
"BR_CC_T",
":",
"return",
"\"KudeyarISD::BR_CC_T\"",
";",
"case",
"Kudey... | [
"getTargetNodeName",
"-",
"This",
"method",
"returns",
"the",
"name",
"of",
"a",
"target",
"specific"
] | [
"Kudeyar",
"Kudeyar",
"KudeyarISD::BR_CC_T",
"\"KudeyarISD::BR_CC_T\"",
"KudeyarISD::BR_CC_F",
"\"KudeyarISD::BR_CC_F\"",
"KudeyarISD::SELECT_CC_T",
"\"KudeyarISD::SELECT_CC_T\"",
"KudeyarISD::SELECT_CC_F",
"\"KudeyarISD::SELECT_CC_f\"",
"KudeyarISD::CMPEQ",
"\"KudeyarISD::CMPEQ\"",
"Kudeyar... | KudeyarISelLowering | getTargetNodeName | Kudeyar | CPU | LLVM | 11,498 | 128 | 1 | [] |
[
"<s>",
"bool",
"ARMBaseInstrInfo",
"::",
"isFpMLxInstruction",
"(",
"unsigned",
"Opcode",
",",
"unsigned",
"&",
"MulOpc",
",",
"unsigned",
"&",
"AddSubOpc",
",",
"bool",
"&",
"NegAcc",
",",
"bool",
"&",
"HasLane",
")",
"const",
"{",
"DenseMap",
"<",
"unsigne... | [
"isFpMLxInstruction",
"-",
"This",
"version",
"also",
"returns",
"the",
"multiply",
"opcode",
"and",
"the",
"addition",
"/",
"subtraction",
"opcode",
"to",
"expand",
"to",
"."
] | [
"ARM",
"ARM",
"ARM",
"ARM"
] | ARMBaseInstrInfo (2) | isFpMLxInstruction | ARM | CPU | LLVM | 11,499 | 96 | 1 | [] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.