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>",
"char",
"*",
"cr16_prepare_push_pop_string",
"(",
"int",
"push_or_pop",
")",
"{",
"static",
"char",
"one_inst_str",
"[",
"50",
"]",
";",
"int",
"i",
",",
"start_reg",
";",
"int",
"word_cnt",
";",
"int",
"print_ra",
";",
"char",
"*",
"return_str",
";... | [
"Called",
"from",
"cr16.md",
".",
"The",
"return",
"value",
"depends",
"on",
"the",
"parameter",
"push_or_pop",
":",
"When",
"push_or_pop",
"is",
"zero",
"-",
">",
"string",
"for",
"push",
"instructions",
"of",
"prologue",
".",
"When",
"push_or_pop",
"is",
"... | [
"cr16",
"50",
"160",
"160",
"0",
"3",
"0",
"0",
"0",
"0",
"0",
"1",
"1",
"2",
"1",
"2",
"0",
"0",
"0",
"\"$%d, %s\"",
"\", ra\"",
"\"ra\"",
"1",
"\"\\n\\tpopret\\t\"",
"\"\\n\\tpop\\t\"",
"\"\\n\\tpush\\t\"",
"1",
"\"\\n\\tretx\\n\"",
"\"\\n\\taddd\\t (r5, r4)... | cr16 | cr16_prepare_push_pop_string | cr16 | MPU | GCC | 26,200 | 423 | 1 | [] |
[
"<s>",
"bool",
"M680x0InstrInfo",
"::",
"ExpandCCR",
"(",
"MachineInstrBuilder",
"&",
"MIB",
",",
"bool",
"isToCCR",
")",
"const",
"{",
"if",
"(",
"isToCCR",
")",
"{",
"MIB",
"->",
"setDesc",
"(",
"get",
"(",
"M680x0",
"::",
"MOV16cd",
")",
")",
";",
"... | [
"Moves",
"to/from",
"CCR",
"."
] | [
"M680x0",
"M680x0",
"M680x0::MOV16cd",
"M680x0::MOV16dc",
"1",
"M680x0::MxSubRegIndex8Lo",
"M680x0::DR16RegClass"
] | M680x0InstrInfo | ExpandCCR | M680x0 | MPU | LLVM | 26,201 | 89 | 1 | [] |
[
"<s>",
"static",
"bool",
"ix86_use_mask_cmp_p",
"(",
"machine_mode",
"mode",
",",
"machine_mode",
"cmp_mode",
",",
"rtx",
"op_true",
",",
"rtx",
"op_false",
")",
"{",
"int",
"vector_size",
"=",
"GET_MODE_SIZE",
"(",
"mode",
")",
";",
"if",
"(",
"cmp_mode",
"... | [
"Return",
"true",
"if",
"integer",
"mask",
"comparison",
"should",
"be",
"used",
"."
] | [
"i386",
"16",
"64"
] | i386-expand | ix86_use_mask_cmp_p | i386 | CPU | GCC | 26,202 | 136 | 1 | [] |
[
"<s>",
"void",
"arc_expand_atomic_op",
"(",
"enum",
"rtx_code",
"code",
",",
"rtx",
"mem",
",",
"rtx",
"val",
",",
"rtx",
"orig_before",
",",
"rtx",
"orig_after",
",",
"rtx",
"model_rtx",
")",
"{",
"enum",
"memmodel",
"model",
"=",
"(",
"enum",
"memmodel",... | [
"Expand",
"an",
"atomic",
"fetch-and-operate",
"pattern",
".",
"CODE",
"is",
"the",
"binary",
"operation",
"to",
"perform",
".",
"MEM",
"is",
"the",
"memory",
"on",
"which",
"to",
"operate",
".",
"VAL",
"is",
"the",
"second",
"operand",
"of",
"the",
"binar... | [
"arc"
] | arc | arc_expand_atomic_op | arc | MPU | GCC | 26,203 | 292 | 1 | [] |
[
"<s>",
"void",
"M680x0InstrInfo",
"::",
"AddZExt",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"I",
",",
"DebugLoc",
"DL",
",",
"unsigned",
"Reg",
",",
"MVT",
"From",
",",
"MVT",
"To",
")",
"const",
"{",
"unsigned",
"M... | [
"Add",
"appropriate",
"ZExt",
"nodes",
"."
] | [
"M680x0",
"M680x0",
"MVT::i8",
"0xFF",
"0xFFFF",
"MVT::i16",
"M680x0::AND16di",
"M680x0::AND32di"
] | M680x0InstrInfo | AddZExt | M680x0 | MPU | LLVM | 26,204 | 106 | 1 | [] |
[
"<s>",
"static",
"bool",
"ix86_vector_mode_supported_p",
"(",
"machine_mode",
"mode",
")",
"{",
"if",
"(",
"TARGET_SSE",
"&&",
"VALID_SSE_REG_MODE",
"(",
"mode",
")",
")",
"return",
"true",
";",
"if",
"(",
"TARGET_SSE2",
"&&",
"VALID_SSE2_REG_MODE",
"(",
"mode",... | [
"Implements",
"target",
"hook",
"vector_mode_supported_p",
"."
] | [
"i386"
] | i3861 | ix86_vector_mode_supported_p | i386 | CPU | GCC | 26,205 | 92 | 1 | [] |
[
"<s>",
"bool",
"PPCLoopPreIncPrep",
"::",
"runOnFunction",
"(",
"Function",
"&",
"F",
")",
"{",
"if",
"(",
"skipFunction",
"(",
"F",
")",
")",
"return",
"false",
";",
"LI",
"=",
"&",
"getAnalysis",
"<",
"LoopInfoWrapperPass",
">",
"(",
")",
".",
"getLoop... | [
"runOnFunction",
"-",
"Virtual",
"method",
"overriden",
"by",
"subclasses",
"to",
"do",
"the",
"per-function",
"processing",
"of",
"the",
"pass",
"."
] | [
"PowerPC",
"PPC"
] | PPCLoopPreIncPrep21 | runOnFunction | PowerPC | CPU | LLVM | 26,206 | 161 | 1 | [] |
[
"<s>",
"bool",
"SIInstrInfo",
"::",
"moveFlatAddrToVGPR",
"(",
"MachineInstr",
"&",
"Inst",
")",
"const",
"{",
"unsigned",
"Opc",
"=",
"Inst",
".",
"getOpcode",
"(",
")",
";",
"int",
"OldSAddrIdx",
"=",
"AMDGPU",
"::",
"getNamedOperandIdx",
"(",
"Opc",
",",
... | [
"Change",
"SADDR",
"form",
"of",
"a",
"FLAT",
"Inst",
"to",
"its",
"VADDR",
"form",
"if",
"saddr",
"operand",
"was",
"moved",
"to",
"VGPR",
"."
] | [
"AMDGPU",
"SI",
"AMDGPU::getNamedOperandIdx",
"AMDGPU::OpName",
"0",
"AMDGPU::getGlobalVaddrOp",
"0",
"AMDGPU::getFlatScratchInstSVfromSS",
"0",
"AMDGPU::getNamedOperandIdx",
"AMDGPU::OpName",
"0",
"AMDGPU::getNamedOperandIdx",
"AMDGPU::OpName",
"0",
"AMDGPU::V_MOV_B32_e32",
"1",
"... | SIInstrInfo11 | moveFlatAddrToVGPR | AMDGPU | GPU | LLVM | 26,207 | 469 | 1 | [] |
[
"<s>",
"static",
"void",
"nvptx_option_override",
"(",
"void",
")",
"{",
"init_machine_status",
"=",
"nvptx_init_machine_status",
";",
"if",
"(",
"!",
"global_options_set",
".",
"x_flag_toplevel_reorder",
")",
"flag_toplevel_reorder",
"=",
"1",
";",
"debug_nonbind_marke... | [
"Implement",
"TARGET_OPTION_OVERRIDE",
"."
] | [
"nvptx",
"1",
"0",
"1",
"0",
"\"not generating patch area, nops not supported\"",
"0",
"0",
"0",
"17",
"17",
"17",
"\"__worker_bcast\"",
"\"__worker_red\"",
"\"-mgomp\"",
"\"-msoft-stack\"",
"\"-muniform-simt\""
] | nvptx5 | nvptx_option_override | nvptx | GPU | GCC | 26,208 | 182 | 1 | [] |
[
"<s>",
"static",
"bool",
"rs6000_vector_mode_supported_p",
"(",
"machine_mode",
"mode",
")",
"{",
"if",
"(",
"TARGET_PAIRED_FLOAT",
"&&",
"PAIRED_VECTOR_MODE",
"(",
"mode",
")",
")",
"return",
"true",
";",
"else",
"if",
"(",
"VECTOR_MEM_ALTIVEC_OR_VSX_P",
"(",
"mo... | [
"Target",
"hook",
"for",
"vector_mode_supported_p",
"."
] | [
"rs6000"
] | rs60007 | rs6000_vector_mode_supported_p | rs6000 | CPU | GCC | 26,209 | 42 | 1 | [] |
[
"<s>",
"StringRef",
"getPassName",
"(",
")",
"const",
"override",
"{",
"return",
"\"Patmos Call Graph Builder\"",
";",
"}",
"</s>"
] | [
"getPassName",
"-",
"Return",
"a",
"nice",
"clean",
"name",
"for",
"a",
"pass",
"."
] | [
"Patmos",
"\"Patmos Call Graph Builder\""
] | PatmosCallGraphBuilder1 | getPassName | Patmos | VLIW | LLVM | 26,210 | 11 | 1 | [] |
[
"<s>",
"static",
"void",
"nios2_dump_frame_layout",
"(",
"FILE",
"*",
"file",
")",
"{",
"fprintf",
"(",
"file",
",",
"\"\\t%s Current Frame Info\\n\"",
",",
"ASM_COMMENT_START",
")",
";",
"fprintf",
"(",
"file",
",",
"\"\\t%s total_size = %d\\n\"",
",",
"ASM_COMMENT... | [
"Dump",
"stack",
"layout",
"."
] | [
"nios2",
"\"\\t%s Current Frame Info\\n\"",
"\"\\t%s total_size = %d\\n\"",
"\"\\t%s var_size = %d\\n\"",
"\"\\t%s args_size = %d\\n\"",
"\"\\t%s save_reg_size = %d\\n\"",
"\"\\t%s initialized = %d\\n\"",
"\"\\t%s save_regs_offset = %d\\n\"",
"\"\\t%s is_leaf = %d\\n\"",
"\"\\t%s frame_pointer_nee... | nios2 | nios2_dump_frame_layout | nios2 | MPU | GCC | 26,211 | 148 | 1 | [] |
[
"<s>",
"const",
"TargetRegisterClass",
"*",
"MipsRegisterInfo",
"::",
"getPointerRegClass",
"(",
"const",
"MachineFunction",
"&",
"MF",
",",
"unsigned",
"Kind",
")",
"const",
"{",
"MipsABIInfo",
"ABI",
"=",
"MF",
".",
"getSubtarget",
"<",
"MipsSubtarget",
">",
"... | [
"getPointerRegClass",
"-",
"Returns",
"a",
"TargetRegisterClass",
"used",
"for",
"pointer",
"values",
"."
] | [
"Mips",
"Mips",
"Mips",
"Mips",
"Mips::GPR64RegClass",
"Mips::GPR32RegClass"
] | MipsRegisterInfo (2)1 | getPointerRegClass | Mips | CPU | LLVM | 26,212 | 51 | 1 | [] |
[
"<s>",
"void",
"BitcodeWriter",
"::",
"copyStrtab",
"(",
"StringRef",
"Strtab",
")",
"{",
"writeBlob",
"(",
"bitc",
"::",
"STRTAB_BLOCK_ID",
",",
"bitc",
"::",
"STRTAB_BLOB",
",",
"Strtab",
")",
";",
"WroteStrtab",
"=",
"true",
";",
"}",
"</s>"
] | [
"Copy",
"the",
"string",
"table",
"for",
"another",
"module",
"into",
"this",
"bitcode",
"file",
"."
] | [
"DirectX"
] | DXILBitcodeWriter | copyStrtab | DirectX | Virtual ISA | LLVM | 26,213 | 27 | 1 | [] |
[
"<s>",
"bool",
"Thumb2SizeReduce",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"{",
"const",
"TargetMachine",
"&",
"TM",
"=",
"MF",
".",
"getTarget",
"(",
")",
";",
"TII",
"=",
"static_cast",
"<",
"const",
"Thumb2InstrInfo",
"*",
">... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"ARM",
"ARM"
] | Thumb2SizeReduction7 | runOnMachineFunction | ARM | CPU | LLVM | 26,214 | 170 | 1 | [] |
[
"<s>",
"bool",
"NVPTXImageOptimizer",
"::",
"runOnFunction",
"(",
"Function",
"&",
"F",
")",
"{",
"if",
"(",
"skipFunction",
"(",
"F",
")",
")",
"return",
"false",
";",
"bool",
"Changed",
"=",
"false",
";",
"InstrToDelete",
".",
"clear",
"(",
")",
";",
... | [
"runOnFunction",
"-",
"Virtual",
"method",
"overriden",
"by",
"subclasses",
"to",
"do",
"the",
"per-function",
"processing",
"of",
"the",
"pass",
"."
] | [
"NVPTX",
"NVPTX",
"Intrinsic::nvvm_istypep_sampler",
"Intrinsic::nvvm_istypep_surface",
"Intrinsic::nvvm_istypep_texture"
] | NVPTXImageOptimizer5 | runOnFunction | NVPTX | GPU | LLVM | 26,215 | 164 | 1 | [] |
[
"<s>",
"int",
"flags_in_68881",
"(",
"void",
")",
"{",
"return",
"cc_status",
".",
"flags",
"&",
"CC_IN_68881",
";",
"}",
"</s>"
] | [
"Return",
"nonzero",
"if",
"flags",
"are",
"currently",
"in",
"the",
"68881",
"flag",
"register",
"."
] | [
"m68k"
] | m68k3 | flags_in_68881 | m68k | MPU | GCC | 26,216 | 14 | 1 | [] |
[
"<s>",
"unsigned",
"FISCMCCodeEmitter",
"::",
"getMachineOpValue",
"(",
"const",
"MCInst",
"&",
"MI",
",",
"const",
"MCOperand",
"&",
"MO",
",",
"SmallVectorImpl",
"<",
"MCFixup",
">",
"&",
"Fixups",
",",
"const",
"MCSubtargetInfo",
"&",
"STI",
")",
"const",
... | [
"getMachineOpValue",
"-",
"Return",
"binary",
"encoding",
"of",
"operand",
"."
] | [
"FISC",
"FISC",
"\"unknown operand kind in printOperand\"",
"0",
"\"Unknown fixup kind! (\"",
"\")\"",
"FISC",
"FISC::fixup_fisc_mov_q1_pcrel",
"FISC",
"FISC::fixup_fisc_mov_q2_pcrel",
"FISC",
"FISC::fixup_fisc_mov_q3_pcrel",
"FISC",
"FISC::fixup_fisc_mov_q4_pcrel",
"FISC",
"FISC::fixu... | FISCMCCodeEmitter | getMachineOpValue | FISC | CPU | LLVM | 26,217 | 389 | 1 | [] |
[
"<s>",
"static",
"inline",
"bool",
"rs6000_builtin_type_compatible",
"(",
"tree",
"t",
",",
"int",
"id",
")",
"{",
"tree",
"builtin_type",
";",
"builtin_type",
"=",
"rs6000_builtin_type",
"(",
"id",
")",
";",
"if",
"(",
"t",
"==",
"error_mark_node",
")",
"re... | [
"Return",
"true",
"iff",
"ARGTYPE",
"can",
"be",
"compatibly",
"passed",
"as",
"PARMTYPE",
"."
] | [
"rs6000"
] | rs6000-c3 | rs6000_builtin_type_compatible | rs6000 | CPU | GCC | 26,218 | 58 | 1 | [] |
[
"<s>",
"bool",
"doInitialization",
"(",
"Module",
"&",
"M",
")",
"override",
"{",
"FDivFunc",
"=",
"findFunction",
"(",
"M",
",",
"\"__fdiv\"",
")",
";",
"FRemFunc",
"=",
"findFunction",
"(",
"M",
",",
"\"__frem\"",
")",
";",
"UDivFunc",
"=",
"findFunction... | [
"Set",
"up",
"the",
"AsmPrinter",
"when",
"we",
"are",
"working",
"on",
"a",
"new",
"module",
"."
] | [
"TPC",
"\"__fdiv\"",
"\"__frem\"",
"\"__udiv\"",
"\"__urem\"",
"\"__sdiv\"",
"\"__srem\""
] | NodePreLegalizer | doInitialization | TPC | Virtual ISA | LLVM | 26,219 | 157 | 1 | [] |
[
"<s>",
"const",
"char",
"*",
"getPassName",
"(",
")",
"const",
"override",
"{",
"return",
"\"Lanai SET_FLAG ALU combiner pass\"",
";",
"}",
"</s>"
] | [
"getPassName",
"-",
"Return",
"a",
"nice",
"clean",
"name",
"for",
"a",
"pass",
"."
] | [
"Lanai",
"\"Lanai SET_FLAG ALU combiner pass\""
] | LanaiSetflagAluCombiner | getPassName | Lanai | CPU | LLVM | 26,220 | 13 | 1 | [] |
[
"<s>",
"void",
"X86PassConfig",
"::",
"addPreRegAlloc",
"(",
")",
"{",
"if",
"(",
"getOptLevel",
"(",
")",
"!=",
"CodeGenOpt",
"::",
"None",
")",
"{",
"addPass",
"(",
"&",
"LiveRangeShrinkID",
")",
";",
"addPass",
"(",
"createX86FixupSetCC",
"(",
")",
")",... | [
"This",
"method",
"may",
"be",
"implemented",
"by",
"targets",
"that",
"want",
"to",
"run",
"passes",
"immediately",
"before",
"register",
"allocation",
"."
] | [
"X86",
"X86",
"X86",
"X86",
"X86",
"X86",
"X86",
"X86"
] | X86TargetMachine101 | addPreRegAlloc | X86 | CPU | LLVM | 26,221 | 75 | 1 | [] |
[
"<s>",
"static",
"int",
"dispatch_function_versions",
"(",
"tree",
"dispatch_decl",
",",
"void",
"*",
"fndecls_p",
",",
"basic_block",
"*",
"empty_bb",
")",
"{",
"tree",
"default_decl",
";",
"gimple",
"*",
"ifunc_cpu_init_stmt",
";",
"gimple_seq",
"gseq",
";",
"... | [
"This",
"function",
"generates",
"the",
"dispatch",
"function",
"for",
"multi-versioned",
"functions",
".",
"DISPATCH_DECL",
"is",
"the",
"function",
"which",
"will",
"contain",
"the",
"dispatch",
"logic",
".",
"FNDECLS",
"are",
"the",
"function",
"choices",
"for"... | [
"i386",
"0",
"0",
"2",
"1",
"0",
"1",
"0",
"0"
] | i3865 | dispatch_function_versions | i386 | CPU | GCC | 26,222 | 364 | 1 | [] |
[
"<s>",
"unsigned",
"SPUTargetLowering",
"::",
"ComputeNumSignBitsForTargetNode",
"(",
"SDValue",
"Op",
",",
"unsigned",
"Depth",
")",
"const",
"{",
"switch",
"(",
"Op",
".",
"getOpcode",
"(",
")",
")",
"{",
"default",
":",
"return",
"1",
";",
"case",
"ISD",
... | [
"Determine",
"the",
"number",
"of",
"bits",
"in",
"the",
"operation",
"that",
"are",
"sign",
"bits",
"."
] | [
"CellSPU",
"SPU",
"1",
"ISD::SETCC",
"MVT::i8",
"MVT::i16",
"MVT::i32",
"MVT::i32"
] | SPUISelLowering12 | ComputeNumSignBitsForTargetNode | CellSPU | MPU | LLVM | 26,223 | 80 | 1 | [] |
[
"<s>",
"bool",
"AArch64TargetLowering",
"::",
"isProfitableToHoist",
"(",
"Instruction",
"*",
"I",
")",
"const",
"{",
"if",
"(",
"I",
"->",
"getOpcode",
"(",
")",
"!=",
"Instruction",
"::",
"FMul",
")",
"return",
"true",
";",
"if",
"(",
"!",
"I",
"->",
... | [
"Return",
"true",
"if",
"it",
"is",
"profitable",
"to",
"hoist",
"instruction",
"in",
"the",
"then/else",
"to",
"before",
"if",
"."
] | [
"AArch64",
"AArch64",
"0",
"ISD::FMA"
] | AArch64ISelLowering | isProfitableToHoist | AArch64 | CPU | LLVM | 26,224 | 156 | 1 | [] |
[
"<s>",
"bool",
"parse",
"(",
"cl",
"::",
"Option",
"&",
"O",
",",
"StringRef",
"ArgName",
",",
"StringRef",
"Arg",
",",
"unsigned",
"&",
"Value",
")",
"{",
"if",
"(",
"Arg",
".",
"getAsInteger",
"(",
"0",
",",
"Value",
")",
")",
"return",
"O",
".",... | [
"Parses",
"just-constructed",
"SpecialCaseList",
"entries",
"from",
"a",
"memory",
"buffer",
"."
] | [
"AMDGPU",
"0",
"\"'\"",
"\"' value invalid for uint argument!\"",
"100",
"\"'\"",
"\"' value must be in the range [0, 100]!\""
] | GCNHazardRecognizer (2) | parse | AMDGPU | GPU | LLVM | 26,225 | 65 | 1 | [] |
[
"<s>",
"void",
"GCNHazardRecognizer",
"::",
"AdvanceCycle",
"(",
")",
"{",
"if",
"(",
"!",
"CurrCycleInstr",
")",
"return",
";",
"if",
"(",
"CurrCycleInstr",
"->",
"isImplicitDef",
"(",
")",
"||",
"CurrCycleInstr",
"->",
"isDebugInstr",
"(",
")",
"||",
"Curr... | [
"AdvanceCycle",
"-",
"This",
"callback",
"is",
"invoked",
"whenever",
"the",
"next",
"top-down",
"instruction",
"to",
"be",
"scheduled",
"can",
"not",
"issue",
"in",
"the",
"current",
"cycle",
",",
"either",
"because",
"of",
"latency",
"or",
"resource",
"confl... | [
"AMDGPU",
"1"
] | GCNHazardRecognizer12 | AdvanceCycle | AMDGPU | GPU | LLVM | 26,226 | 120 | 1 | [] |
[
"<s>",
"void",
"WebAssemblyInstPrinter",
"::",
"printInst",
"(",
"const",
"MCInst",
"*",
"MI",
",",
"raw_ostream",
"&",
"OS",
",",
"StringRef",
"Annot",
",",
"const",
"MCSubtargetInfo",
"&",
"STI",
")",
"{",
"llvm_unreachable",
"(",
"\"TODO: implement printInst\""... | [
"Print",
"the",
"specified",
"MCInst",
"to",
"the",
"specified",
"raw_ostream",
"."
] | [
"WebAssembly",
"WebAssembly",
"\"TODO: implement printInst\""
] | WebAssemblyInstPrinter3 | printInst | WebAssembly | Virtual ISA | LLVM | 26,227 | 29 | 1 | [] |
[
"<s>",
"int",
"riscv_split_const_insns",
"(",
"rtx",
"x",
")",
"{",
"unsigned",
"int",
"low",
",",
"high",
";",
"low",
"=",
"riscv_const_insns",
"(",
"riscv_subword",
"(",
"x",
",",
"false",
")",
")",
";",
"high",
"=",
"riscv_const_insns",
"(",
"riscv_subw... | [
"X",
"is",
"a",
"doubleword",
"constant",
"that",
"can",
"be",
"handled",
"by",
"splitting",
"it",
"into",
"two",
"words",
"and",
"loading",
"each",
"word",
"separately",
".",
"Return",
"the",
"number",
"of",
"instructions",
"required",
"to",
"do",
"this",
... | [
"riscv",
"0",
"0"
] | riscv | riscv_split_const_insns | riscv | CPU | GCC | 26,228 | 54 | 1 | [] |
[
"<s>",
"bool",
"ARMAsmPrinter",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"{",
"this",
"->",
"MF",
"=",
"&",
"MF",
";",
"AFI",
"=",
"MF",
".",
"getInfo",
"<",
"ARMFunctionInfo",
">",
"(",
")",
";",
"MCP",
"=",
"MF",
".",
"... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"ARM",
"ARM",
"ARM",
"\"\\n\"",
"\"\\n\"",
"0",
"\"Unknown linkage type!\"",
"\"\\t.text\"",
"\"\\t.text\"",
"\"\\t.globl\\t\"",
"\"\\n\"",
"\".section __TEXT,__textcoal_nt,coalesced,pure_instructions\"",
"\"\\t.globl\\t\"",
"\"\\n\"",
"\"\\t.weak_definition\\t\"",
"\"\\n\"",
"\"\\n\... | ARMAsmPrinter31 | runOnMachineFunction | ARM | CPU | LLVM | 26,229 | 452 | 1 | [] |
[
"<s>",
"static",
"void",
"nios2_trampoline_init",
"(",
"rtx",
"m_tramp",
",",
"tree",
"fndecl",
",",
"rtx",
"cxt",
")",
"{",
"rtx",
"fnaddr",
"=",
"XEXP",
"(",
"DECL_RTL",
"(",
"fndecl",
")",
",",
"0",
")",
";",
"rtx",
"ctx_reg",
"=",
"force_reg",
"(",... | [
"Emit",
"RTL",
"insns",
"to",
"initialize",
"the",
"variable",
"parts",
"of",
"a",
"trampoline",
".",
"FNADDR",
"is",
"an",
"RTX",
"for",
"the",
"address",
"of",
"the",
"function",
"'s",
"pure",
"code",
".",
"CXT",
"is",
"an",
"RTX",
"for",
"the",
"sta... | [
"nios2",
"0",
"0",
"\"__trampoline_setup\"",
"3"
] | nios22 | nios2_trampoline_init | nios2 | MPU | GCC | 26,230 | 81 | 1 | [] |
[
"<s>",
"virtual",
"const",
"char",
"*",
"getPassName",
"(",
")",
"const",
"{",
"return",
"\"SPARC Delay Slot Filler\"",
";",
"}",
"</s>"
] | [
"getPassName",
"-",
"Return",
"a",
"nice",
"clean",
"name",
"for",
"a",
"pass",
"."
] | [
"Sparc",
"\"SPARC Delay Slot Filler\""
] | DelaySlotFiller1 | getPassName | Sparc | CPU | LLVM | 26,231 | 13 | 1 | [] |
[
"<s>",
"static",
"MachineInstr",
"*",
"getDef",
"(",
"unsigned",
"Reg",
",",
"const",
"MachineRegisterInfo",
"*",
"MRI",
")",
"{",
"if",
"(",
"TargetRegisterInfo",
"::",
"isPhysicalRegister",
"(",
"Reg",
")",
")",
"return",
"nullptr",
";",
"return",
"MRI",
"... | [
"Get",
"the",
"concrete",
"record",
"with",
"the",
"specified",
"name",
"."
] | [
"SystemZ"
] | SystemZInstrInfo | getDef | SystemZ | CPU | LLVM | 26,232 | 35 | 1 | [] |
[
"<s>",
"bool",
"XCoreFrameLowering",
"::",
"spillCalleeSavedRegisters",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"MI",
",",
"ArrayRef",
"<",
"CalleeSavedInfo",
">",
"CSI",
",",
"const",
"TargetRegisterInfo",
"*",
"TRI",
")",
... | [
"spillCalleeSavedRegisters",
"-",
"Issues",
"instruction",
"(",
"s",
")",
"to",
"spill",
"all",
"callee",
"saved",
"registers",
"and",
"returns",
"true",
"if",
"it",
"is",
"n't",
"possible",
"/",
"profitable",
"to",
"do",
"so",
"by",
"issuing",
"a",
"series"... | [
"XCore",
"XCore",
"XCore",
"XCore",
"XCore",
"XCore::LR",
"XCore::R10",
"\"LR & FP are always handled in emitPrologue\""
] | XCoreFrameLowering22 | spillCalleeSavedRegisters | XCore | MPU | LLVM | 26,233 | 254 | 1 | [] |
[
"<s>",
"bool",
"AArch64InstrInfo",
"::",
"shouldClusterMemOps",
"(",
"ArrayRef",
"<",
"const",
"MachineOperand",
"*",
">",
"BaseOps1",
",",
"ArrayRef",
"<",
"const",
"MachineOperand",
"*",
">",
"BaseOps2",
",",
"unsigned",
"NumLoads",
",",
"unsigned",
"NumBytes",
... | [
"Returns",
"true",
"if",
"the",
"two",
"given",
"memory",
"operations",
"should",
"be",
"scheduled",
"adjacent",
"."
] | [
"AArch64",
"AArch64",
"1",
"1",
"\"Only base registers and frame indices are supported.\"",
"2",
"2",
"2",
"63",
"64",
"\"Caller should have ordered offsets.\"",
"\"Caller should have ordered offsets.\"",
"1"
] | AArch64InstrInfo105 | shouldClusterMemOps | AArch64 | CPU | LLVM | 26,234 | 398 | 1 | [] |
[
"<s>",
"bool",
"isToken",
"(",
")",
"const",
"{",
"return",
"Kind",
"==",
"Token",
";",
"}",
"</s>"
] | [
"isToken",
"-",
"Is",
"this",
"a",
"token",
"operand",
"?"
] | [
"AAP"
] | AAPAsmParser | isToken | AAP | MPU | LLVM | 26,235 | 12 | 1 | [] |
[
"<s>",
"unsigned",
"AMDGPUTargetLowering",
"::",
"ComputeNumSignBitsForTargetNode",
"(",
"SDValue",
"Op",
",",
"const",
"APInt",
"&",
"DemandedElts",
",",
"const",
"SelectionDAG",
"&",
"DAG",
",",
"unsigned",
"Depth",
")",
"const",
"{",
"switch",
"(",
"Op",
".",... | [
"Determine",
"the",
"number",
"of",
"bits",
"in",
"the",
"operation",
"that",
"are",
"sign",
"bits",
"."
] | [
"AMDGPU",
"AMDGPU",
"AMDGPUISD::BFE_I32",
"2",
"1",
"32",
"1",
"1",
"0",
"1",
"AMDGPUISD::BFE_U32",
"2",
"32",
"0x1f",
"1",
"AMDGPUISD::CARRY",
"AMDGPUISD::BORROW",
"31",
"AMDGPUISD::BUFFER_LOAD_BYTE",
"25",
"AMDGPUISD::BUFFER_LOAD_SHORT",
"17",
"AMDGPUISD::BUFFER_LOAD_UB... | AMDGPUISelLowering (2)2 | ComputeNumSignBitsForTargetNode | AMDGPU | GPU | LLVM | 26,236 | 228 | 1 | [] |
[
"<s>",
"TargetIRAnalysis",
"PPCTargetMachine",
"::",
"getTargetIRAnalysis",
"(",
")",
"{",
"return",
"TargetIRAnalysis",
"(",
"[",
"this",
"]",
"(",
"const",
"Function",
"&",
"F",
")",
"{",
"return",
"TargetTransformInfo",
"(",
"PPCTTIImpl",
"(",
"this",
",",
... | [
"Get",
"a",
"TargetIRAnalysis",
"appropriate",
"for",
"the",
"target",
"."
] | [
"PowerPC",
"PPC",
"PPC"
] | PPCTargetMachine13 | getTargetIRAnalysis | PowerPC | CPU | LLVM | 26,237 | 35 | 1 | [] |
[
"<s>",
"void",
"getAnalysisUsage",
"(",
"AnalysisUsage",
"&",
"AU",
")",
"const",
"override",
"{",
"AU",
".",
"addRequired",
"<",
"MachineDominatorTree",
">",
"(",
")",
";",
"AU",
".",
"addRequired",
"<",
"MachinePostDominatorTree",
">",
"(",
")",
";",
"AU",... | [
"getAnalysisUsage",
"-",
"Subclasses",
"that",
"override",
"getAnalysisUsage",
"must",
"call",
"this",
"."
] | [
"Patmos"
] | PatmosFunctionSplitter1 | getAnalysisUsage | Patmos | VLIW | LLVM | 26,238 | 54 | 1 | [] |
[
"<s>",
"static",
"void",
"parse_mtune_ctrl_str",
"(",
"bool",
"dump",
")",
"{",
"if",
"(",
"!",
"ix86_tune_ctrl_string",
")",
"return",
";",
"char",
"*",
"next_feature_string",
"=",
"NULL",
";",
"char",
"*",
"curr_feature_string",
"=",
"xstrdup",
"(",
"ix86_tu... | [
"parse",
"-mtune-ctrl=",
"option",
".",
"When",
"DUMP",
"is",
"true",
",",
"print",
"the",
"features",
"that",
"are",
"explicitly",
"set",
"."
] | [
"i386",
"0",
"\"Explicitly %s feature %s\\n\"",
"\"clear\"",
"\"set\"",
"\"Unknown parameter to option -mtune-ctrl: %s\"",
"1"
] | i3864 | parse_mtune_ctrl_str | i386 | CPU | GCC | 26,239 | 178 | 1 | [] |
[
"<s>",
"unsigned",
"PPCInstrInfo",
"::",
"isLoadFromStackSlot",
"(",
"const",
"MachineInstr",
"*",
"MI",
",",
"int",
"&",
"FrameIndex",
")",
"const",
"{",
"switch",
"(",
"MI",
"->",
"getOpcode",
"(",
")",
")",
"{",
"default",
":",
"break",
";",
"case",
"... | [
"isLoadFromStackSlot",
"-",
"If",
"the",
"specified",
"machine",
"instruction",
"is",
"a",
"direct",
"load",
"from",
"a",
"stack",
"slot",
",",
"return",
"the",
"virtual",
"or",
"physical",
"register",
"number",
"of",
"the",
"destination",
"along",
"with",
"th... | [
"PowerPC",
"PPC",
"PPC::LD",
"PPC::LWZ",
"PPC::LFS",
"PPC::LFD",
"PPC::RESTORE_CR",
"PPC::RESTORE_CRBIT",
"PPC::LVX",
"PPC::RESTORE_VRSAVE",
"1",
"1",
"2",
"2",
"0",
"0"
] | PPCInstrInfo (2) | isLoadFromStackSlot | PowerPC | CPU | LLVM | 26,240 | 139 | 1 | [] |
[
"<s>",
"static",
"bool",
"rs6000_can_change_mode_class",
"(",
"machine_mode",
"from",
",",
"machine_mode",
"to",
",",
"reg_class_t",
"rclass",
")",
"{",
"unsigned",
"from_size",
"=",
"GET_MODE_SIZE",
"(",
"from",
")",
";",
"unsigned",
"to_size",
"=",
"GET_MODE_SIZ... | [
"Implement",
"TARGET_CAN_CHANGE_MODE_CLASS",
"."
] | [
"rs6000",
"8",
"8",
"8",
"8",
"8",
"8",
"15",
"16",
"8",
"16",
"1"
] | rs60007 | rs6000_can_change_mode_class | rs6000 | CPU | GCC | 26,241 | 273 | 1 | [] |
[
"<s>",
"void",
"AVRInstrInfo",
"::",
"copyPhysReg",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"MI",
",",
"const",
"DebugLoc",
"&",
"DL",
",",
"MCRegister",
"DestReg",
",",
"MCRegister",
"SrcReg",
",",
"bool",
"KillSrc",
... | [
"}",
"Branch",
"Analysis",
"&",
"Modification"
] | [
"AVR",
"AVR",
"AVR",
"AVR",
"AVR",
"AVR::DREGSRegClass",
"AVR::MOVWRdRr",
"AVR::MOVRdRr",
"AVR::MOVRdRr",
"AVR::GPR8RegClass",
"AVR::MOVRdRr",
"AVR::SP",
"AVR::DREGSRegClass",
"AVR::SPREAD",
"AVR::SP",
"AVR::DREGSRegClass",
"AVR::SPWRITE",
"\"Impossible reg-to-reg copy\""
] | AVRInstrInfo14 | copyPhysReg | AVR | MPU | LLVM | 26,242 | 317 | 1 | [] |
[
"<s>",
"bool",
"AArch64InstrInfo",
"::",
"isSchedulingBoundary",
"(",
"const",
"MachineInstr",
"&",
"MI",
",",
"const",
"MachineBasicBlock",
"*",
"MBB",
",",
"const",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"if",
"(",
"TargetInstrInfo",
"::",
"isSchedul... | [
"isSchedulingBoundary",
"-",
"Overrides",
"the",
"isSchedulingBoundary",
"from",
"Codegen/TargetInstrInfo.cpp",
"to",
"make",
"it",
"capable",
"of",
"identifying",
"ENDBR",
"intructions",
"and",
"prevent",
"it",
"from",
"being",
"re-scheduled",
"."
] | [
"AArch64",
"AArch64",
"AArch64::HINT",
"0",
"0x14",
"AArch64::DSB",
"AArch64::ISB"
] | AArch64InstrInfo51 | isSchedulingBoundary | AArch64 | CPU | LLVM | 26,243 | 129 | 1 | [] |
[
"<s>",
"void",
"SNESRegisterInfo",
"::",
"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",
"."
] | [
"SNES",
"SNES",
"0",
"\"Unexpected SPAdj value\"",
"SNES",
"SNES",
"1",
"1",
"SNES::A",
"6",
"\"Offset is out of range\"",
"1"
] | SNESRegisterInfo | eliminateFrameIndex | SNES | DSP | LLVM | 26,244 | 211 | 1 | [] |
[
"<s>",
"bool",
"XNCMFrameLowering",
"::",
"restoreCalleeSavedRegisters",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"MI",
",",
"const",
"std",
"::",
"vector",
"<",
"CalleeSavedInfo",
">",
"&",
"CSI",
",",
"const",
"TargetRegi... | [
"restoreCalleeSavedRegisters",
"-",
"Issues",
"instruction",
"(",
"s",
")",
"to",
"restore",
"all",
"callee",
"saved",
"registers",
"and",
"returns",
"true",
"if",
"it",
"is",
"n't",
"possible",
"/",
"profitable",
"to",
"do",
"so",
"by",
"issuing",
"a",
"ser... | [
"XNCM",
"XNCM",
"0"
] | XNCMFrameLowering | restoreCalleeSavedRegisters | XNCM | CPU | LLVM | 26,245 | 91 | 1 | [] |
[
"<s>",
"static",
"int",
"bfin_issue_rate",
"(",
"void",
")",
"{",
"return",
"3",
";",
"}",
"</s>"
] | [
"Implement",
"TARGET_SCHED_ISSUE_RATE",
"."
] | [
"bfin",
"3"
] | bfin | bfin_issue_rate | bfin | DSP | GCC | 26,246 | 11 | 1 | [] |
[
"<s>",
"virtual",
"bool",
"isProfitableToDupForIfCvt",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"unsigned",
"NumInstrs",
")",
"const",
"{",
"return",
"NumInstrs",
"&&",
"NumInstrs",
"==",
"1",
";",
"}",
"</s>"
] | [
"Return",
"true",
"if",
"it",
"'s",
"profitable",
"for",
"if-converter",
"to",
"duplicate",
"instructions",
"of",
"specified",
"accumulated",
"instruction",
"latencies",
"in",
"the",
"specified",
"MBB",
"to",
"enable",
"if-conversion",
"."
] | [
"ARM",
"1"
] | ARMBaseInstrInfo22 | isProfitableToDupForIfCvt | ARM | CPU | LLVM | 26,247 | 21 | 1 | [] |
[
"<s>",
"void",
"ix86_emit_binop",
"(",
"enum",
"rtx_code",
"code",
",",
"machine_mode",
"mode",
",",
"rtx",
"dst",
",",
"rtx",
"src",
")",
"{",
"rtx",
"op",
",",
"clob",
";",
"op",
"=",
"gen_rtx_SET",
"(",
"dst",
",",
"gen_rtx_fmt_ee",
"(",
"code",
","... | [
"Emit",
"x86",
"binary",
"operand",
"CODE",
"in",
"mode",
"MODE",
",",
"where",
"the",
"first",
"operand",
"matches",
"destination",
".",
"RTX",
"includes",
"clobber",
"of",
"FLAGS_REG",
"."
] | [
"i386",
"2"
] | i386-expand | ix86_emit_binop | i386 | CPU | GCC | 26,248 | 72 | 1 | [] |
[
"<s>",
"void",
"MetadataStreamerV3",
"::",
"verify",
"(",
"StringRef",
"HSAMetadataString",
")",
"const",
"{",
"errs",
"(",
")",
"<<",
"\"AMDGPU HSA Metadata Parser Test: \"",
";",
"msgpack",
"::",
"Document",
"FromHSAMetadataString",
";",
"if",
"(",
"!",
"FromHSAMe... | [
"Check",
"if",
"this",
"register",
"bank",
"is",
"valid",
"."
] | [
"AMDGPU",
"\"AMDGPU HSA Metadata Parser Test: \"",
"\"FAIL\\n\"",
"\"PASS\"",
"\"FAIL\"",
"\"Original input: \"",
"\"Produced output: \""
] | AMDGPUHSAMetadataStreamer | verify | AMDGPU | GPU | LLVM | 26,249 | 108 | 1 | [] |
[
"<s>",
"unsigned",
"getFramePred",
"(",
"const",
"MachineInstr",
"&",
"MI",
")",
"const",
"{",
"assert",
"(",
"isFrameInstr",
"(",
"MI",
")",
")",
";",
"if",
"(",
"isFrameSetup",
"(",
"MI",
")",
")",
"return",
"MI",
".",
"getOperand",
"(",
"2",
")",
... | [
"Returns",
"predicate",
"register",
"associated",
"with",
"the",
"given",
"frame",
"instruction",
"."
] | [
"ARM",
"2",
"ARM::ADJCALLSTACKUP",
"ARM::tADJCALLSTACKUP",
"3"
] | ARMBaseInstrInfo21 | getFramePred | ARM | CPU | LLVM | 26,250 | 73 | 1 | [] |
[
"<s>",
"static",
"sbitmap",
"aarch64_get_separate_components",
"(",
"void",
")",
"{",
"sbitmap",
"components",
"=",
"sbitmap_alloc",
"(",
"LAST_SAVED_REGNUM",
"+",
"1",
")",
";",
"bitmap_clear",
"(",
"components",
")",
";",
"for",
"(",
"unsigned",
"regno",
"=",
... | [
"Implement",
"TARGET_SHRINK_WRAP_GET_SEPARATE_COMPONENTS",
"."
] | [
"aarch64",
"1",
"0"
] | aarch646 | aarch64_get_separate_components | aarch64 | CPU | GCC | 26,251 | 175 | 1 | [] |
[
"<s>",
"bool",
"X86DomainReassignment",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"{",
"if",
"(",
"skipFunction",
"(",
"MF",
".",
"getFunction",
"(",
")",
")",
")",
"return",
"false",
";",
"if",
"(",
"DisableX86DomainReassignment",
... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"X86",
"X86",
"X86",
"\"***** Machine Function before Domain Reassignment *****\\n\"",
"X86",
"\"Expected MIR to be in SSA form\"",
"0",
"0",
"\"***** Machine Function after Domain Reassignment *****\\n\""
] | X86DomainReassignment23 | runOnMachineFunction | X86 | CPU | LLVM | 26,252 | 322 | 1 | [] |
[
"<s>",
"bool",
"MandarinFrameLowering",
"::",
"hasFP",
"(",
"const",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"const",
"MachineFrameInfo",
"*",
"MFI",
"=",
"MF",
".",
"getFrameInfo",
"(",
")",
";",
"return",
"MF",
".",
"getTarget",
"(",
")",
".",
... | [
"hasFP",
"-",
"Return",
"true",
"if",
"the",
"specified",
"function",
"should",
"have",
"a",
"dedicated",
"frame",
"pointer",
"register",
"."
] | [
"Mandarin"
] | MandarinFrameLowering | hasFP | Mandarin | CPU | LLVM | 26,253 | 50 | 1 | [] |
[
"<s>",
"static",
"machine_mode",
"cris_cc_modes_compatible",
"(",
"machine_mode",
"m1",
",",
"machine_mode",
"m2",
")",
"{",
"if",
"(",
"m1",
"==",
"CC_NZVCmode",
")",
"{",
"if",
"(",
"m2",
"==",
"CC_NZVCmode",
"||",
"m2",
"==",
"CCmode",
")",
"return",
"C... | [
"Worker",
"function",
"for",
"TARGET_CC_MODES_COMPATIBLE",
".",
"We",
"start",
"with",
"CCmode",
"for",
"most",
"comparisons",
",",
"which",
"merges",
"and",
"yields",
"to",
"CC_NZmode",
"or",
"CC_NZVCmode",
".",
"The",
"exceptions",
"have",
"CC_NZVCmode",
"and",
... | [
"cris"
] | cris | cris_cc_modes_compatible | cris | MPU | GCC | 26,254 | 72 | 1 | [] |
[
"<s>",
"static",
"int",
"loongarch_address_cost",
"(",
"rtx",
"addr",
",",
"machine_mode",
"mode",
",",
"addr_space_t",
"as",
"ATTRIBUTE_UNUSED",
",",
"bool",
"speed",
"ATTRIBUTE_UNUSED",
")",
"{",
"return",
"loongarch_address_insns",
"(",
"addr",
",",
"mode",
","... | [
"Implement",
"TARGET_ADDRESS_COST",
"."
] | [
"loongarch"
] | loongarch | loongarch_address_cost | loongarch | CPU | GCC | 26,255 | 30 | 1 | [] |
[
"<s>",
"static",
"void",
"alpha_reorg",
"(",
"void",
")",
"{",
"if",
"(",
"alpha_tp",
"!=",
"ALPHA_TP_PROG",
"||",
"flag_exceptions",
")",
"alpha_handle_trap_shadows",
"(",
")",
";",
"if",
"(",
"optimize",
"&&",
"!",
"optimize_size",
"&&",
"alpha_tp",
"!=",
... | [
"Machine",
"dependent",
"reorg",
"pass",
"."
] | [
"alpha",
"8",
"16"
] | alpha3 | alpha_reorg | alpha | MPU | GCC | 26,256 | 66 | 1 | [] |
[
"<s>",
"bool",
"AMDGPUAlwaysInline",
"::",
"runOnModule",
"(",
"Module",
"&",
"M",
")",
"{",
"AMDGPUAS",
"AMDGPUAS",
"=",
"AMDGPU",
"::",
"getAMDGPUAS",
"(",
"M",
")",
";",
"std",
"::",
"vector",
"<",
"GlobalAlias",
"*",
">",
"AliasesToRemove",
";",
"Small... | [
"runOnModule",
"-",
"Virtual",
"method",
"overriden",
"by",
"subclasses",
"to",
"process",
"the",
"module",
"being",
"operated",
"on",
"."
] | [
"AMDGPU",
"AMDGPU",
"AMDGPU",
"AMDGPU",
"AMDGPU::getAMDGPUAS",
"8",
"8",
"AMDGPU",
"AMDGPU",
"AMDGPU"
] | AMDGPUAlwaysInlinePass5 | runOnModule | AMDGPU | GPU | LLVM | 26,257 | 312 | 1 | [] |
[
"<s>",
"void",
"CSKYAsmBackend",
"::",
"applyFixup",
"(",
"const",
"MCAssembler",
"&",
"Asm",
",",
"const",
"MCFixup",
"&",
"Fixup",
",",
"const",
"MCValue",
"&",
"Target",
",",
"MutableArrayRef",
"<",
"char",
">",
"Data",
",",
"uint64_t",
"Value",
",",
"b... | [
"Apply",
"the",
"Value",
"for",
"given",
"Fixup",
"into",
"the",
"provided",
"data",
"fragment",
",",
"at",
"the",
"offset",
"specified",
"by",
"the",
"fixup",
"and",
"following",
"the",
"fixup",
"kind",
"as",
"appropriate",
"."
] | [
"CSKY",
"CSKY"
] | CSKYAsmBackend2 | applyFixup | CSKY | CPU | LLVM | 26,258 | 42 | 1 | [] |
[
"<s>",
"void",
"mips_d_target_versions",
"(",
"void",
")",
"{",
"if",
"(",
"TARGET_64BIT",
")",
"d_add_builtin_version",
"(",
"\"MIPS64\"",
")",
";",
"else",
"d_add_builtin_version",
"(",
"\"MIPS32\"",
")",
";",
"if",
"(",
"mips_abi",
"==",
"ABI_32",
")",
"d_a... | [
"Implement",
"TARGET_D_CPU_VERSIONS",
"for",
"MIPS",
"targets",
"."
] | [
"mips",
"\"MIPS64\"",
"\"MIPS32\"",
"\"MIPS_O32\"",
"\"MIPS_EABI\"",
"\"MIPS_N32\"",
"\"MIPS_N64\"",
"\"MIPS_O64\"",
"\"MIPS_HardFloat\"",
"\"D_HardFloat\"",
"\"MIPS_SoftFloat\"",
"\"D_SoftFloat\""
] | mips-d | mips_d_target_versions | mips | CPU | GCC | 26,259 | 114 | 1 | [] |
[
"<s>",
"bool",
"LC2200InstrInfo",
"::",
"analyzeBranch",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"*",
"&",
"TBB",
",",
"MachineBasicBlock",
"*",
"&",
"FBB",
",",
"SmallVectorImpl",
"<",
"MachineOperand",
">",
"&",
"Cond",
",",
"bool",
"... | [
"analyzeBranch",
"-",
"Analyze",
"the",
"branching",
"code",
"at",
"the",
"end",
"of",
"MBB",
",",
"returning",
"true",
"if",
"it",
"can",
"not",
"be",
"understood",
"(",
"e.g",
"."
] | [
"LC2200",
"LC2200",
"4",
"0",
"LC2200::JMP",
"LC2200::CMP_JMP",
"LC2200::GOTO",
"0",
"0",
"0"
] | LC2200InstrInfo1 | analyzeBranch | LC2200 | CPU | LLVM | 26,260 | 385 | 1 | [] |
[
"<s>",
"const",
"TargetRegisterClass",
"*",
"WDC65816RegisterInfo",
"::",
"getPointerRegClass",
"(",
"const",
"MachineFunction",
"&",
"MF",
",",
"unsigned",
"Kind",
")",
"const",
"{",
"return",
"&",
"WDC",
"::",
"Int32RegsRegClass",
";",
"}",
"</s>"
] | [
"getPointerRegClass",
"-",
"Returns",
"a",
"TargetRegisterClass",
"used",
"for",
"pointer",
"values",
"."
] | [
"WDC65816",
"WDC",
"WDC::Int32RegsRegClass"
] | WDC65816RegisterInfo | getPointerRegClass | WDC65816 | MPU | LLVM | 26,261 | 24 | 1 | [] |
[
"<s>",
"bool",
"isMachineVerifierClean",
"(",
")",
"const",
"override",
"{",
"return",
"false",
";",
"}",
"</s>"
] | [
"Returns",
"true",
"if",
"the",
"target",
"is",
"expected",
"to",
"pass",
"all",
"machine",
"verifier",
"checks",
"."
] | [
"Mips"
] | MipsTargetMachine (2)1 | isMachineVerifierClean | Mips | CPU | LLVM | 26,262 | 11 | 1 | [] |
[
"<s>",
"void",
"ARCInstrInfo",
"::",
"loadRegFromStackSlot",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"I",
",",
"Register",
"DestReg",
",",
"int",
"FrameIndex",
",",
"const",
"TargetRegisterClass",
"*",
"RC",
",",
"const",
... | [
"Load",
"the",
"specified",
"register",
"of",
"the",
"given",
"register",
"class",
"from",
"the",
"specified",
"stack",
"frame",
"index",
"."
] | [
"ARC",
"ARC",
"\"Couldn't get MachineMemOperand for store to stack.\"",
"4",
"\"Only support 4-byte loads from stack now.\"",
"ARC::GPR32RegClass",
"\"Only support GPR32 stores to stack now.\"",
"\"Created load reg=\"",
"\" from FrameIndex=\"",
"\"\\n\"",
"ARC::LD_rs9",
"0"
] | ARCInstrInfo5 | loadRegFromStackSlot | ARC | MPU | LLVM | 26,263 | 198 | 1 | [] |
[
"<s>",
"static",
"void",
"record_content",
"(",
"rtx",
"loc",
",",
"rtx",
"value",
")",
"{",
"machine_mode",
"mode",
";",
"unsigned",
"char",
"index",
";",
"unsigned",
"char",
"val",
";",
"if",
"(",
"(",
"index",
"=",
"get_content_index",
"(",
"loc",
")"... | [
"Record",
"that",
"LOC",
"contains",
"VALUE",
".",
"For",
"HImode",
"locations",
"record",
"that",
"LOC+1",
"contains",
"VALUE+1",
".",
"If",
"LOC",
"is",
"not",
"a",
"register",
"or",
"stack",
"slot",
",",
"do",
"nothing",
".",
"If",
"VALUE",
"is",
"not... | [
"rl78",
"\"ASSIGNMENT of location to itself detected! [%s]\\n\""
] | rl78 | record_content | rl78 | MPU | GCC | 26,264 | 96 | 1 | [] |
[
"<s>",
"MipsInstrInfo",
"::",
"BranchType",
"MipsInstrInfo",
"::",
"analyzeBranch",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"*",
"&",
"TBB",
",",
"MachineBasicBlock",
"*",
"&",
"FBB",
",",
"SmallVectorImpl",
"<",
"MachineOperand",
">",
"&",... | [
"analyzeBranch",
"-",
"Analyze",
"the",
"branching",
"code",
"at",
"the",
"end",
"of",
"MBB",
",",
"returning",
"true",
"if",
"it",
"can",
"not",
"be",
"understood",
"(",
"e.g",
"."
] | [
"Mips",
"Mips",
"Mips",
"0",
"0",
"0",
"0"
] | MipsInstrInfo37 | analyzeBranch | Mips | CPU | LLVM | 26,265 | 372 | 1 | [] |
[
"<s>",
"const",
"uint32_t",
"*",
"X86RegisterInfo",
"::",
"getCallPreservedMask",
"(",
"CallingConv",
"::",
"ID",
"CC",
")",
"const",
"{",
"bool",
"HasAVX",
"=",
"Subtarget",
".",
"hasAVX",
"(",
")",
";",
"bool",
"HasAVX512",
"=",
"Subtarget",
".",
"hasAVX51... | [
"Return",
"a",
"mask",
"of",
"call-preserved",
"registers",
"for",
"the",
"given",
"calling",
"convention",
"on",
"the",
"current",
"function",
"."
] | [
"X86",
"X86"
] | X86RegisterInfo2 | getCallPreservedMask | X86 | CPU | LLVM | 26,266 | 185 | 1 | [] |
[
"<s>",
"SDValue",
"BPFTargetLowering",
"::",
"LowerReturn",
"(",
"SDValue",
"Chain",
",",
"CallingConv",
"::",
"ID",
"CallConv",
",",
"bool",
"IsVarArg",
",",
"const",
"SmallVectorImpl",
"<",
"ISD",
"::",
"OutputArg",
">",
"&",
"Outs",
",",
"const",
"SmallVect... | [
"This",
"hook",
"must",
"be",
"implemented",
"to",
"lower",
"outgoing",
"return",
"values",
",",
"described",
"by",
"the",
"Outs",
"array",
",",
"into",
"the",
"specified",
"DAG",
"."
] | [
"BPF",
"BPF",
"ISD::OutputArg",
"16",
"\"only integer returns supported\"",
"BPF",
"4",
"1",
"0",
"\"Can only return in registers!\"",
"1",
"BPFISD::RET_FLAG",
"0",
"MVT::Other"
] | BPFISelLowering6 | LowerReturn | BPF | Virtual ISA | LLVM | 26,267 | 273 | 1 | [] |
[
"<s>",
"bool",
"R600Packetizer",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"Fn",
")",
"{",
"const",
"TargetInstrInfo",
"*",
"TII",
"=",
"Fn",
".",
"getSubtarget",
"(",
")",
".",
"getInstrInfo",
"(",
")",
";",
"MachineLoopInfo",
"&",
"MLI",
"... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"R600",
"\"Empty DFA table!\"",
"8"
] | R600Packetizer35 | runOnMachineFunction | R600 | GPU | LLVM | 26,268 | 371 | 1 | [] |
[
"<s>",
"SUnit",
"*",
"R600SchedStrategy",
"::",
"pickNode",
"(",
"bool",
"&",
"IsTopNode",
")",
"{",
"SUnit",
"*",
"SU",
"=",
"nullptr",
";",
"NextInstKind",
"=",
"IDOther",
";",
"IsTopNode",
"=",
"false",
";",
"bool",
"AllowSwitchToAlu",
"=",
"(",
"CurEmi... | [
"Pick",
"the",
"next",
"node",
"to",
"schedule",
",",
"or",
"return",
"NULL",
"."
] | [
"R600",
"62.5f",
"\" approx. Wavefronts Required\\n\"",
"2",
"0",
"\" ** Pick node **\\n\"",
"\"NO NODE \\n\"",
"0"
] | R600MachineScheduler1 | pickNode | R600 | GPU | LLVM | 26,269 | 388 | 1 | [] |
[
"<s>",
"Register",
"SIInstrInfo",
"::",
"readlaneVGPRToSGPR",
"(",
"Register",
"SrcReg",
",",
"MachineInstr",
"&",
"UseMI",
",",
"MachineRegisterInfo",
"&",
"MRI",
")",
"const",
"{",
"const",
"TargetRegisterClass",
"*",
"VRC",
"=",
"MRI",
".",
"getRegClass",
"("... | [
"Copy",
"a",
"value",
"from",
"a",
"VGPR",
"(",
"SrcReg",
")",
"to",
"SGPR",
"."
] | [
"AMDGPU",
"SI",
"32",
"1",
"AMDGPU::V_READFIRSTLANE_B32",
"8",
"0",
"AMDGPU::SGPR_32RegClass",
"AMDGPU::V_READFIRSTLANE_B32",
"0",
"AMDGPU::REG_SEQUENCE",
"0"
] | SIInstrInfo11 | readlaneVGPRToSGPR | AMDGPU | GPU | LLVM | 26,270 | 331 | 1 | [] |
[
"<s>",
"static",
"inline",
"int",
"avr_outgoing_args_size",
"(",
"void",
")",
"{",
"return",
"ACCUMULATE_OUTGOING_ARGS",
"?",
"crtl",
"->",
"outgoing_args_size",
":",
"0",
";",
"}",
"</s>"
] | [
"Report",
"contribution",
"of",
"accumulated",
"outgoing",
"arguments",
"to",
"stack",
"size",
"."
] | [
"avr",
"0"
] | avr4 | avr_outgoing_args_size | avr | MPU | GCC | 26,271 | 18 | 1 | [] |
[
"<s>",
"const",
"M68kInstrInfo",
"*",
"getInstrInfo",
"(",
")",
"const",
"override",
"{",
"return",
"&",
"InstrInfo",
";",
"}",
"</s>"
] | [
"TargetInstrInfo",
"getter",
"."
] | [
"M68k",
"M68k"
] | M68kSubtarget | getInstrInfo | M68k | MPU | LLVM | 26,272 | 14 | 1 | [] |
[
"<s>",
"virtual",
"bool",
"ShouldShrinkFPConstant",
"(",
"MVT",
"VT",
")",
"const",
"{",
"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"
] | X86ISelLowering112 | ShouldShrinkFPConstant | X86 | CPU | LLVM | 26,273 | 20 | 1 | [] |
[
"<s>",
"bool",
"ARM64InstrInfo",
"::",
"canInsertSelect",
"(",
"const",
"MachineBasicBlock",
"&",
"MBB",
",",
"const",
"SmallVectorImpl",
"<",
"MachineOperand",
">",
"&",
"Cond",
",",
"unsigned",
"TrueReg",
",",
"unsigned",
"FalseReg",
",",
"int",
"&",
"CondCycl... | [
"Return",
"true",
"if",
"it",
"is",
"possible",
"to",
"insert",
"a",
"select",
"instruction",
"that",
"chooses",
"between",
"TrueReg",
"and",
"FalseReg",
"based",
"on",
"the",
"condition",
"code",
"in",
"Cond",
"."
] | [
"ARM64",
"ARM64",
"1",
"ARM64::GPR64allRegClass",
"ARM64::GPR32allRegClass",
"1",
"1",
"0",
"0",
"ARM64::FPR64RegClass",
"ARM64::FPR32RegClass",
"5",
"2"
] | ARM64InstrInfo | canInsertSelect | ARM64 | CPU | LLVM | 26,274 | 201 | 1 | [] |
[
"<s>",
"bool",
"ARMTargetLowering",
"::",
"isUsedByReturnOnly",
"(",
"SDNode",
"*",
"N",
",",
"SDValue",
"&",
"Chain",
")",
"const",
"{",
"if",
"(",
"N",
"->",
"getNumValues",
"(",
")",
"!=",
"1",
")",
"return",
"false",
";",
"if",
"(",
"!",
"N",
"->... | [
"Return",
"true",
"if",
"result",
"of",
"the",
"specified",
"node",
"is",
"used",
"by",
"a",
"return",
"node",
"only",
"."
] | [
"ARM",
"ARM",
"1",
"1",
"0",
"ISD::CopyToReg",
"1",
"MVT::Glue",
"0",
"ARMISD::VMOVRRD",
"2",
"ISD::CopyToReg",
"2",
"0",
"ISD::BITCAST",
"ISD::CopyToReg",
"1",
"0",
"0",
"ARMISD::RET_FLAG",
"ARMISD::INTRET_FLAG"
] | ARMISelLowering (2) | isUsedByReturnOnly | ARM | CPU | LLVM | 26,275 | 423 | 1 | [] |
[
"<s>",
"bool",
"invalid_e500_subreg",
"(",
"rtx",
"op",
",",
"machine_mode",
"mode",
")",
"{",
"if",
"(",
"TARGET_E500_DOUBLE",
")",
"{",
"if",
"(",
"GET_CODE",
"(",
"op",
")",
"==",
"SUBREG",
"&&",
"(",
"mode",
"==",
"SImode",
"||",
"mode",
"==",
"DIm... | [
"Return",
"TRUE",
"if",
"OP",
"is",
"an",
"invalid",
"SUBREG",
"operation",
"on",
"the",
"e500",
"."
] | [
"rs6000"
] | rs60004 | invalid_e500_subreg | rs6000 | CPU | GCC | 26,276 | 207 | 1 | [] |
[
"<s>",
"bool",
"fixupNeedsRelaxationAdvanced",
"(",
"const",
"MCFixup",
"&",
"Fixup",
",",
"bool",
"Resolved",
",",
"uint64_t",
"Value",
",",
"const",
"MCRelaxableFragment",
"*",
"DF",
",",
"const",
"MCAsmLayout",
"&",
"Layout",
")",
"const",
"override",
"{",
... | [
"Target",
"specific",
"predicate",
"for",
"whether",
"a",
"given",
"fixup",
"requires",
"the",
"associated",
"instruction",
"to",
"be",
"relaxed",
"."
] | [
"Hexagon",
"Hexagon",
"Hexagon",
"Hexagon",
"Hexagon",
"Hexagon",
"Hexagon",
"Hexagon",
"Hexagon",
"Hexagon",
"1",
"8",
"Hexagon",
"1",
"10",
"Hexagon",
"1",
"16",
"Hexagon",
"1",
"23",
"1",
"Hexagon"
] | HexagonAsmBackend (2)1 | fixupNeedsRelaxationAdvanced | Hexagon | DSP | LLVM | 26,277 | 328 | 1 | [] |
[
"<s>",
"void",
"MBlazeFrameLowering",
"::",
"emitPrologue",
"(",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"MachineBasicBlock",
"&",
"MBB",
"=",
"MF",
".",
"front",
"(",
")",
";",
"MachineFrameInfo",
"*",
"MFI",
"=",
"MF",
".",
"getFrameInfo",
"(",
... | [
"emitProlog/emitEpilog",
"-",
"These",
"methods",
"insert",
"prolog",
"and",
"epilog",
"code",
"into",
"the",
"function",
"."
] | [
"MBlaze",
"MBlaze",
"MBlaze",
"MBlaze",
"MBlaze",
"MBlaze",
"MBlaze",
"0",
"MBlaze",
"MBlaze",
"MBlaze::ADDIK",
"MBlaze::R1",
"MBlaze::R1",
"MBlaze::SWI",
"MBlaze::R15",
"MBlaze::R1",
"MBlaze::SWI",
"MBlaze::R19",
"MBlaze::R1",
"MBlaze::ADD",
"MBlaze::R19",
"MBlaze::R1",
... | MBlazeFrameLowering10 | emitPrologue | MBlaze | MPU | LLVM | 26,278 | 345 | 1 | [] |
[
"<s>",
"virtual",
"const",
"char",
"*",
"getPassName",
"(",
")",
"const",
"{",
"return",
"\"AMDGPU simplify control flow\"",
";",
"}",
"</s>"
] | [
"getPassName",
"-",
"Return",
"a",
"nice",
"clean",
"name",
"for",
"a",
"pass",
"."
] | [
"R600",
"\"AMDGPU simplify control flow\""
] | AMDGPUStructurizeCFG | getPassName | R600 | GPU | LLVM | 26,279 | 13 | 1 | [] |
[
"<s>",
"static",
"rtx",
"alpha_function_arg",
"(",
"cumulative_args_t",
"cum_v",
",",
"machine_mode",
"mode",
",",
"const_tree",
"type",
",",
"bool",
"named",
"ATTRIBUTE_UNUSED",
")",
"{",
"CUMULATIVE_ARGS",
"*",
"cum",
"=",
"get_cumulative_args",
"(",
"cum_v",
")... | [
"Determine",
"where",
"to",
"put",
"an",
"argument",
"to",
"a",
"function",
".",
"Value",
"is",
"zero",
"to",
"push",
"the",
"argument",
"on",
"the",
"stack",
",",
"or",
"a",
"hard",
"register",
"in",
"which",
"to",
"store",
"the",
"argument",
".",
"MO... | [
"alpha",
"16",
"32",
"16",
"16",
"6",
"6",
"16"
] | alpha5 | alpha_function_arg | alpha | MPU | GCC | 26,280 | 176 | 1 | [] |
[
"<s>",
"bool",
"X86FrameLowering",
"::",
"spillCalleeSavedRegisters",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"MI",
",",
"const",
"std",
"::",
"vector",
"<",
"CalleeSavedInfo",
">",
"&",
"CSI",
",",
"const",
"TargetRegiste... | [
"spillCalleeSavedRegisters",
"-",
"Issues",
"instruction",
"(",
"s",
")",
"to",
"spill",
"all",
"callee",
"saved",
"registers",
"and",
"returns",
"true",
"if",
"it",
"is",
"n't",
"possible",
"/",
"profitable",
"to",
"do",
"so",
"by",
"issuing",
"a",
"series"... | [
"X86",
"X86",
"X86::PUSH64r",
"X86::PUSH32r",
"0",
"1",
"X86::GR64RegClass",
"X86::GR32RegClass",
"0",
"1",
"X86::GR64RegClass",
"X86::GR32RegClass",
"1"
] | X86FrameLowering112 | spillCalleeSavedRegisters | X86 | CPU | LLVM | 26,281 | 338 | 1 | [] |
[
"<s>",
"void",
"ARM64Operand",
"::",
"print",
"(",
"raw_ostream",
"&",
"OS",
")",
"const",
"{",
"switch",
"(",
"Kind",
")",
"{",
"case",
"k_FPImm",
":",
"OS",
"<<",
"\"<fpimm \"",
"<<",
"getFPImm",
"(",
")",
"<<",
"\"(\"",
"<<",
"ARM64_AM",
"::",
"getF... | [
"print",
"-",
"Print",
"a",
"debug",
"representation",
"of",
"the",
"operand",
"to",
"the",
"given",
"stream",
"."
] | [
"ARM64",
"ARM64",
"\"<fpimm \"",
"\"(\"",
"ARM64_AM::getFPImmFloat",
"\") >\"",
"ARM64DB::DBarrierMapper",
"\"<barrier \"",
"\">\"",
"\"<barrier invalid #\"",
"\">\"",
"\"<memory>\"",
"\"<register \"",
"\">\"",
"\"<vectorlist \"",
"0",
"\" \"",
"\">\"",
"\"<vectorindex \"",
"\"... | ARM64AsmParser | print | ARM64 | CPU | LLVM | 26,282 | 374 | 1 | [] |
[
"<s>",
"unsigned",
"MSP430RegisterInfo",
"::",
"getFrameRegister",
"(",
"const",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"const",
"MSP430FrameLowering",
"*",
"TFI",
"=",
"getFrameLowering",
"(",
"MF",
")",
";",
"return",
"TFI",
"->",
"hasFP",
"(",
"MF... | [
"Debug",
"information",
"queries",
"."
] | [
"MSP430",
"MSP430",
"MSP430",
"MSP430::FP",
"MSP430::SP"
] | MSP430RegisterInfo (2) | getFrameRegister | MSP430 | MPU | LLVM | 26,283 | 39 | 1 | [] |
[
"<s>",
"bool",
"PPCAsmPrinter",
"::",
"PrintAsmMemoryOperand",
"(",
"const",
"MachineInstr",
"*",
"MI",
",",
"unsigned",
"OpNo",
",",
"const",
"char",
"*",
"ExtraCode",
",",
"raw_ostream",
"&",
"O",
")",
"{",
"if",
"(",
"ExtraCode",
"&&",
"ExtraCode",
"[",
... | [
"Print",
"the",
"specified",
"operand",
"of",
"MI",
",",
"an",
"INLINEASM",
"instruction",
",",
"using",
"the",
"specified",
"assembler",
"variant",
"as",
"an",
"address",
"."
] | [
"PowerPC",
"PPC",
"0",
"1",
"0",
"0",
"\"(\"",
"\")\"",
"\"0, \"",
"\"0(\"",
"\")\""
] | PPCAsmPrinter10 | PrintAsmMemoryOperand | PowerPC | CPU | LLVM | 26,284 | 168 | 1 | [] |
[
"<s>",
"static",
"void",
"aarch64_adjust_generic_arch_tuning",
"(",
"struct",
"tune_params",
"&",
"current_tune",
")",
"{",
"if",
"(",
"TARGET_SVE2",
")",
"current_tune",
".",
"extra_tuning_flags",
"&=",
"~",
"AARCH64_EXTRA_TUNE_CSE_SVE_VL_CONSTANTS",
";",
"}",
"</s>"
] | [
"Adjust",
"CURRENT_TUNE",
"(",
"a",
"generic",
"tuning",
"struct",
")",
"with",
"settings",
"that",
"are",
"best",
"for",
"a",
"generic",
"target",
"with",
"the",
"currently-enabled",
"architecture",
"extensions",
"."
] | [
"aarch64"
] | aarch641 | aarch64_adjust_generic_arch_tuning | aarch64 | CPU | GCC | 26,285 | 22 | 1 | [] |
[
"<s>",
"void",
"arm_options_perform_arch_sanity_checks",
"(",
"void",
")",
"{",
"if",
"(",
"TARGET_INTERWORK",
")",
"arm_cpp_interwork",
"=",
"1",
";",
"if",
"(",
"arm_arch5t",
")",
"target_flags",
"&=",
"~",
"MASK_INTERWORK",
";",
"if",
"(",
"TARGET_IWMMXT",
"&... | [
"Perform",
"some",
"validation",
"between",
"the",
"desired",
"architecture",
"and",
"the",
"rest",
"of",
"the",
"options",
"."
] | [
"arm",
"1",
"\"iwmmxt requires an AAPCS compatible ABI for proper operation\"",
"\"iwmmxt abi requires an iwmmxt capable cpu\"",
"0",
"\"target CPU does not support interworking\"",
"\"AAPCS does not support %<-mcaller-super-interworking%>\"",
"\"AAPCS does not support %<-mcallee-super-interworking%>\... | arm | arm_options_perform_arch_sanity_checks | arm | CPU | GCC | 26,286 | 246 | 1 | [] |
[
"<s>",
"ScheduleDAGInstrs",
"*",
"createMachineScheduler",
"(",
"MachineSchedContext",
"*",
"C",
")",
"const",
"override",
"{",
"ScheduleDAGMILive",
"*",
"DAG",
"=",
"createGenericSchedLive",
"(",
"C",
")",
";",
"const",
"ARMSubtarget",
"&",
"ST",
"=",
"C",
"->"... | [
"Create",
"an",
"instance",
"of",
"ScheduleDAGInstrs",
"to",
"be",
"run",
"within",
"the",
"standard",
"MachineScheduler",
"pass",
"for",
"this",
"function",
"and",
"target",
"at",
"the",
"current",
"optimization",
"level",
"."
] | [
"ARM",
"ARM",
"ARM",
"ARM"
] | ARMTargetMachine | createMachineScheduler | ARM | CPU | LLVM | 26,287 | 57 | 1 | [] |
[
"<s>",
"static",
"void",
"mep_incompatible_arg",
"(",
"const",
"struct",
"insn_operand_data",
"*",
"operand",
",",
"rtx",
"arg",
",",
"int",
"argnum",
",",
"tree",
"fnname",
")",
"{",
"size_t",
"i",
";",
"if",
"(",
"GET_CODE",
"(",
"arg",
")",
"==",
"CON... | [
"Report",
"that",
"ARG",
"can",
"not",
"be",
"passed",
"to",
"argument",
"ARGNUM",
"of",
"intrinsic",
"function",
"FNNAME",
".",
"OPERAND",
"describes",
"the",
"operand",
"to",
"which",
"ARGNUM",
"is",
"mapped",
"."
] | [
"mep",
"0",
"\"argument %d of %qE must be in the range %d...%d\"",
"1",
"\"argument %d of %qE must be a multiple of %d\"",
"\"incompatible type for argument %d of %qE\""
] | mep | mep_incompatible_arg | mep | CPU | GCC | 26,288 | 146 | 1 | [] |
[
"<s>",
"static",
"void",
"tilepro_trampoline_init",
"(",
"rtx",
"m_tramp",
",",
"tree",
"fndecl",
",",
"rtx",
"static_chain",
")",
"{",
"rtx",
"fnaddr",
",",
"chaddr",
";",
"rtx",
"mem",
";",
"rtx",
"begin_addr",
",",
"end_addr",
";",
"int",
"ptr_mode_size",... | [
"Implement",
"TARGET_TRAMPOLINE_INIT",
"."
] | [
"tilepro",
"0",
"2",
"0",
"0"
] | tilepro | tilepro_trampoline_init | tilepro | VLIW | GCC | 26,289 | 158 | 1 | [] |
[
"<s>",
"static",
"void",
"expand_setmem_epilogue_via_loop",
"(",
"rtx",
"destmem",
",",
"rtx",
"destptr",
",",
"rtx",
"value",
",",
"rtx",
"count",
",",
"int",
"max_size",
")",
"{",
"count",
"=",
"expand_simple_binop",
"(",
"counter_mode",
"(",
"count",
")",
... | [
"Output",
"code",
"to",
"set",
"at",
"most",
"count",
"&",
"(",
"max_size",
"-",
"1",
")",
"bytes",
"starting",
"by",
"DEST",
"."
] | [
"i386",
"1",
"1",
"1",
"2"
] | i3864 | expand_setmem_epilogue_via_loop | i386 | CPU | GCC | 26,290 | 78 | 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",
"1"
] | s3904 | s390_register_move_cost | s390 | MPU | GCC | 26,291 | 106 | 1 | [] |
[
"<s>",
"unsigned",
"MBlazeRegisterInfo",
"::",
"getFrameRegister",
"(",
"const",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"const",
"TargetFrameInfo",
"*",
"TFI",
"=",
"MF",
".",
"getTarget",
"(",
")",
".",
"getFrameInfo",
"(",
")",
";",
"return",
"TF... | [
"Debug",
"information",
"queries",
"."
] | [
"MBlaze",
"MBlaze",
"MBlaze::R19",
"MBlaze::R1"
] | MBlazeRegisterInfo5 | getFrameRegister | MBlaze | MPU | LLVM | 26,292 | 44 | 1 | [] |
[
"<s>",
"void",
"function_builder",
"::",
"add_overloaded_function",
"(",
"const",
"function_instance",
"&",
"instance",
",",
"uint64_t",
"required_extensions",
")",
"{",
"char",
"*",
"name",
"=",
"get_name",
"(",
"instance",
",",
"true",
")",
";",
"if",
"(",
"... | [
"Add",
"one",
"function",
"decl",
"for",
"INSTANCE",
",",
"to",
"be",
"used",
"with",
"manual",
"overload",
"resolution",
".",
"REQUIRED_EXTENSIONS",
"are",
"the",
"set",
"of",
"architecture",
"extensions",
"that",
"the",
"function",
"requires",
".",
"For",
"s... | [
"aarch64",
"0"
] | aarch64-sve-builtins | add_overloaded_function | aarch64 | CPU | GCC | 26,293 | 121 | 1 | [] |
[
"<s>",
"void",
"X86AsmBackend",
"::",
"emitInstructionBegin",
"(",
"MCObjectStreamer",
"&",
"OS",
",",
"const",
"MCInst",
"&",
"Inst",
")",
"{",
"if",
"(",
"!",
"needAlign",
"(",
"OS",
")",
")",
"return",
";",
"if",
"(",
"hasInterruptDelaySlot",
"(",
"Prev... | [
"Give",
"the",
"target",
"a",
"chance",
"to",
"manipulate",
"state",
"related",
"to",
"instruction",
"alignment",
"(",
"e.g",
"."
] | [
"X86",
"X86",
"X86::AlignBranchFused"
] | X86AsmBackend51 | emitInstructionBegin | X86 | CPU | LLVM | 26,294 | 136 | 1 | [] |
[
"<s>",
"static",
"const",
"char",
"*",
"rl78_strip_nonasm_name_encoding",
"(",
"const",
"char",
"*",
"sym",
")",
"{",
"while",
"(",
"1",
")",
"{",
"if",
"(",
"*",
"sym",
"==",
"'@'",
"&&",
"sym",
"[",
"2",
"]",
"==",
"'.'",
")",
"sym",
"+=",
"3",
... | [
"Like",
"rl78_strip_name_encoding",
",",
"but",
"does",
"not",
"strip",
"leading",
"asterisks",
".",
"This",
"is",
"important",
"if",
"the",
"stripped",
"name",
"is",
"going",
"to",
"be",
"passed",
"to",
"assemble_name",
"(",
")",
"as",
"that",
"handles",
"a... | [
"rl78",
"1",
"2",
"3"
] | rl78 | rl78_strip_nonasm_name_encoding | rl78 | MPU | GCC | 26,295 | 41 | 1 | [] |
[
"<s>",
"const",
"VETargetLowering",
"*",
"getTLI",
"(",
")",
"const",
"{",
"return",
"TLI",
";",
"}",
"</s>"
] | [
"Getter",
"for",
"generic",
"TargetLowering",
"class",
"."
] | [
"VE",
"VE"
] | VETargetTransformInfo | getTLI | VE | CPU | LLVM | 26,296 | 12 | 1 | [] |
[
"<s>",
"virtual",
"const",
"DataLayout",
"*",
"getDataLayout",
"(",
")",
"const",
"{",
"return",
"&",
"DL",
";",
"}",
"</s>"
] | [
"Return",
"the",
"DataLayout",
"associated",
"with",
"the",
"module",
"this",
"SCEV",
"instance",
"is",
"operating",
"on",
"."
] | [
"NVPTX"
] | NVPTXTargetMachine13 | getDataLayout | NVPTX | GPU | LLVM | 26,297 | 14 | 1 | [] |
[
"<s>",
"bool",
"ARMBaseInstrInfo",
"::",
"analyzeCompare",
"(",
"const",
"MachineInstr",
"&",
"MI",
",",
"unsigned",
"&",
"SrcReg",
",",
"unsigned",
"&",
"SrcReg2",
",",
"int",
"&",
"CmpMask",
",",
"int",
"&",
"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"
] | ARMBaseInstrInfo10 | analyzeCompare | ARM | CPU | LLVM | 26,298 | 199 | 1 | [] |
[
"<s>",
"int",
"standard_80387_constant_p",
"(",
"rtx",
"x",
")",
"{",
"machine_mode",
"mode",
"=",
"GET_MODE",
"(",
"x",
")",
";",
"REAL_VALUE_TYPE",
"r",
";",
"if",
"(",
"!",
"(",
"X87_FLOAT_MODE_P",
"(",
"mode",
")",
"&&",
"(",
"GET_CODE",
"(",
"x",
... | [
"Return",
"true",
"if",
"the",
"constant",
"is",
"something",
"that",
"can",
"be",
"loaded",
"with",
"a",
"special",
"instruction",
"."
] | [
"i386",
"1",
"1",
"2",
"0",
"5",
"3",
"8",
"9",
"0"
] | i3864 | standard_80387_constant_p | i386 | CPU | GCC | 26,299 | 162 | 1 | [] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.