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",
"void",
"aarch64_start_file",
"(",
"void",
")",
"{",
"struct",
"cl_target_option",
"*",
"default_options",
"=",
"TREE_TARGET_OPTION",
"(",
"target_option_default_node",
")",
";",
"const",
"struct",
"processor",
"*",
"default_arch",
"=",
"aarch64_get_a... | [
"Implements",
"TARGET_ASM_FILE_START",
".",
"Output",
"the",
"assembly",
"header",
"."
] | [
"aarch64",
"\"\"",
"\"\\t.arch %s\\n\""
] | aarch64 | aarch64_start_file | aarch64 | CPU | GCC | 2,000 | 81 | 1 | [] |
[
"<s>",
"bool",
"HexagonHardwareLoops",
"::",
"isDead",
"(",
"const",
"MachineInstr",
"*",
"MI",
",",
"SmallVector",
"<",
"MachineInstr",
"*",
",",
"1",
">",
"&",
"DeadPhis",
")",
"const",
"{",
"for",
"(",
"unsigned",
"i",
"=",
"0",
",",
"e",
"=",
"MI",... | [
"isDead",
"-",
"Returns",
"true",
"if",
"this",
"is",
"a",
"dead",
"def",
"kill",
"slot",
"."
] | [
"Hexagon",
"Hexagon",
"1",
"0",
"0"
] | HexagonHardwareLoops56 | isDead | Hexagon | DSP | LLVM | 2,001 | 301 | 1 | [] |
[
"<s>",
"rtx",
"m68k_legitimize_sibcall_address",
"(",
"rtx",
"x",
")",
"{",
"gcc_assert",
"(",
"MEM_P",
"(",
"x",
")",
")",
";",
"if",
"(",
"sibcall_operand",
"(",
"XEXP",
"(",
"x",
",",
"0",
")",
",",
"VOIDmode",
")",
")",
"return",
"x",
";",
"emit_... | [
"Likewise",
"for",
"sibling",
"calls",
"."
] | [
"m68k",
"0",
"0"
] | m68k | m68k_legitimize_sibcall_address | m68k | MPU | GCC | 2,002 | 63 | 1 | [] |
[
"<s>",
"unsigned",
"X86TargetLowering",
"::",
"getNumRegistersForCallingConv",
"(",
"LLVMContext",
"&",
"Context",
",",
"CallingConv",
"::",
"ID",
"CC",
",",
"EVT",
"VT",
")",
"const",
"{",
"if",
"(",
"VT",
"==",
"MVT",
"::",
"v32i1",
"&&",
"Subtarget",
".",... | [
"Certain",
"targets",
"require",
"unusual",
"breakdowns",
"of",
"certain",
"types",
"."
] | [
"X86",
"X86",
"MVT::v32i1",
"1",
"MVT::v32i16",
"MVT::v64i8",
"1"
] | X86ISelLowering151 | getNumRegistersForCallingConv | X86 | CPU | LLVM | 2,003 | 91 | 1 | [] |
[
"<s>",
"bool",
"HexagonEvaluator",
"::",
"evaluate",
"(",
"const",
"MachineInstr",
"&",
"BI",
",",
"const",
"CellMapType",
"&",
"Inputs",
",",
"BranchTargetList",
"&",
"Targets",
",",
"bool",
"&",
"FallsThru",
")",
"const",
"{",
"unsigned",
"Opc",
"=",
"BI",... | [
"evaluate",
"-",
"Evaluate",
"Expr",
"and",
"append",
"the",
"resulting",
"set",
"to",
"Elts",
"."
] | [
"Hexagon",
"Hexagon",
"Hexagon::J2_jumpf",
"Hexagon::J2_jumpfnew",
"Hexagon::J2_jumpfnewpt",
"Hexagon::J2_jumpt",
"Hexagon::J2_jumptnew",
"Hexagon::J2_jumptnewpt",
"Hexagon::J2_jump",
"0",
"0",
"0",
"0",
"1",
"1"
] | HexagonBitTracker | evaluate | Hexagon | DSP | LLVM | 2,004 | 228 | 1 | [] |
[
"<s>",
"bool",
"isLegalMaskedStore",
"(",
"Type",
"*",
"DataTy",
",",
"MaybeAlign",
"Alignment",
")",
"{",
"return",
"isLegalMaskedLoad",
"(",
"DataTy",
",",
"Alignment",
")",
";",
"}",
"</s>"
] | [
"Return",
"true",
"if",
"the",
"target",
"supports",
"masked",
"store",
"."
] | [
"ARM"
] | ARMTargetTransformInfo1 | isLegalMaskedStore | ARM | CPU | LLVM | 2,005 | 20 | 1 | [] |
[
"<s>",
"void",
"X86PassConfig",
"::",
"addIRPasses",
"(",
")",
"{",
"addPass",
"(",
"createAtomicExpandPass",
"(",
")",
")",
";",
"addPass",
"(",
"createX86LowerAMXTypePass",
"(",
")",
")",
";",
"TargetPassConfig",
"::",
"addIRPasses",
"(",
")",
";",
"if",
"... | [
"Add",
"common",
"target",
"configurable",
"passes",
"that",
"perform",
"LLVM",
"IR",
"to",
"IR",
"transforms",
"following",
"machine",
"independent",
"optimization",
"."
] | [
"X86",
"X86",
"X86",
"X86"
] | X86TargetMachine97 | addIRPasses | X86 | CPU | LLVM | 2,006 | 115 | 1 | [] |
[
"<s>",
"uint64_t",
"getNullPointerValue",
"(",
"unsigned",
"AddrSpace",
")",
"const",
"{",
"switch",
"(",
"AddrSpace",
")",
"{",
"case",
"AMDGPUAS",
"::",
"PRIVATE_ADDRESS",
":",
"case",
"AMDGPUAS",
"::",
"LOCAL_ADDRESS",
":",
"case",
"AMDGPUAS",
"::",
"REGION_A... | [
"Get",
"the",
"integer",
"value",
"of",
"a",
"null",
"pointer",
"in",
"the",
"given",
"address",
"space",
"."
] | [
"AMDGPU",
"AMDGPU",
"AMDGPU",
"AMDGPU",
"1",
"0"
] | AMDGPUTargetMachine26 | getNullPointerValue | AMDGPU | GPU | LLVM | 2,007 | 39 | 1 | [] |
[
"<s>",
"void",
"ARCompactRegisterInfo",
"::",
"eliminateCallFramePseudoInstr",
"(",
"MachineFunction",
"&",
"MF",
",",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"I",
")",
"const",
"{",
"MBB",
".",
"erase",
"(",
"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",
")",
"."
] | [
"ARCompact",
"ARC"
] | ARCompactRegisterInfo | eliminateCallFramePseudoInstr | ARCompact | MPU | LLVM | 2,008 | 28 | 1 | [] |
[
"<s>",
"bool",
"R600InstrInfo",
"::",
"fitsConstReadLimitations",
"(",
"const",
"std",
"::",
"vector",
"<",
"MachineInstr",
"*",
">",
"&",
"MIs",
")",
"const",
"{",
"std",
"::",
"vector",
"<",
"unsigned",
">",
"Consts",
";",
"SmallSet",
"<",
"int64_t",
","... | [
"Same",
"but",
"using",
"const",
"index",
"set",
"instead",
"of",
"MI",
"set",
"."
] | [
"AMDGPU",
"R600",
"4",
"0",
"0",
"AMDGPU::ALU_LITERAL_X",
"4",
"AMDGPU::ALU_CONST",
"AMDGPU::R600_KC0RegClass",
"AMDGPU::R600_KC1RegClass",
"0xff",
"2"
] | R600InstrInfo (2) | fitsConstReadLimitations | AMDGPU | GPU | LLVM | 2,009 | 286 | 1 | [] |
[
"<s>",
"static",
"void",
"arm_initialize_isa",
"(",
"sbitmap",
"isa",
",",
"const",
"enum",
"isa_feature",
"*",
"isa_bits",
")",
"{",
"bitmap_clear",
"(",
"isa",
")",
";",
"while",
"(",
"*",
"isa_bits",
"!=",
"isa_nobit",
")",
"bitmap_set_bit",
"(",
"isa",
... | [
"Convert",
"a",
"static",
"initializer",
"array",
"of",
"feature",
"bits",
"to",
"sbitmap",
"representation",
"."
] | [
"arm"
] | arm6 | arm_initialize_isa | arm | CPU | GCC | 2,010 | 38 | 1 | [] |
[
"<s>",
"SDValue",
"SPUTargetLowering",
"::",
"LowerReturn",
"(",
"SDValue",
"Chain",
",",
"CallingConv",
"::",
"ID",
"CallConv",
",",
"bool",
"isVarArg",
",",
"const",
"SmallVectorImpl",
"<",
"ISD",
"::",
"OutputArg",
">",
"&",
"Outs",
",",
"const",
"SmallVect... | [
"This",
"hook",
"must",
"be",
"implemented",
"to",
"lower",
"outgoing",
"return",
"values",
",",
"described",
"by",
"the",
"Outs",
"array",
",",
"into",
"the",
"specified",
"DAG",
"."
] | [
"CellSPU",
"SPU",
"ISD::OutputArg",
"16",
"SPU",
"0",
"0",
"\"Can only return in registers!\"",
"1",
"SPUISD::RET_FLAG",
"MVT::Other",
"SPUISD::RET_FLAG",
"MVT::Other"
] | SPUISelLowering3 | LowerReturn | CellSPU | MPU | LLVM | 2,011 | 263 | 1 | [] |
[
"<s>",
"unsigned",
"X86TargetLowering",
"::",
"ComputeNumSignBitsForTargetNode",
"(",
"SDValue",
"Op",
",",
"const",
"SelectionDAG",
"&",
",",
"unsigned",
"Depth",
")",
"const",
"{",
"if",
"(",
"Op",
".",
"getOpcode",
"(",
")",
"==",
"X86ISD",
"::",
"SETCC_CAR... | [
"Determine",
"the",
"number",
"of",
"bits",
"in",
"the",
"operation",
"that",
"are",
"sign",
"bits",
"."
] | [
"X86",
"X86",
"X86ISD::SETCC_CARRY",
"1"
] | X86ISelLowering (2) | ComputeNumSignBitsForTargetNode | X86 | CPU | LLVM | 2,012 | 48 | 1 | [] |
[
"<s>",
"bool",
"ParseDirective",
"(",
"AsmToken",
"DirectiveID",
")",
"override",
"{",
"assert",
"(",
"DirectiveID",
".",
"getKind",
"(",
")",
"==",
"AsmToken",
"::",
"Identifier",
")",
";",
"auto",
"&",
"Out",
"=",
"getStreamer",
"(",
")",
";",
"auto",
... | [
"ParseDirective",
"-",
"Parse",
"a",
"target",
"specific",
"assembler",
"directive",
"This",
"method",
"is",
"deprecated",
",",
"use",
"'parseDirective",
"'",
"instead",
"."
] | [
"WebAssembly",
"WebAssembly",
"\".type\"",
"\"Expected label,@type declaration, got: \"",
"\"function\"",
"\".param\"",
"\".local\"",
"MVT::INVALID_SIMPLE_VALUE_TYPE",
"\".param\"",
"\"EOL\""
] | WebAssemblyAsmParser27 | ParseDirective | WebAssembly | Virtual ISA | LLVM | 2,013 | 323 | 1 | [] |
[
"<s>",
"bool",
"SITargetLowering",
"::",
"isNoopAddrSpaceCast",
"(",
"unsigned",
"SrcAS",
",",
"unsigned",
"DestAS",
")",
"const",
"{",
"return",
"isFlatGlobalAddrSpace",
"(",
"SrcAS",
")",
"&&",
"isFlatGlobalAddrSpace",
"(",
"DestAS",
")",
";",
"}",
"</s>"
] | [
"Returns",
"true",
"if",
"a",
"cast",
"between",
"SrcAS",
"and",
"DestAS",
"is",
"a",
"noop",
"."
] | [
"AMDGPU",
"SI"
] | SIISelLowering (2)3 | isNoopAddrSpaceCast | AMDGPU | GPU | LLVM | 2,014 | 25 | 1 | [] |
[
"<s>",
"bool",
"Cpu0FrameLowering",
"::",
"hasFP",
"(",
"const",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"const",
"MachineFrameInfo",
"*",
"MFI",
"=",
"&",
"MF",
".",
"getFrameInfo",
"(",
")",
";",
"const",
"TargetRegisterInfo",
"*",
"TRI",
"=",
"... | [
"hasFP",
"-",
"Return",
"true",
"if",
"the",
"specified",
"function",
"should",
"have",
"a",
"dedicated",
"frame",
"pointer",
"register",
"."
] | [
"Cpu0",
"Cpu0"
] | Cpu0FrameLowering | hasFP | Cpu0 | CPU | LLVM | 2,015 | 69 | 1 | [] |
[
"<s>",
"rtx",
"mips_rewrite_small_data",
"(",
"rtx",
"op",
")",
"{",
"op",
"=",
"copy_insn",
"(",
"op",
")",
";",
"for_each_rtx",
"(",
"&",
"op",
",",
"mips_rewrite_small_data_1",
",",
"0",
")",
";",
"return",
"op",
";",
"}",
"</s>"
] | [
"If",
"possible",
",",
"rewrite",
"OP",
"so",
"that",
"it",
"refers",
"to",
"small",
"data",
"using",
"explicit",
"relocations",
"."
] | [
"mips",
"0"
] | mips3 | mips_rewrite_small_data | mips | CPU | GCC | 2,016 | 28 | 1 | [] |
[
"<s>",
"MachineInstrBuilder",
"buildLoad",
"(",
"const",
"DstOp",
"&",
"Res",
",",
"Register",
"Addr",
",",
"uint64_t",
"Size",
",",
"unsigned",
"Alignment",
",",
"MachinePointerInfo",
"&",
"MPO",
")",
"{",
"auto",
"MMO",
"=",
"MIRBuilder",
".",
"getMF",
"("... | [
"Build",
"and",
"insert",
"a",
"G_LOAD",
"instruction",
",",
"while",
"constructing",
"the",
"MachineMemOperand",
"."
] | [
"ARM"
] | ARMCallLowering22 | buildLoad | ARM | CPU | LLVM | 2,017 | 58 | 1 | [] |
[
"<s>",
"int",
"ia64_direct_return",
"(",
"void",
")",
"{",
"if",
"(",
"reload_completed",
"&&",
"!",
"frame_pointer_needed",
")",
"{",
"ia64_compute_frame_size",
"(",
"get_frame_size",
"(",
")",
")",
";",
"return",
"(",
"current_frame_info",
".",
"total_size",
"... | [
"Return",
"1",
"if",
"br.ret",
"can",
"do",
"all",
"the",
"work",
"required",
"to",
"return",
"from",
"a",
"function",
"."
] | [
"ia64",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"0"
] | ia643 | ia64_direct_return | ia64 | CPU | GCC | 2,018 | 71 | 1 | [] |
[
"<s>",
"static",
"bool",
"crx_fixed_condition_code_regs",
"(",
"unsigned",
"int",
"*",
"p1",
",",
"unsigned",
"int",
"*",
"p2",
")",
"{",
"*",
"p1",
"=",
"CC_REGNUM",
";",
"*",
"p2",
"=",
"INVALID_REGNUM",
";",
"return",
"true",
";",
"}",
"</s>"
] | [
"Return",
"the",
"fixed",
"registers",
"used",
"for",
"condition",
"codes",
"."
] | [
"crx"
] | crx | crx_fixed_condition_code_regs | crx | CPU | GCC | 2,019 | 29 | 1 | [] |
[
"<s>",
"tree",
"rs6000_fold_builtin",
"(",
"tree",
"fndecl",
"ATTRIBUTE_UNUSED",
",",
"int",
"n_args",
"ATTRIBUTE_UNUSED",
",",
"tree",
"*",
"args",
"ATTRIBUTE_UNUSED",
",",
"bool",
"ignore",
"ATTRIBUTE_UNUSED",
")",
"{",
"return",
"SUBTARGET_FOLD_BUILTIN",
"(",
"fn... | [
"Target",
"hook",
"for",
"early",
"folding",
"of",
"built-ins",
",",
"shamelessly",
"stolen",
"from",
"ia64.cc",
"."
] | [
"rs6000"
] | rs6000-builtin | rs6000_fold_builtin | rs6000 | CPU | GCC | 2,020 | 37 | 1 | [] |
[
"<s>",
"SUnit",
"*",
"R600SchedStrategy",
"::",
"pickNode",
"(",
"bool",
"&",
"IsTopNode",
")",
"{",
"SUnit",
"*",
"SU",
"=",
"nullptr",
";",
"NextInstKind",
"=",
"IDOther",
";",
"IsTopNode",
"=",
"false",
";",
"bool",
"AllowSwitchToAlu",
"=",
"(",
"CurEmi... | [
"Pick",
"the",
"next",
"node",
"to",
"schedule",
",",
"or",
"return",
"NULL",
"."
] | [
"R600",
"0",
"62.5f",
"\" approx. Wavefronts Required\\n\"",
"2",
"0",
"\" ** Pick node **\\n\"",
"\"NO NODE \\n\"",
"0"
] | R600MachineScheduler12 | pickNode | R600 | GPU | LLVM | 2,021 | 403 | 1 | [] |
[
"<s>",
"static",
"void",
"mips_end_ll_sc_sync_block",
"(",
"void",
")",
"{",
"if",
"(",
"!",
"ISA_HAS_LL_SC",
")",
"output_asm_insn",
"(",
"\".set\\tpop\"",
",",
"0",
")",
";",
"}",
"</s>"
] | [
"End",
"a",
"block",
"started",
"by",
"mips_start_ll_sc_sync_block",
"."
] | [
"mips",
"\".set\\tpop\"",
"0"
] | mips | mips_end_ll_sc_sync_block | mips | CPU | GCC | 2,022 | 20 | 1 | [] |
[
"<s>",
"static",
"bool",
"aarch64_handle_attr_arch",
"(",
"const",
"char",
"*",
"str",
",",
"const",
"char",
"*",
"pragma_or_attr",
")",
"{",
"const",
"struct",
"processor",
"*",
"tmp_arch",
"=",
"NULL",
";",
"enum",
"aarch64_parse_opt_result",
"parse_res",
"=",... | [
"Handle",
"the",
"ARCH_STR",
"argument",
"to",
"the",
"arch=",
"target",
"attribute",
".",
"PRAGMA_OR_ATTR",
"is",
"used",
"in",
"potential",
"error",
"messages",
"."
] | [
"aarch64",
"\"missing architecture name in 'arch' target %s\"",
"\"unknown value %qs for 'arch' target %s\"",
"\"invalid feature modifier %qs for 'arch' target %s\""
] | aarch643 | aarch64_handle_attr_arch | aarch64 | CPU | GCC | 2,023 | 120 | 1 | [] |
[
"<s>",
"void",
"HexagonEarlyIfConversion",
"::",
"removeBlock",
"(",
"MachineBasicBlock",
"*",
"B",
")",
"{",
"LLVM_DEBUG",
"(",
"dbgs",
"(",
")",
"<<",
"\"Removing block \"",
"<<",
"PrintMB",
"(",
"B",
")",
"<<",
"\"\\n\"",
")",
";",
"MachineDomTreeNode",
"*"... | [
"This",
"method",
"completely",
"removes",
"BB",
"from",
"all",
"data",
"structures",
",",
"including",
"all",
"of",
"the",
"Loop",
"objects",
"it",
"is",
"nested",
"in",
"and",
"our",
"mapping",
"from",
"MachineBasicBlocks",
"to",
"loops",
"."
] | [
"Hexagon",
"Hexagon",
"\"Removing block \"",
"\"\\n\"",
"4"
] | HexagonEarlyIfConv10 | removeBlock | Hexagon | DSP | LLVM | 2,024 | 197 | 1 | [] |
[
"<s>",
"bool",
"fixupNeedsRelaxation",
"(",
"const",
"MCFixup",
"&",
"Fixup",
",",
"uint64_t",
"Value",
",",
"const",
"MCRelaxableFragment",
"*",
"DF",
",",
"const",
"MCAsmLayout",
"&",
"Layout",
")",
"const",
"override",
"{",
"llvm_unreachable",
"(",
"\"Handled... | [
"Simple",
"predicate",
"for",
"targets",
"where",
"!",
"Resolved",
"implies",
"requiring",
"relaxation",
"."
] | [
"Hexagon",
"\"Handled by fixupNeedsRelaxationAdvanced\""
] | HexagonAsmBackend (2)1 | fixupNeedsRelaxation | Hexagon | DSP | LLVM | 2,025 | 30 | 1 | [] |
[
"<s>",
"Register",
"PPCTargetLowering",
"::",
"getRegisterByName",
"(",
"const",
"char",
"*",
"RegName",
",",
"EVT",
"VT",
",",
"const",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"bool",
"isPPC64",
"=",
"Subtarget",
".",
"isPPC64",
"(",
")",
";",
"b... | [
"Return",
"the",
"register",
"ID",
"of",
"the",
"name",
"passed",
"in",
"."
] | [
"PowerPC",
"PPC",
"PPC",
"PPC",
"PPC",
"MVT::i64",
"MVT::i32",
"PPC",
"MVT::i32",
"\"Invalid register global variable type\"",
"PPC",
"MVT::i64",
"\"r1\"",
"PPC::X1",
"PPC::R1",
"\"r2\"",
"PPC",
"PPC::R2",
"\"r13\"",
"PPC",
"PPC::X13",
"PPC::R13",
"\"Invalid register name... | PPCISelLowering103 | getRegisterByName | PowerPC | CPU | LLVM | 2,026 | 176 | 1 | [] |
[
"<s>",
"unsigned",
"MSP430MCCodeEmitter",
"::",
"getMachineOpValue",
"(",
"const",
"MCInst",
"&",
"MI",
",",
"const",
"MCOperand",
"&",
"MO",
",",
"SmallVectorImpl",
"<",
"MCFixup",
">",
"&",
"Fixups",
",",
"const",
"MCSubtargetInfo",
"&",
"STI",
")",
"const",... | [
"getMachineOpValue",
"-",
"Return",
"binary",
"encoding",
"of",
"operand",
"."
] | [
"MSP430",
"MSP430",
"2",
"\"Expected expr operand\"",
"MSP430::fixup_16_byte",
"2",
"0"
] | MSP430MCCodeEmitter | getMachineOpValue | MSP430 | MPU | LLVM | 2,027 | 127 | 1 | [] |
[
"<s>",
"void",
"rs6000_sibcall_aix",
"(",
"rtx",
"value",
",",
"rtx",
"func_desc",
",",
"rtx",
"flag",
",",
"rtx",
"cookie",
")",
"{",
"rtx",
"call",
"[",
"2",
"]",
";",
"rtx",
"insn",
";",
"gcc_assert",
"(",
"INTVAL",
"(",
"cookie",
")",
"==",
"0",
... | [
"Expand",
"code",
"to",
"perform",
"a",
"sibling",
"call",
"under",
"the",
"AIX",
"or",
"ELFv2",
"ABI",
"."
] | [
"powerpcspe",
"2",
"0",
"0",
"0",
"0",
"1",
"2"
] | powerpcspe | rs6000_sibcall_aix | powerpcspe | CPU | GCC | 2,028 | 120 | 1 | [] |
[
"<s>",
"ScheduleHazardRecognizer",
"*",
"PPCInstrInfo",
"::",
"CreateTargetPostRAHazardRecognizer",
"(",
"const",
"InstrItineraryData",
"*",
"II",
",",
"const",
"ScheduleDAG",
"*",
"DAG",
")",
"const",
"{",
"unsigned",
"Directive",
"=",
"DAG",
"->",
"TM",
".",
"ge... | [
"Allocate",
"and",
"return",
"a",
"hazard",
"recognizer",
"to",
"use",
"for",
"by",
"non-scheduling",
"passes",
"."
] | [
"PowerPC",
"PPC",
"PPC",
"PPC::DIR_PWR7",
"PPC::DIR_PWR8",
"PPC",
"PPC::DIR_440",
"PPC::DIR_A2",
"PPC::DIR_E500mc",
"PPC::DIR_E5500",
"\"No InstrInfo?\"",
"PPC"
] | PPCInstrInfo1 | CreateTargetPostRAHazardRecognizer | PowerPC | CPU | LLVM | 2,029 | 114 | 1 | [] |
[
"<s>",
"static",
"void",
"alpha_override_options_after_change",
"(",
"void",
")",
"{",
"if",
"(",
"optimize",
">",
"0",
")",
"{",
"if",
"(",
"flag_align_loops",
"&&",
"!",
"str_align_loops",
")",
"str_align_loops",
"=",
"\"16\"",
";",
"if",
"(",
"flag_align_ju... | [
"Implement",
"targetm.override_options_after_change",
"."
] | [
"alpha",
"0",
"\"16\"",
"\"16\"",
"\"16\""
] | alpha | alpha_override_options_after_change | alpha | MPU | GCC | 2,030 | 49 | 1 | [] |
[
"<s>",
"unsigned",
"F2003fInstrInfo",
"::",
"insertBranch",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"*",
"TBB",
",",
"MachineBasicBlock",
"*",
"FBB",
",",
"ArrayRef",
"<",
"MachineOperand",
">",
"Cond",
",",
"const",
"DebugLoc",
"&",
"DL"... | [
"Insert",
"branch",
"code",
"into",
"the",
"end",
"of",
"the",
"specified",
"MachineBasicBlock",
"."
] | [
"F2003f",
"F2003f",
"\"insertBranch must not be told to insert a fallthrough\"",
"0",
"F2003f::MALKRZx",
"0",
"\"Invalid 2003f branch condition!\"",
"\"code size not handled\"",
"\"Unconditional branch with multiple successors!\"",
"F2003f::KRZx",
"1",
"0",
"0",
"1",
"F2003f::KRZx"
] | F2003fInstrInfo | insertBranch | F2003f | CPU | LLVM | 2,031 | 242 | 1 | [] |
[
"<s>",
"void",
"X86ATTInstPrinter",
"::",
"printInst",
"(",
"const",
"MCInst",
"*",
"MI",
",",
"raw_ostream",
"&",
"OS",
",",
"StringRef",
"Annot",
",",
"const",
"MCSubtargetInfo",
"&",
"STI",
")",
"{",
"const",
"MCInstrDesc",
"&",
"Desc",
"=",
"MII",
".",... | [
"Print",
"the",
"specified",
"MCInst",
"to",
"the",
"specified",
"raw_ostream",
"."
] | [
"X86",
"X86",
"X86",
"X86II::LOCK",
"X86::IP_HAS_LOCK",
"\"\\tlock\\t\"",
"X86::IP_HAS_REPEAT_NE",
"\"\\trepne\\t\"",
"X86::IP_HAS_REPEAT",
"\"\\trep\\t\"",
"X86::CALLpcrel32",
"X86::Mode64Bit",
"\"\\tcallq\\t\"",
"0",
"X86::DATA16_PREFIX",
"X86::Mode16Bit",
"X86::DATA32_PREFIX"
] | X86ATTInstPrinter55 | printInst | X86 | CPU | LLVM | 2,032 | 236 | 1 | [] |
[
"<s>",
"SDValue",
"VETargetLowering",
"::",
"LowerFormalArguments",
"(",
"SDValue",
"Chain",
",",
"CallingConv",
"::",
"ID",
"CallConv",
",",
"bool",
"IsVarArg",
",",
"const",
"SmallVectorImpl",
"<",
"ISD",
"::",
"InputArg",
">",
"&",
"Ins",
",",
"const",
"SDL... | [
"This",
"hook",
"must",
"be",
"implemented",
"to",
"lower",
"the",
"incoming",
"(",
"formal",
")",
"arguments",
",",
"described",
"by",
"the",
"Ins",
"array",
",",
"into",
"the",
"specified",
"DAG",
"."
] | [
"VE",
"VE",
"ISD::InputArg",
"\"TODO implement var args\"",
"\"TODO implement input arguments\""
] | VEISelLowering16 | LowerFormalArguments | VE | CPU | LLVM | 2,033 | 67 | 1 | [] |
[
"<s>",
"bool",
"MBlazeIntrinsicInfo",
"::",
"isOverloaded",
"(",
"unsigned",
"IntrID",
")",
"const",
"{",
"const",
"bool",
"OTable",
"[",
"]",
"=",
"{",
"}",
";",
"if",
"(",
"IntrID",
"==",
"0",
")",
"return",
"false",
";",
"else",
"return",
"OTable",
... | [
"Returns",
"true",
"if",
"the",
"intrinsic",
"can",
"be",
"overloaded",
"."
] | [
"MBlaze",
"MBlaze",
"0",
"Intrinsic::num_intrinsics"
] | MBlazeIntrinsicInfo | isOverloaded | MBlaze | MPU | LLVM | 2,034 | 40 | 1 | [] |
[
"<s>",
"bool",
"A15SDOptimizer",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"Fn",
")",
"{",
"if",
"(",
"skipFunction",
"(",
"Fn",
".",
"getFunction",
"(",
")",
")",
")",
"return",
"false",
";",
"const",
"ARMSubtarget",
"&",
"STI",
"=",
"Fn"... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"ARM",
"ARM",
"ARM",
"\"Running on function \"",
"\"\\n\""
] | A15SDOptimizer13 | runOnMachineFunction | ARM | CPU | LLVM | 2,035 | 165 | 1 | [] |
[
"<s>",
"bool",
"AMDGPUAnnotateUniformValues",
"::",
"runOnFunction",
"(",
"Function",
"&",
"F",
")",
"{",
"if",
"(",
"skipFunction",
"(",
"F",
")",
")",
"return",
"false",
";",
"DA",
"=",
"&",
"getAnalysis",
"<",
"LegacyDivergenceAnalysis",
">",
"(",
")",
... | [
"runOnFunction",
"-",
"Virtual",
"method",
"overriden",
"by",
"subclasses",
"to",
"do",
"the",
"per-function",
"processing",
"of",
"the",
"pass",
"."
] | [
"AMDGPU",
"AMDGPU",
"AMDGPU::isEntryFunctionCC"
] | AMDGPUAnnotateUniformValues8 | runOnFunction | AMDGPU | GPU | LLVM | 2,036 | 84 | 1 | [] |
[
"<s>",
"bool",
"AMDGPUTargetELFStreamer",
"::",
"EmitHSAMetadata",
"(",
"const",
"AMDGPU",
"::",
"HSAMD",
"::",
"Metadata",
"&",
"HSAMetadata",
")",
"{",
"std",
"::",
"string",
"HSAMetadataString",
";",
"if",
"(",
"HSAMD",
"::",
"toString",
"(",
"HSAMetadata",
... | [
"Emit",
"HSA",
"Metadata",
"."
] | [
"AMDGPU",
"AMDGPU",
"AMDGPU::HSAMD",
"AMDGPU"
] | AMDGPUTargetStreamer14 | EmitHSAMetadata | AMDGPU | GPU | LLVM | 2,037 | 140 | 1 | [] |
[
"<s>",
"void",
"AnalyzeFormalArguments",
"(",
"const",
"SmallVectorImpl",
"<",
"ISD",
"::",
"InputArg",
">",
"&",
"Ins",
",",
"CCAssignFn",
"Fn",
")",
"{",
"ArgIsFixed",
".",
"clear",
"(",
")",
";",
"for",
"(",
"unsigned",
"i",
"=",
"0",
";",
"i",
"<",... | [
"AnalyzeFormalArguments",
"-",
"Analyze",
"an",
"array",
"of",
"argument",
"values",
",",
"incorporating",
"info",
"about",
"the",
"formals",
"into",
"this",
"state",
"."
] | [
"SystemZ",
"ISD::InputArg",
"0",
"0"
] | SystemZCallingConv | AnalyzeFormalArguments | SystemZ | CPU | LLVM | 2,038 | 97 | 1 | [] |
[
"<s>",
"bool",
"rs6000_is_valid_mask",
"(",
"rtx",
"mask",
",",
"int",
"*",
"b",
",",
"int",
"*",
"e",
",",
"machine_mode",
"mode",
")",
"{",
"unsigned",
"HOST_WIDE_INT",
"val",
"=",
"INTVAL",
"(",
"mask",
")",
";",
"unsigned",
"HOST_WIDE_INT",
"bit",
";... | [
"Return",
"whether",
"MASK",
"(",
"a",
"CONST_INT",
")",
"is",
"a",
"valid",
"mask",
"for",
"any",
"rlwinm",
",",
"rldicl",
",",
"rldicr",
",",
"or",
"rldic",
"instruction",
"in",
"mode",
"MODE",
".",
"If",
"so",
",",
"if",
"E",
"is",
"not",
"zero",
... | [
"powerpcspe",
"0",
"1",
"0",
"0",
"1",
"0",
"0",
"0",
"0"
] | powerpcspe | rs6000_is_valid_mask | powerpcspe | CPU | GCC | 2,039 | 227 | 1 | [] |
[
"<s>",
"const",
"uint32_t",
"*",
"ARM64RegisterInfo",
"::",
"getCallPreservedMask",
"(",
"CallingConv",
"::",
"ID",
"CC",
")",
"const",
"{",
"if",
"(",
"CC",
"==",
"CallingConv",
"::",
"AnyReg",
")",
"return",
"CSR_ARM64_AllRegs_RegMask",
";",
"else",
"return",
... | [
"Return",
"a",
"mask",
"of",
"call-preserved",
"registers",
"for",
"the",
"given",
"calling",
"convention",
"on",
"the",
"current",
"function",
"."
] | [
"ARM64",
"ARM64",
"ARM64",
"ARM64"
] | ARM64RegisterInfo | getCallPreservedMask | ARM64 | CPU | LLVM | 2,040 | 30 | 1 | [] |
[
"<s>",
"bool",
"MipsSETargetLowering",
"::",
"allowsMisalignedMemoryAccesses",
"(",
"EVT",
"VT",
",",
"unsigned",
",",
"unsigned",
",",
"MachineMemOperand",
"::",
"Flags",
",",
"bool",
"*",
"Fast",
")",
"const",
"{",
"MVT",
"::",
"SimpleValueType",
"SVT",
"=",
... | [
"Returns",
"true",
"if",
"the",
"target",
"allows",
"unaligned",
"memory",
"accesses",
"of",
"the",
"specified",
"type",
"."
] | [
"Mips",
"Mips",
"MVT::SimpleValueType",
"MVT::i64",
"MVT::i32"
] | MipsSEISelLowering32 | allowsMisalignedMemoryAccesses | Mips | CPU | LLVM | 2,041 | 91 | 1 | [] |
[
"<s>",
"SDValue",
"X86TargetLowering",
"::",
"SimplifyMultipleUseDemandedBitsForTargetNode",
"(",
"SDValue",
"Op",
",",
"const",
"APInt",
"&",
"DemandedBits",
",",
"const",
"APInt",
"&",
"DemandedElts",
",",
"SelectionDAG",
"&",
"DAG",
",",
"unsigned",
"Depth",
")",... | [
"More",
"limited",
"version",
"of",
"SimplifyDemandedBits",
"that",
"can",
"be",
"used",
"to",
"``",
"look",
"through",
"''",
"ops",
"that",
"do",
"n't",
"contribute",
"to",
"the",
"DemandedBits/DemandedElts",
"-",
"bitwise",
"ops",
"etc",
"."
] | [
"X86",
"X86",
"X86ISD::PINSRB",
"X86ISD::PINSRW",
"0",
"2",
"X86ISD::PCMPGT",
"ISD::isBuildVectorAllZeros",
"0",
"1",
"16",
"2",
"0",
"0",
"0",
"0",
"1",
"\"Multiple identity shuffles detected\"",
"0"
] | X86ISelLowering130 | SimplifyMultipleUseDemandedBitsForTargetNode | X86 | CPU | LLVM | 2,042 | 489 | 1 | [] |
[
"<s>",
"static",
"rtx",
"warp_prop_gen",
"(",
"rtx",
"reg",
",",
"propagate_mask",
"pm",
",",
"unsigned",
"ARG_UNUSED",
"(",
"count",
")",
",",
"void",
"*",
"ARG_UNUSED",
"(",
"data",
")",
",",
"bool",
"ARG_UNUSED",
"(",
"vector",
")",
")",
"{",
"if",
... | [
"Worker",
"for",
"nvptx_warp_propagate",
"."
] | [
"nvptx",
"0"
] | nvptx | warp_prop_gen | nvptx | GPU | GCC | 2,043 | 49 | 1 | [] |
[
"<s>",
"MipsSubtarget",
"&",
"MipsSubtarget",
"::",
"initializeSubtargetDependencies",
"(",
"StringRef",
"CPU",
",",
"StringRef",
"FS",
",",
"const",
"TargetMachine",
"&",
"TM",
")",
"{",
"std",
"::",
"string",
"CPUName",
"=",
"MIPS_MC",
"::",
"selectMipsCPU",
"... | [
"initializeSubtargetDependencies",
"-",
"Initializes",
"using",
"a",
"CPU",
",",
"a",
"TuneCPU",
",",
"and",
"feature",
"string",
"so",
"that",
"we",
"can",
"use",
"initializer",
"lists",
"for",
"subtarget",
"initialization",
"."
] | [
"Mips",
"Mips",
"Mips",
"MIPS_MC::selectMipsCPU",
"Mips",
"Mips",
"16",
"\"Unknown ABI for stack alignment!\"",
"8"
] | MipsSubtarget14 | initializeSubtargetDependencies | Mips | CPU | LLVM | 2,044 | 105 | 1 | [] |
[
"<s>",
"static",
"bool",
"r10k_simplified_address_p",
"(",
"rtx",
"x",
")",
"{",
"if",
"(",
"GET_CODE",
"(",
"x",
")",
"==",
"PLUS",
"&&",
"CONST_INT_P",
"(",
"XEXP",
"(",
"x",
",",
"1",
")",
")",
")",
"x",
"=",
"XEXP",
"(",
"x",
",",
"0",
")",
... | [
"Return",
"true",
"if",
"it",
"is",
"worth",
"r10k_simplify_address",
"'s",
"while",
"replacing",
"an",
"address",
"with",
"X",
".",
"We",
"are",
"looking",
"for",
"constants",
",",
"and",
"for",
"addresses",
"at",
"a",
"known",
"offset",
"from",
"the",
"i... | [
"mips",
"1",
"0"
] | mips | r10k_simplified_address_p | mips | CPU | GCC | 2,045 | 47 | 1 | [] |
[
"<s>",
"const",
"char",
"*",
"MipsTargetLowering",
"::",
"getTargetNodeName",
"(",
"unsigned",
"Opcode",
")",
"const",
"{",
"switch",
"(",
"Opcode",
")",
"{",
"case",
"MipsISD",
"::",
"JmpLink",
":",
"return",
"\"MipsISD::JmpLink\"",
";",
"case",
"MipsISD",
":... | [
"getTargetNodeName",
"-",
"This",
"method",
"returns",
"the",
"name",
"of",
"a",
"target",
"specific"
] | [
"Mips",
"Mips",
"MipsISD::JmpLink",
"\"MipsISD::JmpLink\"",
"MipsISD::TailCall",
"\"MipsISD::TailCall\"",
"MipsISD::Hi",
"\"MipsISD::Hi\"",
"MipsISD::Lo",
"\"MipsISD::Lo\"",
"MipsISD::GPRel",
"\"MipsISD::GPRel\"",
"MipsISD::ThreadPointer",
"\"MipsISD::ThreadPointer\"",
"MipsISD::Ret",
... | MipsISelLowering126 | getTargetNodeName | Mips | CPU | LLVM | 2,046 | 400 | 1 | [] |
[
"<s>",
"void",
"sh_set_return_address",
"(",
"rtx",
"ra",
",",
"rtx",
"tmp",
")",
"{",
"HARD_REG_SET",
"live_regs_mask",
";",
"int",
"d",
"=",
"calc_live_regs",
"(",
"&",
"live_regs_mask",
")",
";",
"if",
"(",
"!",
"TEST_HARD_REG_BIT",
"(",
"live_regs_mask",
... | [
"Emit",
"code",
"to",
"change",
"the",
"current",
"function",
"'s",
"return",
"address",
"to",
"RA",
".",
"TEMP",
"is",
"available",
"as",
"a",
"scratch",
"register",
",",
"if",
"needed",
"."
] | [
"sh"
] | sh | sh_set_return_address | sh | CPU | GCC | 2,047 | 136 | 1 | [] |
[
"<s>",
"unsigned",
"ARMBaseInstrInfo",
"::",
"getInstrLatency",
"(",
"const",
"InstrItineraryData",
"*",
"ItinData",
",",
"const",
"MachineInstr",
"&",
"MI",
",",
"unsigned",
"*",
"PredCost",
")",
"const",
"{",
"if",
"(",
"MI",
".",
"isCopyLike",
"(",
")",
"... | [
"Compute",
"the",
"instruction",
"latency",
"of",
"a",
"given",
"instruction",
"."
] | [
"ARM",
"ARM",
"1",
"0",
"ARM::t2IT",
"ARM::CPSR",
"1",
"3",
"1",
"0",
"0",
"0"
] | ARMBaseInstrInfo1 | getInstrLatency | ARM | CPU | LLVM | 2,048 | 305 | 1 | [] |
[
"<s>",
"int",
"standard_80387_constant_p",
"(",
"rtx",
"x",
")",
"{",
"if",
"(",
"GET_CODE",
"(",
"x",
")",
"!=",
"CONST_DOUBLE",
"||",
"!",
"FLOAT_MODE_P",
"(",
"GET_MODE",
"(",
"x",
")",
")",
")",
"return",
"-",
"1",
";",
"if",
"(",
"x",
"==",
"C... | [
"Return",
"true",
"if",
"the",
"constant",
"is",
"something",
"that",
"can",
"be",
"loaded",
"with",
"a",
"special",
"instruction",
"."
] | [
"i386",
"1",
"1",
"2",
"0",
"5",
"3",
"0"
] | i3863 | standard_80387_constant_p | i386 | CPU | GCC | 2,049 | 136 | 1 | [] |
[
"<s>",
"StringRef",
"getPassName",
"(",
")",
"const",
"override",
"{",
"return",
"AARCH64_LOAD_STORE_OPT_NAME",
";",
"}",
"</s>"
] | [
"getPassName",
"-",
"Return",
"a",
"nice",
"clean",
"name",
"for",
"a",
"pass",
"."
] | [
"AArch64"
] | AArch64LoadStoreOptimizer (2)1 | getPassName | AArch64 | CPU | LLVM | 2,050 | 11 | 1 | [] |
[
"<s>",
"bool",
"PPCInstrInfo",
"::",
"shouldReduceRegisterPressure",
"(",
"MachineBasicBlock",
"*",
"MBB",
",",
"RegisterClassInfo",
"*",
"RegClassInfo",
")",
"const",
"{",
"if",
"(",
"!",
"EnableFMARegPressureReduction",
")",
"return",
"false",
";",
"if",
"(",
"!... | [
"Return",
"true",
"if",
"target",
"supports",
"reassociation",
"of",
"instructions",
"in",
"machine",
"combiner",
"pass",
"to",
"reduce",
"register",
"pressure",
"for",
"a",
"given",
"BB",
"."
] | [
"PowerPC",
"PPC",
"PPC",
"\"RPTracker sync error!\"",
"PPC::RegisterPressureSets",
"PPC::RegisterPressureSets"
] | PPCInstrInfo | shouldReduceRegisterPressure | PowerPC | CPU | LLVM | 2,051 | 309 | 1 | [] |
[
"<s>",
"bool",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"override",
"{",
"const",
"DLXSubtarget",
"&",
"Subtarget",
"=",
"MF",
".",
"getSubtarget",
"<",
"DLXSubtarget",
">",
"(",
")",
";",
"TII",
"=",
"Subtarget",
".",
"getInstrInfo",
... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"DLX",
"DLX",
"DLX"
] | DLXDelaySlotFiller | runOnMachineFunction | DLX | CPU | LLVM | 2,052 | 84 | 1 | [] |
[
"<s>",
"void",
"PPCTargetLowering",
"::",
"insertCopiesSplitCSR",
"(",
"MachineBasicBlock",
"*",
"Entry",
",",
"const",
"SmallVectorImpl",
"<",
"MachineBasicBlock",
"*",
">",
"&",
"Exits",
")",
"const",
"{",
"const",
"PPCRegisterInfo",
"*",
"TRI",
"=",
"Subtarget"... | [
"Insert",
"explicit",
"copies",
"in",
"entry",
"and",
"exit",
"blocks",
"."
] | [
"PowerPC",
"PPC",
"PPC",
"PPC::G8RCRegClass",
"PPC::G8RCRegClass",
"PPC::F8RCRegClass",
"PPC::F8RCRegClass",
"PPC::CRRCRegClass",
"PPC::CRRCRegClass",
"PPC::VRRCRegClass",
"PPC::VRRCRegClass",
"\"Unexpected register class in CSRsViaCopy!\"",
"\"Function should be nounwind in insertCopiesSpli... | PPCISelLowering101 | insertCopiesSplitCSR | PowerPC | CPU | LLVM | 2,053 | 311 | 1 | [] |
[
"<s>",
"const",
"uint32_t",
"*",
"AArch64RegisterInfo",
"::",
"getThisReturnPreservedMask",
"(",
"CallingConv",
"::",
"ID",
"CC",
")",
"const",
"{",
"assert",
"(",
"CC",
"!=",
"CallingConv",
"::",
"GHC",
"&&",
"\"should not be GHC calling convention.\"",
")",
";",
... | [
"getThisReturnPreservedMask",
"-",
"Returns",
"a",
"call",
"preserved",
"mask",
"specific",
"to",
"the",
"case",
"that",
"'returned",
"'",
"is",
"on",
"an",
"i32",
"first",
"argument",
"if",
"the",
"calling",
"convention",
"is",
"one",
"that",
"can",
"(",
"p... | [
"AArch64",
"AArch64",
"\"should not be GHC calling convention.\"",
"AArch64"
] | AArch64RegisterInfo63 | getThisReturnPreservedMask | AArch64 | CPU | LLVM | 2,054 | 29 | 1 | [] |
[
"<s>",
"scalar_chain",
"::",
"scalar_chain",
"(",
")",
"{",
"chain_id",
"=",
"++",
"max_id",
";",
"if",
"(",
"dump_file",
")",
"fprintf",
"(",
"dump_file",
",",
"\"Created a new instruction chain #%d\\n\"",
",",
"chain_id",
")",
";",
"bitmap_obstack_initialize",
"... | [
"Initialize",
"new",
"chain",
"."
] | [
"i386",
"\"Created a new instruction chain #%d\\n\""
] | i3865 | scalar_chain | i386 | CPU | GCC | 2,055 | 55 | 1 | [] |
[
"<s>",
"OperandMatchResultTy",
"SparcAsmParser",
"::",
"tryParseRegister",
"(",
"unsigned",
"&",
"RegNo",
",",
"SMLoc",
"&",
"StartLoc",
",",
"SMLoc",
"&",
"EndLoc",
")",
"{",
"const",
"AsmToken",
"&",
"Tok",
"=",
"Parser",
".",
"getTok",
"(",
")",
";",
"S... | [
"tryParseRegister",
"-",
"parse",
"one",
"register",
"if",
"possible"
] | [
"Sparc",
"Sparc",
"0",
"SparcOperand::rk_None"
] | SparcAsmParser23 | tryParseRegister | Sparc | CPU | LLVM | 2,056 | 114 | 1 | [] |
[
"<s>",
"void",
"XCorePassConfig",
"::",
"addIRPasses",
"(",
")",
"{",
"addPass",
"(",
"createAtomicExpandPass",
"(",
"&",
"getXCoreTargetMachine",
"(",
")",
")",
")",
";",
"TargetPassConfig",
"::",
"addIRPasses",
"(",
")",
";",
"}",
"</s>"
] | [
"Add",
"common",
"target",
"configurable",
"passes",
"that",
"perform",
"LLVM",
"IR",
"to",
"IR",
"transforms",
"following",
"machine",
"independent",
"optimization",
"."
] | [
"XCore",
"XCore",
"XCore"
] | XCoreTargetMachine15 | addIRPasses | XCore | MPU | LLVM | 2,057 | 25 | 1 | [] |
[
"<s>",
"void",
"WebAssemblyExceptionInfo",
"::",
"recalculate",
"(",
"MachineDominatorTree",
"&",
"MDT",
",",
"const",
"MachineDominanceFrontier",
"&",
"MDF",
")",
"{",
"SmallVector",
"<",
"WebAssemblyException",
"*",
",",
"8",
">",
"Exceptions",
";",
"for",
"(",
... | [
"Notify",
"DTU",
"that",
"the",
"entry",
"block",
"was",
"replaced",
"."
] | [
"WebAssembly",
"WebAssembly",
"WebAssembly",
"8",
"WebAssembly",
"WebAssembly"
] | WebAssemblyExceptionInfo1 | recalculate | WebAssembly | Virtual ISA | LLVM | 2,058 | 217 | 1 | [] |
[
"<s>",
"int",
"m32c_trampoline_alignment",
"(",
"void",
")",
"{",
"return",
"2",
";",
"}",
"</s>"
] | [
"Implements",
"TRAMPOLINE_ALIGNMENT",
"."
] | [
"m32c",
"2"
] | m32c | m32c_trampoline_alignment | m32c | MPU | GCC | 2,059 | 10 | 1 | [] |
[
"<s>",
"EVT",
"X86TargetLowering",
"::",
"getOptimalMemOpType",
"(",
"uint64_t",
"Size",
",",
"unsigned",
"DstAlign",
",",
"unsigned",
"SrcAlign",
",",
"bool",
"NonScalarIntSafe",
",",
"bool",
"MemcpyStrSrc",
",",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
... | [
"It",
"returns",
"EVT",
":",
":Other",
"if",
"the",
"type",
"should",
"be",
"determined",
"using",
"generic",
"target-independent",
"logic",
"."
] | [
"X86",
"X86",
"16",
"0",
"16",
"0",
"16",
"16",
"MVT::v4i32",
"MVT::v4f32",
"8",
"8",
"MVT::f64",
"8",
"MVT::i64",
"MVT::i32"
] | X86ISelLowering73 | getOptimalMemOpType | X86 | CPU | LLVM | 2,060 | 186 | 1 | [] |
[
"<s>",
"RCPair",
"ARMTargetLowering",
"::",
"getRegForInlineAsmConstraint",
"(",
"const",
"std",
"::",
"string",
"&",
"Constraint",
",",
"MVT",
"VT",
")",
"const",
"{",
"if",
"(",
"Constraint",
".",
"size",
"(",
")",
"==",
"1",
")",
"{",
"switch",
"(",
"... | [
"Given",
"a",
"physical",
"register",
"constraint",
"(",
"e.g",
"."
] | [
"ARM",
"ARM",
"1",
"0",
"0U",
"ARM::tGPRRegClass",
"0U",
"ARM::GPRRegClass",
"0U",
"ARM::hGPRRegClass",
"0U",
"ARM::tGPRRegClass",
"0U",
"ARM::GPRRegClass",
"MVT::Other",
"MVT::f32",
"0U",
"ARM::SPRRegClass",
"64",
"0U",
"ARM::DPRRegClass",
"128",
"0U",
"ARM::QPRRegClas... | ARMISelLowering (2)3 | getRegForInlineAsmConstraint | ARM | CPU | LLVM | 2,061 | 345 | 1 | [] |
[
"<s>",
"const",
"MCExpr",
"*",
"X86ELFTargetObjectFile",
"::",
"getDebugThreadLocalSymbol",
"(",
"const",
"MCSymbol",
"*",
"Sym",
")",
"const",
"{",
"return",
"MCSymbolRefExpr",
"::",
"create",
"(",
"Sym",
",",
"MCSymbolRefExpr",
"::",
"VK_DTPOFF",
",",
"getContex... | [
"Describe",
"a",
"TLS",
"variable",
"address",
"within",
"debug",
"info",
"."
] | [
"X86",
"X86"
] | X86TargetObjectFile16 | getDebugThreadLocalSymbol | X86 | CPU | LLVM | 2,062 | 31 | 1 | [] |
[
"<s>",
"static",
"section",
"*",
"alpha_elf_select_rtx_section",
"(",
"machine_mode",
"mode",
",",
"rtx",
"x",
",",
"unsigned",
"HOST_WIDE_INT",
"align",
")",
"{",
"if",
"(",
"TARGET_SMALL_DATA",
"&&",
"GET_MODE_SIZE",
"(",
"mode",
")",
"<=",
"g_switch_value",
"... | [
"Switch",
"to",
"the",
"section",
"to",
"which",
"we",
"should",
"output",
"X",
".",
"The",
"only",
"thing",
"special",
"we",
"do",
"here",
"is",
"to",
"honor",
"small",
"data",
"."
] | [
"alpha"
] | alpha | alpha_elf_select_rtx_section | alpha | MPU | GCC | 2,063 | 42 | 1 | [] |
[
"<s>",
"static",
"rtx",
"aarch64_strip_extend",
"(",
"rtx",
"x",
")",
"{",
"rtx",
"op",
"=",
"x",
";",
"if",
"(",
"(",
"GET_CODE",
"(",
"op",
")",
"==",
"ZERO_EXTRACT",
"||",
"GET_CODE",
"(",
"op",
")",
"==",
"SIGN_EXTRACT",
")",
"&&",
"XEXP",
"(",
... | [
"Helper",
"function",
"for",
"rtx",
"cost",
"calculation",
".",
"Strip",
"an",
"extend",
"expression",
"from",
"X",
".",
"Returns",
"the",
"inner",
"operand",
"if",
"successful",
",",
"or",
"the",
"original",
"expression",
"on",
"failure",
".",
"We",
"deal",... | [
"aarch64",
"2",
"0",
"0",
"1",
"1",
"0",
"0",
"0",
"0",
"1",
"1",
"0",
"1",
"1",
"0",
"0",
"0",
"1",
"1",
"4",
"0",
"0"
] | aarch642 | aarch64_strip_extend | aarch64 | CPU | GCC | 2,064 | 268 | 1 | [] |
[
"<s>",
"static",
"rtx",
"rs6000_emit_stack_reset",
"(",
"rs6000_stack_t",
"*",
"info",
",",
"rtx",
"frame_reg_rtx",
",",
"HOST_WIDE_INT",
"frame_off",
",",
"unsigned",
"updt_regno",
")",
"{",
"if",
"(",
"frame_off",
"==",
"0",
"&&",
"REGNO",
"(",
"frame_reg_rtx"... | [
"Emit",
"a",
"sequence",
"of",
"insns",
",",
"including",
"a",
"stack",
"tie",
"if",
"needed",
",",
"for",
"resetting",
"the",
"stack",
"pointer",
".",
"If",
"UPDT_REGNO",
"is",
"not",
"1",
",",
"then",
"do",
"n't",
"reset",
"the",
"stack",
"pointer",
... | [
"rs6000",
"0",
"0",
"32",
"0"
] | rs60006 | rs6000_emit_stack_reset | rs6000 | CPU | GCC | 2,065 | 117 | 1 | [] |
[
"<s>",
"static",
"void",
"recombine_lvx_stvx_patterns",
"(",
"function",
"*",
"fun",
")",
"{",
"int",
"i",
";",
"basic_block",
"bb",
";",
"rtx_insn",
"*",
"insn",
";",
"int",
"num_insns",
"=",
"get_max_uid",
"(",
")",
";",
"del_info",
"*",
"to_delete",
"="... | [
"Look",
"for",
"patterns",
"created",
"from",
"builtin",
"lvx",
"and",
"stvx",
"calls",
",",
"and",
"canonicalize",
"them",
"to",
"be",
"properly",
"recognized",
"as",
"such",
"."
] | [
"powerpcspe",
"0",
"0"
] | powerpcspe | recombine_lvx_stvx_patterns | powerpcspe | CPU | GCC | 2,066 | 236 | 1 | [] |
[
"<s>",
"EVT",
"PPCTargetLowering",
"::",
"getOptimalMemOpType",
"(",
"uint64_t",
"Size",
",",
"unsigned",
"Align",
",",
"bool",
"isSrcConst",
",",
"bool",
"isSrcStr",
",",
"SelectionDAG",
"&",
"DAG",
")",
"const",
"{",
"if",
"(",
"this",
"->",
"PPCSubTarget",
... | [
"It",
"returns",
"EVT",
":",
":Other",
"if",
"the",
"type",
"should",
"be",
"determined",
"using",
"generic",
"target-independent",
"logic",
"."
] | [
"PowerPC",
"PPC",
"PPC",
"PPC",
"MVT::i64",
"MVT::i32"
] | PPCISelLowering107 | getOptimalMemOpType | PowerPC | CPU | LLVM | 2,067 | 49 | 1 | [] |
[
"<s>",
"static",
"bool",
"is_store_insn",
"(",
"rtx",
"insn",
",",
"rtx",
"*",
"str_mem",
")",
"{",
"if",
"(",
"!",
"insn",
"||",
"!",
"INSN_P",
"(",
"insn",
")",
")",
"return",
"false",
";",
"return",
"is_store_insn1",
"(",
"PATTERN",
"(",
"insn",
"... | [
"Determine",
"if",
"INSN",
"stores",
"to",
"memory",
"."
] | [
"powerpcspe"
] | powerpcspe | is_store_insn | powerpcspe | CPU | GCC | 2,068 | 38 | 1 | [] |
[
"<s>",
"static",
"unsigned",
"int",
"m68k_hard_regno_nregs",
"(",
"unsigned",
"int",
"regno",
",",
"machine_mode",
"mode",
")",
"{",
"if",
"(",
"regno",
">=",
"16",
")",
"return",
"GET_MODE_NUNITS",
"(",
"mode",
")",
";",
"return",
"CEIL",
"(",
"GET_MODE_SIZ... | [
"Implement",
"TARGET_HARD_REGNO_NREGS",
".",
"On",
"the",
"m68k",
",",
"ordinary",
"registers",
"hold",
"32",
"bits",
"worth",
";",
"for",
"the",
"68881",
"registers",
",",
"a",
"single",
"register",
"is",
"always",
"enough",
"for",
"anything",
"that",
"can",
... | [
"m68k",
"16"
] | m68k | m68k_hard_regno_nregs | m68k | MPU | GCC | 2,069 | 37 | 1 | [] |
[
"<s>",
"static",
"machine_mode",
"aarch64_simd_container_mode",
"(",
"machine_mode",
"mode",
",",
"unsigned",
"width",
")",
"{",
"gcc_assert",
"(",
"width",
"==",
"64",
"||",
"width",
"==",
"128",
")",
";",
"if",
"(",
"TARGET_SIMD",
")",
"{",
"if",
"(",
"w... | [
"Return",
"appropriate",
"SIMD",
"container",
"for",
"MODE",
"within",
"a",
"vector",
"of",
"WIDTH",
"bits",
"."
] | [
"aarch64",
"64",
"128",
"128"
] | aarch644 | aarch64_simd_container_mode | aarch64 | CPU | GCC | 2,070 | 131 | 1 | [] |
[
"<s>",
"const",
"char",
"*",
"AMDGPUPALMetadata",
"::",
"getVendor",
"(",
")",
"const",
"{",
"return",
"isLegacy",
"(",
")",
"?",
"ElfNote",
"::",
"NoteNameV2",
":",
"ElfNote",
"::",
"NoteNameV3",
";",
"}",
"</s>"
] | [
"Get",
"the",
"parsed",
"vendor",
"type",
"of",
"this",
"triple",
"."
] | [
"AMDGPU",
"AMDGPU"
] | AMDGPUPALMetadata | getVendor | AMDGPU | GPU | LLVM | 2,071 | 24 | 1 | [] |
[
"<s>",
"static",
"bool",
"rs6000_secondary_reload_simple_move",
"(",
"enum",
"rs6000_reg_type",
"to_type",
",",
"enum",
"rs6000_reg_type",
"from_type",
",",
"machine_mode",
"mode",
")",
"{",
"int",
"size",
"=",
"GET_MODE_SIZE",
"(",
"mode",
")",
";",
"if",
"(",
... | [
"Helper",
"function",
"for",
"rs6000_secondary_reload",
"to",
"return",
"true",
"if",
"a",
"move",
"to",
"a",
"different",
"register",
"classe",
"is",
"really",
"a",
"simple",
"move",
"."
] | [
"rs6000",
"8",
"16",
"8",
"4",
"8"
] | rs60007 | rs6000_secondary_reload_simple_move | rs6000 | CPU | GCC | 2,072 | 205 | 1 | [] |
[
"<s>",
"static",
"unsigned",
"HOST_WIDE_INT",
"mips_asan_shadow_offset",
"(",
"void",
")",
"{",
"return",
"SUBTARGET_SHADOW_OFFSET",
";",
"}",
"</s>"
] | [
"Implement",
"the",
"TARGET_ASAN_SHADOW_OFFSET",
"hook",
"."
] | [
"mips"
] | mips | mips_asan_shadow_offset | mips | CPU | GCC | 2,073 | 12 | 1 | [] |
[
"<s>",
"void",
"AArch64PassConfig",
"::",
"addPreEmitPass",
"(",
")",
"{",
"if",
"(",
"TM",
"->",
"getOptLevel",
"(",
")",
">=",
"CodeGenOpt",
"::",
"Aggressive",
"&&",
"EnableLoadStoreOpt",
")",
"addPass",
"(",
"createAArch64LoadStoreOptimizationPass",
"(",
")",
... | [
"This",
"pass",
"may",
"be",
"implemented",
"by",
"targets",
"that",
"want",
"to",
"run",
"passes",
"immediately",
"before",
"machine",
"code",
"is",
"emitted",
"."
] | [
"AArch64",
"AArch64",
"AArch64",
"AArch64",
"AArch64",
"AArch64",
"AArch64",
"AArch64"
] | AArch64TargetMachine47 | addPreEmitPass | AArch64 | CPU | LLVM | 2,074 | 148 | 1 | [] |
[
"<s>",
"bool",
"HexagonInstrInfo",
"::",
"isPredicated",
"(",
"unsigned",
"Opcode",
")",
"const",
"{",
"const",
"uint64_t",
"F",
"=",
"get",
"(",
"Opcode",
")",
".",
"TSFlags",
";",
"return",
"(",
"(",
"F",
">>",
"HexagonII",
"::",
"PredicatedPos",
")",
... | [
"Returns",
"true",
"if",
"the",
"instruction",
"is",
"already",
"predicated",
"."
] | [
"Hexagon",
"Hexagon",
"HexagonII::PredicatedPos",
"HexagonII::PredicatedMask"
] | HexagonInstrInfo | isPredicated | Hexagon | DSP | LLVM | 2,075 | 37 | 1 | [] |
[
"<s>",
"static",
"rtx",
"nds32_expand_scw_builtin",
"(",
"enum",
"insn_code",
"icode",
",",
"tree",
"exp",
",",
"rtx",
"target",
")",
"{",
"rtx",
"pat",
";",
"rtx",
"op0",
"=",
"nds32_read_argument",
"(",
"exp",
",",
"0",
")",
";",
"rtx",
"op1",
"=",
"... | [
"Expand",
"scw",
"builtins",
"."
] | [
"nds32",
"0",
"1",
"1",
"1",
"2",
"0"
] | nds32-intrinsic | nds32_expand_scw_builtin | nds32 | CPU | GCC | 2,076 | 137 | 1 | [] |
[
"<s>",
"Optional",
"<",
"MCDisassembler",
"::",
"DecodeStatus",
">",
"MOSDisassembler",
"::",
"onSymbolStart",
"(",
"SymbolInfoTy",
"&",
"Symbol",
",",
"uint64_t",
"&",
"Size",
",",
"ArrayRef",
"<",
"uint8_t",
">",
"Bytes",
",",
"uint64_t",
"Address",
",",
"ra... | [
"Used",
"to",
"perform",
"separate",
"target",
"specific",
"disassembly",
"for",
"a",
"particular",
"symbol",
"."
] | [
"MOS",
"MOS",
"\"$ml\"",
"\"$mh\"",
"\"$xl\"",
"\"$xh\""
] | MOSDisassembler | onSymbolStart | MOS | MPU | LLVM | 2,077 | 106 | 1 | [] |
[
"<s>",
"machine_mode",
"mmix_promote_function_mode",
"(",
"const_tree",
"type",
"ATTRIBUTE_UNUSED",
",",
"machine_mode",
"mode",
",",
"int",
"*",
"punsignedp",
"ATTRIBUTE_UNUSED",
",",
"const_tree",
"fntype",
"ATTRIBUTE_UNUSED",
",",
"int",
"for_return",
")",
"{",
"if... | [
"Worker",
"function",
"for",
"TARGET_PROMOTE_FUNCTION_MODE",
"."
] | [
"mmix",
"1",
"8"
] | mmix | mmix_promote_function_mode | mmix | CPU | GCC | 2,078 | 56 | 1 | [] |
[
"<s>",
"bool",
"MipsCodeEmitter",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"{",
"MipsTargetMachine",
"&",
"Target",
"=",
"static_cast",
"<",
"MipsTargetMachine",
"&",
">",
"(",
"const_cast",
"<",
"TargetMachine",
"&",
">",
"(",
"MF",... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"Mips",
"Mips",
"Mips",
"Mips",
"Mips",
"\"JITTing function '\"",
"\"'\\n\""
] | MipsCodeEmitter11 | runOnMachineFunction | Mips | CPU | LLVM | 2,079 | 250 | 1 | [] |
[
"<s>",
"virtual",
"MachineInstr",
"*",
"foldMemoryOperandImpl",
"(",
"MachineFunction",
"&",
"MF",
",",
"MachineInstr",
"*",
"MI",
",",
"const",
"SmallVectorImpl",
"<",
"unsigned",
">",
"&",
"Ops",
",",
"MachineInstr",
"*",
"LoadMI",
")",
"const",
"{",
"return... | [
"foldMemoryOperand",
"-",
"Same",
"as",
"the",
"previous",
"version",
"except",
"it",
"allows",
"folding",
"of",
"any",
"load",
"and",
"store",
"from",
"/",
"to",
"any",
"address",
",",
"not",
"just",
"from",
"a",
"specific",
"stack",
"slot",
"."
] | [
"Hexagon",
"0"
] | HexagonInstrInfo (2) | foldMemoryOperandImpl | Hexagon | DSP | LLVM | 2,080 | 31 | 1 | [] |
[
"<s>",
"bool",
"R600InstrInfo",
"::",
"isVector",
"(",
"const",
"MachineInstr",
"&",
"MI",
")",
"const",
"{",
"return",
"get",
"(",
"MI",
".",
"getOpcode",
"(",
")",
")",
".",
"TSFlags",
"&",
"R600_InstFlag",
"::",
"VECTOR",
";",
"}",
"</s>"
] | [
"Vector",
"instructions",
"are",
"instructions",
"that",
"must",
"fill",
"all",
"instruction",
"slots",
"within",
"an",
"instruction",
"group",
"."
] | [
"AMDGPU",
"R600",
"R600_InstFlag::VECTOR"
] | R600InstrInfo (2) | isVector | AMDGPU | GPU | LLVM | 2,081 | 29 | 1 | [] |
[
"<s>",
"static",
"void",
"mips_legitimize_const_move",
"(",
"enum",
"machine_mode",
"mode",
",",
"rtx",
"dest",
",",
"rtx",
"src",
")",
"{",
"rtx",
"base",
";",
"HOST_WIDE_INT",
"offset",
";",
"enum",
"mips_symbol_type",
"symbol_type",
";",
"if",
"(",
"GET_COD... | [
"Subroutine",
"of",
"mips_legitimize_move",
".",
"Move",
"constant",
"SRC",
"into",
"register",
"DEST",
"given",
"that",
"SRC",
"satisfies",
"immediate_operand",
"but",
"does",
"n't",
"satisfy",
"move_operand",
"."
] | [
"mips",
"0",
"0",
"0"
] | mips3 | mips_legitimize_const_move | mips | CPU | GCC | 2,082 | 209 | 1 | [] |
[
"<s>",
"void",
"cris_asm_output_case_end",
"(",
"FILE",
"*",
"stream",
",",
"int",
"num",
",",
"rtx",
"table",
")",
"{",
"rtx",
"whole_jump_insn",
"=",
"prev_nonnote_nondebug_insn",
"(",
"table",
")",
";",
"gcc_assert",
"(",
"whole_jump_insn",
"!=",
"NULL_RTX",
... | [
"The",
"ASM_OUTPUT_CASE_END",
"worker",
"."
] | [
"cris",
"0",
"0",
"\"\\t.word %LL%d-.%s\\n\"",
"0",
"0",
"1",
"2",
"0",
"\"; default\"",
"\"\"",
"\"\\t.word %LL%d-%LL%d%s\\n\"",
"0",
"0",
"1",
"2",
"0",
"\"; default\"",
"\"\""
] | cris4 | cris_asm_output_case_end | cris | MPU | GCC | 2,083 | 202 | 1 | [] |
[
"<s>",
"void",
"AArch64PostLegalizerCombiner",
"::",
"getAnalysisUsage",
"(",
"AnalysisUsage",
"&",
"AU",
")",
"const",
"{",
"AU",
".",
"addRequired",
"<",
"TargetPassConfig",
">",
"(",
")",
";",
"AU",
".",
"setPreservesCFG",
"(",
")",
";",
"getSelectionDAGFallb... | [
"getAnalysisUsage",
"-",
"Subclasses",
"that",
"override",
"getAnalysisUsage",
"must",
"call",
"this",
"."
] | [
"AArch64",
"AArch64"
] | AArch64PostLegalizerCombiner | getAnalysisUsage | AArch64 | CPU | LLVM | 2,084 | 82 | 1 | [] |
[
"<s>",
"bool",
"ARMBaseTargetMachine",
"::",
"addPreEmitPass",
"(",
"PassManagerBase",
"&",
"PM",
",",
"CodeGenOpt",
"::",
"Level",
"OptLevel",
")",
"{",
"if",
"(",
"OptLevel",
"!=",
"CodeGenOpt",
"::",
"None",
")",
"{",
"if",
"(",
"!",
"Subtarget",
".",
"... | [
"This",
"pass",
"may",
"be",
"implemented",
"by",
"targets",
"that",
"want",
"to",
"run",
"passes",
"immediately",
"before",
"machine",
"code",
"is",
"emitted",
"."
] | [
"ARM",
"ARM",
"ARM"
] | ARMTargetMachine91 | addPreEmitPass | ARM | CPU | LLVM | 2,085 | 101 | 1 | [] |
[
"<s>",
"static",
"bool",
"isConstant",
"(",
"const",
"MachineInstr",
"&",
"MI",
")",
"{",
"return",
"MI",
".",
"getOpcode",
"(",
")",
"==",
"TargetOpcode",
"::",
"G_CONSTANT",
";",
"}",
"</s>"
] | [
"Returns",
"true",
"if",
"we",
"know",
"the",
"value",
"of",
"all",
"bits",
"."
] | [
"AMDGPU"
] | AMDGPUInstructionSelector | isConstant | AMDGPU | GPU | LLVM | 2,086 | 22 | 1 | [] |
[
"<s>",
"static",
"void",
"nios2_emit_stack_limit_check",
"(",
"int",
"size",
")",
"{",
"rtx",
"sum",
"=",
"NULL_RTX",
";",
"if",
"(",
"GET_CODE",
"(",
"stack_limit_rtx",
")",
"==",
"SYMBOL_REF",
")",
"{",
"sum",
"=",
"gen_rtx_REG",
"(",
"Pmode",
",",
"TEMP... | [
"Emit",
"conditional",
"trap",
"for",
"checking",
"stack",
"limit",
"."
] | [
"nios2",
"\"Unknown form for stack limit expression\"",
"0",
"3"
] | nios2 | nios2_emit_stack_limit_check | nios2 | MPU | GCC | 2,087 | 164 | 1 | [] |
[
"<s>",
"static",
"unsigned",
"int",
"spu_hard_regno_nregs",
"(",
"unsigned",
"int",
",",
"machine_mode",
"mode",
")",
"{",
"return",
"CEIL",
"(",
"GET_MODE_BITSIZE",
"(",
"mode",
")",
",",
"MAX_FIXED_MODE_SIZE",
")",
";",
"}",
"</s>"
] | [
"Implement",
"TARGET_HARD_REGNO_NREGS",
"."
] | [
"spu"
] | spu3 | spu_hard_regno_nregs | spu | MPU | GCC | 2,088 | 24 | 1 | [] |
[
"<s>",
"StringRef",
"getPassName",
"(",
")",
"const",
"override",
"{",
"return",
"OPTADDRMODE_DESC",
";",
"}",
"</s>"
] | [
"getPassName",
"-",
"Return",
"a",
"nice",
"clean",
"name",
"for",
"a",
"pass",
"."
] | [
"ARC"
] | ARCOptAddrMode | getPassName | ARC | MPU | LLVM | 2,089 | 11 | 1 | [] |
[
"<s>",
"BitVector",
"MipsRegisterInfo",
"::",
"getReservedRegs",
"(",
"const",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"static",
"const",
"uint16_t",
"ReservedCPURegs",
"[",
"]",
"=",
"{",
"Mips",
"::",
"ZERO",
",",
"Mips",
"::",
"AT",
",",
"Mips",
... | [
"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",
"... | [
"Mips",
"Mips",
"Mips::ZERO",
"Mips::AT",
"Mips::K0",
"Mips::K1",
"Mips::SP",
"Mips::FP",
"Mips::RA",
"Mips::ZERO_64",
"Mips::AT_64",
"Mips::K0_64",
"Mips::K1_64",
"Mips::SP_64",
"Mips::FP_64",
"Mips::RA_64",
"0",
"Mips",
"0",
"Mips::AFGR64RegisterClass",
"Mips::AFGR64Registe... | MipsRegisterInfo7 | getReservedRegs | Mips | CPU | LLVM | 2,090 | 326 | 1 | [] |
[
"<s>",
"static",
"bool",
"mips_can_eliminate",
"(",
"const",
"int",
"from",
"ATTRIBUTE_UNUSED",
",",
"const",
"int",
"to",
")",
"{",
"return",
"(",
"to",
"==",
"HARD_FRAME_POINTER_REGNUM",
"||",
"to",
"==",
"STACK_POINTER_REGNUM",
")",
";",
"}",
"</s>"
] | [
"Make",
"sure",
"that",
"we",
"'re",
"not",
"trying",
"to",
"eliminate",
"to",
"the",
"wrong",
"hard",
"frame",
"pointer",
"."
] | [
"mips"
] | mips | mips_can_eliminate | mips | CPU | GCC | 2,091 | 26 | 1 | [] |
[
"<s>",
"void",
"ARMTTIImpl",
"::",
"getUnrollingPreferences",
"(",
"Loop",
"*",
"L",
",",
"ScalarEvolution",
"&",
"SE",
",",
"TTI",
"::",
"UnrollingPreferences",
"&",
"UP",
")",
"{",
"if",
"(",
"!",
"ST",
"->",
"isMClass",
"(",
")",
")",
"return",
"Basic... | [
"Get",
"target-customized",
"preferences",
"for",
"the",
"generic",
"loop",
"unrolling",
"transformation",
"."
] | [
"ARM",
"ARM",
"0",
"0",
"4",
"\"Loop has:\\n\"",
"\"Blocks: \"",
"\"\\n\"",
"\"Exit blocks: \"",
"\"\\n\"",
"2",
"4",
"0",
"4",
"\"Cost of loop: \"",
"\"\\n\"",
"4",
"60",
"12"
] | ARMTargetTransformInfo53 | getUnrollingPreferences | ARM | CPU | LLVM | 2,092 | 336 | 1 | [] |
[
"<s>",
"int",
"direct_return",
"(",
"void",
")",
"{",
"if",
"(",
"reload_completed",
")",
"{",
"if",
"(",
"cfun",
"->",
"static_chain_decl",
"==",
"0",
"&&",
"(",
"spu_saved_regs_size",
"(",
")",
"+",
"get_frame_size",
"(",
")",
"+",
"crtl",
"->",
"outgo... | [
"Return",
"non-zero",
"if",
"this",
"function",
"is",
"known",
"to",
"have",
"a",
"null",
"epilogue",
"."
] | [
"spu",
"0",
"0",
"1",
"0"
] | spu | direct_return | spu | MPU | GCC | 2,093 | 53 | 1 | [] |
[
"<s>",
"void",
"SystemZMCAsmBackend",
"::",
"applyFixup",
"(",
"const",
"MCAssembler",
"&",
"Asm",
",",
"const",
"MCFixup",
"&",
"Fixup",
",",
"const",
"MCValue",
"&",
"Target",
",",
"MutableArrayRef",
"<",
"char",
">",
"Data",
",",
"uint64_t",
"Value",
",",... | [
"Apply",
"the",
"Value",
"for",
"given",
"Fixup",
"into",
"the",
"provided",
"data",
"fragment",
",",
"at",
"the",
"offset",
"specified",
"by",
"the",
"fixup",
"and",
"following",
"the",
"fixup",
"kind",
"as",
"appropriate",
"."
] | [
"SystemZ",
"SystemZ",
"7",
"8",
"\"Invalid fixup offset!\"",
"64",
"1",
"1",
"8",
"8",
"0",
"8"
] | SystemZMCAsmBackend22 | applyFixup | SystemZ | CPU | LLVM | 2,094 | 175 | 1 | [] |
[
"<s>",
"void",
"MipsTargetMachine",
"::",
"resetSubtarget",
"(",
"MachineFunction",
"*",
"MF",
")",
"{",
"LLVM_DEBUG",
"(",
"dbgs",
"(",
")",
"<<",
"\"resetSubtarget\\n\"",
")",
";",
"Subtarget",
"=",
"const_cast",
"<",
"MipsSubtarget",
"*",
">",
"(",
"getSubt... | [
"Reset",
"the",
"subtarget",
"for",
"the",
"Mips",
"target",
"."
] | [
"Mips",
"Mips",
"\"resetSubtarget\\n\"",
"Mips"
] | MipsTargetMachine16 | resetSubtarget | Mips | CPU | LLVM | 2,095 | 45 | 1 | [] |
[
"<s>",
"bool",
"MipsPassConfig",
"::",
"addPreEmitPass",
"(",
")",
"{",
"PM",
"->",
"add",
"(",
"createMipsDelaySlotFillerPass",
"(",
"getMipsTargetMachine",
"(",
")",
")",
")",
";",
"return",
"true",
";",
"}",
"</s>"
] | [
"This",
"pass",
"may",
"be",
"implemented",
"by",
"targets",
"that",
"want",
"to",
"run",
"passes",
"immediately",
"before",
"machine",
"code",
"is",
"emitted",
"."
] | [
"Mips",
"Mips",
"Mips",
"Mips"
] | MipsTargetMachine59 | addPreEmitPass | Mips | CPU | LLVM | 2,096 | 23 | 1 | [] |
[
"<s>",
"SDValue",
"J2TargetLowering",
"::",
"LowerReturn",
"(",
"SDValue",
"Chain",
",",
"CallingConv",
"::",
"ID",
"CallConv",
",",
"bool",
"isVarArg",
",",
"const",
"SmallVectorImpl",
"<",
"ISD",
"::",
"OutputArg",
">",
"&",
"Outs",
",",
"const",
"SmallVecto... | [
"This",
"hook",
"must",
"be",
"implemented",
"to",
"lower",
"outgoing",
"return",
"values",
",",
"described",
"by",
"the",
"Outs",
"array",
",",
"into",
"the",
"specified",
"DAG",
"."
] | [
"J2",
"J2",
"ISD::OutputArg",
"\"Variable arguments not supported.\"",
"4",
"J2",
"4",
"0",
"\"Return in memory is not supported!\"",
"1",
"0",
"J2ISD::Ret",
"MVT::Other"
] | J2ISelLowering | LowerReturn | J2 | MPU | LLVM | 2,097 | 254 | 1 | [] |
[
"<s>",
"static",
"raw_ostream",
"&",
"printName",
"(",
"raw_ostream",
"&",
"OS",
",",
"StringRef",
"Name",
")",
"{",
"return",
"OS",
"<<",
"Name",
"<<",
"\" = \"",
";",
"}",
"</s>"
] | [
"Print",
"the",
"basic",
"block",
"'s",
"name",
"as",
":"
] | [
"AMDGPU",
"\" = \""
] | AMDKernelCodeTUtils10 | printName | AMDGPU | GPU | LLVM | 2,098 | 21 | 1 | [] |
[
"<s>",
"void",
"X86InsertPrefetch",
"::",
"getAnalysisUsage",
"(",
"AnalysisUsage",
"&",
"AU",
")",
"const",
"{",
"AU",
".",
"setPreservesAll",
"(",
")",
";",
"AU",
".",
"addRequired",
"<",
"MachineModuleInfoWrapperPass",
">",
"(",
")",
";",
"}",
"</s>"
] | [
"getAnalysisUsage",
"-",
"Subclasses",
"that",
"override",
"getAnalysisUsage",
"must",
"call",
"this",
"."
] | [
"X86",
"X86"
] | X86InsertPrefetch6 | getAnalysisUsage | X86 | CPU | LLVM | 2,099 | 27 | 1 | [] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.