ground_truth listlengths 8 512 | natrual_language listlengths 1 243 | TS_V_token listlengths 1 182 | File stringlengths 2 45 | Func stringlengths 1 56 | Target stringclasses 175
values | Target_Clf stringclasses 6
values | Compiler_Type stringclasses 2
values | Idx int64 0 36.2k | Length int64 6 510 | Cover_Rate float64 1 1 | Template_token listlengths 0 0 |
|---|---|---|---|---|---|---|---|---|---|---|---|
[
"<s>",
"const",
"RISCVSubtarget",
"*",
"RISCVTargetMachine",
"::",
"getSubtargetImpl",
"(",
"const",
"Function",
"&",
"F",
")",
"const",
"{",
"Attribute",
"CPUAttr",
"=",
"F",
".",
"getFnAttribute",
"(",
"\"target-cpu\"",
")",
";",
"Attribute",
"TuneAttr",
"=",
... | [
"Virtual",
"method",
"implemented",
"by",
"subclasses",
"that",
"returns",
"a",
"reference",
"to",
"that",
"target",
"'s",
"TargetSubtargetInfo-derived",
"member",
"variable",
"."
] | [
"RI5CY",
"RISCV",
"RISCV",
"\"target-cpu\"",
"\"tune-cpu\"",
"\"target-features\"",
"\"target-abi\"",
"RISCVABI::getTargetABI",
"RISCVABI::ABI_Unknown",
"\"-target-abi option != target-abi module flag\"",
"RISCV"
] | RISCVTargetMachine | getSubtargetImpl | RI5CY | CPU | LLVM | 10,400 | 254 | 1 | [] |
[
"<s>",
"bool",
"SIInstrInfo",
"::",
"hasUnwantedEffectsWhenEXECEmpty",
"(",
"const",
"MachineInstr",
"&",
"MI",
")",
"const",
"{",
"unsigned",
"Opcode",
"=",
"MI",
".",
"getOpcode",
"(",
")",
";",
"if",
"(",
"MI",
".",
"mayStore",
"(",
")",
"&&",
"isSMRD",... | [
"Whether",
"we",
"must",
"prevent",
"this",
"instruction",
"from",
"executing",
"with",
"EXEC",
"=",
"0",
"."
] | [
"AMDGPU",
"SI",
"AMDGPU::S_SENDMSG",
"AMDGPU::S_SENDMSGHALT",
"AMDGPU::EXP",
"AMDGPU::EXP_DONE",
"AMDGPU::DS_ORDERED_COUNT",
"AMDGPU::S_TRAP",
"AMDGPU::DS_GWS_INIT",
"AMDGPU::DS_GWS_BARRIER",
"AMDGPU::V_READFIRSTLANE_B32",
"AMDGPU::V_READLANE_B32"
] | SIInstrInfo12 | hasUnwantedEffectsWhenEXECEmpty | AMDGPU | GPU | LLVM | 10,401 | 139 | 1 | [] |
[
"<s>",
"rtx_insn",
"*",
"s390_emit_call",
"(",
"rtx",
"addr_location",
",",
"rtx",
"tls_call",
",",
"rtx",
"result_reg",
",",
"rtx",
"retaddr_reg",
")",
"{",
"bool",
"plt31_call_p",
"=",
"false",
";",
"rtx_insn",
"*",
"insn",
";",
"rtx",
"vec",
"[",
"4",
... | [
"This",
"function",
"is",
"used",
"by",
"the",
"call",
"expanders",
"of",
"the",
"machine",
"description",
".",
"It",
"emits",
"the",
"call",
"insn",
"itself",
"together",
"with",
"the",
"necessary",
"operations",
"to",
"adjust",
"the",
"target",
"address",
... | [
"s390",
"4",
"0",
"0",
"1",
"2",
"3",
"1",
"0",
"4",
"1",
"0",
"0",
"4",
"12"
] | s390 | s390_emit_call | s390 | MPU | GCC | 10,402 | 463 | 1 | [] |
[
"<s>",
"bool",
"XtensaRegisterInfo",
"::",
"trackLivenessAfterRegAlloc",
"(",
"const",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"return",
"true",
";",
"}",
"</s>"
] | [
"Returns",
"true",
"if",
"the",
"live-ins",
"should",
"be",
"tracked",
"after",
"register",
"allocation",
"."
] | [
"Xtensa",
"Xtensa"
] | XtensaRegisterInfo | trackLivenessAfterRegAlloc | Xtensa | MPU | LLVM | 10,403 | 16 | 1 | [] |
[
"<s>",
"void",
"RISCVPassConfig",
"::",
"addMachineSSAOptimization",
"(",
")",
"{",
"TargetPassConfig",
"::",
"addMachineSSAOptimization",
"(",
")",
";",
"if",
"(",
"TM",
"->",
"getTargetTriple",
"(",
")",
".",
"getArch",
"(",
")",
"==",
"Triple",
"::",
"riscv... | [
"Methods",
"with",
"trivial",
"inline",
"returns",
"are",
"convenient",
"points",
"in",
"the",
"common",
"codegen",
"pass",
"pipeline",
"where",
"targets",
"may",
"insert",
"passes",
"."
] | [
"RISCV",
"RISCV",
"RISCV"
] | RISCVTargetMachine1 | addMachineSSAOptimization | RISCV | CPU | LLVM | 10,404 | 37 | 1 | [] |
[
"<s>",
"const",
"Cpu0TargetLowering",
"*",
"Cpu0TargetLowering",
"::",
"create",
"(",
"const",
"Cpu0TargetMachine",
"&",
"TM",
",",
"const",
"Cpu0Subtarget",
"&",
"STI",
")",
"{",
"return",
"llvm",
"::",
"createCpu0SETargetLowering",
"(",
"TM",
",",
"STI",
")",
... | [
"This",
"creates",
"an",
"identified",
"struct",
"."
] | [
"Cpu0",
"Cpu0",
"Cpu0",
"Cpu0",
"Cpu0",
"Cpu0"
] | Cpu0ISelLowering | create | Cpu0 | CPU | LLVM | 10,405 | 29 | 1 | [] |
[
"<s>",
"bool",
"writeNopData",
"(",
"raw_ostream",
"&",
"OS",
",",
"uint64_t",
"Count",
",",
"const",
"MCSubtargetInfo",
"*",
"STI",
")",
"const",
"override",
"{",
"if",
"(",
"(",
"Count",
"%",
"8",
")",
"!=",
"0",
")",
"return",
"false",
";",
"for",
... | [
"Write",
"an",
"(",
"optimal",
")",
"nop",
"sequence",
"of",
"Count",
"bytes",
"to",
"the",
"given",
"output",
"."
] | [
"VE",
"8",
"0",
"0",
"8",
"support::endian",
"0x7900000000000000ULL",
"support::little"
] | VEAsmBackend | writeNopData | VE | CPU | LLVM | 10,406 | 68 | 1 | [] |
[
"<s>",
"StringRef",
"getPassName",
"(",
")",
"const",
"override",
"{",
"return",
"\"X86 Speculative Execution Side Effect Suppression\"",
";",
"}",
"</s>"
] | [
"getPassName",
"-",
"Return",
"a",
"nice",
"clean",
"name",
"for",
"a",
"pass",
"."
] | [
"X86",
"\"X86 Speculative Execution Side Effect Suppression\""
] | X86SpeculativeExecutionSideEffectSuppression | getPassName | X86 | CPU | LLVM | 10,407 | 11 | 1 | [] |
[
"<s>",
"inline",
"static",
"rtx_insn",
"*",
"emit_set_insn",
"(",
"rtx",
"x",
",",
"rtx",
"y",
")",
"{",
"return",
"emit_insn",
"(",
"gen_rtx_SET",
"(",
"x",
",",
"y",
")",
")",
";",
"}",
"</s>"
] | [
"Emit",
"an",
"insn",
"that",
"'s",
"a",
"simple",
"single-set",
".",
"Both",
"the",
"operands",
"must",
"be",
"known",
"to",
"be",
"valid",
"."
] | [
"aarch64"
] | aarch64 | emit_set_insn | aarch64 | CPU | GCC | 10,408 | 25 | 1 | [] |
[
"<s>",
"static",
"struct",
"machine_function",
"*",
"rs6000_init_machine_status",
"(",
"void",
")",
"{",
"return",
"ggc_alloc_cleared",
"(",
"sizeof",
"(",
"machine_function",
")",
")",
";",
"}",
"</s>"
] | [
"Functions",
"to",
"init",
",",
"mark",
"and",
"free",
"struct",
"machine_function",
".",
"These",
"will",
"be",
"called",
",",
"via",
"pointer",
"variables",
",",
"from",
"push_function_context",
"and",
"pop_function_context",
"."
] | [
"rs6000"
] | rs60003 | rs6000_init_machine_status | rs6000 | CPU | GCC | 10,409 | 19 | 1 | [] |
[
"<s>",
"void",
"getAnalysisUsage",
"(",
"AnalysisUsage",
"&",
"AU",
")",
"const",
"override",
"{",
"AU",
".",
"addRequired",
"<",
"LoopInfoWrapperPass",
">",
"(",
")",
";",
"AU",
".",
"addRequired",
"<",
"DominatorTreeWrapperPass",
">",
"(",
")",
";",
"AU",
... | [
"getAnalysisUsage",
"-",
"Subclasses",
"that",
"override",
"getAnalysisUsage",
"must",
"call",
"this",
"."
] | [
"AMDGPU"
] | SIAnnotateControlFlow19 | getAnalysisUsage | AMDGPU | GPU | LLVM | 10,410 | 72 | 1 | [] |
[
"<s>",
"bool",
"RISCVTargetLowering",
"::",
"isOffsetFoldingLegal",
"(",
"const",
"GlobalAddressSDNode",
"*",
"GA",
")",
"const",
"{",
"return",
"false",
";",
"}",
"</s>"
] | [
"Return",
"true",
"if",
"folding",
"a",
"constant",
"offset",
"with",
"the",
"given",
"GlobalAddress",
"is",
"legal",
"."
] | [
"RISCV",
"RISCV"
] | RISCVISelLowering33 | isOffsetFoldingLegal | RISCV | CPU | LLVM | 10,411 | 16 | 1 | [] |
[
"<s>",
"bool",
"M68kCallLowering",
"::",
"enableBigEndian",
"(",
")",
"const",
"{",
"return",
"true",
";",
"}",
"</s>"
] | [
"For",
"targets",
"which",
"want",
"to",
"use",
"big-endian",
"can",
"enable",
"it",
"with",
"enableBigEndian",
"(",
")",
"hook",
"."
] | [
"M68k",
"M68k"
] | M68kCallLowering | enableBigEndian | M68k | MPU | LLVM | 10,412 | 12 | 1 | [] |
[
"<s>",
"const",
"MCPhysReg",
"*",
"TeakRegisterInfo",
"::",
"getCalleeSavedRegs",
"(",
"const",
"MachineFunction",
"*",
"MF",
")",
"const",
"{",
"return",
"CSR_SaveList",
";",
"}",
"</s>"
] | [
"Code",
"Generation",
"virtual",
"methods",
"..."
] | [
"Teak",
"Teak"
] | TeakRegisterInfo | getCalleeSavedRegs | Teak | DSP | LLVM | 10,413 | 18 | 1 | [] |
[
"<s>",
"StringRef",
"getPassName",
"(",
")",
"const",
"override",
"{",
"return",
"\"Cheri128 fail hard\"",
";",
"}",
"</s>"
] | [
"getPassName",
"-",
"Return",
"a",
"nice",
"clean",
"name",
"for",
"a",
"pass",
"."
] | [
"Mips",
"\"Cheri128 fail hard\""
] | Cheri128FailHard | getPassName | Mips | CPU | LLVM | 10,414 | 11 | 1 | [] |
[
"<s>",
"void",
"ThumbRegisterInfo",
"::",
"emitLoadConstPool",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"&",
"MBBI",
",",
"const",
"DebugLoc",
"&",
"dl",
",",
"unsigned",
"DestReg",
",",
"unsigned",
"SubIdx",
",",
"int",
... | [
"emitLoadConstPool",
"-",
"Emits",
"a",
"load",
"from",
"constpool",
"to",
"materialize",
"the",
"specified",
"immediate",
"."
] | [
"ARM",
"ARMCC::CondCodes",
"ARM",
"ARM",
"ARM",
"\"Thumb1 does not have ldr to high register\""
] | ThumbRegisterInfo (2)1 | emitLoadConstPool | ARM | CPU | LLVM | 10,415 | 139 | 1 | [] |
[
"<s>",
"bool",
"AMDGPUStructurizeCFG",
"::",
"runOnRegion",
"(",
"Region",
"*",
"R",
",",
"RGPassManager",
"&",
"RGM",
")",
"{",
"if",
"(",
"R",
"->",
"isTopLevelRegion",
"(",
")",
")",
"return",
"false",
";",
"Func",
"=",
"R",
"->",
"getEntry",
"(",
"... | [
"Run",
"the",
"pass",
"on",
"a",
"specific",
"Region",
"."
] | [
"R600"
] | AMDGPUStructurizeCFG2 | runOnRegion | R600 | GPU | LLVM | 10,416 | 105 | 1 | [] |
[
"<s>",
"static",
"void",
"undo_split_delayed_nonbranch",
"(",
"rtx_insn",
"*",
"insn",
")",
"{",
"int",
"icode",
"=",
"recog_memoized",
"(",
"insn",
")",
";",
"enum",
"attr_type",
"type",
";",
"rtx",
"prev_pat",
",",
"insn_pat",
";",
"rtx_insn",
"*",
"prev",... | [
"Examine",
"if",
"INSN",
"is",
"the",
"result",
"of",
"splitting",
"a",
"load",
"into",
"a",
"real",
"load",
"and",
"a",
"shadow",
",",
"and",
"if",
"so",
",",
"undo",
"the",
"transformation",
"."
] | [
"c6x",
"0",
"1",
"1",
"0",
"1",
"1"
] | c6x | undo_split_delayed_nonbranch | c6x | VLIW | GCC | 10,417 | 194 | 1 | [] |
[
"<s>",
"static",
"rtx_insn",
"*",
"emit_frame_insn",
"(",
"rtx",
"x",
")",
"{",
"rtx_insn",
"*",
"insn",
"=",
"emit_insn",
"(",
"x",
")",
";",
"RTX_FRAME_RELATED_P",
"(",
"insn",
")",
"=",
"1",
";",
"return",
"insn",
";",
"}",
"</s>"
] | [
"Wrapper",
"around",
"emit_insn",
"that",
"sets",
"RTX_FRAME_RELATED_P",
"on",
"the",
"insn",
"."
] | [
"sh",
"1"
] | sh | emit_frame_insn | sh | CPU | GCC | 10,418 | 29 | 1 | [] |
[
"<s>",
"void",
"fpscr_set_from_mem",
"(",
"int",
"mode",
",",
"HARD_REG_SET",
"regs_live",
")",
"{",
"enum",
"attr_fp_mode",
"fp_mode",
"=",
"(",
"enum",
"attr_fp_mode",
")",
"mode",
";",
"enum",
"attr_fp_mode",
"norm_mode",
"=",
"ACTUAL_NORMAL_MODE",
"(",
"FP_M... | [
"This",
"function",
"will",
"set",
"the",
"fpscr",
"from",
"memory",
".",
"MODE",
"is",
"the",
"mode",
"we",
"are",
"setting",
"it",
"to",
"."
] | [
"sh"
] | sh | fpscr_set_from_mem | sh | CPU | GCC | 10,419 | 54 | 1 | [] |
[
"<s>",
"static",
"void",
"write_init_ovld_table",
"(",
"void",
")",
"{",
"fprintf",
"(",
"init_file",
",",
"\" int base = RS6000_OVLD_NONE;\\n\\n\"",
")",
";",
"fprintf",
"(",
"init_file",
",",
"\" /* The fndecl for an overload is arbitrarily the first one\\n\"",
"\" fo... | [
"Write",
"code",
"to",
"initialize",
"the",
"overload",
"table",
"."
] | [
"rs6000",
"\" int base = RS6000_OVLD_NONE;\\n\\n\"",
"\" /* The fndecl for an overload is arbitrarily the first one\\n\"",
"\" for the overload. We sort out the real types when\\n\"",
"\" processing the overload in the gcc front end. */\\n\"",
"0",
"\" rs6000_instance_info[RS6000_INST_%s].f... | rs6000-gen-builtins | write_init_ovld_table | rs6000 | CPU | GCC | 10,420 | 314 | 1 | [] |
[
"<s>",
"bool",
"reg_unused_after",
"(",
"rtx",
"reg",
",",
"rtx_insn",
"*",
"insn",
")",
"{",
"rtx",
"set",
"=",
"single_set",
"(",
"insn",
")",
";",
"if",
"(",
"set",
"&&",
"!",
"MEM_P",
"(",
"SET_DEST",
"(",
"set",
")",
")",
"&&",
"reg_overlap_ment... | [
"Return",
"nonzero",
"if",
"REG",
"is",
"not",
"used",
"after",
"INSN",
".",
"We",
"assume",
"REG",
"is",
"a",
"reload",
"reg",
",",
"and",
"therefore",
"does",
"not",
"live",
"past",
"labels",
"or",
"calls",
"or",
"jumps",
"."
] | [
"sh",
"1",
"0"
] | sh | reg_unused_after | sh | CPU | GCC | 10,421 | 385 | 1 | [] |
[
"<s>",
"ARMPLT1",
"*",
"ARMPLT",
"::",
"create",
"(",
")",
"{",
"ARMPLT1",
"*",
"plt1_entry",
"=",
"new",
"(",
"std",
"::",
"nothrow",
")",
"ARMPLT1",
"(",
"*",
"m_pSectionData",
")",
";",
"if",
"(",
"!",
"plt1_entry",
")",
"fatal",
"(",
"diag",
"::"... | [
"This",
"creates",
"an",
"identified",
"struct",
"."
] | [
"ARM",
"ARM",
"ARM",
"ARM",
"ARM"
] | ARMPLT | create | ARM | CPU | LLVM | 10,422 | 40 | 1 | [] |
[
"<s>",
"void",
"dump",
"(",
")",
"{",
"cerr",
"<<",
"\"X86ISelAddressMode \"",
"<<",
"this",
"<<",
"'\\n'",
";",
"cerr",
"<<",
"\"Base.Reg \"",
";",
"if",
"(",
"Base",
".",
"Reg",
".",
"getNode",
"(",
")",
"!=",
"0",
")",
"Base",
".",
"Reg",
".",
"... | [
"Dump",
"the",
"plan",
"to",
"stderr",
"(",
"for",
"debugging",
")",
"."
] | [
"X86",
"\"X86ISelAddressMode \"",
"\"Base.Reg \"",
"0",
"\"nul\"",
"\" Base.FrameIndex \"",
"\" Scale\"",
"\"IndexReg \"",
"0",
"\"nul\"",
"\" Disp \"",
"\"GV \"",
"\"nul\"",
"\" CP \"",
"\"nul\"",
"\"ES \"",
"\"nul\"",
"\" JT\"",
"\" Align\""
] | X86ISelDAGToDAG56 | dump | X86 | CPU | LLVM | 10,423 | 173 | 1 | [] |
[
"<s>",
"static",
"bool",
"m32r_rtx_ok_for_base_p",
"(",
"const_rtx",
"x",
",",
"bool",
"strict",
")",
"{",
"if",
"(",
"!",
"REG_P",
"(",
"x",
")",
")",
"return",
"false",
";",
"if",
"(",
"strict",
")",
"{",
"if",
"(",
"GPR_P",
"(",
"REGNO",
"(",
"x... | [
"True",
"if",
"X",
"is",
"a",
"reg",
"that",
"can",
"be",
"used",
"as",
"a",
"base",
"reg",
"."
] | [
"m32r"
] | m32r | m32r_rtx_ok_for_base_p | m32r | MPU | GCC | 10,424 | 74 | 1 | [] |
[
"<s>",
"const",
"uint32_t",
"*",
"AArch64RegisterInfo",
"::",
"getWindowsStackProbePreservedMask",
"(",
")",
"const",
"{",
"return",
"CSR_AArch64_StackProbe_Windows_RegMask",
";",
"}",
"</s>"
] | [
"Stack",
"probing",
"calls",
"preserve",
"different",
"CSRs",
"to",
"the",
"normal",
"CC",
"."
] | [
"AArch64",
"AArch64",
"AArch64"
] | AArch64RegisterInfo | getWindowsStackProbePreservedMask | AArch64 | CPU | LLVM | 10,425 | 14 | 1 | [] |
[
"<s>",
"bool",
"ARMCodeEmitter",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"{",
"assert",
"(",
"(",
"MF",
".",
"getTarget",
"(",
")",
".",
"getRelocationModel",
"(",
")",
"!=",
"Reloc",
"::",
"Default",
"||",
"MF",
".",
"getTarg... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"ARM",
"ARM",
"\"JIT relocation model must be set to static or default!\"",
"ARM",
"ARM",
"ARM",
"ARM",
"0",
"\"JITTing function '\"",
"\"'\\n\""
] | ARMCodeEmitter16 | runOnMachineFunction | ARM | CPU | LLVM | 10,426 | 299 | 1 | [] |
[
"<s>",
"static",
"bool",
"riscv_function_ok_for_sibcall",
"(",
"tree",
"decl",
"ATTRIBUTE_UNUSED",
",",
"tree",
"exp",
"ATTRIBUTE_UNUSED",
")",
"{",
"if",
"(",
"TARGET_SAVE_RESTORE",
")",
"return",
"false",
";",
"if",
"(",
"cfun",
"->",
"machine",
"->",
"naked_p... | [
"Implement",
"TARGET_FUNCTION_OK_FOR_SIBCALL",
"."
] | [
"riscv"
] | riscv | riscv_function_ok_for_sibcall | riscv | CPU | GCC | 10,427 | 46 | 1 | [] |
[
"<s>",
"int",
"GCNTTIImpl",
"::",
"getMinMaxReductionCost",
"(",
"VectorType",
"*",
"Ty",
",",
"VectorType",
"*",
"CondTy",
",",
"bool",
"IsPairwise",
",",
"bool",
"IsUnsigned",
")",
"{",
"EVT",
"OrigTy",
"=",
"TLI",
"->",
"getValueType",
"(",
"DL",
",",
"... | [
"Try",
"to",
"calculate",
"op",
"costs",
"for",
"min/max",
"reduction",
"operations",
"."
] | [
"AMDGPU",
"16"
] | AMDGPUTargetTransformInfo44 | getMinMaxReductionCost | AMDGPU | GPU | LLVM | 10,428 | 94 | 1 | [] |
[
"<s>",
"virtual",
"const",
"char",
"*",
"getPassName",
"(",
")",
"const",
"{",
"return",
"\"TeeRISC Assembly Printer\"",
";",
"}",
"</s>"
] | [
"getPassName",
"-",
"Return",
"a",
"nice",
"clean",
"name",
"for",
"a",
"pass",
"."
] | [
"TeeRISC",
"\"TeeRISC Assembly Printer\""
] | TeeRISCAsmPrinter | getPassName | TeeRISC | CPU | LLVM | 10,429 | 13 | 1 | [] |
[
"<s>",
"bool",
"X86SpeculativeExecutionSideEffectSuppression",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"{",
"if",
"(",
"!",
"EnableSpeculativeExecutionSideEffectSuppression",
")",
"return",
"false",
";",
"LLVM_DEBUG",
"(",
"dbgs",
"(",
")",... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"X86",
"X86",
"\"********** \"",
"\" : \"",
"\" **********\\n\"",
"X86",
"X86",
"X86",
"X86::LFENCE",
"X86::LFENCE"
] | X86SpeculativeExecutionSideEffectSuppression | runOnMachineFunction | X86 | CPU | LLVM | 10,430 | 221 | 1 | [] |
[
"<s>",
"static",
"void",
"frv_io_handle_use",
"(",
"rtx",
"*",
"x",
",",
"void",
"*",
"data",
")",
"{",
"find_all_hard_regs",
"(",
"*",
"x",
",",
"(",
"HARD_REG_SET",
"*",
")",
"data",
")",
";",
"}",
"</s>"
] | [
"A",
"note_stores",
"callback",
"that",
"applies",
"frv_io_handle_use_1",
"to",
"an",
"entire",
"rhs",
"value",
"."
] | [
"frv"
] | frv | frv_io_handle_use | frv | VLIW | GCC | 10,431 | 26 | 1 | [] |
[
"<s>",
"static",
"rtx",
"gen_reg_or_parallel",
"(",
"machine_mode",
"mode",
",",
"machine_mode",
"orig_mode",
",",
"unsigned",
"int",
"regno",
")",
"{",
"rtx",
"tmp",
";",
"if",
"(",
"orig_mode",
"!=",
"BLKmode",
")",
"tmp",
"=",
"gen_rtx_REG",
"(",
"orig_mo... | [
"We",
"want",
"to",
"pass",
"a",
"value",
"in",
"REGNO",
"whose",
"``",
"natural",
"''",
"mode",
"is",
"MODE",
".",
"However",
",",
"this",
"may",
"not",
"agree",
"with",
"the",
"mode",
"that",
"the",
"type",
"system",
"has",
"chosen",
"for",
"the",
... | [
"i386",
"1"
] | i386 | gen_reg_or_parallel | i386 | CPU | GCC | 10,432 | 74 | 1 | [] |
[
"<s>",
"bool",
"RISCVRI5CYIR",
"::",
"runOnFunction",
"(",
"Function",
"&",
"F",
")",
"{",
"errs",
"(",
")",
"<<",
"\"runOnFunction(\"",
"<<",
"F",
".",
"getName",
"(",
")",
".",
"str",
"(",
")",
"<<",
"\")\\n\"",
";",
"this",
"->",
"transformBitManipula... | [
"runOnFunction",
"-",
"Virtual",
"method",
"overriden",
"by",
"subclasses",
"to",
"do",
"the",
"per-function",
"processing",
"of",
"the",
"pass",
"."
] | [
"RISCV",
"RISCV",
"\"runOnFunction(\"",
"\")\\n\""
] | RISCVRI5CYHelpers | runOnFunction | RISCV | CPU | LLVM | 10,433 | 39 | 1 | [] |
[
"<s>",
"unsigned",
"MipsSEInstrInfo",
"::",
"isStoreToStackSlot",
"(",
"const",
"MachineInstr",
"&",
"MI",
",",
"int",
"&",
"FrameIndex",
")",
"const",
"{",
"unsigned",
"Opc",
"=",
"MI",
".",
"getOpcode",
"(",
")",
";",
"if",
"(",
"(",
"Opc",
"==",
"Mips... | [
"isStoreToStackSlot",
"-",
"If",
"the",
"specified",
"machine",
"instruction",
"is",
"a",
"direct",
"store",
"to",
"a",
"stack",
"slot",
",",
"return",
"the",
"virtual",
"or",
"physical",
"register",
"number",
"of",
"the",
"source",
"reg",
"along",
"with",
"... | [
"Mips",
"Mips",
"Mips::SW",
"Mips::SD",
"Mips::SWC1",
"Mips::SDC1",
"Mips::SDC164",
"1",
"2",
"2",
"1",
"0",
"0"
] | MipsSEInstrInfo10 | isStoreToStackSlot | Mips | CPU | LLVM | 10,434 | 140 | 1 | [] |
[
"<s>",
"bool",
"X86FrameLowering",
"::",
"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"... | [
"X86",
"X86",
"X86::PUSH64r",
"X86::PUSH32r",
"0",
"1",
"X86::GR64RegClass",
"X86::GR32RegClass",
"0",
"1",
"X86::GR64RegClass",
"X86::GR32RegClass",
"MVT::Other",
"X86::VK16RegClass",
"MVT::v64i1",
"MVT::v16i1",
"1"
] | X86FrameLowering1 | spillCalleeSavedRegisters | X86 | CPU | LLVM | 10,435 | 424 | 1 | [] |
[
"<s>",
"unsigned",
"X86TargetLowering",
"::",
"getByValTypeAlignment",
"(",
"Type",
"*",
"Ty",
",",
"const",
"DataLayout",
"&",
"DL",
")",
"const",
"{",
"if",
"(",
"Subtarget",
".",
"is64Bit",
"(",
")",
")",
"{",
"unsigned",
"TyAlign",
"=",
"DL",
".",
"g... | [
"Return",
"the",
"desired",
"alignment",
"for",
"ByVal",
"aggregate",
"function",
"arguments",
"in",
"the",
"caller",
"parameter",
"area",
"."
] | [
"X86",
"X86",
"8",
"8",
"4"
] | X86ISelLowering (2)6 | getByValTypeAlignment | X86 | CPU | LLVM | 10,436 | 72 | 1 | [] |
[
"<s>",
"virtual",
"void",
"EmitInstruction",
"(",
"const",
"MCInst",
"&",
"Inst",
",",
"const",
"MCSubtargetInfo",
"&",
"STI",
")",
"{",
"EmitA64MappingSymbol",
"(",
")",
";",
"MCELFStreamer",
"::",
"EmitInstruction",
"(",
"Inst",
",",
"STI",
")",
";",
"}",
... | [
"EmitInstruction",
"-",
"This",
"callback",
"is",
"invoked",
"when",
"an",
"instruction",
"is",
"emitted",
",",
"to",
"advance",
"the",
"hazard",
"state",
"."
] | [
"ARM64"
] | ARM64ELFStreamer | EmitInstruction | ARM64 | CPU | LLVM | 10,437 | 29 | 1 | [] |
[
"<s>",
"const",
"char",
"*",
"getPassName",
"(",
")",
"const",
"override",
"{",
"return",
"\"Thumb2 instruction size reduction pass\"",
";",
"}",
"</s>"
] | [
"getPassName",
"-",
"Return",
"a",
"nice",
"clean",
"name",
"for",
"a",
"pass",
"."
] | [
"ARM",
"\"Thumb2 instruction size reduction pass\""
] | Thumb2SizeReduction (2) | getPassName | ARM | CPU | LLVM | 10,438 | 13 | 1 | [] |
[
"<s>",
"void",
"SparcInstrInfo",
"::",
"loadRegFromStackSlot",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"I",
",",
"unsigned",
"DestReg",
",",
"int",
"FI",
",",
"const",
"TargetRegisterClass",
"*",
"RC",
",",
"const",
"Tar... | [
"Load",
"the",
"specified",
"register",
"of",
"the",
"given",
"register",
"class",
"from",
"the",
"specified",
"stack",
"frame",
"index",
"."
] | [
"Sparc",
"Sparc",
"SP::I64RegsRegClass",
"SP::LDXri",
"0",
"SP::IntRegsRegClass",
"SP::LDri",
"0",
"SP::FPRegsRegClass",
"SP::LDFri",
"0",
"SP::DFPRegsRegClass",
"SP::LDDFri",
"0",
"\"Can't load this register from stack slot\""
] | SparcInstrInfo2 | loadRegFromStackSlot | Sparc | CPU | LLVM | 10,439 | 287 | 1 | [] |
[
"<s>",
"bool",
"iq2000_function_value_regno_p",
"(",
"const",
"unsigned",
"int",
"regno",
")",
"{",
"return",
"(",
"regno",
"==",
"GP_RETURN",
")",
";",
"}",
"</s>"
] | [
"Worker",
"function",
"for",
"FUNCTION_VALUE_REGNO_P",
".",
"On",
"the",
"IQ2000",
",",
"R2",
"and",
"R3",
"are",
"the",
"only",
"register",
"thus",
"used",
"."
] | [
"iq2000"
] | iq2000 | iq2000_function_value_regno_p | iq2000 | CPU | GCC | 10,440 | 17 | 1 | [] |
[
"<s>",
"static",
"void",
"sh_insert_attributes",
"(",
"tree",
"node",
",",
"tree",
"*",
"attributes",
")",
"{",
"if",
"(",
"TREE_CODE",
"(",
"node",
")",
"!=",
"FUNCTION_DECL",
")",
"return",
";",
"if",
"(",
"!",
"DECL_P",
"(",
"node",
")",
")",
"retur... | [
"Generate",
"'handle_interrupt",
"'",
"attribute",
"for",
"decls"
] | [
"sh",
"\"interrupt_handler\"",
"\"interrupt_handler\"",
"\"trapa_handler\"",
"\"interrupt_handler\"",
"\"sp_switch\"",
"\"trap_exit\"",
"\"nosave_low_regs\"",
"\"resbank\"",
"\"sp_switch\"",
"\"trap_exit\"",
"\"nosave_low_regs\"",
"\"resbank\"",
"\"%qE attribute only applies to interrupt f... | sh | sh_insert_attributes | sh | CPU | GCC | 10,441 | 256 | 1 | [] |
[
"<s>",
"Register",
"ARMBaseRegisterInfo",
"::",
"getFrameRegister",
"(",
"const",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"const",
"ARMSubtarget",
"&",
"STI",
"=",
"MF",
".",
"getSubtarget",
"<",
"ARMSubtarget",
">",
"(",
")",
";",
"const",
"ARMFrameL... | [
"Debug",
"information",
"queries",
"."
] | [
"ARM",
"ARM",
"ARM",
"ARM",
"ARM",
"ARM::SP"
] | ARMBaseRegisterInfo11 | getFrameRegister | ARM | CPU | LLVM | 10,442 | 57 | 1 | [] |
[
"<s>",
"static",
"bool",
"aarch64_valid_floating_const",
"(",
"machine_mode",
"mode",
",",
"rtx",
"x",
")",
"{",
"if",
"(",
"!",
"CONST_DOUBLE_P",
"(",
"x",
")",
")",
"return",
"false",
";",
"if",
"(",
"aarch64_float_const_zero_rtx_p",
"(",
"x",
")",
")",
... | [
"Return",
"true",
"if",
"X",
"holds",
"either",
"a",
"quarter-precision",
"or",
"floating-point",
"+0.0",
"constant",
"."
] | [
"aarch64"
] | aarch643 | aarch64_valid_floating_const | aarch64 | CPU | GCC | 10,443 | 55 | 1 | [] |
[
"<s>",
"void",
"MBlazeInstrInfo",
"::",
"insertNoop",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"MI",
")",
"const",
"{",
"DebugLoc",
"DL",
";",
"if",
"(",
"MI",
"!=",
"MBB",
".",
"end",
"(",
")",
")",
"DL",
"=",
... | [
"Insert",
"a",
"noop",
"into",
"the",
"instruction",
"stream",
"at",
"the",
"specified",
"point",
"."
] | [
"MBlaze",
"MBlaze",
"MBlaze::NOP"
] | MBlazeInstrInfo | insertNoop | MBlaze | MPU | LLVM | 10,444 | 54 | 1 | [] |
[
"<s>",
"void",
"mmix_asm_output_label",
"(",
"FILE",
"*",
"stream",
",",
"const",
"char",
"*",
"name",
")",
"{",
"assemble_name",
"(",
"stream",
",",
"name",
")",
";",
"fprintf",
"(",
"stream",
",",
"\"\\tIS @\\n\"",
")",
";",
"}",
"</s>"
] | [
"ASM_OUTPUT_LABEL",
"."
] | [
"mmix",
"\"\\tIS @\\n\""
] | mmix | mmix_asm_output_label | mmix | CPU | GCC | 10,445 | 28 | 1 | [] |
[
"<s>",
"void",
"X86RegisterInfo",
"::",
"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",
"."
] | [
"X86",
"X86",
"X86",
"X86::TAILJMPm64",
"X86::TAILJMPm",
"X86::TCRETURNmi",
"X86::TCRETURNmi64",
"0",
"0",
"X86::LEA64_32r",
"X86::GR32RegClass",
"X86",
"MVT::i64",
"\"Expected the FP as base register\"",
"1",
"1",
"3",
"3",
"32",
"\"Requesting 64-bit offset in 32-bit immediate... | X86RegisterInfo (2) | eliminateFrameIndex | X86 | CPU | LLVM | 10,446 | 506 | 1 | [] |
[
"<s>",
"static",
"int",
"mep_insn_dependent_p",
"(",
"rtx",
"x",
",",
"rtx",
"y",
")",
"{",
"rtx",
"tmp",
";",
"gcc_assert",
"(",
"INSN_P",
"(",
"x",
")",
")",
";",
"gcc_assert",
"(",
"INSN_P",
"(",
"y",
")",
")",
";",
"tmp",
"=",
"PATTERN",
"(",
... | [
"Return",
"true",
"if",
"anything",
"in",
"insn",
"X",
"is",
"(",
"anti",
",",
"output",
",",
"true",
")",
"dependent",
"on",
"anything",
"in",
"insn",
"Y",
"."
] | [
"mep",
"1",
"1",
"0"
] | mep | mep_insn_dependent_p | mep | CPU | GCC | 10,447 | 92 | 1 | [] |
[
"<s>",
"unsigned",
"NVPTXTTIImpl",
"::",
"getArithmeticInstrCost",
"(",
"unsigned",
"Opcode",
",",
"Type",
"*",
"Ty",
",",
"TTI",
"::",
"OperandValueKind",
"Opd1Info",
",",
"TTI",
"::",
"OperandValueKind",
"Opd2Info",
",",
"TTI",
"::",
"OperandValueProperties",
"O... | [
"This",
"is",
"an",
"approximation",
"of",
"reciprocal",
"throughput",
"of",
"a",
"math/logic",
"op",
"."
] | [
"NVPTX",
"NVPTX",
"ISD::ADD",
"ISD::MUL",
"ISD::XOR",
"ISD::OR",
"ISD::AND",
"MVT::i64",
"2"
] | NVPTXTargetTransformInfo17 | getArithmeticInstrCost | NVPTX | GPU | LLVM | 10,448 | 151 | 1 | [] |
[
"<s>",
"void",
"Thumb1InstrInfo",
"::",
"storeRegToStackSlot",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"I",
",",
"unsigned",
"SrcReg",
",",
"bool",
"isKill",
",",
"int",
"FI",
",",
"const",
"TargetRegisterClass",
"*",
"R... | [
"Store",
"the",
"specified",
"register",
"of",
"the",
"given",
"register",
"class",
"to",
"the",
"specified",
"stack",
"frame",
"index",
"."
] | [
"ARM",
"ARM::tGPRRegisterClass",
"ARM",
"\"Unknown regclass!\"",
"ARM::tGPRRegisterClass",
"ARM",
"ARM::tSpill",
"0"
] | Thumb1InstrInfo27 | storeRegToStackSlot | ARM | CPU | LLVM | 10,449 | 211 | 1 | [] |
[
"<s>",
"bool",
"SITypeRewriter",
"::",
"runOnFunction",
"(",
"Function",
"&",
"F",
")",
"{",
"AttributeSet",
"Set",
"=",
"F",
".",
"getAttributes",
"(",
")",
";",
"Attribute",
"A",
"=",
"Set",
".",
"getAttribute",
"(",
"AttributeSet",
"::",
"FunctionIndex",
... | [
"runOnFunction",
"-",
"Virtual",
"method",
"overriden",
"by",
"subclasses",
"to",
"do",
"the",
"per-function",
"processing",
"of",
"the",
"pass",
"."
] | [
"R600",
"SI",
"\"ShaderType\"",
"0"
] | SITypeRewriter | runOnFunction | R600 | GPU | LLVM | 10,450 | 93 | 1 | [] |
[
"<s>",
"void",
"PPCMIPeephole",
"::",
"initialize",
"(",
"MachineFunction",
"&",
"MFParm",
")",
"{",
"MF",
"=",
"&",
"MFParm",
";",
"MRI",
"=",
"&",
"MF",
"->",
"getRegInfo",
"(",
")",
";",
"MDT",
"=",
"&",
"getAnalysis",
"<",
"MachineDominatorTree",
">"... | [
"Initialize",
"the",
"strategy",
"after",
"building",
"the",
"DAG",
"for",
"a",
"new",
"region",
"."
] | [
"PowerPC",
"PPC",
"PPC",
"\"*** PowerPC MI peephole pass ***\\n\\n\""
] | PPCMIPeephole10 | initialize | PowerPC | CPU | LLVM | 10,451 | 68 | 1 | [] |
[
"<s>",
"SDValue",
"MSP430TargetLowering",
"::",
"LowerReturn",
"(",
"SDValue",
"Chain",
",",
"CallingConv",
"::",
"ID",
"CallConv",
",",
"bool",
"isVarArg",
",",
"const",
"SmallVectorImpl",
"<",
"ISD",
"::",
"OutputArg",
">",
"&",
"Outs",
",",
"const",
"SmallV... | [
"This",
"hook",
"must",
"be",
"implemented",
"to",
"lower",
"outgoing",
"return",
"values",
",",
"described",
"by",
"the",
"Outs",
"array",
",",
"into",
"the",
"specified",
"DAG",
"."
] | [
"MSP430",
"MSP430",
"ISD::OutputArg",
"16",
"MSP430",
"\"ISRs cannot return any value\"",
"4",
"1",
"0",
"\"Can only return in registers!\"",
"1",
"MSP430",
"MSP430ISD::RETI_FLAG",
"MSP430ISD::RET_FLAG",
"0",
"MVT::Other"
] | MSP430ISelLowering (2) | LowerReturn | MSP430 | MPU | LLVM | 10,452 | 272 | 1 | [] |
[
"<s>",
"static",
"int",
"rs6000_variable_issue",
"(",
"FILE",
"*",
"stream",
",",
"int",
"verbose",
",",
"rtx_insn",
"*",
"insn",
",",
"int",
"more",
")",
"{",
"int",
"r",
"=",
"rs6000_variable_issue_1",
"(",
"insn",
",",
"more",
")",
";",
"if",
"(",
"... | [
"Power4",
"load",
"update",
"and",
"store",
"update",
"instructions",
"are",
"cracked",
"into",
"a",
"load",
"or",
"store",
"and",
"an",
"integer",
"insn",
"which",
"are",
"executed",
"in",
"the",
"same",
"cycle",
".",
"Branches",
"have",
"their",
"own",
"... | [
"rs6000",
"\"// rs6000_variable_issue (more = %d) = %d\\n\""
] | rs6000 | rs6000_variable_issue | rs6000 | CPU | GCC | 10,453 | 48 | 1 | [] |
[
"<s>",
"static",
"bool",
"ix86_pragma_target_parse",
"(",
"tree",
"args",
",",
"tree",
"pop_target",
")",
"{",
"tree",
"prev_tree",
"=",
"build_target_option_node",
"(",
"&",
"global_options",
",",
"&",
"global_options_set",
")",
";",
"tree",
"cur_tree",
";",
"s... | [
"Hook",
"to",
"validate",
"the",
"current",
"#",
"pragma",
"GCC",
"target",
"and",
"set",
"the",
"state",
",",
"and",
"update",
"the",
"macros",
"based",
"on",
"what",
"was",
"changed",
".",
"If",
"ARGS",
"is",
"NULL",
",",
"then",
"POP_TARGET",
"is",
... | [
"i386",
"0",
"0"
] | i386-c1 | ix86_pragma_target_parse | i386 | CPU | GCC | 10,454 | 358 | 1 | [] |
[
"<s>",
"static",
"bool",
"call_ABI_of_interest",
"(",
"tree",
"fndecl",
")",
"{",
"if",
"(",
"rs6000_gnu_attr",
"&&",
"symtab",
"->",
"state",
"==",
"EXPANSION",
")",
"{",
"struct",
"cgraph_node",
"*",
"c_node",
";",
"if",
"(",
"fndecl",
"==",
"NULL_TREE",
... | [
"Return",
"TRUE",
"if",
"a",
"call",
"to",
"function",
"FNDECL",
"may",
"be",
"one",
"that",
"potentially",
"affects",
"the",
"function",
"calling",
"ABI",
"of",
"the",
"object",
"file",
"."
] | [
"rs6000"
] | rs6000-call | call_ABI_of_interest | rs6000 | CPU | GCC | 10,455 | 73 | 1 | [] |
[
"<s>",
"bool",
"RISCVPassConfig",
"::",
"addPreISel",
"(",
")",
"{",
"if",
"(",
"TM",
"->",
"getOptLevel",
"(",
")",
"!=",
"CodeGenOpt",
"::",
"None",
")",
"{",
"addPass",
"(",
"createHardwareLoopsPass",
"(",
")",
")",
";",
"}",
"return",
"false",
";",
... | [
"{",
"{",
"@",
"For",
"GlobalISel"
] | [
"RISCV",
"RISCV"
] | RISCVTargetMachine2 | addPreISel | RISCV | CPU | LLVM | 10,456 | 32 | 1 | [] |
[
"<s>",
"void",
"addExpr",
"(",
"MCInst",
"&",
"Inst",
",",
"const",
"MCExpr",
"*",
"Expr",
")",
"const",
"{",
"if",
"(",
"Expr",
"==",
"0",
")",
"Inst",
".",
"addOperand",
"(",
"MCOperand",
"::",
"createImm",
"(",
"0",
")",
")",
";",
"else",
"if",
... | [
"Add",
"a",
"new",
"MCExpr",
"operand",
"."
] | [
"OR1K",
"0",
"0"
] | OR1KAsmParser1 | addExpr | OR1K | CPU | LLVM | 10,457 | 78 | 1 | [] |
[
"<s>",
"bool",
"SIAnnotateControlFlow",
"::",
"runOnFunction",
"(",
"Function",
"&",
"F",
")",
"{",
"DT",
"=",
"&",
"getAnalysis",
"<",
"DominatorTreeWrapperPass",
">",
"(",
")",
".",
"getDomTree",
"(",
")",
";",
"LI",
"=",
"&",
"getAnalysis",
"<",
"LoopIn... | [
"runOnFunction",
"-",
"Virtual",
"method",
"overriden",
"by",
"subclasses",
"to",
"do",
"the",
"per-function",
"processing",
"of",
"the",
"pass",
"."
] | [
"AMDGPU",
"SI",
"1",
"1",
"\"failed to annotate CFG\""
] | SIAnnotateControlFlow35 | runOnFunction | AMDGPU | GPU | LLVM | 10,458 | 326 | 1 | [] |
[
"<s>",
"rtx",
"spu_float_const",
"(",
"const",
"char",
"*",
"string",
",",
"machine_mode",
"mode",
")",
"{",
"REAL_VALUE_TYPE",
"value",
";",
"value",
"=",
"REAL_VALUE_ATOF",
"(",
"string",
",",
"mode",
")",
";",
"return",
"CONST_DOUBLE_FROM_REAL_VALUE",
"(",
... | [
"Create",
"a",
"CONST_DOUBLE",
"from",
"a",
"string",
"."
] | [
"spu"
] | spu | spu_float_const | spu | MPU | GCC | 10,459 | 33 | 1 | [] |
[
"<s>",
"int",
"legitimate_pic_operand_p",
"(",
"rtx",
"x",
")",
"{",
"switch",
"(",
"GET_CODE",
"(",
"x",
")",
")",
"{",
"case",
"SYMBOL_REF",
":",
"return",
"0",
";",
"case",
"LABEL_REF",
":",
"return",
"0",
";",
"case",
"CONST",
":",
"if",
"(",
"GE... | [
"Return",
"true",
"if",
"OP",
"is",
"a",
"legitimate",
"general",
"operand",
"when",
"generating",
"PIC",
"code",
".",
"It",
"is",
"given",
"that",
"flag_pic",
"is",
"on",
"and",
"that",
"OP",
"satisfies",
"CONSTANT_P",
"or",
"is",
"a",
"CONST_DOUBLE",
"."... | [
"cr16",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"1",
"0",
"0",
"1"
] | cr16 | legitimate_pic_operand_p | cr16 | MPU | GCC | 10,460 | 127 | 1 | [] |
[
"<s>",
"bool",
"ARMTargetLowering",
"::",
"functionArgumentNeedsConsecutiveRegisters",
"(",
"Type",
"*",
"Ty",
",",
"CallingConv",
"::",
"ID",
"CallConv",
",",
"bool",
"isVarArg",
")",
"const",
"{",
"if",
"(",
"getEffectiveCallingConv",
"(",
"CallConv",
",",
"isVa... | [
"Returns",
"true",
"if",
"an",
"argument",
"of",
"type",
"Ty",
"needs",
"to",
"be",
"passed",
"in",
"a",
"contiguous",
"block",
"of",
"registers",
"in",
"calling",
"convention",
"CallConv",
"."
] | [
"ARM",
"ARM",
"ARM",
"0",
"\"isHA: \"",
"\" \""
] | ARMISelLowering (2)6 | functionArgumentNeedsConsecutiveRegisters | ARM | CPU | LLVM | 10,461 | 101 | 1 | [] |
[
"<s>",
"unsigned",
"HexagonTTIImpl",
"::",
"getIntrinsicInstrCost",
"(",
"Intrinsic",
"::",
"ID",
"ID",
",",
"Type",
"*",
"RetTy",
",",
"ArrayRef",
"<",
"Type",
"*",
">",
"Tys",
",",
"FastMathFlags",
"FMF",
",",
"unsigned",
"ScalarizationCostPassed",
")",
"{",... | [
"Get",
"intrinsic",
"cost",
"based",
"on",
"arguments",
"."
] | [
"Hexagon",
"Hexagon",
"Intrinsic::ID",
"Intrinsic::bswap",
"2"
] | HexagonTargetTransformInfo11 | getIntrinsicInstrCost | Hexagon | DSP | LLVM | 10,462 | 81 | 1 | [] |
[
"<s>",
"bool",
"AMDGPUAsmParser",
"::",
"isInlineConstant",
"(",
"const",
"MCInst",
"&",
"Inst",
",",
"unsigned",
"OpIdx",
")",
"const",
"{",
"const",
"MCInstrDesc",
"&",
"Desc",
"=",
"MII",
".",
"get",
"(",
"Inst",
".",
"getOpcode",
"(",
")",
")",
";",
... | [
"returns",
"true",
"if",
"the",
"operand",
"OpIdx",
"in",
"MI",
"is",
"a",
"valid",
"inline",
"immediate",
"."
] | [
"AMDGPU",
"AMDGPU",
"AMDGPU::isSISrcOperand",
"AMDGPU::getOperandSize",
"8",
"AMDGPU::isInlinableLiteral64",
"4",
"AMDGPU::isInlinableLiteral32",
"2",
"AMDGPU::OPERAND_REG_INLINE_C_V2INT16",
"AMDGPU::OPERAND_REG_INLINE_C_V2FP16",
"AMDGPU::OPERAND_REG_INLINE_AC_V2INT16",
"AMDGPU::OPERAND_REG_... | AMDGPUAsmParser13 | isInlineConstant | AMDGPU | GPU | LLVM | 10,463 | 210 | 1 | [] |
[
"<s>",
"bool",
"PPCLinuxAsmPrinter",
"::",
"doFinalization",
"(",
"Module",
"&",
"M",
")",
"{",
"const",
"DataLayout",
"*",
"TD",
"=",
"TM",
".",
"getDataLayout",
"(",
")",
";",
"bool",
"isPPC64",
"=",
"TD",
"->",
"getPointerSizeInBits",
"(",
")",
"==",
... | [
"doFinalization",
"-",
"Virtual",
"method",
"overriden",
"by",
"subclasses",
"to",
"do",
"any",
"necessary",
"clean",
"up",
"after",
"all",
"passes",
"have",
"run",
"."
] | [
"PowerPC",
"PPC",
"PPC",
"64",
"PPC",
"PPC",
"PPC",
"\".toc\"",
"0",
"PPC",
"8",
"4"
] | PPCAsmPrinter102 | doFinalization | PowerPC | CPU | LLVM | 10,464 | 308 | 1 | [] |
[
"<s>",
"static",
"int",
"mep_adjust_cost",
"(",
"rtx_insn",
"*",
"insn",
",",
"rtx",
"link",
",",
"rtx_insn",
"*",
"dep_insn",
",",
"int",
"cost",
")",
"{",
"int",
"cost_specified",
";",
"if",
"(",
"REG_NOTE_KIND",
"(",
"link",
")",
"!=",
"0",
")",
"{"... | [
"Scheduling",
"hooks",
"for",
"VLIW",
"mode",
".",
"Conceptually",
"this",
"is",
"very",
"simple",
":",
"we",
"have",
"a",
"two-pack",
"architecture",
"that",
"takes",
"one",
"core",
"insn",
"and",
"one",
"coprocessor",
"insn",
"to",
"make",
"up",
"either",
... | [
"mep",
"0",
"1",
"0",
"0",
"0"
] | mep | mep_adjust_cost | mep | CPU | GCC | 10,465 | 103 | 1 | [] |
[
"<s>",
"StringRef",
"getPassName",
"(",
")",
"const",
"override",
"{",
"return",
"\"X86 Lower Tile Copy\"",
";",
"}",
"</s>"
] | [
"getPassName",
"-",
"Return",
"a",
"nice",
"clean",
"name",
"for",
"a",
"pass",
"."
] | [
"X86",
"\"X86 Lower Tile Copy\""
] | X86LowerTileCopy | getPassName | X86 | CPU | LLVM | 10,466 | 11 | 1 | [] |
[
"<s>",
"scalar_chain",
"::",
"~",
"scalar_chain",
"(",
")",
"{",
"BITMAP_FREE",
"(",
"insns",
")",
";",
"BITMAP_FREE",
"(",
"defs",
")",
";",
"BITMAP_FREE",
"(",
"defs_conv",
")",
";",
"BITMAP_FREE",
"(",
"insns_conv",
")",
";",
"bitmap_obstack_release",
"("... | [
"Free",
"chain",
"'s",
"data",
"."
] | [
"i386"
] | i386-features1 | ~scalar_chain | i386 | CPU | GCC | 10,467 | 33 | 1 | [] |
[
"<s>",
"rtx",
"tilepro_eh_return_handler_rtx",
"(",
"void",
")",
"{",
"rtx",
"tmp",
"=",
"gen_frame_mem",
"(",
"Pmode",
",",
"hard_frame_pointer_rtx",
")",
";",
"MEM_VOLATILE_P",
"(",
"tmp",
")",
"=",
"true",
";",
"return",
"tmp",
";",
"}",
"</s>"
] | [
"Implement",
"EH_RETURN_HANDLER_RTX",
"."
] | [
"tilepro"
] | tilepro | tilepro_eh_return_handler_rtx | tilepro | VLIW | GCC | 10,468 | 27 | 1 | [] |
[
"<s>",
"ArrayRef",
"<",
"std",
"::",
"pair",
"<",
"unsigned",
",",
"const",
"char",
"*",
">>",
"X86InstrInfo",
"::",
"getSerializableDirectMachineOperandTargetFlags",
"(",
")",
"const",
"{",
"using",
"namespace",
"X86II",
";",
"static",
"const",
"std",
"::",
"... | [
"Return",
"an",
"array",
"that",
"contains",
"the",
"direct",
"target",
"flag",
"values",
"and",
"their",
"names",
"."
] | [
"X86",
"X86",
"X86",
"\"x86-got-absolute-address\"",
"\"x86-pic-base-offset\"",
"\"x86-got\"",
"\"x86-gotoff\"",
"\"x86-gotpcrel\"",
"\"x86-plt\"",
"\"x86-tlsgd\"",
"\"x86-tlsld\"",
"\"x86-tlsldm\"",
"\"x86-gottpoff\"",
"\"x86-indntpoff\"",
"\"x86-tpoff\"",
"\"x86-dtpoff\"",
"\"x86-n... | X86InstrInfo (2)1 | getSerializableDirectMachineOperandTargetFlags | X86 | CPU | LLVM | 10,469 | 174 | 1 | [] |
[
"<s>",
"int",
"pa_attr_length_call",
"(",
"rtx_insn",
"*",
"insn",
",",
"int",
"sibcall",
")",
"{",
"int",
"local_call",
";",
"rtx",
"call",
",",
"call_dest",
";",
"tree",
"call_decl",
";",
"int",
"length",
"=",
"0",
";",
"rtx",
"pat",
"=",
"PATTERN",
... | [
"Return",
"the",
"attribute",
"length",
"of",
"the",
"call",
"instruction",
"INSN",
".",
"The",
"SIBCALL",
"flag",
"indicates",
"whether",
"INSN",
"is",
"a",
"regular",
"call",
"or",
"a",
"sibling",
"call",
".",
"The",
"length",
"returned",
"must",
"be",
"... | [
"pa",
"0",
"1",
"0",
"1",
"0",
"0",
"0",
"0",
"7600000",
"8",
"24",
"12",
"20",
"8",
"32",
"4",
"8",
"8"
] | pa | pa_attr_length_call | pa | CPU | GCC | 10,470 | 331 | 1 | [] |
[
"<s>",
"bool",
"lowerOperand",
"(",
"const",
"MachineOperand",
"&",
"MO",
",",
"MCOperand",
"&",
"MCOp",
")",
"const",
"{",
"return",
"LowerMMIXMachineOperandToMCOperand",
"(",
"MO",
",",
"MCOp",
",",
"*",
"this",
")",
";",
"}",
"</s>"
] | [
"Wrapper",
"for",
"MCInstLowering.lowerOperand",
"(",
")",
"for",
"the",
"tblgen'erated",
"pseudo",
"lowering",
"."
] | [
"MMIX",
"MMIX"
] | MMIXAsmPrinter | lowerOperand | MMIX | CPU | LLVM | 10,471 | 26 | 1 | [] |
[
"<s>",
"void",
"SystemZXPLINKFrameLowering",
"::",
"emitPrologue",
"(",
"MachineFunction",
"&",
"MF",
",",
"MachineBasicBlock",
"&",
"MBB",
")",
"const",
"{",
"}",
"</s>"
] | [
"emitProlog/emitEpilog",
"-",
"These",
"methods",
"insert",
"prolog",
"and",
"epilog",
"code",
"into",
"the",
"function",
"."
] | [
"SystemZ",
"SystemZ"
] | SystemZFrameLowering10 | emitPrologue | SystemZ | CPU | LLVM | 10,472 | 16 | 1 | [] |
[
"<s>",
"bool",
"AMDGPUPromoteAlloca",
"::",
"runOnFunction",
"(",
"Function",
"&",
"F",
")",
"{",
"if",
"(",
"skipFunction",
"(",
"F",
")",
")",
"return",
"false",
";",
"if",
"(",
"auto",
"*",
"TPC",
"=",
"getAnalysisIfAvailable",
"<",
"TargetPassConfig",
... | [
"runOnFunction",
"-",
"Virtual",
"method",
"overriden",
"by",
"subclasses",
"to",
"do",
"the",
"per-function",
"processing",
"of",
"the",
"pass",
"."
] | [
"AMDGPU",
"AMDGPU",
"AMDGPU",
"AMDGPU",
"AMDGPU::getAMDGPUAS"
] | AMDGPUPromoteAlloca55 | runOnFunction | AMDGPU | GPU | LLVM | 10,473 | 208 | 1 | [] |
[
"<s>",
"bool",
"VEAsmParser",
"::",
"ParseDirective",
"(",
"AsmToken",
"DirectiveID",
")",
"{",
"return",
"true",
";",
"}",
"</s>"
] | [
"ParseDirective",
"-",
"Parse",
"a",
"target",
"specific",
"assembler",
"directive",
"This",
"method",
"is",
"deprecated",
",",
"use",
"'parseDirective",
"'",
"instead",
"."
] | [
"VE",
"VE"
] | VEAsmParser | ParseDirective | VE | CPU | LLVM | 10,474 | 13 | 1 | [] |
[
"<s>",
"bool",
"mips_store_data_bypass_p",
"(",
"rtx_insn",
"*",
"out_insn",
",",
"rtx_insn",
"*",
"in_insn",
")",
"{",
"if",
"(",
"GET_CODE",
"(",
"PATTERN",
"(",
"in_insn",
")",
")",
"==",
"UNSPEC_VOLATILE",
")",
"return",
"false",
";",
"return",
"store_da... | [
"True",
"if",
"the",
"dependency",
"between",
"OUT_INSN",
"and",
"IN_INSN",
"is",
"on",
"the",
"store",
"data",
"rather",
"than",
"the",
"address",
".",
"We",
"need",
"this",
"because",
"the",
"cprestore",
"pattern",
"is",
"type",
"``",
"store",
"''",
",",... | [
"mips"
] | mips | mips_store_data_bypass_p | mips | CPU | GCC | 10,475 | 36 | 1 | [] |
[
"<s>",
"bool",
"SIDebuggerInsertNops",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"{",
"const",
"SISubtarget",
"&",
"ST",
"=",
"MF",
".",
"getSubtarget",
"<",
"SISubtarget",
">",
"(",
")",
";",
"if",
"(",
"!",
"ST",
".",
"debugge... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"AMDGPU",
"SI",
"SI",
"SI",
"SI",
"AMDGPU::S_NOP",
"0"
] | SIDebuggerInsertNops | runOnMachineFunction | AMDGPU | GPU | LLVM | 10,476 | 189 | 1 | [] |
[
"<s>",
"void",
"ARM64InstrInfo",
"::",
"suppressLdStPair",
"(",
"MachineInstr",
"*",
"MI",
")",
"const",
"{",
"if",
"(",
"MI",
"->",
"memoperands_empty",
"(",
")",
")",
"return",
";",
"assert",
"(",
"MOSuppressPair",
"<",
"(",
"1",
"<<",
"MachineMemOperand",... | [
"Hint",
"that",
"pairing",
"the",
"given",
"load",
"or",
"store",
"is",
"unprofitable",
"."
] | [
"ARM64",
"ARM64",
"1",
"\"Too many target MO flags\""
] | ARM64InstrInfo | suppressLdStPair | ARM64 | CPU | LLVM | 10,477 | 55 | 1 | [] |
[
"<s>",
"static",
"rtx",
"xtensa_builtin_saveregs",
"(",
"void",
")",
"{",
"rtx",
"gp_regs",
",",
"dest",
";",
"int",
"arg_words",
"=",
"current_function_args_info",
".",
"arg_words",
";",
"int",
"gp_left",
"=",
"MAX_ARGS_IN_REGISTERS",
"-",
"arg_words",
";",
"if... | [
"Save",
"the",
"incoming",
"argument",
"registers",
"on",
"the",
"stack",
".",
"Returns",
"the",
"address",
"of",
"the",
"saved",
"registers",
"."
] | [
"xtensa",
"0",
"1",
"0",
"0"
] | xtensa3 | xtensa_builtin_saveregs | xtensa | MPU | GCC | 10,478 | 117 | 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::BLENDPDrri",
"X86::BLENDPSrri",
"X86::PBLENDWrri",
"X86::VBLENDPDrri",
"X86::VBLENDPSrri",
"X86::VBLENDPDYrri",
"X86::VBLENDPSYrri",
"X86::VPBLENDDrri",
"X86::VPBLENDDYrri",
"X86::VPBLENDWrri",
"X86::VPBLENDWYrri",
"1",
"2",
"X86::VFMADDPDr231r",
"X86::VFMADDPSr23... | X86InstrInfo110 | findCommutedOpIndices | X86 | CPU | LLVM | 10,479 | 241 | 1 | [] |
[
"<s>",
"bool",
"HexagonTargetLowering",
"::",
"IsEligibleForTailCallOptimization",
"(",
"SDValue",
"Callee",
",",
"CallingConv",
"::",
"ID",
"CalleeCC",
",",
"bool",
"IsVarArg",
",",
"bool",
"IsCalleeStructRet",
",",
"bool",
"IsCallerStructRet",
",",
"const",
"SmallVe... | [
"IsEligibleForTailCallOptimization",
"-",
"Check",
"whether",
"the",
"call",
"is",
"eligible",
"for",
"tail",
"call",
"optimization",
"."
] | [
"Hexagon",
"Hexagon",
"ISD::OutputArg",
"ISD::InputArg"
] | HexagonISelLowering1 | IsEligibleForTailCallOptimization | Hexagon | DSP | LLVM | 10,480 | 186 | 1 | [] |
[
"<s>",
"static",
"void",
"rs6000_set_up_by_prologue",
"(",
"struct",
"hard_reg_set_container",
"*",
"set",
")",
"{",
"if",
"(",
"!",
"TARGET_SINGLE_PIC_BASE",
"&&",
"TARGET_TOC",
"&&",
"TARGET_MINIMAL_TOC",
"&&",
"!",
"constant_pool_empty_p",
"(",
")",
")",
"add_to_... | [
"Add",
"r30",
"to",
"hard",
"reg",
"set",
"if",
"the",
"prologue",
"sets",
"it",
"up",
"and",
"it",
"is",
"not",
"pic_offset_table_rtx",
"."
] | [
"rs6000",
"12"
] | rs6000 | rs6000_set_up_by_prologue | rs6000 | CPU | GCC | 10,481 | 73 | 1 | [] |
[
"<s>",
"int",
"X86FrameLowering",
"::",
"mergeSPUpdates",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"&",
"MBBI",
",",
"bool",
"doMergeWithPrevious",
")",
"const",
"{",
"if",
"(",
"(",
"doMergeWithPrevious",
"&&",
"MBBI",
"... | [
"Check",
"the",
"instruction",
"before/after",
"the",
"passed",
"instruction",
"."
] | [
"X86",
"X86",
"0",
"0",
"X86::ADD64ri32",
"X86::ADD64ri8",
"X86::ADD32ri",
"X86::ADD32ri8",
"0",
"1",
"2",
"X86::LEA32r",
"X86::LEA64_32r",
"0",
"1",
"2",
"1",
"3",
"X86::NoRegister",
"5",
"X86::NoRegister",
"4",
"X86::SUB64ri32",
"X86::SUB64ri8",
"X86::SUB32ri",
"X... | X86FrameLowering (2)3 | mergeSPUpdates | X86 | CPU | LLVM | 10,482 | 481 | 1 | [] |
[
"<s>",
"static",
"void",
"mips_emit_probe_stack_range",
"(",
"HOST_WIDE_INT",
"first",
",",
"HOST_WIDE_INT",
"size",
")",
"{",
"if",
"(",
"TARGET_MIPS16",
")",
"sorry",
"(",
"\"-fstack-check=specific not implemented for MIPS16\"",
")",
";",
"if",
"(",
"first",
"+",
... | [
"Emit",
"code",
"to",
"probe",
"a",
"range",
"of",
"stack",
"addresses",
"from",
"FIRST",
"to",
"FIRST+SIZE",
",",
"inclusive",
".",
"These",
"are",
"offsets",
"from",
"the",
"current",
"stack",
"pointer",
"."
] | [
"mips",
"\"-fstack-check=specific not implemented for MIPS16\"",
"32768",
"32768",
"32768"
] | mips5 | mips_emit_probe_stack_range | mips | CPU | GCC | 10,483 | 235 | 1 | [] |
[
"<s>",
"void",
"WebAssemblyInstPrinter",
"::",
"printInst",
"(",
"const",
"MCInst",
"*",
"MI",
",",
"raw_ostream",
"&",
"OS",
",",
"StringRef",
"Annot",
",",
"const",
"MCSubtargetInfo",
"&",
")",
"{",
"printInstruction",
"(",
"MI",
",",
"OS",
")",
";",
"co... | [
"Print",
"the",
"specified",
"MCInst",
"to",
"the",
"specified",
"raw_ostream",
"."
] | [
"WebAssembly",
"WebAssembly",
"0",
"\", \"",
"WebAssembly::LOOP",
"\"label\"",
"WebAssembly::BLOCK",
"WebAssembly::END_LOOP",
"\"label\"",
"WebAssembly::END_BLOCK",
"\"label\"",
"8",
"0",
"WebAssembly::OPERAND_BASIC_BLOCK",
"WebAssemblyII::VariableOpImmediateIsLabel",
"\": \"",
"\"up... | WebAssemblyInstPrinter26 | printInst | WebAssembly | Virtual ISA | LLVM | 10,484 | 423 | 1 | [] |
[
"<s>",
"void",
"emitSparcRegisterScratch",
"(",
"unsigned",
"reg",
")",
"override",
"{",
"}",
"</s>"
] | [
"Emit",
"``",
".register",
"<",
"reg",
">",
",",
"#",
"scratch",
"''",
"."
] | [
"Sparc",
"Sparc"
] | SparcTargetStreamer | emitSparcRegisterScratch | Sparc | CPU | LLVM | 10,485 | 9 | 1 | [] |
[
"<s>",
"const",
"char",
"*",
"nds32_output_32bit_load_s",
"(",
"rtx",
"*",
"operands",
",",
"int",
"byte",
")",
"{",
"char",
"pattern",
"[",
"100",
"]",
";",
"unsigned",
"char",
"size",
";",
"rtx",
"code",
";",
"code",
"=",
"XEXP",
"(",
"operands",
"["... | [
"Output",
"32-bit",
"load",
"with",
"signed",
"extension",
"."
] | [
"nds32",
"100",
"1",
"0",
"\"l%csi\\t%%0, %%1\"",
"1",
"1",
"0",
"\"l%csi.gp\\t%%0, [ + %%1]\"",
"\"l%csi.bi\\t%%0, %%1, %d\"",
"\"l%csi.bi\\t%%0, %%1, -%d\"",
"1",
"1",
"\"l%cs.bi\\t%%0, %%1\"",
"\"l%csi.bi\\t%%0, %%1\"",
"1",
"\"l%cs\\t%%0, %%1\"",
"\"l%csi\\t%%0, %%1\"",
"2",
... | nds32-md-auxiliary | nds32_output_32bit_load_s | nds32 | CPU | GCC | 10,486 | 349 | 1 | [] |
[
"<s>",
"bool",
"X86InstrInfo",
"::",
"isReallyTriviallyReMaterializable",
"(",
"const",
"MachineInstr",
"*",
"MI",
",",
"AliasAnalysis",
"*",
"AA",
")",
"const",
"{",
"switch",
"(",
"MI",
"->",
"getOpcode",
"(",
")",
")",
"{",
"default",
":",
"break",
";",
... | [
"For",
"instructions",
"with",
"opcodes",
"for",
"which",
"the",
"M_REMATERIALIZABLE",
"flag",
"is",
"set",
",",
"this",
"hook",
"lets",
"the",
"target",
"specify",
"whether",
"the",
"instruction",
"is",
"actually",
"trivially",
"rematerializable",
",",
"taking",
... | [
"X86",
"X86",
"X86::MOV8rm",
"X86::MOV16rm",
"X86::MOV32rm",
"X86::MOV64rm",
"X86::LD_Fp64m",
"X86::MOVSSrm",
"X86::MOVSDrm",
"X86::MOVAPSrm",
"X86::MOVUPSrm",
"X86::MOVAPDrm",
"X86::MOVDQArm",
"X86::MOVDQUrm",
"X86::VMOVSSrm",
"X86::VMOVSDrm",
"X86::VMOVAPSrm",
"X86::VMOVUPSrm",
... | X86InstrInfo (2) | isReallyTriviallyReMaterializable | X86 | CPU | LLVM | 10,487 | 470 | 1 | [] |
[
"<s>",
"rtx",
"resolve_reload_operand",
"(",
"rtx",
"op",
")",
"{",
"if",
"(",
"reload_in_progress",
")",
"{",
"rtx",
"tmp",
"=",
"op",
";",
"if",
"(",
"GET_CODE",
"(",
"tmp",
")",
"==",
"SUBREG",
")",
"tmp",
"=",
"SUBREG_REG",
"(",
"tmp",
")",
";",
... | [
"Used",
"by",
"aligned_memory_operand",
"and",
"unaligned_memory_operand",
"to",
"resolve",
"what",
"reload",
"is",
"going",
"to",
"do",
"with",
"OP",
"if",
"it",
"'s",
"a",
"register",
"."
] | [
"alpha",
"0",
"0"
] | alpha3 | resolve_reload_operand | alpha | MPU | GCC | 10,488 | 75 | 1 | [] |
[
"<s>",
"HOST_WIDE_INT",
"alpha_initial_elimination_offset",
"(",
"unsigned",
"int",
"from",
",",
"unsigned",
"int",
"to",
"ATTRIBUTE_UNUSED",
")",
"{",
"HOST_WIDE_INT",
"ret",
";",
"ret",
"=",
"cfun",
"->",
"machine",
"->",
"sa_size",
";",
"ret",
"+=",
"ALPHA_RO... | [
"Define",
"the",
"offset",
"between",
"two",
"registers",
",",
"one",
"to",
"be",
"eliminated",
",",
"and",
"the",
"other",
"its",
"replacement",
",",
"at",
"the",
"start",
"of",
"a",
"routine",
"."
] | [
"alpha"
] | alpha | alpha_initial_elimination_offset | alpha | MPU | GCC | 10,489 | 82 | 1 | [] |
[
"<s>",
"rtx",
"thumb_legitimize_address",
"(",
"rtx",
"x",
",",
"rtx",
"orig_x",
",",
"enum",
"machine_mode",
"mode",
")",
"{",
"if",
"(",
"arm_tls_symbol_p",
"(",
"x",
")",
")",
"return",
"legitimize_tls_address",
"(",
"x",
",",
"NULL_RTX",
")",
";",
"if"... | [
"Try",
"machine-dependent",
"ways",
"of",
"modifying",
"an",
"illegitimate",
"Thumb",
"address",
"to",
"be",
"legitimate",
".",
"If",
"we",
"find",
"one",
",",
"return",
"the",
"new",
",",
"valid",
"address",
"."
] | [
"arm",
"1",
"1",
"32",
"1",
"0",
"0",
"1",
"0",
"256",
"31",
"256",
"256",
"32",
"8",
"31",
"31",
"0",
"256",
"1",
"0",
"0",
"1"
] | arm3 | thumb_legitimize_address | arm | CPU | GCC | 10,490 | 361 | 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",
"."
] | [
"tilegx",
"0",
"0",
"2"
] | tilegx2 | cbranch_predicted_p | tilegx | VLIW | GCC | 10,491 | 48 | 1 | [] |
[
"<s>",
"static",
"void",
"vms_asm_out_constructor",
"(",
"rtx",
"symbol",
",",
"int",
"priority",
"ATTRIBUTE_UNUSED",
")",
"{",
"ctors_section",
"(",
")",
";",
"assemble_align",
"(",
"BITS_PER_WORD",
")",
";",
"assemble_integer",
"(",
"symbol",
",",
"UNITS_PER_WOR... | [
"Record",
"an",
"element",
"in",
"the",
"table",
"of",
"global",
"constructors",
".",
"SYMBOL",
"is",
"a",
"SYMBOL_REF",
"of",
"the",
"function",
"to",
"be",
"called",
";",
"PRIORITY",
"is",
"a",
"number",
"between",
"0",
"and",
"MAX_INIT_PRIORITY",
".",
"... | [
"alpha",
"1"
] | alpha3 | vms_asm_out_constructor | alpha | MPU | GCC | 10,492 | 33 | 1 | [] |
[
"<s>",
"bool",
"AArch64AsmPrinter",
"::",
"PrintAsmOperand",
"(",
"const",
"MachineInstr",
"*",
"MI",
",",
"unsigned",
"OpNum",
",",
"const",
"char",
"*",
"ExtraCode",
",",
"raw_ostream",
"&",
"O",
")",
"{",
"const",
"MachineOperand",
"&",
"MO",
"=",
"MI",
... | [
"PrintAsmOperand",
"-",
"Print",
"out",
"an",
"operand",
"for",
"an",
"inline",
"asm",
"expression",
"."
] | [
"AArch64",
"AArch64",
"0",
"1",
"0",
"0",
"0",
"0",
"0",
"AArch64::WZR",
"AArch64::XZR",
"AArch64",
"0",
"AArch64::FPR8RegClass",
"AArch64::FPR16RegClass",
"AArch64::FPR32RegClass",
"AArch64::FPR64RegClass",
"AArch64::FPR128RegClass",
"AArch64::GPR32allRegClass",
"AArch64::GPR6... | AArch64AsmPrinter70 | PrintAsmOperand | AArch64 | CPU | LLVM | 10,493 | 383 | 1 | [] |
[
"<s>",
"bool",
"WebAssemblyFrameLowering",
"::",
"hasReservedCallFrame",
"(",
"const",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"return",
"!",
"MF",
".",
"getFrameInfo",
"(",
")",
".",
"hasVarSizedObjects",
"(",
")",
";",
"}",
"</s>"
] | [
"hasReservedCallFrame",
"-",
"Under",
"normal",
"circumstances",
",",
"when",
"a",
"frame",
"pointer",
"is",
"not",
"required",
",",
"we",
"reserve",
"argument",
"space",
"for",
"call",
"sites",
"in",
"the",
"function",
"immediately",
"on",
"entry",
"to",
"the... | [
"WebAssembly",
"WebAssembly"
] | WebAssemblyFrameLowering | hasReservedCallFrame | WebAssembly | Virtual ISA | LLVM | 10,494 | 25 | 1 | [] |
[
"<s>",
"SDValue",
"X86TargetLowering",
"::",
"getNegatedExpression",
"(",
"SDValue",
"Op",
",",
"SelectionDAG",
"&",
"DAG",
",",
"bool",
"LegalOperations",
",",
"bool",
"ForCodeSize",
",",
"NegatibleCost",
"&",
"Cost",
",",
"unsigned",
"Depth",
")",
"const",
"{"... | [
"Return",
"the",
"newly",
"negated",
"expression",
"if",
"the",
"cost",
"is",
"not",
"expensive",
"and",
"set",
"the",
"cost",
"in",
"Cost",
"to",
"indicate",
"that",
"if",
"it",
"is",
"cheaper",
"or",
"neutral",
"to",
"do",
"the",
"negation",
"."
] | [
"X86",
"X86",
"ISD::FMA",
"X86ISD::FMSUB",
"X86ISD::FNMADD",
"X86ISD::FNMSUB",
"X86ISD::FMADD_RND",
"X86ISD::FMSUB_RND",
"X86ISD::FNMADD_RND",
"X86ISD::FNMSUB_RND",
"MVT::f32",
"MVT::f64",
"ISD::FMA",
"4",
"0",
"3",
"1",
"0",
"1",
"2",
"0",
"X86ISD::FRCP",
"0",
"1"
] | X86ISelLowering101 | getNegatedExpression | X86 | CPU | LLVM | 10,495 | 442 | 1 | [] |
[
"<s>",
"const",
"DataLayout",
"*",
"getDataLayout",
"(",
")",
"const",
"{",
"return",
"&",
"DL",
";",
"}",
"</s>"
] | [
"Return",
"the",
"DataLayout",
"associated",
"with",
"the",
"module",
"this",
"SCEV",
"instance",
"is",
"operating",
"on",
"."
] | [
"X86"
] | X86Subtarget1 | getDataLayout | X86 | CPU | LLVM | 10,496 | 13 | 1 | [] |
[
"<s>",
"bool",
"PPCInstrInfo",
"::",
"ClobbersPredicate",
"(",
"MachineInstr",
"&",
"MI",
",",
"std",
"::",
"vector",
"<",
"MachineOperand",
">",
"&",
"Pred",
",",
"bool",
"SkipDead",
")",
"const",
"{",
"const",
"TargetRegisterClass",
"*",
"RCs",
"[",
"]",
... | [
"If",
"the",
"specified",
"instruction",
"defines",
"any",
"predicate",
"or",
"condition",
"code",
"register",
"(",
"s",
")",
"used",
"for",
"predication",
",",
"returns",
"true",
"as",
"well",
"as",
"the",
"definition",
"predicate",
"(",
"s",
")",
"by",
"... | [
"PowerPC",
"PPC",
"PPC::CRRCRegClass",
"PPC::CRBITRCRegClass",
"PPC::CTRRCRegClass",
"PPC::CTRRC8RegClass",
"0"
] | PPCInstrInfo130 | ClobbersPredicate | PowerPC | CPU | LLVM | 10,497 | 212 | 1 | [] |
[
"<s>",
"bool",
"VideocorePassConfig",
"::",
"addInstSelector",
"(",
")",
"{",
"addPass",
"(",
"createVideocoreISelDag",
"(",
"getVideocoreTargetMachine",
"(",
")",
")",
")",
";",
"return",
"false",
";",
"}",
"</s>"
] | [
"addInstSelector",
"-",
"This",
"method",
"should",
"install",
"an",
"instruction",
"selector",
"pass",
",",
"which",
"converts",
"from",
"LLVM",
"code",
"to",
"machine",
"instructions",
"."
] | [
"Videocore",
"Videocore",
"Videocore",
"Videocore"
] | VideocoreTargetMachine | addInstSelector | Videocore | DSP | LLVM | 10,498 | 21 | 1 | [] |
[
"<s>",
"SDValue",
"LanaiTargetLowering",
"::",
"LowerOperation",
"(",
"SDValue",
"Op",
",",
"SelectionDAG",
"&",
"DAG",
")",
"const",
"{",
"switch",
"(",
"Op",
".",
"getOpcode",
"(",
")",
")",
"{",
"case",
"ISD",
"::",
"MUL",
":",
"return",
"LowerMUL",
"... | [
"LowerOperation",
"-",
"Provide",
"custom",
"lowering",
"hooks",
"for",
"some",
"operations",
"."
] | [
"Lanai",
"Lanai",
"ISD::MUL",
"ISD::BR_CC",
"ISD::ConstantPool",
"ISD::GlobalAddress",
"ISD::BlockAddress",
"ISD::JumpTable",
"ISD::SELECT_CC",
"ISD::SETCC",
"ISD::SHL_PARTS",
"ISD::SRL_PARTS",
"ISD::VASTART",
"ISD::DYNAMIC_STACKALLOC",
"ISD::RETURNADDR",
"ISD::FRAMEADDR",
"\"unimple... | LanaiISelLowering | LowerOperation | Lanai | CPU | LLVM | 10,499 | 214 | 1 | [] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.