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>",
"static",
"bool",
"s390_function_arg_integer",
"(",
"enum",
"machine_mode",
"mode",
",",
"tree",
"type",
")",
"{",
"int",
"size",
"=",
"s390_function_arg_size",
"(",
"mode",
",",
"type",
")",
";",
"if",
"(",
"size",
">",
"8",
")",
"return",
"false",... | [
"Return",
"true",
"if",
"a",
"function",
"argument",
"of",
"type",
"TYPE",
"and",
"mode",
"MODE",
"is",
"to",
"be",
"passed",
"in",
"an",
"integer",
"register",
",",
"or",
"a",
"pair",
"of",
"integer",
"registers",
",",
"if",
"available",
"."
] | [
"s390",
"8",
"0"
] | s3903 | s390_function_arg_integer | s390 | MPU | GCC | 25,100 | 117 | 1 | [] |
[
"<s>",
"unsigned",
"assignCustomValue",
"(",
"const",
"ARMCallLowering",
"::",
"ArgInfo",
"&",
"Arg",
",",
"ArrayRef",
"<",
"CCValAssign",
">",
"VAs",
")",
"override",
"{",
"assert",
"(",
"Arg",
".",
"Regs",
".",
"size",
"(",
")",
"==",
"1",
"&&",
"\"Can... | [
"Handle",
"custom",
"values",
",",
"which",
"may",
"be",
"passed",
"into",
"one",
"or",
"more",
"of",
"VAs",
"."
] | [
"ARM",
"ARM",
"1",
"\"Can't handle multple regs yet\"",
"0",
"\"Value doesn't need custom handling\"",
"MVT::f64",
"\"Unsupported type\"",
"1",
"\"Value doesn't need custom handling\"",
"MVT::f64",
"\"Unsupported type\"",
"\"Values belong to different arguments\"",
"\"Value should be in re... | ARMCallLowering1 | assignCustomValue | ARM | CPU | LLVM | 25,101 | 261 | 1 | [] |
[
"<s>",
"bool",
"R600InstrInfo",
"::",
"isVector",
"(",
"const",
"MachineInstr",
"&",
"MI",
")",
"const",
"{",
"return",
"get",
"(",
"MI",
".",
"getOpcode",
"(",
")",
")",
".",
"TSFlags",
"&",
"R600_InstFlag",
"::",
"VECTOR",
";",
"}",
"</s>"
] | [
"Vector",
"instructions",
"are",
"instructions",
"that",
"must",
"fill",
"all",
"instruction",
"slots",
"within",
"an",
"instruction",
"group",
"."
] | [
"R600",
"R600_InstFlag::VECTOR"
] | R600InstrInfo | isVector | R600 | GPU | LLVM | 25,102 | 29 | 1 | [] |
[
"<s>",
"InstructionCost",
"ARMTargetLowering",
"::",
"getScalingFactorCost",
"(",
"const",
"DataLayout",
"&",
"DL",
",",
"const",
"AddrMode",
"&",
"AM",
",",
"Type",
"*",
"Ty",
",",
"unsigned",
"AS",
")",
"const",
"{",
"if",
"(",
"isLegalAddressingMode",
"(",
... | [
"Return",
"the",
"cost",
"of",
"the",
"scaling",
"factor",
"used",
"in",
"the",
"addressing",
"mode",
"represented",
"by",
"AM",
"for",
"this",
"target",
",",
"for",
"a",
"load/store",
"of",
"the",
"specified",
"type",
"."
] | [
"ARM",
"ARM",
"0",
"1",
"0",
"0",
"1"
] | ARMISelLowering (2)5 | getScalingFactorCost | ARM | CPU | LLVM | 25,103 | 66 | 1 | [] |
[
"<s>",
"static",
"void",
"rs6000_emit_stack_tie",
"(",
"void",
")",
"{",
"rtx",
"mem",
"=",
"gen_rtx_MEM",
"(",
"BLKmode",
",",
"gen_rtx_REG",
"(",
"Pmode",
",",
"STACK_POINTER_REGNUM",
")",
")",
";",
"set_mem_alias_set",
"(",
"mem",
",",
"rs6000_sr_alias_set",
... | [
"This",
"ties",
"together",
"stack",
"memory",
"(",
"MEM",
"with",
"an",
"alias",
"set",
"of",
"rs6000_sr_alias_set",
")",
"and",
"the",
"change",
"to",
"the",
"stack",
"pointer",
"."
] | [
"rs6000"
] | rs60003 | rs6000_emit_stack_tie | rs6000 | CPU | GCC | 25,104 | 38 | 1 | [] |
[
"<s>",
"void",
"AnalyzeFormalArguments",
"(",
"const",
"SmallVectorImpl",
"<",
"ISD",
"::",
"InputArg",
">",
"&",
"Ins",
",",
"CCAssignFn",
"Fn",
")",
"{",
"PreAnalyzeFormalArgumentsForF128",
"(",
"Ins",
")",
";",
"CCState",
"::",
"AnalyzeFormalArguments",
"(",
... | [
"AnalyzeFormalArguments",
"-",
"Analyze",
"an",
"array",
"of",
"argument",
"values",
",",
"incorporating",
"info",
"about",
"the",
"formals",
"into",
"this",
"state",
"."
] | [
"Mips",
"ISD::InputArg"
] | MipsCCState12 | AnalyzeFormalArguments | Mips | CPU | LLVM | 25,105 | 50 | 1 | [] |
[
"<s>",
"bool",
"ix86_match_ccmode",
"(",
"rtx",
"insn",
",",
"machine_mode",
"req_mode",
")",
"{",
"rtx",
"set",
";",
"machine_mode",
"set_mode",
";",
"set",
"=",
"PATTERN",
"(",
"insn",
")",
";",
"if",
"(",
"GET_CODE",
"(",
"set",
")",
"==",
"PARALLEL",... | [
"Return",
"TRUE",
"or",
"FALSE",
"depending",
"on",
"whether",
"the",
"first",
"SET",
"in",
"INSN",
"has",
"source",
"and",
"destination",
"with",
"matching",
"CC",
"modes",
",",
"and",
"that",
"the",
"CC",
"mode",
"is",
"at",
"least",
"as",
"constrained",... | [
"i386",
"0",
"0",
"1"
] | i386 | ix86_match_ccmode | i386 | CPU | GCC | 25,106 | 206 | 1 | [] |
[
"<s>",
"bool",
"MemSelOpt",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"{",
"TII",
"=",
"MF",
".",
"getTarget",
"(",
")",
".",
"getInstrInfo",
"(",
")",
";",
"bool",
"Changed",
"=",
"false",
";",
"for",
"(",
"MachineFunction",
... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"PIC16"
] | PIC16MemSelOpt | runOnMachineFunction | PIC16 | MPU | LLVM | 25,107 | 71 | 1 | [] |
[
"<s>",
"unsigned",
"getOpSize",
"(",
"const",
"MachineInstr",
"&",
"MI",
",",
"unsigned",
"OpNo",
")",
"const",
"{",
"return",
"getOpRegClass",
"(",
"MI",
",",
"OpNo",
")",
"->",
"getSize",
"(",
")",
";",
"}",
"</s>"
] | [
"This",
"form",
"should",
"usually",
"be",
"preferred",
"since",
"it",
"handles",
"operands",
"with",
"unknown",
"register",
"classes",
"."
] | [
"AMDGPU"
] | SIInstrInfo (2) | getOpSize | AMDGPU | GPU | LLVM | 25,108 | 26 | 1 | [] |
[
"<s>",
"void",
"HexagonFrameLowering",
"::",
"emitPrologue",
"(",
"MachineFunction",
"&",
"MF",
",",
"MachineBasicBlock",
"&",
"MBB",
")",
"const",
"{",
"auto",
"&",
"HST",
"=",
"static_cast",
"<",
"const",
"HexagonSubtarget",
"&",
">",
"(",
"MF",
".",
"getS... | [
"emitProlog/emitEpilog",
"-",
"These",
"methods",
"insert",
"prolog",
"and",
"epilog",
"code",
"into",
"the",
"function",
"."
] | [
"Hexagon",
"Hexagon",
"Hexagon",
"\"Shrink-wrapping not yet supported\""
] | HexagonFrameLowering (2)3 | emitPrologue | Hexagon | DSP | LLVM | 25,109 | 202 | 1 | [] |
[
"<s>",
"enum",
"m32r_function_type",
"m32r_compute_function_type",
"(",
"tree",
"decl",
")",
"{",
"static",
"enum",
"m32r_function_type",
"fn_type",
"=",
"M32R_FUNCTION_UNKNOWN",
";",
"static",
"tree",
"last_fn",
"=",
"NULL_TREE",
";",
"if",
"(",
"decl",
"==",
"NU... | [
"Type",
"of",
"function",
"DECL",
".",
"The",
"result",
"is",
"cached",
".",
"To",
"reset",
"the",
"cache",
"at",
"the",
"end",
"of",
"a",
"function",
",",
"call",
"with",
"DECL",
"=",
"NULL_TREE",
"."
] | [
"m32r",
"\"interrupt\""
] | m32r | m32r_compute_function_type | m32r | MPU | GCC | 25,110 | 81 | 1 | [] |
[
"<s>",
"static",
"void",
"swap_reorder",
"(",
"rtx",
"*",
"a",
",",
"int",
"n",
")",
"{",
"rtx",
"insn",
"=",
"a",
"[",
"n",
"-",
"1",
"]",
";",
"int",
"i",
"=",
"n",
"-",
"2",
";",
"while",
"(",
"i",
">=",
"0",
"&&",
"rank_for_reorder",
"(",... | [
"Resort",
"the",
"array",
"A",
"in",
"which",
"only",
"element",
"at",
"index",
"N",
"may",
"be",
"out",
"of",
"order",
"."
] | [
"sh",
"1",
"2",
"0",
"0",
"1",
"1",
"1"
] | sh3 | swap_reorder | sh | CPU | GCC | 25,111 | 75 | 1 | [] |
[
"<s>",
"void",
"GCNIterativeScheduler",
"::",
"finalizeSchedule",
"(",
")",
"{",
"if",
"(",
"Regions",
".",
"empty",
"(",
")",
")",
"return",
";",
"switch",
"(",
"Strategy",
")",
"{",
"case",
"SCHEDULE_MINREGONLY",
":",
"scheduleMinReg",
"(",
")",
";",
"br... | [
"After",
"the",
"schedule",
"has",
"been",
"formed",
",",
"call",
"this",
"function",
"to",
"combine",
"the",
"instructions",
"from",
"the",
"different",
"stages/cycles",
"."
] | [
"AMDGPU"
] | GCNIterativeScheduler | finalizeSchedule | AMDGPU | GPU | LLVM | 25,112 | 62 | 1 | [] |
[
"<s>",
"static",
"unsigned",
"findDeadCallerSavedReg",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"&",
"MBBI",
",",
"const",
"X86RegisterInfo",
"*",
"TRI",
",",
"bool",
"Is64Bit",
")",
"{",
"const",
"MachineFunction",
"*",
... | [
"findDeadCallerSavedReg",
"-",
"Return",
"a",
"caller-saved",
"register",
"that",
"is",
"n't",
"live",
"when",
"it",
"reaches",
"the",
"``",
"return",
"''",
"instruction",
"."
] | [
"X86",
"X86",
"0",
"0",
"0",
"X86::RET",
"X86::RETL",
"X86::RETQ",
"X86::RETIL",
"X86::RETIQ",
"X86::TCRETURNdi",
"X86::TCRETURNri",
"X86::TCRETURNmi",
"X86::TCRETURNdi64",
"X86::TCRETURNri64",
"X86::TCRETURNmi64",
"X86::EH_RETURN",
"X86::EH_RETURN64",
"8",
"0",
"X86::RIP",
... | X86FrameLowering101 | findDeadCallerSavedReg | X86 | CPU | LLVM | 25,113 | 306 | 1 | [] |
[
"<s>",
"void",
"function_expander",
"::",
"add_address_operand",
"(",
"rtx",
"x",
")",
"{",
"m_ops",
".",
"safe_grow",
"(",
"m_ops",
".",
"length",
"(",
")",
"+",
"1",
")",
";",
"create_address_operand",
"(",
"&",
"m_ops",
".",
"last",
"(",
")",
",",
"... | [
"Add",
"an",
"address",
"operand",
"with",
"value",
"X",
".",
"The",
"static",
"operand",
"data",
"says",
"what",
"mode",
"and",
"form",
"the",
"address",
"must",
"have",
"."
] | [
"aarch64",
"1"
] | aarch64-sve-builtins | add_address_operand | aarch64 | CPU | GCC | 25,114 | 35 | 1 | [] |
[
"<s>",
"InstructionCost",
"X86TTIImpl",
"::",
"getIntImmCostInst",
"(",
"unsigned",
"Opcode",
",",
"unsigned",
"Idx",
",",
"const",
"APInt",
"&",
"Imm",
",",
"Type",
"*",
"Ty",
",",
"TTI",
"::",
"TargetCostKind",
"CostKind",
",",
"Instruction",
"*",
"Inst",
... | [
"Return",
"the",
"expected",
"cost",
"of",
"materialization",
"for",
"the",
"given",
"integer",
"immediate",
"of",
"the",
"specified",
"type",
"for",
"a",
"given",
"instruction",
"."
] | [
"X86",
"X86",
"0",
"0U",
"0",
"2",
"0",
"1",
"64",
"0x100000000ULL",
"0xffffffff",
"1",
"1",
"64",
"32",
"1",
"1",
"64",
"0x80000000",
"1",
"1",
"1",
"64",
"X86",
"X86"
] | X86TargetTransformInfo (2)1 | getIntImmCostInst | X86 | CPU | LLVM | 25,115 | 447 | 1 | [] |
[
"<s>",
"static",
"int",
"uses_TOC",
"(",
"void",
")",
"{",
"rtx_insn",
"*",
"insn",
";",
"int",
"ret",
"=",
"1",
";",
"for",
"(",
"insn",
"=",
"get_insns",
"(",
")",
";",
"insn",
";",
"insn",
"=",
"NEXT_INSN",
"(",
"insn",
")",
")",
"{",
"if",
... | [
"This",
"retuns",
"nonzero",
"if",
"the",
"current",
"function",
"uses",
"the",
"TOC",
".",
"This",
"is",
"determined",
"by",
"the",
"presence",
"of",
"(",
"unspec",
"...",
"7",
")",
",",
"which",
"is",
"generated",
"by",
"the",
"various",
"load_toc_",
"... | [
"rs6000",
"1",
"0",
"0",
"0",
"0",
"1",
"2",
"0"
] | rs60007 | uses_TOC | rs6000 | CPU | GCC | 25,116 | 164 | 1 | [] |
[
"<s>",
"bool",
"AArch64InstrInfo",
"::",
"isLdStPairSuppressed",
"(",
"const",
"MachineInstr",
"&",
"MI",
")",
"const",
"{",
"return",
"any_of",
"(",
"MI",
".",
"memoperands",
"(",
")",
",",
"[",
"]",
"(",
"MachineMemOperand",
"*",
"MMO",
")",
"{",
"return... | [
"Return",
"true",
"if",
"pairing",
"the",
"given",
"load",
"or",
"store",
"is",
"hinted",
"to",
"be",
"unprofitable",
"."
] | [
"AArch64",
"AArch64"
] | AArch64InstrInfo12 | isLdStPairSuppressed | AArch64 | CPU | LLVM | 25,117 | 42 | 1 | [] |
[
"<s>",
"bool",
"AArch64CallLowering",
"::",
"lowerReturn",
"(",
"MachineIRBuilder",
"&",
"MIRBuilder",
",",
"const",
"Value",
"*",
"Val",
",",
"unsigned",
"VReg",
")",
"const",
"{",
"MachineInstr",
"*",
"Return",
"=",
"MIRBuilder",
".",
"buildInstr",
"(",
"AAr... | [
"This",
"hook",
"behaves",
"as",
"the",
"extended",
"lowerReturn",
"function",
",",
"but",
"for",
"targets",
"that",
"do",
"not",
"support",
"swifterror",
"value",
"promotion",
"."
] | [
"AArch64",
"AArch64",
"AArch64::RET_ReallyLR",
"\"Unable to build a return instruction?!\"",
"\"Return value without a vreg\"",
"\"Type not supported yet\"",
"64",
"32",
"\"Size not supported yet\"",
"32",
"AArch64::W0",
"AArch64::X0",
"\"The insertion did not happen where we expected\""
] | AArch64CallLowering43 | lowerReturn | AArch64 | CPU | LLVM | 25,118 | 195 | 1 | [] |
[
"<s>",
"const",
"LanaiTargetLowering",
"*",
"getTLI",
"(",
")",
"const",
"{",
"return",
"TLI",
";",
"}",
"</s>"
] | [
"Getter",
"for",
"generic",
"TargetLowering",
"class",
"."
] | [
"Lanai",
"Lanai"
] | LanaiTargetTransformInfo | getTLI | Lanai | CPU | LLVM | 25,119 | 12 | 1 | [] |
[
"<s>",
"const",
"TargetRegisterClass",
"*",
"AArch64RegisterInfo",
"::",
"getCrossCopyRegClass",
"(",
"const",
"TargetRegisterClass",
"*",
"RC",
")",
"const",
"{",
"if",
"(",
"RC",
"==",
"&",
"AArch64",
"::",
"CCRRegClass",
")",
"return",
"&",
"AArch64",
"::",
... | [
"getCrossCopyRegClass",
"-",
"Returns",
"a",
"legal",
"register",
"class",
"to",
"copy",
"a",
"register",
"in",
"the",
"specified",
"class",
"to",
"or",
"from",
"."
] | [
"AArch64",
"AArch64",
"AArch64::CCRRegClass",
"AArch64::GPR64RegClass"
] | AArch64RegisterInfo (2) | getCrossCopyRegClass | AArch64 | CPU | LLVM | 25,120 | 33 | 1 | [] |
[
"<s>",
"ARMSubtarget",
"::",
"ARMSubtarget",
"(",
"const",
"Triple",
"&",
"TT",
",",
"const",
"std",
"::",
"string",
"&",
"CPU",
",",
"const",
"std",
"::",
"string",
"&",
"FS",
",",
"const",
"ARMBaseTargetMachine",
"&",
"TM",
",",
"bool",
"IsLittle",
")"... | [
"This",
"constructor",
"initializes",
"the",
"data",
"members",
"to",
"match",
"that",
"of",
"the",
"specified",
"triple",
"."
] | [
"ARM",
"ARM",
"ARM",
"ARM",
"ARM",
"ARM",
"ARM",
"4",
"ARM",
"ARM",
"ARM",
"ARM"
] | ARMSubtarget49 | ARMSubtarget | ARM | CPU | LLVM | 25,121 | 147 | 1 | [] |
[
"<s>",
"void",
"SIMachineFunctionInfo",
"::",
"removeDeadFrameIndices",
"(",
"MachineFrameInfo",
"&",
"MFI",
")",
"{",
"for",
"(",
"auto",
"&",
"R",
":",
"make_early_inc_range",
"(",
"SGPRToVGPRSpills",
")",
")",
"{",
"if",
"(",
"R",
".",
"first",
"!=",
"Fra... | [
"If",
"ResetSGPRSpillStackIDs",
"is",
"true",
",",
"reset",
"the",
"stack",
"ID",
"from",
"sgpr-spill",
"to",
"the",
"default",
"stack",
"."
] | [
"AMDGPU",
"SI"
] | SIMachineFunctionInfo17 | removeDeadFrameIndices | AMDGPU | GPU | LLVM | 25,122 | 132 | 1 | [] |
[
"<s>",
"static",
"enum",
"immediate_class",
"classify_immediate",
"(",
"rtx",
"op",
",",
"machine_mode",
"mode",
")",
"{",
"HOST_WIDE_INT",
"val",
";",
"unsigned",
"char",
"arr",
"[",
"16",
"]",
";",
"int",
"i",
",",
"j",
",",
"repeated",
",",
"fsmbi",
"... | [
"OP",
"is",
"a",
"CONSTANT_P",
".",
"Determine",
"what",
"instructions",
"can",
"be",
"used",
"to",
"load",
"it",
"into",
"a",
"register",
".",
"MODE",
"is",
"only",
"valid",
"when",
"OP",
"is",
"a",
"CONST_INT",
"."
] | [
"spu",
"16",
"0",
"0",
"0",
"0",
"0",
"0",
"1",
"0",
"1",
"4",
"16",
"4",
"0",
"4",
"0",
"0",
"24",
"1",
"16",
"2",
"8",
"3",
"2",
"1",
"0",
"0",
"16",
"0",
"0",
"0",
"0",
"0xff",
"0",
"0"
] | spu1 | classify_immediate | spu | MPU | GCC | 25,123 | 509 | 1 | [] |
[
"<s>",
"BitVector",
"PPCRegisterInfo",
"::",
"getReservedRegs",
"(",
"const",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"BitVector",
"Reserved",
"(",
"getNumRegs",
"(",
")",
")",
";",
"Reserved",
".",
"set",
"(",
"PPC",
"::",
"R0",
")",
";",
"Reserv... | [
"getReservedRegs",
"-",
"Returns",
"a",
"bitset",
"indexed",
"by",
"physical",
"register",
"number",
"indicating",
"if",
"a",
"register",
"is",
"a",
"special",
"register",
"that",
"has",
"particular",
"uses",
"and",
"should",
"be",
"considered",
"unavailable",
"... | [
"PowerPC",
"PPC",
"PPC::R0",
"PPC::R1",
"PPC::LR",
"PPC::LR8",
"PPC::RM",
"PPC::R2",
"PPC",
"PPC::R13",
"PPC::R31",
"PPC::R0",
"PPC::X0",
"PPC::X1",
"PPC::X13",
"PPC::X31",
"PPC::R31"
] | PPCRegisterInfo23 | getReservedRegs | PowerPC | CPU | LLVM | 25,124 | 181 | 1 | [] |
[
"<s>",
"static",
"HOST_WIDE_INT",
"riscv_first_stack_step",
"(",
"struct",
"riscv_frame_info",
"*",
"frame",
")",
"{",
"HOST_WIDE_INT",
"min_first_step",
"=",
"frame",
"->",
"total_size",
"-",
"frame",
"->",
"fp_sp_offset",
";",
"HOST_WIDE_INT",
"max_first_step",
"=",... | [
"For",
"stack",
"frames",
"that",
"ca",
"n't",
"be",
"allocated",
"with",
"a",
"single",
"ADDI",
"instruction",
",",
"compute",
"the",
"best",
"value",
"to",
"initially",
"allocate",
".",
"It",
"must",
"at",
"a",
"minimum",
"allocate",
"enough",
"space",
"... | [
"riscv",
"2",
"8",
"2"
] | riscv2 | riscv_first_stack_step | riscv | CPU | GCC | 25,125 | 94 | 1 | [] |
[
"<s>",
"void",
"BTFTypeTypeTag",
"::",
"completeType",
"(",
"BTFDebug",
"&",
"BDebug",
")",
"{",
"if",
"(",
"IsCompleted",
")",
"return",
";",
"IsCompleted",
"=",
"true",
";",
"BTFType",
".",
"NameOff",
"=",
"BDebug",
".",
"addString",
"(",
"Tag",
")",
"... | [
"Complete",
"BTF",
"type",
"generation",
"after",
"all",
"related",
"DebugInfo",
"types",
"have",
"been",
"visited",
"so",
"their",
"BTF",
"type",
"id",
"'s",
"are",
"available",
"for",
"cross",
"referece",
"."
] | [
"BPF",
"0"
] | BTFDebug12 | completeType | BPF | Virtual ISA | LLVM | 25,126 | 72 | 1 | [] |
[
"<s>",
"bool",
"Thumb2ITBlockPass",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"Fn",
")",
"{",
"const",
"ARMSubtarget",
"&",
"STI",
"=",
"static_cast",
"<",
"const",
"ARMSubtarget",
"&",
">",
"(",
"Fn",
".",
"getSubtarget",
"(",
")",
")",
";"... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"ARM",
"ARM",
"ARM",
"ARM"
] | Thumb2ITBlockPass18 | runOnMachineFunction | ARM | CPU | LLVM | 25,127 | 149 | 1 | [] |
[
"<s>",
"bool",
"isInlineConstant",
"(",
"const",
"APFloat",
"&",
"Imm",
")",
"const",
"{",
"return",
"isInlineConstant",
"(",
"Imm",
".",
"bitcastToAPInt",
"(",
")",
")",
";",
"}",
"</s>"
] | [
"returns",
"true",
"if",
"the",
"operand",
"OpIdx",
"in",
"MI",
"is",
"a",
"valid",
"inline",
"immediate",
"."
] | [
"AMDGPU"
] | SIInstrInfo10 | isInlineConstant | AMDGPU | GPU | LLVM | 25,128 | 21 | 1 | [] |
[
"<s>",
"void",
"c6x_expand_call",
"(",
"rtx",
"retval",
",",
"rtx",
"address",
",",
"bool",
"sibcall",
")",
"{",
"rtx",
"callee",
"=",
"XEXP",
"(",
"address",
",",
"0",
")",
";",
"rtx",
"call_insn",
";",
"if",
"(",
"!",
"c6x_call_operand",
"(",
"callee... | [
"Emit",
"the",
"sequence",
"for",
"a",
"call",
"."
] | [
"c6x",
"0"
] | c6x2 | c6x_expand_call | c6x | VLIW | GCC | 25,129 | 148 | 1 | [] |
[
"<s>",
"StringRef",
"getPassName",
"(",
")",
"const",
"override",
"{",
"return",
"\"AVR Frame Analyzer\"",
";",
"}",
"</s>"
] | [
"getPassName",
"-",
"Return",
"a",
"nice",
"clean",
"name",
"for",
"a",
"pass",
"."
] | [
"AVR",
"\"AVR Frame Analyzer\""
] | AVRFrameLowering (2) | getPassName | AVR | MPU | LLVM | 25,130 | 11 | 1 | [] |
[
"<s>",
"DecodeStatus",
"BPFDisassembler",
"::",
"getInstruction",
"(",
"MCInst",
"&",
"Instr",
",",
"uint64_t",
"&",
"Size",
",",
"ArrayRef",
"<",
"uint8_t",
">",
"Bytes",
",",
"uint64_t",
"Address",
",",
"raw_ostream",
"&",
"VStream",
",",
"raw_ostream",
"&",... | [
"Returns",
"the",
"disassembly",
"of",
"a",
"single",
"instruction",
"."
] | [
"BPF",
"BPF",
"BPF",
"BPF",
"BPF",
"BPF",
"BPF::ALU32",
"BPF",
"BPF",
"BPF::LD_imm64",
"BPF::LD_pseudo",
"16",
"0",
"16",
"12",
"0",
"13",
"8",
"14",
"16",
"15",
"24",
"12",
"24",
"13",
"16",
"14",
"8",
"15",
"0",
"1",
"BPF::LD_ABS_B",
"BPF::LD_ABS_H",... | BPFDisassembler | getInstruction | BPF | Virtual ISA | LLVM | 25,131 | 408 | 1 | [] |
[
"<s>",
"bool",
"MipsTargetLowering",
"::",
"isOffsetFoldingLegal",
"(",
"const",
"GlobalAddressSDNode",
"*",
"GA",
")",
"const",
"{",
"return",
"false",
";",
"}",
"</s>"
] | [
"Return",
"true",
"if",
"folding",
"a",
"constant",
"offset",
"with",
"the",
"given",
"GlobalAddress",
"is",
"legal",
"."
] | [
"Mips",
"Mips"
] | MipsISelLowering (2) | isOffsetFoldingLegal | Mips | CPU | LLVM | 25,132 | 16 | 1 | [] |
[
"<s>",
"static",
"void",
"m32c_function_arg_advance",
"(",
"cumulative_args_t",
"ca_v",
",",
"const",
"function_arg_info",
"&",
")",
"{",
"CUMULATIVE_ARGS",
"*",
"ca",
"=",
"get_cumulative_args",
"(",
"ca_v",
")",
";",
"if",
"(",
"ca",
"->",
"force_mem",
")",
... | [
"Implements",
"FUNCTION_ARG_ADVANCE",
".",
"force_mem",
"is",
"set",
"for",
"functions",
"returning",
"structures",
",",
"so",
"we",
"always",
"reset",
"that",
".",
"Otherwise",
",",
"we",
"only",
"need",
"to",
"know",
"the",
"sequence",
"number",
"of",
"the",... | [
"m32c",
"0"
] | m32c | m32c_function_arg_advance | m32c | MPU | GCC | 25,133 | 40 | 1 | [] |
[
"<s>",
"static",
"bool",
"already_contains",
"(",
"rtx",
"loc",
",",
"rtx",
"value",
")",
"{",
"unsigned",
"char",
"index",
";",
"unsigned",
"char",
"val",
";",
"if",
"(",
"(",
"index",
"=",
"get_content_index",
"(",
"loc",
")",
")",
"==",
"NOT_KNOWN",
... | [
"Returns",
"TRUE",
"if",
"LOC",
"already",
"contains",
"a",
"copy",
"of",
"VALUE",
"."
] | [
"rl78",
"1",
"1"
] | rl78 | already_contains | rl78 | MPU | GCC | 25,134 | 88 | 1 | [] |
[
"<s>",
"static",
"int",
"s390_register_move_cost",
"(",
"machine_mode",
"mode",
",",
"reg_class_t",
"from",
",",
"reg_class_t",
"to",
")",
"{",
"if",
"(",
"TARGET_Z10",
"&&",
"GET_MODE_SIZE",
"(",
"mode",
")",
"==",
"8",
")",
"{",
"if",
"(",
"reg_classes_int... | [
"Implement",
"TARGET_REGISTER_MOVE_COST",
"."
] | [
"s390",
"8",
"1",
"3",
"10",
"5",
"1"
] | s390 | s390_register_move_cost | s390 | MPU | GCC | 25,135 | 125 | 1 | [] |
[
"<s>",
"void",
"MSP430RegisterInfo",
"::",
"eliminateFrameIndex",
"(",
"MachineBasicBlock",
"::",
"iterator",
"II",
",",
"int",
"SPAdj",
",",
"unsigned",
"FIOperandNum",
",",
"RegScavenger",
"*",
"RS",
")",
"const",
"{",
"assert",
"(",
"SPAdj",
"==",
"0",
"&&"... | [
"This",
"method",
"must",
"be",
"overriden",
"to",
"eliminate",
"abstract",
"frame",
"indices",
"from",
"instructions",
"which",
"may",
"use",
"them",
"."
] | [
"MSP430",
"MSP430",
"0",
"\"Unexpected\"",
"MSP430::FPW",
"MSP430::SPW",
"2",
"2",
"1",
"MSP430::ADD16ri",
"MSP430::MOV16rr",
"0",
"0",
"0",
"MSP430::SUB16ri",
"MSP430::ADD16ri",
"1"
] | MSP430RegisterInfo4 | eliminateFrameIndex | MSP430 | MPU | LLVM | 25,136 | 367 | 1 | [] |
[
"<s>",
"static",
"int",
"thumb_base_register_rtx_p",
"(",
"rtx",
"x",
",",
"enum",
"machine_mode",
"mode",
",",
"int",
"strict_p",
")",
"{",
"int",
"regno",
";",
"if",
"(",
"GET_CODE",
"(",
"x",
")",
"!=",
"REG",
")",
"return",
"0",
";",
"regno",
"=",
... | [
"Return",
"nonzero",
"if",
"X",
"is",
"valid",
"as",
"a",
"Thumb",
"state",
"base",
"register",
"."
] | [
"arm",
"0",
"4"
] | arm3 | thumb_base_register_rtx_p | arm | CPU | GCC | 25,137 | 92 | 1 | [] |
[
"<s>",
"Reloc",
"::",
"Model",
"MipsSubtarget",
"::",
"getRelocationModel",
"(",
")",
"const",
"{",
"return",
"TM",
"->",
"getRelocationModel",
"(",
")",
";",
"}",
"</s>"
] | [
"Returns",
"the",
"code",
"generation",
"relocation",
"model",
"."
] | [
"Mips",
"Mips"
] | MipsSubtarget23 | getRelocationModel | Mips | CPU | LLVM | 25,138 | 18 | 1 | [] |
[
"<s>",
"bool",
"MipsAsmPrinter",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"{",
"Subtarget",
"=",
"&",
"MF",
".",
"getSubtarget",
"<",
"MipsSubtarget",
">",
"(",
")",
";",
"MipsFI",
"=",
"MF",
".",
"getInfo",
"<",
"MipsFunctionInf... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"Mips",
"Mips",
"Mips",
"Mips",
"Mips",
"Mips",
"Mips16HardFloatInfo::FuncSignature",
"Mips",
"Mips",
"Mips16HardFloatInfo::FuncSignature"
] | MipsAsmPrinter (2)1 | runOnMachineFunction | Mips | CPU | LLVM | 25,139 | 162 | 1 | [] |
[
"<s>",
"virtual",
"unsigned",
"int",
"execute",
"(",
"function",
"*",
")",
"{",
"return",
"frame_header_opt",
"(",
")",
";",
"}",
"</s>"
] | [
"Main",
"entry",
"point",
"for",
"this",
"pass",
"."
] | [
"mips"
] | frame-header-opt | execute | mips | CPU | GCC | 25,140 | 15 | 1 | [] |
[
"<s>",
"static",
"int",
"rs6000_reassociation_width",
"(",
"unsigned",
"int",
"opc",
"ATTRIBUTE_UNUSED",
",",
"machine_mode",
"mode",
")",
"{",
"switch",
"(",
"rs6000_cpu",
")",
"{",
"case",
"PROCESSOR_POWER8",
":",
"case",
"PROCESSOR_POWER9",
":",
"if",
"(",
"D... | [
"Determine",
"the",
"reassociation",
"width",
"to",
"be",
"used",
"in",
"reassociate_bb",
".",
"This",
"takes",
"into",
"account",
"how",
"many",
"parallel",
"operations",
"we",
"can",
"actually",
"do",
"of",
"a",
"given",
"type",
",",
"and",
"also",
"the",
... | [
"powerpcspe",
"1",
"4",
"4",
"6",
"4",
"1"
] | powerpcspe | rs6000_reassociation_width | powerpcspe | CPU | GCC | 25,141 | 81 | 1 | [] |
[
"<s>",
"void",
"getAnalysisUsage",
"(",
"AnalysisUsage",
"&",
"AU",
")",
"const",
"override",
"{",
"AU",
".",
"addRequired",
"<",
"LiveIntervals",
">",
"(",
")",
";",
"AU",
".",
"addPreserved",
"<",
"LiveIntervals",
">",
"(",
")",
";",
"AU",
".",
"addReq... | [
"getAnalysisUsage",
"-",
"Subclasses",
"that",
"override",
"getAnalysisUsage",
"must",
"call",
"this",
"."
] | [
"PowerPC"
] | PPCVSXFMAMutate (2)1 | getAnalysisUsage | PowerPC | CPU | LLVM | 25,142 | 72 | 1 | [] |
[
"<s>",
"virtual",
"SMLoc",
"getEndLoc",
"(",
")",
"const",
"LLVM_OVERRIDE",
"{",
"return",
"EndLoc",
";",
"}",
"</s>"
] | [
"getEndLoc",
"-",
"Get",
"the",
"location",
"of",
"the",
"last",
"token",
"of",
"this",
"operand",
"."
] | [
"Videocore"
] | VideocoreAsmParser | getEndLoc | Videocore | DSP | LLVM | 25,143 | 12 | 1 | [] |
[
"<s>",
"void",
"AVRInstPrinter",
"::",
"printInst",
"(",
"const",
"MCInst",
"*",
"MI",
",",
"uint64_t",
"Address",
",",
"StringRef",
"Annot",
",",
"const",
"MCSubtargetInfo",
"&",
"STI",
",",
"raw_ostream",
"&",
"O",
")",
"{",
"unsigned",
"Opcode",
"=",
"M... | [
"Print",
"the",
"specified",
"MCInst",
"to",
"the",
"specified",
"raw_ostream",
"."
] | [
"AVR",
"AVR",
"AVR::LDRdPtr",
"AVR::LDRdPtrPi",
"AVR::LDRdPtrPd",
"\"\\tld\\t\"",
"0",
"\", \"",
"AVR::LDRdPtrPd",
"1",
"AVR::LDRdPtrPi",
"AVR::STPtrRr",
"\"\\tst\\t\"",
"0",
"\", \"",
"1",
"AVR::STPtrPiRr",
"AVR::STPtrPdRr",
"\"\\tst\\t\"",
"AVR::STPtrPdRr",
"1",
"AVR::STP... | AVRInstPrinter3 | printInst | AVR | MPU | LLVM | 25,144 | 234 | 1 | [] |
[
"<s>",
"int",
"AArch64FrameLowering",
"::",
"getFrameIndexReferencePreferSP",
"(",
"const",
"MachineFunction",
"&",
"MF",
",",
"int",
"FI",
",",
"unsigned",
"&",
"FrameReg",
",",
"bool",
"IgnoreSPUpdates",
")",
"const",
"{",
"const",
"MachineFrameInfo",
"&",
"MFI"... | [
"Same",
"as",
"getFrameIndexReference",
",",
"except",
"that",
"the",
"stack",
"pointer",
"(",
"as",
"opposed",
"to",
"the",
"frame",
"pointer",
")",
"will",
"be",
"the",
"preferred",
"value",
"for",
"FrameReg",
"."
] | [
"AArch64",
"AArch64",
"\"Offset from the SP for \"",
"\" is \"",
"\"\\n\"",
"AArch64::SP"
] | AArch64FrameLowering56 | getFrameIndexReferencePreferSP | AArch64 | CPU | LLVM | 25,145 | 86 | 1 | [] |
[
"<s>",
"int",
"HexagonConvergingVLIWScheduler",
"::",
"SchedulingCost",
"(",
"ReadyQueue",
"&",
"Q",
",",
"SUnit",
"*",
"SU",
",",
"SchedCandidate",
"&",
"Candidate",
",",
"RegPressureDelta",
"&",
"Delta",
",",
"bool",
"verbose",
")",
"{",
"int",
"ResCount",
"... | [
"Single",
"point",
"to",
"compute",
"overall",
"scheduling",
"cost",
"."
] | [
"Hexagon",
"Hexagon",
"Hexagon",
"\"C|\"",
"\"C|\""
] | HexagonMachineScheduler17 | SchedulingCost | Hexagon | DSP | LLVM | 25,146 | 188 | 1 | [] |
[
"<s>",
"bool",
"SPIRVOCLRegularizer",
"::",
"runOnFunction",
"(",
"Function",
"&",
"F",
")",
"{",
"visit",
"(",
"F",
")",
";",
"for",
"(",
"auto",
"&",
"OldNew",
":",
"Old2NewFuncs",
")",
"{",
"auto",
"*",
"OldF",
"=",
"OldNew",
".",
"first",
";",
"a... | [
"runOnFunction",
"-",
"Virtual",
"method",
"overriden",
"by",
"subclasses",
"to",
"do",
"the",
"per-function",
"processing",
"of",
"the",
"pass",
"."
] | [
"SPIRV",
"SPIRV"
] | SPIRVOCLRegularizer | runOnFunction | SPIRV | Virtual ISA | LLVM | 25,147 | 58 | 1 | [] |
[
"<s>",
"static",
"bool",
"tilegx_current_function_is_leaf",
"(",
"void",
")",
"{",
"return",
"crtl",
"->",
"is_leaf",
"&&",
"!",
"cfun",
"->",
"machine",
"->",
"calls_tls_get_addr",
";",
"}",
"</s>"
] | [
"Return",
"whether",
"the",
"current",
"function",
"is",
"leaf",
".",
"This",
"takes",
"into",
"account",
"whether",
"the",
"function",
"calls",
"tls_get_addr",
"."
] | [
"tilegx"
] | tilegx | tilegx_current_function_is_leaf | tilegx | VLIW | GCC | 25,148 | 20 | 1 | [] |
[
"<s>",
"static",
"tree",
"c6x_build_builtin_va_list",
"(",
"void",
")",
"{",
"return",
"build_pointer_type",
"(",
"char_type_node",
")",
";",
"}",
"</s>"
] | [
"Return",
"the",
"type",
"to",
"use",
"as",
"__builtin_va_list",
"."
] | [
"c6x"
] | c6x | c6x_build_builtin_va_list | c6x | VLIW | GCC | 25,149 | 14 | 1 | [] |
[
"<s>",
"void",
"AMDGPUInstrInfo",
"::",
"insertNoop",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"MI",
")",
"const",
"{",
"}",
"</s>"
] | [
"Insert",
"a",
"noop",
"into",
"the",
"instruction",
"stream",
"at",
"the",
"specified",
"point",
"."
] | [
"AMDGPU",
"AMDGPU"
] | AMDGPUInstrInfo | insertNoop | AMDGPU | GPU | LLVM | 25,150 | 17 | 1 | [] |
[
"<s>",
"unsigned",
"getReg",
"(",
")",
"const",
"override",
"{",
"assert",
"(",
"Kind",
"==",
"KindTy",
"::",
"Register",
"&&",
"\"Invalid type access!\"",
")",
";",
"return",
"Reg",
".",
"RegNum",
".",
"id",
"(",
")",
";",
"}",
"</s>"
] | [
"Returns",
"the",
"register",
"associated",
"with",
"this",
"edge",
"."
] | [
"LoongArch",
"\"Invalid type access!\""
] | LoongArchAsmParser | getReg | LoongArch | CPU | LLVM | 25,151 | 28 | 1 | [] |
[
"<s>",
"bool",
"AArch64TargetLowering",
"::",
"isLegalICmpImmediate",
"(",
"int64_t",
"Immed",
")",
"const",
"{",
"if",
"(",
"Immed",
"<",
"0",
")",
"Immed",
"*=",
"-",
"1",
";",
"return",
"isLegalAddImmediate",
"(",
"Immed",
")",
";",
"}",
"</s>"
] | [
"Return",
"true",
"if",
"the",
"specified",
"immediate",
"is",
"legal",
"icmp",
"immediate",
",",
"that",
"is",
"the",
"target",
"has",
"icmp",
"instructions",
"which",
"can",
"compare",
"a",
"register",
"against",
"the",
"immediate",
"without",
"having",
"to"... | [
"AArch64",
"AArch64",
"0",
"1"
] | AArch64ISelLowering (2)1 | isLegalICmpImmediate | AArch64 | CPU | LLVM | 25,152 | 28 | 1 | [] |
[
"<s>",
"static",
"void",
"ix86_emit_save_regs",
"(",
"void",
")",
"{",
"unsigned",
"int",
"regno",
";",
"rtx_insn",
"*",
"insn",
";",
"for",
"(",
"regno",
"=",
"FIRST_PSEUDO_REGISTER",
"-",
"1",
";",
"regno",
"--",
">",
"0",
";",
")",
"if",
"(",
"GENER... | [
"Emit",
"code",
"to",
"save",
"registers",
"in",
"the",
"prologue",
"."
] | [
"i386",
"1",
"0",
"1"
] | i386 | ix86_emit_save_regs | i386 | CPU | GCC | 25,153 | 70 | 1 | [] |
[
"<s>",
"bool",
"Thumb2InstrInfo",
"::",
"isLegalToSplitMBBAt",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"MBBI",
")",
"const",
"{",
"while",
"(",
"MBBI",
"->",
"isDebugValue",
"(",
")",
")",
"{",
"++",
"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) | isLegalToSplitMBBAt | ARM | CPU | LLVM | 25,154 | 60 | 1 | [] |
[
"<s>",
"static",
"void",
"aarch64_emit_atomic_swap",
"(",
"machine_mode",
"mode",
",",
"rtx",
"dst",
",",
"rtx",
"value",
",",
"rtx",
"mem",
",",
"rtx",
"model",
")",
"{",
"rtx",
"(",
"*",
"gen",
")",
"(",
"rtx",
",",
"rtx",
",",
"rtx",
",",
"rtx",
... | [
"Emit",
"an",
"atomic",
"swap",
"."
] | [
"aarch64"
] | aarch643 | aarch64_emit_atomic_swap | aarch64 | CPU | GCC | 25,155 | 98 | 1 | [] |
[
"<s>",
"static",
"bool",
"cris_hard_regno_mode_ok",
"(",
"unsigned",
"int",
"regno",
",",
"machine_mode",
"mode",
")",
"{",
"return",
"(",
"(",
"mode",
"==",
"CCmode",
"||",
"regno",
"!=",
"CRIS_CC0_REGNUM",
")",
"&&",
"(",
"GET_MODE_SIZE",
"(",
"mode",
")",... | [
"Implement",
"TARGET_HARD_REGNO_MODE_OK",
".",
"CRIS",
"permits",
"all",
"registers",
"to",
"hold",
"all",
"modes",
".",
"Well",
",",
"except",
"for",
"the",
"condition-code",
"register",
".",
"And",
"we",
"ca",
"n't",
"hold",
"larger-than-register",
"size",
"mo... | [
"cris"
] | cris | cris_hard_regno_mode_ok | cris | MPU | GCC | 25,156 | 39 | 1 | [] |
[
"<s>",
"static",
"bool",
"mips_load_call_address",
"(",
"enum",
"mips_call_type",
"type",
",",
"rtx",
"dest",
",",
"rtx",
"addr",
")",
"{",
"if",
"(",
"TARGET_EXPLICIT_RELOCS",
"&&",
"!",
"(",
"type",
"==",
"MIPS_CALL_SIBCALL",
"&&",
"TARGET_CALL_SAVED_GP",
")",... | [
"Load",
"function",
"address",
"ADDR",
"into",
"register",
"DEST",
".",
"SIBCALL_P",
"is",
"true",
"if",
"the",
"address",
"is",
"needed",
"for",
"a",
"sibling",
"call",
"."
] | [
"mips"
] | mips | mips_load_call_address | mips | CPU | GCC | 25,157 | 73 | 1 | [] |
[
"<s>",
"void",
"AArch64FrameLowering",
"::",
"processFunctionBeforeFrameFinalized",
"(",
"MachineFunction",
"&",
"MF",
",",
"RegScavenger",
"*",
"RS",
")",
"const",
"{",
"MachineFrameInfo",
"&",
"MFI",
"=",
"MF",
".",
"getFrameInfo",
"(",
")",
";",
"assert",
"("... | [
"processFunctionBeforeFrameFinalized",
"-",
"This",
"method",
"is",
"called",
"immediately",
"before",
"the",
"specified",
"function",
"'s",
"frame",
"layout",
"(",
"MF.getFrameInfo",
"(",
")",
")",
"is",
"finalized",
"."
] | [
"AArch64",
"AArch64",
"\"Upwards growing stack unsupported\"",
"AArch64",
"AArch64",
"16U",
"8",
"AArch64::GPR64commonRegClass",
"\"There must be a free register after frame setup\"",
"AArch64::MOVi64imm",
"2",
"AArch64::STURXi",
"0"
] | AArch64FrameLowering (2)1 | processFunctionBeforeFrameFinalized | AArch64 | CPU | LLVM | 25,158 | 310 | 1 | [] |
[
"<s>",
"bool",
"ARM64MCInstLower",
"::",
"lowerOperand",
"(",
"const",
"MachineOperand",
"&",
"MO",
",",
"MCOperand",
"&",
"MCOp",
")",
"const",
"{",
"switch",
"(",
"MO",
".",
"getType",
"(",
")",
")",
"{",
"default",
":",
"assert",
"(",
"0",
"&&",
"\"... | [
"Wrapper",
"for",
"MCInstLowering.lowerOperand",
"(",
")",
"for",
"the",
"tblgen'erated",
"pseudo",
"lowering",
"."
] | [
"ARM64",
"ARM64",
"0",
"\"unknown operand type\""
] | ARM64MCInstLower | lowerOperand | ARM64 | CPU | LLVM | 25,159 | 242 | 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",
"."
] | [
"R600",
"SI",
"1"
] | SIAnnotateControlFlow17 | runOnFunction | R600 | GPU | LLVM | 25,160 | 241 | 1 | [] |
[
"<s>",
"bool",
"MipsCodeEmitter",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"{",
"JTI",
"=",
"(",
"(",
"MipsTargetMachine",
"&",
")",
"MF",
".",
"getTarget",
"(",
")",
")",
".",
"getJITInfo",
"(",
")",
";",
"II",
"=",
"(",
"... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"Mips",
"Mips",
"Mips",
"Mips",
"Mips",
"Mips",
"0",
"\"JITTing function '\"",
"\"'\\n\""
] | MipsCodeEmitter14 | runOnMachineFunction | Mips | CPU | LLVM | 25,161 | 254 | 1 | [] |
[
"<s>",
"SDValue",
"MMIXTargetLowering",
"::",
"LowerFormalArguments",
"(",
"SDValue",
"Chain",
",",
"CallingConv",
"::",
"ID",
"CallConv",
",",
"bool",
"IsVarArg",
",",
"const",
"SmallVectorImpl",
"<",
"ISD",
"::",
"InputArg",
">",
"&",
"Ins",
",",
"const",
"S... | [
"This",
"hook",
"must",
"be",
"implemented",
"to",
"lower",
"the",
"incoming",
"(",
"formal",
")",
"arguments",
",",
"described",
"by",
"the",
"Ins",
"array",
",",
"into",
"the",
"specified",
"DAG",
"."
] | [
"MMIX",
"MMIX",
"ISD::InputArg",
"\"Unsupported calling convention\"",
"\"VarArg not supported\"",
"16",
"MMIX",
"\"Defined with too many args\"",
"MVT::i64",
"\"LowerFormalArguments Unhandled argument type: \"",
"\"\\n\"",
"\"unhandled argument type\"",
"MMIX::GPRRegClass"
] | MMIXISelLowering | LowerFormalArguments | MMIX | CPU | LLVM | 25,162 | 253 | 1 | [] |
[
"<s>",
"void",
"SystemZAsmPrinter",
"::",
"EmitInstruction",
"(",
"const",
"MachineInstr",
"*",
"MI",
")",
"{",
"printInstruction",
"(",
"MI",
")",
";",
"OutStreamer",
".",
"AddBlankLine",
"(",
")",
";",
"}",
"</s>"
] | [
"EmitInstruction",
"-",
"This",
"callback",
"is",
"invoked",
"when",
"an",
"instruction",
"is",
"emitted",
",",
"to",
"advance",
"the",
"hazard",
"state",
"."
] | [
"SystemZ",
"SystemZ"
] | SystemZAsmPrinter21 | EmitInstruction | SystemZ | CPU | LLVM | 25,163 | 23 | 1 | [] |
[
"<s>",
"bool",
"PPCFastISel",
"::",
"fastSelectInstruction",
"(",
"const",
"Instruction",
"*",
"I",
")",
"{",
"switch",
"(",
"I",
"->",
"getOpcode",
"(",
")",
")",
"{",
"case",
"Instruction",
"::",
"Load",
":",
"return",
"SelectLoad",
"(",
"I",
")",
";",... | [
"This",
"method",
"is",
"called",
"by",
"target-independent",
"code",
"when",
"the",
"normal",
"FastISel",
"process",
"fails",
"to",
"select",
"an",
"instruction",
"."
] | [
"PowerPC",
"PPC",
"ISD::ADD",
"ISD::OR",
"ISD::SUB"
] | PPCFastISel (2)2 | fastSelectInstruction | PowerPC | CPU | LLVM | 25,164 | 255 | 1 | [] |
[
"<s>",
"void",
"ScheduleDAGPostRA",
"::",
"placeDebugValues",
"(",
")",
"{",
"if",
"(",
"FirstDbgValue",
")",
"{",
"BB",
"->",
"splice",
"(",
"RegionBegin",
",",
"BB",
",",
"FirstDbgValue",
")",
";",
"RegionBegin",
"=",
"FirstDbgValue",
";",
"}",
"for",
"(... | [
"Reinsert",
"debug_values",
"recorded",
"in",
"ScheduleDAGInstrs",
":",
":DbgValues",
"."
] | [
"Patmos"
] | PatmosPostRAScheduler | placeDebugValues | Patmos | VLIW | LLVM | 25,165 | 139 | 1 | [] |
[
"<s>",
"const",
"uint32_t",
"*",
"AVRRegisterInfo",
"::",
"getCallPreservedMask",
"(",
"const",
"MachineFunction",
"&",
"MF",
",",
"CallingConv",
"::",
"ID",
"CC",
")",
"const",
"{",
"return",
"(",
"(",
"CC",
"==",
"CallingConv",
"::",
"AVR_INTR",
"||",
"CC"... | [
"Return",
"a",
"mask",
"of",
"call-preserved",
"registers",
"for",
"the",
"given",
"calling",
"convention",
"on",
"the",
"current",
"function",
"."
] | [
"AVR",
"AVR",
"AVR",
"AVR"
] | AVRRegisterInfo | getCallPreservedMask | AVR | MPU | LLVM | 25,166 | 41 | 1 | [] |
[
"<s>",
"bool",
"Z80oldRegisterInfo",
"::",
"saveScavengerRegister",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"MI",
",",
"MachineBasicBlock",
"::",
"iterator",
"&",
"UseMI",
",",
"const",
"TargetRegisterClass",
"*",
"RC",
",",... | [
"Spill",
"the",
"register",
"so",
"it",
"can",
"be",
"used",
"by",
"the",
"register",
"scavenger",
"."
] | [
"Z80old",
"Z80old",
"Z80old",
"Z80old",
"Z80old::AF",
"Z80old::PUSH16AF",
"Z80old::PUSH16r",
"Z80old::AF",
"Z80old::POP16AF",
"Z80old::POP16r"
] | Z80oldRegisterInfo | saveScavengerRegister | Z80old | MPU | LLVM | 25,167 | 231 | 1 | [] |
[
"<s>",
"static",
"bool",
"must_reload_pic_reg_p",
"(",
"void",
")",
"{",
"struct",
"cgraph_local_info",
"*",
"i",
"=",
"NULL",
";",
"if",
"(",
"!",
"TARGET_DSBT",
")",
"return",
"false",
";",
"i",
"=",
"cgraph_node",
"::",
"local_info",
"(",
"current_functio... | [
"Return",
"true",
"if",
"we",
"need",
"to",
"save",
"and",
"modify",
"the",
"PIC",
"register",
"in",
"the",
"prologue",
"."
] | [
"c6x"
] | c6x2 | must_reload_pic_reg_p | c6x | VLIW | GCC | 25,168 | 56 | 1 | [] |
[
"<s>",
"bool",
"R600VectorRegMerger",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"Fn",
")",
"{",
"TII",
"=",
"static_cast",
"<",
"const",
"R600InstrInfo",
"*",
">",
"(",
"Fn",
".",
"getTarget",
"(",
")",
".",
"getInstrInfo",
"(",
")",
")",
... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"R600",
"R600_InstFlag::TEX_INST",
"1",
"SI",
"0",
"\"Trying to optimize \"",
"SI",
"\"Using common slots...\\n\"",
"SI",
"SI",
"SI",
"SI",
"SI",
"SI",
"SI",
"\"Using free slots...\\n\"",
"SI",
"SI",
"SI",
"SI",
"SI",
"SI",
"SI",
"SI",
"SI"
] | R600OptimizeVectorRegisters1 | runOnMachineFunction | R600 | GPU | LLVM | 25,169 | 404 | 1 | [] |
[
"<s>",
"static",
"tree",
"gen_stdcall_or_fastcall_suffix",
"(",
"tree",
"decl",
",",
"bool",
"fastcall",
")",
"{",
"int",
"total",
"=",
"0",
";",
"const",
"char",
"*",
"asmname",
"=",
"IDENTIFIER_POINTER",
"(",
"DECL_ASSEMBLER_NAME",
"(",
"decl",
")",
")",
"... | [
"Return",
"string",
"which",
"is",
"the",
"former",
"assembler",
"name",
"modified",
"with",
"a",
"suffix",
"consisting",
"of",
"an",
"atsign",
"(",
"@",
")",
"followed",
"by",
"the",
"number",
"of",
"bytes",
"of",
"arguments",
".",
"If",
"FASTCALL",
"is",... | [
"i386",
"0",
"1",
"1",
"1",
"8",
"1",
"\"%s@%d\""
] | winnt3 | gen_stdcall_or_fastcall_suffix | i386 | CPU | GCC | 25,170 | 209 | 1 | [] |
[
"<s>",
"static",
"bool",
"is_cmp",
"(",
"rtx_insn",
"*",
"insn",
")",
"{",
"enum",
"attr_type",
"type",
";",
"type",
"=",
"get_attr_type",
"(",
"insn",
")",
";",
"return",
"(",
"type",
"==",
"TYPE_TEST",
"||",
"type",
"==",
"TYPE_ICMP",
"||",
"type",
"... | [
"Return",
"true",
"if",
"insn",
"is",
"a",
"compare",
"instruction",
"."
] | [
"i386"
] | i3864 | is_cmp | i386 | CPU | GCC | 25,171 | 46 | 1 | [] |
[
"<s>",
"bool",
"AMDGPUAlwaysInline",
"::",
"runOnModule",
"(",
"Module",
"&",
"M",
")",
"{",
"std",
"::",
"vector",
"<",
"Function",
"*",
">",
"FuncsToClone",
";",
"for",
"(",
"Function",
"&",
"F",
":",
"M",
")",
"{",
"if",
"(",
"!",
"F",
".",
"has... | [
"runOnModule",
"-",
"Virtual",
"method",
"overriden",
"by",
"subclasses",
"to",
"process",
"the",
"module",
"being",
"operated",
"on",
"."
] | [
"AMDGPU",
"AMDGPU"
] | AMDGPUAlwaysInlinePass | runOnModule | AMDGPU | GPU | LLVM | 25,172 | 166 | 1 | [] |
[
"<s>",
"void",
"relaxInstruction",
"(",
"const",
"MCInst",
"&",
"Inst",
",",
"const",
"MCSubtargetInfo",
"&",
"STI",
",",
"MCInst",
"&",
"Res",
")",
"const",
"override",
"{",
"}",
"</s>"
] | [
"Relax",
"the",
"instruction",
"in",
"the",
"given",
"fragment",
"to",
"the",
"next",
"wider",
"instruction",
"."
] | [
"LEG"
] | LEGAsmBackend | relaxInstruction | LEG | CPU | LLVM | 25,173 | 21 | 1 | [] |
[
"<s>",
"bool",
"NyuziFrameLowering",
"::",
"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... | [
"Nyuzi",
"Nyuzi"
] | NyuziFrameLowering | hasReservedCallFrame | Nyuzi | GPU | LLVM | 25,174 | 25 | 1 | [] |
[
"<s>",
"static",
"bool",
"expand_vec_perm_pblendv",
"(",
"struct",
"expand_vec_perm_d",
"*",
"d",
")",
"{",
"unsigned",
"i",
",",
"which",
",",
"nelt",
"=",
"d",
"->",
"nelt",
";",
"struct",
"expand_vec_perm_d",
"dcopy",
",",
"dcopy1",
";",
"machine_mode",
"... | [
"A",
"subroutine",
"of",
"ix86_expand_vec_perm_const_1",
".",
"Try",
"to",
"simplify",
"the",
"permutation",
"using",
"the",
"SSE4_1",
"pblendv",
"instruction",
".",
"Potentially",
"reduces",
"permutation",
"from",
"2",
"pshufb",
"and",
"or",
"to",
"1",
"pshufb",
... | [
"i386",
"32",
"4",
"8",
"16",
"0",
"0",
"1",
"2",
"1",
"2",
"16",
"2",
"0",
"1",
"16",
"2",
"0"
] | i386-expand | expand_vec_perm_pblendv | i386 | CPU | GCC | 25,175 | 398 | 1 | [] |
[
"<s>",
"static",
"bool",
"m68k_handle_option",
"(",
"size_t",
"code",
",",
"const",
"char",
"*",
"arg",
",",
"int",
"value",
")",
"{",
"switch",
"(",
"code",
")",
"{",
"case",
"OPT_m5200",
":",
"target_flags",
"&=",
"~",
"(",
"MASK_ALL_CPU_BITS",
"|",
"M... | [
"Implement",
"TARGET_HANDLE_OPTION",
"."
] | [
"m68k",
"\"-mshared-library-id=%s is not between 0 and %d\"",
"\"%d\"",
"4",
"4"
] | m68k3 | m68k_handle_option | m68k | MPU | GCC | 25,176 | 365 | 1 | [] |
[
"<s>",
"void",
"getAnalysisUsage",
"(",
"AnalysisUsage",
"&",
"AU",
")",
"const",
"override",
"{",
"AU",
".",
"addRequired",
"<",
"LoopInfoWrapperPass",
">",
"(",
")",
";",
"AU",
".",
"addRequiredID",
"(",
"LoopSimplifyID",
")",
";",
"AU",
".",
"addRequiredI... | [
"getAnalysisUsage",
"-",
"Subclasses",
"that",
"override",
"getAnalysisUsage",
"must",
"call",
"this",
"."
] | [
"Hexagon"
] | HexagonLoopIdiomRecognition1 | getAnalysisUsage | Hexagon | DSP | LLVM | 25,177 | 79 | 1 | [] |
[
"<s>",
"static",
"void",
"arm_trampoline_init",
"(",
"rtx",
"m_tramp",
",",
"tree",
"fndecl",
",",
"rtx",
"chain_value",
")",
"{",
"rtx",
"fnaddr",
",",
"mem",
",",
"a_tramp",
";",
"emit_block_move",
"(",
"m_tramp",
",",
"assemble_trampoline_template",
"(",
")... | [
"Emit",
"RTL",
"insns",
"to",
"initialize",
"the",
"variable",
"parts",
"of",
"a",
"trampoline",
"."
] | [
"arm",
"0",
"4",
"0",
"9",
"8",
"0",
"4",
"20",
"24",
"28",
"8",
"12",
"12",
"16",
"0",
"0"
] | arm | arm_trampoline_init | arm | CPU | GCC | 25,178 | 282 | 1 | [] |
[
"<s>",
"bool",
"BlackfinRegisterInfo",
"::",
"hasFP",
"(",
"const",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"const",
"MachineFrameInfo",
"*",
"MFI",
"=",
"MF",
".",
"getFrameInfo",
"(",
")",
";",
"return",
"DisableFramePointerElim",
"(",
"MF",
")",
... | [
"hasFP",
"-",
"Return",
"true",
"if",
"the",
"specified",
"function",
"should",
"have",
"a",
"dedicated",
"frame",
"pointer",
"register",
"."
] | [
"Blackfin"
] | BlackfinRegisterInfo3 | hasFP | Blackfin | DSP | LLVM | 25,179 | 42 | 1 | [] |
[
"<s>",
"static",
"bool",
"mips_can_change_mode_class",
"(",
"machine_mode",
"from",
",",
"machine_mode",
"to",
",",
"reg_class_t",
"rclass",
")",
"{",
"if",
"(",
"GET_MODE_SIZE",
"(",
"from",
")",
"==",
"8",
"&&",
"GET_MODE_SIZE",
"(",
"to",
")",
"==",
"8",
... | [
"Implement",
"TARGET_CAN_CHANGE_MODE_CLASS",
"."
] | [
"mips",
"8",
"8"
] | mips | mips_can_change_mode_class | mips | CPU | GCC | 25,180 | 68 | 1 | [] |
[
"<s>",
"enum",
"reg_class",
"secondary_output_reload_class",
"(",
"enum",
"reg_class",
"class",
",",
"enum",
"machine_mode",
"mode",
",",
"rtx",
"x",
")",
"{",
"return",
"secondary_input_reload_class",
"(",
"class",
",",
"mode",
",",
"x",
")",
";",
"}",
"</s>"... | [
"Like",
"secondary_input_reload_class",
";",
"and",
"all",
"we",
"do",
"is",
"call",
"that",
"function",
"."
] | [
"bfin"
] | bfin2 | secondary_output_reload_class | bfin | DSP | GCC | 25,181 | 27 | 1 | [] |
[
"<s>",
"bool",
"nds32_n13_load_to_e1_p",
"(",
"rtx_insn",
"*",
"producer",
",",
"rtx_insn",
"*",
"consumer",
")",
"{",
"rtx",
"def_reg",
"=",
"SET_DEST",
"(",
"PATTERN",
"(",
"producer",
")",
")",
";",
"gcc_assert",
"(",
"get_attr_type",
"(",
"producer",
")"... | [
"Check",
"dependencies",
"from",
"Load-Store",
"Unit",
"(",
"E3",
")",
"to",
"E1",
"."
] | [
"nds32"
] | nds32-pipelines-auxiliary | nds32_n13_load_to_e1_p | nds32 | CPU | GCC | 25,182 | 57 | 1 | [] |
[
"<s>",
"const",
"SDValue",
"&",
"getMask",
"(",
")",
"const",
"{",
"return",
"getOperand",
"(",
"2",
")",
";",
"}",
"</s>"
] | [
"Return",
"the",
"mask",
"used",
"by",
"this",
"recipe",
"."
] | [
"X86",
"2"
] | X86ISelLowering | getMask | X86 | CPU | LLVM | 25,183 | 15 | 1 | [] |
[
"<s>",
"bool",
"PPCInstrInfo",
"::",
"getMemOperandWithOffsetWidth",
"(",
"const",
"MachineInstr",
"&",
"LdSt",
",",
"const",
"MachineOperand",
"*",
"&",
"BaseReg",
",",
"int64_t",
"&",
"Offset",
",",
"unsigned",
"&",
"Width",
",",
"const",
"TargetRegisterInfo",
... | [
"Return",
"true",
"if",
"get",
"the",
"base",
"operand",
",",
"byte",
"offset",
"of",
"an",
"instruction",
"and",
"the",
"memory",
"width",
"."
] | [
"PowerPC",
"PPC",
"3",
"1",
"2",
"2",
"1",
"2"
] | PPCInstrInfo65 | getMemOperandWithOffsetWidth | PowerPC | CPU | LLVM | 25,184 | 153 | 1 | [] |
[
"<s>",
"bool",
"SPIRVCallLowering",
"::",
"lowerCall",
"(",
"MachineIRBuilder",
"&",
"MIRBuilder",
",",
"CallLoweringInfo",
"&",
"Info",
")",
"const",
"{",
"if",
"(",
"Info",
".",
"OrigRet",
".",
"Regs",
".",
"size",
"(",
")",
">",
"1",
")",
"return",
"f... | [
"This",
"hook",
"must",
"be",
"implemented",
"to",
"lower",
"the",
"given",
"call",
"instruction",
",",
"including",
"argument",
"and",
"return",
"value",
"marshalling",
"."
] | [
"SPIRV",
"SPIRV",
"1",
"0",
"0",
"0",
"8",
"1",
"8",
"32",
"SPIRV::IDRegClass",
"SPIRV",
"SPIRV::OpFunctionCall",
"SPIRV",
"1",
"0"
] | SPIRVCallLowering | lowerCall | SPIRV | Virtual ISA | LLVM | 25,185 | 426 | 1 | [] |
[
"<s>",
"MachineInstrBuilder",
"R600InstrInfo",
"::",
"buildIndirectWrite",
"(",
"MachineBasicBlock",
"*",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"I",
",",
"unsigned",
"ValueReg",
",",
"unsigned",
"Address",
",",
"unsigned",
"OffsetReg",
")",
"const",
"{"... | [
"Build",
"instruction",
"(",
"s",
")",
"for",
"an",
"indirect",
"register",
"write",
"."
] | [
"R600",
"0",
"1"
] | R600InstrInfo13 | buildIndirectWrite | R600 | GPU | LLVM | 25,186 | 123 | 1 | [] |
[
"<s>",
"void",
"reset",
"(",
")",
"override",
"{",
"static_cast",
"<",
"RISCVTargetStreamer",
"*",
">",
"(",
"getTargetStreamer",
"(",
")",
")",
"->",
"reset",
"(",
")",
";",
"MCELFStreamer",
"::",
"reset",
"(",
")",
";",
"}",
"</s>"
] | [
"Reset",
"an",
"existing",
"scalar",
"value",
"for",
"Def",
"and",
"a",
"given",
"Instance",
"."
] | [
"RISCV",
"RISCV"
] | RISCVELFStreamer (2) | reset | RISCV | CPU | LLVM | 25,187 | 28 | 1 | [] |
[
"<s>",
"int",
"avx_vpermilp_parallel",
"(",
"rtx",
"par",
",",
"machine_mode",
"mode",
")",
"{",
"unsigned",
"i",
",",
"nelt",
"=",
"GET_MODE_NUNITS",
"(",
"mode",
")",
";",
"unsigned",
"mask",
"=",
"0",
";",
"unsigned",
"char",
"ipar",
"[",
"16",
"]",
... | [
"Helper",
"for",
"avx_vpermilps256_operand",
"et",
"al",
".",
"This",
"is",
"also",
"used",
"by",
"the",
"expansion",
"functions",
"to",
"turn",
"the",
"parallel",
"back",
"into",
"a",
"mask",
".",
"The",
"return",
"value",
"is",
"0",
"for",
"no",
"match",... | [
"i386",
"0",
"16",
"0",
"0",
"0",
"0",
"0",
"0",
"4",
"6",
"4",
"6",
"0",
"4",
"6",
"8",
"6",
"0",
"6",
"0",
"2",
"2",
"0",
"2",
"4",
"2",
"0",
"2",
"0",
"8",
"8",
"8",
"0",
"0",
"4",
"4",
"4",
"0",
"4",
"0",
"2",
"1"
] | i3864 | avx_vpermilp_parallel | i386 | CPU | GCC | 25,188 | 418 | 1 | [] |
[
"<s>",
"MCSymbol",
"*",
"Z80oldMCInstLower",
"::",
"GetExternalSymbolSymbol",
"(",
"const",
"MachineOperand",
"&",
"MO",
")",
"const",
"{",
"assert",
"(",
"!",
"MO",
".",
"getTargetFlags",
"(",
")",
"&&",
"\"Unknown target flag on GV operand\"",
")",
";",
"return"... | [
"Return",
"the",
"MCSymbol",
"for",
"the",
"specified",
"ExternalSymbol",
"."
] | [
"Z80old",
"Z80old",
"\"Unknown target flag on GV operand\""
] | Z80oldMCInstLower | GetExternalSymbolSymbol | Z80old | MPU | LLVM | 25,189 | 38 | 1 | [] |
[
"<s>",
"uint64_t",
"HexagonInstrInfo",
"::",
"getType",
"(",
"const",
"MachineInstr",
"*",
"MI",
")",
"const",
"{",
"const",
"uint64_t",
"F",
"=",
"MI",
"->",
"getDesc",
"(",
")",
".",
"TSFlags",
";",
"return",
"(",
"F",
">>",
"HexagonII",
"::",
"TypePos... | [
"Overload",
"to",
"return",
"most",
"specific",
"vector",
"type",
"."
] | [
"Hexagon",
"Hexagon",
"HexagonII::TypePos",
"HexagonII::TypeMask"
] | HexagonInstrInfo (2) | getType | Hexagon | DSP | LLVM | 25,190 | 38 | 1 | [] |
[
"<s>",
"bool",
"isReg",
"(",
")",
"const",
"override",
"{",
"return",
"Kind",
"==",
"Register",
";",
"}",
"</s>"
] | [
"isReg",
"-",
"Is",
"this",
"a",
"register",
"operand",
"?"
] | [
"ECLair"
] | ECLairAsmParser | isReg | ECLair | MPU | LLVM | 25,191 | 13 | 1 | [] |
[
"<s>",
"bool",
"WebAssemblyAsmBackend",
"::",
"writeNopData",
"(",
"uint64_t",
"Count",
",",
"MCObjectWriter",
"*",
"OW",
")",
"const",
"{",
"if",
"(",
"Count",
"==",
"0",
")",
"return",
"true",
";",
"for",
"(",
"uint64_t",
"i",
"=",
"0",
";",
"i",
"<"... | [
"Write",
"an",
"(",
"optimal",
")",
"nop",
"sequence",
"of",
"Count",
"bytes",
"to",
"the",
"given",
"output",
"."
] | [
"WebAssembly",
"WebAssembly",
"0",
"0",
"WebAssembly::Nop"
] | WebAssemblyAsmBackend13 | writeNopData | WebAssembly | Virtual ISA | LLVM | 25,192 | 50 | 1 | [] |
[
"<s>",
"const",
"char",
"*",
"RISCVTargetLowering",
"::",
"getTargetNodeName",
"(",
"unsigned",
"Opcode",
")",
"const",
"{",
"switch",
"(",
"(",
"RISCVISD",
"::",
"NodeType",
")",
"Opcode",
")",
"{",
"case",
"RISCVISD",
"::",
"FIRST_NUMBER",
":",
"break",
";... | [
"getTargetNodeName",
"-",
"This",
"method",
"returns",
"the",
"name",
"of",
"a",
"target",
"specific"
] | [
"RISCV",
"RISCV",
"RISCVISD::NodeType",
"RISCVISD::FIRST_NUMBER",
"RISCVISD::RET_FLAG",
"\"RISCVISD::RET_FLAG\"",
"RISCVISD::CALL",
"\"RISCVISD::CALL\"",
"RISCVISD::SELECT_CC",
"\"RISCVISD::SELECT_CC\"",
"RISCVISD::BuildPairF64",
"\"RISCVISD::BuildPairF64\"",
"RISCVISD::SplitF64",
"\"RISCV... | RISCVISelLowering58 | getTargetNodeName | RISCV | CPU | LLVM | 25,193 | 82 | 1 | [] |
[
"<s>",
"void",
"HexagonPassConfig",
"::",
"addPreEmitPass",
"(",
")",
"{",
"bool",
"NoOpt",
"=",
"(",
"getOptLevel",
"(",
")",
"==",
"CodeGenOpt",
"::",
"None",
")",
";",
"if",
"(",
"!",
"NoOpt",
")",
"addPass",
"(",
"createHexagonNewValueJump",
"(",
")",
... | [
"This",
"pass",
"may",
"be",
"implemented",
"by",
"targets",
"that",
"want",
"to",
"run",
"passes",
"immediately",
"before",
"machine",
"code",
"is",
"emitted",
"."
] | [
"Hexagon",
"Hexagon",
"Hexagon",
"Hexagon",
"Hexagon",
"Hexagon",
"Hexagon",
"Hexagon",
"Hexagon"
] | HexagonTargetMachine29 | addPreEmitPass | Hexagon | DSP | LLVM | 25,194 | 109 | 1 | [] |
[
"<s>",
"const",
"TargetRegisterClass",
"*",
"SITargetLowering",
"::",
"getRegClassFor",
"(",
"MVT",
"VT",
",",
"bool",
"isDivergent",
")",
"const",
"{",
"const",
"TargetRegisterClass",
"*",
"RC",
"=",
"TargetLoweringBase",
"::",
"getRegClassFor",
"(",
"VT",
",",
... | [
"Return",
"the",
"register",
"class",
"that",
"should",
"be",
"used",
"for",
"the",
"specified",
"value",
"type",
"."
] | [
"AMDGPU",
"SI",
"SI",
"AMDGPU::VReg_1RegClass",
"64",
"AMDGPU::SReg_64RegClass",
"AMDGPU::SReg_32RegClass"
] | SIISelLowering10 | getRegClassFor | AMDGPU | GPU | LLVM | 25,195 | 116 | 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",
"."
] | [
"ARM",
"0",
"0"
] | ARMAsmParser (2) | addExpr | ARM | CPU | LLVM | 25,196 | 78 | 1 | [] |
[
"<s>",
"static",
"bool",
"arm_vectorize_vec_perm_const",
"(",
"machine_mode",
"vmode",
",",
"rtx",
"target",
",",
"rtx",
"op0",
",",
"rtx",
"op1",
",",
"const",
"vec_perm_indices",
"&",
"sel",
")",
"{",
"struct",
"expand_vec_perm_d",
"d",
";",
"int",
"i",
",... | [
"Implement",
"TARGET_VECTORIZE_VEC_PERM_CONST",
"."
] | [
"arm",
"0",
"2",
"1",
"1",
"2",
"3",
"2",
"1",
"1",
"2",
"1",
"2",
"3"
] | arm | arm_vectorize_vec_perm_const | arm | CPU | GCC | 25,197 | 373 | 1 | [] |
[
"<s>",
"static",
"void",
"set_reg_plus_d",
"(",
"int",
"reg",
",",
"int",
"base",
",",
"HOST_WIDE_INT",
"disp",
",",
"int",
"note",
")",
"{",
"rtx_insn",
"*",
"insn",
";",
"if",
"(",
"VAL_14_BITS_P",
"(",
"disp",
")",
")",
"{",
"insn",
"=",
"emit_move_... | [
"Emit",
"RTL",
"to",
"set",
"REG",
"to",
"the",
"value",
"specified",
"by",
"BASE+DISP",
".",
"Handle",
"case",
"where",
"DISP",
">",
"8k",
"by",
"using",
"the",
"add_high_const",
"patterns",
".",
"Note",
"in",
"DISP",
">",
"8k",
"case",
",",
"we",
"wi... | [
"pa",
"1",
"1",
"1"
] | pa4 | set_reg_plus_d | pa | CPU | GCC | 25,198 | 237 | 1 | [] |
[
"<s>",
"OperandMatchResultTy",
"AVRAsmParser",
"::",
"tryParseRegister",
"(",
"unsigned",
"&",
"RegNo",
",",
"SMLoc",
"&",
"StartLoc",
",",
"SMLoc",
"&",
"EndLoc",
")",
"{",
"StartLoc",
"=",
"Parser",
".",
"getTok",
"(",
")",
".",
"getLoc",
"(",
")",
";",
... | [
"tryParseRegister",
"-",
"parse",
"one",
"register",
"if",
"possible"
] | [
"AVR",
"AVR",
"AVR::NoRegister"
] | AVRAsmParser | tryParseRegister | AVR | MPU | LLVM | 25,199 | 64 | 1 | [] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.