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>",
"SDValue",
"Z80TargetLowering",
"::",
"LowerOperation",
"(",
"SDValue",
"Op",
",",
"SelectionDAG",
"&",
"DAG",
")",
"const",
"{",
"switch",
"(",
"Op",
".",
"getOpcode",
"(",
")",
")",
"{",
"case",
"ISD",
"::",
"ZERO_EXTEND",
":",
"return",
"LowerZEx... | [
"LowerOperation",
"-",
"Provide",
"custom",
"lowering",
"hooks",
"for",
"some",
"operations",
"."
] | [
"Z80",
"Z80",
"ISD::ZERO_EXTEND",
"ISD::SIGN_EXTEND",
"ISD::SUB",
"ISD::SUBC",
"ISD::SRL",
"ISD::SHL",
"ISD::SRA",
"ISD::ROTL",
"ISD::ROTR",
"ISD::AND",
"ISD::OR",
"ISD::XOR",
"ISD::SELECT_CC",
"ISD::BR_CC",
"ISD::GlobalAddress",
"ISD::STORE",
"ISD::LOAD",
"\"unimplemented oper... | Z80ISelLowering (2) | LowerOperation | Z80 | MPU | LLVM | 29,600 | 197 | 1 | [] |
[
"<s>",
"static",
"unsigned",
"bit_count",
"(",
"unsigned",
"HOST_WIDE_INT",
"value",
")",
"{",
"unsigned",
"count",
"=",
"0",
";",
"while",
"(",
"value",
")",
"{",
"count",
"++",
";",
"value",
"&=",
"value",
"-",
"1",
";",
"}",
"return",
"count",
";",
... | [
"Typical",
"stack",
"layout",
"should",
"looks",
"like",
"this",
"after",
"the",
"function",
"'s",
"prologue",
":",
"|",
"|",
"--",
"^",
"|",
"|",
"\\",
"|",
"|",
"|",
"arguments",
"saved",
"|",
"Increasing",
"|",
"|",
"on",
"the",
"stack",
"|",
"add... | [
"aarch64",
"0",
"1"
] | aarch642 | bit_count | aarch64 | CPU | GCC | 29,601 | 33 | 1 | [] |
[
"<s>",
"bool",
"sh_cfun_interrupt_handler_p",
"(",
"void",
")",
"{",
"return",
"(",
"lookup_attribute",
"(",
"\"interrupt_handler\"",
",",
"DECL_ATTRIBUTES",
"(",
"current_function_decl",
")",
")",
"!=",
"NULL_TREE",
")",
";",
"}",
"</s>"
] | [
"Returns",
"true",
"if",
"the",
"current",
"function",
"has",
"the",
"``",
"interrupt_handler",
"''",
"attribute",
"set",
"."
] | [
"sh",
"\"interrupt_handler\""
] | sh | sh_cfun_interrupt_handler_p | sh | CPU | GCC | 29,602 | 22 | 1 | [] |
[
"<s>",
"const",
"TargetRegisterClass",
"*",
"X86RegisterInfo",
"::",
"getLargestLegalSuperClass",
"(",
"const",
"TargetRegisterClass",
"*",
"RC",
",",
"const",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"if",
"(",
"RC",
"==",
"&",
"X86",
"::",
"GR8_NOREXRe... | [
"Returns",
"the",
"largest",
"super",
"class",
"of",
"RC",
"that",
"is",
"legal",
"to",
"use",
"in",
"the",
"current",
"sub-target",
"and",
"has",
"the",
"same",
"spill",
"size",
"."
] | [
"X86",
"X86",
"X86::GR8_NOREXRegClass",
"X86",
"X86",
"X86::FR32RegClassID",
"X86::FR64RegClassID",
"X86::VR128RegClassID",
"X86::VR256RegClassID",
"X86::FR32XRegClassID",
"X86::FR64XRegClassID",
"X86::VR128XRegClassID",
"X86::VR256XRegClassID",
"X86::GR8RegClassID",
"X86::GR16RegClassID... | X86RegisterInfo5 | getLargestLegalSuperClass | X86 | CPU | LLVM | 29,603 | 262 | 1 | [] |
[
"<s>",
"char",
"*",
"xstormy16_output_cbranch_hi",
"(",
"rtx",
"op",
",",
"const",
"char",
"*",
"label",
",",
"int",
"reversed",
",",
"rtx_insn",
"*",
"insn",
")",
"{",
"static",
"char",
"string",
"[",
"64",
"]",
";",
"int",
"need_longbranch",
"=",
"(",
... | [
"Return",
"the",
"string",
"to",
"output",
"a",
"conditional",
"branch",
"to",
"LABEL",
",",
"which",
"is",
"the",
"operand",
"number",
"of",
"the",
"label",
".",
"OP",
"is",
"the",
"conditional",
"expression",
",",
"or",
"NULL",
"for",
"branch-always",
".... | [
"stormy16",
"64",
"8",
"4",
"\"jmpf\"",
"\"br\"",
"\"%s %s\"",
"0",
"\"%3,%2\"",
"\"%2,%3\"",
"\"z\"",
"\"nz\"",
"\"ge\"",
"\"lt\"",
"\"gt\"",
"\"le\"",
"\"nc\"",
"\"c\"",
"\"hi\"",
"\"ls\"",
"\"b%s %s,.+8 | jmpf %s\"",
"\"b%s %s,%s\""
] | stormy16 | xstormy16_output_cbranch_hi | stormy16 | CPU | GCC | 29,604 | 291 | 1 | [] |
[
"<s>",
"bool",
"MipsLongBranch",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"F",
")",
"{",
"const",
"MipsInstrInfo",
"*",
"TII",
"=",
"static_cast",
"<",
"const",
"MipsInstrInfo",
"*",
">",
"(",
"TM",
".",
"getInstrInfo",
"(",
")",
")",
";",
... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"Mips",
"Mips",
"Mips",
"Mips",
"Mips",
"Mips",
"Mips",
"Mips",
"16",
"4",
"4",
"0"
] | MipsLongBranch3 | runOnMachineFunction | Mips | CPU | LLVM | 29,605 | 317 | 1 | [] |
[
"<s>",
"unsigned",
"char",
"X86Subtarget",
"::",
"classifyLocalReference",
"(",
"const",
"GlobalValue",
"*",
"GV",
")",
"const",
"{",
"if",
"(",
"AllowTaggedGlobals",
"&&",
"TM",
".",
"getCodeModel",
"(",
")",
"==",
"CodeModel",
"::",
"Small",
"&&",
"!",
"is... | [
"Classify",
"a",
"global",
"variable",
"reference",
"for",
"the",
"current",
"subtarget",
"according",
"to",
"how",
"we",
"should",
"reference",
"it",
"in",
"a",
"non-pcrel",
"context",
"."
] | [
"X86",
"X86",
"X86II::MO_GOTPCREL",
"X86II::MO_NO_FLAG",
"\"Tiny codesize model not supported on X86\"",
"X86II::MO_NO_FLAG",
"X86II::MO_GOTOFF",
"X86II::MO_NO_FLAG",
"X86II::MO_GOTOFF",
"\"invalid code model\"",
"X86II::MO_NO_FLAG",
"X86II::MO_NO_FLAG",
"X86II::MO_DARWIN_NONLAZY_PIC_BASE",
... | X86Subtarget3 | classifyLocalReference | X86 | CPU | LLVM | 29,606 | 202 | 1 | [] |
[
"<s>",
"SDValue",
"SparcTargetLowering",
"::",
"LowerReturn",
"(",
"SDValue",
"Chain",
",",
"CallingConv",
"::",
"ID",
"CallConv",
",",
"bool",
"IsVarArg",
",",
"const",
"SmallVectorImpl",
"<",
"ISD",
"::",
"OutputArg",
">",
"&",
"Outs",
",",
"const",
"SmallVe... | [
"This",
"hook",
"must",
"be",
"implemented",
"to",
"lower",
"outgoing",
"return",
"values",
",",
"described",
"by",
"the",
"Outs",
"array",
",",
"into",
"the",
"specified",
"DAG",
"."
] | [
"Sparc",
"Sparc",
"ISD::OutputArg"
] | SparcISelLowering | LowerReturn | Sparc | CPU | LLVM | 29,607 | 88 | 1 | [] |
[
"<s>",
"bool",
"AArch64TargetLowering",
"::",
"isLegalICmpImmediate",
"(",
"int64_t",
"Immed",
")",
"const",
"{",
"return",
"isLegalAddImmediate",
"(",
"Immed",
")",
";",
"}",
"</s>"
] | [
"Return",
"true",
"if",
"the",
"specified",
"immediate",
"is",
"legal",
"icmp",
"immediate",
",",
"that",
"is",
"the",
"target",
"has",
"icmp",
"instructions",
"which",
"can",
"compare",
"a",
"register",
"against",
"the",
"immediate",
"without",
"having",
"to"... | [
"AArch64",
"AArch64"
] | AArch64ISelLowering (2) | isLegalICmpImmediate | AArch64 | CPU | LLVM | 29,608 | 17 | 1 | [] |
[
"<s>",
"EVT",
"ARMTargetLowering",
"::",
"getOptimalMemOpType",
"(",
"const",
"MemOp",
"&",
"Op",
",",
"const",
"AttributeList",
"&",
"FuncAttributes",
")",
"const",
"{",
"if",
"(",
"(",
"Op",
".",
"isMemcpy",
"(",
")",
"||",
"Op",
".",
"isZeroMemset",
"("... | [
"It",
"returns",
"EVT",
":",
":Other",
"if",
"the",
"type",
"should",
"be",
"determined",
"using",
"generic",
"target-independent",
"logic",
"."
] | [
"ARM",
"ARM",
"16",
"16",
"MVT::v2f64",
"0",
"1",
"MVT::v2f64",
"8",
"8",
"MVT::f64",
"0",
"1",
"MVT::f64",
"MVT::Other"
] | ARMISelLowering103 | getOptimalMemOpType | ARM | CPU | LLVM | 29,609 | 163 | 1 | [] |
[
"<s>",
"bool",
"mips_mem_fits_mode_p",
"(",
"machine_mode",
"mode",
",",
"rtx",
"x",
")",
"{",
"return",
"(",
"MEM_P",
"(",
"x",
")",
"&&",
"MEM_SIZE_KNOWN_P",
"(",
"x",
")",
"&&",
"MEM_SIZE",
"(",
"x",
")",
"==",
"GET_MODE_SIZE",
"(",
"mode",
")",
")"... | [
"Return",
"true",
"if",
"X",
"is",
"a",
"MEM",
"with",
"the",
"same",
"size",
"as",
"MODE",
"."
] | [
"mips"
] | mips | mips_mem_fits_mode_p | mips | CPU | GCC | 29,610 | 34 | 1 | [] |
[
"<s>",
"static",
"bool",
"is_cracked_insn",
"(",
"rtx",
"insn",
")",
"{",
"if",
"(",
"!",
"insn",
"||",
"!",
"INSN_P",
"(",
"insn",
")",
"||",
"GET_CODE",
"(",
"PATTERN",
"(",
"insn",
")",
")",
"==",
"USE",
"||",
"GET_CODE",
"(",
"PATTERN",
"(",
"i... | [
"The",
"function",
"returns",
"true",
"if",
"INSN",
"is",
"cracked",
"into",
"2",
"instructions",
"by",
"the",
"processor",
"(",
"and",
"therefore",
"occupies",
"2",
"issue",
"slots",
")",
"."
] | [
"rs6000"
] | rs60003 | is_cracked_insn | rs6000 | CPU | GCC | 29,611 | 126 | 1 | [] |
[
"<s>",
"unsigned",
"AAPInstrInfo",
"::",
"removeBranch",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"int",
"*",
"BytesRemoved",
")",
"const",
"{",
"unsigned",
"Count",
"=",
"0",
";",
"auto",
"I",
"=",
"MBB",
".",
"end",
"(",
")",
";",
"while",
"(",
"I"... | [
"Remove",
"the",
"branching",
"code",
"at",
"the",
"end",
"of",
"the",
"specific",
"MBB",
"."
] | [
"AAP",
"AAP",
"0"
] | AAPInstrInfo | removeBranch | AAP | MPU | LLVM | 29,612 | 99 | 1 | [] |
[
"<s>",
"static",
"reg_class_t",
"sh_preferred_reload_class",
"(",
"rtx",
"x",
",",
"reg_class_t",
"rclass",
")",
"{",
"if",
"(",
"rclass",
"==",
"NO_REGS",
"&&",
"TARGET_SHMEDIA",
"&&",
"(",
"CONST_DOUBLE_P",
"(",
"x",
")",
"||",
"GET_CODE",
"(",
"x",
")",
... | [
"Implement",
"TARGET_PREFERRED_RELOAD_CLASS",
"."
] | [
"sh"
] | sh4 | sh_preferred_reload_class | sh | CPU | GCC | 29,613 | 45 | 1 | [] |
[
"<s>",
"void",
"MBlazeTargetObjectFile",
"::",
"Initialize",
"(",
"MCContext",
"&",
"Ctx",
",",
"const",
"TargetMachine",
"&",
"TM",
")",
"{",
"TargetLoweringObjectFileELF",
"::",
"Initialize",
"(",
"Ctx",
",",
"TM",
")",
";",
"SmallDataSection",
"=",
"getContex... | [
"This",
"method",
"must",
"be",
"called",
"before",
"any",
"actual",
"lowering",
"is",
"done",
"."
] | [
"MBlaze",
"MBlaze",
"\".sdata\"",
"\".sbss\""
] | MBlazeTargetObjectFile1 | Initialize | MBlaze | MPU | LLVM | 29,614 | 83 | 1 | [] |
[
"<s>",
"static",
"void",
"visium_trampoline_init",
"(",
"rtx",
"m_tramp",
",",
"tree",
"fndecl",
",",
"rtx",
"static_chain",
")",
"{",
"rtx",
"fnaddr",
"=",
"XEXP",
"(",
"DECL_RTL",
"(",
"fndecl",
")",
",",
"0",
")",
";",
"rtx",
"addr",
"=",
"XEXP",
"(... | [
"Initialize",
"a",
"trampoline",
".",
"M_TRAMP",
"is",
"an",
"RTX",
"for",
"the",
"memory",
"block",
"for",
"the",
"trampoline",
",",
"FNDECL",
"is",
"the",
"FUNCTION_DECL",
"for",
"the",
"nested",
"function",
"and",
"STATIC_CHAIN",
"is",
"an",
"RTX",
"for",... | [
"visium",
"0",
"0",
"0",
"16",
"1",
"0x04a90000",
"4",
"0xffff",
"0x04890000",
"8",
"16",
"1",
"0x04b40000",
"12",
"0xff892404",
"16",
"0xffff",
"0x04940000",
"\"__set_trampoline_parity\"",
"1"
] | visium2 | visium_trampoline_init | visium | Virtual ISA | GCC | 29,615 | 236 | 1 | [] |
[
"<s>",
"SDValue",
"MSP430TargetLowering",
"::",
"LowerReturn",
"(",
"SDValue",
"Chain",
",",
"CallingConv",
"::",
"ID",
"CallConv",
",",
"bool",
"isVarArg",
",",
"const",
"SmallVectorImpl",
"<",
"ISD",
"::",
"OutputArg",
">",
"&",
"Outs",
",",
"const",
"SmallV... | [
"This",
"hook",
"must",
"be",
"implemented",
"to",
"lower",
"outgoing",
"return",
"values",
",",
"described",
"by",
"the",
"Outs",
"array",
",",
"into",
"the",
"specified",
"DAG",
"."
] | [
"MSP430",
"MSP430",
"ISD::OutputArg",
"16",
"MSP430",
"\"ISRs cannot return any value\"",
"4",
"1",
"0",
"\"Can only return in registers!\"",
"1",
"MSP430",
"MSP430",
"\"sret virtual register not created in entry block\"",
"MSP430::R12",
"1",
"MSP430",
"MSP430ISD::RETI_FLAG",
"MS... | MSP430ISelLowering18 | LowerReturn | MSP430 | MPU | LLVM | 29,616 | 407 | 1 | [] |
[
"<s>",
"Register",
"ARMTargetLowering",
"::",
"getExceptionPointerRegister",
"(",
"const",
"Constant",
"*",
"PersonalityFn",
")",
"const",
"{",
"return",
"Subtarget",
"->",
"useSjLjEH",
"(",
")",
"?",
"Register",
"(",
")",
":",
"ARM",
"::",
"R0",
";",
"}",
"... | [
"If",
"a",
"physical",
"register",
",",
"this",
"returns",
"the",
"register",
"that",
"receives",
"the",
"exception",
"address",
"on",
"entry",
"to",
"an",
"EH",
"pad",
"."
] | [
"ARM",
"ARM",
"ARM::R0"
] | ARMISelLowering (2)5 | getExceptionPointerRegister | ARM | CPU | LLVM | 29,617 | 28 | 1 | [] |
[
"<s>",
"const",
"TargetRegisterClass",
"*",
"MSP430RegisterInfo",
"::",
"getPointerRegClass",
"(",
")",
"const",
"{",
"return",
"&",
"MSP430",
"::",
"GR16RegClass",
";",
"}",
"</s>"
] | [
"getPointerRegClass",
"-",
"Returns",
"a",
"TargetRegisterClass",
"used",
"for",
"pointer",
"values",
"."
] | [
"MSP430",
"MSP430",
"MSP430::GR16RegClass"
] | MSP430RegisterInfo11 | getPointerRegClass | MSP430 | MPU | LLVM | 29,618 | 17 | 1 | [] |
[
"<s>",
"unsigned",
"SparcCodeEmitter",
"::",
"getMachineOpValue",
"(",
"const",
"MachineInstr",
"&",
"MI",
",",
"const",
"MachineOperand",
"&",
"MO",
")",
"const",
"{",
"if",
"(",
"MO",
".",
"isReg",
"(",
")",
")",
"return",
"TM",
".",
"getRegisterInfo",
"... | [
"getMachineOpValue",
"-",
"Return",
"binary",
"encoding",
"of",
"operand",
"."
] | [
"Sparc",
"Sparc",
"\"Unable to encode MachineOperand!\"",
"0"
] | SparcCodeEmitter | getMachineOpValue | Sparc | CPU | LLVM | 29,619 | 173 | 1 | [] |
[
"<s>",
"SDNode",
"*",
"MandarinDAGToDAGISel",
"::",
"Select",
"(",
"SDNode",
"*",
"N",
")",
"{",
"SDLoc",
"dl",
"(",
"N",
")",
";",
"if",
"(",
"N",
"->",
"isMachineOpcode",
"(",
")",
")",
"{",
"N",
"->",
"setNodeId",
"(",
"-",
"1",
")",
";",
"ret... | [
"Main",
"hook",
"for",
"targets",
"to",
"transform",
"nodes",
"into",
"machine",
"nodes",
"."
] | [
"Mandarin",
"1",
"ISD::FrameIndex"
] | MandarinISelDAGToDAG | Select | Mandarin | CPU | LLVM | 29,620 | 104 | 1 | [] |
[
"<s>",
"static",
"void",
"riscv_emit_float_compare",
"(",
"enum",
"rtx_code",
"*",
"code",
",",
"rtx",
"*",
"op0",
",",
"rtx",
"*",
"op1",
")",
"{",
"rtx",
"tmp0",
",",
"tmp1",
",",
"cmp_op0",
"=",
"*",
"op0",
",",
"cmp_op1",
"=",
"*",
"op1",
";",
... | [
"Like",
"riscv_emit_int_compare",
",",
"but",
"for",
"floating-point",
"comparisons",
"."
] | [
"riscv"
] | riscv2 | riscv_emit_float_compare | riscv | CPU | GCC | 29,621 | 434 | 1 | [] |
[
"<s>",
"static",
"struct",
"constant_pool",
"*",
"s390_alloc_pool",
"(",
"void",
")",
"{",
"struct",
"constant_pool",
"*",
"pool",
";",
"int",
"i",
";",
"pool",
"=",
"(",
"struct",
"constant_pool",
"*",
")",
"xmalloc",
"(",
"sizeof",
"*",
"pool",
")",
";... | [
"Allocate",
"new",
"constant_pool",
"structure",
"."
] | [
"s390",
"0",
"0"
] | s3903 | s390_alloc_pool | s390 | MPU | GCC | 29,622 | 104 | 1 | [] |
[
"<s>",
"void",
"m32r_expand_prologue",
"(",
")",
"{",
"int",
"regno",
";",
"int",
"frame_size",
";",
"unsigned",
"int",
"gmask",
";",
"if",
"(",
"!",
"current_frame_info",
".",
"initialized",
")",
"m32r_compute_frame_size",
"(",
"get_frame_size",
"(",
")",
")"... | [
"Expand",
"the",
"m32r",
"prologue",
"as",
"a",
"series",
"of",
"insns",
"."
] | [
"m32r",
"0",
"0",
"0",
"1",
"0",
"0",
"32768"
] | m32r2 | m32r_expand_prologue | m32r | MPU | GCC | 29,623 | 284 | 1 | [] |
[
"<s>",
"static",
"bool",
"msp430_no_hwmult",
"(",
"void",
")",
"{",
"static",
"const",
"char",
"*",
"cached_match",
"=",
"NULL",
";",
"static",
"bool",
"cached_result",
";",
"int",
"i",
";",
"if",
"(",
"msp430_hwmult_type",
"==",
"NONE",
")",
"return",
"tr... | [
"Returns",
"true",
"if",
"the",
"current",
"MCU",
"does",
"not",
"have",
"a",
"hardware",
"multiplier",
"of",
"any",
"kind",
"."
] | [
"msp430",
"0",
"0"
] | msp4303 | msp430_no_hwmult | msp430 | MPU | GCC | 29,624 | 109 | 1 | [] |
[
"<s>",
"bool",
"SPIRVInstructionSelector",
"::",
"select",
"(",
"MachineInstr",
"&",
"I",
")",
"{",
"assert",
"(",
"I",
".",
"getParent",
"(",
")",
"&&",
"\"Instruction should be in a basic block!\"",
")",
";",
"assert",
"(",
"I",
".",
"getParent",
"(",
")",
... | [
"Select",
"the",
"(",
"possibly",
"generic",
")",
"instruction",
"I",
"to",
"only",
"use",
"target-specific",
"opcodes",
"."
] | [
"SPIRV",
"SPIRV",
"\"Instruction should be in a basic block!\"",
"\"Instruction should be in a function!\"",
"SPIRV::ASSIGN_TYPE",
"1",
"1",
"0",
"1",
"0",
"32",
"\"Generic instr has unexpected implicit operands\\n\"",
"0",
"0",
"0",
"SPIRV",
"SPIRV",
"32"
] | SPIRVInstructionSelector1 | select | SPIRV | Virtual ISA | LLVM | 29,625 | 342 | 1 | [] |
[
"<s>",
"int",
"NVPTXRegisterInfo",
"::",
"getDwarfRegNum",
"(",
"unsigned",
"RegNum",
",",
"bool",
"isEH",
")",
"const",
"{",
"return",
"0",
";",
"}",
"</s>"
] | [
"Map",
"a",
"target",
"register",
"to",
"an",
"equivalent",
"dwarf",
"register",
"number",
"."
] | [
"NVPTX",
"NVPTX",
"0"
] | NVPTXRegisterInfo19 | getDwarfRegNum | NVPTX | GPU | LLVM | 29,626 | 17 | 1 | [] |
[
"<s>",
"void",
"finish",
"(",
")",
"override",
"{",
"for",
"(",
"auto",
"*",
"Sym",
":",
"UpdateOther",
")",
"copyLocalEntry",
"(",
"Sym",
",",
"Sym",
"->",
"getVariableValue",
"(",
")",
")",
";",
"}",
"</s>"
] | [
"finish",
"-",
"after",
"all",
"the",
"new",
"live",
"ranges",
"have",
"been",
"created",
",",
"compute",
"the",
"remaining",
"live",
"range",
",",
"and",
"rewrite",
"instructions",
"to",
"use",
"the",
"new",
"registers",
"."
] | [
"PowerPC"
] | PPCMCTargetDesc (2)1 | finish | PowerPC | CPU | LLVM | 29,627 | 26 | 1 | [] |
[
"<s>",
"static",
"rtx",
"rs6000_complex_function_value",
"(",
"machine_mode",
"mode",
")",
"{",
"unsigned",
"int",
"regno",
";",
"rtx",
"r1",
",",
"r2",
";",
"machine_mode",
"inner",
"=",
"GET_MODE_INNER",
"(",
"mode",
")",
";",
"unsigned",
"int",
"inner_bytes... | [
"Return",
"an",
"RTX",
"representing",
"where",
"to",
"find",
"the",
"function",
"value",
"of",
"a",
"function",
"returning",
"MODE",
"."
] | [
"rs6000",
"4",
"8",
"1",
"2"
] | rs60005 | rs6000_complex_function_value | rs6000 | CPU | GCC | 29,628 | 139 | 1 | [] |
[
"<s>",
"void",
"gen_shifty_op",
"(",
"int",
"code",
",",
"rtx",
"*",
"operands",
")",
"{",
"int",
"value",
"=",
"INTVAL",
"(",
"operands",
"[",
"2",
"]",
")",
";",
"int",
"max",
",",
"i",
";",
"value",
"=",
"value",
"&",
"0x1f",
";",
"if",
"(",
... | [
"Output",
"RTL",
"to",
"split",
"a",
"constant",
"shift",
"into",
"its",
"component",
"SH",
"constant",
"shift",
"instructions",
"."
] | [
"sh",
"2",
"0x1f",
"31",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"0"
] | sh3 | gen_shifty_op | sh | CPU | GCC | 29,629 | 215 | 1 | [] |
[
"<s>",
"bool",
"AMDGPUAsmParser",
"::",
"ParseInstruction",
"(",
"ParseInstructionInfo",
"&",
"Info",
",",
"StringRef",
"Name",
",",
"SMLoc",
"NameLoc",
",",
"OperandVector",
"&",
"Operands",
")",
"{",
"Name",
"=",
"parseMnemonicSuffix",
"(",
"Name",
")",
";",
... | [
"ParseInstruction",
"-",
"Parse",
"one",
"assembly",
"instruction",
"."
] | [
"AMDGPU",
"AMDGPU",
"AMDGPU",
"\"failed parsing operand.\"",
"\"not a valid operand.\""
] | AMDGPUAsmParser14 | ParseInstruction | AMDGPU | GPU | LLVM | 29,630 | 185 | 1 | [] |
[
"<s>",
"bool",
"GCNTTIImpl",
"::",
"areInlineCompatible",
"(",
"const",
"Function",
"*",
"Caller",
",",
"const",
"Function",
"*",
"Callee",
")",
"const",
"{",
"const",
"TargetMachine",
"&",
"TM",
"=",
"getTLI",
"(",
")",
"->",
"getTargetMachine",
"(",
")",
... | [
"Determine",
"whether",
"a",
"callee",
"with",
"the",
"given",
"TLI",
"can",
"be",
"inlined",
"into",
"caller",
"with",
"this",
"TLI",
",",
"based",
"on",
"'nobuiltin",
"'",
"attributes",
"."
] | [
"AMDGPU",
"AMDGPU::SIModeRegisterDefaults",
"AMDGPU::SIModeRegisterDefaults",
"1",
"1"
] | AMDGPUTargetTransformInfo (2)1 | areInlineCompatible | AMDGPU | GPU | LLVM | 29,631 | 222 | 1 | [] |
[
"<s>",
"static",
"rtx",
"gen_rx_popm_vector",
"(",
"unsigned",
"int",
"low",
",",
"unsigned",
"int",
"high",
")",
"{",
"unsigned",
"int",
"i",
";",
"unsigned",
"int",
"count",
"=",
"(",
"high",
"-",
"low",
")",
"+",
"2",
";",
"rtx",
"vector",
";",
"v... | [
"Generate",
"a",
"PARALLEL",
"which",
"will",
"satisfy",
"the",
"rx_load_multiple_vector",
"predicate",
"."
] | [
"rx",
"2",
"0",
"0",
"1",
"0",
"1",
"0",
"1",
"0"
] | rx2 | gen_rx_popm_vector | rx | CPU | GCC | 29,632 | 141 | 1 | [] |
[
"<s>",
"virtual",
"void",
"scheduleTree",
"(",
"unsigned",
"SubtreeID",
")",
"{",
"}",
"</s>"
] | [
"Scheduler",
"callback",
"to",
"update",
"SubtreeConnectLevels",
"when",
"a",
"tree",
"is",
"initially",
"scheduled",
"."
] | [
"Patmos"
] | PatmosPostRAScheduler | scheduleTree | Patmos | VLIW | LLVM | 29,633 | 9 | 1 | [] |
[
"<s>",
"bool",
"RISCVTargetLowering",
"::",
"getPostIndexedAddressParts",
"(",
"SDNode",
"*",
"N",
",",
"SDNode",
"*",
"Op",
",",
"SDValue",
"&",
"Base",
",",
"SDValue",
"&",
"Offset",
",",
"ISD",
"::",
"MemIndexedMode",
"&",
"AM",
",",
"SelectionDAG",
"&",
... | [
"Returns",
"true",
"by",
"value",
",",
"base",
"pointer",
"and",
"offset",
"pointer",
"and",
"addressing",
"mode",
"by",
"reference",
"if",
"this",
"node",
"can",
"be",
"combined",
"with",
"a",
"load",
"/",
"store",
"to",
"form",
"a",
"post-indexed",
"load... | [
"RI5CY",
"RISCV",
"ISD::MemIndexedMode",
"ISD::ADD",
"ISD::POST_INC",
"0",
"1",
"MVT::i8",
"MVT::i16",
"MVT::i32",
"12"
] | RISCVISelLowering | getPostIndexedAddressParts | RI5CY | CPU | LLVM | 29,634 | 247 | 1 | [] |
[
"<s>",
"bool",
"ARM64TargetLowering",
"::",
"isUsedByReturnOnly",
"(",
"SDNode",
"*",
"N",
",",
"SDValue",
"&",
"Chain",
")",
"const",
"{",
"if",
"(",
"N",
"->",
"getNumValues",
"(",
")",
"!=",
"1",
")",
"return",
"false",
";",
"if",
"(",
"!",
"N",
"... | [
"Return",
"true",
"if",
"result",
"of",
"the",
"specified",
"node",
"is",
"used",
"by",
"a",
"return",
"node",
"only",
"."
] | [
"ARM64",
"ARM64",
"1",
"1",
"0",
"ISD::CopyToReg",
"1",
"MVT::Glue",
"0",
"ISD::FP_EXTEND",
"ARM64ISD::RET_FLAG"
] | ARM64ISelLowering | isUsedByReturnOnly | ARM64 | CPU | LLVM | 29,635 | 178 | 1 | [] |
[
"<s>",
"static",
"int",
"spu_sched_issue_rate",
"(",
"void",
")",
"{",
"return",
"2",
";",
"}",
"</s>"
] | [
"Insn",
"scheduling",
"routines",
",",
"primarily",
"for",
"dual",
"issue",
"."
] | [
"spu",
"2"
] | spu | spu_sched_issue_rate | spu | MPU | GCC | 29,636 | 11 | 1 | [] |
[
"<s>",
"void",
"applyFixup",
"(",
"const",
"MCFixup",
"&",
"Fixup",
",",
"MutableArrayRef",
"<",
"char",
">",
"Data",
",",
"uint64_t",
"Value",
",",
"bool",
"IsPCRel",
",",
"MCContext",
"&",
"Ctx",
")",
"const",
"override",
"{",
"unsigned",
"Size",
"=",
... | [
"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",
"."
] | [
"X86",
"1",
"\"Invalid fixup offset!\"",
"8",
"1",
"\"Value does not fit in the Fixup field\"",
"0",
"8"
] | X86AsmBackend7 | applyFixup | X86 | CPU | LLVM | 29,637 | 113 | 1 | [] |
[
"<s>",
"static",
"rtx",
"bpf_expand_builtin",
"(",
"tree",
"exp",
",",
"rtx",
"target",
"ATTRIBUTE_UNUSED",
",",
"rtx",
"subtarget",
"ATTRIBUTE_UNUSED",
",",
"machine_mode",
"mode",
"ATTRIBUTE_UNUSED",
",",
"int",
"ignore",
"ATTRIBUTE_UNUSED",
")",
"{",
"tree",
"f... | [
"Expand",
"a",
"call",
"to",
"a",
"BPF-specific",
"built-in",
"function",
"that",
"was",
"set",
"up",
"with",
"bpf_init_builtins",
"."
] | [
"bpf",
"0",
"0",
"2",
"0",
"1",
"2",
"2",
"\"invalid argument to built-in function\"",
"0",
"0",
"1",
"0",
"16",
"1",
"1",
"\".text\""
] | bpf | bpf_expand_builtin | bpf | Virtual ISA | GCC | 29,638 | 411 | 1 | [] |
[
"<s>",
"inline",
"static",
"int",
"thumb_index_register_rtx_p",
"(",
"rtx",
"x",
",",
"int",
"strict_p",
")",
"{",
"return",
"thumb_base_register_rtx_p",
"(",
"x",
",",
"QImode",
",",
"strict_p",
")",
";",
"}",
"</s>"
] | [
"Return",
"nonzero",
"if",
"x",
"is",
"a",
"legitimate",
"index",
"register",
".",
"This",
"is",
"the",
"case",
"for",
"any",
"base",
"register",
"that",
"can",
"access",
"a",
"QImode",
"object",
"."
] | [
"arm"
] | arm3 | thumb_index_register_rtx_p | arm | CPU | GCC | 29,639 | 23 | 1 | [] |
[
"<s>",
"void",
"HexagonPassConfig",
"::",
"addPreEmitPass",
"(",
")",
"{",
"bool",
"NoOpt",
"=",
"(",
"getOptLevel",
"(",
")",
"==",
"CodeGenOpt",
"::",
"None",
")",
";",
"if",
"(",
"!",
"NoOpt",
")",
"addPass",
"(",
"createHexagonNewValueJump",
"(",
")",
... | [
"This",
"pass",
"may",
"be",
"implemented",
"by",
"targets",
"that",
"want",
"to",
"run",
"passes",
"immediately",
"before",
"machine",
"code",
"is",
"emitted",
"."
] | [
"Hexagon",
"Hexagon",
"Hexagon",
"Hexagon",
"Hexagon",
"Hexagon",
"Hexagon"
] | HexagonTargetMachine15 | addPreEmitPass | Hexagon | DSP | LLVM | 29,640 | 83 | 1 | [] |
[
"<s>",
"bool",
"evaluateBranch",
"(",
"const",
"MCInst",
"&",
"Inst",
",",
"uint64_t",
"Addr",
",",
"uint64_t",
"Size",
",",
"uint64_t",
"&",
"Target",
")",
"const",
"{",
"unsigned",
"LblOperand",
"=",
"Inst",
".",
"getOpcode",
"(",
")",
"==",
"AArch64",
... | [
"Given",
"a",
"branch",
"instruction",
"try",
"to",
"get",
"the",
"address",
"the",
"branch",
"targets",
"."
] | [
"AArch64",
"AArch64::Bcc",
"1",
"0"
] | AArch64MCTargetDesc18 | evaluateBranch | AArch64 | CPU | LLVM | 29,641 | 88 | 1 | [] |
[
"<s>",
"const",
"TargetRegisterClass",
"*",
"HSAILTargetLowering",
"::",
"getRepRegClassFor",
"(",
"MVT",
"VT",
")",
"const",
"{",
"switch",
"(",
"VT",
".",
"SimpleTy",
")",
"{",
"case",
"MVT",
"::",
"i64",
":",
"case",
"MVT",
"::",
"f64",
":",
"return",
... | [
"Return",
"the",
"'representative",
"'",
"register",
"class",
"for",
"the",
"specified",
"value",
"type",
"."
] | [
"HSAIL",
"HSAIL",
"MVT::i64",
"MVT::f64",
"HSAIL::GPR64RegClass",
"MVT::i8",
"MVT::i16",
"MVT::i32",
"MVT::f32",
"HSAIL::GPR32RegClass",
"MVT::i1",
"HSAIL::CRRegClass",
"\"Cannot find register class for value type\""
] | HSAILISelLowering | getRepRegClassFor | HSAIL | Virtual ISA | LLVM | 29,642 | 86 | 1 | [] |
[
"<s>",
"bool",
"ARMBlockPlacement",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"{",
"if",
"(",
"skipFunction",
"(",
"MF",
".",
"getFunction",
"(",
")",
")",
")",
"return",
"false",
";",
"const",
"ARMSubtarget",
"&",
"ST",
"=",
"s... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"ARM",
"ARM",
"ARM",
"ARM",
"\"Running on \"",
"\"\\n\"",
"ARM",
"ARM",
"ARM",
"ARM::t2WhileLoopStart",
"1",
"\"Found a backwards WLS from \"",
"\" to \"",
"\"\\n\"",
"ARM::t2WhileLoopStart",
"1",
"\"Can't move the target block as it would \"",
"\"introduce a new backwards WLS bran... | ARMBlockPlacement3 | runOnMachineFunction | ARM | CPU | LLVM | 29,643 | 503 | 1 | [] |
[
"<s>",
"static",
"bool",
"expand_vec_perm_vpermil",
"(",
"struct",
"expand_vec_perm_d",
"*",
"d",
")",
"{",
"rtx",
"rperm",
"[",
"8",
"]",
",",
"vperm",
";",
"unsigned",
"i",
";",
"if",
"(",
"!",
"TARGET_AVX",
"||",
"d",
"->",
"vmode",
"!=",
"V8SFmode",
... | [
"A",
"subroutine",
"of",
"ix86_expand_vec_perm_builtin_1",
".",
"Try",
"to",
"implement",
"D",
"in",
"terms",
"of",
"the",
"variable",
"form",
"of",
"vpermilps",
".",
"Note",
"that",
"we",
"will",
"have",
"already",
"failed",
"the",
"immediate",
"input",
"vper... | [
"i386",
"8",
"0",
"8",
"4",
"4",
"4",
"0",
"8",
"8",
"4",
"8",
"4",
"4",
"8"
] | i386-expand | expand_vec_perm_vpermil | i386 | CPU | GCC | 29,644 | 192 | 1 | [] |
[
"<s>",
"void",
"X86InstrInfo",
"::",
"reMaterialize",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"I",
",",
"unsigned",
"DestReg",
",",
"unsigned",
"SubIdx",
",",
"const",
"MachineInstr",
"&",
"Orig",
",",
"const",
"TargetRe... | [
"Re-issue",
"the",
"specified",
"'original",
"'",
"instruction",
"at",
"the",
"specific",
"location",
"targeting",
"a",
"new",
"destination",
"register",
"."
] | [
"X86",
"X86",
"X86::EFLAGS",
"X86::MOV32r0",
"0",
"X86::MOV32r1",
"1",
"X86::MOV32r_1",
"1",
"\"Unexpected instruction!\"",
"X86::MOV32ri",
"0",
"0"
] | X86InstrInfo145 | reMaterialize | X86 | CPU | LLVM | 29,645 | 256 | 1 | [] |
[
"<s>",
"static",
"tree",
"i386_pe_maybe_mangle_decl_assembler_name",
"(",
"tree",
"decl",
",",
"tree",
"id",
")",
"{",
"tree",
"new_id",
"=",
"NULL_TREE",
";",
"if",
"(",
"TREE_CODE",
"(",
"decl",
")",
"==",
"FUNCTION_DECL",
")",
"{",
"unsigned",
"int",
"ccv... | [
"Maybe",
"decorate",
"and",
"get",
"a",
"new",
"identifier",
"for",
"the",
"DECL",
"of",
"a",
"stdcall",
"or",
"fastcall",
"function",
".",
"The",
"original",
"identifier",
"is",
"supplied",
"in",
"ID",
"."
] | [
"i386",
"0",
"0"
] | winnt | i386_pe_maybe_mangle_decl_assembler_name | i386 | CPU | GCC | 29,646 | 95 | 1 | [] |
[
"<s>",
"SDValue",
"ARMTargetLowering",
"::",
"LowerOperation",
"(",
"SDValue",
"Op",
",",
"SelectionDAG",
"&",
"DAG",
")",
"{",
"switch",
"(",
"Op",
".",
"getOpcode",
"(",
")",
")",
"{",
"default",
":",
"assert",
"(",
"0",
"&&",
"\"Don't know how to custom l... | [
"LowerOperation",
"-",
"Provide",
"custom",
"lowering",
"hooks",
"for",
"some",
"operations",
"."
] | [
"ARM",
"ARM",
"0",
"\"Don't know how to custom lower this!\"",
"ISD::ConstantPool",
"ISD::GlobalAddress",
"ISD::GlobalTLSAddress",
"ISD::CALL",
"ISD::RET",
"ISD::SELECT_CC",
"ISD::BR_CC",
"ISD::BR_JT",
"ISD::VASTART",
"ISD::SINT_TO_FP",
"ISD::UINT_TO_FP",
"ISD::FP_TO_SINT",
"ISD::FP_... | ARMISelLowering57 | LowerOperation | ARM | CPU | LLVM | 29,647 | 327 | 1 | [] |
[
"<s>",
"unsigned",
"ARMBaseInstrInfo",
"::",
"getInstSizeInBytes",
"(",
"const",
"MachineInstr",
"&",
"MI",
")",
"const",
"{",
"const",
"MachineBasicBlock",
"&",
"MBB",
"=",
"*",
"MI",
".",
"getParent",
"(",
")",
";",
"const",
"MachineFunction",
"*",
"MF",
"... | [
"Returns",
"the",
"size",
"in",
"bytes",
"of",
"the",
"specified",
"MachineInstr",
",",
"or",
"~0U",
"when",
"this",
"function",
"is",
"not",
"implemented",
"by",
"a",
"target",
"."
] | [
"ARM",
"ARM",
"0",
"ARM::MOVi16_ga_pcrel",
"ARM::MOVTi16_ga_pcrel",
"ARM::t2MOVi16_ga_pcrel",
"ARM::t2MOVTi16_ga_pcrel",
"4",
"ARM::MOVi32imm",
"ARM::t2MOVi32imm",
"8",
"ARM::CONSTPOOL_ENTRY",
"ARM::JUMPTABLE_INSTS",
"ARM::JUMPTABLE_ADDRS",
"ARM::JUMPTABLE_TBB",
"ARM::JUMPTABLE_TBH",
... | ARMBaseInstrInfo110 | getInstSizeInBytes | ARM | CPU | LLVM | 29,648 | 334 | 1 | [] |
[
"<s>",
"bool",
"AArch64A53Fix835769",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"F",
")",
"{",
"LLVM_DEBUG",
"(",
"dbgs",
"(",
")",
"<<",
"\"***** AArch64A53Fix835769 *****\\n\"",
")",
";",
"bool",
"Changed",
"=",
"false",
";",
"TII",
"=",
"F",
... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"AArch64",
"AArch64",
"\"***** AArch64A53Fix835769 *****\\n\""
] | AArch64A53Fix83576920 | runOnMachineFunction | AArch64 | CPU | LLVM | 29,649 | 57 | 1 | [] |
[
"<s>",
"void",
"nvptx_declare_object_name",
"(",
"FILE",
"*",
"file",
",",
"const",
"char",
"*",
"name",
",",
"const_tree",
"decl",
")",
"{",
"write_var_marker",
"(",
"file",
",",
"true",
",",
"TREE_PUBLIC",
"(",
"decl",
")",
",",
"name",
")",
";",
"fpri... | [
"Implement",
"the",
"ASM_DECLARE_OBJECT_NAME",
"macro",
".",
"Used",
"to",
"start",
"writing",
"a",
"variable",
"DECL",
"with",
"NAME",
"to",
"FILE",
"."
] | [
"nvptx",
"\"\\t%s\"",
"\"\"",
"\".weak \"",
"\".visible \""
] | nvptx | nvptx_declare_object_name | nvptx | GPU | GCC | 29,650 | 97 | 1 | [] |
[
"<s>",
"TargetLowering",
"::",
"ConstraintType",
"SystemZTargetLowering",
"::",
"getConstraintType",
"(",
"const",
"std",
"::",
"string",
"&",
"Constraint",
")",
"const",
"{",
"if",
"(",
"Constraint",
".",
"size",
"(",
")",
"==",
"1",
")",
"{",
"switch",
"("... | [
"Given",
"a",
"constraint",
"letter",
",",
"return",
"the",
"type",
"of",
"constraint",
"for",
"this",
"target",
"."
] | [
"SystemZ",
"SystemZ",
"1",
"0"
] | SystemZISelLowering103 | getConstraintType | SystemZ | CPU | LLVM | 29,651 | 104 | 1 | [] |
[
"<s>",
"bool",
"SITargetLowering",
"::",
"allowsMisalignedMemoryAccesses",
"(",
"EVT",
"VT",
",",
"unsigned",
"AddrSpace",
",",
"unsigned",
"Align",
",",
"bool",
"*",
"IsFast",
")",
"const",
"{",
"if",
"(",
"IsFast",
")",
"*",
"IsFast",
"=",
"false",
";",
... | [
"Returns",
"true",
"if",
"the",
"target",
"allows",
"unaligned",
"memory",
"accesses",
"of",
"the",
"specified",
"type",
"."
] | [
"R600",
"SI",
"MVT::Other",
"AMDGPUAS::LOCAL_ADDRESS",
"4",
"0",
"MVT::i32"
] | SIISelLowering126 | allowsMisalignedMemoryAccesses | R600 | GPU | LLVM | 29,652 | 84 | 1 | [] |
[
"<s>",
"bool",
"AMDGPUAsmPrinter",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"{",
"const",
"AMDGPUSubtarget",
"&",
"STM",
"=",
"TM",
".",
"getSubtarget",
"<",
"AMDGPUSubtarget",
">",
"(",
")",
";",
"if",
"(",
"STM",
".",
"dumpCode... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"R600",
"\"@\"",
"\":\"",
"AMDGPUDeviceInfo::HD6XXX"
] | AMDGPUAsmPrinter19 | runOnMachineFunction | R600 | GPU | LLVM | 29,653 | 114 | 1 | [] |
[
"<s>",
"WebAssemblySubtarget",
"::",
"WebAssemblySubtarget",
"(",
"const",
"Triple",
"&",
"TT",
",",
"const",
"std",
"::",
"string",
"&",
"CPU",
",",
"const",
"std",
"::",
"string",
"&",
"FS",
",",
"const",
"TargetMachine",
"&",
"TM",
")",
":",
"WebAssembl... | [
"This",
"constructor",
"initializes",
"the",
"data",
"members",
"to",
"match",
"that",
"of",
"the",
"specified",
"triple",
"."
] | [
"WebAssembly",
"WebAssembly",
"WebAssembly",
"WebAssembly"
] | WebAssemblySubtarget10 | WebAssemblySubtarget | WebAssembly | Virtual ISA | LLVM | 29,654 | 70 | 1 | [] |
[
"<s>",
"void",
"HexagonShuffler",
"::",
"append",
"(",
"MCInst",
"const",
"*",
"ID",
",",
"MCInst",
"const",
"*",
"Extender",
",",
"unsigned",
"S",
",",
"bool",
"X",
")",
"{",
"HexagonInstr",
"PI",
"(",
"MCII",
",",
"ID",
",",
"Extender",
",",
"S",
"... | [
"Append",
"from",
"a",
"list",
"of",
"StringRefs",
"."
] | [
"Hexagon",
"Hexagon",
"Hexagon"
] | HexagonShuffler (2) | append | Hexagon | DSP | LLVM | 29,655 | 44 | 1 | [] |
[
"<s>",
"std",
"::",
"unique_ptr",
"<",
"MCObjectWriter",
">",
"createObjectWriter",
"(",
"raw_pwrite_stream",
"&",
"OS",
")",
"const",
"override",
"{",
"return",
"createZ80OMFObjectWriter",
"(",
"OS",
")",
";",
"}",
"</s>"
] | [
"Create",
"a",
"new",
"MCObjectWriter",
"instance",
"for",
"use",
"by",
"the",
"assembler",
"backend",
"to",
"emit",
"the",
"final",
"object",
"file",
"."
] | [
"Z80",
"Z80"
] | Z80AsmBackend1 | createObjectWriter | Z80 | MPU | LLVM | 29,656 | 22 | 1 | [] |
[
"<s>",
"unsigned",
"PIC16RegisterInfo",
"::",
"eliminateFrameIndex",
"(",
"MachineBasicBlock",
"::",
"iterator",
"II",
",",
"int",
"SPAdj",
",",
"int",
"*",
"Value",
",",
"RegScavenger",
"*",
"RS",
")",
"const",
"{",
"return",
"0",
";",
"}",
"</s>"
] | [
"This",
"method",
"must",
"be",
"overriden",
"to",
"eliminate",
"abstract",
"frame",
"indices",
"from",
"instructions",
"which",
"may",
"use",
"them",
"."
] | [
"PIC16",
"PIC16",
"0"
] | PIC16RegisterInfo2 | eliminateFrameIndex | PIC16 | MPU | LLVM | 29,657 | 27 | 1 | [] |
[
"<s>",
"void",
"s390_asm_output_function_label",
"(",
"FILE",
"*",
"out_file",
",",
"const",
"char",
"*",
"fname",
",",
"tree",
"decl",
")",
"{",
"int",
"hw_before",
",",
"hw_after",
";",
"s390_function_num_hotpatch_hw",
"(",
"decl",
",",
"&",
"hw_before",
","... | [
"Write",
"the",
"extra",
"assembler",
"code",
"needed",
"to",
"declare",
"a",
"function",
"properly",
"."
] | [
"s390",
"0",
"\"\\tnopr\\t%%r0\"",
"\"\\t# pre-label NOPs for hotpatch (%d halfwords)\\n\"",
"1",
"\"\\tnopr\\t%r0\\n\"",
"8",
"0",
"\"\\t# alignment for hotpatch\\n\"",
"0",
"\"\\t# fn:%s ar%d\\n\"",
"\"\\t# fn:%s tu%d\\n\"",
"\"\\t# fn:%s sg%d\\n\"",
"\"\\t# fn:%s ss%d\\n\"",
"\"\\t# f... | s390 | s390_asm_output_function_label | s390 | MPU | GCC | 29,658 | 350 | 1 | [] |
[
"<s>",
"CCAssignFn",
"*",
"AArch64TargetLowering",
"::",
"CCAssignFnForCall",
"(",
"CallingConv",
"::",
"ID",
"CC",
",",
"bool",
"IsVarArg",
")",
"const",
"{",
"switch",
"(",
"CC",
")",
"{",
"default",
":",
"report_fatal_error",
"(",
"\"Unsupported calling convent... | [
"Selects",
"the",
"correct",
"CCAssignFn",
"for",
"a",
"given",
"CallingConvention",
"value",
"."
] | [
"AArch64",
"AArch64",
"\"Unsupported calling convention.\"",
"AArch64",
"AArch64",
"AArch64",
"AArch64",
"AArch64",
"AArch64",
"AArch64",
"AArch64",
"AArch64",
"\"Unsupported calling convention.\"",
"AArch64"
] | AArch64ISelLowering38 | CCAssignFnForCall | AArch64 | CPU | LLVM | 29,659 | 149 | 1 | [] |
[
"<s>",
"SMLoc",
"getStartLoc",
"(",
")",
"const",
"override",
"{",
"return",
"StartLoc",
";",
"}",
"</s>"
] | [
"getStartLoc",
"-",
"Get",
"the",
"location",
"of",
"the",
"first",
"token",
"of",
"this",
"operand",
"."
] | [
"RV16K"
] | RV16KAsmParser | getStartLoc | RV16K | Virtual ISA | LLVM | 29,660 | 11 | 1 | [] |
[
"<s>",
"static",
"int",
"compare_constants",
"(",
"const",
"void",
"*",
"key",
",",
"const",
"void",
"*",
"t",
")",
"{",
"return",
"(",
"*",
"(",
"int",
"*",
")",
"key",
")",
"-",
"*",
"(",
"(",
"int",
"*",
")",
"t",
")",
";",
"}",
"</s>"
] | [
"bsearch",
"helper",
"function",
"."
] | [
"tilepro"
] | gen-mul-tables | compare_constants | tilepro | VLIW | GCC | 29,661 | 35 | 1 | [] |
[
"<s>",
"unsigned",
"get213Opcode",
"(",
")",
"const",
"{",
"return",
"Opcodes",
"[",
"Form213",
"]",
";",
"}",
"</s>"
] | [
"Returns",
"the",
"213",
"form",
"of",
"FMA",
"opcode",
"."
] | [
"X86"
] | X86InstrFMA3Info11 | get213Opcode | X86 | CPU | LLVM | 29,662 | 13 | 1 | [] |
[
"<s>",
"SUnit",
"*",
"R600SchedStrategy",
"::",
"pickNode",
"(",
"bool",
"&",
"IsTopNode",
")",
"{",
"SUnit",
"*",
"SU",
"=",
"0",
";",
"NextInstKind",
"=",
"IDOther",
";",
"IsTopNode",
"=",
"false",
";",
"bool",
"AllowSwitchToAlu",
"=",
"(",
"CurEmitted",... | [
"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"
] | R600MachineScheduler4 | pickNode | R600 | GPU | LLVM | 29,663 | 388 | 1 | [] |
[
"<s>",
"bool",
"MipsSEDAGToDAGISel",
"::",
"SelectInlineAsmMemoryOperand",
"(",
"const",
"SDValue",
"&",
"Op",
",",
"unsigned",
"ConstraintID",
",",
"std",
"::",
"vector",
"<",
"SDValue",
">",
"&",
"OutOps",
")",
"{",
"SDValue",
"Base",
",",
"Offset",
";",
"... | [
"SelectInlineAsmMemoryOperand",
"-",
"Select",
"the",
"specified",
"address",
"as",
"a",
"target",
"addressing",
"mode",
",",
"according",
"to",
"the",
"specified",
"constraint",
"."
] | [
"Mips",
"Mips",
"\"Unexpected asm memory constraint\"",
"0",
"MVT::i32",
"0",
"MVT::i32",
"0",
"MVT::i32",
"Mips",
"Mips",
"0",
"MVT::i32"
] | MipsSEISelDAGToDAG (2) | SelectInlineAsmMemoryOperand | Mips | CPU | LLVM | 29,664 | 361 | 1 | [] |
[
"<s>",
"static",
"void",
"emit_unspec2",
"(",
"rtx",
"target",
",",
"int",
"code",
",",
"rtx",
"op0",
",",
"rtx",
"op1",
")",
"{",
"emit_insn",
"(",
"gen_rtx_SET",
"(",
"target",
",",
"gen_rtx_UNSPEC",
"(",
"GET_MODE",
"(",
"target",
")",
",",
"gen_rtvec... | [
"Generate",
"(",
"set",
"TARGET",
"(",
"unspec",
"[",
"OP0",
"OP1",
"]",
"CODE",
")",
")",
"."
] | [
"aarch64",
"2"
] | aarch64 | emit_unspec2 | aarch64 | CPU | GCC | 29,665 | 45 | 1 | [] |
[
"<s>",
"void",
"bb_sese",
"::",
"remove",
"(",
"const",
"pseudo_node_t",
"&",
"pseudo",
")",
"{",
"unsigned",
"removed",
"=",
"0",
";",
"int",
"len",
"=",
"brackets",
".",
"length",
"(",
")",
";",
"for",
"(",
"int",
"ix",
"=",
"0",
";",
"ix",
"<",
... | [
"Remove",
"brackets",
"that",
"terminate",
"at",
"PSEUDO",
"."
] | [
"nvptx",
"0",
"0",
"\"Removing backedge %d:%+d\\n\"",
"0"
] | nvptx | remove | nvptx | GPU | GCC | 29,666 | 113 | 1 | [] |
[
"<s>",
"virtual",
"const",
"char",
"*",
"getPassName",
"(",
")",
"const",
"{",
"return",
"\"Sparc Machine Code Emitter\"",
";",
"}",
"</s>"
] | [
"getPassName",
"-",
"Return",
"a",
"nice",
"clean",
"name",
"for",
"a",
"pass",
"."
] | [
"Sparc",
"\"Sparc Machine Code Emitter\""
] | SparcCodeEmitter | getPassName | Sparc | CPU | LLVM | 29,667 | 13 | 1 | [] |
[
"<s>",
"virtual",
"const",
"DataLayout",
"*",
"getDataLayout",
"(",
")",
"const",
"{",
"return",
"&",
"DL",
";",
"}",
"</s>"
] | [
"Return",
"the",
"DataLayout",
"associated",
"with",
"the",
"module",
"this",
"SCEV",
"instance",
"is",
"operating",
"on",
"."
] | [
"CellSPU"
] | SPUTargetMachine6 | getDataLayout | CellSPU | MPU | LLVM | 29,668 | 14 | 1 | [] |
[
"<s>",
"const",
"uint32_t",
"*",
"X86RegisterInfo",
"::",
"getCallPreservedMask",
"(",
"const",
"MachineFunction",
"&",
"MF",
",",
"CallingConv",
"::",
"ID",
"CC",
")",
"const",
"{",
"const",
"X86Subtarget",
"&",
"Subtarget",
"=",
"MF",
".",
"getSubtarget",
"<... | [
"Return",
"a",
"mask",
"of",
"call-preserved",
"registers",
"for",
"the",
"given",
"calling",
"convention",
"on",
"the",
"current",
"function",
"."
] | [
"X86",
"X86",
"X86",
"X86",
"X86",
"X86",
"X86"
] | X86RegisterInfo (2) | getCallPreservedMask | X86 | CPU | LLVM | 29,669 | 287 | 1 | [] |
[
"<s>",
"void",
"BTFTypeDeclTag",
"::",
"completeType",
"(",
"BTFDebug",
"&",
"BDebug",
")",
"{",
"if",
"(",
"IsCompleted",
")",
"return",
";",
"IsCompleted",
"=",
"true",
";",
"BTFType",
".",
"NameOff",
"=",
"BDebug",
".",
"addString",
"(",
"Tag",
")",
"... | [
"Complete",
"BTF",
"type",
"generation",
"after",
"all",
"related",
"DebugInfo",
"types",
"have",
"been",
"visited",
"so",
"their",
"BTF",
"type",
"id",
"'s",
"are",
"available",
"for",
"cross",
"referece",
"."
] | [
"BPF"
] | BTFDebug1 | completeType | BPF | Virtual ISA | LLVM | 29,670 | 32 | 1 | [] |
[
"<s>",
"bool",
"SIInsertSkips",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"{",
"const",
"GCNSubtarget",
"&",
"ST",
"=",
"MF",
".",
"getSubtarget",
"<",
"GCNSubtarget",
">",
"(",
")",
";",
"TII",
"=",
"ST",
".",
"getInstrInfo",
"... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"AMDGPU",
"SI",
"4",
"4",
"AMDGPU::SI_MASK_BRANCH",
"AMDGPU::S_BRANCH",
"0",
"AMDGPU::SI_KILL_F32_COND_IMM_TERMINATOR",
"AMDGPU::SI_KILL_I1_TERMINATOR",
"AMDGPU",
"AMDGPU::SI_KILL_CLEANUP",
"AMDGPU",
"AMDGPU::SI_EARLY_TERMINATE_SCC0",
"AMDGPU"
] | SIInsertSkips5 | runOnMachineFunction | AMDGPU | GPU | LLVM | 29,671 | 446 | 1 | [] |
[
"<s>",
"SDValue",
"PIC16TargetLowering",
"::",
"LowerReturn",
"(",
"SDValue",
"Chain",
",",
"CallingConv",
"::",
"ID",
"CallConv",
",",
"bool",
"isVarArg",
",",
"const",
"SmallVectorImpl",
"<",
"ISD",
"::",
"OutputArg",
">",
"&",
"Outs",
",",
"DebugLoc",
"dl",... | [
"This",
"hook",
"must",
"be",
"implemented",
"to",
"lower",
"outgoing",
"return",
"values",
",",
"described",
"by",
"the",
"Outs",
"array",
",",
"into",
"the",
"specified",
"DAG",
"."
] | [
"PIC16",
"PIC16",
"ISD::OutputArg",
"MVT::i8",
"1",
"MVT::i8",
"0",
"PIC16ISD::PIC16Store",
"MVT::Other",
"MVT::i8",
"PIC16ISD::RET",
"MVT::Other"
] | PIC16ISelLowering | LowerReturn | PIC16 | MPU | LLVM | 29,672 | 203 | 1 | [] |
[
"<s>",
"void",
"MipsRegisterInfo",
"::",
"emitPrologue",
"(",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"MachineBasicBlock",
"&",
"MBB",
"=",
"MF",
".",
"front",
"(",
")",
";",
"MachineFrameInfo",
"*",
"MFI",
"=",
"MF",
".",
"getFrameInfo",
"(",
")"... | [
"emitProlog/emitEpilog",
"-",
"These",
"methods",
"insert",
"prolog",
"and",
"epilog",
"code",
"into",
"the",
"function",
"."
] | [
"Mips",
"Mips",
"Mips",
"Mips",
"Mips",
"Mips",
"0",
"Mips",
"Mips",
"Mips::NOREORDER",
"Mips::CPLOAD",
"Mips::NOMACRO",
"Mips::ADDiu",
"Mips::SP",
"Mips::SP",
"Mips::SW",
"Mips::RA",
"Mips::SP",
"Mips::SW",
"Mips::FP",
"Mips::SP",
"Mips::ADDu",
"Mips::FP",
"Mips::SP",
... | MipsRegisterInfo4 | emitPrologue | Mips | CPU | LLVM | 29,673 | 413 | 1 | [] |
[
"<s>",
"StackOffset",
"X86FrameLowering",
"::",
"getFrameIndexReferencePreferSP",
"(",
"const",
"MachineFunction",
"&",
"MF",
",",
"int",
"FI",
",",
"Register",
"&",
"FrameReg",
",",
"bool",
"IgnoreSPUpdates",
")",
"const",
"{",
"const",
"MachineFrameInfo",
"&",
"... | [
"Same",
"as",
"getFrameIndexReference",
",",
"except",
"that",
"the",
"stack",
"pointer",
"(",
"as",
"opposed",
"to",
"the",
"frame",
"pointer",
")",
"will",
"be",
"the",
"preferred",
"value",
"for",
"FrameReg",
"."
] | [
"X86",
"X86",
"X86",
"0",
"\"we don't handle this case!\""
] | X86FrameLowering (2)3 | getFrameIndexReferencePreferSP | X86 | CPU | LLVM | 29,674 | 130 | 1 | [] |
[
"<s>",
"static",
"void",
"rx_print_operand_address",
"(",
"FILE",
"*",
"file",
",",
"rtx",
"addr",
")",
"{",
"switch",
"(",
"GET_CODE",
"(",
"addr",
")",
")",
"{",
"case",
"REG",
":",
"fprintf",
"(",
"file",
",",
"\"[\"",
")",
";",
"rx_print_operand",
... | [
"A",
"C",
"compound",
"statement",
"to",
"output",
"to",
"stdio",
"stream",
"FILE",
"the",
"assembler",
"syntax",
"for",
"an",
"instruction",
"operand",
"that",
"is",
"a",
"memory",
"reference",
"whose",
"address",
"is",
"ADDR",
"."
] | [
"rx",
"\"[\"",
"0",
"\"]\"",
"\"[-\"",
"0",
"0",
"\"]\"",
"\"[\"",
"0",
"0",
"\"+]\"",
"0",
"1",
"0",
"\" + \"",
"0",
"\"[\"",
"\",\"",
"\"[\"",
"0",
"\"]\"",
"0",
"0",
"1",
"0",
"0",
"\"#\""
] | rx2 | rx_print_operand_address | rx | CPU | GCC | 29,675 | 383 | 1 | [] |
[
"<s>",
"bool",
"AArch64InstrInfo",
"::",
"areMemAccessesTriviallyDisjoint",
"(",
"const",
"MachineInstr",
"&",
"MIa",
",",
"const",
"MachineInstr",
"&",
"MIb",
")",
"const",
"{",
"const",
"TargetRegisterInfo",
"*",
"TRI",
"=",
"&",
"getRegisterInfo",
"(",
")",
"... | [
"Sometimes",
",",
"it",
"is",
"possible",
"for",
"the",
"target",
"to",
"tell",
",",
"even",
"without",
"aliasing",
"information",
",",
"that",
"two",
"MIs",
"access",
"different",
"memory",
"addresses",
"."
] | [
"AArch64",
"AArch64",
"0",
"0",
"0",
"0",
"\"MIa must be a load or store.\"",
"\"MIb must be a load or store.\""
] | AArch64InstrInfo104 | areMemAccessesTriviallyDisjoint | AArch64 | CPU | LLVM | 29,676 | 200 | 1 | [] |
[
"<s>",
"void",
"MBlazeFrameLowering",
"::",
"eliminateCallFramePseudoInstr",
"(",
"MachineFunction",
"&",
"MF",
",",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"I",
")",
"const",
"{",
"const",
"MBlazeInstrInfo",
"&",
"TII",
"=",
"... | [
"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",
")",
"."
] | [
"MBlaze",
"MBlaze",
"MBlaze",
"MBlaze",
"0",
"4",
"0",
"1",
"MBlaze::ADJCALLSTACKDOWN",
"MBlaze::ADDIK",
"MBlaze::R1",
"MBlaze::R1",
"MBlaze::ADJCALLSTACKUP",
"MBlaze::ADDIK",
"MBlaze::R1",
"MBlaze::R1"
] | MBlazeFrameLowering | eliminateCallFramePseudoInstr | MBlaze | MPU | LLVM | 29,677 | 233 | 1 | [] |
[
"<s>",
"HOST_WIDE_INT",
"mips_initial_elimination_offset",
"(",
"int",
"from",
",",
"int",
"to",
")",
"{",
"HOST_WIDE_INT",
"offset",
";",
"mips_compute_frame_info",
"(",
")",
";",
"switch",
"(",
"from",
")",
"{",
"case",
"FRAME_POINTER_REGNUM",
":",
"if",
"(",
... | [
"Implement",
"INITIAL_ELIMINATION_OFFSET",
".",
"FROM",
"is",
"either",
"the",
"frame",
"pointer",
"or",
"argument",
"pointer",
".",
"TO",
"is",
"either",
"the",
"stack",
"pointer",
"or",
"hard",
"frame",
"pointer",
"."
] | [
"mips",
"0"
] | mips | mips_initial_elimination_offset | mips | CPU | GCC | 29,678 | 106 | 1 | [] |
[
"<s>",
"void",
"NVPTXTargetLowering",
"::",
"ReplaceNodeResults",
"(",
"SDNode",
"*",
"N",
",",
"SmallVectorImpl",
"<",
"SDValue",
">",
"&",
"Results",
",",
"SelectionDAG",
"&",
"DAG",
")",
"const",
"{",
"switch",
"(",
"N",
"->",
"getOpcode",
"(",
")",
")"... | [
"ReplaceNodeResults",
"-",
"Replace",
"the",
"results",
"of",
"node",
"with",
"an",
"illegal",
"result",
"type",
"with",
"new",
"values",
"built",
"out",
"of",
"custom",
"code",
"."
] | [
"NVPTX",
"NVPTX",
"\"Unhandled custom legalization\"",
"ISD::LOAD",
"ISD::INTRINSIC_W_CHAIN"
] | NVPTXISelLowering (2) | ReplaceNodeResults | NVPTX | GPU | LLVM | 29,679 | 72 | 1 | [] |
[
"<s>",
"static",
"void",
"msp430_print_operand_raw",
"(",
"FILE",
"*",
"file",
",",
"rtx",
"op",
")",
"{",
"HOST_WIDE_INT",
"i",
";",
"switch",
"(",
"GET_CODE",
"(",
"op",
")",
")",
"{",
"case",
"REG",
":",
"fprintf",
"(",
"file",
",",
"\"%s\"",
",",
... | [
"Common",
"code",
"for",
"msp430_print_operand",
"..."
] | [
"msp430",
"\"%s\"",
"\"%#\"",
"\"x\"",
"\"%\"",
"\"d\""
] | msp430 | msp430_print_operand_raw | msp430 | MPU | GCC | 29,680 | 119 | 1 | [] |
[
"<s>",
"unsigned",
"PPCFrameLowering",
"::",
"determineFrameLayout",
"(",
"MachineFunction",
"&",
"MF",
",",
"bool",
"UpdateMF",
",",
"bool",
"UseEstimate",
")",
"const",
"{",
"MachineFrameInfo",
"*",
"MFI",
"=",
"MF",
".",
"getFrameInfo",
"(",
")",
";",
"unsi... | [
"Determine",
"the",
"frame",
"layout",
"but",
"do",
"not",
"update",
"the",
"machine",
"function",
"."
] | [
"PowerPC",
"PPC",
"1",
"PPC",
"PPC",
"PPC",
"0",
"224",
"0",
"0",
"PPC"
] | PPCFrameLowering41 | determineFrameLayout | PowerPC | CPU | LLVM | 29,681 | 305 | 1 | [] |
[
"<s>",
"bool",
"AMDGPUAsmParser",
"::",
"isInlineConstant",
"(",
"const",
"MCInst",
"&",
"Inst",
",",
"unsigned",
"OpIdx",
")",
"const",
"{",
"const",
"MCInstrDesc",
"&",
"Desc",
"=",
"MII",
".",
"get",
"(",
"Inst",
".",
"getOpcode",
"(",
")",
")",
";",
... | [
"returns",
"true",
"if",
"the",
"operand",
"OpIdx",
"in",
"MI",
"is",
"a",
"valid",
"inline",
"immediate",
"."
] | [
"AMDGPU",
"AMDGPU",
"AMDGPU::isSISrcOperand",
"AMDGPU::getOperandSize",
"8",
"AMDGPU::isInlinableLiteral64",
"4",
"AMDGPU::isInlinableLiteral32",
"2",
"AMDGPU::OPERAND_REG_INLINE_C_V2INT16",
"AMDGPU::OPERAND_REG_INLINE_C_V2FP16",
"AMDGPU::isInlinableLiteralV216",
"AMDGPU::isInlinableLiteral1... | AMDGPUAsmParser14 | isInlineConstant | AMDGPU | GPU | LLVM | 29,682 | 186 | 1 | [] |
[
"<s>",
"static",
"bool",
"alpha_vms_can_eliminate",
"(",
"const",
"int",
"from",
"ATTRIBUTE_UNUSED",
",",
"const",
"int",
"to",
")",
"{",
"switch",
"(",
"alpha_procedure_type",
")",
"{",
"case",
"PT_NULL",
":",
"return",
"to",
"==",
"STACK_POINTER_REGNUM",
";",
... | [
"Worker",
"function",
"for",
"TARGET_CAN_ELIMINATE",
"."
] | [
"alpha"
] | alpha | alpha_vms_can_eliminate | alpha | MPU | GCC | 29,683 | 50 | 1 | [] |
[
"<s>",
"bool",
"X86TargetLowering",
"::",
"isLegalAddressingMode",
"(",
"const",
"DataLayout",
"&",
"DL",
",",
"const",
"AddrMode",
"&",
"AM",
",",
"Type",
"*",
"Ty",
",",
"unsigned",
"AS",
")",
"const",
"{",
"CodeModel",
"::",
"Model",
"M",
"=",
"getTarge... | [
"isLegalAddressingMode",
"-",
"Return",
"true",
"if",
"the",
"addressing",
"mode",
"represented",
"by",
"AM",
"is",
"legal",
"for",
"this",
"target",
",",
"for",
"a",
"load/store",
"of",
"the",
"specified",
"type",
"."
] | [
"X86",
"X86",
"X86::isOffsetSuitableForCodeModel",
"1",
"0",
"1",
"2",
"4",
"8",
"3",
"5",
"9"
] | X86ISelLowering149 | isLegalAddressingMode | X86 | CPU | LLVM | 29,684 | 212 | 1 | [] |
[
"<s>",
"HexagonGOTEntry",
"*",
"HexagonGOT",
"::",
"create",
"(",
")",
"{",
"return",
"new",
"HexagonGOTEntry",
"(",
"0",
",",
"m_SectionData",
")",
";",
"}",
"</s>"
] | [
"This",
"creates",
"an",
"identified",
"struct",
"."
] | [
"Hexagon",
"Hexagon",
"HexagonGOT::create",
"Hexagon",
"0"
] | HexagonGOT | create | Hexagon | DSP | LLVM | 29,685 | 18 | 1 | [] |
[
"<s>",
"unsigned",
"AArch64TargetLowering",
"::",
"getByValTypeAlignment",
"(",
"Type",
"*",
"Ty",
")",
"const",
"{",
"return",
"4",
";",
"}",
"</s>"
] | [
"Return",
"the",
"desired",
"alignment",
"for",
"ByVal",
"aggregate",
"function",
"arguments",
"in",
"the",
"caller",
"parameter",
"area",
"."
] | [
"AArch64",
"AArch64",
"4"
] | AArch64ISelLowering109 | getByValTypeAlignment | AArch64 | CPU | LLVM | 29,686 | 15 | 1 | [] |
[
"<s>",
"MachineBasicBlock",
"::",
"iterator",
"AArch64FrameLowering",
"::",
"eliminateCallFramePseudoInstr",
"(",
"MachineFunction",
"&",
"MF",
",",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"I",
")",
"const",
"{",
"const",
"AArch64I... | [
"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",
")",
"."
] | [
"AArch64",
"AArch64",
"AArch64",
"AArch64",
"1",
"0",
"0",
"0",
"0xffffff",
"0xffffff",
"\"call frame too large\"",
"AArch64::SP",
"AArch64::SP",
"0",
"0xffffff",
"\"call frame too large\"",
"AArch64::SP",
"AArch64::SP"
] | AArch64FrameLowering (2)1 | eliminateCallFramePseudoInstr | AArch64 | CPU | LLVM | 29,687 | 242 | 1 | [] |
[
"<s>",
"const",
"WebAssemblySubtarget",
"*",
"WebAssemblyTargetMachine",
"::",
"getSubtargetImpl",
"(",
"const",
"Function",
"&",
"F",
")",
"const",
"{",
"Attribute",
"CPUAttr",
"=",
"F",
".",
"getFnAttribute",
"(",
"\"target-cpu\"",
")",
";",
"Attribute",
"FSAttr... | [
"Virtual",
"method",
"implemented",
"by",
"subclasses",
"that",
"returns",
"a",
"reference",
"to",
"that",
"target",
"'s",
"TargetSubtargetInfo-derived",
"member",
"variable",
"."
] | [
"WebAssembly",
"WebAssembly",
"WebAssembly",
"\"target-cpu\"",
"\"target-features\"",
"WebAssembly"
] | WebAssemblyTargetMachine2 | getSubtargetImpl | WebAssembly | Virtual ISA | LLVM | 29,688 | 136 | 1 | [] |
[
"<s>",
"bool",
"MipsRegisterInfo",
"::",
"trackLivenessAfterRegAlloc",
"(",
"const",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"return",
"true",
";",
"}",
"</s>"
] | [
"Returns",
"true",
"if",
"the",
"live-ins",
"should",
"be",
"tracked",
"after",
"register",
"allocation",
"."
] | [
"Mips",
"Mips"
] | MipsRegisterInfo (2)1 | trackLivenessAfterRegAlloc | Mips | CPU | LLVM | 29,689 | 16 | 1 | [] |
[
"<s>",
"bool",
"X86InstrInfo",
"::",
"analyzeBranchPredicate",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBranchPredicate",
"&",
"MBP",
",",
"bool",
"AllowModify",
")",
"const",
"{",
"using",
"namespace",
"std",
"::",
"placeholders",
";",
"SmallVector",
"<... | [
"Analyze",
"the",
"branching",
"code",
"at",
"the",
"end",
"of",
"MBB",
"and",
"parse",
"it",
"into",
"the",
"MachineBranchPredicate",
"structure",
"if",
"possible",
"."
] | [
"X86",
"X86",
"4",
"4",
"1",
"\"expected!\"",
"X86::EFLAGS",
"X86::EFLAGS",
"X86::EFLAGS",
"X86::TEST64rr",
"X86::TEST32rr",
"3",
"0",
"1",
"0",
"X86::COND_NE",
"0",
"X86::COND_E",
"0",
"0",
"0",
"X86::COND_NE"
] | X86InstrInfo (2)1 | analyzeBranchPredicate | X86 | CPU | LLVM | 29,690 | 388 | 1 | [] |
[
"<s>",
"bool",
"RISCVTargetLowering",
"::",
"shouldExtendTypeInLibCall",
"(",
"EVT",
"Type",
")",
"const",
"{",
"RISCVABI",
"::",
"ABI",
"ABI",
"=",
"Subtarget",
".",
"getTargetABI",
"(",
")",
";",
"if",
"(",
"ABI",
"==",
"RISCVABI",
"::",
"ABI_LP64",
"&&",
... | [
"Returns",
"true",
"if",
"arguments",
"should",
"be",
"extended",
"in",
"lib",
"calls",
"."
] | [
"RI5CY",
"RISCV",
"RISCVABI::ABI",
"RISCVABI::ABI_LP64",
"MVT::f32"
] | RISCVISelLowering | shouldExtendTypeInLibCall | RI5CY | CPU | LLVM | 29,691 | 44 | 1 | [] |
[
"<s>",
"void",
"assignValueToAddress",
"(",
"Register",
"ValVReg",
",",
"Register",
"Addr",
",",
"uint64_t",
"Size",
",",
"MachinePointerInfo",
"&",
"MPO",
",",
"CCValAssign",
"&",
"VA",
")",
"override",
"{",
"MachineFunction",
"&",
"MF",
"=",
"MIRBuilder",
".... | [
"An",
"overload",
"which",
"takes",
"an",
"ArgInfo",
"if",
"additional",
"information",
"about",
"the",
"arg",
"is",
"needed",
"."
] | [
"AMDGPU"
] | AMDGPUCallLowering30 | assignValueToAddress | AMDGPU | GPU | LLVM | 29,692 | 77 | 1 | [] |
[
"<s>",
"TargetPassConfig",
"*",
"Cpu0TargetMachine",
"::",
"createPassConfig",
"(",
"PassManagerBase",
"&",
"PM",
")",
"{",
"return",
"new",
"Cpu0PassConfig",
"(",
"*",
"this",
",",
"PM",
")",
";",
"}",
"</s>"
] | [
"Create",
"a",
"pass",
"configuration",
"object",
"to",
"be",
"used",
"by",
"addPassToEmitX",
"methods",
"for",
"generating",
"a",
"pipeline",
"of",
"CodeGen",
"passes",
"."
] | [
"Cpu0",
"Cpu0",
"Cpu0"
] | Cpu0TargetMachine | createPassConfig | Cpu0 | CPU | LLVM | 29,693 | 22 | 1 | [] |
[
"<s>",
"void",
"AMDGPUAsmPrinter",
"::",
"emitFunctionEntryLabel",
"(",
")",
"{",
"if",
"(",
"IsaInfo",
"::",
"hasCodeObjectV3",
"(",
"getGlobalSTI",
"(",
")",
")",
"&&",
"TM",
".",
"getTargetTriple",
"(",
")",
".",
"getOS",
"(",
")",
"==",
"Triple",
"::",... | [
"EmitFunctionEntryLabel",
"-",
"Emit",
"the",
"label",
"that",
"is",
"the",
"entrypoint",
"for",
"the",
"function",
"."
] | [
"AMDGPU",
"AMDGPU",
"SI",
"SI",
"128",
"AMDGPU",
"AMDGPU",
"\":\"",
"\"\""
] | AMDGPUAsmPrinter17 | emitFunctionEntryLabel | AMDGPU | GPU | LLVM | 29,694 | 178 | 1 | [] |
[
"<s>",
"bool",
"MipsLongBranch",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"F",
")",
"{",
"const",
"MipsInstrInfo",
"*",
"TII",
"=",
"static_cast",
"<",
"const",
"MipsInstrInfo",
"*",
">",
"(",
"TM",
".",
"getInstrInfo",
"(",
")",
")",
";",
... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"Mips",
"Mips",
"Mips",
"Mips",
"Mips",
"Mips",
"Mips",
"Mips",
"Mips",
"Mips",
"Mips",
"2",
"4",
"Mips",
"2",
"16",
"4",
"0"
] | MipsLongBranch12 | runOnMachineFunction | Mips | CPU | LLVM | 29,695 | 377 | 1 | [] |
[
"<s>",
"bool",
"X86FrameLowering",
"::",
"canUseLEAForSPInEpilogue",
"(",
"const",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"return",
"!",
"MF",
".",
"getTarget",
"(",
")",
".",
"getMCAsmInfo",
"(",
")",
"->",
"usesWindowsCFI",
"(",
")",
"||",
"hasFP... | [
"Check",
"that",
"LEA",
"can",
"be",
"used",
"on",
"SP",
"in",
"an",
"epilogue",
"sequence",
"for",
"MF",
"."
] | [
"X86",
"X86"
] | X86FrameLowering (2)2 | canUseLEAForSPInEpilogue | X86 | CPU | LLVM | 29,696 | 34 | 1 | [] |
[
"<s>",
"bool",
"AArch64DeadRegisterDefinitions",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"{",
"if",
"(",
"skipFunction",
"(",
"MF",
".",
"getFunction",
"(",
")",
")",
")",
"return",
"false",
";",
"TRI",
"=",
"MF",
".",
"getSubta... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"AArch64",
"AArch64",
"\"***** AArch64DeadRegisterDefinitions *****\\n\""
] | AArch64DeadRegisterDefinitionsPass5 | runOnMachineFunction | AArch64 | CPU | LLVM | 29,697 | 87 | 1 | [] |
[
"<s>",
"void",
"NyuziInstPrinter",
"::",
"printInst",
"(",
"const",
"MCInst",
"*",
"MI",
",",
"raw_ostream",
"&",
"O",
",",
"StringRef",
"Annot",
",",
"const",
"MCSubtargetInfo",
"&",
"STI",
")",
"{",
"if",
"(",
"MI",
"->",
"getOpcode",
"(",
")",
"==",
... | [
"Print",
"the",
"specified",
"MCInst",
"to",
"the",
"specified",
"raw_ostream",
"."
] | [
"Nyuzi",
"Nyuzi",
"Nyuzi::ORSSI",
"0",
"0",
"Nyuzi::S0",
"1",
"1",
"Nyuzi::S0",
"2",
"2",
"0",
"\"\\tnop\""
] | NyuziInstPrinter | printInst | Nyuzi | GPU | LLVM | 29,698 | 134 | 1 | [] |
[
"<s>",
"const",
"char",
"*",
"HexagonRelocator",
"::",
"getName",
"(",
"Relocation",
"::",
"Type",
"pType",
")",
"const",
"{",
"return",
"ApplyFunctions",
"[",
"pType",
"]",
".",
"name",
";",
"}",
"</s>"
] | [
"Return",
"a",
"string",
"with",
"the",
"name",
"of",
"the",
"plan",
"and",
"the",
"applicable",
"VFs",
"and",
"UFs",
"."
] | [
"Hexagon",
"Hexagon"
] | HexagonRelocator | getName | Hexagon | DSP | LLVM | 29,699 | 23 | 1 | [] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.