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>",
"std",
"::",
"pair",
"<",
"unsigned",
",",
"const",
"TargetRegisterClass",
"*",
">",
"HexagonTargetLowering",
"::",
"getRegForInlineAsmConstraint",
"(",
"const",
"TargetRegisterInfo",
"*",
"TRI",
",",
"StringRef",
"Constraint",
",",
"MVT",
"VT",
")",
"const... | [
"Given",
"a",
"physical",
"register",
"constraint",
"(",
"e.g",
"."
] | [
"Hexagon",
"Hexagon",
"1",
"0",
"0u",
"MVT::i1",
"MVT::i8",
"MVT::i16",
"MVT::i32",
"MVT::f32",
"0u",
"Hexagon::IntRegsRegClass",
"MVT::i64",
"MVT::f64",
"0u",
"Hexagon::DoubleRegsRegClass",
"MVT::i32",
"0u",
"0u",
"Hexagon::ModRegsRegClass",
"0u",
"512",
"1024",
"0u",
... | HexagonISelLowering (2)1 | getRegForInlineAsmConstraint | Hexagon | DSP | LLVM | 21,900 | 302 | 1 | [] |
[
"<s>",
"static",
"void",
"arm_function_arg_advance",
"(",
"cumulative_args_t",
"pcum_v",
",",
"machine_mode",
"mode",
",",
"const_tree",
"type",
",",
"bool",
"named",
")",
"{",
"CUMULATIVE_ARGS",
"*",
"pcum",
"=",
"get_cumulative_args",
"(",
"pcum_v",
")",
";",
... | [
"Update",
"the",
"data",
"in",
"PCUM",
"to",
"advance",
"over",
"an",
"argument",
"of",
"mode",
"MODE",
"and",
"data",
"type",
"TYPE",
".",
"(",
"TYPE",
"is",
"null",
"for",
"libcalls",
"where",
"that",
"information",
"may",
"not",
"be",
"available",
"."... | [
"arm",
"0",
"1",
"0",
"1",
"1"
] | arm4 | arm_function_arg_advance | arm | CPU | GCC | 21,901 | 151 | 1 | [] |
[
"<s>",
"void",
"print",
"(",
"raw_ostream",
"&",
"OS",
")",
"const",
"override",
"{",
"switch",
"(",
"Kind",
")",
"{",
"case",
"k_Immediate",
":",
"OS",
"<<",
"\"Imm<\"",
";",
"Imm",
".",
"Val",
"->",
"print",
"(",
"OS",
")",
";",
"OS",
"<<",
"\">\... | [
"print",
"-",
"Print",
"a",
"debug",
"representation",
"of",
"the",
"operand",
"to",
"the",
"given",
"stream",
"."
] | [
"Mips",
"\"Imm<\"",
"\">\"",
"\"Mem<\"",
"\", \"",
"\">\"",
"\"PhysReg<\"",
"\">\"",
"\"RegIdx<\"",
"\":\"",
"\">\""
] | MipsAsmParser1 | print | Mips | CPU | LLVM | 21,902 | 121 | 1 | [] |
[
"<s>",
"bool",
"Tile64TargetLowering",
"::",
"CanLowerReturn",
"(",
"CallingConv",
"::",
"ID",
"CallConv",
",",
"MachineFunction",
"&",
"MF",
",",
"bool",
"isVarArg",
",",
"const",
"SmallVectorImpl",
"<",
"ISD",
"::",
"OutputArg",
">",
"&",
"Outs",
",",
"LLVMC... | [
"This",
"hook",
"should",
"be",
"implemented",
"to",
"check",
"whether",
"the",
"return",
"values",
"described",
"by",
"the",
"Outs",
"array",
"can",
"fit",
"into",
"the",
"return",
"registers",
"."
] | [
"Tile64",
"ISD::OutputArg",
"16"
] | Tile64ISelLowering | CanLowerReturn | Tile64 | VLIW | LLVM | 21,903 | 70 | 1 | [] |
[
"<s>",
"bool",
"SIInsertSkips",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"{",
"const",
"SISubtarget",
"&",
"ST",
"=",
"MF",
".",
"getSubtarget",
"<",
"SISubtarget",
">",
"(",
")",
";",
"TII",
"=",
"ST",
".",
"getInstrInfo",
"("... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"AMDGPU",
"SI",
"SI",
"SI",
"16",
"AMDGPU::SI_MASK_BRANCH",
"0",
"AMDGPU::S_BRANCH",
"0",
"AMDGPU::SI_KILL_TERMINATOR",
"AMDGPU::SI_RETURN",
"SI",
"AMDGPU::S_BRANCH"
] | SIInsertSkips25 | runOnMachineFunction | AMDGPU | GPU | LLVM | 21,904 | 498 | 1 | [] |
[
"<s>",
"bool",
"AMDGPUSymbolizer",
"::",
"tryAddingSymbolicOperand",
"(",
"MCInst",
"&",
"Inst",
",",
"raw_ostream",
"&",
",",
"int64_t",
"Value",
",",
"uint64_t",
",",
"bool",
"IsBranch",
",",
"uint64_t",
",",
"uint64_t",
",",
"uint64_t",
")",
"{",
"if",
"(... | [
"Try",
"to",
"add",
"a",
"symbolic",
"operand",
"instead",
"of",
"Value",
"to",
"the",
"MCInst",
"."
] | [
"AMDGPU",
"AMDGPU"
] | AMDGPUDisassembler14 | tryAddingSymbolicOperand | AMDGPU | GPU | LLVM | 21,905 | 173 | 1 | [] |
[
"<s>",
"TargetPassConfig",
"*",
"GBZ80TargetMachine",
"::",
"createPassConfig",
"(",
"PassManagerBase",
"&",
"PM",
")",
"{",
"return",
"new",
"GBZ80PassConfig",
"(",
"*",
"this",
",",
"PM",
")",
";",
"}",
"</s>"
] | [
"Create",
"a",
"pass",
"configuration",
"object",
"to",
"be",
"used",
"by",
"addPassToEmitX",
"methods",
"for",
"generating",
"a",
"pipeline",
"of",
"CodeGen",
"passes",
"."
] | [
"GBZ80",
"GB",
"GB"
] | GBZ80TargetMachine | createPassConfig | GBZ80 | MPU | LLVM | 21,906 | 22 | 1 | [] |
[
"<s>",
"static",
"bool",
"rs6000_debug_secondary_memory_needed",
"(",
"machine_mode",
"mode",
",",
"reg_class_t",
"from_class",
",",
"reg_class_t",
"to_class",
")",
"{",
"bool",
"ret",
"=",
"rs6000_secondary_memory_needed",
"(",
"mode",
",",
"from_class",
",",
"to_cla... | [
"Debug",
"version",
"of",
"rs6000_secondary_memory_needed",
"."
] | [
"powerpcspe",
"\"rs6000_secondary_memory_needed, return: %s, from_class = %s, \"",
"\"to_class = %s, mode = %s\\n\"",
"\"true\"",
"\"false\""
] | powerpcspe | rs6000_debug_secondary_memory_needed | powerpcspe | CPU | GCC | 21,907 | 59 | 1 | [] |
[
"<s>",
"void",
"MipsAsmPrinter",
"::",
"emitFunctionBodyStart",
"(",
")",
"{",
"MipsTargetStreamer",
"&",
"TS",
"=",
"getTargetStreamer",
"(",
")",
";",
"MCInstLowering",
".",
"Initialize",
"(",
"&",
"MF",
"->",
"getContext",
"(",
")",
")",
";",
"bool",
"IsN... | [
"Targets",
"can",
"override",
"this",
"to",
"emit",
"stuff",
"before",
"the",
"first",
"basic",
"block",
"in",
"the",
"function",
"."
] | [
"Mips",
"Mips",
"Mips",
"Mips"
] | MipsAsmPrinter | emitFunctionBodyStart | Mips | CPU | LLVM | 21,908 | 91 | 1 | [] |
[
"<s>",
"bool",
"PPCLoopPreIncPrep",
"::",
"runOnFunction",
"(",
"Function",
"&",
"F",
")",
"{",
"LI",
"=",
"&",
"getAnalysis",
"<",
"LoopInfoWrapperPass",
">",
"(",
")",
".",
"getLoopInfo",
"(",
")",
";",
"SE",
"=",
"&",
"getAnalysis",
"<",
"ScalarEvolutio... | [
"runOnFunction",
"-",
"Virtual",
"method",
"overriden",
"by",
"subclasses",
"to",
"do",
"the",
"per-function",
"processing",
"of",
"the",
"pass",
"."
] | [
"PowerPC",
"PPC"
] | PPCLoopPreIncPrep12 | runOnFunction | PowerPC | CPU | LLVM | 21,909 | 138 | 1 | [] |
[
"<s>",
"static",
"void",
"frv_optimize_membar_local",
"(",
"basic_block",
"bb",
",",
"struct",
"frv_io",
"*",
"next_io",
",",
"rtx",
"*",
"last_membar",
")",
"{",
"HARD_REG_SET",
"used_regs",
";",
"rtx",
"next_membar",
",",
"set",
",",
"insn",
";",
"bool",
"... | [
"Go",
"through",
"block",
"BB",
"looking",
"for",
"membars",
"to",
"remove",
".",
"There",
"are",
"two",
"cases",
"where",
"intra-block",
"analysis",
"is",
"enough",
":",
"-",
"a",
"membar",
"is",
"redundant",
"if",
"it",
"occurs",
"between",
"two",
"conse... | [
"frv",
"0",
"0",
"0",
"\";; [Local] Removing membar %d since order\"",
"\" of accesses is guaranteed\\n\"",
"0",
"0",
"0",
"0",
"0",
"\";; [Local] Removing membar %d since the target\"",
"\" of %d is used before the I/O operation\\n\"",
"0",
"0"
] | frv2 | frv_optimize_membar_local | frv | VLIW | GCC | 21,910 | 456 | 1 | [] |
[
"<s>",
"bool",
"TeakRegisterInfo",
"::",
"useFPForScavengingIndex",
"(",
"const",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"return",
"false",
";",
"}",
"</s>"
] | [
"Returns",
"true",
"if",
"the",
"target",
"wants",
"to",
"use",
"frame",
"pointer",
"based",
"accesses",
"to",
"spill",
"to",
"the",
"scavenger",
"emergency",
"spill",
"slot",
"."
] | [
"Teak",
"Teak"
] | TeakRegisterInfo | useFPForScavengingIndex | Teak | DSP | LLVM | 21,911 | 16 | 1 | [] |
[
"<s>",
"MCInstrDesc",
"const",
"&",
"TPCMCInstrInfo",
"::",
"getDesc",
"(",
"MCInstrInfo",
"const",
"&",
"MCII",
",",
"MCInst",
"const",
"&",
"MCI",
")",
"{",
"return",
"(",
"MCII",
".",
"get",
"(",
"MCI",
".",
"getOpcode",
"(",
")",
")",
")",
";",
"... | [
"Returns",
"the",
"target",
"instruction",
"descriptor",
"of",
"this",
"MachineInstr",
"."
] | [
"TPC",
"TPC"
] | TPCMCInstrInfo | getDesc | TPC | Virtual ISA | LLVM | 21,912 | 33 | 1 | [] |
[
"<s>",
"static",
"rtx",
"mips_get_sync_operand",
"(",
"rtx",
"*",
"operands",
",",
"int",
"index",
",",
"rtx",
"default_value",
")",
"{",
"if",
"(",
"index",
">",
"0",
")",
"default_value",
"=",
"operands",
"[",
"index",
"-",
"1",
"]",
";",
"return",
"... | [
"OPERANDS",
"are",
"the",
"operands",
"to",
"a",
"sync",
"loop",
"instruction",
"and",
"INDEX",
"is",
"the",
"value",
"of",
"the",
"one",
"of",
"the",
"sync_",
"*",
"attributes",
".",
"Return",
"the",
"operand",
"referred",
"to",
"by",
"the",
"attribute",
... | [
"mips",
"0",
"1"
] | mips | mips_get_sync_operand | mips | CPU | GCC | 21,913 | 34 | 1 | [] |
[
"<s>",
"bool",
"ShouldShrinkFPConstant",
"(",
"EVT",
"VT",
")",
"const",
"override",
"{",
"return",
"!",
"X86ScalarSSEf64",
"||",
"VT",
"==",
"MVT",
"::",
"f80",
";",
"}",
"</s>"
] | [
"If",
"true",
",",
"then",
"instruction",
"selection",
"should",
"seek",
"to",
"shrink",
"the",
"FP",
"constant",
"of",
"the",
"specified",
"type",
"to",
"a",
"smaller",
"type",
"in",
"order",
"to",
"save",
"space",
"and",
"/",
"or",
"reduce",
"runtime",
... | [
"X86",
"X86",
"MVT::f80"
] | X86ISelLowering (2)1 | ShouldShrinkFPConstant | X86 | CPU | LLVM | 21,914 | 20 | 1 | [] |
[
"<s>",
"int",
"nds32_fp_as_gp_check_available",
"(",
"void",
")",
"{",
"return",
"0",
";",
"}",
"</s>"
] | [
"Function",
"to",
"determine",
"whether",
"it",
"is",
"worth",
"to",
"do",
"fp_as_gp",
"optimization",
".",
"Return",
"0",
":",
"It",
"is",
"NOT",
"worth",
"to",
"do",
"fp_as_gp",
"optimization",
".",
"Return",
"1",
":",
"It",
"is",
"APPROXIMATELY",
"worth... | [
"nds32",
"0"
] | nds32-fp-as-gp2 | nds32_fp_as_gp_check_available | nds32 | CPU | GCC | 21,915 | 10 | 1 | [] |
[
"<s>",
"bool",
"PTXInstrInfo",
"::",
"SubsumesPredicate",
"(",
"const",
"SmallVectorImpl",
"<",
"MachineOperand",
">",
"&",
"Pred1",
",",
"const",
"SmallVectorImpl",
"<",
"MachineOperand",
">",
"&",
"Pred2",
")",
"const",
"{",
"const",
"MachineOperand",
"&",
"Pr... | [
"Returns",
"true",
"if",
"the",
"first",
"specified",
"predicate",
"subsumes",
"the",
"second",
",",
"e.g",
"."
] | [
"PTX",
"PTX",
"0",
"0",
"1",
"1"
] | PTXInstrInfo3 | SubsumesPredicate | PTX | GPU | LLVM | 21,916 | 101 | 1 | [] |
[
"<s>",
"bool",
"gpr_or_gpr_p",
"(",
"rtx",
"op0",
",",
"rtx",
"op1",
")",
"{",
"return",
"(",
"(",
"REG_P",
"(",
"op0",
")",
"&&",
"INT_REGNO_P",
"(",
"REGNO",
"(",
"op0",
")",
")",
")",
"||",
"(",
"REG_P",
"(",
"op1",
")",
"&&",
"INT_REGNO_P",
"... | [
"Return",
"true",
"if",
"either",
"operand",
"is",
"a",
"general",
"purpose",
"register",
"."
] | [
"rs6000"
] | rs6000 | gpr_or_gpr_p | rs6000 | CPU | GCC | 21,917 | 44 | 1 | [] |
[
"<s>",
"void",
"X86PassConfig",
"::",
"addPreSched2",
"(",
")",
"{",
"addPass",
"(",
"createX86ExpandPseudoPass",
"(",
")",
")",
";",
"}",
"</s>"
] | [
"This",
"method",
"may",
"be",
"implemented",
"by",
"targets",
"that",
"want",
"to",
"run",
"passes",
"after",
"prolog-epilog",
"insertion",
"and",
"before",
"the",
"second",
"instruction",
"scheduling",
"pass",
"."
] | [
"X86",
"X86",
"X86"
] | X86TargetMachine10 | addPreSched2 | X86 | CPU | LLVM | 21,918 | 15 | 1 | [] |
[
"<s>",
"bool",
"Thumb2InstrInfo",
"::",
"isLegalToSplitMBBAt",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"MBBI",
")",
"const",
"{",
"while",
"(",
"MBBI",
"->",
"isDebugInstr",
"(",
")",
")",
"{",
"++",
"MBBI",
";",
"if... | [
"Return",
"true",
"if",
"it",
"'s",
"legal",
"to",
"split",
"the",
"given",
"basic",
"block",
"at",
"the",
"specified",
"instruction",
"(",
"i.e",
"."
] | [
"ARM",
"0",
"ARMCC::AL"
] | Thumb2InstrInfo (2)1 | isLegalToSplitMBBAt | ARM | CPU | LLVM | 21,919 | 61 | 1 | [] |
[
"<s>",
"bool",
"AArch64InstrInfo",
"::",
"isFunctionSafeToOutlineFrom",
"(",
"MachineFunction",
"&",
"MF",
",",
"bool",
"OutlineFromLinkOnceODRs",
")",
"const",
"{",
"const",
"Function",
"*",
"F",
"=",
"MF",
".",
"getFunction",
"(",
")",
";",
"if",
"(",
"!",
... | [
"Return",
"true",
"if",
"the",
"function",
"can",
"safely",
"be",
"outlined",
"from",
"."
] | [
"AArch64",
"AArch64"
] | AArch64InstrInfo69 | isFunctionSafeToOutlineFrom | AArch64 | CPU | LLVM | 21,920 | 69 | 1 | [] |
[
"<s>",
"bool",
"PPCLinuxAsmPrinter",
"::",
"doFinalization",
"(",
"Module",
"&",
"M",
")",
"{",
"const",
"TargetData",
"*",
"TD",
"=",
"TM",
".",
"getTargetData",
"(",
")",
";",
"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",
"\".toc\"",
"\"\\t.tc \"",
"\"[TC],\""
] | PPCAsmPrinter127 | doFinalization | PowerPC | CPU | LLVM | 21,921 | 169 | 1 | [] |
[
"<s>",
"static",
"unsigned",
"long",
"arm_isr_value",
"(",
"tree",
"argument",
")",
"{",
"const",
"isr_attribute_arg",
"*",
"ptr",
";",
"const",
"char",
"*",
"arg",
";",
"if",
"(",
"!",
"arm_arch_notm",
")",
"return",
"ARM_FT_NORMAL",
"|",
"ARM_FT_STACKALIGN",... | [
"Returns",
"the",
"(",
"interrupt",
")",
"function",
"type",
"of",
"the",
"current",
"function",
",",
"or",
"ARM_FT_UNKNOWN",
"if",
"the",
"type",
"can",
"not",
"be",
"determined",
"."
] | [
"arm"
] | arm | arm_isr_value | arm | CPU | GCC | 21,922 | 105 | 1 | [] |
[
"<s>",
"SDValue",
"SITargetLowering",
"::",
"CreateLiveInRegister",
"(",
"SelectionDAG",
"&",
"DAG",
",",
"const",
"TargetRegisterClass",
"*",
"RC",
",",
"unsigned",
"Reg",
",",
"EVT",
"VT",
")",
"const",
"{",
"SDValue",
"VReg",
"=",
"AMDGPUTargetLowering",
"::"... | [
"Helper",
"function",
"that",
"adds",
"Reg",
"to",
"the",
"LiveIn",
"list",
"of",
"the",
"DAG",
"'s",
"MachineFunction",
"."
] | [
"R600",
"SI"
] | SIISelLowering102 | CreateLiveInRegister | R600 | GPU | LLVM | 21,923 | 74 | 1 | [] |
[
"<s>",
"static",
"bool",
"arc_can_use_doloop_p",
"(",
"const",
"widest_int",
"&",
",",
"const",
"widest_int",
"&",
"iterations_max",
",",
"unsigned",
"int",
"loop_depth",
",",
"bool",
"entered_at_top",
")",
"{",
"if",
"(",
"loop_depth",
">",
"1",
"||",
"!",
... | [
"Implement",
"TARGET_CAN_USE_DOLOOP_P",
"."
] | [
"arc",
"1",
"32",
"1",
"1",
"0"
] | arc | arc_can_use_doloop_p | arc | MPU | GCC | 21,924 | 74 | 1 | [] |
[
"<s>",
"const",
"char",
"*",
"AArch64TargetLowering",
"::",
"getTargetNodeName",
"(",
"unsigned",
"Opcode",
")",
"const",
"{",
"switch",
"(",
"Opcode",
")",
"{",
"case",
"AArch64ISD",
"::",
"BR_CC",
":",
"return",
"\"AArch64ISD::BR_CC\"",
";",
"case",
"AArch64IS... | [
"getTargetNodeName",
"-",
"This",
"method",
"returns",
"the",
"name",
"of",
"a",
"target",
"specific"
] | [
"AArch64",
"AArch64",
"AArch64ISD::BR_CC",
"\"AArch64ISD::BR_CC\"",
"AArch64ISD::Call",
"\"AArch64ISD::Call\"",
"AArch64ISD::FPMOV",
"\"AArch64ISD::FPMOV\"",
"AArch64ISD::GOTLoad",
"\"AArch64ISD::GOTLoad\"",
"AArch64ISD::BFI",
"\"AArch64ISD::BFI\"",
"AArch64ISD::EXTR",
"\"AArch64ISD::EXTR\... | AArch64ISelLowering21 | getTargetNodeName | AArch64 | CPU | LLVM | 21,925 | 200 | 1 | [] |
[
"<s>",
"bool",
"ARMBaseInstrInfo",
"::",
"shouldSink",
"(",
"const",
"MachineInstr",
"&",
"MI",
")",
"const",
"{",
"if",
"(",
"isPredicated",
"(",
"MI",
")",
")",
"return",
"true",
";",
"MachineBasicBlock",
"::",
"const_iterator",
"Next",
"=",
"&",
"MI",
"... | [
"Return",
"true",
"if",
"the",
"instruction",
"should",
"be",
"sunk",
"by",
"MachineSink",
"."
] | [
"ARM",
"ARM"
] | ARMBaseInstrInfo116 | shouldSink | ARM | CPU | LLVM | 21,926 | 99 | 1 | [] |
[
"<s>",
"virtual",
"const",
"X86InstrInfo",
"*",
"getInstrInfo",
"(",
")",
"const",
"{",
"return",
"&",
"InstrInfo",
";",
"}",
"</s>"
] | [
"TargetInstrInfo",
"getter",
"."
] | [
"X86",
"X86"
] | X86TargetMachine13 | getInstrInfo | X86 | CPU | LLVM | 21,927 | 14 | 1 | [] |
[
"<s>",
"static",
"bool",
"in_same_chain",
"(",
"rtx_insn",
"*",
"insn",
",",
"rtx_insn",
"*",
"cand",
",",
"unsigned",
"regno",
")",
"{",
"struct",
"du_chain",
"*",
"chain",
"=",
"NULL",
";",
"du_head_p",
"head",
"=",
"NULL",
";",
"int",
"i",
";",
"ope... | [
"Return",
"whether",
"INSN",
"and",
"CAND",
"are",
"in",
"the",
"same",
"def/use",
"chain",
"."
] | [
"aarch64",
"0"
] | falkor-tag-collision-avoidance | in_same_chain | aarch64 | CPU | GCC | 21,928 | 191 | 1 | [] |
[
"<s>",
"void",
"HSAILMachineFunctionInfo",
"::",
"addMetadata",
"(",
"std",
"::",
"string",
"md",
",",
"bool",
"kernelOnly",
")",
"{",
"if",
"(",
"kernelOnly",
")",
"{",
"mMetadataKernel",
".",
"push_back",
"(",
"md",
")",
";",
"}",
"else",
"{",
"mMetadata... | [
"Similar",
"to",
"the",
"previous",
"function",
"but",
"it",
"adds",
"the",
"metadata",
"to",
"a",
"vector",
"of",
"instructions",
"."
] | [
"HSAIL",
"HSAIL"
] | HSAILMachineFunctionInfo | addMetadata | HSAIL | Virtual ISA | LLVM | 21,929 | 38 | 1 | [] |
[
"<s>",
"static",
"void",
"alpha_output_mi_thunk_osf",
"(",
"FILE",
"*",
"file",
",",
"tree",
"thunk_fndecl",
"ATTRIBUTE_UNUSED",
",",
"HOST_WIDE_INT",
"delta",
",",
"HOST_WIDE_INT",
"vcall_offset",
",",
"tree",
"function",
")",
"{",
"HOST_WIDE_INT",
"hi",
",",
"lo... | [
"Emit",
"a",
"tail",
"call",
"to",
"FUNCTION",
"after",
"adjusting",
"THIS",
"by",
"DELTA",
".",
"In",
"order",
"to",
"avoid",
"the",
"hordes",
"of",
"differences",
"between",
"generated",
"code",
"with",
"and",
"without",
"TARGET_EXPLICIT_RELOCS",
",",
"and",... | [
"alpha",
"17",
"16",
"0xffff",
"0x8000",
"0x8000",
"0xffffffff",
"0x80000000",
"0x80000000",
"0",
"0",
"0xffff",
"0x8000",
"0x8000",
"0xffffffff",
"0x80000000",
"0x80000000",
"1",
"0",
"1",
"0",
"1",
"1",
"1"
] | alpha5 | alpha_output_mi_thunk_osf | alpha | MPU | GCC | 21,930 | 461 | 1 | [] |
[
"<s>",
"static",
"bool",
"frv_same_doubleword_p",
"(",
"const",
"struct",
"frv_io",
"*",
"io1",
",",
"const",
"struct",
"frv_io",
"*",
"io2",
")",
"{",
"if",
"(",
"io1",
"->",
"const_address",
"!=",
"0",
"&&",
"io2",
"->",
"const_address",
"!=",
"0",
")"... | [
"Return",
"true",
"if",
"accesses",
"IO1",
"and",
"IO2",
"refer",
"to",
"the",
"same",
"doubleword",
"."
] | [
"frv",
"0",
"0",
"0",
"0"
] | frv | frv_same_doubleword_p | frv | VLIW | GCC | 21,931 | 70 | 1 | [] |
[
"<s>",
"void",
"altivec_expand_stvex_be",
"(",
"rtx",
"op0",
",",
"rtx",
"op1",
",",
"machine_mode",
"mode",
",",
"unsigned",
"unspec",
")",
"{",
"machine_mode",
"inner_mode",
"=",
"GET_MODE_INNER",
"(",
"mode",
")",
";",
"rtx",
"tmp",
"=",
"gen_reg_rtx",
"(... | [
"Generate",
"code",
"for",
"a",
"``",
"stve",
"*",
"x",
"''",
"built-in",
"for",
"a",
"little",
"endian",
"target",
"with",
"-maltivec=be",
"specified",
".",
"Issue",
"the",
"store",
"preceded",
"by",
"an",
"element-reversing",
"permute",
"."
] | [
"rs6000",
"1",
"3"
] | rs60004 | altivec_expand_stvex_be | rs6000 | CPU | GCC | 21,932 | 113 | 1 | [] |
[
"<s>",
"void",
"AVRFrameLowering",
"::",
"determineCalleeSaves",
"(",
"MachineFunction",
"&",
"MF",
",",
"BitVector",
"&",
"SavedRegs",
",",
"RegScavenger",
"*",
"RS",
")",
"const",
"{",
"TargetFrameLowering",
"::",
"determineCalleeSaves",
"(",
"MF",
",",
"SavedRe... | [
"This",
"method",
"determines",
"which",
"of",
"the",
"registers",
"reported",
"by",
"TargetRegisterInfo",
":",
":getCalleeSavedRegs",
"(",
")",
"should",
"actually",
"get",
"saved",
"."
] | [
"AVR",
"AVR"
] | AVRFrameLowering1 | determineCalleeSaves | AVR | MPU | LLVM | 21,933 | 31 | 1 | [] |
[
"<s>",
"static",
"const",
"char",
"*",
"rs6000_xcoff_visibility",
"(",
"tree",
"decl",
")",
"{",
"static",
"const",
"char",
"*",
"const",
"visibility_types",
"[",
"]",
"=",
"{",
"\"\"",
",",
"\",protected\"",
",",
"\",hidden\"",
",",
"\",internal\"",
"}",
";... | [
"Helper",
"function",
"to",
"calculate",
"visibility",
"of",
"a",
"DECL",
"and",
"return",
"the",
"value",
"as",
"a",
"const",
"string",
"."
] | [
"rs6000",
"\"\"",
"\",protected\"",
"\",hidden\"",
"\",internal\""
] | rs6000 | rs6000_xcoff_visibility | rs6000 | CPU | GCC | 21,934 | 45 | 1 | [] |
[
"<s>",
"tree",
"gimple_folder",
"::",
"fold_contiguous_base",
"(",
"gimple_seq",
"&",
"stmts",
",",
"tree",
"vectype",
")",
"{",
"tree",
"base",
"=",
"gimple_call_arg",
"(",
"call",
",",
"1",
")",
";",
"if",
"(",
"mode_suffix_id",
"==",
"MODE_vnum",
")",
"... | [
"Return",
"a",
"pointer",
"to",
"the",
"address",
"in",
"a",
"contiguous",
"load",
"or",
"store",
",",
"given",
"that",
"each",
"memory",
"vector",
"has",
"type",
"VECTYPE",
".",
"Add",
"any",
"new",
"statements",
"to",
"STMTS",
"."
] | [
"aarch64",
"1",
"2"
] | aarch64-sve-builtins | fold_contiguous_base | aarch64 | CPU | GCC | 21,935 | 95 | 1 | [] |
[
"<s>",
"static",
"void",
"mips_atomic_assign_expand_fenv",
"(",
"tree",
"*",
"hold",
",",
"tree",
"*",
"clear",
",",
"tree",
"*",
"update",
")",
"{",
"if",
"(",
"!",
"TARGET_HARD_FLOAT_ABI",
")",
"return",
";",
"tree",
"exceptions_var",
"=",
"create_tmp_var",
... | [
"Implement",
"TARGET_ATOMIC_ASSIGN_EXPAND_FENV",
"."
] | [
"mips",
"0",
"0xfffff003",
"1",
"1",
"0",
"1",
"1"
] | mips4 | mips_atomic_assign_expand_fenv | mips | CPU | GCC | 21,936 | 270 | 1 | [] |
[
"<s>",
"int",
"xstormy16_below100_symbol",
"(",
"rtx",
"x",
",",
"enum",
"machine_mode",
"mode",
"ATTRIBUTE_UNUSED",
")",
"{",
"if",
"(",
"GET_CODE",
"(",
"x",
")",
"==",
"CONST",
")",
"x",
"=",
"XEXP",
"(",
"x",
",",
"0",
")",
";",
"if",
"(",
"GET_C... | [
"Predicate",
"for",
"symbols",
"and",
"addresses",
"that",
"reflect",
"special",
"8-bit",
"addressing",
"."
] | [
"stormy16",
"0",
"1",
"0",
"0",
"0x0000",
"0x00ff",
"0x7f00",
"0x7fff",
"1",
"0"
] | stormy163 | xstormy16_below100_symbol | stormy16 | CPU | GCC | 21,937 | 129 | 1 | [] |
[
"<s>",
"void",
"StackFixup",
"::",
"print",
"(",
"raw_ostream",
"&",
"OS",
")",
"const",
"{",
"llvm",
"::",
"for_each",
"(",
"Changes",
",",
"[",
"&",
"]",
"(",
"const",
"std",
"::",
"pair",
"<",
"Change",
",",
"std",
"::",
"string",
">",
"&",
"v",... | [
"print",
"-",
"Print",
"a",
"debug",
"representation",
"of",
"the",
"operand",
"to",
"the",
"given",
"stream",
"."
] | [
"TVM",
"\"; \"",
"\"\\n\""
] | TVMStackFixup | print | TVM | Virtual ISA | LLVM | 21,938 | 59 | 1 | [] |
[
"<s>",
"static",
"rtx",
"ix86_expand_int_compare",
"(",
"enum",
"rtx_code",
"code",
",",
"rtx",
"op0",
",",
"rtx",
"op1",
")",
"{",
"machine_mode",
"cmpmode",
";",
"rtx",
"tmp",
",",
"flags",
";",
"if",
"(",
"(",
"code",
"==",
"GTU",
"||",
"code",
"=="... | [
"Generate",
"insn",
"patterns",
"to",
"do",
"an",
"integer",
"compare",
"of",
"OPERANDS",
"."
] | [
"i386"
] | i386-expand | ix86_expand_int_compare | i386 | CPU | GCC | 21,939 | 114 | 1 | [] |
[
"<s>",
"bool",
"XCoreTargetLowering",
"::",
"CanLowerReturn",
"(",
"CallingConv",
"::",
"ID",
"CallConv",
",",
"MachineFunction",
"&",
"MF",
",",
"bool",
"isVarArg",
",",
"const",
"SmallVectorImpl",
"<",
"ISD",
"::",
"OutputArg",
">",
"&",
"Outs",
",",
"LLVMCo... | [
"This",
"hook",
"should",
"be",
"implemented",
"to",
"check",
"whether",
"the",
"return",
"values",
"described",
"by",
"the",
"Outs",
"array",
"can",
"fit",
"into",
"the",
"return",
"registers",
"."
] | [
"XCore",
"XCore",
"ISD::OutputArg",
"16",
"XCore",
"0"
] | XCoreISelLowering33 | CanLowerReturn | XCore | MPU | LLVM | 21,940 | 93 | 1 | [] |
[
"<s>",
"void",
"HexagonDAGToDAGISel",
"::",
"Select",
"(",
"SDNode",
"*",
"N",
")",
"{",
"if",
"(",
"N",
"->",
"isMachineOpcode",
"(",
")",
")",
"return",
"N",
"->",
"setNodeId",
"(",
"-",
"1",
")",
";",
"switch",
"(",
"N",
"->",
"getOpcode",
"(",
... | [
"Main",
"hook",
"for",
"targets",
"to",
"transform",
"nodes",
"into",
"machine",
"nodes",
"."
] | [
"Hexagon",
"Hexagon",
"1",
"ISD::Constant",
"ISD::ConstantFP",
"ISD::FrameIndex",
"ISD::BITCAST",
"ISD::SHL",
"ISD::LOAD",
"ISD::STORE",
"ISD::INTRINSIC_W_CHAIN",
"ISD::INTRINSIC_WO_CHAIN",
"HexagonISD::TYPECAST",
"HexagonISD::P2D",
"HexagonISD::D2P",
"HexagonISD::Q2V",
"HexagonISD::... | HexagonISelDAGToDAG12 | Select | Hexagon | DSP | LLVM | 21,941 | 239 | 1 | [] |
[
"<s>",
"size_type",
"count",
"(",
")",
"const",
"{",
"return",
"V",
".",
"count",
"(",
")",
";",
"}",
"</s>"
] | [
"Return",
"1",
"if",
"the",
"specified",
"key",
"is",
"in",
"the",
"map",
",",
"0",
"otherwise",
"."
] | [
"X86"
] | ImmutableGraph | count | X86 | CPU | LLVM | 21,942 | 14 | 1 | [] |
[
"<s>",
"static",
"void",
"avr_option_override",
"(",
"void",
")",
"{",
"if",
"(",
"avr_strict_X",
")",
"flag_caller_saves",
"=",
"0",
";",
"if",
"(",
"(",
"flag_unwind_tables",
"||",
"flag_non_call_exceptions",
"||",
"flag_asynchronous_unwind_tables",
")",
"&&",
"... | [
"Implement",
"`",
"TARGET_OPTION_OVERRIDE",
"'",
"."
] | [
"avr",
"0",
"0",
"1",
"\"%<-fpic%> is not supported\"",
"2",
"\"%<-fPIC%> is not supported\"",
"1",
"\"%<-fpie%> is not supported\"",
"2",
"\"%<-fPIE%> is not supported\"",
"0",
"32",
"0x3F",
"0x3B",
"0x3A",
"0x39",
"0x38",
"0x3C",
"0x34",
"0x3D",
"1"
] | avr | avr_option_override | avr | MPU | GCC | 21,943 | 205 | 1 | [] |
[
"<s>",
"static",
"void",
"m68k_output_dwarf_dtprel",
"(",
"FILE",
"*",
"file",
",",
"int",
"size",
",",
"rtx",
"x",
")",
"{",
"gcc_assert",
"(",
"size",
"==",
"4",
")",
";",
"fputs",
"(",
"\"\\t.long\\t\"",
",",
"file",
")",
";",
"output_addr_const",
"("... | [
"M68K",
"implementation",
"of",
"TARGET_ASM_OUTPUT_DWARF_DTPREL",
"."
] | [
"m68k",
"4",
"\"\\t.long\\t\"",
"\"@TLSLDO+0x8000\""
] | m68k | m68k_output_dwarf_dtprel | m68k | MPU | GCC | 21,944 | 44 | 1 | [] |
[
"<s>",
"static",
"bool",
"abi_v4_pass_in_fpr",
"(",
"machine_mode",
"mode",
",",
"bool",
"named",
")",
"{",
"if",
"(",
"!",
"TARGET_HARD_FLOAT",
")",
"return",
"false",
";",
"if",
"(",
"mode",
"==",
"DFmode",
")",
"return",
"true",
";",
"if",
"(",
"mode"... | [
"Whether",
"ABI_V4",
"passes",
"MODE",
"args",
"to",
"a",
"function",
"in",
"floating",
"point",
"registers",
"."
] | [
"rs6000"
] | rs6000-call | abi_v4_pass_in_fpr | rs6000 | CPU | GCC | 21,945 | 73 | 1 | [] |
[
"<s>",
"rtx",
"aarch64_replace_reg_mode",
"(",
"rtx",
"x",
",",
"machine_mode",
"mode",
")",
"{",
"if",
"(",
"GET_MODE",
"(",
"x",
")",
"==",
"mode",
")",
"return",
"x",
";",
"x",
"=",
"shallow_copy_rtx",
"(",
"x",
")",
";",
"set_mode_and_regno",
"(",
... | [
"Return",
"a",
"copy",
"of",
"X",
"with",
"mode",
"MODE",
",",
"without",
"changing",
"its",
"other",
"attributes",
".",
"Unlike",
"gen_lowpart",
",",
"this",
"does",
"n't",
"care",
"whether",
"the",
"mode",
"change",
"is",
"valid",
"."
] | [
"aarch64"
] | aarch64 | aarch64_replace_reg_mode | aarch64 | CPU | GCC | 21,946 | 45 | 1 | [] |
[
"<s>",
"bool",
"SPUPassConfig",
"::",
"addInstSelector",
"(",
")",
"{",
"PM",
".",
"add",
"(",
"createSPUISelDag",
"(",
"getSPUTargetMachine",
"(",
")",
")",
")",
";",
"return",
"false",
";",
"}",
"</s>"
] | [
"addInstSelector",
"-",
"This",
"method",
"should",
"install",
"an",
"instruction",
"selector",
"pass",
",",
"which",
"converts",
"from",
"LLVM",
"code",
"to",
"machine",
"instructions",
"."
] | [
"CellSPU",
"SPU",
"SPU",
"SPU"
] | SPUTargetMachine13 | addInstSelector | CellSPU | MPU | LLVM | 21,947 | 23 | 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\""
] | PTXInstrInfo | copyPhysReg | PTX | GPU | LLVM | 21,948 | 116 | 1 | [] |
[
"<s>",
"bool",
"XCoreRegisterInfo",
"::",
"useFPForScavengingIndex",
"(",
"const",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"return",
"false",
";",
"}",
"</s>"
] | [
"Returns",
"true",
"if",
"the",
"target",
"wants",
"to",
"use",
"frame",
"pointer",
"based",
"accesses",
"to",
"spill",
"to",
"the",
"scavenger",
"emergency",
"spill",
"slot",
"."
] | [
"XCore",
"XCore"
] | XCoreRegisterInfo (2)1 | useFPForScavengingIndex | XCore | MPU | LLVM | 21,949 | 16 | 1 | [] |
[
"<s>",
"bool",
"MSP430AsmParser",
"::",
"MatchAndEmitInstruction",
"(",
"SMLoc",
"Loc",
",",
"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",
"."
] | [
"MSP430",
"MSP430",
"\"invalid instruction mnemonic\"",
"0U",
"\"too few operands for instruction\"",
"MSP430",
"\"invalid operand for instruction\""
] | MSP430AsmParser10 | MatchAndEmitInstruction | MSP430 | MPU | LLVM | 21,950 | 165 | 1 | [] |
[
"<s>",
"static",
"void",
"aarch64_expand_vec_series",
"(",
"rtx",
"dest",
",",
"rtx",
"base",
",",
"rtx",
"step",
")",
"{",
"machine_mode",
"mode",
"=",
"GET_MODE",
"(",
"dest",
")",
";",
"scalar_mode",
"inner",
"=",
"GET_MODE_INNER",
"(",
"mode",
")",
";"... | [
"Set",
"DEST",
"to",
"(",
"vec_series",
"BASE",
"STEP",
")",
"."
] | [
"aarch64"
] | aarch64 | aarch64_expand_vec_series | aarch64 | CPU | GCC | 21,951 | 79 | 1 | [] |
[
"<s>",
"static",
"void",
"aarch64_init_fpsr_fpcr_builtins",
"(",
"void",
")",
"{",
"tree",
"ftype_set",
"=",
"build_function_type_list",
"(",
"void_type_node",
",",
"unsigned_type_node",
",",
"NULL",
")",
";",
"tree",
"ftype_get",
"=",
"build_function_type_list",
"(",... | [
"Initialize",
"fpsr",
"fpcr",
"getters",
"and",
"setters",
"."
] | [
"aarch64",
"\"__builtin_aarch64_get_fpcr\"",
"\"__builtin_aarch64_set_fpcr\"",
"\"__builtin_aarch64_get_fpsr\"",
"\"__builtin_aarch64_set_fpsr\"",
"\"__builtin_aarch64_get_fpcr64\"",
"\"__builtin_aarch64_set_fpcr64\"",
"\"__builtin_aarch64_get_fpsr64\"",
"\"__builtin_aarch64_set_fpsr64\""
] | aarch64-builtins | aarch64_init_fpsr_fpcr_builtins | aarch64 | CPU | GCC | 21,952 | 162 | 1 | [] |
[
"<s>",
"SDValue",
"XCoreSelectionDAGInfo",
"::",
"EmitTargetCodeForMemcpy",
"(",
"SelectionDAG",
"&",
"DAG",
",",
"SDLoc",
"dl",
",",
"SDValue",
"Chain",
",",
"SDValue",
"Dst",
",",
"SDValue",
"Src",
",",
"SDValue",
"Size",
",",
"unsigned",
"Align",
",",
"bool... | [
"Emit",
"target-specific",
"code",
"that",
"performs",
"a",
"memcpy",
"."
] | [
"XCore",
"XCore",
"3",
"0",
"3",
"\"__memcpy_4\"",
"0"
] | XCoreSelectionDAGInfo (2) | EmitTargetCodeForMemcpy | XCore | MPU | LLVM | 21,953 | 271 | 1 | [] |
[
"<s>",
"void",
"ARCExpandPseudos",
"::",
"expandCTTZ",
"(",
"MachineFunction",
"&",
"MF",
",",
"MachineBasicBlock",
"::",
"iterator",
"MII",
")",
"{",
"MachineInstr",
"&",
"MI",
"=",
"*",
"MII",
";",
"const",
"MachineOperand",
"&",
"Dest",
"=",
"MI",
".",
... | [
"Expand",
"CTTZ/CTTZ_ZERO_UNDEF",
"nodes",
"."
] | [
"ARC",
"ARC",
"0",
"1",
"ARC::GPR32RegClass",
"ARC::FFS_f_rr",
"ARC::MOV_cc_ru6",
"32",
"ARCCC::EQ"
] | ARCExpandPseudos1 | expandCTTZ | ARC | MPU | LLVM | 21,954 | 153 | 1 | [] |
[
"<s>",
"static",
"bool",
"sp_valid_at",
"(",
"HOST_WIDE_INT",
"cfa_offset",
")",
"{",
"const",
"struct",
"machine_frame_state",
"&",
"fs",
"=",
"cfun",
"->",
"machine",
"->",
"fs",
";",
"if",
"(",
"fs",
".",
"sp_realigned",
"&&",
"cfa_offset",
"<=",
"fs",
... | [
"Determine",
"if",
"the",
"stack",
"pointer",
"is",
"valid",
"for",
"accessing",
"the",
"CFA_OFFSET",
"in",
"the",
"frame",
"save",
"area",
".",
"The",
"register",
"is",
"saved",
"at",
"CFA",
"-",
"CFA_OFFSET",
"."
] | [
"i386"
] | i386 | sp_valid_at | i386 | CPU | GCC | 21,955 | 52 | 1 | [] |
[
"<s>",
"static",
"bool",
"arc_rtx_costs",
"(",
"rtx",
"x",
",",
"int",
"code",
",",
"int",
"outer_code",
"ATTRIBUTE_UNUSED",
",",
"int",
"*",
"total",
")",
"{",
"switch",
"(",
"code",
")",
"{",
"case",
"CONST_INT",
":",
"if",
"(",
"SMALL_INT",
"(",
"IN... | [
"Compute",
"a",
"(",
"partial",
")",
"cost",
"for",
"rtx",
"X",
".",
"Return",
"true",
"if",
"the",
"complete",
"cost",
"has",
"been",
"computed",
",",
"and",
"false",
"if",
"subexpressions",
"should",
"be",
"scanned",
".",
"In",
"either",
"case",
",",
... | [
"arc",
"0",
"1",
"1",
"1",
"16",
"1"
] | arc3 | arc_rtx_costs | arc | MPU | GCC | 21,956 | 188 | 1 | [] |
[
"<s>",
"bool",
"aarch_mm_needs_release",
"(",
"rtx",
"const_int",
")",
"{",
"enum",
"memmodel",
"model",
"=",
"memmodel_from_int",
"(",
"INTVAL",
"(",
"const_int",
")",
")",
";",
"return",
"!",
"(",
"is_mm_relaxed",
"(",
"model",
")",
"||",
"is_mm_consume",
... | [
"Return",
"non-zero",
"if",
"the",
"RTX",
"representing",
"a",
"memory",
"model",
"is",
"a",
"memory",
"model",
"that",
"needs",
"release",
"semantics",
"."
] | [
"arm"
] | aarch-common | aarch_mm_needs_release | arm | CPU | GCC | 21,957 | 39 | 1 | [] |
[
"<s>",
"virtual",
"MachineInstr",
"*",
"foldMemoryOperandImpl",
"(",
"MachineFunction",
"&",
"MF",
",",
"MachineInstr",
"*",
"MI",
",",
"const",
"SmallVectorImpl",
"<",
"unsigned",
">",
"&",
"Ops",
",",
"MachineInstr",
"*",
"LoadMI",
")",
"const",
"{",
"return... | [
"foldMemoryOperand",
"-",
"Same",
"as",
"the",
"previous",
"version",
"except",
"it",
"allows",
"folding",
"of",
"any",
"load",
"and",
"store",
"from",
"/",
"to",
"any",
"address",
",",
"not",
"just",
"from",
"a",
"specific",
"stack",
"slot",
"."
] | [
"Alpha",
"0"
] | AlphaInstrInfo | foldMemoryOperandImpl | Alpha | MPU | LLVM | 21,958 | 31 | 1 | [] |
[
"<s>",
"void",
"PPCRegisterInfo",
"::",
"resolveFrameIndex",
"(",
"MachineInstr",
"&",
"MI",
",",
"unsigned",
"BaseReg",
",",
"int64_t",
"Offset",
")",
"const",
"{",
"unsigned",
"FIOperandNum",
"=",
"0",
";",
"while",
"(",
"!",
"MI",
".",
"getOperand",
"(",
... | [
"Resolve",
"a",
"frame",
"index",
"operand",
"of",
"an",
"instruction",
"to",
"reference",
"the",
"indicated",
"base",
"register",
"plus",
"offset",
"instead",
"."
] | [
"PowerPC",
"PPC",
"0",
"\"Instr doesn't have FrameIndex operand!\""
] | PPCRegisterInfo68 | resolveFrameIndex | PowerPC | CPU | LLVM | 21,959 | 183 | 1 | [] |
[
"<s>",
"void",
"getAnalysisUsage",
"(",
"AnalysisUsage",
"&",
"AU",
")",
"const",
"override",
"{",
"AU",
".",
"addRequired",
"<",
"AMDGPUArgumentUsageInfo",
">",
"(",
")",
";",
"AU",
".",
"addRequired",
"<",
"LegacyDivergenceAnalysis",
">",
"(",
")",
";",
"A... | [
"getAnalysisUsage",
"-",
"Subclasses",
"that",
"override",
"getAnalysisUsage",
"must",
"call",
"this",
"."
] | [
"AMDGPU",
"AMDGPU"
] | AMDGPUISelDAGToDAG106 | getAnalysisUsage | AMDGPU | GPU | LLVM | 21,960 | 54 | 1 | [] |
[
"<s>",
"static",
"void",
"alpha_emit_xfloating_libcall",
"(",
"rtx",
"func",
",",
"rtx",
"target",
",",
"rtx",
"operands",
"[",
"]",
",",
"int",
"noperands",
",",
"rtx",
"equiv",
")",
"{",
"rtx",
"usage",
"=",
"NULL_RTX",
",",
"tmp",
",",
"reg",
";",
"... | [
"Emit",
"an",
"X_floating",
"library",
"function",
"call",
".",
"Note",
"that",
"these",
"functions",
"do",
"not",
"follow",
"normal",
"calling",
"conventions",
":",
"TFmode",
"arguments",
"are",
"passed",
"in",
"two",
"integer",
"registers",
"(",
"as",
"oppos... | [
"alpha",
"16",
"0",
"2",
"32",
"1",
"1",
"0",
"16",
"32",
"0",
"1"
] | alpha3 | alpha_emit_xfloating_libcall | alpha | MPU | GCC | 21,961 | 293 | 1 | [] |
[
"<s>",
"bool",
"MipsAsmParser",
"::",
"ParseDirective",
"(",
"AsmToken",
"DirectiveID",
")",
"{",
"StringRef",
"IDVal",
"=",
"DirectiveID",
".",
"getString",
"(",
")",
";",
"if",
"(",
"IDVal",
"==",
"\".dword\"",
")",
"{",
"parseDataDirective",
"(",
"8",
","... | [
"ParseDirective",
"-",
"Parse",
"a",
"target",
"specific",
"assembler",
"directive",
"This",
"method",
"is",
"deprecated",
",",
"use",
"'parseDirective",
"'",
"instead",
"."
] | [
"Mips",
"Mips",
"\".dword\"",
"8",
"\".ent\"",
"\".end\"",
"\".frame\"",
"\".set\"",
"\".fmask\"",
"\".mask\"",
"\".nan\"",
"\".gpword\"",
"\".gpdword\"",
"\".word\"",
"4",
"\".option\"",
"\".abicalls\"",
"\"unexpected token in directive\"",
"\".cpsetup\""
] | MipsAsmParser45 | ParseDirective | Mips | CPU | LLVM | 21,962 | 284 | 1 | [] |
[
"<s>",
"static",
"tree",
"mve_dereference_pointer",
"(",
"tree",
"exp",
",",
"tree",
"type",
",",
"machine_mode",
"reg_mode",
",",
"machine_mode",
"vector_mode",
")",
"{",
"HOST_WIDE_INT",
"reg_size",
",",
"vector_size",
",",
"nelems",
";",
"tree",
"elem_type",
... | [
"EXP",
"is",
"a",
"pointer",
"argument",
"to",
"a",
"vector",
"scatter",
"store",
"intrinsics",
".",
"Consider",
"the",
"following",
"example",
":",
"VSTRW",
"<",
"v",
">",
".",
"<",
"dt",
">",
"Qd",
",",
"[",
"Qm",
"{",
",",
"#",
"+/-",
"<",
"imm"... | [
"arm",
"1",
"0"
] | arm-builtins | mve_dereference_pointer | arm | CPU | GCC | 21,963 | 110 | 1 | [] |
[
"<s>",
"static",
"int",
"microblaze_address_insns",
"(",
"rtx",
"x",
",",
"machine_mode",
"mode",
")",
"{",
"struct",
"microblaze_address_info",
"addr",
";",
"if",
"(",
"microblaze_classify_address",
"(",
"&",
"addr",
",",
"x",
",",
"mode",
",",
"false",
")",
... | [
"Return",
"the",
"number",
"of",
"instructions",
"needed",
"to",
"load",
"or",
"store",
"a",
"value",
"of",
"mode",
"MODE",
"at",
"X",
".",
"Return",
"0",
"if",
"X",
"is",
"n't",
"valid",
"for",
"MODE",
"."
] | [
"microblaze",
"1",
"2",
"1",
"2",
"1",
"2",
"2",
"2",
"1",
"0"
] | microblaze2 | microblaze_address_insns | microblaze | MPU | GCC | 21,964 | 133 | 1 | [] |
[
"<s>",
"static",
"unsigned",
"getLinkageSize",
"(",
"bool",
"LP64",
",",
"bool",
"isMacho",
")",
"{",
"if",
"(",
"isMacho",
")",
"return",
"6",
"*",
"(",
"LP64",
"?",
"8",
":",
"4",
")",
";",
"return",
"8",
";",
"}",
"</s>"
] | [
"getLinkageSize",
"-",
"Return",
"the",
"size",
"of",
"the",
"PowerPC",
"ABI",
"linkage",
"area",
"."
] | [
"PowerPC",
"6",
"8",
"4",
"8"
] | PPCFrameInfo | getLinkageSize | PowerPC | CPU | LLVM | 21,965 | 30 | 1 | [] |
[
"<s>",
"void",
"arc_print_operand_address",
"(",
"FILE",
"*",
"file",
",",
"rtx",
"addr",
")",
"{",
"register",
"rtx",
"base",
",",
"index",
"=",
"0",
";",
"switch",
"(",
"GET_CODE",
"(",
"addr",
")",
")",
"{",
"case",
"REG",
":",
"fputs",
"(",
"reg_... | [
"Print",
"a",
"memory",
"address",
"as",
"an",
"operand",
"to",
"reference",
"that",
"memory",
"location",
"."
] | [
"arc",
"0",
"\"@sda\"",
"0",
"0",
"0",
"1",
"0",
"0",
"1",
"0",
"1",
"0",
"0",
"1",
"0",
"0"
] | arc5 | arc_print_operand_address | arc | MPU | GCC | 21,966 | 318 | 1 | [] |
[
"<s>",
"bool",
"ARMBaseInstrInfo",
"::",
"analyzeCompare",
"(",
"const",
"MachineInstr",
"&",
"MI",
",",
"Register",
"&",
"SrcReg",
",",
"Register",
"&",
"SrcReg2",
",",
"int64_t",
"&",
"CmpMask",
",",
"int64_t",
"&",
"CmpValue",
")",
"const",
"{",
"switch",... | [
"analyzeCompare",
"-",
"For",
"a",
"comparison",
"instruction",
",",
"return",
"the",
"source",
"registers",
"in",
"SrcReg",
"and",
"SrcReg2",
"if",
"having",
"two",
"register",
"operands",
",",
"and",
"the",
"value",
"it",
"compares",
"against",
"in",
"CmpVal... | [
"ARM",
"ARM",
"ARM::CMPri",
"ARM::t2CMPri",
"ARM::tCMPi8",
"0",
"0",
"0",
"1",
"ARM::CMPrr",
"ARM::t2CMPrr",
"ARM::tCMPr",
"0",
"1",
"0",
"0",
"ARM::TSTri",
"ARM::t2TSTri",
"0",
"0",
"1",
"0"
] | ARMBaseInstrInfo110 | analyzeCompare | ARM | CPU | LLVM | 21,967 | 199 | 1 | [] |
[
"<s>",
"bool",
"SIFoldOperands",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"{",
"if",
"(",
"skipFunction",
"(",
"*",
"MF",
".",
"getFunction",
"(",
")",
")",
")",
"return",
"false",
";",
"const",
"SISubtarget",
"&",
"ST",
"=",
... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"AMDGPU",
"SI",
"SI",
"SI",
"1",
"0"
] | SIFoldOperands77 | runOnMachineFunction | AMDGPU | GPU | LLVM | 21,968 | 265 | 1 | [] |
[
"<s>",
"RegisterRef",
"PhysicalRegisterInfo",
"::",
"normalize",
"(",
"RegisterRef",
"RR",
")",
"const",
"{",
"return",
"RR",
";",
"}",
"</s>"
] | [
"Weight",
"normalization",
"function",
"."
] | [
"Hexagon"
] | RDFRegisters | normalize | Hexagon | DSP | LLVM | 21,969 | 14 | 1 | [] |
[
"<s>",
"int",
"mn10300_get_live_callee_saved_regs",
"(",
")",
"{",
"int",
"mask",
";",
"int",
"i",
";",
"mask",
"=",
"0",
";",
"for",
"(",
"i",
"=",
"0",
";",
"i",
"<",
"FIRST_PSEUDO_REGISTER",
";",
"i",
"++",
")",
"if",
"(",
"regs_ever_live",
"[",
"... | [
"Returns",
"the",
"set",
"of",
"live",
",",
"callee-saved",
"registers",
"as",
"a",
"bitmask",
".",
"The",
"callee-saved",
"extended",
"registers",
"can",
"not",
"be",
"stored",
"individually",
",",
"so",
"all",
"of",
"them",
"will",
"be",
"included",
"in",
... | [
"mn10300",
"0",
"0",
"1",
"0x3c000",
"0",
"0x3c000"
] | mn103002 | mn10300_get_live_callee_saved_regs | mn10300 | MPU | GCC | 21,970 | 67 | 1 | [] |
[
"<s>",
"void",
"CSKYDAGToDAGISel",
"::",
"Select",
"(",
"SDNode",
"*",
"N",
")",
"{",
"if",
"(",
"N",
"->",
"isMachineOpcode",
"(",
")",
")",
"{",
"LLVM_DEBUG",
"(",
"dbgs",
"(",
")",
"<<",
"\"== \"",
";",
"N",
"->",
"dump",
"(",
"CurDAG",
")",
";"... | [
"Main",
"hook",
"for",
"targets",
"to",
"transform",
"nodes",
"into",
"machine",
"nodes",
"."
] | [
"CSKY",
"CSKY",
"\"== \"",
"\"\\n\"",
"1"
] | CSKYISelDAGToDAG2 | Select | CSKY | CPU | LLVM | 21,971 | 94 | 1 | [] |
[
"<s>",
"static",
"void",
"nios2_init_builtins",
"(",
"void",
")",
"{",
"unsigned",
"int",
"i",
";",
"for",
"(",
"i",
"=",
"0",
";",
"i",
"<",
"ARRAY_SIZE",
"(",
"nios2_builtins",
")",
";",
"i",
"++",
")",
"{",
"const",
"struct",
"nios2_builtin_desc",
"... | [
"Implement",
"TARGET_INIT_BUILTINS",
"."
] | [
"nios2",
"0"
] | nios2 | nios2_init_builtins | nios2 | MPU | GCC | 21,972 | 106 | 1 | [] |
[
"<s>",
"void",
"aarch64_split_atomic_op",
"(",
"enum",
"rtx_code",
"code",
",",
"rtx",
"old_out",
",",
"rtx",
"new_out",
",",
"rtx",
"mem",
",",
"rtx",
"value",
",",
"rtx",
"model_rtx",
",",
"rtx",
"cond",
")",
"{",
"machine_mode",
"mode",
"=",
"GET_MODE",... | [
"Split",
"an",
"atomic",
"operation",
"."
] | [
"aarch64",
"0"
] | aarch646 | aarch64_split_atomic_op | aarch64 | CPU | GCC | 21,973 | 375 | 1 | [] |
[
"<s>",
"void",
"ARMElfTargetObjectFile",
"::",
"Initialize",
"(",
"MCContext",
"&",
"Ctx",
",",
"const",
"TargetMachine",
"&",
"TM",
")",
"{",
"TargetLoweringObjectFileELF",
"::",
"Initialize",
"(",
"Ctx",
",",
"TM",
")",
";",
"isAAPCS_ABI",
"=",
"TM",
".",
... | [
"This",
"method",
"must",
"be",
"called",
"before",
"any",
"actual",
"lowering",
"is",
"done",
"."
] | [
"ARM",
"ARM",
"ARM",
"\".init_array\"",
"\".fini_array\"",
"\".ARM.attributes\"",
"ARM",
"0"
] | ARMTargetObjectFile19 | Initialize | ARM | CPU | LLVM | 21,974 | 131 | 1 | [] |
[
"<s>",
"static",
"int",
"ix86_function_regparm",
"(",
"tree",
"type",
",",
"tree",
"decl",
")",
"{",
"tree",
"attr",
";",
"int",
"regparm",
"=",
"ix86_regparm",
";",
"bool",
"user_convention",
"=",
"false",
";",
"if",
"(",
"!",
"TARGET_64BIT",
")",
"{",
... | [
"Return",
"the",
"regparm",
"value",
"for",
"a",
"function",
"with",
"the",
"indicated",
"TYPE",
"and",
"DECL",
".",
"DECL",
"may",
"be",
"NULL",
"when",
"calling",
"function",
"indirectly",
"or",
"considering",
"a",
"libcall",
"."
] | [
"i386",
"\"regparm\"",
"\"fastcall\"",
"2",
"0",
"0",
"3",
"3",
"2",
"0",
"6",
"0"
] | i3863 | ix86_function_regparm | i386 | CPU | GCC | 21,975 | 226 | 1 | [] |
[
"<s>",
"static",
"bool",
"arm_assemble_integer",
"(",
"rtx",
"x",
",",
"unsigned",
"int",
"size",
",",
"int",
"aligned_p",
")",
"{",
"if",
"(",
"size",
"==",
"UNITS_PER_WORD",
"&&",
"aligned_p",
")",
"{",
"fputs",
"(",
"\"\\t.word\\t\"",
",",
"asm_out_file",... | [
"Target",
"hook",
"for",
"assembling",
"integer",
"objects",
".",
"The",
"ARM",
"version",
"needs",
"to",
"handle",
"word-sized",
"values",
"specially",
"."
] | [
"arm",
"\"\\t.word\\t\"",
"\"(GOTOFF)\"",
"\"(GOTOFF)\"",
"\"(GOT)\"",
"4",
"2",
"1",
"0",
"0",
"1"
] | arm3 | arm_assemble_integer | arm | CPU | GCC | 21,976 | 264 | 1 | [] |
[
"<s>",
"const",
"NVPTXRegisterInfo",
"*",
"getRegisterInfo",
"(",
")",
"const",
"{",
"return",
"&",
"InstrInfo",
".",
"getRegisterInfo",
"(",
")",
";",
"}",
"</s>"
] | [
"getRegisterInfo",
"-",
"TargetInstrInfo",
"is",
"a",
"superset",
"of",
"MRegister",
"info",
"."
] | [
"NVPTX",
"NVPTX"
] | NVPTXSubtarget | getRegisterInfo | NVPTX | GPU | LLVM | 21,977 | 17 | 1 | [] |
[
"<s>",
"void",
"SystemZPassConfig",
"::",
"addPostRegAlloc",
"(",
")",
"{",
"if",
"(",
"getOptLevel",
"(",
")",
"==",
"CodeGenOpt",
"::",
"None",
")",
"addPass",
"(",
"createSystemZPostRewritePass",
"(",
"getSystemZTargetMachine",
"(",
")",
")",
")",
";",
"}",... | [
"This",
"method",
"may",
"be",
"implemented",
"by",
"targets",
"that",
"want",
"to",
"run",
"passes",
"after",
"register",
"allocation",
"pass",
"pipeline",
"but",
"before",
"prolog-epilog",
"insertion",
"."
] | [
"SystemZ",
"SystemZ",
"SystemZ",
"SystemZ"
] | SystemZTargetMachine18 | addPostRegAlloc | SystemZ | CPU | LLVM | 21,978 | 28 | 1 | [] |
[
"<s>",
"unsigned",
"X86FrameLowering",
"::",
"getWinEHFuncletFrameSize",
"(",
"const",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"unsigned",
"CSSize",
"=",
"MF",
".",
"getInfo",
"<",
"X86MachineFunctionInfo",
">",
"(",
")",
"->",
"getCalleeSavedFrameSize",
... | [
"Funclets",
"only",
"need",
"to",
"account",
"for",
"space",
"for",
"the",
"callee",
"saved",
"registers",
",",
"as",
"the",
"locals",
"are",
"accounted",
"for",
"in",
"the",
"parent",
"'s",
"stack",
"frame",
"."
] | [
"X86",
"X86",
"X86"
] | X86FrameLowering102 | getWinEHFuncletFrameSize | X86 | CPU | LLVM | 21,979 | 101 | 1 | [] |
[
"<s>",
"const",
"FPGASubtarget",
"*",
"FPGATargetMachine",
"::",
"getSubtargetImpl",
"(",
"const",
"Function",
"&",
"F",
")",
"const",
"{",
"Attribute",
"FPGAAttr",
"=",
"F",
".",
"getFnAttribute",
"(",
"\"target-cpu\"",
")",
";",
"Attribute",
"FSAttr",
"=",
"... | [
"Virtual",
"method",
"implemented",
"by",
"subclasses",
"that",
"returns",
"a",
"reference",
"to",
"that",
"target",
"'s",
"TargetSubtargetInfo-derived",
"member",
"variable",
"."
] | [
"FPGA",
"FPGA",
"FPGA",
"FPGA",
"\"target-cpu\"",
"\"target-features\"",
"FPGA",
"FPGA",
"FPGA",
"512",
"FPGA",
"FPGA",
"FPGA",
"FPGA"
] | FPGATargetMachine | getSubtargetImpl | FPGA | CPU | LLVM | 21,980 | 161 | 1 | [] |
[
"<s>",
"SDValue",
"SystemZTargetLowering",
"::",
"LowerReturn",
"(",
"SDValue",
"Chain",
",",
"CallingConv",
"::",
"ID",
"CallConv",
",",
"bool",
"IsVarArg",
",",
"const",
"SmallVectorImpl",
"<",
"ISD",
"::",
"OutputArg",
">",
"&",
"Outs",
",",
"const",
"Small... | [
"This",
"hook",
"must",
"be",
"implemented",
"to",
"lower",
"outgoing",
"return",
"values",
",",
"described",
"by",
"the",
"Outs",
"array",
",",
"into",
"the",
"specified",
"DAG",
"."
] | [
"SystemZ",
"SystemZ",
"ISD::OutputArg",
"16",
"SystemZ",
"SystemZISD::RET_FLAG",
"MVT::Other",
"4",
"0",
"\"Can only return in registers!\"",
"1",
"0",
"SystemZISD::RET_FLAG",
"MVT::Other"
] | SystemZISelLowering111 | LowerReturn | SystemZ | CPU | LLVM | 21,981 | 292 | 1 | [] |
[
"<s>",
"void",
"HexagonCommonGEP",
"::",
"removeDeadCode",
"(",
")",
"{",
"ValueVect",
"BO",
";",
"BO",
".",
"push_back",
"(",
"&",
"Fn",
"->",
"front",
"(",
")",
")",
";",
"for",
"(",
"unsigned",
"i",
"=",
"0",
";",
"i",
"<",
"BO",
".",
"size",
... | [
"Remove",
"all",
"dead",
"instructions",
"between",
"the",
"I",
"and",
"E",
"."
] | [
"Hexagon",
"Hexagon",
"0",
"0",
"1"
] | HexagonCommonGEP | removeDeadCode | Hexagon | DSP | LLVM | 21,982 | 276 | 1 | [] |
[
"<s>",
"static",
"rtx",
"conditionalize_nonjump",
"(",
"rtx",
"pat",
",",
"rtx",
"cond",
",",
"rtx",
"insn",
",",
"bool",
"annulled",
")",
"{",
"if",
"(",
"GET_CODE",
"(",
"pat",
")",
"==",
"SET",
")",
"{",
"rtx",
"src",
"=",
"SET_SRC",
"(",
"pat",
... | [
"Return",
"version",
"of",
"PAT",
"conditionalized",
"with",
"COND",
",",
"which",
"is",
"part",
"of",
"INSN",
".",
"ANNULLED",
"indicates",
"if",
"INSN",
"is",
"an",
"annulled",
"delay-slot",
"insn",
".",
"Register",
"further",
"changes",
"if",
"necessary",
... | [
"arc",
"0",
"1",
"1"
] | arc | conditionalize_nonjump | arc | MPU | GCC | 21,983 | 178 | 1 | [] |
[
"<s>",
"static",
"void",
"emitSPUpdate",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"&",
"MBBI",
",",
"int64_t",
"NumBytes",
",",
"const",
"TargetInstrInfo",
"&",
"TII",
")",
"{",
"unsigned",
"Opc",
";",
"uint64_t",
"Chun... | [
"Emit",
"a",
"series",
"of",
"instructions",
"to",
"increment",
"/",
"decrement",
"the",
"stack",
"pointer",
"by",
"a",
"constant",
"value",
"."
] | [
"SystemZ",
"0",
"1LL",
"15",
"1",
"SystemZ::ADD64ri32",
"1LL",
"31",
"1",
"SystemZ::ADD64ri16",
"1LL",
"15",
"1",
"SystemZ::R15D",
"SystemZ::R15D",
"3"
] | SystemZFrameInfo | emitSPUpdate | SystemZ | CPU | LLVM | 21,984 | 192 | 1 | [] |
[
"<s>",
"Instruction",
"*",
"PPCTargetLowering",
"::",
"emitLeadingFence",
"(",
"IRBuilder",
"<",
">",
"&",
"Builder",
",",
"Instruction",
"*",
"Inst",
",",
"AtomicOrdering",
"Ord",
")",
"const",
"{",
"if",
"(",
"Ord",
"==",
"AtomicOrdering",
"::",
"Sequentiall... | [
"Custom",
"Lower",
"{",
"."
] | [
"PowerPC",
"PPC",
"Intrinsic::ppc_sync",
"Intrinsic::ppc_lwsync"
] | PPCISelLowering (2)7 | emitLeadingFence | PowerPC | CPU | LLVM | 21,985 | 60 | 1 | [] |
[
"<s>",
"static",
"bool",
"mt_pass_in_stack",
"(",
"enum",
"machine_mode",
"mode",
"ATTRIBUTE_UNUSED",
",",
"tree",
"type",
")",
"{",
"return",
"(",
"(",
"(",
"type",
")",
"!=",
"0",
"&&",
"(",
"TREE_CODE",
"(",
"TYPE_SIZE",
"(",
"type",
")",
")",
"!=",
... | [
"Implement",
"TARGET_MUST_PASS_IN_STACK",
"hook",
"."
] | [
"mt",
"0"
] | mt | mt_pass_in_stack | mt | CPU | GCC | 21,986 | 42 | 1 | [] |
[
"<s>",
"static",
"int",
"rid_int128",
"(",
"void",
")",
"{",
"int",
"i",
";",
"for",
"(",
"i",
"=",
"0",
";",
"i",
"<",
"NUM_INT_N_ENTS",
";",
"i",
"++",
")",
"if",
"(",
"int_n_enabled_p",
"[",
"i",
"]",
"&&",
"int_n_data",
"[",
"i",
"]",
".",
... | [
"Helper",
"function",
"to",
"find",
"out",
"which",
"RID_INT_N_",
"*",
"code",
"is",
"the",
"one",
"for",
"__int128",
",",
"if",
"any",
".",
"Returns",
"RID_MAX+1",
"if",
"none",
"apply",
",",
"which",
"is",
"safe",
"(",
"for",
"our",
"purposes",
",",
... | [
"rs6000",
"0",
"128",
"1"
] | rs6000-c | rid_int128 | rs6000 | CPU | GCC | 21,987 | 50 | 1 | [] |
[
"<s>",
"bool",
"AArch64FrameLowering",
"::",
"hasFP",
"(",
"const",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"const",
"MachineFrameInfo",
"*",
"MFI",
"=",
"MF",
".",
"getFrameInfo",
"(",
")",
";",
"const",
"TargetRegisterInfo",
"*",
"RegInfo",
"=",
"... | [
"hasFP",
"-",
"Return",
"true",
"if",
"the",
"specified",
"function",
"should",
"have",
"a",
"dedicated",
"frame",
"pointer",
"register",
"."
] | [
"AArch64",
"AArch64",
"\"No stack realignment on AArch64!\""
] | AArch64FrameLowering96 | hasFP | AArch64 | CPU | LLVM | 21,988 | 73 | 1 | [] |
[
"<s>",
"static",
"rtx",
"arc_dwarf_register_span",
"(",
"rtx",
"rtl",
")",
"{",
"enum",
"machine_mode",
"mode",
"=",
"GET_MODE",
"(",
"rtl",
")",
";",
"unsigned",
"regno",
";",
"rtx",
"p",
";",
"if",
"(",
"GET_MODE_SIZE",
"(",
"mode",
")",
"!=",
"8",
"... | [
"Return",
"a",
"parallel",
"of",
"registers",
"to",
"represent",
"where",
"to",
"find",
"the",
"register",
"pieces",
"if",
"required",
",",
"otherwise",
"NULL_RTX",
"."
] | [
"arc",
"8",
"2",
"0",
"0",
"0",
"1",
"1"
] | arc5 | arc_dwarf_register_span | arc | MPU | GCC | 21,989 | 92 | 1 | [] |
[
"<s>",
"rtx",
"mmix_gen_compare_reg",
"(",
"RTX_CODE",
"code",
",",
"rtx",
"x",
",",
"rtx",
"y",
")",
"{",
"enum",
"machine_mode",
"ccmode",
"=",
"SELECT_CC_MODE",
"(",
"code",
",",
"x",
",",
"y",
")",
";",
"rtx",
"cc_reg",
";",
"enum",
"machine_mode",
... | [
"X",
"and",
"Y",
"are",
"two",
"things",
"to",
"compare",
"using",
"CODE",
".",
"Emit",
"a",
"compare",
"insn",
"if",
"possible",
"and",
"return",
"the",
"rtx",
"for",
"the",
"cc-reg",
"in",
"the",
"proper",
"mode",
",",
"or",
"NULL_RTX",
"if",
"this",... | [
"mmix"
] | mmix3 | mmix_gen_compare_reg | mmix | CPU | GCC | 21,990 | 164 | 1 | [] |
[
"<s>",
"void",
"arc_expand_epilogue",
"(",
"int",
"sibcall_p",
")",
"{",
"int",
"size",
";",
"unsigned",
"int",
"fn_type",
"=",
"arc_compute_function_type",
"(",
"cfun",
")",
";",
"unsigned",
"int",
"size_to_deallocate",
";",
"int",
"restored",
";",
"int",
"ca... | [
"Do",
"any",
"necessary",
"cleanup",
"after",
"a",
"function",
"to",
"restore",
"stack",
",",
"frame",
",",
"and",
"regs",
"."
] | [
"arc",
"0",
"14",
"0"
] | arc8 | arc_expand_epilogue | arc | MPU | GCC | 21,991 | 334 | 1 | [] |
[
"<s>",
"void",
"reset",
"(",
")",
"override",
"{",
"MappingSymbolCounter",
"=",
"0",
";",
"MCELFStreamer",
"::",
"reset",
"(",
")",
";",
"LastMappingSymbols",
".",
"clear",
"(",
")",
";",
"LastEMS",
"=",
"EMS_None",
";",
"}",
"</s>"
] | [
"Reset",
"an",
"existing",
"scalar",
"value",
"for",
"Def",
"and",
"a",
"given",
"Instance",
"."
] | [
"AArch64",
"0"
] | AArch64ELFStreamer | reset | AArch64 | CPU | LLVM | 21,992 | 27 | 1 | [] |
[
"<s>",
"unsigned",
"SIInstrInfo",
"::",
"getInstSizeInBytes",
"(",
"const",
"MachineInstr",
"&",
"MI",
")",
"const",
"{",
"unsigned",
"Opc",
"=",
"MI",
".",
"getOpcode",
"(",
")",
";",
"const",
"MCInstrDesc",
"&",
"Desc",
"=",
"getMCOpcodeFromPseudo",
"(",
"... | [
"Returns",
"the",
"size",
"in",
"bytes",
"of",
"the",
"specified",
"MachineInstr",
",",
"or",
"~0U",
"when",
"this",
"function",
"is",
"not",
"implemented",
"by",
"a",
"target",
"."
] | [
"AMDGPU",
"SI",
"AMDGPU::getNamedOperandIdx",
"AMDGPU::OpName",
"1",
"12",
"4",
"AMDGPU::getNamedOperandIdx",
"AMDGPU::OpName",
"1",
"12",
"4",
"AMDGPU::getNamedOperandIdx",
"AMDGPU::OpName",
"1",
"12",
"4",
"AMDGPU::getNamedOperandIdx",
"AMDGPU::OpName",
"0",
"8",
"AMDGPU:... | SIInstrInfo110 | getInstSizeInBytes | AMDGPU | GPU | LLVM | 21,993 | 424 | 1 | [] |
[
"<s>",
"unsigned",
"HexagonTTIImpl",
"::",
"getIntrinsicInstrCost",
"(",
"const",
"IntrinsicCostAttributes",
"&",
"ICA",
",",
"TTI",
"::",
"TargetCostKind",
"CostKind",
")",
"{",
"if",
"(",
"ICA",
".",
"getID",
"(",
")",
"==",
"Intrinsic",
"::",
"bswap",
")",
... | [
"Get",
"intrinsic",
"cost",
"based",
"on",
"arguments",
"."
] | [
"Hexagon",
"Hexagon",
"Intrinsic::bswap",
"2"
] | HexagonTargetTransformInfo | getIntrinsicInstrCost | Hexagon | DSP | LLVM | 21,994 | 71 | 1 | [] |
[
"<s>",
"static",
"int",
"function_arg_advance_32",
"(",
"CUMULATIVE_ARGS",
"*",
"cum",
",",
"machine_mode",
"mode",
",",
"const_tree",
"type",
",",
"HOST_WIDE_INT",
"bytes",
",",
"HOST_WIDE_INT",
"words",
")",
"{",
"int",
"res",
"=",
"0",
";",
"bool",
"error_p... | [
"Update",
"the",
"data",
"in",
"CUM",
"to",
"advance",
"over",
"an",
"argument",
"of",
"mode",
"MODE",
"and",
"data",
"type",
"TYPE",
".",
"(",
"TYPE",
"is",
"null",
"for",
"libcalls",
"where",
"that",
"information",
"may",
"not",
"be",
"available",
".",... | [
"i386",
"0",
"8",
"0",
"0",
"0",
"0",
"0",
"1",
"2",
"1",
"1",
"1",
"1",
"0",
"0",
"0",
"1",
"1",
"0",
"0",
"0",
"0",
"\"calling %qD with SSE calling convention without \"",
"\"SSE/SSE2 enabled\"",
"\"this is a GCC bug that can be worked around by adding \"",
"\"a... | i3861 | function_arg_advance_32 | i386 | CPU | GCC | 21,995 | 452 | 1 | [] |
[
"<s>",
"static",
"int",
"get_spec_unspec_code",
"(",
"const_rtx",
"x",
")",
"{",
"if",
"(",
"GET_CODE",
"(",
"x",
")",
"!=",
"UNSPEC",
")",
"return",
"-",
"1",
";",
"{",
"int",
"code",
";",
"code",
"=",
"XINT",
"(",
"x",
",",
"1",
")",
";",
"swit... | [
"If",
"X",
"is",
"an",
"unspec",
"part",
"of",
"a",
"speculative",
"load",
",",
"return",
"its",
"code",
".",
"Return",
"-1",
"otherwise",
"."
] | [
"ia64",
"1",
"1",
"1"
] | ia64 | get_spec_unspec_code | ia64 | CPU | GCC | 21,996 | 63 | 1 | [] |
[
"<s>",
"int",
"rs6000_legitimate_address",
"(",
"enum",
"machine_mode",
"mode",
",",
"rtx",
"x",
",",
"int",
"reg_ok_strict",
")",
"{",
"if",
"(",
"TARGET_ALTIVEC",
"&&",
"ALTIVEC_VECTOR_MODE",
"(",
"mode",
")",
"&&",
"GET_CODE",
"(",
"x",
")",
"==",
"AND",
... | [
"GO_IF_LEGITIMATE_ADDRESS",
"recognizes",
"an",
"RTL",
"expression",
"that",
"is",
"a",
"valid",
"memory",
"address",
"for",
"an",
"instruction",
".",
"The",
"MODE",
"argument",
"is",
"the",
"machine",
"mode",
"for",
"the",
"MEM",
"expression",
"that",
"wants",
... | [
"rs6000",
"1",
"1",
"16",
"0",
"0",
"1",
"0",
"1",
"1",
"1",
"0",
"0",
"0",
"1",
"1",
"1",
"1",
"1",
"0"
] | rs60003 | rs6000_legitimate_address | rs6000 | CPU | GCC | 21,997 | 313 | 1 | [] |
[
"<s>",
"bool",
"VETargetLowering",
"::",
"CanLowerReturn",
"(",
"CallingConv",
"::",
"ID",
"CallConv",
",",
"MachineFunction",
"&",
"MF",
",",
"bool",
"IsVarArg",
",",
"const",
"SmallVectorImpl",
"<",
"ISD",
"::",
"OutputArg",
">",
"&",
"Outs",
",",
"LLVMConte... | [
"This",
"hook",
"should",
"be",
"implemented",
"to",
"check",
"whether",
"the",
"return",
"values",
"described",
"by",
"the",
"Outs",
"array",
"can",
"fit",
"into",
"the",
"return",
"registers",
"."
] | [
"VE",
"VE",
"ISD::OutputArg",
"\"TODO implement var args\"",
"\"TODO implement return values\""
] | VEISelLowering16 | CanLowerReturn | VE | CPU | LLVM | 21,998 | 56 | 1 | [] |
[
"<s>",
"static",
"void",
"ix86_run_selftests",
"(",
"void",
")",
"{",
"ix86_test_dumping_hard_regs",
"(",
")",
";",
"ix86_test_dumping_memory_blockage",
"(",
")",
";",
"ix86_test_loading_dump_fragment_1",
"(",
")",
";",
"ix86_test_loading_call_insn",
"(",
")",
";",
"i... | [
"Run",
"all",
"target-specific",
"selftests",
"."
] | [
"i386"
] | i386 | ix86_run_selftests | i386 | CPU | GCC | 21,999 | 32 | 1 | [] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.