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>",
"int",
"msp430_hard_regno_mode_ok",
"(",
"int",
"regno",
"ATTRIBUTE_UNUSED",
",",
"machine_mode",
"mode",
")",
"{",
"return",
"regno",
"<=",
"(",
"ARG_POINTER_REGNUM",
"-",
"msp430_hard_regno_nregs",
"(",
"regno",
",",
"mode",
")",
")",
";",
"}",
"</s>"
] | [
"Implements",
"HARD_REGNO_MODE_OK",
"."
] | [
"msp430"
] | msp4302 | msp430_hard_regno_mode_ok | msp430 | MPU | GCC | 28,400 | 26 | 1 | [] |
[
"<s>",
"static",
"unsigned",
"long",
"arm_compute_func_type",
"(",
"void",
")",
"{",
"unsigned",
"long",
"type",
"=",
"ARM_FT_UNKNOWN",
";",
"tree",
"a",
";",
"tree",
"attr",
";",
"gcc_assert",
"(",
"TREE_CODE",
"(",
"current_function_decl",
")",
"==",
"FUNCTI... | [
"Computes",
"the",
"type",
"of",
"the",
"current",
"function",
"."
] | [
"arm",
"0",
"\"naked\"",
"\"isr\"",
"\"interrupt\"",
"\"cmse_nonsecure_entry\""
] | arm | arm_compute_func_type | arm | CPU | GCC | 28,401 | 173 | 1 | [] |
[
"<s>",
"static",
"rtx_insn",
"*",
"visium_md_asm_adjust",
"(",
"vec",
"<",
"rtx",
">",
"&",
",",
"vec",
"<",
"rtx",
">",
"&",
",",
"vec",
"<",
"machine_mode",
">",
"&",
",",
"vec",
"<",
"const",
"char",
"*",
">",
"&",
",",
"vec",
"<",
"rtx",
">",... | [
"Prepend",
"to",
"CLOBBERS",
"hard",
"registers",
"that",
"are",
"automatically",
"clobbered",
"for",
"an",
"asm",
"We",
"do",
"this",
"for",
"the",
"FLAGS",
"to",
"maintain",
"source",
"compatibility",
"with",
"the",
"original",
"cc0-based",
"compiler",
"."
] | [
"visium"
] | visium1 | visium_md_asm_adjust | visium | Virtual ISA | GCC | 28,402 | 66 | 1 | [] |
[
"<s>",
"void",
"MipsAsmPrinter",
"::",
"emitStartOfAsmFile",
"(",
"Module",
"&",
"M",
")",
"{",
"MipsTargetStreamer",
"&",
"TS",
"=",
"getTargetStreamer",
"(",
")",
";",
"TS",
".",
"setPic",
"(",
"OutContext",
".",
"getObjectFileInfo",
"(",
")",
"->",
"isPos... | [
"This",
"virtual",
"method",
"can",
"be",
"overridden",
"by",
"targets",
"that",
"want",
"to",
"emit",
"something",
"at",
"the",
"start",
"of",
"their",
"file",
"."
] | [
"Mips",
"Mips",
"Mips",
"MIPS_MC::selectMipsCPU",
"Mips",
"Mips",
"Mips",
"Mips",
"\".mdebug.\"",
"0"
] | MipsAsmPrinter | emitStartOfAsmFile | Mips | CPU | LLVM | 28,403 | 294 | 1 | [] |
[
"<s>",
"ScheduleHazardRecognizer",
"*",
"ARMBaseInstrInfo",
"::",
"CreateTargetHazardRecognizer",
"(",
"const",
"TargetSubtargetInfo",
"*",
"STI",
",",
"const",
"ScheduleDAG",
"*",
"DAG",
")",
"const",
"{",
"if",
"(",
"usePreRAHazardRecognizer",
"(",
")",
")",
"{",
... | [
"Allocate",
"and",
"return",
"a",
"hazard",
"recognizer",
"to",
"use",
"for",
"this",
"target",
"when",
"scheduling",
"the",
"machine",
"instructions",
"before",
"register",
"allocation",
"."
] | [
"ARM",
"ARM",
"ARM",
"\"pre-RA-sched\""
] | ARMBaseInstrInfo (2)2 | CreateTargetHazardRecognizer | ARM | CPU | LLVM | 28,404 | 67 | 1 | [] |
[
"<s>",
"bool",
"X86AsmParser",
"::",
"ParseDirective",
"(",
"AsmToken",
"DirectiveID",
")",
"{",
"MCAsmParser",
"&",
"Parser",
"=",
"getParser",
"(",
")",
";",
"StringRef",
"IDVal",
"=",
"DirectiveID",
".",
"getIdentifier",
"(",
")",
";",
"if",
"(",
"IDVal",... | [
"ParseDirective",
"-",
"Parse",
"a",
"target",
"specific",
"assembler",
"directive",
"This",
"method",
"is",
"deprecated",
",",
"use",
"'parseDirective",
"'",
"instead",
"."
] | [
"X86",
"X86",
"\".code\"",
"\".att_syntax\"",
"\"prefix\"",
"\"noprefix\"",
"\"'.att_syntax noprefix' is not \"",
"\"supported: registers must have a \"",
"\"'%' prefix in .att_syntax\"",
"0",
"\".intel_syntax\"",
"1",
"\"noprefix\"",
"\"prefix\"",
"\"'.intel_syntax prefix' is not \"",
... | X86AsmParser (2)5 | ParseDirective | X86 | CPU | LLVM | 28,405 | 448 | 1 | [] |
[
"<s>",
"static",
"bool",
"rs6000_optab_supported_p",
"(",
"int",
"op",
",",
"machine_mode",
"mode1",
",",
"machine_mode",
",",
"optimization_type",
"opt_type",
")",
"{",
"switch",
"(",
"op",
")",
"{",
"case",
"rsqrt_optab",
":",
"return",
"(",
"opt_type",
"=="... | [
"Implement",
"the",
"TARGET_OPTAB_SUPPORTED_P",
"hook",
"."
] | [
"powerpcspe"
] | powerpcspe | rs6000_optab_supported_p | powerpcspe | CPU | GCC | 28,406 | 43 | 1 | [] |
[
"<s>",
"const",
"char",
"*",
"msp430_mcu_name",
"(",
"void",
")",
"{",
"if",
"(",
"target_mcu",
")",
"{",
"msp430_extract_mcu_data",
"(",
"target_mcu",
")",
";",
"unsigned",
"int",
"i",
";",
"unsigned",
"int",
"start_upper",
";",
"unsigned",
"int",
"end_uppe... | [
"Generate",
"a",
"C",
"preprocessor",
"symbol",
"based",
"upon",
"the",
"MCU",
"selected",
"by",
"the",
"user",
".",
"If",
"a",
"specific",
"MCU",
"has",
"not",
"been",
"selected",
"then",
"return",
"a",
"generic",
"symbol",
"instead",
"."
] | [
"msp430",
"64",
"\"msp430i\"",
"1",
"\"__MSP430i%s__\"",
"7",
"9",
"1",
"\"__%s__\"",
"2",
"2",
"\"__MSP430XGENERIC__\"",
"\"__MSP430GENERIC__\""
] | msp430 | msp430_mcu_name | msp430 | MPU | GCC | 28,407 | 140 | 1 | [] |
[
"<s>",
"static",
"tree",
"arc_handle_interrupt_attribute",
"(",
"tree",
"*",
",",
"tree",
"name",
",",
"tree",
"args",
",",
"int",
",",
"bool",
"*",
"no_add_attrs",
")",
"{",
"gcc_assert",
"(",
"args",
")",
";",
"tree",
"value",
"=",
"TREE_VALUE",
"(",
"... | [
"Handle",
"an",
"``",
"interrupt",
"''",
"attribute",
";",
"arguments",
"as",
"in",
"struct",
"attribute_spec.handler",
"."
] | [
"arc",
"\"argument of %qE attribute is not a string constant\"",
"\"ilink1\"",
"\"ilink2\"",
"\"argument of %qE attribute is not \\\"ilink1\\\" or \\\"ilink2\\\"\""
] | arc4 | arc_handle_interrupt_attribute | arc | MPU | GCC | 28,408 | 101 | 1 | [] |
[
"<s>",
"static",
"const",
"struct",
"tilepro_multiply_insn_seq",
"*",
"tilepro_find_multiply_insn_seq_for_constant",
"(",
"int",
"multiplier",
")",
"{",
"return",
"(",
"(",
"const",
"struct",
"tilepro_multiply_insn_seq",
"*",
")",
"bsearch",
"(",
"&",
"multiplier",
",... | [
"Returns",
"the",
"tilepro_multiply_insn_seq",
"for",
"multiplier",
",",
"or",
"NULL",
"if",
"none",
"exists",
"."
] | [
"tilepro",
"0"
] | tilepro | tilepro_find_multiply_insn_seq_for_constant | tilepro | VLIW | GCC | 28,409 | 39 | 1 | [] |
[
"<s>",
"StackOffset",
"CSKYFrameLowering",
"::",
"getFrameIndexReference",
"(",
"const",
"MachineFunction",
"&",
"MF",
",",
"int",
"FI",
",",
"Register",
"&",
"FrameReg",
")",
"const",
"{",
"const",
"CSKYMachineFunctionInfo",
"*",
"CFI",
"=",
"MF",
".",
"getInfo... | [
"getFrameIndexReference",
"-",
"This",
"method",
"should",
"return",
"the",
"base",
"register",
"and",
"offset",
"used",
"to",
"reference",
"a",
"frame",
"index",
"location",
"."
] | [
"CSKY",
"CSKY",
"CSKY",
"CSKY",
"0",
"1",
"0",
"1",
"CSKY::R14",
"CSKY::R14",
"CSKY::R14"
] | CSKYFrameLowering1 | getFrameIndexReference | CSKY | CPU | LLVM | 28,410 | 323 | 1 | [] |
[
"<s>",
"static",
"void",
"sparc32_initialize_trampoline",
"(",
"rtx",
"m_tramp",
",",
"rtx",
"fnaddr",
",",
"rtx",
"cxt",
")",
"{",
"emit_move_insn",
"(",
"adjust_address",
"(",
"m_tramp",
",",
"SImode",
",",
"0",
")",
",",
"expand_binop",
"(",
"SImode",
","... | [
"Emit",
"RTL",
"insns",
"to",
"initialize",
"the",
"variable",
"parts",
"of",
"a",
"trampoline",
".",
"FNADDR",
"is",
"an",
"RTX",
"for",
"the",
"address",
"of",
"the",
"function",
"'s",
"pure",
"code",
".",
"CXT",
"is",
"an",
"RTX",
"for",
"the",
"sta... | [
"sparc",
"0",
"10",
"0",
"1",
"0x03000000",
"1",
"4",
"10",
"0",
"1",
"0x05000000",
"1",
"8",
"0x3ff",
"0x81c06000",
"1",
"12",
"0x3ff",
"0x8410a000",
"1",
"0",
"8",
"\"__enable_execute_stack\"",
"0"
] | sparc | sparc32_initialize_trampoline | sparc | CPU | GCC | 28,411 | 310 | 1 | [] |
[
"<s>",
"void",
"MSP430FrameInfo",
"::",
"emitEpilogue",
"(",
"MachineFunction",
"&",
"MF",
",",
"MachineBasicBlock",
"&",
"MBB",
")",
"const",
"{",
"const",
"MachineFrameInfo",
"*",
"MFI",
"=",
"MF",
".",
"getFrameInfo",
"(",
")",
";",
"MSP430MachineFunctionInfo... | [
"Insert",
"epilog",
"code",
"into",
"the",
"function",
"."
] | [
"MSP430",
"MSP430",
"MSP430",
"MSP430",
"MSP430",
"MSP430",
"MSP430",
"MSP430::RET",
"MSP430::RETI",
"\"Can only insert epilog into returning blocks\"",
"MSP430",
"0",
"2",
"MSP430::POP16r",
"MSP430::FPW",
"MSP430::POP16r",
"MSP430::MOV16rr",
"MSP430::SPW",
"MSP430::FPW",
"MSP4... | MSP430FrameInfo | emitEpilogue | MSP430 | MPU | LLVM | 28,412 | 410 | 1 | [] |
[
"<s>",
"static",
"MCAsmInfo",
"*",
"createMCAsmInfo",
"(",
"const",
"MCRegisterInfo",
"&",
"MRI",
",",
"StringRef",
"TT",
")",
"{",
"Triple",
"TheTriple",
"(",
"TT",
")",
";",
"switch",
"(",
"TheTriple",
".",
"getOS",
"(",
")",
")",
"{",
"default",
":",
... | [
"createMCAsmInfo",
"-",
"Create",
"a",
"MCAsmInfo",
"implementation",
"for",
"the",
"specified",
"target",
"triple",
"."
] | [
"MBlaze",
"MBlaze"
] | MBlazeMCTargetDesc | createMCAsmInfo | MBlaze | MPU | LLVM | 28,413 | 39 | 1 | [] |
[
"<s>",
"static",
"void",
"nios2_setup_incoming_varargs",
"(",
"cumulative_args_t",
"cum_v",
",",
"const",
"function_arg_info",
"&",
"arg",
",",
"int",
"*",
"pretend_size",
",",
"int",
"second_time",
")",
"{",
"CUMULATIVE_ARGS",
"*",
"cum",
"=",
"get_cumulative_args"... | [
"TODO",
":",
"It",
"may",
"be",
"possible",
"to",
"eliminate",
"the",
"copyback",
"and",
"implement",
"own",
"va_arg",
"type",
"."
] | [
"nios2",
"1",
"0"
] | nios21 | nios2_setup_incoming_varargs | nios2 | MPU | GCC | 28,414 | 158 | 1 | [] |
[
"<s>",
"void",
"PPCPassConfig",
"::",
"addIRPasses",
"(",
")",
"{",
"if",
"(",
"TM",
"->",
"getOptLevel",
"(",
")",
"!=",
"CodeGenOpt",
"::",
"None",
")",
"addPass",
"(",
"createPPCBoolRetToIntPass",
"(",
")",
")",
";",
"addPass",
"(",
"createAtomicExpandPas... | [
"Add",
"common",
"target",
"configurable",
"passes",
"that",
"perform",
"LLVM",
"IR",
"to",
"IR",
"transforms",
"following",
"machine",
"independent",
"optimization",
"."
] | [
"PowerPC",
"PPC",
"PPC",
"PPC",
"0"
] | PPCTargetMachine44 | addIRPasses | PowerPC | CPU | LLVM | 28,415 | 102 | 1 | [] |
[
"<s>",
"static",
"void",
"m32r_output_function_prologue",
"(",
"FILE",
"*",
"file",
",",
"HOST_WIDE_INT",
"size",
")",
"{",
"enum",
"m32r_function_type",
"fn_type",
"=",
"m32r_compute_function_type",
"(",
"current_function_decl",
")",
";",
"if",
"(",
"M32R_INTERRUPT_P... | [
"Set",
"up",
"the",
"stack",
"and",
"frame",
"pointer",
"(",
"if",
"desired",
")",
"for",
"the",
"function",
".",
"Note",
",",
"if",
"this",
"is",
"changed",
",",
"you",
"need",
"to",
"mirror",
"the",
"changes",
"in",
"m32r_compute_frame_size",
"which",
... | [
"m32r",
"\"\\t%s interrupt handler\\n\"",
"\"\\t%s PROLOGUE, vars= %d, regs= %d, args= %d, extra= %d\\n\"",
"4"
] | m32r3 | m32r_output_function_prologue | m32r | MPU | GCC | 28,416 | 77 | 1 | [] |
[
"<s>",
"bool",
"X86TargetLowering",
"::",
"CanLowerReturn",
"(",
"CallingConv",
"::",
"ID",
"CallConv",
",",
"MachineFunction",
"&",
"MF",
",",
"bool",
"isVarArg",
",",
"const",
"SmallVectorImpl",
"<",
"ISD",
"::",
"OutputArg",
">",
"&",
"Outs",
",",
"LLVMCont... | [
"This",
"hook",
"should",
"be",
"implemented",
"to",
"check",
"whether",
"the",
"return",
"values",
"described",
"by",
"the",
"Outs",
"array",
"can",
"fit",
"into",
"the",
"return",
"registers",
"."
] | [
"X86",
"X86",
"ISD::OutputArg",
"16",
"X86"
] | X86ISelLowering (2)1 | CanLowerReturn | X86 | CPU | LLVM | 28,417 | 70 | 1 | [] |
[
"<s>",
"int",
"s390_single_part",
"(",
"rtx",
"op",
",",
"machine_mode",
"mode",
",",
"machine_mode",
"part_mode",
",",
"int",
"def",
")",
"{",
"unsigned",
"HOST_WIDE_INT",
"value",
"=",
"0",
";",
"int",
"n_parts",
"=",
"GET_MODE_SIZE",
"(",
"mode",
")",
"... | [
"If",
"OP",
"is",
"an",
"integer",
"constant",
"of",
"mode",
"MODE",
"with",
"exactly",
"one",
"part",
"of",
"mode",
"PART_MODE",
"unequal",
"to",
"DEF",
",",
"return",
"the",
"number",
"of",
"that",
"part",
".",
"Otherwise",
",",
"return",
"-1",
"."
] | [
"s390",
"0",
"1",
"1",
"1",
"0",
"0",
"1",
"1",
"1",
"1",
"1"
] | s390 | s390_single_part | s390 | MPU | GCC | 28,418 | 155 | 1 | [] |
[
"<s>",
"const",
"char",
"*",
"pa_singlemove_string",
"(",
"rtx",
"*",
"operands",
")",
"{",
"HOST_WIDE_INT",
"intval",
";",
"if",
"(",
"GET_CODE",
"(",
"operands",
"[",
"0",
"]",
")",
"==",
"MEM",
")",
"return",
"\"stw %r1,%0\"",
";",
"if",
"(",
"GET_COD... | [
"Return",
"the",
"best",
"assembler",
"insn",
"template",
"for",
"moving",
"operands",
"[",
"1",
"]",
"into",
"operands",
"[",
"0",
"]",
"as",
"a",
"fullword",
"."
] | [
"pa",
"0",
"\"stw %r1,%0\"",
"1",
"\"ldw %1,%0\"",
"1",
"1",
"1",
"1",
"1",
"1",
"\"ldi %1,%0\"",
"0x7ff",
"0",
"\"ldil L'%1,%0\"",
"\"{zdepi %Z1,%0|depwi,z %Z1,%0}\"",
"\"ldil L'%1,%0\\n\\tldo R'%1(%0),%0\"",
"\"copy %1,%0\""
] | pa4 | pa_singlemove_string | pa | CPU | GCC | 28,419 | 170 | 1 | [] |
[
"<s>",
"bool",
"HexagonTargetLowering",
"::",
"allowTruncateForTailCall",
"(",
"Type",
"*",
"Ty1",
",",
"Type",
"*",
"Ty2",
")",
"const",
"{",
"if",
"(",
"!",
"Ty1",
"->",
"isIntegerTy",
"(",
")",
"||",
"!",
"Ty2",
"->",
"isIntegerTy",
"(",
")",
")",
"... | [
"Return",
"true",
"if",
"a",
"truncation",
"from",
"FromTy",
"to",
"ToTy",
"is",
"permitted",
"when",
"deciding",
"whether",
"a",
"call",
"is",
"in",
"tail",
"position",
"."
] | [
"Hexagon",
"Hexagon",
"32"
] | HexagonISelLowering (2) | allowTruncateForTailCall | Hexagon | DSP | LLVM | 28,420 | 44 | 1 | [] |
[
"<s>",
"const",
"ArrayRef",
"<",
"MCPhysReg",
">",
"Cpu0ABIInfo",
"::",
"GetVarArgRegs",
"(",
")",
"const",
"{",
"if",
"(",
"IsO32",
"(",
")",
")",
"return",
"makeArrayRef",
"(",
"O32IntRegs",
")",
";",
"if",
"(",
"IsS32",
"(",
")",
")",
"return",
"mak... | [
"The",
"registers",
"to",
"use",
"for",
"the",
"variable",
"argument",
"list",
"."
] | [
"Cpu0",
"Cpu0",
"\"Unhandled ABI\""
] | Cpu0ABIInfo | GetVarArgRegs | Cpu0 | CPU | LLVM | 28,421 | 42 | 1 | [] |
[
"<s>",
"bool",
"ARMBaseRegisterInfo",
"::",
"hasFP",
"(",
"const",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"if",
"(",
"STI",
".",
"isTargetDarwin",
"(",
")",
")",
"return",
"true",
";",
"const",
"MachineFrameInfo",
"*",
"MFI",
"=",
"MF",
".",
"g... | [
"hasFP",
"-",
"Return",
"true",
"if",
"the",
"specified",
"function",
"should",
"have",
"a",
"dedicated",
"frame",
"pointer",
"register",
"."
] | [
"ARM",
"ARM"
] | ARMBaseRegisterInfo29 | hasFP | ARM | CPU | LLVM | 28,422 | 68 | 1 | [] |
[
"<s>",
"StringRef",
"getPassName",
"(",
")",
"const",
"override",
"{",
"return",
"\"Unsupported Node Replacement\"",
";",
"}",
"</s>"
] | [
"getPassName",
"-",
"Return",
"a",
"nice",
"clean",
"name",
"for",
"a",
"pass",
"."
] | [
"TPC",
"\"Unsupported Node Replacement\""
] | NodePreLegalizer | getPassName | TPC | Virtual ISA | LLVM | 28,423 | 11 | 1 | [] |
[
"<s>",
"const",
"char",
"*",
"PPCTargetLowering",
"::",
"getTargetNodeName",
"(",
"unsigned",
"Opcode",
")",
"const",
"{",
"switch",
"(",
"Opcode",
")",
"{",
"default",
":",
"return",
"nullptr",
";",
"case",
"PPCISD",
"::",
"FSEL",
":",
"return",
"\"PPCISD::... | [
"getTargetNodeName",
"-",
"This",
"method",
"returns",
"the",
"name",
"of",
"a",
"target",
"specific"
] | [
"PowerPC",
"PPC",
"PPCISD::FSEL",
"\"PPCISD::FSEL\"",
"PPCISD::FCFID",
"\"PPCISD::FCFID\"",
"PPCISD::FCTIDZ",
"\"PPCISD::FCTIDZ\"",
"PPCISD::FCTIWZ",
"\"PPCISD::FCTIWZ\"",
"PPCISD::FRE",
"\"PPCISD::FRE\"",
"PPCISD::FRSQRTE",
"\"PPCISD::FRSQRTE\"",
"PPCISD::STFIWX",
"\"PPCISD::STFIWX\""... | PPCISelLowering8 | getTargetNodeName | PowerPC | CPU | LLVM | 28,424 | 496 | 1 | [] |
[
"<s>",
"HOST_WIDE_INT",
"csky_initial_elimination_offset",
"(",
"int",
"from",
",",
"int",
"to",
")",
"{",
"int",
"offset",
";",
"csky_layout_stack_frame",
"(",
")",
";",
"switch",
"(",
"from",
")",
"{",
"case",
"FRAME_POINTER_REGNUM",
":",
"case",
"HARD_FRAME_P... | [
"Worker",
"function",
"for",
"INITIAL_ELIMINATION_OFFSET",
"macro",
".",
"Define",
"the",
"offset",
"between",
"two",
"registers",
",",
"one",
"to",
"be",
"eliminated",
",",
"and",
"the",
"other",
"its",
"replacement",
",",
"at",
"the",
"start",
"of",
"a",
"... | [
"csky"
] | csky | csky_initial_elimination_offset | csky | CPU | GCC | 28,425 | 80 | 1 | [] |
[
"<s>",
"static",
"void",
"sparc_emit_set_const32",
"(",
"rtx",
"op0",
",",
"rtx",
"op1",
")",
"{",
"machine_mode",
"mode",
"=",
"GET_MODE",
"(",
"op0",
")",
";",
"rtx",
"temp",
"=",
"op0",
";",
"if",
"(",
"can_create_pseudo_p",
"(",
")",
")",
"temp",
"... | [
"We",
"know",
"it",
"ca",
"n't",
"be",
"done",
"in",
"one",
"insn",
"when",
"we",
"get",
"here",
",",
"the",
"movsi",
"expander",
"guarentees",
"this",
"."
] | [
"sparc",
"0x3ff",
"0x3ff"
] | sparc | sparc_emit_set_const32 | sparc | CPU | GCC | 28,426 | 150 | 1 | [] |
[
"<s>",
"static",
"bool",
"rs6000_function_parms_need_stack",
"(",
"tree",
"fun",
",",
"bool",
"incoming",
")",
"{",
"tree",
"fntype",
",",
"result",
";",
"CUMULATIVE_ARGS",
"args_so_far_v",
";",
"cumulative_args_t",
"args_so_far",
";",
"if",
"(",
"!",
"fun",
")"... | [
"Return",
"true",
"if",
"FUN",
"has",
"no",
"prototype",
",",
"has",
"a",
"variable",
"argument",
"list",
",",
"or",
"passes",
"any",
"parameter",
"in",
"memory",
"."
] | [
"powerpcspe"
] | powerpcspe | rs6000_function_parms_need_stack | powerpcspe | CPU | GCC | 28,427 | 237 | 1 | [] |
[
"<s>",
"const",
"char",
"*",
"NVPTXTargetLowering",
"::",
"getTargetNodeName",
"(",
"unsigned",
"Opcode",
")",
"const",
"{",
"switch",
"(",
"Opcode",
")",
"{",
"default",
":",
"return",
"0",
";",
"case",
"NVPTXISD",
"::",
"CALL",
":",
"return",
"\"NVPTXISD::... | [
"getTargetNodeName",
"-",
"This",
"method",
"returns",
"the",
"name",
"of",
"a",
"target",
"specific"
] | [
"NVPTX",
"NVPTX",
"0",
"NVPTXISD::CALL",
"\"NVPTXISD::CALL\"",
"NVPTXISD::RET_FLAG",
"\"NVPTXISD::RET_FLAG\"",
"NVPTXISD::Wrapper",
"\"NVPTXISD::Wrapper\"",
"NVPTXISD::NVBuiltin",
"\"NVPTXISD::NVBuiltin\"",
"NVPTXISD::DeclareParam",
"\"NVPTXISD::DeclareParam\"",
"NVPTXISD::DeclareScalarPar... | NVPTXISelLowering4 | getTargetNodeName | NVPTX | GPU | LLVM | 28,428 | 328 | 1 | [] |
[
"<s>",
"const",
"MCRegisterInfo",
"*",
"getRegInfo",
"(",
")",
"const",
"{",
"return",
"RegInfo",
".",
"get",
"(",
")",
";",
"}",
"</s>"
] | [
"getRegInfo",
"-",
"Return",
"information",
"about",
"the",
"registers",
"currently",
"in",
"use",
"."
] | [
"Sparc"
] | SparcDisassembler1 | getRegInfo | Sparc | CPU | LLVM | 28,429 | 16 | 1 | [] |
[
"<s>",
"SDValue",
"SystemZTargetLowering",
"::",
"PerformDAGCombine",
"(",
"SDNode",
"*",
"N",
",",
"DAGCombinerInfo",
"&",
"DCI",
")",
"const",
"{",
"switch",
"(",
"N",
"->",
"getOpcode",
"(",
")",
")",
"{",
"default",
":",
"break",
";",
"case",
"ISD",
... | [
"This",
"method",
"will",
"be",
"invoked",
"for",
"all",
"target",
"nodes",
"and",
"for",
"any",
"target-independent",
"nodes",
"that",
"the",
"target",
"has",
"registered",
"with",
"invoke",
"it",
"for",
"."
] | [
"SystemZ",
"SystemZ",
"ISD::ZERO_EXTEND",
"ISD::SIGN_EXTEND",
"ISD::SIGN_EXTEND_INREG",
"SystemZISD::MERGE_HIGH",
"SystemZISD::MERGE_LOW",
"ISD::STORE",
"ISD::EXTRACT_VECTOR_ELT",
"SystemZISD::JOIN_DWORDS",
"ISD::FP_ROUND",
"ISD::BSWAP",
"SystemZISD::BR_CCMASK",
"SystemZISD::SELECT_CCMASK"... | SystemZISelLowering34 | PerformDAGCombine | SystemZ | CPU | LLVM | 28,430 | 196 | 1 | [] |
[
"<s>",
"void",
"HexagonAsmInstPrinter",
"::",
"printInst",
"(",
"MCInst",
"const",
"*",
"MI",
",",
"raw_ostream",
"&",
"O",
",",
"StringRef",
"Annot",
",",
"MCSubtargetInfo",
"const",
"&",
"STI",
")",
"{",
"assert",
"(",
"HexagonMCInstrInfo",
"::",
"isBundle",... | [
"Print",
"the",
"specified",
"MCInst",
"to",
"the",
"specified",
"raw_ostream",
"."
] | [
"Hexagon",
"Hexagon",
"Hexagon",
"Hexagon",
"\"\"",
"\"\\t{\\n\\t\\t\"",
"\"\"",
"\"\\n\"",
"\"\"",
"\"\\n\\t\\t\"",
"\"\\n\\t}\""
] | HexagonInstPrinter14 | printInst | Hexagon | DSP | LLVM | 28,431 | 213 | 1 | [] |
[
"<s>",
"const",
"TGSISubtarget",
"*",
"getSubtargetImpl",
"(",
"const",
"Function",
"&",
")",
"const",
"override",
"{",
"return",
"&",
"Subtarget",
";",
"}",
"</s>"
] | [
"Virtual",
"method",
"implemented",
"by",
"subclasses",
"that",
"returns",
"a",
"reference",
"to",
"that",
"target",
"'s",
"TargetSubtargetInfo-derived",
"member",
"variable",
"."
] | [
"TGSI",
"TGSI"
] | TGSITargetMachine | getSubtargetImpl | TGSI | Virtual ISA | LLVM | 28,432 | 17 | 1 | [] |
[
"<s>",
"unsigned",
"SystemZRegisterInfo",
"::",
"eliminateFrameIndex",
"(",
"MachineBasicBlock",
"::",
"iterator",
"II",
",",
"int",
"SPAdj",
",",
"int",
"*",
"Value",
",",
"RegScavenger",
"*",
"RS",
")",
"const",
"{",
"assert",
"(",
"SPAdj",
"==",
"0",
"&&"... | [
"This",
"method",
"must",
"be",
"overriden",
"to",
"eliminate",
"abstract",
"frame",
"indices",
"from",
"instructions",
"which",
"may",
"use",
"them",
"."
] | [
"SystemZ",
"SystemZ",
"0",
"\"Unxpected\"",
"0",
"\"Instr doesn't have FrameIndex operand!\"",
"SystemZ::R11D",
"SystemZ::R15D",
"1",
"1",
"0"
] | SystemZRegisterInfo29 | eliminateFrameIndex | SystemZ | CPU | LLVM | 28,433 | 196 | 1 | [] |
[
"<s>",
"unsigned",
"getLinkageSize",
"(",
")",
"const",
"{",
"return",
"LinkageSize",
";",
"}",
"</s>"
] | [
"getLinkageSize",
"-",
"Return",
"the",
"size",
"of",
"the",
"PowerPC",
"ABI",
"linkage",
"area",
"."
] | [
"PowerPC"
] | PPCFrameLowering (2) | getLinkageSize | PowerPC | CPU | LLVM | 28,434 | 10 | 1 | [] |
[
"<s>",
"static",
"void",
"aarch64_option_save",
"(",
"struct",
"cl_target_option",
"*",
"ptr",
",",
"struct",
"gcc_options",
"*",
"opts",
")",
"{",
"ptr",
"->",
"x_aarch64_override_tune_string",
"=",
"opts",
"->",
"x_aarch64_override_tune_string",
";",
"}",
"</s>"
] | [
"Implement",
"TARGET_OPTION_SAVE",
"."
] | [
"aarch64"
] | aarch643 | aarch64_option_save | aarch64 | CPU | GCC | 28,435 | 24 | 1 | [] |
[
"<s>",
"static",
"void",
"alpha_align_insns_1",
"(",
"unsigned",
"int",
"max_align",
",",
"rtx_insn",
"*",
"(",
"*",
"next_group",
")",
"(",
"rtx_insn",
"*",
",",
"int",
"*",
",",
"int",
"*",
")",
",",
"rtx",
"(",
"*",
"next_nop",
")",
"(",
"int",
"*... | [
"The",
"instruction",
"group",
"alignment",
"main",
"loop",
"."
] | [
"alpha",
"4",
"4",
"0",
"8",
"0",
"1",
"0",
"1",
"1",
"1",
"0",
"0",
"0",
"4",
"0",
"8",
"4",
"3",
"1",
"0",
"0",
"4",
"0",
"1"
] | alpha4 | alpha_align_insns_1 | alpha | MPU | GCC | 28,436 | 497 | 1 | [] |
[
"<s>",
"static",
"ARMCC",
"::",
"CondCodes",
"getPredicate",
"(",
"const",
"MCInst",
"&",
"Inst",
",",
"const",
"MCInstrInfo",
"&",
"Info",
",",
"unsigned",
"&",
"PredReg",
")",
"{",
"const",
"MCInstrDesc",
"&",
"Desc",
"=",
"Info",
".",
"get",
"(",
"Ins... | [
"Returns",
"the",
"comparison",
"predicate",
"underlying",
"the",
"intrinsic",
"."
] | [
"ARM",
"ARMCC::CondCodes",
"1",
"0",
"ARMCC::AL",
"1",
"ARMCC::CondCodes"
] | ARMMCNaClExpander | getPredicate | ARM | CPU | LLVM | 28,437 | 100 | 1 | [] |
[
"<s>",
"bool",
"LinuxAsmPrinter",
"::",
"doInitialization",
"(",
"Module",
"&",
"M",
")",
"{",
"bool",
"Result",
"=",
"AsmPrinter",
"::",
"doInitialization",
"(",
"M",
")",
";",
"SwitchToTextSection",
"(",
"\"\\t.text\"",
")",
";",
"DW",
"=",
"getAnalysisIfAva... | [
"Set",
"up",
"the",
"AsmPrinter",
"when",
"we",
"are",
"working",
"on",
"a",
"new",
"module",
"."
] | [
"CellSPU",
"\"\\t.text\"",
"\"Dwarf Writer is not available\""
] | SPUAsmPrinter10 | doInitialization | CellSPU | MPU | LLVM | 28,438 | 70 | 1 | [] |
[
"<s>",
"static",
"bool",
"aarch64_array_mode_supported_p",
"(",
"machine_mode",
"mode",
",",
"unsigned",
"HOST_WIDE_INT",
"nelems",
")",
"{",
"if",
"(",
"TARGET_SIMD",
"&&",
"(",
"AARCH64_VALID_SIMD_QREG_MODE",
"(",
"mode",
")",
"||",
"AARCH64_VALID_SIMD_DREG_MODE",
"... | [
"Implement",
"target",
"hook",
"TARGET_ARRAY_MODE_SUPPORTED_P",
"."
] | [
"aarch64",
"2",
"4"
] | aarch64 | aarch64_array_mode_supported_p | aarch64 | CPU | GCC | 28,439 | 45 | 1 | [] |
[
"<s>",
"static",
"void",
"or1k_save_reg",
"(",
"int",
"regno",
",",
"HOST_WIDE_INT",
"offset",
")",
"{",
"rtx",
"reg",
"=",
"gen_rtx_REG",
"(",
"Pmode",
",",
"regno",
")",
";",
"rtx",
"mem",
"=",
"gen_frame_mem",
"(",
"SImode",
",",
"plus_constant",
"(",
... | [
"Emit",
"rtl",
"to",
"save",
"register",
"REGNO",
"contents",
"to",
"stack",
"memory",
"at",
"the",
"given",
"OFFSET",
"from",
"the",
"current",
"stack",
"pointer",
"."
] | [
"or1k",
"1"
] | or1k | or1k_save_reg | or1k | CPU | GCC | 28,440 | 56 | 1 | [] |
[
"<s>",
"static",
"int",
"ix86_vec_cost",
"(",
"machine_mode",
"mode",
",",
"int",
"cost",
")",
"{",
"if",
"(",
"!",
"VECTOR_MODE_P",
"(",
"mode",
")",
")",
"return",
"cost",
";",
"if",
"(",
"GET_MODE_BITSIZE",
"(",
"mode",
")",
"==",
"128",
"&&",
"TARG... | [
"Return",
"cost",
"of",
"vector",
"operation",
"in",
"MODE",
"given",
"that",
"scalar",
"version",
"has",
"COST",
".",
"If",
"PARALLEL",
"is",
"true",
"assume",
"that",
"CPU",
"has",
"more",
"than",
"one",
"unit",
"performing",
"the",
"operation",
"."
] | [
"i386",
"128",
"64",
"128",
"128",
"256",
"256"
] | i3861 | ix86_vec_cost | i386 | CPU | GCC | 28,441 | 91 | 1 | [] |
[
"<s>",
"bool",
"X86TargetLowering",
"::",
"decomposeMulByConstant",
"(",
"LLVMContext",
"&",
"Context",
",",
"EVT",
"VT",
",",
"SDValue",
"C",
")",
"const",
"{",
"APInt",
"MulC",
";",
"if",
"(",
"!",
"ISD",
"::",
"isConstantSplatVector",
"(",
"C",
".",
"ge... | [
"Return",
"true",
"if",
"it",
"is",
"profitable",
"to",
"transform",
"an",
"integer",
"multiplication-by-constant",
"into",
"simpler",
"operations",
"like",
"shifts",
"and",
"adds",
"."
] | [
"X86",
"X86",
"ISD::isConstantSplatVector",
"ISD::MUL",
"32",
"32",
"1",
"1",
"1",
"1"
] | X86ISelLowering (2)5 | decomposeMulByConstant | X86 | CPU | LLVM | 28,442 | 144 | 1 | [] |
[
"<s>",
"bool",
"M68kFrameLowering",
"::",
"assignCalleeSavedSpillSlots",
"(",
"MachineFunction",
"&",
"MF",
",",
"const",
"TargetRegisterInfo",
"*",
"TRI",
",",
"std",
"::",
"vector",
"<",
"CalleeSavedInfo",
">",
"&",
"CSI",
")",
"const",
"{",
"MachineFrameInfo",
... | [
"This",
"function",
"will",
"assign",
"callee",
"saved",
"gprs",
"to",
"volatile",
"vector",
"registers",
"for",
"prologue",
"spills",
"when",
"applicable",
"."
] | [
"M68k",
"M68k",
"M68k",
"M68k",
"M68k",
"M68k",
"0"
] | M68kFrameLowering4 | assignCalleeSavedSpillSlots | M68k | MPU | LLVM | 28,443 | 156 | 1 | [] |
[
"<s>",
"SDValue",
"TriCoreTargetLowering",
"::",
"LowerReturn",
"(",
"SDValue",
"Chain",
",",
"CallingConv",
"::",
"ID",
"CallConv",
",",
"bool",
"isVarArg",
",",
"const",
"SmallVectorImpl",
"<",
"ISD",
"::",
"OutputArg",
">",
"&",
"Outs",
",",
"const",
"Small... | [
"This",
"hook",
"must",
"be",
"implemented",
"to",
"lower",
"outgoing",
"return",
"values",
",",
"described",
"by",
"the",
"Outs",
"array",
",",
"into",
"the",
"specified",
"DAG",
"."
] | [
"TriCore",
"TriCore",
"ISD::OutputArg",
"\"VarArg not supported\"",
"16",
"TriCore",
"4",
"1",
"0",
"TriCore::A2",
"\"Can only return in registers!\"",
"1",
"0",
"TriCoreISD::RET_FLAG",
"MVT::Other"
] | TriCoreISelLowering | LowerReturn | TriCore | MPU | LLVM | 28,444 | 287 | 1 | [] |
[
"<s>",
"bool",
"s390_valid_shift_count",
"(",
"rtx",
"op",
",",
"HOST_WIDE_INT",
"implicit_mask",
")",
"{",
"while",
"(",
"GET_CODE",
"(",
"op",
")",
"==",
"SUBREG",
"&&",
"subreg_lowpart_p",
"(",
"op",
")",
")",
"op",
"=",
"XEXP",
"(",
"op",
",",
"0",
... | [
"Check",
"that",
"OP",
"is",
"a",
"valid",
"shift",
"count",
"operand",
".",
"It",
"should",
"be",
"of",
"the",
"following",
"structure",
":",
"(",
"subreg",
"(",
"and",
"(",
"plus",
"(",
"reg",
"imm_op",
")",
")",
"2^k-1",
")",
"7",
")",
"where",
... | [
"s390",
"0",
"0",
"1",
"0",
"0"
] | s390 | s390_valid_shift_count | s390 | MPU | GCC | 28,445 | 168 | 1 | [] |
[
"<s>",
"static",
"bool",
"bfin_cannot_force_const_mem",
"(",
"machine_mode",
"mode",
"ATTRIBUTE_UNUSED",
",",
"rtx",
"x",
"ATTRIBUTE_UNUSED",
")",
"{",
"return",
"true",
";",
"}",
"</s>"
] | [
"Decide",
"whether",
"we",
"can",
"force",
"certain",
"constants",
"to",
"memory",
".",
"If",
"we",
"decide",
"we",
"ca",
"n't",
",",
"the",
"caller",
"should",
"be",
"able",
"to",
"cope",
"with",
"it",
"in",
"another",
"way",
"."
] | [
"bfin"
] | bfin | bfin_cannot_force_const_mem | bfin | DSP | GCC | 28,446 | 17 | 1 | [] |
[
"<s>",
"static",
"const",
"char",
"*",
"getName",
"(",
")",
"{",
"return",
"DEBUG_TYPE",
";",
"}",
"</s>"
] | [
"Return",
"a",
"string",
"with",
"the",
"name",
"of",
"the",
"plan",
"and",
"the",
"applicable",
"VFs",
"and",
"UFs",
"."
] | [
"Mips"
] | MipsInstructionSelector | getName | Mips | CPU | LLVM | 28,447 | 12 | 1 | [] |
[
"<s>",
"static",
"void",
"unicosmk_output_ssib",
"(",
"FILE",
"*",
"file",
",",
"const",
"char",
"*",
"fnname",
")",
"{",
"int",
"len",
";",
"int",
"i",
";",
"rtx",
"x",
";",
"rtx",
"ciw",
";",
"struct",
"machine_function",
"*",
"machine",
"=",
"cfun",... | [
"Output",
"the",
"static",
"subroutine",
"information",
"block",
"for",
"the",
"current",
"function",
"."
] | [
"alpha",
"\"\\t.endp\\n\\n\\t.psect\\t%s%s,data\\n\"",
"\"\\t.quad\\t^X20008%2.2X28\\n\"",
"\"\\t.quad\\t0\\n\"",
"\"\\t.quad\\t\"",
"\"\\t.quad\\t0\\n\"",
"\"\\t.quad\\t0\\n\"",
"0",
"\"\\t.byte\\t%d\\n\"",
"8",
"0",
"\"\\t.quad\\t0\\n\"",
"\"\\t.bits\\t%d : 0\\n\"",
"8",
"8",
"8",
... | alpha3 | unicosmk_output_ssib | alpha | MPU | GCC | 28,448 | 241 | 1 | [] |
[
"<s>",
"Value",
"*",
"HexagonTargetLowering",
"::",
"emitStoreConditional",
"(",
"IRBuilder",
"<",
">",
"&",
"Builder",
",",
"Value",
"*",
"Val",
",",
"Value",
"*",
"Addr",
",",
"AtomicOrdering",
"Ord",
")",
"const",
"{",
"BasicBlock",
"*",
"BB",
"=",
"Bui... | [
"Perform",
"a",
"store-conditional",
"operation",
"to",
"Addr",
"."
] | [
"Hexagon",
"Hexagon",
"32",
"64",
"\"Only 32/64-bit atomic stores supported\"",
"Intrinsic::ID",
"32",
"Intrinsic::hexagon_S2_storew_locked",
"Intrinsic::hexagon_S4_stored_locked",
"Intrinsic::getDeclaration",
"\"stcx\"",
"0",
"\"\""
] | HexagonISelLowering1 | emitStoreConditional | Hexagon | DSP | LLVM | 28,449 | 231 | 1 | [] |
[
"<s>",
"FastISel",
"*",
"PPC",
"::",
"createFastISel",
"(",
"FunctionLoweringInfo",
"&",
"FuncInfo",
",",
"const",
"TargetLibraryInfo",
"*",
"LibInfo",
")",
"{",
"const",
"TargetMachine",
"&",
"TM",
"=",
"FuncInfo",
".",
"MF",
"->",
"getTarget",
"(",
")",
";... | [
"This",
"method",
"returns",
"a",
"target",
"specific",
"FastISel",
"object",
",",
"or",
"null",
"if",
"the",
"target",
"does",
"not",
"support",
"``",
"fast",
"''",
"ISel",
"."
] | [
"PowerPC",
"PPC::createFastISel",
"PPC",
"PPC",
"PPC",
"PPC",
"0"
] | PPCFastISel14 | createFastISel | PowerPC | CPU | LLVM | 28,450 | 71 | 1 | [] |
[
"<s>",
"SDValue",
"MSP430TargetLowering",
"::",
"LowerCall",
"(",
"TargetLowering",
"::",
"CallLoweringInfo",
"&",
"CLI",
",",
"SmallVectorImpl",
"<",
"SDValue",
">",
"&",
"InVals",
")",
"const",
"{",
"SelectionDAG",
"&",
"DAG",
"=",
"CLI",
".",
"DAG",
";",
... | [
"This",
"hook",
"must",
"be",
"implemented",
"to",
"lower",
"calls",
"into",
"the",
"specified",
"DAG",
"."
] | [
"MSP430",
"MSP430",
"ISD::OutputArg",
"ISD::InputArg",
"\"Unsupported calling convention\"",
"MSP430",
"\"ISRs cannot be called directly\""
] | MSP430ISelLowering (2) | LowerCall | MSP430 | MPU | LLVM | 28,451 | 175 | 1 | [] |
[
"<s>",
"std",
"::",
"pair",
"<",
"const",
"TargetRegisterClass",
"*",
",",
"uint8_t",
">",
"ARMTargetLowering",
"::",
"findRepresentativeClass",
"(",
"MVT",
"VT",
")",
"const",
"{",
"const",
"TargetRegisterClass",
"*",
"RRC",
"=",
"0",
";",
"uint8_t",
"Cost",
... | [
"Return",
"the",
"largest",
"legal",
"super-reg",
"register",
"class",
"of",
"the",
"register",
"class",
"for",
"the",
"specified",
"type",
"and",
"its",
"associated",
"``",
"cost",
"''",
"."
] | [
"ARM",
"ARM",
"0",
"1",
"MVT::f32",
"MVT::f64",
"MVT::v8i8",
"MVT::v4i16",
"MVT::v2i32",
"MVT::v1i64",
"MVT::v2f32",
"ARM::DPRRegClass",
"2",
"MVT::v16i8",
"MVT::v8i16",
"MVT::v4i32",
"MVT::v2i64",
"MVT::v4f32",
"MVT::v2f64",
"ARM::DPRRegClass",
"2",
"MVT::v4i64",
"ARM::D... | ARMISelLowering (2)1 | findRepresentativeClass | ARM | CPU | LLVM | 28,452 | 195 | 1 | [] |
[
"<s>",
"int",
"arc_double_limm_p",
"(",
"rtx",
"value",
")",
"{",
"HOST_WIDE_INT",
"low",
",",
"high",
";",
"gcc_assert",
"(",
"GET_CODE",
"(",
"value",
")",
"==",
"CONST_DOUBLE",
")",
";",
"low",
"=",
"CONST_DOUBLE_LOW",
"(",
"value",
")",
";",
"high",
... | [
"Return",
"1",
"if",
"VALUE",
",",
"a",
"const_double",
",",
"will",
"fit",
"in",
"a",
"limm",
"(",
"4",
"byte",
"number",
")",
".",
"We",
"assume",
"the",
"value",
"can",
"be",
"either",
"signed",
"or",
"unsigned",
"."
] | [
"arc",
"0x80000000",
"0xffffffff",
"0",
"0x80000000",
"0x80000000",
"1",
"0x7fffffff",
"0"
] | arc3 | arc_double_limm_p | arc | MPU | GCC | 28,453 | 105 | 1 | [] |
[
"<s>",
"bool",
"X86ATTAsmParser",
"::",
"ParseInstruction",
"(",
"const",
"StringRef",
"&",
"Name",
",",
"SMLoc",
"NameLoc",
",",
"SmallVectorImpl",
"<",
"MCParsedAsmOperand",
"*",
">",
"&",
"Operands",
")",
"{",
"StringRef",
"PatchedName",
"=",
"StringSwitch",
... | [
"ParseInstruction",
"-",
"Parse",
"one",
"assembly",
"instruction",
"."
] | [
"X86",
"X86",
"\"sal\"",
"\"shl\"",
"\"salb\"",
"\"shlb\"",
"\"sall\"",
"\"shll\"",
"\"salq\"",
"\"shlq\"",
"\"salw\"",
"\"shlw\"",
"\"repe\"",
"\"rep\"",
"\"repz\"",
"\"rep\"",
"\"repnz\"",
"\"repne\"",
"X86Operand::CreateToken",
"X86Operand::CreateToken",
"\"*\"",
"X86",
... | X86AsmParser12 | ParseInstruction | X86 | CPU | LLVM | 28,454 | 358 | 1 | [] |
[
"<s>",
"int",
"arc_label_align",
"(",
"rtx_insn",
"*",
"label",
")",
"{",
"if",
"(",
"align_labels",
".",
"levels",
"[",
"0",
"]",
".",
"log",
"<",
"1",
")",
"{",
"rtx_insn",
"*",
"next",
"=",
"next_nonnote_nondebug_insn",
"(",
"label",
")",
";",
"if",... | [
"Oddly",
"enough",
",",
"sometimes",
"we",
"get",
"a",
"zero",
"overhead",
"loop",
"that",
"branch",
"shortening",
"does",
"n't",
"think",
"is",
"a",
"loop",
"-",
"observed",
"with",
"compile/pr24883.c",
"-O3",
"-fomit-frame-pointer",
"-funroll-loops",
".",
"Mak... | [
"arc",
"0",
"1",
"0",
"1",
"0"
] | arc | arc_label_align | arc | MPU | GCC | 28,455 | 60 | 1 | [] |
[
"<s>",
"void",
"MSP430AsmPrinter",
"::",
"EmitInstruction",
"(",
"const",
"MachineInstr",
"*",
"MI",
")",
"{",
"MSP430MCInstLower",
"MCInstLowering",
"(",
"OutContext",
",",
"*",
"this",
")",
";",
"MCInst",
"TmpInst",
";",
"MCInstLowering",
".",
"Lower",
"(",
... | [
"EmitInstruction",
"-",
"This",
"callback",
"is",
"invoked",
"when",
"an",
"instruction",
"is",
"emitted",
",",
"to",
"advance",
"the",
"hazard",
"state",
"."
] | [
"MSP430",
"MSP430",
"MSP430"
] | MSP430AsmPrinter15 | EmitInstruction | MSP430 | MPU | LLVM | 28,456 | 40 | 1 | [] |
[
"<s>",
"static",
"int",
"tilegx_pic_address_needs_scratch",
"(",
"rtx",
"x",
")",
"{",
"if",
"(",
"GET_CODE",
"(",
"x",
")",
"==",
"CONST",
"&&",
"GET_CODE",
"(",
"XEXP",
"(",
"x",
",",
"0",
")",
")",
"==",
"PLUS",
"&&",
"(",
"GET_CODE",
"(",
"XEXP",... | [
"Return",
"true",
"if",
"X",
"requires",
"a",
"scratch",
"register",
".",
"It",
"is",
"given",
"that",
"flag_pic",
"is",
"on",
"and",
"that",
"X",
"satisfies",
"CONSTANT_P",
"."
] | [
"tilegx",
"0",
"0",
"0",
"0",
"0",
"0",
"1"
] | tilegx | tilegx_pic_address_needs_scratch | tilegx | VLIW | GCC | 28,457 | 89 | 1 | [] |
[
"<s>",
"void",
"MSP430InstrInfo",
"::",
"loadRegFromStackSlot",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"MI",
",",
"unsigned",
"DestReg",
",",
"int",
"FrameIdx",
",",
"const",
"TargetRegisterClass",
"*",
"RC",
",",
"const"... | [
"Load",
"the",
"specified",
"register",
"of",
"the",
"given",
"register",
"class",
"from",
"the",
"specified",
"stack",
"frame",
"index",
"."
] | [
"MSP430",
"MSP430",
"MSP430::GR16RegClass",
"MSP430::MOV16rm",
"0",
"MSP430::GR8RegClass",
"MSP430::MOV8rm",
"0",
"\"Cannot store this register to stack slot!\""
] | MSP430InstrInfo10 | loadRegFromStackSlot | MSP430 | MPU | LLVM | 28,458 | 218 | 1 | [] |
[
"<s>",
"SDValue",
"F2003fTargetLowering",
"::",
"LowerOperation",
"(",
"SDValue",
"Op",
",",
"SelectionDAG",
"&",
"DAG",
")",
"const",
"{",
"switch",
"(",
"Op",
".",
"getOpcode",
"(",
")",
")",
"{",
"case",
"ISD",
"::",
"SELECT_CC",
":",
"return",
"LowerSE... | [
"LowerOperation",
"-",
"Provide",
"custom",
"lowering",
"hooks",
"for",
"some",
"operations",
"."
] | [
"F2003f",
"F2003f",
"ISD::SELECT_CC",
"ISD::BR_CC",
"ISD::GlobalAddress",
"ISD::BlockAddress",
"ISD::ExternalSymbol",
"ISD::JumpTable",
"\"unimplemented operand\""
] | F2003fISelLowering | LowerOperation | F2003f | CPU | LLVM | 28,459 | 110 | 1 | [] |
[
"<s>",
"static",
"tree",
"rs6000_handle_struct_attribute",
"(",
"tree",
"*",
"node",
",",
"tree",
"name",
",",
"tree",
"args",
"ATTRIBUTE_UNUSED",
",",
"int",
"flags",
"ATTRIBUTE_UNUSED",
",",
"bool",
"*",
"no_add_attrs",
")",
"{",
"tree",
"*",
"type",
"=",
... | [
"Handle",
"a",
"``",
"ms_struct",
"''",
"or",
"``",
"gcc_struct",
"''",
"attribute",
";",
"arguments",
"as",
"in",
"struct",
"attribute_spec.handler",
"."
] | [
"rs6000",
"\"%qE attribute ignored\"",
"\"ms_struct\"",
"\"gcc_struct\"",
"\"gcc_struct\"",
"\"ms_struct\"",
"\"%qE incompatible attribute ignored\""
] | rs6000 | rs6000_handle_struct_attribute | rs6000 | CPU | GCC | 28,460 | 170 | 1 | [] |
[
"<s>",
"bool",
"CAHPAsmParser",
"::",
"ParseDirective",
"(",
"AsmToken",
"DirectiveID",
")",
"{",
"return",
"true",
";",
"}",
"</s>"
] | [
"ParseDirective",
"-",
"Parse",
"a",
"target",
"specific",
"assembler",
"directive",
"This",
"method",
"is",
"deprecated",
",",
"use",
"'parseDirective",
"'",
"instead",
"."
] | [
"CAHP",
"CAHP"
] | CAHPAsmParser | ParseDirective | CAHP | CPU | LLVM | 28,461 | 13 | 1 | [] |
[
"<s>",
"static",
"void",
"mips16_copy_fpr_return_value",
"(",
"void",
")",
"{",
"rtx",
"fn",
",",
"insn",
",",
"retval",
";",
"tree",
"return_type",
";",
"machine_mode",
"return_mode",
";",
"const",
"char",
"*",
"name",
";",
"return_type",
"=",
"DECL_RESULT",
... | [
"The",
"current",
"function",
"is",
"a",
"MIPS16",
"function",
"that",
"returns",
"a",
"value",
"in",
"an",
"FPR",
".",
"Copy",
"the",
"return",
"value",
"from",
"its",
"soft-float",
"to",
"its",
"hard-float",
"location",
".",
"libgcc2",
"has",
"special",
... | [
"mips",
"\"__mips16_ret_\""
] | mips | mips16_copy_fpr_return_value | mips | CPU | GCC | 28,462 | 107 | 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"
] | aarch642 | aarch64_pad_reg_upward | aarch64 | CPU | GCC | 28,463 | 60 | 1 | [] |
[
"<s>",
"bool",
"X86FrameLowering",
"::",
"restoreCalleeSavedRegisters",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"MI",
",",
"std",
"::",
"vector",
"<",
"CalleeSavedInfo",
">",
"&",
"CSI",
",",
"const",
"TargetRegisterInfo",
... | [
"restoreCalleeSavedRegisters",
"-",
"Issues",
"instruction",
"(",
"s",
")",
"to",
"restore",
"all",
"callee",
"saved",
"registers",
"and",
"returns",
"true",
"if",
"it",
"is",
"n't",
"possible",
"/",
"profitable",
"to",
"do",
"so",
"by",
"issuing",
"a",
"ser... | [
"X86",
"X86",
"X86::CATCHRET",
"0",
"X86::GR64RegClass",
"X86::GR32RegClass",
"X86::POP64r",
"X86::POP32r",
"0",
"X86::GR64RegClass",
"X86::GR32RegClass"
] | X86FrameLowering (2)2 | restoreCalleeSavedRegisters | X86 | CPU | LLVM | 28,464 | 337 | 1 | [] |
[
"<s>",
"bool",
"SITargetLowering",
"::",
"shouldConvertConstantLoadToIntImm",
"(",
"const",
"APInt",
"&",
"Imm",
",",
"Type",
"*",
"Ty",
")",
"const",
"{",
"const",
"SIInstrInfo",
"*",
"TII",
"=",
"getSubtarget",
"(",
")",
"->",
"getInstrInfo",
"(",
")",
";"... | [
"Returns",
"true",
"if",
"it",
"is",
"beneficial",
"to",
"convert",
"a",
"load",
"of",
"a",
"constant",
"to",
"just",
"the",
"constant",
"itself",
"."
] | [
"AMDGPU",
"SI",
"SI"
] | SIISelLowering101 | shouldConvertConstantLoadToIntImm | AMDGPU | GPU | LLVM | 28,465 | 38 | 1 | [] |
[
"<s>",
"X86Subtarget",
"::",
"X86Subtarget",
"(",
"const",
"std",
"::",
"string",
"&",
"TT",
",",
"const",
"std",
"::",
"string",
"&",
"CPU",
",",
"const",
"std",
"::",
"string",
"&",
"FS",
",",
"unsigned",
"StackAlignOverride",
",",
"bool",
"is64Bit",
"... | [
"This",
"constructor",
"initializes",
"the",
"data",
"members",
"to",
"match",
"that",
"of",
"the",
"specified",
"triple",
"."
] | [
"X86",
"X86",
"X86",
"X86",
"X86",
"X86",
"X86",
"X86",
"4",
"128",
"\"generic\"",
"\"+64bit,+sse2,\"",
"\"+64bit,+sse2\"",
"\"generic\"",
"X86",
"X86::Feature64Bit",
"X86::FeatureCMOV",
"X86",
"X86",
"X86::FeatureSSE1",
"X86::FeatureSSE2",
"X86",
"X86::Mode64Bit",
"\"S... | X86Subtarget20 | X86Subtarget | X86 | CPU | LLVM | 28,466 | 485 | 1 | [] |
[
"<s>",
"static",
"bool",
"ix86_use_mask_cmp_p",
"(",
"machine_mode",
"mode",
",",
"machine_mode",
"cmp_mode",
",",
"rtx",
"op_true",
",",
"rtx",
"op_false",
")",
"{",
"if",
"(",
"GET_MODE_SIZE",
"(",
"mode",
")",
"==",
"64",
")",
"return",
"true",
";",
"gc... | [
"Return",
"true",
"if",
"integer",
"mask",
"comparison",
"should",
"be",
"used",
"."
] | [
"i386",
"64"
] | i386-expand1 | ix86_use_mask_cmp_p | i386 | CPU | GCC | 28,467 | 98 | 1 | [] |
[
"<s>",
"bool",
"ARMFrameLowering",
"::",
"enableShrinkWrapping",
"(",
"const",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"if",
"(",
"STI",
".",
"hasV8_1MMainlineOps",
"(",
")",
"&&",
"MF",
".",
"getInfo",
"<",
"ARMFunctionInfo",
">",
"(",
")",
"->",
... | [
"Returns",
"true",
"if",
"the",
"target",
"will",
"correctly",
"handle",
"shrink",
"wrapping",
"."
] | [
"ARM",
"ARM",
"ARM",
"ARM"
] | ARMFrameLowering100 | enableShrinkWrapping | ARM | CPU | LLVM | 28,468 | 59 | 1 | [] |
[
"<s>",
"bool",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"override",
"{",
"const",
"PPCSubtarget",
"&",
"STI",
"=",
"MF",
".",
"getSubtarget",
"<",
"PPCSubtarget",
">",
"(",
")",
";",
"if",
"(",
"!",
"STI",
".",
"hasVSX",
"(",
")",
... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"PowerPC",
"PPC",
"PPC"
] | PPCVSXSwapRemoval | runOnMachineFunction | PowerPC | CPU | LLVM | 28,469 | 78 | 1 | [] |
[
"<s>",
"void",
"eco32_option_override",
"(",
"void",
")",
"{",
"init_machine_status",
"=",
"eco32_init_machine_status",
";",
"}",
"</s>"
] | [
"The",
"TARGET_OPTION_OVERRIDE",
"worker",
".",
"All",
"this",
"curently",
"does",
"is",
"set",
"init_machine_status",
"."
] | [
"eco32"
] | eco32 | eco32_option_override | eco32 | MPU | GCC | 28,470 | 11 | 1 | [] |
[
"<s>",
"unsigned",
"PPCTTIImpl",
"::",
"getNumberOfRegisters",
"(",
"bool",
"Vector",
")",
"{",
"if",
"(",
"Vector",
"&&",
"!",
"ST",
"->",
"hasAltivec",
"(",
")",
"&&",
"!",
"ST",
"->",
"hasQPX",
"(",
")",
")",
"return",
"0",
";",
"return",
"ST",
"-... | [
"�",
"?",
"Vector",
"TTI",
"begin",
"�",
"?"
] | [
"PowerPC",
"PPC",
"0",
"64",
"32"
] | PPCTargetTransformInfo | getNumberOfRegisters | PowerPC | CPU | LLVM | 28,471 | 42 | 1 | [] |
[
"<s>",
"static",
"bool",
"darwin_local_data_pic",
"(",
"rtx",
"disp",
")",
"{",
"if",
"(",
"GET_CODE",
"(",
"disp",
")",
"==",
"MINUS",
")",
"{",
"if",
"(",
"GET_CODE",
"(",
"XEXP",
"(",
"disp",
",",
"0",
")",
")",
"==",
"LABEL_REF",
"||",
"GET_CODE"... | [
"Allow",
"{",
"LABEL",
"|",
"SYMBOL",
"}",
"_REF",
"-",
"SYMBOL_REF-FOR-PICBASE",
"for",
"Mach-O",
"as",
"this",
"is",
"used",
"for",
"to",
"form",
"addresses",
"to",
"local",
"data",
"when",
"-fPIC",
"is",
"in",
"use",
"."
] | [
"i386",
"0",
"0",
"1",
"1",
"0",
"\"<pic base>\""
] | i3863 | darwin_local_data_pic | i386 | CPU | GCC | 28,472 | 95 | 1 | [] |
[
"<s>",
"enum",
"machine_mode",
"ix86_fp_compare_mode",
"(",
"enum",
"rtx_code",
"code",
"ATTRIBUTE_UNUSED",
")",
"{",
"return",
"TARGET_IEEE_FP",
"?",
"CCFPUmode",
":",
"CCFPmode",
";",
"}",
"</s>"
] | [
"Figure",
"out",
"whether",
"to",
"use",
"ordered",
"or",
"unordered",
"fp",
"comparisons",
".",
"Return",
"the",
"appropriate",
"mode",
"to",
"use",
"."
] | [
"i386"
] | i3863 | ix86_fp_compare_mode | i386 | CPU | GCC | 28,473 | 18 | 1 | [] |
[
"<s>",
"bool",
"TeakRegisterInfo",
"::",
"shouldCoalesce",
"(",
"MachineInstr",
"*",
"MI",
",",
"const",
"TargetRegisterClass",
"*",
"SrcRC",
",",
"unsigned",
"SubReg",
",",
"const",
"TargetRegisterClass",
"*",
"DstRC",
",",
"unsigned",
"DstSubReg",
",",
"const",
... | [
"Subtarget",
"Hooks",
"."
] | [
"Teak",
"Teak",
"\"shouldCoalesce\\n\"",
"\"SrcRC: \"",
"\"\\n\"",
"\"SubReg: \"",
"\"\\n\"",
"\"DstRC: \"",
"\"\\n\"",
"\"DstSubReg: \"",
"\"\\n\"",
"\"NewRC: \"",
"\"\\n\""
] | TeakRegisterInfo | shouldCoalesce | Teak | DSP | LLVM | 28,474 | 114 | 1 | [] |
[
"<s>",
"const",
"ARMRegisterInfo",
"*",
"getRegisterInfo",
"(",
")",
"const",
"override",
"{",
"return",
"&",
"InstrInfo",
".",
"getRegisterInfo",
"(",
")",
";",
"}",
"</s>"
] | [
"getRegisterInfo",
"-",
"TargetInstrInfo",
"is",
"a",
"superset",
"of",
"MRegister",
"info",
"."
] | [
"ARM",
"ARM"
] | ARMTargetMachine15 | getRegisterInfo | ARM | CPU | LLVM | 28,475 | 18 | 1 | [] |
[
"<s>",
"EVT",
"X86TargetLowering",
"::",
"getSetCCResultType",
"(",
"LLVMContext",
"&",
",",
"EVT",
"VT",
")",
"const",
"{",
"if",
"(",
"!",
"VT",
".",
"isVector",
"(",
")",
")",
"return",
"Subtarget",
"->",
"hasAVX512",
"(",
")",
"?",
"MVT",
"::",
"i1... | [
"Return",
"the",
"value",
"type",
"to",
"use",
"for",
"ISD",
":",
":SETCC",
"."
] | [
"X86",
"X86",
"MVT::i1",
"MVT::i8",
"MVT::i32",
"MVT::i64",
"MVT::f32",
"MVT::f64",
"8",
"MVT::v8i1",
"16",
"MVT::v16i1",
"MVT::i8",
"MVT::i16",
"32",
"MVT::v32i1",
"64",
"MVT::v64i1",
"MVT::i32",
"MVT::i64",
"MVT::f32",
"MVT::f64",
"2",
"MVT::v2i1",
"4",
"MVT::v4i1... | X86ISelLowering (2)4 | getSetCCResultType | X86 | CPU | LLVM | 28,476 | 313 | 1 | [] |
[
"<s>",
"bool",
"shouldTrackPressure",
"(",
")",
"const",
"override",
"{",
"return",
"false",
";",
"}",
"</s>"
] | [
"PostRA",
"scheduling",
"does",
"not",
"track",
"pressure",
"."
] | [
"AMDGPU"
] | GCNIterativeScheduler (2) | shouldTrackPressure | AMDGPU | GPU | LLVM | 28,477 | 11 | 1 | [] |
[
"<s>",
"static",
"rtx",
"construct_plt_address",
"(",
"rtx",
"symbol",
")",
"{",
"rtx",
"tmp",
",",
"unspec",
";",
"gcc_assert",
"(",
"GET_CODE",
"(",
"symbol",
")",
"==",
"SYMBOL_REF",
")",
";",
"gcc_assert",
"(",
"ix86_cmodel",
"==",
"CM_LARGE_PIC",
"&&",
... | [
"For",
"given",
"symbol",
"(",
"function",
")",
"construct",
"code",
"to",
"compute",
"address",
"of",
"it",
"'s",
"PLT",
"entry",
"in",
"large",
"x86-64",
"PIC",
"model",
"."
] | [
"i386",
"1"
] | i386-expand | construct_plt_address | i386 | CPU | GCC | 28,478 | 89 | 1 | [] |
[
"<s>",
"static",
"void",
"mn10300_function_arg_advance",
"(",
"cumulative_args_t",
"cum_v",
",",
"const",
"function_arg_info",
"&",
"arg",
")",
"{",
"CUMULATIVE_ARGS",
"*",
"cum",
"=",
"get_cumulative_args",
"(",
"cum_v",
")",
";",
"cum",
"->",
"nbytes",
"+=",
"... | [
"Update",
"the",
"data",
"in",
"CUM",
"to",
"advance",
"over",
"an",
"argument",
"of",
"mode",
"MODE",
"and",
"data",
"type",
"TYPE",
".",
"(",
"TYPE",
"is",
"null",
"for",
"libcalls",
"where",
"that",
"information",
"may",
"not",
"be",
"available",
".",... | [
"mn10300",
"3",
"3"
] | mn10300 | mn10300_function_arg_advance | mn10300 | MPU | GCC | 28,479 | 40 | 1 | [] |
[
"<s>",
"bool",
"HexagonAsmParser",
"::",
"isLabel",
"(",
"AsmToken",
"&",
"Token",
")",
"{",
"MCAsmLexer",
"&",
"Lexer",
"=",
"getLexer",
"(",
")",
";",
"AsmToken",
"const",
"&",
"Second",
"=",
"Lexer",
".",
"getTok",
"(",
")",
";",
"AsmToken",
"Third",
... | [
"Returns",
"true",
"if",
"the",
"MachineInstr",
"represents",
"a",
"label",
"."
] | [
"Hexagon",
"Hexagon",
"\"vwhist256\"",
"\"sat\""
] | HexagonAsmParser26 | isLabel | Hexagon | DSP | LLVM | 28,480 | 263 | 1 | [] |
[
"<s>",
"void",
"rs6000_emit_le_vsx_move",
"(",
"rtx",
"dest",
",",
"rtx",
"source",
",",
"machine_mode",
"mode",
")",
"{",
"gcc_assert",
"(",
"!",
"BYTES_BIG_ENDIAN",
"&&",
"VECTOR_MEM_VSX_P",
"(",
"mode",
")",
"&&",
"!",
"TARGET_P9_VECTOR",
"&&",
"!",
"gpr_or... | [
"Emit",
"a",
"sequence",
"representing",
"a",
"little-endian",
"VSX",
"load",
"or",
"store",
",",
"moving",
"data",
"from",
"SOURCE",
"to",
"DEST",
"in",
"mode",
"MODE",
".",
"This",
"is",
"done",
"separately",
"from",
"rs6000_emit_move",
"to",
"ensure",
"it... | [
"rs6000"
] | rs6000 | rs6000_emit_le_vsx_move | rs6000 | CPU | GCC | 28,481 | 108 | 1 | [] |
[
"<s>",
"char",
"c6x_get_unit_specifier",
"(",
"rtx_insn",
"*",
"insn",
")",
"{",
"enum",
"attr_units",
"units",
";",
"if",
"(",
"insn_info",
".",
"exists",
"(",
")",
")",
"{",
"int",
"unit",
"=",
"INSN_INFO_ENTRY",
"(",
"INSN_UID",
"(",
"insn",
")",
")",... | [
"Return",
"a",
"single",
"character",
",",
"which",
"is",
"either",
"'",
"l",
"'",
",",
"'s",
"'",
",",
"'d",
"'",
"or",
"'m",
"'",
",",
"which",
"specifies",
"the",
"functional",
"unit",
"used",
"by",
"INSN",
"."
] | [
"c6x",
"0"
] | c6x2 | c6x_get_unit_specifier | c6x | VLIW | GCC | 28,482 | 111 | 1 | [] |
[
"<s>",
"static",
"bool",
"aarch64_mode_valid_for_sched_fusion_p",
"(",
"machine_mode",
"mode",
")",
"{",
"return",
"mode",
"==",
"SImode",
"||",
"mode",
"==",
"DImode",
"||",
"mode",
"==",
"SFmode",
"||",
"mode",
"==",
"DFmode",
"||",
"(",
"aarch64_vector_mode_s... | [
"Return",
"true",
"if",
"MODE",
"is",
"one",
"of",
"the",
"modes",
"for",
"which",
"we",
"support",
"LDP/STP",
"operations",
"."
] | [
"aarch64",
"8"
] | aarch645 | aarch64_mode_valid_for_sched_fusion_p | aarch64 | CPU | GCC | 28,483 | 43 | 1 | [] |
[
"<s>",
"static",
"bool",
"contains_string_p",
"(",
"const",
"char",
"*",
"*",
"arr",
",",
"const",
"char",
"*",
"str",
")",
"{",
"bool",
"res",
"=",
"false",
";",
"if",
"(",
"arr",
"[",
"0",
"]",
"!=",
"NULL",
")",
"{",
"res",
"=",
"strstr",
"(",... | [
"Return",
"true",
"iff",
"ARR",
"contains",
"STR",
"in",
"one",
"of",
"its",
"two",
"elements",
"."
] | [
"aarch64",
"0",
"0",
"1",
"1"
] | driver-aarch642 | contains_string_p | aarch64 | CPU | GCC | 28,484 | 79 | 1 | [] |
[
"<s>",
"static",
"int",
"calc_live_regs",
"(",
"int",
"*",
"count",
")",
"{",
"int",
"reg",
";",
"int",
"live_regs_mask",
"=",
"0",
";",
"*",
"count",
"=",
"0",
";",
"for",
"(",
"reg",
"=",
"0",
";",
"reg",
"<",
"FIRST_PSEUDO_REGISTER",
";",
"reg",
... | [
"Work",
"out",
"the",
"registers",
"which",
"need",
"to",
"be",
"saved",
",",
"both",
"as",
"a",
"mask",
"and",
"a",
"count"
] | [
"mcore",
"0",
"0",
"0",
"1"
] | mcore | calc_live_regs | mcore | MPU | GCC | 28,485 | 70 | 1 | [] |
[
"<s>",
"bool",
"LanaiRegisterInfo",
"::",
"requiresRegisterScavenging",
"(",
"const",
"MachineFunction",
"&",
")",
"const",
"{",
"return",
"true",
";",
"}",
"</s>"
] | [
"Returns",
"true",
"if",
"the",
"target",
"requires",
"(",
"and",
"can",
"make",
"use",
"of",
")",
"the",
"register",
"scavenger",
"."
] | [
"Lanai",
"Lanai"
] | LanaiRegisterInfo (2)1 | requiresRegisterScavenging | Lanai | CPU | LLVM | 28,486 | 15 | 1 | [] |
[
"<s>",
"unsigned",
"AVRAsmParser",
"::",
"validateTargetOperandClass",
"(",
"MCParsedAsmOperand",
"&",
"AsmOp",
",",
"unsigned",
"ExpectedKind",
")",
"{",
"AVROperand",
"&",
"Op",
"=",
"static_cast",
"<",
"AVROperand",
"&",
">",
"(",
"AsmOp",
")",
";",
"MatchCla... | [
"Allow",
"a",
"target",
"to",
"add",
"special",
"case",
"operand",
"matching",
"for",
"things",
"that",
"tblgen",
"doesn't/ca",
"n't",
"handle",
"effectively",
"."
] | [
"AVR",
"AVR",
"AVR",
"AVR",
"\"r\"",
"AVR::NoRegister",
"AVR::NoRegister"
] | AVRAsmParser | validateTargetOperandClass | AVR | MPU | LLVM | 28,487 | 198 | 1 | [] |
[
"<s>",
"std",
"::",
"pair",
"<",
"unsigned",
",",
"const",
"TargetRegisterClass",
"*",
">",
"ARMTargetLowering",
"::",
"getRegForInlineAsmConstraint",
"(",
"const",
"std",
"::",
"string",
"&",
"Constraint",
",",
"EVT",
"VT",
")",
"const",
"{",
"if",
"(",
"Co... | [
"Given",
"a",
"physical",
"register",
"constraint",
"(",
"e.g",
"."
] | [
"ARM",
"ARM",
"1",
"0",
"0U",
"ARM::tGPRRegisterClass",
"0U",
"ARM::GPRRegisterClass",
"0U",
"ARM::GPRRegisterClass",
"MVT::f32",
"0U",
"ARM::SPRRegisterClass",
"MVT::f64",
"0U",
"ARM::DPRRegisterClass"
] | ARMISelLowering33 | getRegForInlineAsmConstraint | ARM | CPU | LLVM | 28,488 | 154 | 1 | [] |
[
"<s>",
"static",
"void",
"print_shift_count_operand",
"(",
"FILE",
"*",
"file",
",",
"rtx",
"op",
")",
"{",
"HOST_WIDE_INT",
"offset",
";",
"rtx",
"base",
";",
"if",
"(",
"!",
"s390_decompose_shift_count",
"(",
"op",
",",
"&",
"base",
",",
"&",
"offset",
... | [
"Output",
"operand",
"OP",
"to",
"stdio",
"stream",
"FILE",
".",
"OP",
"is",
"an",
"address",
"(",
"register",
"+",
"offset",
")",
"which",
"is",
"not",
"used",
"to",
"address",
"data",
";",
"instead",
"the",
"rightmost",
"bits",
"are",
"interpreted",
"a... | [
"s390",
"1",
"12",
"1",
"\"(%s)\""
] | s3903 | print_shift_count_operand | s390 | MPU | GCC | 28,489 | 114 | 1 | [] |
[
"<s>",
"static",
"int",
"num_insns_constant_gpr",
"(",
"HOST_WIDE_INT",
"value",
")",
"{",
"if",
"(",
"(",
"(",
"unsigned",
"HOST_WIDE_INT",
")",
"value",
"+",
"0x8000",
")",
"<",
"0x10000",
")",
"return",
"1",
";",
"else",
"if",
"(",
"(",
"value",
"&",
... | [
"Helper",
"for",
"num_insns_constant",
".",
"Calculate",
"number",
"of",
"instructions",
"to",
"load",
"VALUE",
"to",
"a",
"single",
"gpr",
"using",
"combinations",
"of",
"addi",
",",
"addis",
",",
"ori",
",",
"oris",
",",
"sldi",
"and",
"rldimi",
"instructi... | [
"rs6000",
"0x8000",
"0x10000",
"1",
"0xffff",
"0",
"31",
"1",
"31",
"0",
"1",
"0xffffffff",
"0x80000000",
"0x80000000",
"31",
"0",
"1",
"2",
"1",
"0",
"1",
"0",
"1",
"1",
"2"
] | rs60008 | num_insns_constant_gpr | rs6000 | CPU | GCC | 28,490 | 151 | 1 | [] |
[
"<s>",
"static",
"rtx",
"nvptx_expand_builtin",
"(",
"tree",
"exp",
",",
"rtx",
"target",
",",
"rtx",
"ARG_UNUSED",
"(",
"subtarget",
")",
",",
"machine_mode",
"mode",
",",
"int",
"ignore",
")",
"{",
"tree",
"fndecl",
"=",
"TREE_OPERAND",
"(",
"CALL_EXPR_FN"... | [
"Expand",
"an",
"expression",
"EXP",
"that",
"calls",
"a",
"built-in",
"function",
",",
"with",
"result",
"going",
"to",
"TARGET",
"if",
"that",
"'s",
"convenient",
"(",
"and",
"in",
"mode",
"MODE",
"if",
"that",
"'s",
"convenient",
")",
".",
"SUBTARGET",
... | [
"nvptx",
"0"
] | nvptx6 | nvptx_expand_builtin | nvptx | GPU | GCC | 28,491 | 122 | 1 | [] |
[
"<s>",
"static",
"void",
"mips_save_reg",
"(",
"rtx",
"reg",
",",
"rtx",
"mem",
")",
"{",
"if",
"(",
"GET_MODE",
"(",
"reg",
")",
"==",
"DFmode",
"&&",
"(",
"!",
"TARGET_FLOAT64",
"||",
"mips_abi",
"==",
"ABI_32",
")",
")",
"{",
"rtx",
"x1",
",",
"... | [
"Save",
"register",
"REG",
"to",
"MEM",
".",
"Make",
"the",
"instruction",
"frame-related",
"."
] | [
"mips",
"2"
] | mips | mips_save_reg | mips | CPU | GCC | 28,492 | 117 | 1 | [] |
[
"<s>",
"void",
"OR1KAsmBackend",
"::",
"applyFixup",
"(",
"const",
"MCFixup",
"&",
"Fixup",
",",
"char",
"*",
"Data",
",",
"unsigned",
"DataSize",
",",
"uint64_t",
"Value",
")",
"const",
"{",
"MCFixupKind",
"Kind",
"=",
"Fixup",
".",
"getKind",
"(",
")",
... | [
"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",
"."
] | [
"OR1K",
"OR1K",
"7",
"8",
"4",
"0",
"0",
"1",
"8",
"1",
"64",
"0",
"1",
"8",
"0xff"
] | OR1KAsmBackend | applyFixup | OR1K | CPU | LLVM | 28,493 | 232 | 1 | [] |
[
"<s>",
"static",
"void",
"nvptx_goacc_reduction_teardown",
"(",
"gcall",
"*",
"call",
")",
"{",
"gimple_stmt_iterator",
"gsi",
"=",
"gsi_for_stmt",
"(",
"call",
")",
";",
"tree",
"lhs",
"=",
"gimple_call_lhs",
"(",
"call",
")",
";",
"tree",
"var",
"=",
"gimp... | [
"NVPTX",
"implementation",
"of",
"GOACC_REDUCTION_TEARDOWN",
"."
] | [
"nvptx",
"2",
"3",
"5",
"1",
"1"
] | nvptx3 | nvptx_goacc_reduction_teardown | nvptx | GPU | GCC | 28,494 | 193 | 1 | [] |
[
"<s>",
"void",
"LEGDAGToDAGISel",
"::",
"Select",
"(",
"SDNode",
"*",
"N",
")",
"{",
"switch",
"(",
"N",
"->",
"getOpcode",
"(",
")",
")",
"{",
"case",
"ISD",
"::",
"Constant",
":",
"SelectMoveImmediate",
"(",
"N",
")",
";",
"return",
";",
"case",
"I... | [
"Main",
"hook",
"for",
"targets",
"to",
"transform",
"nodes",
"into",
"machine",
"nodes",
"."
] | [
"LEG",
"LEG",
"ISD::Constant",
"ISD::BR_CC"
] | LEGISelDAGToDAG | Select | LEG | CPU | LLVM | 28,495 | 50 | 1 | [] |
[
"<s>",
"const",
"char",
"*",
"arc_short_long",
"(",
"rtx_insn",
"*",
"insn",
",",
"const",
"char",
"*",
"s_tmpl",
",",
"const",
"char",
"*",
"l_tmpl",
")",
"{",
"int",
"is_short",
"=",
"arc_verify_short",
"(",
"insn",
",",
"cfun",
"->",
"machine",
"->",
... | [
"Select",
"between",
"the",
"instruction",
"output",
"templates",
"s_tmpl",
"(",
"for",
"short",
"INSNs",
")",
"and",
"l_tmpl",
"(",
"for",
"long",
"INSNs",
")",
"."
] | [
"arc",
"1"
] | arc | arc_short_long | arc | MPU | GCC | 28,496 | 50 | 1 | [] |
[
"<s>",
"void",
"AVRInstrInfo",
"::",
"loadRegFromStackSlot",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"MI",
",",
"Register",
"DestReg",
",",
"int",
"FrameIndex",
",",
"const",
"TargetRegisterClass",
"*",
"RC",
",",
"const",... | [
"Load",
"the",
"specified",
"register",
"of",
"the",
"given",
"register",
"class",
"from",
"the",
"specified",
"stack",
"frame",
"index",
"."
] | [
"AVR",
"AVR",
"0",
"MVT::i8",
"AVR::LDDRdPtrQ",
"MVT::i16",
"AVR::LDDWRdYQ",
"\"Cannot load this register from a stack slot!\"",
"0"
] | AVRInstrInfo14 | loadRegFromStackSlot | AVR | MPU | LLVM | 28,497 | 203 | 1 | [] |
[
"<s>",
"void",
"loongarch_atomic_assign_expand_fenv",
"(",
"tree",
"*",
"hold",
",",
"tree",
"*",
"clear",
",",
"tree",
"*",
"update",
")",
"{",
"if",
"(",
"!",
"TARGET_HARD_FLOAT_ABI",
")",
"return",
";",
"tree",
"exceptions_var",
"=",
"create_tmp_var_raw",
"... | [
"Implement",
"TARGET_ATOMIC_ASSIGN_EXPAND_FENV",
"."
] | [
"loongarch",
"0",
"1",
"0xffe0ffe0",
"2",
"2",
"1",
"2",
"1"
] | loongarch-builtins | loongarch_atomic_assign_expand_fenv | loongarch | CPU | GCC | 28,498 | 301 | 1 | [] |
[
"<s>",
"static",
"bool",
"isShift",
"(",
"MachineInstr",
"*",
"MI",
",",
"int",
"Opcode",
",",
"int64_t",
"Imm",
")",
"{",
"return",
"(",
"MI",
"->",
"getOpcode",
"(",
")",
"==",
"Opcode",
"&&",
"!",
"MI",
"->",
"getOperand",
"(",
"2",
")",
".",
"g... | [
"Determine",
"if",
"the",
"Opcode",
"is",
"one",
"of",
"the",
"shift",
"instructions",
"."
] | [
"SystemZ",
"2",
"3"
] | SystemZInstrInfo11 | isShift | SystemZ | CPU | LLVM | 28,499 | 52 | 1 | [] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.