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>",
"void",
"executePostLayoutBinding",
"(",
"MCAssembler",
"&",
"Asm",
",",
"const",
"MCAsmLayout",
"&",
"Layout",
")",
"override",
"{",
"}",
"</s>"
] | [
"Perform",
"any",
"late",
"binding",
"of",
"symbols",
"(",
"for",
"example",
",",
"to",
"assign",
"symbol",
"indices",
"for",
"use",
"when",
"generating",
"relocations",
")",
"."
] | [
"R600"
] | AMDGPUAsmBackend33 | executePostLayoutBinding | R600 | GPU | LLVM | 24,300 | 15 | 1 | [] |
[
"<s>",
"bool",
"NVVMReflect",
"::",
"runOnFunction",
"(",
"Function",
"&",
"F",
")",
"{",
"if",
"(",
"!",
"NVVMReflectEnabled",
")",
"return",
"false",
";",
"if",
"(",
"F",
".",
"getName",
"(",
")",
"==",
"NVVM_REFLECT_FUNCTION",
")",
"{",
"assert",
"(",... | [
"runOnFunction",
"-",
"Virtual",
"method",
"overriden",
"by",
"subclasses",
"to",
"do",
"the",
"per-function",
"processing",
"of",
"the",
"pass",
"."
] | [
"NVPTX",
"\"_reflect function should not have a body\"",
"\"_reflect's return type should be integer\"",
"4",
"Intrinsic::nvvm_reflect",
"2",
"\"Wrong number of operands to __nvvm_reflect function\"",
"0",
"0",
"\"Format of __nvvm__reflect function not recognized\"",
"0",
"\"Format of __nvvm_r... | NVVMReflect10 | runOnFunction | NVPTX | GPU | LLVM | 24,301 | 471 | 1 | [] |
[
"<s>",
"bool",
"runOnFunction",
"(",
"Function",
"&",
"F",
")",
"override",
"{",
"Func",
"=",
"&",
"F",
";",
"return",
"ProcessFunction",
"(",
")",
";",
"}",
"</s>"
] | [
"runOnFunction",
"-",
"Virtual",
"method",
"overriden",
"by",
"subclasses",
"to",
"do",
"the",
"per-function",
"processing",
"of",
"the",
"pass",
"."
] | [
"JVM"
] | JVMLowerMemoryIntrinsics | runOnFunction | JVM | Virtual ISA | LLVM | 24,302 | 20 | 1 | [] |
[
"<s>",
"void",
"XCoreFrameInfo",
"::",
"emitEpilogue",
"(",
"MachineFunction",
"&",
"MF",
",",
"MachineBasicBlock",
"&",
"MBB",
")",
"const",
"{",
"MachineFrameInfo",
"*",
"MFI",
"=",
"MF",
".",
"getFrameInfo",
"(",
")",
";",
"MachineBasicBlock",
"::",
"iterat... | [
"Insert",
"epilog",
"code",
"into",
"the",
"function",
"."
] | [
"XCore",
"XCore",
"XCore",
"XCore",
"XCore::R10",
"XCore::SETSP_1r",
"4",
"0",
"\"Misaligned frame size\"",
"4",
"\"emitEpilogue Frame size too big: \"",
"XCore",
"XCore",
"4",
"XCore::R10",
"0",
"4",
"XCore::LR",
"XCore::RETSP_u6",
"XCore::RETSP_lu6",
"XCore::RETSP_u6",
"X... | XCoreFrameInfo | emitEpilogue | XCore | MPU | LLVM | 24,303 | 418 | 1 | [] |
[
"<s>",
"static",
"unsigned",
"int",
"rs6000_parm_start",
"(",
"machine_mode",
"mode",
",",
"const_tree",
"type",
",",
"unsigned",
"int",
"nwords",
")",
"{",
"unsigned",
"int",
"align",
";",
"align",
"=",
"rs6000_function_arg_boundary",
"(",
"mode",
",",
"type",
... | [
"For",
"a",
"function",
"parm",
"of",
"MODE",
"and",
"TYPE",
",",
"return",
"the",
"starting",
"word",
"in",
"the",
"parameter",
"area",
".",
"NWORDS",
"of",
"the",
"parameter",
"area",
"are",
"already",
"used",
"."
] | [
"powerpcspe",
"1"
] | powerpcspe | rs6000_parm_start | powerpcspe | CPU | GCC | 24,304 | 50 | 1 | [] |
[
"<s>",
"EVT",
"X86TargetLowering",
"::",
"getSetCCResultType",
"(",
"LLVMContext",
"&",
",",
"EVT",
"VT",
")",
"const",
"{",
"if",
"(",
"!",
"VT",
".",
"isVector",
"(",
")",
")",
"return",
"Subtarget",
"->",
"hasAVX512",
"(",
")",
"?",
"MVT",
"::",
"i1... | [
"Return",
"the",
"value",
"type",
"to",
"use",
"for",
"ISD",
":",
":SETCC",
"."
] | [
"X86",
"X86",
"MVT::i1",
"MVT::i8",
"8",
"MVT::v8i1",
"16",
"MVT::v16i1"
] | X86ISelLowering (2) | getSetCCResultType | X86 | CPU | LLVM | 24,305 | 79 | 1 | [] |
[
"<s>",
"std",
"::",
"string",
"AMDGPUDevice",
"::",
"getDataLayout",
"(",
")",
"const",
"{",
"return",
"std",
"::",
"string",
"(",
"\"e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16\"",
"\"-i32:32:32-i64:64:64-f32:32:32-f64:64:64-f80:32:32\"",
"\"-v16:16:16-v24:32:32-v32:32:32-v48:64:64-v64... | [
"Return",
"the",
"DataLayout",
"associated",
"with",
"the",
"module",
"this",
"SCEV",
"instance",
"is",
"operating",
"on",
"."
] | [
"R600",
"\"e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16\"",
"\"-i32:32:32-i64:64:64-f32:32:32-f64:64:64-f80:32:32\"",
"\"-v16:16:16-v24:32:32-v32:32:32-v48:64:64-v64:64:64\"",
"\"-v96:128:128-v128:128:128-v192:256:256-v256:256:256\"",
"\"-v512:512:512-v1024:1024:1024-v2048:2048:2048\"",
"\"-n8:16:32:64\""
] | AMDILDevice1 | getDataLayout | R600 | GPU | LLVM | 24,306 | 24 | 1 | [] |
[
"<s>",
"std",
"::",
"pair",
"<",
"unsigned",
",",
"const",
"TargetRegisterClass",
"*",
">",
"SparcTargetLowering",
"::",
"getRegForInlineAsmConstraint",
"(",
"const",
"TargetRegisterInfo",
"*",
"TRI",
",",
"StringRef",
"Constraint",
",",
"MVT",
"VT",
")",
"const",... | [
"Given",
"a",
"physical",
"register",
"constraint",
"(",
"e.g",
"."
] | [
"Sparc",
"Sparc",
"1",
"0",
"0U",
"SP::IntRegsRegClass",
"5",
"0",
"1",
"1",
"2",
"0",
"0",
"1",
"\"r\"",
"1",
"10",
"31",
"8",
"8",
"0"
] | SparcISelLowering69 | getRegForInlineAsmConstraint | Sparc | CPU | LLVM | 24,307 | 257 | 1 | [] |
[
"<s>",
"const",
"char",
"*",
"output_adjust_stack_and_probe",
"(",
"rtx",
"reg",
")",
"{",
"static",
"int",
"labelno",
"=",
"0",
";",
"char",
"loop_lab",
"[",
"32",
"]",
";",
"rtx",
"xops",
"[",
"2",
"]",
";",
"ASM_GENERATE_INTERNAL_LABEL",
"(",
"loop_lab"... | [
"Adjust",
"the",
"stack",
"pointer",
"up",
"to",
"REG",
"while",
"probing",
"it",
"."
] | [
"i386",
"0",
"32",
"2",
"\"LPSRL\"",
"0",
"1",
"\"sub%z0\\t{%1, %0|%0, %1}\"",
"1",
"\"or%z0\\t{%1, (%0)|DWORD PTR [%0], %1}\"",
"0",
"1",
"\"cmp%z0\\t{%1, %0|%0, %1}\"",
"\"\\tjne\\t\"",
"\"\""
] | i3865 | output_adjust_stack_and_probe | i386 | CPU | GCC | 24,308 | 128 | 1 | [] |
[
"<s>",
"static",
"section",
"*",
"rs6000_xcoff_select_rtx_section",
"(",
"machine_mode",
"mode",
",",
"rtx",
"x",
",",
"unsigned",
"HOST_WIDE_INT",
"align",
"ATTRIBUTE_UNUSED",
")",
"{",
"if",
"(",
"ASM_OUTPUT_SPECIAL_POOL_ENTRY_P",
"(",
"x",
",",
"mode",
")",
")"... | [
"Select",
"section",
"for",
"constant",
"in",
"constant",
"pool",
".",
"On",
"RS/6000",
",",
"all",
"constants",
"are",
"in",
"the",
"private",
"read-only",
"data",
"area",
".",
"However",
",",
"if",
"this",
"is",
"being",
"placed",
"in",
"the",
"TOC",
"... | [
"rs6000"
] | rs6000 | rs6000_xcoff_select_rtx_section | rs6000 | CPU | GCC | 24,309 | 34 | 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",
";",
"int",
... | [
"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"
] | i3864 | dispatch_function_versions | i386 | CPU | GCC | 24,310 | 363 | 1 | [] |
[
"<s>",
"static",
"bool",
"rs6000_reg_live_or_pic_offset_p",
"(",
"int",
"reg",
")",
"{",
"if",
"(",
"reg",
"==",
"RS6000_PIC_OFFSET_TABLE_REGNUM",
"&&",
"!",
"TARGET_SINGLE_PIC_BASE",
")",
"{",
"if",
"(",
"TARGET_TOC",
"&&",
"TARGET_MINIMAL_TOC",
"&&",
"(",
"crtl"... | [
"Determine",
"whether",
"the",
"gp",
"REG",
"is",
"really",
"used",
"."
] | [
"rs6000"
] | rs60005 | rs6000_reg_live_or_pic_offset_p | rs6000 | CPU | GCC | 24,311 | 81 | 1 | [] |
[
"<s>",
"static",
"int",
"ix86_widen_mult_cost",
"(",
"const",
"struct",
"processor_costs",
"*",
"cost",
",",
"enum",
"machine_mode",
"mode",
",",
"bool",
"uns_p",
")",
"{",
"gcc_assert",
"(",
"GET_MODE_CLASS",
"(",
"mode",
")",
"==",
"MODE_VECTOR_INT",
")",
";... | [
"Return",
"cost",
"of",
"vec_widen_",
"<",
"s",
">",
"mult_hi/lo_",
"<",
"mode",
">",
",",
"vec_widen_",
"<",
"s",
">",
"mul_hi/lo_",
"<",
"mode",
">",
"is",
"only",
"available",
"for",
"VI124_AVX2",
"."
] | [
"i386",
"0",
"0",
"2",
"2",
"4",
"2",
"2",
"4",
"2",
"2",
"4"
] | i386 | ix86_widen_mult_cost | i386 | CPU | GCC | 24,312 | 176 | 1 | [] |
[
"<s>",
"bool",
"MINA32AsmParser",
"::",
"MatchAndEmitInstruction",
"(",
"SMLoc",
"IDLoc",
",",
"unsigned",
"&",
"Opcode",
",",
"OperandVector",
"&",
"Operands",
",",
"MCStreamer",
"&",
"Out",
",",
"uint64_t",
"&",
"ErrorInfo",
",",
"bool",
"MatchingInlineAsm",
"... | [
"MatchAndEmitInstruction",
"-",
"Recognize",
"a",
"series",
"of",
"operands",
"of",
"a",
"parsed",
"instruction",
"as",
"an",
"actual",
"MCInst",
"and",
"emit",
"it",
"to",
"the",
"specified",
"MCStreamer",
"."
] | [
"MINA32",
"MINA32",
"MINA32",
"\"instruction requires a CPU feature not currently enabled\"",
"0U",
"\"too few operands for instruction\"",
"MINA32",
"\"invalid operand for instruction\"",
"\"invalid instruction\""
] | MINA32AsmParser | MatchAndEmitInstruction | MINA32 | CPU | LLVM | 24,313 | 189 | 1 | [] |
[
"<s>",
"void",
"MSP430InstrInfo",
"::",
"storeRegToStackSlot",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"MI",
",",
"Register",
"SrcReg",
",",
"bool",
"isKill",
",",
"int",
"FrameIdx",
",",
"const",
"TargetRegisterClass",
"*... | [
"Store",
"the",
"specified",
"register",
"of",
"the",
"given",
"register",
"class",
"to",
"the",
"specified",
"stack",
"frame",
"index",
"."
] | [
"MSP430",
"MSP430",
"MSP430::GR16RegClass",
"MSP430::MOV16mr",
"0",
"MSP430::GR8RegClass",
"MSP430::MOV8mr",
"0",
"\"Cannot store this register to stack slot!\""
] | MSP430InstrInfo45 | storeRegToStackSlot | MSP430 | MPU | LLVM | 24,314 | 221 | 1 | [] |
[
"<s>",
"static",
"rtx",
"aarch64_strip_shift",
"(",
"rtx",
"x",
")",
"{",
"rtx",
"op",
"=",
"x",
";",
"if",
"(",
"(",
"GET_CODE",
"(",
"op",
")",
"==",
"ASHIFT",
"||",
"GET_CODE",
"(",
"op",
")",
"==",
"ASHIFTRT",
"||",
"GET_CODE",
"(",
"op",
")",
... | [
"Helper",
"function",
"for",
"rtx",
"cost",
"calculation",
".",
"Strip",
"a",
"shift",
"expression",
"from",
"X",
".",
"Returns",
"the",
"inner",
"operand",
"if",
"successful",
",",
"or",
"the",
"original",
"expression",
"on",
"failure",
"."
] | [
"aarch64",
"1",
"0",
"1",
"1",
"64",
"0"
] | aarch64 | aarch64_strip_shift | aarch64 | CPU | GCC | 24,315 | 121 | 1 | [] |
[
"<s>",
"const",
"char",
"*",
"nvptx_section_for_decl",
"(",
"const_tree",
"decl",
")",
"{",
"bool",
"is_const",
"=",
"(",
"CONSTANT_CLASS_P",
"(",
"decl",
")",
"||",
"TREE_CODE",
"(",
"decl",
")",
"==",
"CONST_DECL",
"||",
"TREE_READONLY",
"(",
"decl",
")",
... | [
"Determine",
"whether",
"DECL",
"goes",
"into",
".const",
"or",
".global",
"."
] | [
"nvptx",
"\".const\"",
"\".global\""
] | nvptx2 | nvptx_section_for_decl | nvptx | GPU | GCC | 24,316 | 42 | 1 | [] |
[
"<s>",
"BitVector",
"VideoCore4RegisterInfo",
"::",
"getReservedRegs",
"(",
"const",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"BitVector",
"Reserved",
"(",
"getNumRegs",
"(",
")",
")",
";",
"const",
"TargetFrameLowering",
"*",
"TFI",
"=",
"MF",
".",
"g... | [
"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",
"... | [
"VideoCore4",
"VideoCore4",
"VideoCore4::SP",
"VideoCore4::PC",
"VideoCore4::GP",
"VideoCore4::ESP",
"VideoCore4::R6"
] | VideoCore4RegisterInfo | getReservedRegs | VideoCore4 | DSP | LLVM | 24,317 | 93 | 1 | [] |
[
"<s>",
"TargetPassConfig",
"*",
"DLXTargetMachine",
"::",
"createPassConfig",
"(",
"PassManagerBase",
"&",
"PassManager",
")",
"{",
"return",
"new",
"DLXPassConfig",
"(",
"*",
"this",
",",
"&",
"PassManager",
")",
";",
"}",
"</s>"
] | [
"Create",
"a",
"pass",
"configuration",
"object",
"to",
"be",
"used",
"by",
"addPassToEmitX",
"methods",
"for",
"generating",
"a",
"pipeline",
"of",
"CodeGen",
"passes",
"."
] | [
"DLX",
"DLX",
"DLX"
] | DLXTargetMachine | createPassConfig | DLX | CPU | LLVM | 24,318 | 23 | 1 | [] |
[
"<s>",
"TargetLowering",
"::",
"AtomicExpansionKind",
"SITargetLowering",
"::",
"shouldExpandAtomicRMWInIR",
"(",
"AtomicRMWInst",
"*",
"RMW",
")",
"const",
"{",
"switch",
"(",
"RMW",
"->",
"getOperation",
"(",
")",
")",
"{",
"case",
"AtomicRMWInst",
"::",
"FAdd",... | [
"Returns",
"how",
"the",
"IR-level",
"AtomicExpand",
"pass",
"should",
"expand",
"the",
"given",
"AtomicRMW",
",",
"if",
"at",
"all",
"."
] | [
"AMDGPU",
"SI",
"AMDGPU",
"AMDGPU",
"AMDGPU"
] | SIISelLowering106 | shouldExpandAtomicRMWInIR | AMDGPU | GPU | LLVM | 24,319 | 143 | 1 | [] |
[
"<s>",
"iterator",
"begin",
"(",
")",
"{",
"return",
"Blocks",
".",
"rbegin",
"(",
")",
";",
"}",
"</s>"
] | [
"Recipe",
"iterator",
"methods",
"."
] | [
"JVM"
] | JVMX2Java | begin | JVM | Virtual ISA | LLVM | 24,320 | 13 | 1 | [] |
[
"<s>",
"SDValue",
"SystemZTargetLowering",
"::",
"LowerOperation",
"(",
"SDValue",
"Op",
",",
"SelectionDAG",
"&",
"DAG",
")",
"const",
"{",
"switch",
"(",
"Op",
".",
"getOpcode",
"(",
")",
")",
"{",
"case",
"ISD",
"::",
"BR_CC",
":",
"return",
"LowerBR_CC... | [
"LowerOperation",
"-",
"Provide",
"custom",
"lowering",
"hooks",
"for",
"some",
"operations",
"."
] | [
"SystemZ",
"SystemZ",
"ISD::BR_CC",
"ISD::SELECT_CC",
"ISD::GlobalAddress",
"ISD::JumpTable",
"ISD::ConstantPool",
"\"Should not custom lower this!\""
] | SystemZISelLowering107 | LowerOperation | SystemZ | CPU | LLVM | 24,321 | 102 | 1 | [] |
[
"<s>",
"unsigned",
"GCNSubtarget",
"::",
"computeOccupancy",
"(",
"const",
"MachineFunction",
"&",
"MF",
",",
"unsigned",
"LDSSize",
",",
"unsigned",
"NumSGPRs",
",",
"unsigned",
"NumVGPRs",
")",
"const",
"{",
"unsigned",
"Occupancy",
"=",
"std",
"::",
"min",
... | [
"Return",
"occupancy",
"for",
"the",
"given",
"function",
"."
] | [
"AMDGPU"
] | AMDGPUSubtarget106 | computeOccupancy | AMDGPU | GPU | LLVM | 24,322 | 84 | 1 | [] |
[
"<s>",
"SDNode",
"*",
"PPCDAGToDAGISel",
"::",
"getGlobalBaseReg",
"(",
")",
"{",
"if",
"(",
"!",
"GlobalBaseReg",
")",
"{",
"const",
"TargetInstrInfo",
"&",
"TII",
"=",
"*",
"PPCSubTarget",
"->",
"getInstrInfo",
"(",
")",
";",
"MachineBasicBlock",
"&",
"Fir... | [
"getGlobalBaseReg",
"-",
"Return",
"a",
"virtual",
"register",
"initialized",
"with",
"the",
"the",
"global",
"base",
"register",
"value",
"."
] | [
"PowerPC",
"PPC",
"PPC",
"PPC",
"MVT::i32",
"PPC",
"PPC::R30",
"PPC::MoveGOTtoLR",
"PPC::MFLR",
"PPC",
"PPC::MovePCtoLR",
"PPC::MFLR",
"PPC::GPRCRegClass",
"PPC::UpdateGBR",
"PPC",
"PPC::GPRC_NOR0RegClass",
"PPC::MovePCtoLR",
"PPC::MFLR",
"PPC::G8RC_NOX0RegClass",
"PPC::MovePCt... | PPCISelDAGToDAG32 | getGlobalBaseReg | PowerPC | CPU | LLVM | 24,323 | 392 | 1 | [] |
[
"<s>",
"unsigned",
"char",
"X86Subtarget",
"::",
"classifyLocalReference",
"(",
"const",
"GlobalValue",
"*",
"GV",
")",
"const",
"{",
"if",
"(",
"is64Bit",
"(",
")",
")",
"return",
"X86II",
"::",
"MO_NO_FLAG",
";",
"if",
"(",
"!",
"isPositionIndependent",
"(... | [
"Classify",
"a",
"global",
"variable",
"reference",
"for",
"the",
"current",
"subtarget",
"according",
"to",
"how",
"we",
"should",
"reference",
"it",
"in",
"a",
"non-pcrel",
"context",
"."
] | [
"X86",
"X86",
"X86II::MO_NO_FLAG",
"X86II::MO_NO_FLAG",
"X86II::MO_NO_FLAG",
"X86II::MO_DARWIN_NONLAZY_PIC_BASE",
"X86II::MO_PIC_BASE_OFFSET",
"X86II::MO_GOTOFF"
] | X86Subtarget109 | classifyLocalReference | X86 | CPU | LLVM | 24,324 | 89 | 1 | [] |
[
"<s>",
"static",
"int",
"avr_OS_main_function_p",
"(",
"tree",
"func",
")",
"{",
"return",
"avr_lookup_function_attribute1",
"(",
"func",
",",
"\"OS_main\"",
")",
";",
"}",
"</s>"
] | [
"Return",
"nonzero",
"if",
"FUNC",
"is",
"an",
"OS_main",
"function",
"."
] | [
"avr",
"\"OS_main\""
] | avr | avr_OS_main_function_p | avr | MPU | GCC | 24,325 | 17 | 1 | [] |
[
"<s>",
"SDValue",
"X86TargetLowering",
"::",
"getRecipEstimate",
"(",
"SDValue",
"Op",
",",
"SelectionDAG",
"&",
"DAG",
",",
"int",
"Enabled",
",",
"int",
"&",
"RefinementSteps",
")",
"const",
"{",
"EVT",
"VT",
"=",
"Op",
".",
"getValueType",
"(",
")",
";"... | [
"Return",
"a",
"reciprocal",
"estimate",
"value",
"for",
"the",
"input",
"operand",
"."
] | [
"X86",
"X86",
"MVT::f32",
"MVT::v4f32",
"MVT::v8f32",
"MVT::v16f32",
"MVT::f32",
"1",
"MVT::v16f32",
"X86ISD::RCP14",
"X86ISD::FRCP"
] | X86ISelLowering (2)6 | getRecipEstimate | X86 | CPU | LLVM | 24,326 | 161 | 1 | [] |
[
"<s>",
"static",
"rtx",
"arm_function_value",
"(",
"const_tree",
"type",
",",
"const_tree",
"func",
",",
"bool",
"outgoing",
"ATTRIBUTE_UNUSED",
")",
"{",
"machine_mode",
"mode",
";",
"int",
"unsignedp",
"ATTRIBUTE_UNUSED",
";",
"rtx",
"r",
"ATTRIBUTE_UNUSED",
";"... | [
"Define",
"how",
"to",
"find",
"the",
"value",
"returned",
"by",
"a",
"function",
"."
] | [
"arm",
"1",
"0",
"0"
] | arm | arm_function_value | arm | CPU | GCC | 24,327 | 127 | 1 | [] |
[
"<s>",
"HexagonSubtarget",
"&",
"HexagonSubtarget",
"::",
"initializeSubtargetDependencies",
"(",
"StringRef",
"CPU",
",",
"StringRef",
"FS",
")",
"{",
"static",
"std",
"::",
"map",
"<",
"StringRef",
",",
"Hexagon",
"::",
"ArchEnum",
">",
"CpuTable",
"{",
"{",
... | [
"initializeSubtargetDependencies",
"-",
"Initializes",
"using",
"a",
"CPU",
",",
"a",
"TuneCPU",
",",
"and",
"feature",
"string",
"so",
"that",
"we",
"can",
"use",
"initializer",
"lists",
"for",
"subtarget",
"initialization",
"."
] | [
"Hexagon",
"Hexagon",
"Hexagon",
"Hexagon::ArchEnum",
"\"hexagonv4\"",
"Hexagon::ArchEnum",
"\"hexagonv5\"",
"Hexagon::ArchEnum",
"\"hexagonv55\"",
"Hexagon::ArchEnum",
"\"hexagonv60\"",
"Hexagon::ArchEnum",
"\"hexagonv62\"",
"Hexagon::ArchEnum",
"\"hexagonv65\"",
"Hexagon::ArchEnum",
... | HexagonSubtarget24 | initializeSubtargetDependencies | Hexagon | DSP | LLVM | 24,328 | 211 | 1 | [] |
[
"<s>",
"unsigned",
"getMask",
"(",
")",
"const",
"{",
"return",
"Mask",
";",
"}",
"</s>"
] | [
"Return",
"the",
"mask",
"used",
"by",
"this",
"recipe",
"."
] | [
"AMDGPU"
] | AMDGPUArgumentUsageInfo | getMask | AMDGPU | GPU | LLVM | 24,329 | 10 | 1 | [] |
[
"<s>",
"static",
"bool",
"mep_reg_set_p",
"(",
"rtx",
"reg",
",",
"rtx",
"insn",
")",
"{",
"if",
"(",
"INSN_P",
"(",
"insn",
")",
")",
"{",
"if",
"(",
"FIND_REG_INC_NOTE",
"(",
"insn",
",",
"reg",
")",
")",
"return",
"true",
";",
"insn",
"=",
"PATT... | [
"Frame/Epilog/Prolog",
"Related",
"."
] | [
"mep",
"0",
"1",
"0",
"1"
] | mep | mep_reg_set_p | mep | CPU | GCC | 24,330 | 106 | 1 | [] |
[
"<s>",
"rtx",
"aarch64_mask_from_zextract_ops",
"(",
"rtx",
"width",
",",
"rtx",
"pos",
")",
"{",
"gcc_assert",
"(",
"CONST_INT_P",
"(",
"width",
")",
")",
";",
"gcc_assert",
"(",
"CONST_INT_P",
"(",
"pos",
")",
")",
";",
"unsigned",
"HOST_WIDE_INT",
"mask",... | [
"Return",
"the",
"bitmask",
"CONST_INT",
"to",
"select",
"the",
"bits",
"required",
"by",
"a",
"zero",
"extract",
"operation",
"of",
"width",
"WIDTH",
"at",
"bit",
"position",
"POS",
"."
] | [
"aarch64",
"1",
"1"
] | aarch64 | aarch64_mask_from_zextract_ops | aarch64 | CPU | GCC | 24,331 | 57 | 1 | [] |
[
"<s>",
"bool",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"override",
"{",
"TII",
"=",
"MF",
".",
"getSubtarget",
"(",
")",
".",
"getInstrInfo",
"(",
")",
";",
"bool",
"Changed",
"=",
"false",
";",
"for",
"(",
"MachineFunction",
"::",
... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"TGSI"
] | TGSIPreEmitImmPass | runOnMachineFunction | TGSI | Virtual ISA | LLVM | 24,332 | 75 | 1 | [] |
[
"<s>",
"const",
"char",
"*",
"arc_output_libcall",
"(",
"const",
"char",
"*",
"fname",
")",
"{",
"unsigned",
"len",
"=",
"strlen",
"(",
"fname",
")",
";",
"static",
"char",
"buf",
"[",
"64",
"]",
";",
"gcc_assert",
"(",
"len",
"<",
"sizeof",
"buf",
"... | [
"Output",
"a",
"library",
"call",
"to",
"a",
"function",
"called",
"FNAME",
"that",
"has",
"been",
"arranged",
"to",
"be",
"local",
"to",
"any",
"dso",
"."
] | [
"arc",
"64",
"35",
"\"add r12,pcl,@%s-(.&-4)\\n\\tjl%%!%%* [r12]\"",
"\"jl%%! @%s\"",
"\"bl%%!%%* @%s\""
] | arc4 | arc_output_libcall | arc | MPU | GCC | 24,333 | 87 | 1 | [] |
[
"<s>",
"static",
"void",
"build_v_base",
"(",
"function_builder",
"&",
"b",
",",
"const",
"char",
"*",
"signature",
",",
"const",
"function_group_info",
"&",
"group",
",",
"bool",
"force_direct_overloads",
"=",
"false",
")",
"{",
"build_32_64",
"(",
"b",
",",
... | [
"For",
"every",
"type",
"and",
"predicate",
"combination",
"in",
"GROUP",
",",
"add",
"a",
"function",
"that",
"takes",
"a",
"vector",
"base",
"address",
"and",
"no",
"displacement",
".",
"The",
"vector",
"base",
"has",
"the",
"same",
"element",
"size",
"a... | [
"aarch64"
] | aarch64-sve-builtins-shapes | build_v_base | aarch64 | CPU | GCC | 24,334 | 40 | 1 | [] |
[
"<s>",
"void",
"getAnalysisUsage",
"(",
"AnalysisUsage",
"&",
"AU",
")",
"const",
"override",
"{",
"AU",
".",
"addRequired",
"<",
"LoopInfoWrapperPass",
">",
"(",
")",
";",
"AU",
".",
"setPreservesAll",
"(",
")",
";",
"}",
"</s>"
] | [
"getAnalysisUsage",
"-",
"Subclasses",
"that",
"override",
"getAnalysisUsage",
"must",
"call",
"this",
"."
] | [
"TVM"
] | TVMLoopPrepare | getAnalysisUsage | TVM | Virtual ISA | LLVM | 24,335 | 26 | 1 | [] |
[
"<s>",
"static",
"int",
"find_unused_clobbered_reg",
"(",
"void",
")",
"{",
"int",
"i",
";",
"for",
"(",
"i",
"=",
"0",
";",
"i",
"<",
"6",
";",
"i",
"++",
")",
"if",
"(",
"!",
"df_regs_ever_live_p",
"(",
"i",
")",
")",
"return",
"i",
";",
"retur... | [
"Find",
"first",
"call",
"clobbered",
"register",
"unsused",
"in",
"a",
"function",
".",
"This",
"could",
"be",
"used",
"as",
"base",
"register",
"in",
"a",
"leaf",
"function",
"or",
"for",
"holding",
"the",
"return",
"address",
"before",
"epilogue",
"."
] | [
"s390",
"0",
"6",
"0"
] | s390 | find_unused_clobbered_reg | s390 | MPU | GCC | 24,336 | 38 | 1 | [] |
[
"<s>",
"static",
"bool",
"riscv_warn_func_return",
"(",
"tree",
"decl",
")",
"{",
"return",
"!",
"riscv_naked_function_p",
"(",
"decl",
")",
";",
"}",
"</s>"
] | [
"Implement",
"TARGET_WARN_FUNC_RETURN",
"."
] | [
"riscv"
] | riscv | riscv_warn_func_return | riscv | CPU | GCC | 24,337 | 16 | 1 | [] |
[
"<s>",
"void",
"RISCVTargetLowering",
"::",
"LowerAsmOperandForConstraint",
"(",
"SDValue",
"Op",
",",
"std",
"::",
"string",
"&",
"Constraint",
",",
"std",
"::",
"vector",
"<",
"SDValue",
">",
"&",
"Ops",
",",
"SelectionDAG",
"&",
"DAG",
")",
"const",
"{",
... | [
"Lower",
"the",
"specified",
"operand",
"into",
"the",
"Ops",
"vector",
"."
] | [
"RISCV",
"RISCV",
"1",
"0",
"12",
"0",
"0",
"5"
] | RISCVISelLowering11 | LowerAsmOperandForConstraint | RISCV | CPU | LLVM | 24,338 | 246 | 1 | [] |
[
"<s>",
"static",
"bool",
"legitimate_reload_fp_constant_p",
"(",
"rtx",
"op",
")",
"{",
"if",
"(",
"TARGET_Z196",
"&&",
"GET_CODE",
"(",
"op",
")",
"==",
"CONST_DOUBLE",
"&&",
"s390_float_const_zero_p",
"(",
"op",
")",
")",
"return",
"true",
";",
"return",
"... | [
"Returns",
"true",
"if",
"the",
"constant",
"value",
"OP",
"is",
"a",
"legitimate",
"fp",
"operand",
"during",
"and",
"after",
"reload",
".",
"This",
"function",
"accepts",
"all",
"constants",
"which",
"can",
"be",
"loaded",
"directly",
"into",
"an",
"FPR",
... | [
"s390"
] | s390 | legitimate_reload_fp_constant_p | s390 | MPU | GCC | 24,339 | 31 | 1 | [] |
[
"<s>",
"unsigned",
"getSubReg",
"(",
")",
"const",
"{",
"assert",
"(",
"isReg",
"(",
")",
"&&",
"\"Wrong CountValue accessor\"",
")",
";",
"return",
"Contents",
".",
"R",
".",
"Sub",
";",
"}",
"</s>"
] | [
"Returns",
"the",
"physical",
"register",
"number",
"of",
"sub-register",
"``",
"Index",
"''",
"for",
"physical",
"register",
"RegNo",
"."
] | [
"Hexagon",
"\"Wrong CountValue accessor\""
] | HexagonHardwareLoops | getSubReg | Hexagon | DSP | LLVM | 24,340 | 23 | 1 | [] |
[
"<s>",
"bool",
"FPS",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"{",
"bool",
"FPIsUsed",
"=",
"false",
";",
"assert",
"(",
"X86",
"::",
"FP6",
"==",
"X86",
"::",
"FP0",
"+",
"6",
"&&",
"\"Register enums aren't sorted right!\"",
")... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"X86",
"X86::FP6",
"X86::FP0",
"6",
"\"Register enums aren't sorted right!\"",
"0",
"6",
"X86::FP0",
"0",
"8"
] | X86FloatingPoint54 | runOnMachineFunction | X86 | CPU | LLVM | 24,341 | 226 | 1 | [] |
[
"<s>",
"void",
"ARCRegisterInfo",
"::",
"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",
"."
] | [
"ARC",
"ARC",
"0",
"\"Unexpected\"",
"ARC",
"ARC",
"ARC",
"\"\\nFunction : \"",
"\"\\n\"",
"\"<--------->\\n\"",
"\"\\n\"",
"\"FrameIndex : \"",
"\"\\n\"",
"\"ObjSize : \"",
"\"\\n\"",
"\"FrameOffset : \"",
"\"\\n\"",
"\"StackSize : \"",
... | ARCRegisterInfo11 | eliminateFrameIndex | ARC | MPU | LLVM | 24,342 | 460 | 1 | [] |
[
"<s>",
"bool",
"X86LowerTileCopy",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"{",
"const",
"X86Subtarget",
"&",
"ST",
"=",
"MF",
".",
"getSubtarget",
"<",
"X86Subtarget",
">",
"(",
")",
";",
"const",
"X86InstrInfo",
"*",
"TII",
"=... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"X86",
"X86",
"X86",
"X86",
"X86",
"0",
"1",
"X86::TILERegClass",
"X86::TILERegClass",
"X86::TILERegClass",
"X86::GR64RegClass",
"X86::GR64RegClass",
"X86::RAX",
"X86::IMPLICIT_DEF",
"X86::MOV64mr",
"X86::MOV64ri",
"64",
"X86::TILESTORED",
"2",
"X86::TILELOADD",
"X86::MOV64rm... | X86LowerTileCopy | runOnMachineFunction | X86 | CPU | LLVM | 24,343 | 474 | 1 | [] |
[
"<s>",
"static",
"const",
"char",
"*",
"getOpcodeName",
"(",
"unsigned",
"Opcode",
")",
"{",
"const",
"char",
"*",
"Name",
"=",
"\"<unknown>\"",
";",
"switch",
"(",
"Opcode",
")",
"{",
"default",
":",
"break",
";",
"case",
"AArch64",
"::",
"B",
":",
"N... | [
"Return",
"a",
"string",
"representation",
"for",
"an",
"opcode",
"."
] | [
"AArch64",
"\"<unknown>\"",
"AArch64::B",
"\"AArch64::B\"",
"AArch64::Bcc",
"\"AArch64::Bcc\"",
"AArch64::BR",
"\"AArch64::BR\"",
"AArch64::BRAA",
"\"AArch64::BRAA\"",
"AArch64::BRAAZ",
"\"AArch64::BRAAZ\"",
"AArch64::BRAB",
"\"AArch64::BRAB\"",
"AArch64::BRABZ",
"\"AArch64::BRABZ\"",
... | AArch64BranchTargetAligner | getOpcodeName | AArch64 | CPU | LLVM | 24,344 | 350 | 1 | [] |
[
"<s>",
"poly_int64",
"pdp11_push_rounding",
"(",
"poly_int64",
"bytes",
")",
"{",
"return",
"(",
"bytes",
"+",
"1",
")",
"&",
"~",
"1",
";",
"}",
"</s>"
] | [
"Implement",
"PUSH_ROUNDING",
".",
"On",
"the",
"pdp11",
",",
"the",
"stack",
"is",
"on",
"an",
"even",
"boundary",
"."
] | [
"pdp11",
"1",
"1"
] | pdp11 | pdp11_push_rounding | pdp11 | MPU | GCC | 24,345 | 18 | 1 | [] |
[
"<s>",
"SDNode",
"*",
"DCPU16DAGToDAGISel",
"::",
"Select",
"(",
"SDNode",
"*",
"Node",
")",
"{",
"DebugLoc",
"dl",
"=",
"Node",
"->",
"getDebugLoc",
"(",
")",
";",
"DEBUG",
"(",
"errs",
"(",
")",
"<<",
"\"Selecting: \"",
")",
";",
"DEBUG",
"(",
"Node"... | [
"Main",
"hook",
"for",
"targets",
"to",
"transform",
"nodes",
"into",
"machine",
"nodes",
"."
] | [
"Dcpu16",
"DCPU16",
"\"Selecting: \"",
"\"\\n\"",
"\"== \"",
"\"\\n\"",
"ISD::FrameIndex",
"0",
"MVT::i16",
"MVT::i16",
"DCPU16::ADD16ri",
"MVT::i16",
"0",
"MVT::i16",
"DCPU16::ADD16ri",
"MVT::i16",
"0",
"MVT::i16",
"\"=> \"",
"\"\\n\""
] | Dcpu16ISelDAGToDAG | Select | Dcpu16 | CPU | LLVM | 24,346 | 275 | 1 | [] |
[
"<s>",
"bool",
"MipsTargetObjectFile",
"::",
"IsGlobalInSmallSection",
"(",
"const",
"GlobalValue",
"*",
"GV",
",",
"const",
"TargetMachine",
"&",
"TM",
",",
"SectionKind",
"Kind",
")",
"const",
"{",
"const",
"MipsSubtarget",
"&",
"Subtarget",
"=",
"TM",
".",
... | [
"Return",
"true",
"if",
"this",
"global",
"address",
"should",
"be",
"placed",
"into",
"small",
"data/bss",
"section",
"."
] | [
"Mips",
"Mips",
"Mips",
"Mips"
] | MipsTargetObjectFile14 | IsGlobalInSmallSection | Mips | CPU | LLVM | 24,347 | 126 | 1 | [] |
[
"<s>",
"void",
"bpf_print_operand",
"(",
"FILE",
"*",
"file",
",",
"rtx",
"op",
",",
"int",
"code",
"ATTRIBUTE_UNUSED",
")",
"{",
"switch",
"(",
"GET_CODE",
"(",
"op",
")",
")",
"{",
"case",
"REG",
":",
"fprintf",
"(",
"file",
",",
"\"%s\"",
",",
"re... | [
"Print",
"an",
"instruction",
"operand",
".",
"This",
"function",
"is",
"called",
"in",
"the",
"macro",
"PRINT_OPERAND",
"defined",
"in",
"bpf.h"
] | [
"bpf",
"\"%s\"",
"0",
"0",
"2",
"0",
"0xffffffff",
"1",
"0xffffffff",
"\"0x%08lx\"",
"0",
"\"0x%08lx%08lx\"",
"0",
"1",
"\"0x%08lx%08lx\"",
"1",
"0"
] | bpf1 | bpf_print_operand | bpf | Virtual ISA | GCC | 24,348 | 264 | 1 | [] |
[
"<s>",
"void",
"MipsPassConfig",
"::",
"addIRPasses",
"(",
")",
"{",
"TargetPassConfig",
"::",
"addIRPasses",
"(",
")",
";",
"addPass",
"(",
"createAtomicExpandPass",
"(",
"&",
"getMipsTargetMachine",
"(",
")",
")",
")",
";",
"if",
"(",
"getMipsSubtarget",
"("... | [
"Add",
"common",
"target",
"configurable",
"passes",
"that",
"perform",
"LLVM",
"IR",
"to",
"IR",
"transforms",
"following",
"machine",
"independent",
"optimization",
"."
] | [
"Mips",
"Mips",
"Mips",
"Mips",
"Mips",
"Mips",
"Mips",
"Mips",
"Mips",
"Mips"
] | MipsTargetMachine74 | addIRPasses | Mips | CPU | LLVM | 24,349 | 99 | 1 | [] |
[
"<s>",
"virtual",
"void",
"EmitInstruction",
"(",
"const",
"MachineInstr",
"*",
"MI",
")",
"{",
"SmallString",
"<",
"128",
">",
"Str",
";",
"raw_svector_ostream",
"OS",
"(",
"Str",
")",
";",
"printInstruction",
"(",
"MI",
",",
"OS",
")",
";",
"OutStreamer"... | [
"EmitInstruction",
"-",
"This",
"callback",
"is",
"invoked",
"when",
"an",
"instruction",
"is",
"emitted",
",",
"to",
"advance",
"the",
"hazard",
"state",
"."
] | [
"Mandarin",
"128"
] | MandarinAsmPrinter | EmitInstruction | Mandarin | CPU | LLVM | 24,350 | 41 | 1 | [] |
[
"<s>",
"SDValue",
"TPCTargetLowering",
"::",
"LowerReturn",
"(",
"SDValue",
"Chain",
",",
"CallingConv",
"::",
"ID",
"CC",
",",
"bool",
"Flag",
",",
"const",
"SmallVectorImpl",
"<",
"ISD",
"::",
"OutputArg",
">",
"&",
"Outs",
",",
"const",
"SmallVectorImpl",
... | [
"This",
"hook",
"must",
"be",
"implemented",
"to",
"lower",
"outgoing",
"return",
"values",
",",
"described",
"by",
"the",
"Outs",
"array",
",",
"into",
"the",
"specified",
"DAG",
"."
] | [
"TPC",
"TPC",
"ISD::OutputArg",
"TPCISD::HALT",
"MVT::Other"
] | TPCISelLowering | LowerReturn | TPC | Virtual ISA | LLVM | 24,351 | 64 | 1 | [] |
[
"<s>",
"const",
"uint16_t",
"*",
"ARMBaseRegisterInfo",
"::",
"getCalleeSavedRegs",
"(",
"const",
"MachineFunction",
"*",
"MF",
")",
"const",
"{",
"const",
"uint16_t",
"*",
"RegList",
"=",
"(",
"STI",
".",
"isTargetIOS",
"(",
")",
"&&",
"!",
"STI",
".",
"i... | [
"Code",
"Generation",
"virtual",
"methods",
"..."
] | [
"ARM",
"ARM",
"\"interrupt\"",
"\"interrupt\"",
"\"FIQ\""
] | ARMBaseRegisterInfo31 | getCalleeSavedRegs | ARM | CPU | LLVM | 24,352 | 130 | 1 | [] |
[
"<s>",
"StringRef",
"getPassName",
"(",
")",
"const",
"override",
"{",
"return",
"\"X86 Avoid Store Forwarding Blocks\"",
";",
"}",
"</s>"
] | [
"getPassName",
"-",
"Return",
"a",
"nice",
"clean",
"name",
"for",
"a",
"pass",
"."
] | [
"X86",
"\"X86 Avoid Store Forwarding Blocks\""
] | X86AvoidStoreForwardingBlocks | getPassName | X86 | CPU | LLVM | 24,353 | 11 | 1 | [] |
[
"<s>",
"StringRef",
"getPassName",
"(",
")",
"const",
"override",
"{",
"return",
"\"M68k Assembly Printer\"",
";",
"}",
"</s>"
] | [
"getPassName",
"-",
"Return",
"a",
"nice",
"clean",
"name",
"for",
"a",
"pass",
"."
] | [
"M68k",
"\"M68k Assembly Printer\""
] | M68kAsmPrinter | getPassName | M68k | MPU | LLVM | 24,354 | 11 | 1 | [] |
[
"<s>",
"virtual",
"void",
"getAnalysisUsage",
"(",
"AnalysisUsage",
"&",
"AU",
")",
"const",
"{",
"AU",
".",
"setPreservesAll",
"(",
")",
";",
"MachineFunctionPass",
"::",
"getAnalysisUsage",
"(",
"AU",
")",
";",
"}",
"</s>"
] | [
"getAnalysisUsage",
"-",
"Subclasses",
"that",
"override",
"getAnalysisUsage",
"must",
"call",
"this",
"."
] | [
"TMS320C64X"
] | TMS320C64XCallTimer | getAnalysisUsage | TMS320C64X | VLIW | LLVM | 24,355 | 24 | 1 | [] |
[
"<s>",
"TargetLowering",
"::",
"ConstraintType",
"SystemZTargetLowering",
"::",
"getConstraintType",
"(",
"const",
"std",
"::",
"string",
"&",
"Constraint",
")",
"const",
"{",
"if",
"(",
"Constraint",
".",
"size",
"(",
")",
"==",
"1",
")",
"{",
"switch",
"("... | [
"Given",
"a",
"constraint",
"letter",
",",
"return",
"the",
"type",
"of",
"constraint",
"for",
"this",
"target",
"."
] | [
"SystemZ",
"SystemZ",
"1",
"0"
] | SystemZISelLowering101 | getConstraintType | SystemZ | CPU | LLVM | 24,356 | 56 | 1 | [] |
[
"<s>",
"static",
"bool",
"cortex_a9_sched_adjust_cost",
"(",
"rtx_insn",
"*",
"insn",
",",
"rtx",
"link",
",",
"rtx_insn",
"*",
"dep",
",",
"int",
"*",
"cost",
")",
"{",
"switch",
"(",
"REG_NOTE_KIND",
"(",
"link",
")",
")",
"{",
"case",
"REG_DEP_ANTI",
... | [
"Adjust",
"cost",
"hook",
"for",
"Cortex",
"A9",
"."
] | [
"arm",
"0",
"0",
"0",
"3",
"1"
] | arm4 | cortex_a9_sched_adjust_cost | arm | CPU | GCC | 24,357 | 278 | 1 | [] |
[
"<s>",
"void",
"altivec_expand_stvx_be",
"(",
"rtx",
"op0",
",",
"rtx",
"op1",
",",
"machine_mode",
"mode",
",",
"unsigned",
"unspec",
")",
"{",
"rtx",
"tmp",
"=",
"gen_reg_rtx",
"(",
"mode",
")",
";",
"rtx",
"store",
"=",
"gen_rtx_SET",
"(",
"op0",
",",... | [
"Generate",
"code",
"for",
"a",
"``",
"stvx",
"''",
"or",
"``",
"stvxl",
"''",
"built-in",
"for",
"a",
"little",
"endian",
"target",
"with",
"-maltivec=be",
"specified",
".",
"Issue",
"the",
"store",
"preceded",
"by",
"an",
"element-reversing",
"permute",
".... | [
"rs6000",
"1",
"2",
"3"
] | rs60005 | altivec_expand_stvx_be | rs6000 | CPU | GCC | 24,358 | 123 | 1 | [] |
[
"<s>",
"unsigned",
"GCNHazardRecognizer",
"::",
"PreEmitNoops",
"(",
"MachineInstr",
"*",
"MI",
")",
"{",
"IsHazardRecognizerMode",
"=",
"true",
";",
"CurrCycleInstr",
"=",
"MI",
";",
"unsigned",
"W",
"=",
"PreEmitNoopsCommon",
"(",
"MI",
")",
";",
"CurrCycleIns... | [
"PreEmitNoops",
"-",
"This",
"callback",
"is",
"invoked",
"prior",
"to",
"emitting",
"an",
"instruction",
"."
] | [
"AMDGPU"
] | GCNHazardRecognizer | PreEmitNoops | AMDGPU | GPU | LLVM | 24,359 | 34 | 1 | [] |
[
"<s>",
"BitVector",
"TeakRegisterInfo",
"::",
"getReservedRegs",
"(",
"const",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"BitVector",
"Reserved",
"(",
"getNumRegs",
"(",
")",
")",
";",
"Reserved",
".",
"set",
"(",
"Teak",
"::",
"SP",
")",
";",
"Rese... | [
"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",
"... | [
"Teak",
"Teak",
"Teak::SP",
"Teak::PC",
"Teak::R7",
"Teak::LC",
"Teak::EXT0",
"Teak::EXT1",
"Teak::EXT2",
"Teak::EXT3"
] | TeakRegisterInfo | getReservedRegs | Teak | DSP | LLVM | 24,360 | 96 | 1 | [] |
[
"<s>",
"static",
"int",
"zero_all_st_registers",
"(",
"HARD_REG_SET",
"need_zeroed_hardregs",
")",
"{",
"if",
"(",
"!",
"(",
"TARGET_80387",
"||",
"TARGET_FLOAT_RETURNS_IN_80387",
")",
")",
"return",
"0",
";",
"unsigned",
"int",
"num_of_st",
"=",
"0",
";",
"for"... | [
"Generate",
"insns",
"to",
"zero",
"all",
"st",
"registers",
"together",
".",
"Return",
"true",
"when",
"zeroing",
"instructions",
"are",
"generated",
".",
"Assume",
"the",
"number",
"of",
"st",
"registers",
"that",
"are",
"zeroed",
"is",
"num_of_st",
",",
"... | [
"i386",
"0",
"0",
"0",
"0",
"0",
"6",
"7",
"8",
"0",
"0"
] | i386 | zero_all_st_registers | i386 | CPU | GCC | 24,361 | 228 | 1 | [] |
[
"<s>",
"static",
"bool",
"decl_has_samegp",
"(",
"tree",
"decl",
")",
"{",
"if",
"(",
"!",
"(",
"*",
"targetm",
".",
"binds_local_p",
")",
"(",
"decl",
")",
")",
"return",
"false",
";",
"if",
"(",
"TARGET_EXPLICIT_RELOCS",
"&&",
"TARGET_SMALL_DATA",
")",
... | [
"Return",
"true",
"if",
"the",
"function",
"DECL",
"will",
"share",
"the",
"same",
"GP",
"as",
"any",
"function",
"in",
"the",
"current",
"unit",
"of",
"translation",
"."
] | [
"alpha"
] | alpha3 | decl_has_samegp | alpha | MPU | GCC | 24,362 | 47 | 1 | [] |
[
"<s>",
"void",
"SIMCCodeEmitter",
"::",
"encodeInstruction",
"(",
"const",
"MCInst",
"&",
"MI",
",",
"raw_ostream",
"&",
"OS",
",",
"SmallVectorImpl",
"<",
"MCFixup",
">",
"&",
"Fixups",
",",
"const",
"MCSubtargetInfo",
"&",
"STI",
")",
"const",
"{",
"verify... | [
"Encode",
"the",
"given",
"Inst",
"to",
"bytes",
"and",
"append",
"to",
"CB",
"."
] | [
"AMDGPU",
"SI",
"0",
"8",
"0xff",
"4",
"0",
"AMDGPU::isSISrcOperand",
"255",
"0",
"\"Must be immediate or expr\"",
"0",
"4",
"8",
"0xff"
] | SIMCCodeEmitter2 | encodeInstruction | AMDGPU | GPU | LLVM | 24,363 | 310 | 1 | [] |
[
"<s>",
"virtual",
"const",
"char",
"*",
"getPassName",
"(",
")",
"const",
"{",
"return",
"\"Patmos Call Graph Builder\"",
";",
"}",
"</s>"
] | [
"getPassName",
"-",
"Return",
"a",
"nice",
"clean",
"name",
"for",
"a",
"pass",
"."
] | [
"Patmos",
"\"Patmos Call Graph Builder\""
] | PatmosCallGraphBuilder | getPassName | Patmos | VLIW | LLVM | 24,364 | 13 | 1 | [] |
[
"<s>",
"void",
"getAnalysisUsage",
"(",
"AnalysisUsage",
"&",
"AU",
")",
"const",
"override",
"{",
"AU",
".",
"setPreservesCFG",
"(",
")",
";",
"AU",
".",
"addRequired",
"<",
"MachineLoopInfo",
">",
"(",
")",
";",
"MachineFunctionPass",
"::",
"getAnalysisUsage... | [
"getAnalysisUsage",
"-",
"Subclasses",
"that",
"override",
"getAnalysisUsage",
"must",
"call",
"this",
"."
] | [
"TPC"
] | TPCLutCacheCounter | getAnalysisUsage | TPC | Virtual ISA | LLVM | 24,365 | 33 | 1 | [] |
[
"<s>",
"const",
"char",
"*",
"mips_output_load_label",
"(",
"void",
")",
"{",
"if",
"(",
"TARGET_EXPLICIT_RELOCS",
")",
"switch",
"(",
"mips_abi",
")",
"{",
"case",
"ABI_N32",
":",
"return",
"\"%[lw\\t%@,%%got_page(%0)(%+)\\n\\taddiu\\t%@,%@,%%got_ofst(%0)\"",
";",
"c... | [
"Return",
"an",
"asm",
"sequence",
"to",
"start",
"a",
"noat",
"block",
"and",
"load",
"the",
"address",
"of",
"a",
"label",
"into",
"$",
"1",
"."
] | [
"mips",
"\"%[lw\\t%@,%%got_page(%0)(%+)\\n\\taddiu\\t%@,%@,%%got_ofst(%0)\"",
"\"%[ld\\t%@,%%got_page(%0)(%+)\\n\\tdaddiu\\t%@,%@,%%got_ofst(%0)\"",
"\"%[lw\\t%@,%%got(%0)(%+)%#\\n\\taddiu\\t%@,%@,%%lo(%0)\"",
"\"%[lw\\t%@,%%got(%0)(%+)\\n\\taddiu\\t%@,%@,%%lo(%0)\"",
"\"%[dla\\t%@,%0\"",
"\"%[la\\t%@,%... | mips3 | mips_output_load_label | mips | CPU | GCC | 24,366 | 59 | 1 | [] |
[
"<s>",
"static",
"rtx",
"frame_emit_store",
"(",
"int",
"regno",
",",
"int",
"regno_note",
",",
"rtx",
"addr",
",",
"rtx",
"cfa",
",",
"int",
"cfa_offset",
")",
"{",
"rtx",
"reg",
"=",
"gen_rtx_REG",
"(",
"DImode",
",",
"regno",
")",
";",
"rtx",
"mem",... | [
"Emit",
"a",
"store",
"in",
"the",
"stack",
"frame",
"to",
"save",
"REGNO",
"at",
"address",
"ADDR",
",",
"and",
"emit",
"the",
"corresponding",
"REG_CFA_OFFSET",
"note",
"described",
"by",
"CFA",
"and",
"CFA_OFFSET",
".",
"Return",
"the",
"emitted",
"insn",... | [
"tilegx"
] | tilegx2 | frame_emit_store | tilegx | VLIW | GCC | 24,367 | 113 | 1 | [] |
[
"<s>",
"bool",
"supportSplitCSR",
"(",
"MachineFunction",
"*",
"MF",
")",
"const",
"override",
"{",
"return",
"MF",
"->",
"getFunction",
"(",
")",
".",
"getCallingConv",
"(",
")",
"==",
"CallingConv",
"::",
"CXX_FAST_TLS",
"&&",
"MF",
"->",
"getFunction",
"(... | [
"Return",
"true",
"if",
"the",
"target",
"supports",
"that",
"a",
"subset",
"of",
"CSRs",
"for",
"the",
"given",
"machine",
"function",
"is",
"handled",
"explicitly",
"via",
"copies",
"."
] | [
"ARM"
] | ARMISelLowering | supportSplitCSR | ARM | CPU | LLVM | 24,368 | 39 | 1 | [] |
[
"<s>",
"void",
"PPCInstrInfo",
"::",
"insertNoop",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"MI",
")",
"const",
"{",
"DebugLoc",
"DL",
"=",
"DebugLoc",
"::",
"getUnknownLoc",
"(",
")",
";",
"if",
"(",
"MI",
"!=",
"M... | [
"Insert",
"a",
"noop",
"into",
"the",
"instruction",
"stream",
"at",
"the",
"specified",
"point",
"."
] | [
"PowerPC",
"PPC",
"PPC::NOP"
] | PPCInstrInfo22 | insertNoop | PowerPC | CPU | LLVM | 24,369 | 60 | 1 | [] |
[
"<s>",
"bool",
"AMDGPUUseNativeCalls",
"::",
"runOnFunction",
"(",
"Function",
"&",
"F",
")",
"{",
"if",
"(",
"skipFunction",
"(",
"F",
")",
"||",
"UseNative",
".",
"empty",
"(",
")",
")",
"return",
"false",
";",
"bool",
"Changed",
"=",
"false",
";",
"... | [
"runOnFunction",
"-",
"Virtual",
"method",
"overriden",
"by",
"subclasses",
"to",
"do",
"the",
"per-function",
"processing",
"of",
"the",
"pass",
"."
] | [
"AMDGPU",
"AMDGPU",
"0"
] | AMDGPULibCalls | runOnFunction | AMDGPU | GPU | LLVM | 24,370 | 126 | 1 | [] |
[
"<s>",
"void",
"SIScheduleBlock",
"::",
"releaseSuccessors",
"(",
"SUnit",
"*",
"SU",
",",
"bool",
"InOrOutBlock",
")",
"{",
"for",
"(",
"SDep",
"&",
"Succ",
":",
"SU",
"->",
"Succs",
")",
"{",
"SUnit",
"*",
"SuccSU",
"=",
"Succ",
".",
"getSUnit",
"(",... | [
"releaseSuccessors",
"-",
"Call",
"releaseSucc",
"on",
"each",
"of",
"SU",
"'s",
"successors",
"."
] | [
"AMDGPU",
"SI",
"0"
] | SIMachineScheduler (2) | releaseSuccessors | AMDGPU | GPU | LLVM | 24,371 | 92 | 1 | [] |
[
"<s>",
"static",
"rtx",
"emit_memset",
"(",
"rtx",
"destmem",
",",
"rtx",
"destptr",
",",
"rtx",
"promoted_val",
",",
"HOST_WIDE_INT",
"size_to_move",
")",
"{",
"rtx",
"dst",
"=",
"destmem",
";",
"enum",
"insn_code",
"code",
";",
"machine_mode",
"move_mode",
... | [
"This",
"function",
"emits",
"moves",
"to",
"fill",
"SIZE_TO_MOVE",
"bytes",
"starting",
"from",
"DESTMEM",
"with",
"value",
"PROMOTED_VAL",
".",
"SRC",
"is",
"passed",
"by",
"pointer",
"to",
"be",
"updated",
"on",
"return",
".",
"Return",
"value",
"is",
"up... | [
"i386",
"0",
"0",
"0",
"0"
] | i386-expand | emit_memset | i386 | CPU | GCC | 24,372 | 242 | 1 | [] |
[
"<s>",
"virtual",
"unsigned",
"getRegPressureLimit",
"(",
"const",
"TargetRegisterClass",
"*",
"RC",
",",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"return",
"50",
";",
"}",
"</s>"
] | [
"Return",
"the",
"register",
"pressure",
"``",
"high",
"water",
"mark",
"''",
"for",
"the",
"specific",
"register",
"class",
"."
] | [
"CellSPU",
"50"
] | SPUISelLowering4 | getRegPressureLimit | CellSPU | MPU | LLVM | 24,373 | 19 | 1 | [] |
[
"<s>",
"int",
"aarch64_movk_shift",
"(",
"const",
"wide_int_ref",
"&",
"and_val",
",",
"const",
"wide_int_ref",
"&",
"ior_val",
")",
"{",
"unsigned",
"int",
"precision",
"=",
"and_val",
".",
"get_precision",
"(",
")",
";",
"unsigned",
"HOST_WIDE_INT",
"mask",
... | [
"Test",
"whether",
":",
"X",
"=",
"(",
"X",
"&",
"AND_VAL",
")",
"|",
"IOR_VAL",
";",
"can",
"be",
"implemented",
"using",
":",
"MOVK",
"X",
",",
"#",
"(",
"IOR_VAL",
">",
">",
"shift",
")",
",",
"LSL",
"#",
"shift",
"Return",
"the",
"shift",
"if... | [
"aarch64",
"0xffff",
"0",
"16",
"16",
"1"
] | aarch64 | aarch64_movk_shift | aarch64 | CPU | GCC | 24,374 | 75 | 1 | [] |
[
"<s>",
"MachineBasicBlock",
"*",
"AArch64TargetLowering",
"::",
"EmitInstrWithCustomInserter",
"(",
"MachineInstr",
"*",
"MI",
",",
"MachineBasicBlock",
"*",
"BB",
")",
"const",
"{",
"switch",
"(",
"MI",
"->",
"getOpcode",
"(",
")",
")",
"{",
"default",
":",
"... | [
"This",
"method",
"should",
"be",
"implemented",
"by",
"targets",
"that",
"mark",
"instructions",
"with",
"the",
"'usesCustomInserter",
"'",
"flag",
"."
] | [
"AArch64",
"AArch64",
"\"Unexpected instruction for custom inserter!\"",
"AArch64::F128CSEL"
] | AArch64ISelLowering (2)1 | EmitInstrWithCustomInserter | AArch64 | CPU | LLVM | 24,375 | 71 | 1 | [] |
[
"<s>",
"void",
"AMDGPURegisterBankInfo",
"::",
"split64BitValueForMapping",
"(",
"MachineIRBuilder",
"&",
"B",
",",
"SmallVector",
"<",
"Register",
",",
"2",
">",
"&",
"Regs",
",",
"LLT",
"HalfTy",
",",
"Register",
"Reg",
")",
"const",
"{",
"assert",
"(",
"H... | [
"Split",
"64-bit",
"value",
"Reg",
"into",
"two",
"32-bit",
"halves",
"and",
"populate",
"them",
"into",
"Regs",
"."
] | [
"AMDGPU",
"AMDGPU",
"2",
"32",
"AMDGPU::G_UNMERGE_VALUES"
] | AMDGPURegisterBankInfo (2) | split64BitValueForMapping | AMDGPU | GPU | LLVM | 24,376 | 142 | 1 | [] |
[
"<s>",
"DecodeStatus",
"VEDisassembler",
"::",
"getInstruction",
"(",
"MCInst",
"&",
"Instr",
",",
"uint64_t",
"&",
"Size",
",",
"ArrayRef",
"<",
"uint8_t",
">",
"Bytes",
",",
"uint64_t",
"Address",
",",
"raw_ostream",
"&",
"CStream",
")",
"const",
"{",
"uin... | [
"Returns",
"the",
"disassembly",
"of",
"a",
"single",
"instruction",
"."
] | [
"VE",
"VE",
"VE",
"8"
] | VEDisassembler | getInstruction | VE | CPU | LLVM | 24,377 | 115 | 1 | [] |
[
"<s>",
"void",
"MBlazeRegisterInfo",
"::",
"eliminateFrameIndex",
"(",
"MachineBasicBlock",
"::",
"iterator",
"II",
",",
"int",
"SPAdj",
",",
"RegScavenger",
"*",
"RS",
")",
"const",
"{",
"MachineInstr",
"&",
"MI",
"=",
"*",
"II",
";",
"MachineFunction",
"&",
... | [
"This",
"method",
"must",
"be",
"overriden",
"to",
"eliminate",
"abstract",
"frame",
"indices",
"from",
"instructions",
"which",
"may",
"use",
"them",
"."
] | [
"MBlaze",
"MBlaze",
"0",
"\"Instr doesn't have FrameIndex operand!\"",
"2",
"1",
"2",
"\"\\nFunction : \"",
"\"\\n\"",
"\"<--------->\\n\"",
"\"FrameIndex : \"",
"\"\\n\"",
"\"spOffset : \"",
"\"\\n\"",
"\"stackSize : \"",
"\"\\n\"",
"0",
"\"Offset : \"",
"\"\\n\"",
"\"<... | MBlazeRegisterInfo5 | eliminateFrameIndex | MBlaze | MPU | LLVM | 24,378 | 258 | 1 | [] |
[
"<s>",
"void",
"ix86_emit_i387_round",
"(",
"rtx",
"op0",
",",
"rtx",
"op1",
")",
"{",
"machine_mode",
"inmode",
"=",
"GET_MODE",
"(",
"op1",
")",
";",
"machine_mode",
"outmode",
"=",
"GET_MODE",
"(",
"op0",
")",
";",
"rtx",
"e1",
"=",
"gen_reg_rtx",
"("... | [
"Emit",
"code",
"for",
"round",
"calculation",
"."
] | [
"i386",
"1",
"0x02",
"50",
"100",
"1"
] | i386-expand | ix86_emit_i387_round | i386 | CPU | GCC | 24,379 | 465 | 1 | [] |
[
"<s>",
"bool",
"requiresFrameIndexScavenging",
"(",
"const",
"MachineFunction",
"&",
"MF",
")",
"const",
"override",
"{",
"return",
"true",
";",
"}",
"</s>"
] | [
"Returns",
"true",
"if",
"the",
"target",
"requires",
"post",
"PEI",
"scavenging",
"of",
"registers",
"for",
"materializing",
"frame",
"index",
"constants",
"."
] | [
"Hexagon"
] | HexagonRegisterInfo13 | requiresFrameIndexScavenging | Hexagon | DSP | LLVM | 24,380 | 15 | 1 | [] |
[
"<s>",
"RegisterBankInfo",
"::",
"InstructionMapping",
"X86RegisterBankInfo",
"::",
"getInstrMapping",
"(",
"const",
"MachineInstr",
"&",
"MI",
")",
"const",
"{",
"const",
"MachineFunction",
"&",
"MF",
"=",
"*",
"MI",
".",
"getParent",
"(",
")",
"->",
"getParent... | [
"Get",
"the",
"mapping",
"of",
"the",
"different",
"operands",
"of",
"MI",
"on",
"the",
"register",
"bank",
"."
] | [
"X86",
"X86",
"4",
"8",
"1"
] | X86RegisterBankInfo13 | getInstrMapping | X86 | CPU | LLVM | 24,381 | 216 | 1 | [] |
[
"<s>",
"unsigned",
"TOYRegisterInfo",
"::",
"getFrameRegister",
"(",
"const",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"return",
"TOY",
"::",
"SP",
";",
"}",
"</s>"
] | [
"Debug",
"information",
"queries",
"."
] | [
"TOY",
"TOY",
"TOY::SP"
] | TOYRegisterInfo1 | getFrameRegister | TOY | CPU | LLVM | 24,382 | 18 | 1 | [] |
[
"<s>",
"DecodeStatus",
"HexagonDisassembler",
"::",
"getInstruction",
"(",
"MCInst",
"&",
"MI",
",",
"uint64_t",
"&",
"Size",
",",
"MemoryObject",
"const",
"&",
"Region",
",",
"uint64_t",
"Address",
",",
"raw_ostream",
"&",
"os",
",",
"raw_ostream",
"&",
"cs",... | [
"Returns",
"the",
"disassembly",
"of",
"a",
"single",
"instruction",
"."
] | [
"Hexagon",
"Hexagon",
"4",
"4",
"1",
"support::endian",
"support::little",
"support::unaligned",
"HexagonII::InstParseBits"
] | HexagonDisassembler39 | getInstruction | Hexagon | DSP | LLVM | 24,383 | 141 | 1 | [] |
[
"<s>",
"static",
"rtx",
"frv_expand_mrdacc_builtin",
"(",
"enum",
"insn_code",
"icode",
",",
"tree",
"arglist",
")",
"{",
"rtx",
"pat",
";",
"rtx",
"target",
"=",
"gen_reg_rtx",
"(",
"SImode",
")",
";",
"rtx",
"op0",
"=",
"frv_read_argument",
"(",
"&",
"ar... | [
"Expand",
"MRDACC",
"and",
"MRDACCG",
".",
"These",
"builtins",
"take",
"a",
"single",
"accumulator",
"number",
"or",
"accumulator",
"guard",
"number",
"as",
"argument",
"and",
"return",
"an",
"SI",
"integer",
"."
] | [
"frv",
"1"
] | frv2 | frv_expand_mrdacc_builtin | frv | VLIW | GCC | 24,384 | 80 | 1 | [] |
[
"<s>",
"bool",
"X86TargetLowering",
"::",
"getTgtMemIntrinsic",
"(",
"IntrinsicInfo",
"&",
"Info",
",",
"const",
"CallInst",
"&",
"I",
",",
"MachineFunction",
"&",
"MF",
",",
"unsigned",
"Intrinsic",
")",
"const",
"{",
"const",
"IntrinsicData",
"*",
"IntrData",
... | [
"Given",
"an",
"intrinsic",
",",
"checks",
"if",
"on",
"the",
"target",
"the",
"intrinsic",
"will",
"need",
"to",
"map",
"to",
"a",
"MemIntrinsicNode",
"(",
"touches",
"memory",
")",
"."
] | [
"X86",
"X86",
"ISD::INTRINSIC_W_CHAIN",
"0",
"0",
"MVT::getVT",
"1",
"MVT::INVALID_SIMPLE_VALUE_TYPE",
"MVT::i8",
"MVT::i16",
"MVT::i32",
"MVT::getVectorVT",
"1"
] | X86ISelLowering (2)8 | getTgtMemIntrinsic | X86 | CPU | LLVM | 24,385 | 205 | 1 | [] |
[
"<s>",
"bool",
"sh2a_function_vector_p",
"(",
"tree",
"func",
")",
"{",
"if",
"(",
"TREE_CODE",
"(",
"func",
")",
"!=",
"FUNCTION_DECL",
")",
"return",
"false",
";",
"for",
"(",
"tree",
"list",
"=",
"SH_ATTRIBUTES",
"(",
"func",
")",
";",
"list",
";",
... | [
"Returns",
"true",
"if",
"FUNC",
"has",
"been",
"assigned",
"the",
"attribute",
"``",
"function_vector",
"''",
"."
] | [
"sh",
"\"function_vector\""
] | sh6 | sh2a_function_vector_p | sh | CPU | GCC | 24,386 | 57 | 1 | [] |
[
"<s>",
"static",
"void",
"arm_output_mi_thunk",
"(",
"FILE",
"*",
"file",
",",
"tree",
"thunk",
",",
"HOST_WIDE_INT",
"delta",
",",
"HOST_WIDE_INT",
"vcall_offset",
",",
"tree",
"function",
")",
"{",
"const",
"char",
"*",
"fnname",
"=",
"IDENTIFIER_POINTER",
"... | [
"Output",
"code",
"to",
"add",
"DELTA",
"to",
"the",
"first",
"argument",
",",
"and",
"then",
"jump",
"to",
"FUNCTION",
".",
"Used",
"for",
"C++",
"multiple",
"inheritance",
"."
] | [
"arm"
] | arm | arm_output_mi_thunk | arm | CPU | GCC | 24,387 | 80 | 1 | [] |
[
"<s>",
"bool",
"RISCVAsmBackend",
"::",
"fixupNeedsRelaxationAdvanced",
"(",
"const",
"MCFixup",
"&",
"Fixup",
",",
"bool",
"Resolved",
",",
"uint64_t",
"Value",
",",
"const",
"MCRelaxableFragment",
"*",
"DF",
",",
"const",
"MCAsmLayout",
"&",
"Layout",
",",
"co... | [
"Target",
"specific",
"predicate",
"for",
"whether",
"a",
"given",
"fixup",
"requires",
"the",
"associated",
"instruction",
"to",
"be",
"relaxed",
"."
] | [
"RI5CY",
"RISCV",
"RISCV::fixup_riscv_rvc_branch",
"254",
"256",
"RISCV::fixup_riscv_rvc_jump",
"2046",
"2048"
] | RISCVAsmBackend | fixupNeedsRelaxationAdvanced | RI5CY | CPU | LLVM | 24,388 | 97 | 1 | [] |
[
"<s>",
"static",
"void",
"save_restore_insns",
"(",
"int",
"prologue",
")",
"{",
"rtx",
"base_reg_rtx",
",",
"reg_rtx",
",",
"mem_rtx",
",",
"isr_reg_rtx",
"=",
"0",
",",
"isr_mem_rtx",
"=",
"0",
";",
"rtx",
"isr_msr_rtx",
"=",
"0",
",",
"insn",
";",
"lo... | [
"Save",
"or",
"restore",
"instructions",
"based",
"on",
"whether",
"this",
"is",
"the",
"prologue",
"or",
"epilogue",
".",
"prologue",
"is",
"1",
"for",
"the",
"prologue",
"."
] | [
"microblaze",
"0",
"0",
"0",
"0",
"0",
"1",
"1",
"1"
] | microblaze | save_restore_insns | microblaze | MPU | GCC | 24,389 | 356 | 1 | [] |
[
"<s>",
"unsigned",
"RISCVAsmParser",
"::",
"validateTargetOperandClass",
"(",
"MCParsedAsmOperand",
"&",
"AsmOp",
",",
"unsigned",
"Kind",
")",
"{",
"RISCVOperand",
"&",
"Op",
"=",
"static_cast",
"<",
"RISCVOperand",
"&",
">",
"(",
"AsmOp",
")",
";",
"if",
"("... | [
"Allow",
"a",
"target",
"to",
"add",
"special",
"case",
"operand",
"matching",
"for",
"things",
"that",
"tblgen",
"doesn't/ca",
"n't",
"handle",
"effectively",
"."
] | [
"RI5CY",
"RISCV",
"RISCV",
"RISCV",
"RISCV",
"RISCV::FPR64RegClassID",
"RISCV",
"RISCV::FPR64CRegClassID"
] | RISCVAsmParser | validateTargetOperandClass | RI5CY | CPU | LLVM | 24,390 | 139 | 1 | [] |
[
"<s>",
"void",
"rs6000_call_aix",
"(",
"rtx",
"value",
",",
"rtx",
"func_desc",
",",
"rtx",
"flag",
",",
"rtx",
"cookie",
")",
"{",
"const",
"bool",
"direct_call_p",
"=",
"GET_CODE",
"(",
"func_desc",
")",
"==",
"SYMBOL_REF",
"&&",
"SYMBOL_REF_FUNCTION_P",
"... | [
"Expand",
"code",
"to",
"perform",
"a",
"call",
"under",
"the",
"AIX",
"or",
"ELFv2",
"ABI",
"."
] | [
"powerpcspe",
"4",
"1",
"1",
"12",
"2",
"0",
"0",
"0",
"1"
] | powerpcspe | rs6000_call_aix | powerpcspe | CPU | GCC | 24,391 | 508 | 1 | [] |
[
"<s>",
"void",
"Mips16InstrInfo",
"::",
"adjustStackPtr",
"(",
"unsigned",
"SP",
",",
"int64_t",
"Amount",
",",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"I",
")",
"const",
"{",
"DebugLoc",
"DL",
"=",
"I",
"!=",
"MBB",
".",... | [
"Adjust",
"SP",
"by",
"Amount",
"bytes",
"."
] | [
"Mips",
"Mips",
"16",
"0",
"Mips::SaveDecSpF16",
"0",
"Mips::RestoreIncSpF16",
"\"adjust stack pointer amount exceeded\""
] | Mips16InstrInfo11 | adjustStackPtr | Mips | CPU | LLVM | 24,392 | 120 | 1 | [] |
[
"<s>",
"void",
"NVPTXAsmPrinter",
"::",
"emitHeader",
"(",
"Module",
"&",
"M",
",",
"raw_ostream",
"&",
"O",
",",
"const",
"NVPTXSubtarget",
"&",
"STI",
")",
"{",
"O",
"<<",
"\"//\\n\"",
";",
"O",
"<<",
"\"// Generated by LLVM NVPTX Back-End\\n\"",
";",
"O",
... | [
"Emit",
"the",
"header",
"for",
"this",
"unit",
",",
"not",
"including",
"the",
"initial",
"length",
"field",
"."
] | [
"NVPTX",
"NVPTX",
"NVPTX",
"\"//\\n\"",
"\"// Generated by LLVM NVPTX Back-End\\n\"",
"\"//\\n\"",
"\"\\n\"",
"\".version \"",
"10",
"\".\"",
"10",
"\"\\n\"",
"\".target \"",
"NVPTX",
"NVPTX",
"NVPTX::NVCL",
"\", texmode_independent\"",
"\"//, debug\"",
"\"\\n\"",
"\".address_s... | NVPTXAsmPrinter22 | emitHeader | NVPTX | GPU | LLVM | 24,393 | 155 | 1 | [] |
[
"<s>",
"void",
"TOYMCCodeEmitter",
"::",
"encodeInstruction",
"(",
"const",
"MCInst",
"&",
"MI",
",",
"raw_ostream",
"&",
"OS",
",",
"SmallVectorImpl",
"<",
"MCFixup",
">",
"&",
"Fixups",
",",
"const",
"MCSubtargetInfo",
"&",
"STI",
")",
"const",
"{",
"const... | [
"Encode",
"the",
"given",
"Inst",
"to",
"bytes",
"and",
"append",
"to",
"CB",
"."
] | [
"TOY",
"TOY",
"4",
"\"Unexpected instruction size!\""
] | TOYMCCodeEmitter1 | encodeInstruction | TOY | CPU | LLVM | 24,394 | 91 | 1 | [] |
[
"<s>",
"void",
"MetadataStreamerV3",
"::",
"begin",
"(",
"const",
"Module",
"&",
"Mod",
")",
"{",
"emitVersion",
"(",
")",
";",
"emitPrintf",
"(",
"Mod",
")",
";",
"getRootMetadata",
"(",
"\"amdhsa.kernels\"",
")",
"=",
"HSAMetadataDoc",
"->",
"getArrayNode",
... | [
"Recipe",
"iterator",
"methods",
"."
] | [
"AMDGPU",
"\"amdhsa.kernels\""
] | AMDGPUHSAMetadataStreamer10 | begin | AMDGPU | GPU | LLVM | 24,395 | 32 | 1 | [] |
[
"<s>",
"const",
"char",
"*",
"ARMTargetLowering",
"::",
"LowerXConstraint",
"(",
"EVT",
"ConstraintVT",
")",
"const",
"{",
"if",
"(",
"!",
"Subtarget",
"->",
"hasVFP2",
"(",
")",
")",
"return",
"\"r\"",
";",
"if",
"(",
"ConstraintVT",
".",
"isFloatingPoint",... | [
"Try",
"to",
"replace",
"an",
"X",
"constraint",
",",
"which",
"matches",
"anything",
",",
"with",
"another",
"that",
"has",
"more",
"specific",
"requirements",
"based",
"on",
"the",
"type",
"of",
"the",
"corresponding",
"operand",
"."
] | [
"ARM",
"ARM",
"\"r\"",
"\"w\"",
"64",
"128",
"\"w\"",
"\"r\""
] | ARMISelLowering (3) | LowerXConstraint | ARM | CPU | LLVM | 24,396 | 74 | 1 | [] |
[
"<s>",
"rtx",
"ia64_function_value",
"(",
"tree",
"valtype",
",",
"tree",
"func",
"ATTRIBUTE_UNUSED",
")",
"{",
"enum",
"machine_mode",
"mode",
";",
"enum",
"machine_mode",
"hfa_mode",
";",
"mode",
"=",
"TYPE_MODE",
"(",
"valtype",
")",
";",
"hfa_mode",
"=",
... | [
"Return",
"rtx",
"for",
"register",
"that",
"holds",
"the",
"function",
"return",
"value",
"."
] | [
"ia64",
"0",
"8",
"0",
"0",
"8",
"0",
"0",
"0"
] | ia643 | ia64_function_value | ia64 | CPU | GCC | 24,397 | 333 | 1 | [] |
[
"<s>",
"static",
"tree",
"msp430_attr",
"(",
"tree",
"*",
"node",
",",
"tree",
"name",
",",
"tree",
"args",
",",
"int",
"flags",
"ATTRIBUTE_UNUSED",
",",
"bool",
"*",
"no_add_attrs",
")",
"{",
"gcc_assert",
"(",
"DECL_P",
"(",
"*",
"node",
")",
")",
";... | [
"Verify",
"MSP430",
"specific",
"attributes",
"."
] | [
"msp430",
"\"reset\"",
"\"nmi\"",
"\"watchdog\"",
"\"unrecognized interrupt vector argument of %qE attribute\"",
"63",
"\"numeric argument of %qE attribute must be in range [0-63]\"",
"\"argument of %qE attribute is not a string constant \"",
"\"or number\"",
"\"%qE attribute only applies to funct... | msp430 | msp430_attr | msp430 | MPU | GCC | 24,398 | 318 | 1 | [] |
[
"<s>",
"inline",
"GCNRegPressure",
"max",
"(",
"const",
"GCNRegPressure",
"&",
"P1",
",",
"const",
"GCNRegPressure",
"&",
"P2",
")",
"{",
"GCNRegPressure",
"Res",
";",
"for",
"(",
"unsigned",
"I",
"=",
"0",
";",
"I",
"<",
"GCNRegPressure",
"::",
"TOTAL_KIN... | [
"Returns",
"the",
"maximum",
"possible",
"frequency",
",",
"the",
"saturation",
"value",
"."
] | [
"AMDGPU",
"0"
] | GCNRegPressure | max | AMDGPU | GPU | LLVM | 24,399 | 64 | 1 | [] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.