ground_truth listlengths 8 512 | natrual_language listlengths 1 243 | TS_V_token listlengths 1 182 | File stringlengths 2 45 | Func stringlengths 1 56 | Target stringclasses 175
values | Target_Clf stringclasses 6
values | Compiler_Type stringclasses 2
values | Idx int64 0 36.2k | Length int64 6 510 | Cover_Rate float64 1 1 | Template_token listlengths 0 0 |
|---|---|---|---|---|---|---|---|---|---|---|---|
[
"<s>",
"static",
"tree",
"altivec_build_resolved_builtin",
"(",
"tree",
"*",
"args",
",",
"int",
"n",
",",
"const",
"struct",
"altivec_builtin_types",
"*",
"desc",
")",
"{",
"tree",
"impl_fndecl",
"=",
"rs6000_builtin_decls",
"[",
"desc",
"->",
"overloaded_code",
... | [
"Build",
"a",
"tree",
"for",
"a",
"function",
"call",
"to",
"an",
"Altivec",
"non-overloaded",
"builtin",
".",
"The",
"overloaded",
"builtin",
"that",
"matched",
"the",
"types",
"and",
"args",
"is",
"described",
"by",
"DESC",
".",
"The",
"N",
"arguments",
... | [
"rs6000",
"3",
"0",
"2",
"2",
"1",
"1",
"2",
"2",
"1",
"1",
"0",
"0",
"0",
"2",
"0",
"0",
"1",
"1",
"0",
"0",
"2",
"2",
"0",
"0",
"1",
"1",
"3",
"3",
"0",
"0",
"1",
"1",
"2",
"2"
] | rs6000-c3 | altivec_build_resolved_builtin | rs6000 | CPU | GCC | 5,000 | 349 | 1 | [] |
[
"<s>",
"void",
"getAnalysisUsage",
"(",
"AnalysisUsage",
"&",
"AU",
")",
"const",
"override",
"{",
"MachineFunctionPass",
"::",
"getAnalysisUsage",
"(",
"AU",
")",
";",
"}",
"</s>"
] | [
"getAnalysisUsage",
"-",
"Subclasses",
"that",
"override",
"getAnalysisUsage",
"must",
"call",
"this",
"."
] | [
"NVPTX"
] | NVPTXPeephole | getAnalysisUsage | NVPTX | GPU | LLVM | 5,001 | 18 | 1 | [] |
[
"<s>",
"bool",
"GCNPreRAOptimizations",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"{",
"if",
"(",
"skipFunction",
"(",
"MF",
".",
"getFunction",
"(",
")",
")",
")",
"return",
"false",
";",
"const",
"GCNSubtarget",
"&",
"ST",
"=",
... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"AMDGPU",
"SI",
"0",
"64"
] | GCNPreRAOptimizations3 | runOnMachineFunction | AMDGPU | GPU | LLVM | 5,002 | 172 | 1 | [] |
[
"<s>",
"const",
"MCExpr",
"*",
"X86_64MachoTargetObjectFile",
"::",
"getTTypeGlobalReference",
"(",
"const",
"GlobalValue",
"*",
"GV",
",",
"unsigned",
"Encoding",
",",
"Mangler",
"&",
"Mang",
",",
"const",
"TargetMachine",
"&",
"TM",
",",
"MachineModuleInfo",
"*"... | [
"The",
"mach-o",
"version",
"of",
"this",
"method",
"defaults",
"to",
"returning",
"a",
"stub",
"reference",
"."
] | [
"X86",
"X86",
"4"
] | X86TargetObjectFile25 | getTTypeGlobalReference | X86 | CPU | LLVM | 5,003 | 129 | 1 | [] |
[
"<s>",
"bool",
"HexagonGenInsert",
"::",
"removeDeadCode",
"(",
"MachineDomTreeNode",
"*",
"N",
")",
"{",
"bool",
"Changed",
"=",
"false",
";",
"for",
"(",
"auto",
"*",
"DTN",
":",
"children",
"<",
"MachineDomTreeNode",
"*",
">",
"(",
"N",
")",
")",
"Cha... | [
"Remove",
"all",
"dead",
"instructions",
"between",
"the",
"I",
"and",
"E",
"."
] | [
"Hexagon",
"Hexagon",
"2",
"0"
] | HexagonGenInsert13 | removeDeadCode | Hexagon | DSP | LLVM | 5,004 | 318 | 1 | [] |
[
"<s>",
"bool",
"HexagonInstrInfo",
"::",
"canExecuteInBundle",
"(",
"const",
"MachineInstr",
"&",
"First",
",",
"const",
"MachineInstr",
"&",
"Second",
")",
"const",
"{",
"if",
"(",
"DisableNVSchedule",
")",
"return",
"false",
";",
"if",
"(",
"mayBeNewStore",
... | [
"Can",
"these",
"instructions",
"execute",
"at",
"the",
"same",
"time",
"in",
"a",
"bundle",
"."
] | [
"Hexagon",
"Hexagon",
"1",
"0"
] | HexagonInstrInfo21 | canExecuteInBundle | Hexagon | DSP | LLVM | 5,005 | 132 | 1 | [] |
[
"<s>",
"static",
"const",
"MachineOperand",
"&",
"getLdStBaseOp",
"(",
"const",
"MachineInstr",
"*",
"MI",
")",
"{",
"return",
"MI",
"->",
"getOperand",
"(",
"1",
")",
";",
"}",
"</s>"
] | [
"Returns",
"the",
"base",
"register",
"operator",
"of",
"a",
"load/store",
"."
] | [
"AArch64",
"1"
] | AArch64LoadStoreOptimizer47 | getLdStBaseOp | AArch64 | CPU | LLVM | 5,006 | 21 | 1 | [] |
[
"<s>",
"SDValue",
"NVPTXTargetLowering",
"::",
"LowerOperation",
"(",
"SDValue",
"Op",
",",
"SelectionDAG",
"&",
"DAG",
")",
"const",
"{",
"switch",
"(",
"Op",
".",
"getOpcode",
"(",
")",
")",
"{",
"case",
"ISD",
"::",
"RETURNADDR",
":",
"return",
"SDValue... | [
"LowerOperation",
"-",
"Provide",
"custom",
"lowering",
"hooks",
"for",
"some",
"operations",
"."
] | [
"NVPTX",
"NVPTX",
"ISD::RETURNADDR",
"ISD::FRAMEADDR",
"ISD::GlobalAddress",
"ISD::INTRINSIC_W_CHAIN",
"ISD::BUILD_VECTOR",
"ISD::EXTRACT_SUBVECTOR",
"ISD::CONCAT_VECTORS",
"\"Custom lowering not defined for operation\""
] | NVPTXISelLowering15 | LowerOperation | NVPTX | GPU | LLVM | 5,007 | 99 | 1 | [] |
[
"<s>",
"static",
"rtx",
"ix86_static_chain",
"(",
"const_tree",
"fndecl_or_type",
",",
"bool",
"incoming_p",
")",
"{",
"unsigned",
"regno",
";",
"if",
"(",
"DECL_P",
"(",
"fndecl_or_type",
")",
"&&",
"!",
"DECL_STATIC_CHAIN",
"(",
"fndecl_or_type",
")",
")",
"... | [
"Find",
"a",
"location",
"for",
"the",
"static",
"chain",
"incoming",
"to",
"a",
"nested",
"function",
".",
"This",
"is",
"a",
"register",
",",
"unless",
"all",
"free",
"registers",
"are",
"used",
"by",
"arguments",
"."
] | [
"i386",
"0",
"0",
"3",
"8"
] | i3864 | ix86_static_chain | i386 | CPU | GCC | 5,008 | 188 | 1 | [] |
[
"<s>",
"const",
"char",
"*",
"VETargetLowering",
"::",
"getTargetNodeName",
"(",
"unsigned",
"Opcode",
")",
"const",
"{",
"case",
"VEISD",
"::",
"NAME",
":",
"\\",
"return",
"\"VEISD::\"",
"#",
"NAME",
";",
"switch",
"(",
"(",
"VEISD",
"::",
"NodeType",
")... | [
"getTargetNodeName",
"-",
"This",
"method",
"returns",
"the",
"name",
"of",
"a",
"target",
"specific"
] | [
"VE",
"VE",
"VEISD::NAME",
"\"VEISD::\"",
"VEISD::NodeType",
"VEISD::FIRST_NUMBER",
"VE"
] | VEISelLowering12 | getTargetNodeName | VE | CPU | LLVM | 5,009 | 89 | 1 | [] |
[
"<s>",
"bool",
"contains",
"(",
"const",
"MachineBasicBlock",
"*",
"MBB",
")",
"const",
"override",
"{",
"return",
"Region",
"->",
"contains",
"(",
"MBB",
")",
";",
"}",
"</s>"
] | [
"contains",
"-",
"Returns",
"true",
"if",
"this",
"trace",
"contains",
"the",
"given",
"basic",
"block",
"."
] | [
"WebAssembly"
] | WebAssemblyCFGSort | contains | WebAssembly | Virtual ISA | LLVM | 5,010 | 20 | 1 | [] |
[
"<s>",
"ARMRelocator",
"::",
"Result",
"unsupported",
"(",
"Relocation",
"&",
"pReloc",
",",
"ARMRelocator",
"&",
"pParent",
")",
"{",
"return",
"Relocator",
"::",
"Unsupported",
";",
"}",
"</s>"
] | [
"The",
"instruction",
"is",
"unsupported",
"."
] | [
"ARM",
"ARM",
"ARM"
] | ARMRelocator | unsupported | ARM | CPU | LLVM | 5,011 | 20 | 1 | [] |
[
"<s>",
"MipsSubtarget",
"&",
"MipsSubtarget",
"::",
"initializeSubtargetDependencies",
"(",
"StringRef",
"CPU",
",",
"StringRef",
"FS",
",",
"const",
"TargetMachine",
"*",
"TM",
")",
"{",
"std",
"::",
"string",
"CPUName",
"=",
"selectMipsCPU",
"(",
"TargetTriple",... | [
"initializeSubtargetDependencies",
"-",
"Initializes",
"using",
"a",
"CPU",
",",
"a",
"TuneCPU",
",",
"and",
"feature",
"string",
"so",
"that",
"we",
"can",
"use",
"initializer",
"lists",
"for",
"subtarget",
"initialization",
"."
] | [
"Mips",
"Mips",
"Mips",
"Mips",
"Mips",
"Mips"
] | MipsSubtarget1 | initializeSubtargetDependencies | Mips | CPU | LLVM | 5,012 | 84 | 1 | [] |
[
"<s>",
"int",
"main",
"(",
")",
"{",
"int",
"i",
",",
"j",
";",
"double",
"q",
",",
"r",
",",
"err",
",",
"max_err",
"=",
"0",
",",
"max_s_err",
"=",
"0",
";",
"puts",
"(",
"\"/* This table has been generated by divtab-sh4.cc. */\"",
")",
";",
"puts",
... | [
"Main",
"program",
"to",
"convert",
"flat",
"files",
"into",
"built-in",
"initialization",
"code",
"."
] | [
"sh",
"0",
"0",
"\"/* This table has been generated by divtab-sh4.cc. */\"",
"\"\\t.balign 4\"",
"128",
"128",
"0",
"0",
"\"LOCAL(div_table_clz):\\n\\t.byte\\t0\"",
"0",
"128",
"\"\\t.byte\\t%d\\n\"",
"7",
"\"\\ /* 1/-128 .. 1/127, normalized. There is an implicit leading 1 in bit 32,\... | divtab-sh4-300 | main | sh | CPU | GCC | 5,013 | 241 | 1 | [] |
[
"<s>",
"bool",
"AArch64StorePairSuppress",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"{",
"const",
"TargetSubtargetInfo",
"&",
"ST",
"=",
"MF",
".",
"getSubtarget",
"(",
")",
";",
"TII",
"=",
"static_cast",
"<",
"const",
"AArch64Instr... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"AArch64",
"AArch64",
"AArch64",
"\"*** \"",
"\": \"",
"\" Skipping pass: no machine model present.\\n\"",
"0",
"\"Unpairing store \"",
"\"\\n\"",
"0"
] | AArch64StorePairSuppress4 | runOnMachineFunction | AArch64 | CPU | LLVM | 5,014 | 256 | 1 | [] |
[
"<s>",
"bool",
"AArch64CallLowering",
"::",
"lowerFormalArguments",
"(",
"MachineIRBuilder",
"&",
"MIRBuilder",
",",
"const",
"Function",
"&",
"F",
",",
"ArrayRef",
"<",
"ArrayRef",
"<",
"Register",
">>",
"VRegs",
")",
"const",
"{",
"MachineFunction",
"&",
"MF",... | [
"This",
"hook",
"must",
"be",
"implemented",
"to",
"lower",
"the",
"incoming",
"(",
"formal",
")",
"arguments",
",",
"described",
"by",
"VRegs",
",",
"for",
"GlobalISel",
"."
] | [
"AArch64",
"AArch64",
"8",
"0",
"0",
"AArch64",
"AArch64",
"AArch64",
"8",
"AArch64",
"AArch64",
"4",
"AArch64"
] | AArch64CallLowering14 | lowerFormalArguments | AArch64 | CPU | LLVM | 5,015 | 367 | 1 | [] |
[
"<s>",
"bool",
"LanaiTargetObjectFile",
"::",
"isGlobalInSmallSection",
"(",
"const",
"GlobalObject",
"*",
"GO",
",",
"const",
"TargetMachine",
"&",
"TM",
",",
"SectionKind",
"Kind",
")",
"const",
"{",
"return",
"(",
"isGlobalInSmallSectionImpl",
"(",
"GO",
",",
... | [
"Return",
"true",
"if",
"this",
"global",
"address",
"should",
"be",
"placed",
"into",
"small",
"data/bss",
"section",
"."
] | [
"Lanai",
"Lanai"
] | LanaiTargetObjectFile | isGlobalInSmallSection | Lanai | CPU | LLVM | 5,016 | 51 | 1 | [] |
[
"<s>",
"const",
"uint16_t",
"*",
"AVRRegisterInfo",
"::",
"getCalleeSavedRegs",
"(",
"const",
"MachineFunction",
"*",
"MF",
")",
"const",
"{",
"CallingConv",
"::",
"ID",
"CC",
"=",
"MF",
"->",
"getFunction",
"(",
")",
"->",
"getCallingConv",
"(",
")",
";",
... | [
"Code",
"Generation",
"virtual",
"methods",
"..."
] | [
"AVR",
"AVR",
"AVR",
"AVR"
] | AVRRegisterInfo | getCalleeSavedRegs | AVR | MPU | LLVM | 5,017 | 51 | 1 | [] |
[
"<s>",
"void",
"AMDGPUInstructionSelector",
"::",
"setupMF",
"(",
"MachineFunction",
"&",
"MF",
",",
"GISelKnownBits",
"&",
"KB",
",",
"CodeGenCoverage",
"&",
"CoverageInfo",
")",
"{",
"MRI",
"=",
"&",
"MF",
".",
"getRegInfo",
"(",
")",
";",
"Subtarget",
"="... | [
"Setup",
"per-MF",
"executor",
"state",
"."
] | [
"AMDGPU",
"AMDGPU"
] | AMDGPUInstructionSelector1 | setupMF | AMDGPU | GPU | LLVM | 5,018 | 51 | 1 | [] |
[
"<s>",
"bool",
"n8_consumed_by_ex_p",
"(",
"rtx_insn",
"*",
"consumer",
",",
"rtx",
"def_reg",
")",
"{",
"rtx",
"use_rtx",
";",
"switch",
"(",
"get_attr_type",
"(",
"consumer",
")",
")",
"{",
"case",
"TYPE_ALU",
":",
"if",
"(",
"movd44_even_dep_p",
"(",
"c... | [
"Check",
"the",
"dependency",
"between",
"the",
"producer",
"defining",
"DEF_REG",
"and",
"CONSUMER",
"requiring",
"input",
"operand",
"at",
"EX",
"."
] | [
"nds32",
"0",
"0"
] | nds32-pipelines-auxiliary | n8_consumed_by_ex_p | nds32 | CPU | GCC | 5,019 | 188 | 1 | [] |
[
"<s>",
"bool",
"ARMPassConfig",
"::",
"addPreRegAlloc",
"(",
")",
"{",
"if",
"(",
"getOptLevel",
"(",
")",
"!=",
"CodeGenOpt",
"::",
"None",
"&&",
"!",
"getARMSubtarget",
"(",
")",
".",
"isThumb1Only",
"(",
")",
")",
"addPass",
"(",
"createARMLoadStoreOptimi... | [
"This",
"method",
"may",
"be",
"implemented",
"by",
"targets",
"that",
"want",
"to",
"run",
"passes",
"immediately",
"before",
"register",
"allocation",
"."
] | [
"ARM",
"ARM",
"ARM",
"ARM",
"ARM"
] | ARMTargetMachine17 | addPreRegAlloc | ARM | CPU | LLVM | 5,020 | 63 | 1 | [] |
[
"<s>",
"LLVM_DUMP_METHOD",
"void",
"RangeTree",
"::",
"dump",
"(",
"const",
"Node",
"*",
"N",
")",
"const",
"{",
"dbgs",
"(",
")",
"<<",
"\"Node: \"",
"<<",
"N",
"<<",
"'\\n'",
";",
"dbgs",
"(",
")",
"<<",
"\" Height: \"",
"<<",
"N",
"->",
"Height",
... | [
"Dump",
"the",
"plan",
"to",
"stderr",
"(",
"for",
"debugging",
")",
"."
] | [
"Hexagon",
"\"Node: \"",
"\" Height: \"",
"\" Count: \"",
"\" MaxEnd: \"",
"\" Range: \"",
"\" Left: \"",
"\" Right: \"",
"\"\\n\\n\""
] | HexagonConstExtenders (2) | dump | Hexagon | DSP | LLVM | 5,021 | 122 | 1 | [] |
[
"<s>",
"TargetIRAnalysis",
"AMDGPUTargetMachine",
"::",
"getTargetIRAnalysis",
"(",
")",
"{",
"return",
"TargetIRAnalysis",
"(",
"[",
"this",
"]",
"(",
"Function",
"&",
"F",
")",
"{",
"return",
"TargetTransformInfo",
"(",
"AMDGPUTTIImpl",
"(",
"this",
")",
")",
... | [
"Get",
"a",
"TargetIRAnalysis",
"appropriate",
"for",
"the",
"target",
"."
] | [
"R600"
] | AMDGPUTargetMachine35 | getTargetIRAnalysis | R600 | GPU | LLVM | 5,022 | 32 | 1 | [] |
[
"<s>",
"ARMConstantPoolMBB",
"*",
"ARMConstantPoolMBB",
"::",
"Create",
"(",
"LLVMContext",
"&",
"C",
",",
"const",
"MachineBasicBlock",
"*",
"mbb",
",",
"unsigned",
"ID",
",",
"unsigned",
"char",
"PCAdj",
")",
"{",
"return",
"new",
"ARMConstantPoolMBB",
"(",
... | [
"Construct",
"a",
"unary",
"instruction",
",",
"given",
"the",
"opcode",
"and",
"an",
"operand",
"."
] | [
"ARM",
"ARM",
"ARM",
"ARM",
"ARMCP::no_modifier"
] | ARMConstantPoolValue (2) | Create | ARM | CPU | LLVM | 5,023 | 43 | 1 | [] |
[
"<s>",
"bool",
"X86TargetLowering",
"::",
"isCommutativeBinOp",
"(",
"unsigned",
"Opcode",
")",
"const",
"{",
"switch",
"(",
"Opcode",
")",
"{",
"case",
"X86ISD",
"::",
"PMULUDQ",
":",
"return",
"true",
";",
"}",
"return",
"TargetLoweringBase",
"::",
"isCommut... | [
"Returns",
"true",
"if",
"the",
"opcode",
"is",
"a",
"commutative",
"binary",
"operation",
"."
] | [
"X86",
"X86",
"X86ISD::PMULUDQ"
] | X86ISelLowering158 | isCommutativeBinOp | X86 | CPU | LLVM | 5,024 | 33 | 1 | [] |
[
"<s>",
"PreservedAnalyses",
"AMDGPULowerKernelAttributesPass",
"::",
"run",
"(",
"Function",
"&",
"F",
",",
"FunctionAnalysisManager",
"&",
"AM",
")",
"{",
"StringRef",
"DispatchPtrName",
"=",
"Intrinsic",
"::",
"getName",
"(",
"Intrinsic",
"::",
"amdgcn_dispatch_ptr"... | [
"Run",
"the",
"analysis",
"pass",
"over",
"a",
"function",
"and",
"produce",
"a",
"dominator",
"tree",
"."
] | [
"AMDGPU",
"AMDGPU",
"Intrinsic::getName",
"Intrinsic::amdgcn_dispatch_ptr"
] | AMDGPULowerKernelAttributes2 | run | AMDGPU | GPU | LLVM | 5,025 | 106 | 1 | [] |
[
"<s>",
"enum",
"riscv_symbol_type",
"riscv_classify_symbolic_expression",
"(",
"rtx",
"x",
")",
"{",
"rtx",
"offset",
";",
"split_const",
"(",
"x",
",",
"&",
"x",
",",
"&",
"offset",
")",
";",
"if",
"(",
"UNSPEC_ADDRESS_P",
"(",
"x",
")",
")",
"return",
... | [
"Classify",
"the",
"base",
"of",
"symbolic",
"expression",
"X",
"."
] | [
"riscv"
] | riscv | riscv_classify_symbolic_expression | riscv | CPU | GCC | 5,026 | 42 | 1 | [] |
[
"<s>",
"void",
"riscv_expand_prologue",
"(",
"void",
")",
"{",
"struct",
"riscv_frame_info",
"*",
"frame",
"=",
"&",
"cfun",
"->",
"machine",
"->",
"frame",
";",
"HOST_WIDE_INT",
"size",
"=",
"frame",
"->",
"total_size",
";",
"unsigned",
"mask",
"=",
"frame"... | [
"Expand",
"the",
"``",
"prologue",
"''",
"pattern",
"."
] | [
"riscv",
"0",
"1",
"0",
"1",
"1",
"0",
"1"
] | riscv | riscv_expand_prologue | riscv | CPU | GCC | 5,027 | 324 | 1 | [] |
[
"<s>",
"static",
"int",
"avr_address_cost",
"(",
"rtx",
"x",
",",
"machine_mode",
"mode",
"ATTRIBUTE_UNUSED",
",",
"addr_space_t",
"as",
"ATTRIBUTE_UNUSED",
",",
"bool",
"speed",
"ATTRIBUTE_UNUSED",
")",
"{",
"int",
"cost",
"=",
"4",
";",
"if",
"(",
"GET_CODE"... | [
"Calculate",
"the",
"cost",
"of",
"a",
"memory",
"address",
"."
] | [
"avr",
"4",
"1",
"0",
"0",
"1",
"61",
"18",
"0",
"2",
"\"\\n%?: %d = %r\\n\""
] | avr4 | avr_address_cost | avr | MPU | GCC | 5,028 | 134 | 1 | [] |
[
"<s>",
"static",
"bool",
"nios2_valid_compare_const_p",
"(",
"enum",
"rtx_code",
"code",
",",
"rtx",
"op",
")",
"{",
"switch",
"(",
"code",
")",
"{",
"case",
"EQ",
":",
"case",
"NE",
":",
"case",
"GE",
":",
"case",
"LT",
":",
"return",
"SMALL_INT",
"("... | [
"Return",
"true",
"if",
"the",
"constant",
"comparison",
"is",
"supported",
"by",
"nios2",
"."
] | [
"nios2"
] | nios22 | nios2_valid_compare_const_p | nios2 | MPU | GCC | 5,029 | 60 | 1 | [] |
[
"<s>",
"unsigned",
"char",
"X86Subtarget",
"::",
"ClassifyGlobalReference",
"(",
"const",
"GlobalValue",
"*",
"GV",
",",
"const",
"TargetMachine",
"&",
"TM",
")",
"const",
"{",
"if",
"(",
"GV",
"->",
"hasDLLImportLinkage",
"(",
")",
")",
"return",
"X86II",
"... | [
"ClassifyGlobalReference",
"-",
"Find",
"the",
"target",
"operand",
"flags",
"that",
"describe",
"how",
"a",
"global",
"value",
"should",
"be",
"referenced",
"for",
"the",
"current",
"subtarget",
"."
] | [
"X86",
"X86",
"X86II::MO_DLLIMPORT",
"X86II::MO_NO_FLAG",
"X86II::MO_GOTPCREL",
"\"Unknown rip-relative target\"",
"X86II::MO_GOTPCREL",
"X86II::MO_NO_FLAG",
"X86II::MO_GOTOFF",
"X86II::MO_GOT",
"X86II::MO_PIC_BASE_OFFSET",
"X86II::MO_DARWIN_NONLAZY_PIC_BASE",
"X86II::MO_DARWIN_HIDDEN_NONLAZ... | X86Subtarget104 | ClassifyGlobalReference | X86 | CPU | LLVM | 5,030 | 302 | 1 | [] |
[
"<s>",
"DecodeStatus",
"AMDGPUDisassembler",
"::",
"getInstruction",
"(",
"MCInst",
"&",
"MI",
",",
"uint64_t",
"&",
"Size",
",",
"ArrayRef",
"<",
"uint8_t",
">",
"Bytes_",
",",
"uint64_t",
"Address",
",",
"raw_ostream",
"&",
"WS",
",",
"raw_ostream",
"&",
"... | [
"Returns",
"the",
"disassembly",
"of",
"a",
"single",
"instruction",
"."
] | [
"AMDGPU",
"AMDGPU",
"AMDGPU::FeatureGCN3Encoding",
"\"Disassembly not yet supported for subtarget\"",
"8",
"0",
"8",
"0",
"4",
"AMDGPU",
"4",
"32",
"AMDGPU",
"AMDGPU::V_MAC_F32_e64_vi",
"AMDGPU::V_MAC_F32_e64_si",
"AMDGPU::V_MAC_F16_e64_vi",
"AMDGPU::getNamedOperandIdx",
"AMDGPU::O... | AMDGPUDisassembler5 | getInstruction | AMDGPU | GPU | LLVM | 5,031 | 433 | 1 | [] |
[
"<s>",
"unsigned",
"SIInstrInfo",
"::",
"getInstSizeInBytes",
"(",
"const",
"MachineInstr",
"&",
"MI",
")",
"const",
"{",
"unsigned",
"Opc",
"=",
"MI",
".",
"getOpcode",
"(",
")",
";",
"const",
"MCInstrDesc",
"&",
"Desc",
"=",
"getMCOpcodeFromPseudo",
"(",
"... | [
"Returns",
"the",
"size",
"in",
"bytes",
"of",
"the",
"specified",
"MachineInstr",
",",
"or",
"~0U",
"when",
"this",
"function",
"is",
"not",
"implemented",
"by",
"a",
"target",
"."
] | [
"AMDGPU",
"SI",
"AMDGPU::getNamedOperandIdx",
"AMDGPU::OpName",
"1",
"4",
"AMDGPU::getNamedOperandIdx",
"AMDGPU::OpName",
"1",
"4",
"AMDGPU::getNamedOperandIdx",
"AMDGPU::OpName",
"1",
"4",
"0",
"0"
] | SIInstrInfo1 | getInstSizeInBytes | AMDGPU | GPU | LLVM | 5,032 | 318 | 1 | [] |
[
"<s>",
"static",
"enum",
"flt_eval_method",
"s390_excess_precision",
"(",
"enum",
"excess_precision_type",
"type",
")",
"{",
"switch",
"(",
"type",
")",
"{",
"case",
"EXCESS_PRECISION_TYPE_IMPLICIT",
":",
"case",
"EXCESS_PRECISION_TYPE_FAST",
":",
"return",
"FLT_EVAL_ME... | [
"Implement",
"TARGET_C_EXCESS_PRECISION",
"to",
"maintain",
"historic",
"behavior",
"with",
"older",
"glibc",
"versions",
"For",
"historical",
"reasons",
",",
"float_t",
"and",
"double_t",
"had",
"been",
"typedef'ed",
"to",
"double",
"on",
"s390",
",",
"causing",
... | [
"s390",
"\"%<-fexcess-precision=16%> is not supported on this target\""
] | s390 | s390_excess_precision | s390 | MPU | GCC | 5,033 | 51 | 1 | [] |
[
"<s>",
"EVT",
"M68kTargetLowering",
"::",
"getSetCCResultType",
"(",
"const",
"DataLayout",
"&",
"DL",
",",
"LLVMContext",
"&",
"Context",
",",
"EVT",
"VT",
")",
"const",
"{",
"return",
"MVT",
"::",
"i8",
";",
"}",
"</s>"
] | [
"Return",
"the",
"value",
"type",
"to",
"use",
"for",
"ISD",
":",
":SETCC",
"."
] | [
"M68k",
"M68k",
"MVT::i8"
] | M68kISelLowering | getSetCCResultType | M68k | MPU | LLVM | 5,034 | 25 | 1 | [] |
[
"<s>",
"std",
"::",
"pair",
"<",
"unsigned",
",",
"const",
"TargetRegisterClass",
"*",
">",
"BPFTargetLowering",
"::",
"getRegForInlineAsmConstraint",
"(",
"const",
"TargetRegisterInfo",
"*",
"TRI",
",",
"StringRef",
"Constraint",
",",
"MVT",
"VT",
")",
"const",
... | [
"Given",
"a",
"physical",
"register",
"constraint",
"(",
"e.g",
"."
] | [
"BPF",
"BPF",
"1",
"0",
"0U",
"BPF::GPRRegClass"
] | BPFISelLowering | getRegForInlineAsmConstraint | BPF | Virtual ISA | LLVM | 5,035 | 79 | 1 | [] |
[
"<s>",
"bool",
"builtin_type_p",
"(",
"const_tree",
"type",
",",
"unsigned",
"int",
"*",
"num_zr",
",",
"unsigned",
"int",
"*",
"num_pr",
")",
"{",
"if",
"(",
"tree",
"attr",
"=",
"lookup_sve_type_attribute",
"(",
"type",
")",
")",
"{",
"tree",
"num_zr_nod... | [
"Return",
"true",
"if",
"TYPE",
"is",
"a",
"built-in",
"SVE",
"type",
"defined",
"by",
"the",
"ABI",
"or",
"ACLE",
".",
"If",
"so",
",",
"store",
"the",
"number",
"of",
"constituent",
"SVE",
"vectors",
"in",
"*",
"NUM_ZR",
"and",
"the",
"number",
"of",... | [
"aarch64"
] | aarch64-sve-builtins | builtin_type_p | aarch64 | CPU | GCC | 5,036 | 74 | 1 | [] |
[
"<s>",
"std",
"::",
"pair",
"<",
"unsigned",
",",
"const",
"TargetRegisterClass",
"*",
">",
"MSP430TargetLowering",
"::",
"getRegForInlineAsmConstraint",
"(",
"const",
"std",
"::",
"string",
"&",
"Constraint",
",",
"MVT",
"VT",
")",
"const",
"{",
"if",
"(",
... | [
"Given",
"a",
"physical",
"register",
"constraint",
"(",
"e.g",
"."
] | [
"MSP430",
"MSP430",
"1",
"0",
"MVT::i8",
"0U",
"MSP430::GR8RegClass",
"0U",
"MSP430::GR16RegClass"
] | MSP430ISelLowering11 | getRegForInlineAsmConstraint | MSP430 | MPU | LLVM | 5,037 | 99 | 1 | [] |
[
"<s>",
"void",
"updateDebugInfo",
"(",
"MachineInstr",
"*",
"MI",
",",
"const",
"DILocation",
"*",
"Loc",
")",
"{",
"DebugLoc",
"DL",
"(",
"Loc",
")",
";",
"MI",
"->",
"setDebugLoc",
"(",
"DL",
")",
";",
"}",
"</s>"
] | [
"Called",
"to",
"update",
"debug",
"info",
"associated",
"with",
"the",
"instruction",
"."
] | [
"X86"
] | X86DiscriminateMemOps (2) | updateDebugInfo | X86 | CPU | LLVM | 5,038 | 27 | 1 | [] |
[
"<s>",
"SMLoc",
"getStartLoc",
"(",
")",
"const",
"override",
"{",
"return",
"StartLoc",
";",
"}",
"</s>"
] | [
"getStartLoc",
"-",
"Get",
"the",
"location",
"of",
"the",
"first",
"token",
"of",
"this",
"operand",
"."
] | [
"AMDGPU"
] | AMDGPUAsmParser (2) | getStartLoc | AMDGPU | GPU | LLVM | 5,039 | 11 | 1 | [] |
[
"<s>",
"void",
"relaxInstruction",
"(",
"const",
"MCInst",
"&",
"Inst",
",",
"const",
"MCSubtargetInfo",
"&",
"STI",
",",
"MCInst",
"&",
"Res",
")",
"const",
"override",
"{",
"}",
"</s>"
] | [
"Relax",
"the",
"instruction",
"in",
"the",
"given",
"fragment",
"to",
"the",
"next",
"wider",
"instruction",
"."
] | [
"Nios2"
] | Nios2AsmBackend | relaxInstruction | Nios2 | MPU | LLVM | 5,040 | 21 | 1 | [] |
[
"<s>",
"static",
"rtx",
"riscv_pass_fpr_single",
"(",
"enum",
"machine_mode",
"type_mode",
",",
"unsigned",
"regno",
",",
"enum",
"machine_mode",
"value_mode",
")",
"{",
"rtx",
"x",
"=",
"gen_rtx_REG",
"(",
"value_mode",
",",
"regno",
")",
";",
"if",
"(",
"t... | [
"Return",
"the",
"representation",
"of",
"an",
"argument",
"passed",
"or",
"returned",
"in",
"an",
"FPR",
"when",
"the",
"value",
"has",
"mode",
"VALUE_MODE",
"and",
"the",
"type",
"has",
"TYPE_MODE",
".",
"The",
"two",
"modes",
"may",
"be",
"different",
"... | [
"riscv",
"1"
] | riscv2 | riscv_pass_fpr_single | riscv | CPU | GCC | 5,041 | 63 | 1 | [] |
[
"<s>",
"bool",
"MipsSETargetLowering",
"::",
"isEligibleForTailCallOptimization",
"(",
"const",
"MipsCC",
"&",
"MipsCCInfo",
",",
"unsigned",
"NextStackOffset",
",",
"const",
"MipsFunctionInfo",
"&",
"FI",
")",
"const",
"{",
"if",
"(",
"!",
"EnableMipsTailCalls",
")... | [
"Returns",
"true",
"if",
"the",
"call",
"can",
"be",
"lowered",
"as",
"a",
"tail",
"call",
"."
] | [
"Mips",
"Mips",
"Mips",
"Mips",
"Mips",
"Mips",
"Mips"
] | MipsSEISelLowering (2) | isEligibleForTailCallOptimization | Mips | CPU | LLVM | 5,042 | 55 | 1 | [] |
[
"<s>",
"static",
"int",
"riscv_register_move_cost",
"(",
"enum",
"machine_mode",
"mode",
",",
"reg_class_t",
"from",
",",
"reg_class_t",
"to",
")",
"{",
"return",
"SECONDARY_MEMORY_NEEDED",
"(",
"from",
",",
"to",
",",
"mode",
")",
"?",
"8",
":",
"2",
";",
... | [
"Implement",
"TARGET_REGISTER_MOVE_COST",
"."
] | [
"riscv",
"8",
"2"
] | riscv2 | riscv_register_move_cost | riscv | CPU | GCC | 5,043 | 30 | 1 | [] |
[
"<s>",
"const",
"MCExpr",
"*",
"X86_64MachoTargetObjectFile",
"::",
"getIndirectSymViaGOTPCRel",
"(",
"const",
"MCSymbol",
"*",
"Sym",
",",
"const",
"MCValue",
"&",
"MV",
",",
"int64_t",
"Offset",
",",
"MachineModuleInfo",
"*",
"MMI",
",",
"MCStreamer",
"&",
"St... | [
"Get",
"the",
"target",
"specific",
"PC",
"relative",
"GOT",
"entry",
"relocation",
"."
] | [
"X86",
"X86",
"4"
] | X86TargetObjectFile10 | getIndirectSymViaGOTPCRel | X86 | CPU | LLVM | 5,044 | 94 | 1 | [] |
[
"<s>",
"static",
"unsigned",
"int",
"convert_scalars_to_vector",
"(",
")",
"{",
"basic_block",
"bb",
";",
"bitmap",
"candidates",
";",
"int",
"converted_insns",
"=",
"0",
";",
"bitmap_obstack_initialize",
"(",
"NULL",
")",
";",
"candidates",
"=",
"BITMAP_ALLOC",
... | [
"Main",
"STV",
"pass",
"function",
".",
"Find",
"and",
"convert",
"scalar",
"instructions",
"into",
"vector",
"mode",
"when",
"profitable",
"."
] | [
"i386",
"0",
"\"Searching for mode conversion candidates...\\n\"",
"\" insn %d is marked as a candidate\\n\"",
"\"There are no candidates for optimization.\\n\"",
"0",
"\"Chain #%d conversion is not profitable\\n\"",
"\"Total insns converted: %d\\n\"",
"128",
"128",
"128",
"128",
"0"
] | i3865 | convert_scalars_to_vector | i386 | CPU | GCC | 5,045 | 271 | 1 | [] |
[
"<s>",
"int",
"mips_class_max_nregs",
"(",
"enum",
"reg_class",
"rclass",
",",
"machine_mode",
"mode",
")",
"{",
"int",
"size",
";",
"HARD_REG_SET",
"left",
";",
"size",
"=",
"0x8000",
";",
"COPY_HARD_REG_SET",
"(",
"left",
",",
"reg_class_contents",
"[",
"(",... | [
"Implement",
"CLASS_MAX_NREGS",
".",
"Usually",
"all",
"registers",
"are",
"word-sized",
".",
"The",
"only",
"supported",
"exception",
"is",
"-mgp64",
"-msingle-float",
",",
"which",
"has",
"64-bit",
"words",
"but",
"32-bit",
"float",
"registers",
".",
"A",
"wor... | [
"mips",
"0x8000",
"4",
"1"
] | mips4 | mips_class_max_nregs | mips | CPU | GCC | 5,046 | 162 | 1 | [] |
[
"<s>",
"static",
"void",
"s390_register_info_arg_gpr",
"(",
")",
"{",
"int",
"i",
";",
"int",
"min_stdarg_gpr",
"=",
"INT_MAX",
",",
"max_stdarg_gpr",
"=",
"-",
"1",
";",
"int",
"min_preserve_gpr",
"=",
"INT_MAX",
",",
"max_preserve_gpr",
"=",
"-",
"1",
";",... | [
"Reserve",
"the",
"GPR",
"save",
"slots",
"for",
"GPRs",
"which",
"need",
"to",
"be",
"saved",
"due",
"to",
"stdarg",
"or",
"-mpreserve-args",
".",
"This",
"is",
"a",
"helper",
"routine",
"for",
"s390_register_info",
"."
] | [
"s390",
"1",
"1",
"1",
"1",
"1",
"1",
"1",
"1",
"1",
"1"
] | s3901 | s390_register_info_arg_gpr | s390 | MPU | GCC | 5,047 | 285 | 1 | [] |
[
"<s>",
"void",
"PPCAIXAsmPrinter",
"::",
"emitFunctionBodyEnd",
"(",
")",
"{",
"if",
"(",
"!",
"TM",
".",
"getXCOFFTracebackTable",
"(",
")",
")",
"return",
";",
"emitTracebackTable",
"(",
")",
";",
"}",
"</s>"
] | [
"Targets",
"can",
"override",
"this",
"to",
"emit",
"stuff",
"after",
"the",
"last",
"basic",
"block",
"in",
"the",
"function",
"."
] | [
"PowerPC",
"PPC"
] | PPCAsmPrinter10 | emitFunctionBodyEnd | PowerPC | CPU | LLVM | 5,048 | 23 | 1 | [] |
[
"<s>",
"bool",
"AArch64PostLegalizerCombiner",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"{",
"if",
"(",
"MF",
".",
"getProperties",
"(",
")",
".",
"hasProperty",
"(",
"MachineFunctionProperties",
"::",
"Property",
"::",
"FailedISel",
"... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"AArch64",
"AArch64",
"\"Expected a legalized function?\"",
"AArch64"
] | AArch64PostLegalizerCombiner (2) | runOnMachineFunction | AArch64 | CPU | LLVM | 5,049 | 201 | 1 | [] |
[
"<s>",
"static",
"void",
"init_alignment_context",
"(",
"struct",
"alignment_context",
"*",
"ac",
",",
"rtx",
"mem",
")",
"{",
"machine_mode",
"mode",
"=",
"GET_MODE",
"(",
"mem",
")",
";",
"rtx",
"byteoffset",
"=",
"NULL_RTX",
";",
"bool",
"aligned",
"=",
... | [
"Initialize",
"structure",
"AC",
"for",
"word",
"access",
"to",
"HI",
"and",
"QI",
"mode",
"memory",
"."
] | [
"xtensa",
"0",
"0",
"1",
"1",
"1",
"1",
"0",
"1",
"1",
"1"
] | xtensa | init_alignment_context | xtensa | MPU | GCC | 5,050 | 359 | 1 | [] |
[
"<s>",
"static",
"tree",
"aarch64_embedded_comparison_type",
"(",
"stmt_vec_info",
"stmt_info",
")",
"{",
"if",
"(",
"auto",
"*",
"assign",
"=",
"dyn_cast",
"<",
"gassign",
"*",
">",
"(",
"stmt_info",
"->",
"stmt",
")",
")",
"if",
"(",
"gimple_assign_rhs_code"... | [
"If",
"STMT_INFO",
"is",
"a",
"COND_EXPR",
"that",
"includes",
"an",
"embedded",
"comparison",
",",
"return",
"the",
"scalar",
"type",
"of",
"the",
"values",
"being",
"compared",
".",
"Return",
"null",
"otherwise",
"."
] | [
"aarch64",
"0"
] | aarch641 | aarch64_embedded_comparison_type | aarch64 | CPU | GCC | 5,051 | 66 | 1 | [] |
[
"<s>",
"StringRef",
"getPassName",
"(",
")",
"const",
"override",
"{",
"return",
"EVEX2VEX_DESC",
";",
"}",
"</s>"
] | [
"getPassName",
"-",
"Return",
"a",
"nice",
"clean",
"name",
"for",
"a",
"pass",
"."
] | [
"X86"
] | X86EvexToVex | getPassName | X86 | CPU | LLVM | 5,052 | 11 | 1 | [] |
[
"<s>",
"const",
"RegisterBankInfo",
"*",
"AArch64Subtarget",
"::",
"getRegBankInfo",
"(",
")",
"const",
"{",
"return",
"RegBankInfo",
".",
"get",
"(",
")",
";",
"}",
"</s>"
] | [
"If",
"the",
"information",
"for",
"the",
"register",
"banks",
"is",
"available",
",",
"return",
"it",
"."
] | [
"AArch64",
"AArch64"
] | AArch64Subtarget (2)1 | getRegBankInfo | AArch64 | CPU | LLVM | 5,053 | 18 | 1 | [] |
[
"<s>",
"static",
"bool",
"nios2_pragma_target_parse",
"(",
"tree",
"args",
",",
"tree",
"pop_target",
")",
"{",
"tree",
"cur_tree",
";",
"if",
"(",
"!",
"args",
")",
"{",
"cur_tree",
"=",
"(",
"(",
"pop_target",
")",
"?",
"pop_target",
":",
"target_option_... | [
"Hook",
"to",
"validate",
"the",
"current",
"#",
"pragma",
"GCC",
"target",
"and",
"set",
"the",
"FPU",
"custom",
"code",
"option",
"state",
".",
"If",
"ARGS",
"is",
"NULL",
",",
"then",
"POP_TARGET",
"is",
"used",
"to",
"reset",
"the",
"options",
"."
] | [
"nios2"
] | nios2 | nios2_pragma_target_parse | nios2 | MPU | GCC | 5,054 | 73 | 1 | [] |
[
"<s>",
"void",
"machopic_output_stub",
"(",
"FILE",
"*",
"file",
",",
"const",
"char",
"*",
"symb",
",",
"const",
"char",
"*",
"stub",
")",
"{",
"unsigned",
"int",
"length",
";",
"char",
"*",
"symbol_name",
",",
"*",
"lazy_ptr_name",
";",
"char",
"*",
... | [
"Generate",
"external",
"symbol",
"indirection",
"stubs",
"(",
"PIC",
"and",
"non-PIC",
")",
"."
] | [
"rs6000",
"0",
"32",
"32",
"2",
"2",
"\"\\t.align 5\\n\"",
"\"%s:\\n\"",
"\"\\t.indirect_symbol %s\\n\"",
"\"\\\"L00000000000$spb\\\"\"",
"\"\\\"L%011d$spb\\\"\"",
"\"\\tmflr r0\\n\"",
"32",
"\"\\tbl %s\\n\"",
"\"%s:\\n\\tmflr r11\\n\"",
"\"\\tbcl 20,31,%s\\n\"",
"\"%s:\\n\\tmflr r11... | rs60004 | machopic_output_stub | rs6000 | CPU | GCC | 5,055 | 402 | 1 | [] |
[
"<s>",
"static",
"inline",
"int",
"extract_17",
"(",
"unsigned",
"word",
")",
"{",
"return",
"sign_extend",
"(",
"GET_FIELD",
"(",
"word",
",",
"19",
",",
"28",
")",
"|",
"GET_FIELD",
"(",
"word",
",",
"29",
",",
"29",
")",
"<<",
"10",
"|",
"GET_FIEL... | [
"Extract",
"a",
"17-bit",
"signed",
"constant",
"from",
"branch",
"instructions",
"."
] | [
"pa",
"19",
"28",
"29",
"29",
"10",
"11",
"15",
"11",
"0x1",
"16",
"17"
] | hpux-unwind | extract_17 | pa | CPU | GCC | 5,056 | 55 | 1 | [] |
[
"<s>",
"unsigned",
"mmix_local_alignment",
"(",
"tree",
"type",
"ATTRIBUTE_UNUSED",
",",
"unsigned",
"basic_align",
")",
"{",
"if",
"(",
"basic_align",
"<",
"32",
")",
"return",
"32",
";",
"return",
"basic_align",
";",
"}",
"</s>"
] | [
"LOCAL_ALIGNMENT",
"."
] | [
"mmix",
"32",
"32"
] | mmix | mmix_local_alignment | mmix | CPU | GCC | 5,057 | 24 | 1 | [] |
[
"<s>",
"bool",
"mep_can_eliminate",
"(",
"const",
"int",
"from",
",",
"const",
"int",
"to",
")",
"{",
"return",
"(",
"from",
"==",
"ARG_POINTER_REGNUM",
"&&",
"to",
"==",
"STACK_POINTER_REGNUM",
"?",
"!",
"frame_pointer_needed",
":",
"true",
")",
";",
"}",
... | [
"Worker",
"function",
"for",
"TARGET_CAN_ELIMINATE",
"."
] | [
"mep"
] | mep | mep_can_eliminate | mep | CPU | GCC | 5,058 | 29 | 1 | [] |
[
"<s>",
"const",
"unsigned",
"*",
"PIC16RegisterInfo",
"::",
"getCalleeSavedRegs",
"(",
"const",
"MachineFunction",
"*",
"MF",
")",
"const",
"{",
"static",
"const",
"unsigned",
"CalleeSavedRegs",
"[",
"]",
"=",
"{",
"0",
"}",
";",
"return",
"CalleeSavedRegs",
"... | [
"Code",
"Generation",
"virtual",
"methods",
"..."
] | [
"PIC16",
"PIC16",
"0"
] | PIC16RegisterInfo | getCalleeSavedRegs | PIC16 | MPU | LLVM | 5,059 | 29 | 1 | [] |
[
"<s>",
"bool",
"fr30_can_eliminate",
"(",
"const",
"int",
"from",
"ATTRIBUTE_UNUSED",
",",
"const",
"int",
"to",
")",
"{",
"return",
"(",
"to",
"==",
"FRAME_POINTER_REGNUM",
"||",
"!",
"frame_pointer_needed",
")",
";",
"}",
"</s>"
] | [
"Worker",
"function",
"for",
"TARGET_CAN_ELIMINATE",
"."
] | [
"fr30"
] | fr30 | fr30_can_eliminate | fr30 | DSP | GCC | 5,060 | 24 | 1 | [] |
[
"<s>",
"void",
"PPCRegisterInfo",
"::",
"eliminateCallFramePseudoInstr",
"(",
"MachineFunction",
"&",
"MF",
",",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"I",
")",
"const",
"{",
"if",
"(",
"PerformTailCallOpt",
"&&",
"I",
"->",
... | [
"This",
"method",
"is",
"called",
"during",
"prolog/epilog",
"code",
"insertion",
"to",
"eliminate",
"call",
"frame",
"setup",
"and",
"destroy",
"pseudo",
"instructions",
"(",
"but",
"only",
"if",
"the",
"Target",
"is",
"using",
"them",
")",
"."
] | [
"PowerPC",
"PPC",
"PPC::ADJCALLSTACKUP",
"1",
"PPC",
"1",
"PPC::X1",
"PPC::R1",
"PPC::X0",
"PPC::R0",
"PPC::ADDI8",
"PPC::ADDI",
"PPC::ADD8",
"PPC::ADD4",
"PPC::LIS8",
"PPC::LIS",
"PPC::ORI8",
"PPC::ORI",
"16",
"0xFFFF"
] | PPCRegisterInfo23 | eliminateCallFramePseudoInstr | PowerPC | CPU | LLVM | 5,061 | 306 | 1 | [] |
[
"<s>",
"void",
"TOYPassConfig",
"::",
"addPreEmitPass",
"(",
")",
"{",
"return",
";",
"}",
"</s>"
] | [
"This",
"pass",
"may",
"be",
"implemented",
"by",
"targets",
"that",
"want",
"to",
"run",
"passes",
"immediately",
"before",
"machine",
"code",
"is",
"emitted",
"."
] | [
"TOY",
"TOY"
] | TOYTargetMachine1 | addPreEmitPass | TOY | CPU | LLVM | 5,062 | 10 | 1 | [] |
[
"<s>",
"type_suffix_index",
"function_resolver",
"::",
"infer_integer_scalar_type",
"(",
"unsigned",
"int",
"argno",
")",
"{",
"tree",
"actual",
"=",
"get_argument_type",
"(",
"argno",
")",
";",
"if",
"(",
"actual",
"==",
"error_mark_node",
")",
"return",
"NUM_TYP... | [
"Require",
"argument",
"ARGNO",
"to",
"be",
"a",
"32-bit",
"or",
"64-bit",
"scalar",
"integer",
"type",
".",
"Return",
"the",
"associated",
"type",
"suffix",
"on",
"success",
",",
"otherwise",
"report",
"an",
"error",
"and",
"return",
"NUM_TYPE_SUFFIXES",
"."
... | [
"aarch64",
"32",
"32",
"64",
"\"passing %qT to argument %d of %qE, which expects\"",
"\" a 32-bit or 64-bit integer type\"",
"1"
] | aarch64-sve-builtins | infer_integer_scalar_type | aarch64 | CPU | GCC | 5,063 | 108 | 1 | [] |
[
"<s>",
"MCSymbol",
"*",
"WebAssemblyMCInstLower",
"::",
"GetExternalSymbolSymbol",
"(",
"const",
"MachineOperand",
"&",
"MO",
")",
"const",
"{",
"const",
"char",
"*",
"Name",
"=",
"MO",
".",
"getSymbolName",
"(",
")",
";",
"auto",
"*",
"WasmSym",
"=",
"cast"... | [
"Return",
"the",
"MCSymbol",
"for",
"the",
"specified",
"ExternalSymbol",
"."
] | [
"WebAssembly",
"WebAssembly",
"WebAssembly",
"\"__stack_pointer\"",
"0",
"\"__tls_base\"",
"0",
"\"__memory_base\"",
"0",
"\"__table_base\"",
"0",
"\"__tls_size\"",
"0",
"\"__stack_pointer\"",
"0",
"\"__tls_base\"",
"0",
"wasm::WASM_SYMBOL_TYPE_GLOBAL",
"wasm::WasmGlobalType",
... | WebAssemblyMCInstLower11 | GetExternalSymbolSymbol | WebAssembly | Virtual ISA | LLVM | 5,064 | 330 | 1 | [] |
[
"<s>",
"bool",
"emitSymbolAttribute",
"(",
"MCSymbol",
"*",
"Symbol",
",",
"MCSymbolAttr",
"Attribute",
")",
"override",
"{",
"bool",
"Val",
"=",
"MCELFStreamer",
"::",
"emitSymbolAttribute",
"(",
"Symbol",
",",
"Attribute",
")",
";",
"if",
"(",
"!",
"IsThumb"... | [
"Add",
"the",
"given",
"Attribute",
"to",
"Symbol",
"."
] | [
"ARM"
] | ARMELFStreamer22 | emitSymbolAttribute | ARM | CPU | LLVM | 5,065 | 82 | 1 | [] |
[
"<s>",
"unsigned",
"ARMBaseInstrInfo",
"::",
"getInstSizeInBytes",
"(",
"const",
"MachineInstr",
"&",
"MI",
")",
"const",
"{",
"const",
"MachineBasicBlock",
"&",
"MBB",
"=",
"*",
"MI",
".",
"getParent",
"(",
")",
";",
"const",
"MachineFunction",
"*",
"MF",
"... | [
"Returns",
"the",
"size",
"in",
"bytes",
"of",
"the",
"specified",
"MachineInstr",
",",
"or",
"~0U",
"when",
"this",
"function",
"is",
"not",
"implemented",
"by",
"a",
"target",
"."
] | [
"ARM",
"ARM",
"0",
"ARM::MOVi16_ga_pcrel",
"ARM::MOVTi16_ga_pcrel",
"ARM::t2MOVi16_ga_pcrel",
"ARM::t2MOVTi16_ga_pcrel",
"4",
"ARM::MOVi32imm",
"ARM::t2MOVi32imm",
"8",
"ARM::CONSTPOOL_ENTRY",
"ARM::JUMPTABLE_INSTS",
"ARM::JUMPTABLE_ADDRS",
"ARM::JUMPTABLE_TBB",
"ARM::JUMPTABLE_TBH",
... | ARMBaseInstrInfo10 | getInstSizeInBytes | ARM | CPU | LLVM | 5,066 | 308 | 1 | [] |
[
"<s>",
"bool",
"JVMFrameLowering",
"::",
"hasFP",
"(",
"const",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"return",
"false",
";",
"}",
"</s>"
] | [
"hasFP",
"-",
"Return",
"true",
"if",
"the",
"specified",
"function",
"should",
"have",
"a",
"dedicated",
"frame",
"pointer",
"register",
"."
] | [
"JVM",
"JVM"
] | JVMFrameLowering | hasFP | JVM | Virtual ISA | LLVM | 5,067 | 16 | 1 | [] |
[
"<s>",
"std",
"::",
"pair",
"<",
"unsigned",
",",
"const",
"TargetRegisterClass",
"*",
">",
"SITargetLowering",
"::",
"getRegForInlineAsmConstraint",
"(",
"const",
"TargetRegisterInfo",
"*",
"TRI",
",",
"StringRef",
"Constraint",
",",
"MVT",
"VT",
")",
"const",
... | [
"Given",
"a",
"physical",
"register",
"constraint",
"(",
"e.g",
"."
] | [
"AMDGPU",
"SI",
"1",
"0",
"0U",
"32",
"16",
"0U",
"AMDGPU::SReg_32_XM0RegClass",
"64",
"0U",
"AMDGPU::SGPR_64RegClass",
"128",
"0U",
"AMDGPU::SReg_128RegClass",
"256",
"0U",
"AMDGPU::SReg_256RegClass",
"512",
"0U",
"AMDGPU::SReg_512RegClass",
"0U",
"32",
"16",
"0U",
... | SIISelLowering114 | getRegForInlineAsmConstraint | AMDGPU | GPU | LLVM | 5,068 | 426 | 1 | [] |
[
"<s>",
"const",
"char",
"*",
"AMDGPUTargetLowering",
"::",
"getTargetNodeName",
"(",
"unsigned",
"Opcode",
")",
"const",
"{",
"switch",
"(",
"Opcode",
")",
"{",
"default",
":",
"return",
"nullptr",
";",
"NODE_NAME_CASE",
"(",
"CALL",
")",
";",
"NODE_NAME_CASE"... | [
"getTargetNodeName",
"-",
"This",
"method",
"returns",
"the",
"name",
"of",
"a",
"target",
"specific"
] | [
"R600"
] | AMDGPUISelLowering19 | getTargetNodeName | R600 | GPU | LLVM | 5,069 | 224 | 1 | [] |
[
"<s>",
"bool",
"PPCPassConfig",
"::",
"addILPOpts",
"(",
")",
"{",
"addPass",
"(",
"&",
"EarlyIfConverterID",
")",
";",
"return",
"true",
";",
"}",
"</s>"
] | [
"Add",
"passes",
"that",
"optimize",
"instruction",
"level",
"parallelism",
"for",
"out-of-order",
"targets",
"."
] | [
"PowerPC",
"PPC"
] | PPCTargetMachine | addILPOpts | PowerPC | CPU | LLVM | 5,070 | 17 | 1 | [] |
[
"<s>",
"unsigned",
"SNESTargetLowering",
"::",
"getRegisterByName",
"(",
"const",
"char",
"*",
"RegName",
",",
"EVT",
"VT",
",",
"SelectionDAG",
"&",
"DAG",
")",
"const",
"{",
"unsigned",
"Reg",
";",
"if",
"(",
"VT",
"==",
"MVT",
"::",
"i8",
")",
"{",
... | [
"Return",
"the",
"register",
"ID",
"of",
"the",
"name",
"passed",
"in",
"."
] | [
"SNES",
"SNES",
"MVT::i8",
"\"X\"",
"SNES::X",
"\"Y\"",
"SNES::Y",
"\"A\"",
"SNES::A",
"0",
"\"X\"",
"SNES::X",
"\"Y\"",
"SNES::Y",
"\"A\"",
"SNES::A",
"0",
"\"Invalid register name global variable\""
] | SNESISelLowering | getRegisterByName | SNES | DSP | LLVM | 5,071 | 132 | 1 | [] |
[
"<s>",
"const",
"MCSection",
"*",
"SystemZMCAsmInfo",
"::",
"getNonexecutableStackSection",
"(",
"MCContext",
"&",
"Ctx",
")",
"const",
"{",
"return",
"Ctx",
".",
"getELFSection",
"(",
"\".note.GNU-stack\"",
",",
"ELF",
"::",
"SHT_PROGBITS",
",",
"0",
",",
"Sect... | [
"Targets",
"can",
"implement",
"this",
"method",
"to",
"specify",
"a",
"section",
"to",
"switch",
"to",
"if",
"the",
"translation",
"unit",
"does",
"n't",
"have",
"any",
"trampolines",
"that",
"require",
"an",
"executable",
"stack",
"."
] | [
"SystemZ",
"SystemZ",
"\".note.GNU-stack\"",
"0"
] | SystemZMCAsmInfo28 | getNonexecutableStackSection | SystemZ | CPU | LLVM | 5,072 | 34 | 1 | [] |
[
"<s>",
"bool",
"Emitter",
"<",
"CodeEmitter",
">",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"{",
"assert",
"(",
"(",
"MF",
".",
"getTarget",
"(",
")",
".",
"getRelocationModel",
"(",
")",
"!=",
"Reloc",
"::",
"Default",
"||",
... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"ARM",
"\"JIT relocation model must be set to static or default!\"",
"ARM",
"ARM",
"ARM",
"\"JITTing function '\"",
"\"'\\n\""
] | ARMCodeEmitter7 | runOnMachineFunction | ARM | CPU | LLVM | 5,073 | 260 | 1 | [] |
[
"<s>",
"bool",
"writeNopData",
"(",
"uint64_t",
"Count",
",",
"MCObjectWriter",
"*",
"OW",
")",
"const",
"{",
"if",
"(",
"Count",
"%",
"4",
"!=",
"0",
")",
"return",
"false",
";",
"uint64_t",
"NumNops",
"=",
"Count",
"/",
"4",
";",
"for",
"(",
"uint6... | [
"Write",
"an",
"(",
"optimal",
")",
"nop",
"sequence",
"of",
"Count",
"bytes",
"to",
"the",
"given",
"output",
"."
] | [
"Sparc",
"4",
"0",
"4",
"0",
"0x01000000"
] | SparcAsmBackend12 | writeNopData | Sparc | CPU | LLVM | 5,074 | 55 | 1 | [] |
[
"<s>",
"SDValue",
"OpenRISCTargetLowering",
"::",
"LowerCallResult",
"(",
"SDValue",
"Chain",
",",
"SDValue",
"InFlag",
",",
"CallingConv",
"::",
"ID",
"CallConv",
",",
"bool",
"isVarArg",
",",
"const",
"SmallVectorImpl",
"<",
"ISD",
"::",
"InputArg",
">",
"&",
... | [
"LowerCallResult",
"-",
"Lower",
"the",
"result",
"values",
"of",
"an",
"ISD",
":",
":CALL",
"into",
"the",
"appropriate",
"copies",
"out",
"of",
"appropriate",
"physical",
"registers",
"."
] | [
"OpenRISC",
"OpenRISC",
"ISD::InputArg",
"16",
"OpenRISC",
"0",
"1",
"2",
"0"
] | OpenRISCISelLowering | LowerCallResult | OpenRISC | CPU | LLVM | 5,075 | 170 | 1 | [] |
[
"<s>",
"SDNode",
"*",
"TeeRISCDAGToDAGISel",
"::",
"getGlobalBaseReg",
"(",
")",
"{",
"unsigned",
"GlobalBaseReg",
"=",
"TM",
".",
"getInstrInfo",
"(",
")",
"->",
"getGlobalBaseReg",
"(",
"MF",
")",
";",
"return",
"CurDAG",
"->",
"getRegister",
"(",
"GlobalBas... | [
"getGlobalBaseReg",
"-",
"Return",
"a",
"virtual",
"register",
"initialized",
"with",
"the",
"the",
"global",
"base",
"register",
"value",
"."
] | [
"TeeRISC",
"TeeRISC"
] | TeeRISCISelDAGToDAG | getGlobalBaseReg | TeeRISC | CPU | LLVM | 5,076 | 41 | 1 | [] |
[
"<s>",
"const",
"std",
"::",
"string",
"&",
"ARMToARMStub",
"::",
"name",
"(",
")",
"const",
"{",
"return",
"m_Name",
";",
"}",
"</s>"
] | [
"Gets",
"the",
"name",
"of",
"the",
"pass",
"we",
"are",
"mixed",
"into",
"."
] | [
"ARM",
"ARM"
] | ARMToARMStub | name | ARM | CPU | LLVM | 5,077 | 16 | 1 | [] |
[
"<s>",
"static",
"tree",
"aarch64_get_attributes",
"(",
"unsigned",
"int",
"f",
",",
"machine_mode",
"mode",
")",
"{",
"tree",
"attrs",
"=",
"NULL_TREE",
";",
"if",
"(",
"!",
"aarch64_modifies_global_state_p",
"(",
"f",
",",
"mode",
")",
")",
"{",
"if",
"(... | [
"Return",
"the",
"appropriate",
"function",
"attributes",
"."
] | [
"aarch64",
"\"pure\"",
"\"const\"",
"\"nothrow\"",
"\"leaf\""
] | aarch64-builtins | aarch64_get_attributes | aarch64 | CPU | GCC | 5,078 | 88 | 1 | [] |
[
"<s>",
"StringRef",
"getPassName",
"(",
")",
"const",
"override",
"{",
"return",
"\"AArch64 Promote Constant\"",
";",
"}",
"</s>"
] | [
"getPassName",
"-",
"Return",
"a",
"nice",
"clean",
"name",
"for",
"a",
"pass",
"."
] | [
"AArch64",
"\"AArch64 Promote Constant\""
] | AArch64PromoteConstant | getPassName | AArch64 | CPU | LLVM | 5,079 | 11 | 1 | [] |
[
"<s>",
"void",
"thumb1_gen_const_int_rtl",
"(",
"rtx",
"dst",
",",
"HOST_WIDE_INT",
"op1",
")",
"{",
"thumb1_const_rtl",
"t",
"(",
"dst",
")",
";",
"thumb1_gen_const_int_1",
"(",
"t",
",",
"op1",
")",
";",
"}",
"</s>"
] | [
"Proxies",
"for",
"thumb1.md",
",",
"since",
"the",
"thumb1_const_print",
"and",
"thumb1_const_rtl",
"classes",
"are",
"not",
"exported",
"."
] | [
"arm"
] | arm | thumb1_gen_const_int_rtl | arm | CPU | GCC | 5,080 | 24 | 1 | [] |
[
"<s>",
"int",
"X86TTIImpl",
"::",
"getIntrinsicInstrCost",
"(",
"Intrinsic",
"::",
"ID",
"IID",
",",
"Type",
"*",
"RetTy",
",",
"ArrayRef",
"<",
"Type",
"*",
">",
"Tys",
",",
"FastMathFlags",
"FMF",
")",
"{",
"static",
"const",
"CostTblEntry",
"XOPCostTbl",
... | [
"Get",
"intrinsic",
"cost",
"based",
"on",
"arguments",
"."
] | [
"X86",
"X86",
"Intrinsic::ID",
"ISD::BITREVERSE",
"MVT::v4i64",
"4",
"ISD::BITREVERSE",
"MVT::v8i32",
"4",
"ISD::BITREVERSE",
"MVT::v16i16",
"4",
"ISD::BITREVERSE",
"MVT::v32i8",
"4",
"ISD::BITREVERSE",
"MVT::v2i64",
"1",
"ISD::BITREVERSE",
"MVT::v4i32",
"1",
"ISD::BITREVER... | X86TargetTransformInfo70 | getIntrinsicInstrCost | X86 | CPU | LLVM | 5,081 | 282 | 1 | [] |
[
"<s>",
"unsigned",
"NVPTXTTIImpl",
"::",
"getArithmeticInstrCost",
"(",
"unsigned",
"Opcode",
",",
"Type",
"*",
"Ty",
",",
"TTI",
"::",
"OperandValueKind",
"Opd1Info",
",",
"TTI",
"::",
"OperandValueKind",
"Opd2Info",
",",
"TTI",
"::",
"OperandValueProperties",
"O... | [
"This",
"is",
"an",
"approximation",
"of",
"reciprocal",
"throughput",
"of",
"a",
"math/logic",
"op",
"."
] | [
"NVPTX",
"NVPTX",
"ISD::ADD",
"ISD::MUL",
"ISD::XOR",
"ISD::OR",
"ISD::AND",
"MVT::i64",
"2"
] | NVPTXTargetTransformInfo18 | getArithmeticInstrCost | NVPTX | GPU | LLVM | 5,082 | 149 | 1 | [] |
[
"<s>",
"AVRTargetLowering",
"::",
"ConstraintType",
"AVRTargetLowering",
"::",
"getConstraintType",
"(",
"StringRef",
"Constraint",
")",
"const",
"{",
"if",
"(",
"Constraint",
".",
"size",
"(",
")",
"==",
"1",
")",
"{",
"switch",
"(",
"Constraint",
"[",
"0",
... | [
"Given",
"a",
"constraint",
"letter",
",",
"return",
"the",
"type",
"of",
"constraint",
"for",
"this",
"target",
"."
] | [
"AVR",
"AVR",
"AVR",
"1",
"0"
] | AVRISelLowering | getConstraintType | AVR | MPU | LLVM | 5,083 | 136 | 1 | [] |
[
"<s>",
"void",
"Nios2PassConfig",
"::",
"addCodeGenPrepare",
"(",
")",
"{",
"TargetPassConfig",
"::",
"addCodeGenPrepare",
"(",
")",
";",
"}",
"</s>"
] | [
"Add",
"pass",
"to",
"prepare",
"the",
"LLVM",
"IR",
"for",
"code",
"generation",
"."
] | [
"Nios2",
"Nios2"
] | Nios2TargetMachine1 | addCodeGenPrepare | Nios2 | MPU | LLVM | 5,084 | 14 | 1 | [] |
[
"<s>",
"Value",
"*",
"X86TargetLowering",
"::",
"getSafeStackPointerLocation",
"(",
"IRBuilder",
"<",
">",
"&",
"IRB",
")",
"const",
"{",
"if",
"(",
"Subtarget",
".",
"getTargetTriple",
"(",
")",
".",
"isOSContiki",
"(",
")",
")",
"return",
"getDefaultSafeStac... | [
"Return",
"true",
"if",
"the",
"target",
"stores",
"SafeStack",
"pointer",
"at",
"a",
"fixed",
"offset",
"in",
"some",
"non-standard",
"address",
"space",
",",
"and",
"populates",
"the",
"address",
"space",
"and",
"offset",
"as",
"appropriate",
"."
] | [
"X86",
"X86",
"0x48",
"0x24"
] | X86ISelLowering236 | getSafeStackPointerLocation | X86 | CPU | LLVM | 5,085 | 117 | 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",
"\"***** Machine Function after Domain Reassignment *****\\n\""
] | X86DomainReassignment15 | runOnMachineFunction | X86 | CPU | LLVM | 5,086 | 302 | 1 | [] |
[
"<s>",
"bool",
"AMDGPUAsmParser",
"::",
"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",
"."
] | [
"R600",
"\"missing feature\"",
"\"unrecognized instruction mnemonic\"",
"0ULL",
"\"too few operands for instruction\"",
"\"invalid operand for instruction\"",
"\"Implement any new match types added!\""
] | AMDGPUAsmParser18 | MatchAndEmitInstruction | R600 | GPU | LLVM | 5,087 | 177 | 1 | [] |
[
"<s>",
"static",
"void",
"expand_block_move_2",
"(",
"rtx",
"dst",
",",
"rtx",
"dst_reg",
",",
"rtx",
"src",
",",
"rtx",
"src_reg",
",",
"rtx",
"bytes_rtx",
")",
"{",
"unsigned",
"HOST_WIDE_INT",
"bytes",
"=",
"UINTVAL",
"(",
"bytes_rtx",
")",
";",
"unsign... | [
"Generate",
"a",
"call",
"to",
"a",
"library",
"function",
"to",
"move",
"BYTES_RTX",
"bytes",
"from",
"SRC",
"with",
"address",
"SRC_REG",
"to",
"DST",
"with",
"address",
"DST_REG",
"in",
"2-bytes",
"chunks",
"."
] | [
"visium",
"2",
"1",
"0"
] | visium | expand_block_move_2 | visium | Virtual ISA | GCC | 5,088 | 131 | 1 | [] |
[
"<s>",
"SDValue",
"Z80TargetLowering",
"::",
"LowerFormalArguments",
"(",
"SDValue",
"Chain",
",",
"CallingConv",
"::",
"ID",
"CallConv",
",",
"bool",
"isVarArg",
",",
"const",
"SmallVectorImpl",
"<",
"ISD",
"::",
"InputArg",
">",
"&",
"Ins",
",",
"SDLoc",
"dl... | [
"This",
"hook",
"must",
"be",
"implemented",
"to",
"lower",
"the",
"incoming",
"(",
"formal",
")",
"arguments",
",",
"described",
"by",
"the",
"Ins",
"array",
",",
"into",
"the",
"specified",
"DAG",
"."
] | [
"Z80",
"Z80",
"ISD::InputArg",
"Z80",
"Z80",
"Z80",
"16",
"Z80",
"\"Varargs not supported yet!\"",
"0",
"\"LowerFormalArguments Unhandled argument type: \"",
"\"\\n\"",
"0",
"MVT::i8",
"Z80::GR8RegClass",
"MVT::i16",
"Z80::GR16RegClass",
"Z80",
"2",
"\"LowerFormalArguments unha... | Z80ISelLowering (2) | LowerFormalArguments | Z80 | MPU | LLVM | 5,089 | 478 | 1 | [] |
[
"<s>",
"enum",
"machine_mode",
"s390_tm_ccmode",
"(",
"rtx",
"op1",
",",
"rtx",
"op2",
",",
"bool",
"mixed",
")",
"{",
"int",
"bit0",
",",
"bit1",
";",
"if",
"(",
"GET_CODE",
"(",
"op1",
")",
"!=",
"CONST_INT",
"||",
"GET_CODE",
"(",
"op2",
")",
"!="... | [
"If",
"a",
"test-under-mask",
"instruction",
"can",
"be",
"used",
"to",
"implement",
"(",
"compare",
"(",
"and",
"...",
"OP1",
")",
"OP2",
")",
",",
"return",
"the",
"CC",
"mode",
"required",
"to",
"do",
"that",
".",
"Otherwise",
",",
"return",
"VOIDmode... | [
"s390",
"0",
"1",
"1"
] | s3903 | s390_tm_ccmode | s390 | MPU | GCC | 5,090 | 121 | 1 | [] |
[
"<s>",
"bool",
"X86WinAllocaExpander",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"{",
"if",
"(",
"!",
"MF",
".",
"getInfo",
"<",
"X86MachineFunctionInfo",
">",
"(",
")",
"->",
"hasWinAlloca",
"(",
")",
")",
"return",
"false",
";",... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"X86",
"X86",
"X86",
"X86",
"4096",
"\"stack-probe-size\"",
"\"stack-probe-size\"",
"0"
] | X86WinAllocaExpander6 | runOnMachineFunction | X86 | CPU | LLVM | 5,091 | 156 | 1 | [] |
[
"<s>",
"void",
"order_regs_for_local_alloc",
"(",
"void",
")",
"{",
"unsigned",
"int",
"i",
";",
"static",
"const",
"int",
"order_0",
"[",
"]",
"=",
"{",
"24",
",",
"25",
",",
"18",
",",
"19",
",",
"20",
",",
"21",
",",
"22",
",",
"23",
",",
"30"... | [
"Choose",
"the",
"order",
"in",
"which",
"to",
"allocate",
"hard",
"registers",
"for",
"pseudo-registers",
"local",
"to",
"a",
"basic",
"block",
".",
"Store",
"the",
"desired",
"register",
"order",
"in",
"the",
"array",
"`",
"reg_alloc_order",
"'",
".",
"Ele... | [
"avr",
"24",
"25",
"18",
"19",
"20",
"21",
"22",
"23",
"30",
"31",
"26",
"27",
"28",
"29",
"17",
"16",
"15",
"14",
"13",
"12",
"11",
"10",
"9",
"8",
"7",
"6",
"5",
"4",
"3",
"2",
"0",
"1",
"32",
"33",
"34",
"35",
"18",
"19",
"20",
"21",... | avr3 | order_regs_for_local_alloc | avr | MPU | GCC | 5,092 | 297 | 1 | [] |
[
"<s>",
"SparcTargetLowering",
"::",
"ConstraintType",
"SparcTargetLowering",
"::",
"getConstraintType",
"(",
"const",
"std",
"::",
"string",
"&",
"Constraint",
")",
"const",
"{",
"if",
"(",
"Constraint",
".",
"size",
"(",
")",
"==",
"1",
")",
"{",
"switch",
... | [
"Given",
"a",
"constraint",
"letter",
",",
"return",
"the",
"type",
"of",
"constraint",
"for",
"this",
"target",
"."
] | [
"Sparc",
"Sparc",
"Sparc",
"1",
"0"
] | SparcISelLowering18 | getConstraintType | Sparc | CPU | LLVM | 5,093 | 62 | 1 | [] |
[
"<s>",
"bool",
"SITargetLowering",
"::",
"isEligibleForTailCallOptimization",
"(",
"SDValue",
"Callee",
",",
"CallingConv",
"::",
"ID",
"CalleeCC",
",",
"bool",
"IsVarArg",
",",
"const",
"SmallVectorImpl",
"<",
"ISD",
"::",
"OutputArg",
">",
"&",
"Outs",
",",
"c... | [
"Returns",
"true",
"if",
"the",
"call",
"can",
"be",
"lowered",
"as",
"a",
"tail",
"call",
"."
] | [
"AMDGPU",
"SI",
"ISD::OutputArg",
"ISD::InputArg",
"SI",
"16",
"SI",
"SI"
] | SIISelLowering41 | isEligibleForTailCallOptimization | AMDGPU | GPU | LLVM | 5,094 | 381 | 1 | [] |
[
"<s>",
"bool",
"aarch64_pad_reg_upward",
"(",
"machine_mode",
"mode",
",",
"const_tree",
"type",
",",
"bool",
"first",
"ATTRIBUTE_UNUSED",
")",
"{",
"if",
"(",
"BYTES_BIG_ENDIAN",
"&&",
"aarch64_composite_type_p",
"(",
"type",
",",
"mode",
")",
")",
"{",
"HOST_W... | [
"Similarly",
",",
"for",
"use",
"by",
"BLOCK_REG_PADDING",
"(",
"MODE",
",",
"TYPE",
",",
"FIRST",
")",
".",
"It",
"specifies",
"padding",
"for",
"the",
"last",
"(",
"may",
"also",
"be",
"the",
"only",
")",
"element",
"of",
"a",
"block",
"move",
"betwe... | [
"aarch64",
"2"
] | aarch64 | aarch64_pad_reg_upward | aarch64 | CPU | GCC | 5,095 | 86 | 1 | [] |
[
"<s>",
"bool",
"R600VectorRegMerger",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"Fn",
")",
"{",
"TII",
"=",
"static_cast",
"<",
"const",
"R600InstrInfo",
"*",
">",
"(",
"Fn",
".",
"getTarget",
"(",
")",
".",
"getInstrInfo",
"(",
")",
")",
... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"R600",
"R600_InstFlag::TEX_INST",
"1",
"SI",
"0",
"\"Trying to optimize \"",
"SI",
"\"Using common slots...\\n\"",
"SI",
"SI",
"SI",
"SI",
"SI",
"SI",
"SI",
"\"Using free slots...\\n\"",
"SI",
"SI",
"SI",
"SI",
"SI",
"SI",
"SI",
"SI",
"SI"
] | R600OptimizeVectorRegisters11 | runOnMachineFunction | R600 | GPU | LLVM | 5,096 | 404 | 1 | [] |
[
"<s>",
"bool",
"MOSInstrInfo",
"::",
"findCommutedOpIndices",
"(",
"const",
"MachineInstr",
"&",
"MI",
",",
"unsigned",
"&",
"SrcOpIdx1",
",",
"unsigned",
"&",
"SrcOpIdx2",
")",
"const",
"{",
"assert",
"(",
"!",
"MI",
".",
"isBundle",
"(",
")",
"&&",
"\"MO... | [
"Returns",
"true",
"iff",
"the",
"routine",
"could",
"find",
"two",
"commutable",
"operands",
"in",
"the",
"given",
"machine",
"instruction",
"."
] | [
"MOS",
"MOS",
"\"MOSInstrInfo::findCommutedOpIndices() can't handle bundles\"",
"\"Unexpected opcode; don't know how to commute.\"",
"MOS::ADCImag8",
"3",
"4",
"MOS::ANDImag8",
"MOS::EORImag8",
"MOS::ORAImag8",
"1",
"2"
] | MOSInstrInfo | findCommutedOpIndices | MOS | MPU | LLVM | 5,097 | 169 | 1 | [] |
[
"<s>",
"Function",
"*",
"ARMTargetLowering",
"::",
"getSSPStackGuardCheck",
"(",
"const",
"Module",
"&",
"M",
")",
"const",
"{",
"if",
"(",
"Subtarget",
"->",
"getTargetTriple",
"(",
")",
".",
"isWindowsMSVCEnvironment",
"(",
")",
")",
"return",
"M",
".",
"g... | [
"If",
"the",
"target",
"has",
"a",
"standard",
"stack",
"protection",
"check",
"function",
"that",
"performs",
"validation",
"and",
"error",
"handling",
",",
"returns",
"the",
"function",
"."
] | [
"ARM",
"ARM",
"\"__security_check_cookie\""
] | ARMISelLowering (2)5 | getSSPStackGuardCheck | ARM | CPU | LLVM | 5,098 | 42 | 1 | [] |
[
"<s>",
"void",
"SHUXIInstPrinter",
"::",
"printInst",
"(",
"const",
"MCInst",
"*",
"MI",
",",
"raw_ostream",
"&",
"O",
",",
"StringRef",
"Annot",
",",
"const",
"MCSubtargetInfo",
"&",
"STI",
")",
"{",
"printInstruction",
"(",
"MI",
",",
"O",
")",
";",
"p... | [
"Print",
"the",
"specified",
"MCInst",
"to",
"the",
"specified",
"raw_ostream",
"."
] | [
"SHUXI",
"SHUXI"
] | SHUXIInstPrinter | printInst | SHUXI | CPU | LLVM | 5,099 | 38 | 1 | [] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.