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>",
"char",
"*",
"aarch64_output_simd_mov_immediate",
"(",
"rtx",
"const_vector",
",",
"machine_mode",
"mode",
",",
"unsigned",
"width",
")",
"{",
"bool",
"is_valid",
";",
"static",
"char",
"templ",
"[",
"40",
"]",
";",
"const",
"char",
"*",
"mnemonic",
"... | [
"Returns",
"the",
"string",
"with",
"the",
"instruction",
"for",
"AdvSIMD",
"MOVI",
",",
"MVNI",
",",
"ORR",
"or",
"BIC",
"immediate",
"with",
"a",
"CONST_VECTOR",
"of",
"MODE",
"and",
"WIDTH",
".",
"WHICH",
"selects",
"whether",
"to",
"output",
"MOVI/MVNI",... | [
"aarch64",
"40",
"0",
"0",
"0",
"0",
"0",
"1",
"1",
"\"fmov\\t%%d0, %s\"",
"\"fmov\\t%%0.%d%c, %s\"",
"\"mvni\"",
"\"movi\"",
"\"msl\"",
"\"lsl\"",
"1",
"\"%s\\t%%d0, \"",
"\"%s\\t%%0.%d%c, \"",
"\", %s %d\"",
"\"%s\\t%%0.%d%c, \""
] | aarch642 | aarch64_output_simd_mov_immediate | aarch64 | CPU | GCC | 1,600 | 348 | 1 | [] |
[
"<s>",
"static",
"unsigned",
"int",
"ix86_compat_function_arg_boundary",
"(",
"machine_mode",
"mode",
",",
"const_tree",
"type",
",",
"unsigned",
"int",
"align",
")",
"{",
"if",
"(",
"!",
"TARGET_64BIT",
"&&",
"mode",
"!=",
"TDmode",
"&&",
"mode",
"!=",
"TFmod... | [
"Return",
"the",
"alignment",
"boundary",
"for",
"MODE",
"and",
"TYPE",
"with",
"alignment",
"ALIGN",
".",
"XXX",
":",
"This",
"function",
"is",
"obsolete",
"and",
"is",
"only",
"used",
"for",
"checking",
"psABI",
"compatibility",
"with",
"previous",
"versions... | [
"i386"
] | i386 | ix86_compat_function_arg_boundary | i386 | CPU | GCC | 1,601 | 83 | 1 | [] |
[
"<s>",
"void",
"thumb_expand_prologue",
"(",
")",
"{",
"HOST_WIDE_INT",
"amount",
"=",
"(",
"get_frame_size",
"(",
")",
"+",
"current_function_outgoing_args_size",
")",
";",
"unsigned",
"long",
"func_type",
";",
"func_type",
"=",
"arm_current_func_type",
"(",
")",
... | [
"Generate",
"the",
"rest",
"of",
"a",
"function",
"'s",
"prologue",
"."
] | [
"arm",
"\"interrupt Service Routines cannot be coded in Thumb mode\"",
"512",
"1"
] | arm2 | thumb_expand_prologue | arm | CPU | GCC | 1,602 | 308 | 1 | [] |
[
"<s>",
"static",
"const",
"char",
"*",
"shift_op",
"(",
"rtx",
"op",
",",
"HOST_WIDE_INT",
"*",
"amountp",
")",
"{",
"const",
"char",
"*",
"mnem",
";",
"enum",
"rtx_code",
"code",
"=",
"GET_CODE",
"(",
"op",
")",
";",
"switch",
"(",
"GET_CODE",
"(",
... | [
"Ensure",
"valid",
"constant",
"shifts",
"and",
"return",
"the",
"appropriate",
"shift",
"mnemonic",
"for",
"the",
"operation",
"code",
".",
"The",
"returned",
"result",
"should",
"not",
"be",
"overwritten",
".",
"OP",
"is",
"the",
"rtx",
"code",
"of",
"the"... | [
"arm",
"1",
"1",
"1",
"\"asl\"",
"\"asr\"",
"\"lsr\"",
"1",
"32",
"\"ror\"",
"1",
"\"asl\"",
"1",
"31",
"31",
"\"lsr\"",
"32",
"0"
] | arm3 | shift_op | arm | CPU | GCC | 1,603 | 237 | 1 | [] |
[
"<s>",
"static",
"inline",
"HOST_WIDE_INT",
"htm_spr_regno",
"(",
"enum",
"rs6000_builtins",
"code",
")",
"{",
"if",
"(",
"code",
"==",
"HTM_BUILTIN_GET_TFHAR",
"||",
"code",
"==",
"HTM_BUILTIN_SET_TFHAR",
")",
"return",
"TFHAR_REGNO",
";",
"else",
"if",
"(",
"c... | [
"Return",
"the",
"appropriate",
"SPR",
"regno",
"associated",
"with",
"the",
"given",
"builtin",
"."
] | [
"powerpcspe"
] | powerpcspe | htm_spr_regno | powerpcspe | CPU | GCC | 1,604 | 60 | 1 | [] |
[
"<s>",
"static",
"void",
"do_load_for_compare",
"(",
"rtx",
"reg",
",",
"rtx",
"mem",
",",
"machine_mode",
"mode",
")",
"{",
"switch",
"(",
"GET_MODE",
"(",
"reg",
")",
")",
"{",
"case",
"E_DImode",
":",
"switch",
"(",
"mode",
")",
"{",
"case",
"E_QImo... | [
"Figure",
"out",
"the",
"correct",
"instructions",
"to",
"generate",
"to",
"load",
"data",
"for",
"block",
"compare",
".",
"MODE",
"is",
"used",
"for",
"the",
"read",
"from",
"memory",
",",
"and",
"data",
"is",
"zero",
"extended",
"if",
"REG",
"is",
"wid... | [
"rs6000"
] | rs6000-string2 | do_load_for_compare | rs6000 | CPU | GCC | 1,605 | 305 | 1 | [] |
[
"<s>",
"bool",
"PPCFrameLowering",
"::",
"spillCalleeSavedRegisters",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"MI",
",",
"const",
"std",
"::",
"vector",
"<",
"CalleeSavedInfo",
">",
"&",
"CSI",
",",
"const",
"TargetRegiste... | [
"spillCalleeSavedRegisters",
"-",
"Issues",
"instruction",
"(",
"s",
")",
"to",
"spill",
"all",
"callee",
"saved",
"registers",
"and",
"returns",
"true",
"if",
"it",
"is",
"n't",
"possible",
"/",
"profitable",
"to",
"do",
"so",
"by",
"issuing",
"a",
"series"... | [
"PowerPC",
"PPC",
"PPC",
"PPC",
"0",
"PPC::CR2",
"PPC::CR4",
"PPC",
"PPC::MFCR",
"PPC::X12",
"PPC::STW",
"PPC::X12",
"8",
"PPC::X1",
"PPC::MFCR",
"PPC::R12",
"PPC::STW",
"PPC::R12",
"PPC",
"PPC"
] | PPCFrameLowering | spillCalleeSavedRegisters | PowerPC | CPU | LLVM | 1,606 | 390 | 1 | [] |
[
"<s>",
"static",
"struct",
"constant_pool",
"*",
"s390_mainpool_start",
"(",
"void",
")",
"{",
"struct",
"constant_pool",
"*",
"pool",
";",
"rtx",
"insn",
";",
"pool",
"=",
"s390_alloc_pool",
"(",
")",
";",
"for",
"(",
"insn",
"=",
"get_insns",
"(",
")",
... | [
"Collect",
"main",
"literal",
"pool",
".",
"Return",
"NULL",
"on",
"overflow",
"."
] | [
"s390",
"1",
"0",
"4096"
] | s3903 | s390_mainpool_start | s390 | MPU | GCC | 1,607 | 234 | 1 | [] |
[
"<s>",
"MipsSubtarget",
"&",
"MipsSubtarget",
"::",
"initializeSubtargetDependencies",
"(",
"StringRef",
"CPU",
",",
"StringRef",
"FS",
",",
"const",
"TargetMachine",
"&",
"TM",
")",
"{",
"std",
"::",
"string",
"CPUName",
"=",
"MIPS_MC",
"::",
"selectMipsCPU",
"... | [
"initializeSubtargetDependencies",
"-",
"Initializes",
"using",
"a",
"CPU",
",",
"a",
"TuneCPU",
",",
"and",
"feature",
"string",
"so",
"that",
"we",
"can",
"use",
"initializer",
"lists",
"for",
"subtarget",
"initialization",
"."
] | [
"Mips",
"Mips",
"Mips",
"MIPS_MC::selectMipsCPU",
"Mips",
"Mips"
] | MipsSubtarget (2)1 | initializeSubtargetDependencies | Mips | CPU | LLVM | 1,608 | 66 | 1 | [] |
[
"<s>",
"unsigned",
"MipsCodeEmitter",
"::",
"getMachineOpValue",
"(",
"const",
"MachineInstr",
"&",
"MI",
",",
"const",
"MachineOperand",
"&",
"MO",
")",
"const",
"{",
"if",
"(",
"MO",
".",
"isReg",
"(",
")",
")",
"return",
"TM",
".",
"getRegisterInfo",
"(... | [
"getMachineOpValue",
"-",
"Return",
"binary",
"encoding",
"of",
"operand",
"."
] | [
"Mips",
"Mips",
"\"Unable to encode MachineOperand!\"",
"0"
] | MipsCodeEmitter | getMachineOpValue | Mips | CPU | LLVM | 1,609 | 200 | 1 | [] |
[
"<s>",
"void",
"mips_expand_vec_cond_expr",
"(",
"machine_mode",
"mode",
",",
"machine_mode",
"vimode",
",",
"rtx",
"*",
"operands",
")",
"{",
"rtx",
"cond",
"=",
"operands",
"[",
"3",
"]",
";",
"rtx",
"cmp_op0",
"=",
"operands",
"[",
"4",
"]",
";",
"rtx... | [
"Expand",
"VEC_COND_EXPR",
",",
"where",
":",
"MODE",
"is",
"mode",
"of",
"the",
"result",
"VIMODE",
"equivalent",
"integer",
"mode",
"OPERANDS",
"operands",
"of",
"VEC_COND_EXPR",
"."
] | [
"mips",
"3",
"4",
"5",
"1",
"2",
"0",
"1",
"1",
"1",
"0",
"1",
"2",
"2",
"2",
"0",
"2",
"0",
"0"
] | mips6 | mips_expand_vec_cond_expr | mips | CPU | GCC | 1,610 | 355 | 1 | [] |
[
"<s>",
"void",
"SICFrameLowering",
"::",
"determineCalleeSaves",
"(",
"MachineFunction",
"&",
"MF",
",",
"BitVector",
"&",
"SavedRegs",
",",
"RegScavenger",
"*",
"RS",
")",
"const",
"{",
"TargetFrameLowering",
"::",
"determineCalleeSaves",
"(",
"MF",
",",
"SavedRe... | [
"This",
"method",
"determines",
"which",
"of",
"the",
"registers",
"reported",
"by",
"TargetRegisterInfo",
":",
":getCalleeSavedRegs",
"(",
")",
"should",
"actually",
"get",
"saved",
"."
] | [
"SIC",
"SIC",
"SIC",
"SIC",
"SIC",
"SIC::L"
] | SICFrameLowering | determineCalleeSaves | SIC | CPU | LLVM | 1,611 | 79 | 1 | [] |
[
"<s>",
"const",
"char",
"*",
"msp430_select_hwmult_lib",
"(",
"int",
"argc",
"ATTRIBUTE_UNUSED",
",",
"const",
"char",
"*",
"*",
"argv",
"ATTRIBUTE_UNUSED",
")",
"{",
"int",
"i",
";",
"switch",
"(",
"argc",
")",
"{",
"case",
"1",
":",
"if",
"(",
"strcase... | [
"Implement",
"spec",
"function",
"`",
"msp430_hwmult_lib麓",
"."
] | [
"msp430",
"1",
"0",
"\"default\"",
"\"unexpected argument to %<msp430_select_hwmult_lib%>: %s\"",
"0",
"0",
"\"hwmult\"",
"0",
"\"none\"",
"\"-lmul_none\"",
"\"auto\"",
"\"-lmul_AUTO\"",
"\"16bit\"",
"\"-lmul_16\"",
"\"32bit\"",
"\"-lmul_32\"",
"\"f5series\"",
"\"-lmul_f5\"",
"... | driver-msp430 | msp430_select_hwmult_lib | msp430 | MPU | GCC | 1,612 | 271 | 1 | [] |
[
"<s>",
"void",
"XCoreAsmPrinter",
"::",
"emitFunctionBodyEnd",
"(",
")",
"{",
"getTargetStreamer",
"(",
")",
".",
"emitCCBottomFunction",
"(",
"CurrentFnSym",
"->",
"getName",
"(",
")",
")",
";",
"}",
"</s>"
] | [
"Targets",
"can",
"override",
"this",
"to",
"emit",
"stuff",
"after",
"the",
"last",
"basic",
"block",
"in",
"the",
"function",
"."
] | [
"XCore",
"XCore"
] | XCoreAsmPrinter10 | emitFunctionBodyEnd | XCore | MPU | LLVM | 1,613 | 21 | 1 | [] |
[
"<s>",
"bool",
"AArch64DAGToDAGISel",
"::",
"SelectInlineAsmMemoryOperand",
"(",
"const",
"SDValue",
"&",
"Op",
",",
"unsigned",
"ConstraintID",
",",
"std",
"::",
"vector",
"<",
"SDValue",
">",
"&",
"OutOps",
")",
"{",
"switch",
"(",
"ConstraintID",
")",
"{",
... | [
"SelectInlineAsmMemoryOperand",
"-",
"Select",
"the",
"specified",
"address",
"as",
"a",
"target",
"addressing",
"mode",
",",
"according",
"to",
"the",
"specified",
"constraint",
"."
] | [
"AArch64",
"AArch64",
"\"Unexpected asm memory constraint\""
] | AArch64ISelDAGToDAG | SelectInlineAsmMemoryOperand | AArch64 | CPU | LLVM | 1,614 | 65 | 1 | [] |
[
"<s>",
"tree",
"xtensa_build_va_list",
"(",
"void",
")",
"{",
"tree",
"f_stk",
",",
"f_reg",
",",
"f_ndx",
",",
"record",
";",
"record",
"=",
"make_node",
"(",
"RECORD_TYPE",
")",
";",
"f_stk",
"=",
"build_decl",
"(",
"FIELD_DECL",
",",
"get_identifier",
"... | [
"Create",
"the",
"va_list",
"data",
"type",
".",
"This",
"structure",
"is",
"set",
"up",
"by",
"__builtin_saveregs",
".",
"The",
"__va_reg",
"field",
"points",
"to",
"a",
"stack-allocated",
"region",
"holding",
"the",
"contents",
"of",
"the",
"incoming",
"argu... | [
"xtensa",
"\"__va_stk\"",
"\"__va_reg\"",
"\"__va_ndx\""
] | xtensa2 | xtensa_build_va_list | xtensa | MPU | GCC | 1,615 | 115 | 1 | [] |
[
"<s>",
"bool",
"FixupBWInstPass",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"{",
"if",
"(",
"!",
"FixupBWInsts",
"||",
"skipFunction",
"(",
"*",
"MF",
".",
"getFunction",
"(",
")",
")",
")",
"return",
"false",
";",
"this",
"->",... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"X86",
"X86",
"\"Start X86FixupBWInsts\\n\"",
"\"End X86FixupBWInsts\\n\""
] | X86FixupBWInsts17 | runOnMachineFunction | X86 | CPU | LLVM | 1,616 | 122 | 1 | [] |
[
"<s>",
"int",
"gr5_hazard_bypass_p",
"(",
"rtx_insn",
"*",
"out_insn",
",",
"rtx_insn",
"*",
"in_insn",
")",
"{",
"rtx",
"out_set",
",",
"in_set",
",",
"dest",
",",
"memexpr",
";",
"unsigned",
"int",
"out_reg",
",",
"in_reg",
";",
"if",
"(",
"GET_CODE",
... | [
"This",
"is",
"called",
"with",
"OUT_INSN",
"an",
"instruction",
"setting",
"a",
"(",
"base",
")",
"register",
"and",
"IN_INSN",
"a",
"read",
"or",
"a",
"write",
".",
"Return",
"1",
"if",
"these",
"instructions",
"together",
"constitute",
"a",
"pipeline",
... | [
"visium",
"0",
"0",
"0",
"0",
"0",
"0",
"1",
"0",
"1",
"0"
] | visium | gr5_hazard_bypass_p | visium | Virtual ISA | GCC | 1,617 | 267 | 1 | [] |
[
"<s>",
"unsigned",
"AArch64InstrInfo",
"::",
"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",
"."
] | [
"AArch64",
"AArch64",
"AArch64::INLINEASM",
"AArch64::INLINEASM_BR",
"0",
"0",
"0",
"4",
"4",
"0",
"\"Invalid number of NOP bytes requested!\"",
"4",
"0",
"\"Invalid number of NOP bytes requested!\"",
"AArch64::TLSDESC_CALLSEQ",
"16",
"AArch64::JumpTableDest32",
"AArch64::JumpTable... | AArch64InstrInfo104 | getInstSizeInBytes | AArch64 | CPU | LLVM | 1,618 | 254 | 1 | [] |
[
"<s>",
"bool",
"ARMBaseRegisterInfo",
"::",
"canRealignStack",
"(",
"const",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"const",
"MachineFrameInfo",
"*",
"MFI",
"=",
"MF",
".",
"getFrameInfo",
"(",
")",
";",
"const",
"ARMFunctionInfo",
"*",
"AFI",
"=",
... | [
"True",
"if",
"the",
"stack",
"can",
"be",
"realigned",
"for",
"the",
"target",
"."
] | [
"ARM",
"ARM",
"ARM",
"ARM"
] | ARMBaseRegisterInfo12 | canRealignStack | ARM | CPU | LLVM | 1,619 | 57 | 1 | [] |
[
"<s>",
"ScheduleDAGInstrs",
"*",
"createMachineScheduler",
"(",
"MachineSchedContext",
"*",
"C",
")",
"const",
"override",
"{",
"return",
"createTPCMachineScheduler",
"(",
"C",
")",
";",
"}",
"</s>"
] | [
"Create",
"an",
"instance",
"of",
"ScheduleDAGInstrs",
"to",
"be",
"run",
"within",
"the",
"standard",
"MachineScheduler",
"pass",
"for",
"this",
"function",
"and",
"target",
"at",
"the",
"current",
"optimization",
"level",
"."
] | [
"TPC",
"TPC"
] | TPCTargetMachine | createMachineScheduler | TPC | Virtual ISA | LLVM | 1,620 | 18 | 1 | [] |
[
"<s>",
"static",
"machine_mode",
"ix86_cc_modes_compatible",
"(",
"machine_mode",
"m1",
",",
"machine_mode",
"m2",
")",
"{",
"if",
"(",
"m1",
"==",
"m2",
")",
"return",
"m1",
";",
"if",
"(",
"GET_MODE_CLASS",
"(",
"m1",
")",
"!=",
"MODE_CC",
"||",
"GET_MOD... | [
"If",
"two",
"condition",
"code",
"modes",
"are",
"compatible",
",",
"return",
"a",
"condition",
"code",
"mode",
"which",
"is",
"compatible",
"with",
"both",
".",
"Otherwise",
",",
"return",
"VOIDmode",
"."
] | [
"i386"
] | i386 | ix86_cc_modes_compatible | i386 | CPU | GCC | 1,621 | 229 | 1 | [] |
[
"<s>",
"void",
"X86PassConfig",
"::",
"addPreEmitPass",
"(",
")",
"{",
"if",
"(",
"getOptLevel",
"(",
")",
"!=",
"CodeGenOpt",
"::",
"None",
")",
"{",
"addPass",
"(",
"new",
"X86ExecutionDomainFix",
"(",
")",
")",
";",
"addPass",
"(",
"createBreakFalseDeps",... | [
"This",
"pass",
"may",
"be",
"implemented",
"by",
"targets",
"that",
"want",
"to",
"run",
"passes",
"immediately",
"before",
"machine",
"code",
"is",
"emitted",
"."
] | [
"X86",
"X86",
"X86",
"X86",
"X86",
"X86",
"X86",
"X86",
"X86"
] | X86TargetMachine101 | addPreEmitPass | X86 | CPU | LLVM | 1,622 | 100 | 1 | [] |
[
"<s>",
"unsigned",
"XCoreRegisterInfo",
"::",
"getFrameRegister",
"(",
"const",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"const",
"TargetFrameLowering",
"*",
"TFI",
"=",
"MF",
".",
"getTarget",
"(",
")",
".",
"getFrameLowering",
"(",
")",
";",
"return"... | [
"Debug",
"information",
"queries",
"."
] | [
"XCore",
"XCore",
"XCore::R10",
"XCore::SP"
] | XCoreRegisterInfo | getFrameRegister | XCore | MPU | LLVM | 1,623 | 44 | 1 | [] |
[
"<s>",
"void",
"AMDGPUSymbolizer",
"::",
"tryAddingPcLoadReferenceComment",
"(",
"raw_ostream",
"&",
"cStream",
",",
"int64_t",
"Value",
",",
"uint64_t",
"Address",
")",
"{",
"llvm_unreachable",
"(",
"\"unimplemented\"",
")",
";",
"}",
"</s>"
] | [
"Try",
"to",
"add",
"a",
"comment",
"on",
"the",
"PC-relative",
"load",
"."
] | [
"AMDGPU",
"AMDGPU",
"\"unimplemented\""
] | AMDGPUDisassembler (2) | tryAddingPcLoadReferenceComment | AMDGPU | GPU | LLVM | 1,624 | 22 | 1 | [] |
[
"<s>",
"SDValue",
"PPCTargetLowering",
"::",
"LowerCall",
"(",
"SDValue",
"Chain",
",",
"SDValue",
"Callee",
",",
"CallingConv",
"::",
"ID",
"CallConv",
",",
"bool",
"isVarArg",
",",
"bool",
"&",
"isTailCall",
",",
"const",
"SmallVectorImpl",
"<",
"ISD",
"::",... | [
"This",
"hook",
"must",
"be",
"implemented",
"to",
"lower",
"calls",
"into",
"the",
"specified",
"DAG",
"."
] | [
"PowerPC",
"PPC",
"ISD::OutputArg",
"ISD::InputArg",
"PPC",
"PPC",
"PPC"
] | PPCISelLowering107 | LowerCall | PowerPC | CPU | LLVM | 1,625 | 146 | 1 | [] |
[
"<s>",
"void",
"MipsSEFrameLowering",
"::",
"determineCalleeSaves",
"(",
"MachineFunction",
"&",
"MF",
",",
"BitVector",
"&",
"SavedRegs",
",",
"RegScavenger",
"*",
"RS",
")",
"const",
"{",
"TargetFrameLowering",
"::",
"determineCalleeSaves",
"(",
"MF",
",",
"Save... | [
"This",
"method",
"determines",
"which",
"of",
"the",
"registers",
"reported",
"by",
"TargetRegisterInfo",
":",
":getCalleeSavedRegs",
"(",
")",
"should",
"actually",
"get",
"saved",
"."
] | [
"Mips",
"Mips",
"Mips",
"Mips",
"Mips",
"Mips",
"Mips::S7_64",
"Mips::S7",
"Mips",
"Mips",
"Mips",
"Mips",
"Mips",
"Mips::GPR64RegClass",
"Mips::GPR32RegClass",
"Mips",
"16",
"Mips::GPR64RegClass",
"Mips::GPR32RegClass"
] | MipsSEFrameLowering19 | determineCalleeSaves | Mips | CPU | LLVM | 1,626 | 308 | 1 | [] |
[
"<s>",
"static",
"rtx",
"riscv_force_address",
"(",
"rtx",
"x",
",",
"enum",
"machine_mode",
"mode",
")",
"{",
"if",
"(",
"!",
"riscv_legitimate_address_p",
"(",
"mode",
",",
"x",
",",
"false",
")",
")",
"x",
"=",
"force_reg",
"(",
"Pmode",
",",
"x",
"... | [
"If",
"X",
"is",
"not",
"a",
"valid",
"address",
"for",
"mode",
"MODE",
",",
"force",
"it",
"into",
"a",
"register",
"."
] | [
"riscv"
] | riscv2 | riscv_force_address | riscv | CPU | GCC | 1,627 | 37 | 1 | [] |
[
"<s>",
"bool",
"BlackfinFrameLowering",
"::",
"hasFP",
"(",
"const",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"const",
"MachineFrameInfo",
"*",
"MFI",
"=",
"MF",
".",
"getFrameInfo",
"(",
")",
";",
"return",
"DisableFramePointerElim",
"(",
"MF",
")",
... | [
"hasFP",
"-",
"Return",
"true",
"if",
"the",
"specified",
"function",
"should",
"have",
"a",
"dedicated",
"frame",
"pointer",
"register",
"."
] | [
"Blackfin"
] | BlackfinFrameLowering1 | hasFP | Blackfin | DSP | LLVM | 1,628 | 42 | 1 | [] |
[
"<s>",
"void",
"tilegx_cpu_cpp_builtins",
"(",
"struct",
"cpp_reader",
"*",
"pfile",
")",
"{",
"builtin_define",
"(",
"\"__tile__\"",
")",
";",
"builtin_define",
"(",
"\"__tilegx__\"",
")",
";",
"builtin_define",
"(",
"\"__tile_chip__=10\"",
")",
";",
"builtin_defin... | [
"Implement",
"TARGET_CPU_CPP_BUILTINS",
"."
] | [
"tilegx",
"\"__tile__\"",
"\"__tilegx__\"",
"\"__tile_chip__=10\"",
"\"__tile_chip_rev__=0\"",
"\"cpu=tilegx\"",
"\"machine=tilegx\"",
"\"__tilegx32__\"",
"\"__GCC_HAVE_SYNC_COMPARE_AND_SWAP_1\"",
"\"__GCC_HAVE_SYNC_COMPARE_AND_SWAP_2\""
] | tilegx-c | tilegx_cpu_cpp_builtins | tilegx | VLIW | GCC | 1,629 | 67 | 1 | [] |
[
"<s>",
"static",
"bool",
"symbian_class_needs_attribute_p",
"(",
"tree",
"ctype",
",",
"const",
"char",
"*",
"attribute_name",
")",
"{",
"VEC",
"(",
"tree",
",",
"gc",
")",
"*",
"method_vec",
";",
"method_vec",
"=",
"CLASSTYPE_METHOD_VEC",
"(",
"ctype",
")",
... | [
"Decide",
"if",
"a",
"class",
"needs",
"to",
"have",
"an",
"attribute",
"because",
"one",
"of",
"its",
"member",
"functions",
"has",
"the",
"attribute",
"."
] | [
"sh",
"0",
"0",
"\"\"",
"0",
"\" inherits %s because\"",
"\"\"",
"0",
"\" has it.\\n\"",
"\"\"",
"0",
"\" does not inherit %s\\n\""
] | symbian | symbian_class_needs_attribute_p | sh | CPU | GCC | 1,630 | 243 | 1 | [] |
[
"<s>",
"static",
"int",
"avr_operand_rtx_cost",
"(",
"rtx",
"x",
",",
"machine_mode",
"mode",
",",
"enum",
"rtx_code",
"outer",
",",
"int",
"opno",
",",
"bool",
"speed",
")",
"{",
"enum",
"rtx_code",
"code",
"=",
"GET_CODE",
"(",
"x",
")",
";",
"int",
... | [
"Mutually",
"recursive",
"subroutine",
"of",
"avr_rtx_cost",
"for",
"calculating",
"the",
"cost",
"of",
"an",
"RTX",
"operand",
"given",
"its",
"context",
".",
"X",
"is",
"the",
"rtx",
"of",
"the",
"operand",
",",
"MODE",
"is",
"its",
"mode",
",",
"and",
... | [
"avr",
"0",
"0"
] | avr | avr_operand_rtx_cost | avr | MPU | GCC | 1,631 | 94 | 1 | [] |
[
"<s>",
"Register",
"SIRegisterInfo",
"::",
"getFrameRegister",
"(",
"const",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"const",
"SIFrameLowering",
"*",
"TFI",
"=",
"MF",
".",
"getSubtarget",
"<",
"GCNSubtarget",
">",
"(",
")",
".",
"getFrameLowering",
"... | [
"Debug",
"information",
"queries",
"."
] | [
"AMDGPU",
"SI",
"SI",
"SI",
"SI"
] | AMDGPURegisterInfo1 | getFrameRegister | AMDGPU | GPU | LLVM | 1,632 | 65 | 1 | [] |
[
"<s>",
"void",
"ARMTargetLowering",
"::",
"insertCopiesSplitCSR",
"(",
"MachineBasicBlock",
"*",
"Entry",
",",
"const",
"SmallVectorImpl",
"<",
"MachineBasicBlock",
"*",
">",
"&",
"Exits",
")",
"const",
"{",
"const",
"ARMBaseRegisterInfo",
"*",
"TRI",
"=",
"Subtar... | [
"Insert",
"explicit",
"copies",
"in",
"entry",
"and",
"exit",
"blocks",
"."
] | [
"ARM",
"ARM",
"ARM",
"ARM::GPRRegClass",
"ARM::GPRRegClass",
"ARM::DPRRegClass",
"ARM::DPRRegClass",
"\"Unexpected register class in CSRsViaCopy!\"",
"\"Function should be nounwind in insertCopiesSplitCSR!\""
] | ARMISelLowering (2)5 | insertCopiesSplitCSR | ARM | CPU | LLVM | 1,633 | 271 | 1 | [] |
[
"<s>",
"void",
"SIInstrInfo",
"::",
"legalizeOperandsVOP2",
"(",
"MachineRegisterInfo",
"&",
"MRI",
",",
"MachineInstr",
"*",
"MI",
")",
"const",
"{",
"unsigned",
"Opc",
"=",
"MI",
"->",
"getOpcode",
"(",
")",
";",
"const",
"MCInstrDesc",
"&",
"InstrDesc",
"... | [
"Legalize",
"operands",
"in",
"MI",
"by",
"either",
"commuting",
"it",
"or",
"inserting",
"a",
"copy",
"of",
"src1",
"."
] | [
"AMDGPU",
"SI",
"AMDGPU::getNamedOperandIdx",
"AMDGPU::OpName",
"AMDGPU::NoRegister",
"AMDGPU::getNamedOperandIdx",
"AMDGPU::OpName",
"AMDGPU::getNamedOperandIdx",
"AMDGPU::OpName",
"1",
"\"Should only have register or immediate operands\""
] | SIInstrInfo (3) | legalizeOperandsVOP2 | AMDGPU | GPU | LLVM | 1,634 | 399 | 1 | [] |
[
"<s>",
"const_iterator",
"end",
"(",
")",
"const",
"{",
"return",
"Seq",
".",
"end",
"(",
")",
";",
"}",
"</s>"
] | [
"Get",
"a",
"const_iterator",
"to",
"the",
"end",
"of",
"the",
"symbol",
"table",
"."
] | [
"Hexagon"
] | HexagonGenInsert (2) | end | Hexagon | DSP | LLVM | 1,635 | 14 | 1 | [] |
[
"<s>",
"bool",
"MipsSubtarget",
"::",
"enablePostRAScheduler",
"(",
"CodeGenOpt",
"::",
"Level",
"OptLevel",
",",
"TargetSubtargetInfo",
"::",
"AntiDepBreakMode",
"&",
"Mode",
",",
"RegClassVector",
"&",
"CriticalPathRCs",
")",
"const",
"{",
"Mode",
"=",
"TargetSubt... | [
"True",
"if",
"the",
"subtarget",
"should",
"run",
"a",
"scheduler",
"after",
"register",
"allocation",
"."
] | [
"Mips",
"Mips",
"Mips",
"Mips::CPU64RegsRegClass",
"Mips::CPURegsRegClass"
] | MipsSubtarget41 | enablePostRAScheduler | Mips | CPU | LLVM | 1,636 | 61 | 1 | [] |
[
"<s>",
"bool",
"R600InstrInfo",
"::",
"isProfitableToDupForIfCvt",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"unsigned",
"NumCyles",
",",
"const",
"BranchProbability",
"&",
"Probability",
")",
"const",
"{",
"return",
"true",
";",
"}",
"</s>"
] | [
"Return",
"true",
"if",
"it",
"'s",
"profitable",
"for",
"if-converter",
"to",
"duplicate",
"instructions",
"of",
"specified",
"accumulated",
"instruction",
"latencies",
"in",
"the",
"specified",
"MBB",
"to",
"enable",
"if-conversion",
"."
] | [
"R600"
] | R600InstrInfo | isProfitableToDupForIfCvt | R600 | GPU | LLVM | 1,637 | 23 | 1 | [] |
[
"<s>",
"const",
"X86Subtarget",
"*",
"X86TargetMachine",
"::",
"getSubtargetImpl",
"(",
"const",
"Function",
"&",
"F",
")",
"const",
"{",
"Attribute",
"CPUAttr",
"=",
"F",
".",
"getFnAttribute",
"(",
"\"target-cpu\"",
")",
";",
"Attribute",
"FSAttr",
"=",
"F",... | [
"Virtual",
"method",
"implemented",
"by",
"subclasses",
"that",
"returns",
"a",
"reference",
"to",
"that",
"target",
"'s",
"TargetSubtargetInfo-derived",
"member",
"variable",
"."
] | [
"X86",
"X86",
"X86",
"\"target-cpu\"",
"\"target-features\"",
"\"use-soft-float\"",
"\"true\"",
"\"use-soft-float=true\"",
"\"use-soft-float=false\"",
"X86"
] | X86TargetMachine117 | getSubtargetImpl | X86 | CPU | LLVM | 1,638 | 185 | 1 | [] |
[
"<s>",
"void",
"SparcFrameLowering",
"::",
"emitPrologue",
"(",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"MachineBasicBlock",
"&",
"MBB",
"=",
"MF",
".",
"front",
"(",
")",
";",
"MachineFrameInfo",
"*",
"MFI",
"=",
"MF",
".",
"getFrameInfo",
"(",
"... | [
"emitProlog/emitEpilog",
"-",
"These",
"methods",
"insert",
"prolog",
"and",
"epilog",
"code",
"into",
"the",
"function",
"."
] | [
"Sparc",
"Sparc",
"Sparc",
"Sparc",
"92",
"7",
"7",
"4096",
"SP::SAVEri",
"SP::O6",
"SP::O6",
"10U",
"SP::SETHIi",
"SP::G1",
"SP::ORri",
"SP::G1",
"SP::G1",
"1",
"10",
"1",
"SP::SAVErr",
"SP::O6",
"SP::O6",
"SP::G1"
] | SparcFrameLowering11 | emitPrologue | Sparc | CPU | LLVM | 1,639 | 283 | 1 | [] |
[
"<s>",
"void",
"xtensa_expand_atomic",
"(",
"enum",
"rtx_code",
"code",
",",
"rtx",
"target",
",",
"rtx",
"mem",
",",
"rtx",
"val",
",",
"bool",
"after",
")",
"{",
"machine_mode",
"mode",
"=",
"GET_MODE",
"(",
"mem",
")",
";",
"struct",
"alignment_context"... | [
"Expand",
"an",
"atomic",
"operation",
"CODE",
"of",
"mode",
"MODE",
"(",
"either",
"HImode",
"or",
"QImode",
"--",
"the",
"default",
"expansion",
"works",
"fine",
"for",
"SImode",
")",
".",
"MEM",
"is",
"the",
"memory",
"location",
"and",
"VAL",
"the",
... | [
"xtensa",
"1",
"1",
"1",
"1",
"1",
"1",
"1",
"1",
"1",
"1",
"1"
] | xtensa4 | xtensa_expand_atomic | xtensa | MPU | GCC | 1,640 | 471 | 1 | [] |
[
"<s>",
"TargetLoweringObjectFile",
"*",
"getObjFileLowering",
"(",
")",
"const",
"override",
"{",
"return",
"TLOF",
".",
"get",
"(",
")",
";",
"}",
"</s>"
] | [
"Return",
"information",
"about",
"object",
"file",
"lowering",
"."
] | [
"DLX"
] | DLXTargetMachine | getObjFileLowering | DLX | CPU | LLVM | 1,641 | 16 | 1 | [] |
[
"<s>",
"const",
"char",
"*",
"OR1KTargetLowering",
"::",
"getTargetNodeName",
"(",
"unsigned",
"Opcode",
")",
"const",
"{",
"switch",
"(",
"Opcode",
")",
"{",
"default",
":",
"return",
"NULL",
";",
"case",
"OR1KISD",
"::",
"ADJDYNALLOC",
":",
"return",
"\"OR... | [
"getTargetNodeName",
"-",
"This",
"method",
"returns",
"the",
"name",
"of",
"a",
"target",
"specific"
] | [
"OR1K",
"OR1K",
"OR1KISD::ADJDYNALLOC",
"\"OR1KISD::ADJDYNALLOC\"",
"OR1KISD::RET_FLAG",
"\"OR1KISD::RET_FLAG\"",
"OR1KISD::CALL",
"\"OR1KISD::CALL\"",
"OR1KISD::SELECT_CC",
"\"OR1KISD::SELECT_CC\"",
"OR1KISD::SET_FLAG",
"\"OR1KISD::SET_FLAG\"",
"OR1KISD::BR_CC",
"\"OR1KISD::BR_CC\"",
"O... | OR1KISelLowering | getTargetNodeName | OR1K | CPU | LLVM | 1,642 | 112 | 1 | [] |
[
"<s>",
"const",
"MCPhysReg",
"*",
"HexagonRegisterInfo",
"::",
"getCalleeSavedRegs",
"(",
"const",
"MachineFunction",
"*",
"MF",
")",
"const",
"{",
"static",
"const",
"MCPhysReg",
"CalleeSavedRegsV3",
"[",
"]",
"=",
"{",
"Hexagon",
"::",
"R16",
",",
"Hexagon",
... | [
"Code",
"Generation",
"virtual",
"methods",
"..."
] | [
"Hexagon",
"Hexagon",
"Hexagon::R16",
"Hexagon::R17",
"Hexagon::R18",
"Hexagon::R19",
"Hexagon::R20",
"Hexagon::R21",
"Hexagon::R22",
"Hexagon::R23",
"Hexagon::R24",
"Hexagon::R25",
"Hexagon::R26",
"Hexagon::R27",
"0",
"Hexagon::R0",
"Hexagon::R1",
"Hexagon::R2",
"Hexagon::R3",
... | HexagonRegisterInfo17 | getCalleeSavedRegs | Hexagon | DSP | LLVM | 1,643 | 215 | 1 | [] |
[
"<s>",
"SDValue",
"WebAssemblyTargetLowering",
"::",
"LowerOperation",
"(",
"SDValue",
"Op",
",",
"SelectionDAG",
"&",
"DAG",
")",
"const",
"{",
"SDLoc",
"DL",
"(",
"Op",
")",
";",
"switch",
"(",
"Op",
".",
"getOpcode",
"(",
")",
")",
"{",
"default",
":"... | [
"LowerOperation",
"-",
"Provide",
"custom",
"lowering",
"hooks",
"for",
"some",
"operations",
"."
] | [
"WebAssembly",
"WebAssembly",
"\"unimplemented operation lowering\"",
"ISD::FrameIndex",
"ISD::GlobalAddress",
"ISD::ExternalSymbol",
"ISD::JumpTable",
"ISD::BR_JT",
"ISD::VASTART",
"ISD::BlockAddress",
"ISD::BRIND",
"\"WebAssembly hasn't implemented computed gotos\"",
"ISD::RETURNADDR",
"... | WebAssemblyISelLowering (2)2 | LowerOperation | WebAssembly | Virtual ISA | LLVM | 1,644 | 287 | 1 | [] |
[
"<s>",
"unsigned",
"int",
"mt_compute_frame_size",
"(",
"int",
"size",
")",
"{",
"int",
"regno",
";",
"unsigned",
"int",
"total_size",
";",
"unsigned",
"int",
"var_size",
";",
"unsigned",
"int",
"args_size",
";",
"unsigned",
"int",
"pretend_size",
";",
"unsign... | [
"Returns",
"the",
"number",
"of",
"bytes",
"offset",
"between",
"the",
"frame",
"pointer",
"and",
"the",
"stack",
"pointer",
"for",
"the",
"current",
"function",
".",
"SIZE",
"is",
"the",
"number",
"of",
"bytes",
"of",
"space",
"needed",
"for",
"local",
"v... | [
"mt",
"0",
"0",
"0",
"1",
"3",
"3"
] | mt | mt_compute_frame_size | mt | CPU | GCC | 1,645 | 239 | 1 | [] |
[
"<s>",
"static",
"void",
"emit_unlikely_jump",
"(",
"rtx",
"insn",
")",
"{",
"int",
"very_unlikely",
"=",
"REG_BR_PROB_BASE",
"/",
"100",
"-",
"1",
";",
"insn",
"=",
"emit_jump_insn",
"(",
"insn",
")",
";",
"add_int_reg_note",
"(",
"insn",
",",
"REG_BR_PROB"... | [
"Mark",
"the",
"previous",
"jump",
"instruction",
"as",
"unlikely",
"."
] | [
"arc",
"100",
"1"
] | arc5 | emit_unlikely_jump | arc | MPU | GCC | 1,646 | 34 | 1 | [] |
[
"<s>",
"static",
"void",
"prepare_pic_move",
"(",
"rtx",
"*",
"operands",
",",
"machine_mode",
")",
"{",
"if",
"(",
"GET_CODE",
"(",
"operands",
"[",
"0",
"]",
")",
"==",
"MEM",
"&&",
"SYMBOLIC_CONST",
"(",
"operands",
"[",
"1",
"]",
")",
"&&",
"flag_p... | [
"Emit",
"insns",
"to",
"move",
"operands",
"[",
"1",
"]",
"into",
"operands",
"[",
"0",
"]",
"."
] | [
"arc",
"0",
"1",
"1",
"1",
"0",
"1",
"1"
] | arc6 | prepare_pic_move | arc | MPU | GCC | 1,647 | 88 | 1 | [] |
[
"<s>",
"bool",
"WebAssemblyAsmPrinter",
"::",
"PrintAsmOperand",
"(",
"const",
"MachineInstr",
"*",
"MI",
",",
"unsigned",
"OpNo",
",",
"unsigned",
"AsmVariant",
",",
"const",
"char",
"*",
"ExtraCode",
",",
"raw_ostream",
"&",
"OS",
")",
"{",
"if",
"(",
"Asm... | [
"PrintAsmOperand",
"-",
"Print",
"out",
"an",
"operand",
"for",
"an",
"inline",
"asm",
"expression",
"."
] | [
"WebAssembly",
"WebAssembly",
"0",
"\"There are no defined alternate asm variants\""
] | WebAssemblyAsmPrinter (2) | PrintAsmOperand | WebAssembly | Virtual ISA | LLVM | 1,648 | 221 | 1 | [] |
[
"<s>",
"void",
"AArch64PassConfig",
"::",
"addPreEmitPass",
"(",
")",
"{",
"if",
"(",
"EnableA53Fix835769",
")",
"addPass",
"(",
"createAArch64A53Fix835769",
"(",
")",
")",
";",
"if",
"(",
"BranchRelaxation",
")",
"addPass",
"(",
"&",
"BranchRelaxationPassID",
"... | [
"This",
"pass",
"may",
"be",
"implemented",
"by",
"targets",
"that",
"want",
"to",
"run",
"passes",
"immediately",
"before",
"machine",
"code",
"is",
"emitted",
"."
] | [
"AArch64",
"AArch64",
"AArch64",
"AArch64"
] | AArch64TargetMachine11 | addPreEmitPass | AArch64 | CPU | LLVM | 1,649 | 60 | 1 | [] |
[
"<s>",
"void",
"fr30_print_operand_address",
"(",
"FILE",
"*",
"stream",
",",
"rtx",
"address",
")",
"{",
"switch",
"(",
"GET_CODE",
"(",
"address",
")",
")",
"{",
"case",
"SYMBOL_REF",
":",
"output_addr_const",
"(",
"stream",
",",
"address",
")",
";",
"br... | [
"Print",
"a",
"memory",
"address",
"as",
"an",
"operand",
"to",
"reference",
"that",
"memory",
"location",
"."
] | [
"fr30",
"\"code = %x\\n\"",
"\"fr30_print_operand_address: unhandled address\""
] | fr30 | fr30_print_operand_address | fr30 | DSP | GCC | 1,650 | 59 | 1 | [] |
[
"<s>",
"bool",
"Mips16HardFloat",
"::",
"runOnModule",
"(",
"Module",
"&",
"M",
")",
"{",
"DEBUG",
"(",
"errs",
"(",
")",
"<<",
"\"Run on Module Mips16HardFloat\\n\"",
")",
";",
"bool",
"Modified",
"=",
"false",
";",
"for",
"(",
"Module",
"::",
"iterator",
... | [
"runOnModule",
"-",
"Virtual",
"method",
"overriden",
"by",
"subclasses",
"to",
"process",
"the",
"module",
"being",
"operated",
"on",
"."
] | [
"Mips",
"Mips",
"\"Run on Module Mips16HardFloat\\n\"",
"\"nomips16\"",
"\"use-soft-float\"",
"\"mips16_fp_stub\"",
"\"nomips16\""
] | Mips16HardFloat12 | runOnModule | Mips | CPU | LLVM | 1,651 | 156 | 1 | [] |
[
"<s>",
"bool",
"X86PassConfig",
"::",
"addPreEmitPass",
"(",
")",
"{",
"bool",
"ShouldPrint",
"=",
"false",
";",
"if",
"(",
"getOptLevel",
"(",
")",
"!=",
"CodeGenOpt",
"::",
"None",
"&&",
"getX86Subtarget",
"(",
")",
".",
"hasSSE2",
"(",
")",
")",
"{",
... | [
"This",
"pass",
"may",
"be",
"implemented",
"by",
"targets",
"that",
"want",
"to",
"run",
"passes",
"immediately",
"before",
"machine",
"code",
"is",
"emitted",
"."
] | [
"X86",
"X86",
"X86",
"X86::VR128RegClass",
"X86",
"X86",
"X86",
"X86",
"X86",
"X86",
"X86",
"X86"
] | X86TargetMachine113 | addPreEmitPass | X86 | CPU | LLVM | 1,652 | 161 | 1 | [] |
[
"<s>",
"bool",
"runOnFunction",
"(",
"Function",
"&",
"F",
")",
"override",
"{",
"this",
"->",
"F",
"=",
"&",
"F",
";",
"LI",
"=",
"&",
"getAnalysis",
"<",
"LoopInfoWrapperPass",
">",
"(",
")",
".",
"getLoopInfo",
"(",
")",
";",
"TTI",
"=",
"&",
"g... | [
"runOnFunction",
"-",
"Virtual",
"method",
"overriden",
"by",
"subclasses",
"to",
"do",
"the",
"per-function",
"processing",
"of",
"the",
"pass",
"."
] | [
"AArch64"
] | SVEPostVectorize | runOnFunction | AArch64 | CPU | LLVM | 1,653 | 120 | 1 | [] |
[
"<s>",
"bool",
"HSAILDAGToDAGISel",
"::",
"IsProfitableToFold",
"(",
"SDValue",
"N",
",",
"SDNode",
"*",
"U",
",",
"SDNode",
"*",
"Root",
")",
"const",
"{",
"return",
"true",
";",
"}",
"</s>"
] | [
"IsProfitableToFold",
"-",
"Returns",
"true",
"if",
"it",
"'s",
"profitable",
"to",
"fold",
"the",
"specific",
"operand",
"node",
"N",
"of",
"U",
"during",
"instruction",
"selection",
"that",
"starts",
"at",
"Root",
"."
] | [
"HSAIL",
"HSAIL"
] | HSAILISelDAGToDAG | IsProfitableToFold | HSAIL | Virtual ISA | LLVM | 1,654 | 22 | 1 | [] |
[
"<s>",
"ARMBaseTargetMachine",
"::",
"ARMBaseTargetMachine",
"(",
"const",
"Target",
"&",
"T",
",",
"StringRef",
"TT",
",",
"StringRef",
"CPU",
",",
"StringRef",
"FS",
",",
"const",
"TargetOptions",
"&",
"Options",
",",
"Reloc",
"::",
"Model",
"RM",
",",
"Co... | [
"Create",
"an",
"ARM",
"architecture",
"model",
"."
] | [
"ARM",
"ARM",
"ARM"
] | ARMTargetMachine100 | ARMBaseTargetMachine | ARM | CPU | LLVM | 1,655 | 101 | 1 | [] |
[
"<s>",
"unsigned",
"AArch64TargetLowering",
"::",
"getRegisterByName",
"(",
"const",
"char",
"*",
"RegName",
")",
"const",
"{",
"unsigned",
"Reg",
"=",
"StringSwitch",
"<",
"unsigned",
">",
"(",
"RegName",
")",
".",
"Case",
"(",
"\"sp\"",
",",
"AArch64",
"::... | [
"Return",
"the",
"register",
"ID",
"of",
"the",
"name",
"passed",
"in",
"."
] | [
"AArch64",
"AArch64",
"\"sp\"",
"AArch64::XSP",
"0",
"\"Invalid register name global variable\""
] | AArch64ISelLowering109 | getRegisterByName | AArch64 | CPU | LLVM | 1,656 | 50 | 1 | [] |
[
"<s>",
"TargetPassConfig",
"*",
"TVMTargetMachine",
"::",
"createPassConfig",
"(",
"PassManagerBase",
"&",
"PM",
")",
"{",
"return",
"new",
"TVMPassConfig",
"(",
"*",
"this",
",",
"PM",
")",
";",
"}",
"</s>"
] | [
"Create",
"a",
"pass",
"configuration",
"object",
"to",
"be",
"used",
"by",
"addPassToEmitX",
"methods",
"for",
"generating",
"a",
"pipeline",
"of",
"CodeGen",
"passes",
"."
] | [
"TVM",
"TVM",
"TVM"
] | TVMTargetMachine | createPassConfig | TVM | Virtual ISA | LLVM | 1,657 | 22 | 1 | [] |
[
"<s>",
"unsigned",
"J2MCCodeEmitter",
"::",
"getMachineOpValue",
"(",
"const",
"MCInst",
"&",
"MI",
",",
"const",
"MCOperand",
"&",
"MO",
",",
"SmallVectorImpl",
"<",
"MCFixup",
">",
"&",
"Fixups",
",",
"const",
"MCSubtargetInfo",
"&",
"STI",
")",
"const",
"... | [
"getMachineOpValue",
"-",
"Return",
"binary",
"encoding",
"of",
"operand",
"."
] | [
"J2",
"J2",
"J2::Fixups",
"J2::fixup_J2_NONE",
"J2::BSR",
"J2::BRA",
"J2::fixup_J2_PC2_12",
"J2::BT",
"J2::fixup_J2_PC2_8",
"J2::MOV32PCR",
"J2::fixup_J2_PC4_8",
"\"Opcode not handled.\"",
"0",
"0"
] | J2MCCodeEmitter | getMachineOpValue | J2 | MPU | LLVM | 1,658 | 198 | 1 | [] |
[
"<s>",
"static",
"machine_mode",
"rs6000_preferred_simd_mode",
"(",
"scalar_mode",
"mode",
")",
"{",
"opt_machine_mode",
"vmode",
"=",
"mode_for_vector",
"(",
"mode",
",",
"16",
"/",
"GET_MODE_SIZE",
"(",
"mode",
")",
")",
";",
"if",
"(",
"vmode",
".",
"exists... | [
"Implement",
"targetm.vectorize.preferred_simd_mode",
"."
] | [
"rs6000",
"16"
] | rs6000 | rs6000_preferred_simd_mode | rs6000 | CPU | GCC | 1,659 | 52 | 1 | [] |
[
"<s>",
"bool",
"sh_hard_regno_mode_ok",
"(",
"unsigned",
"int",
"regno",
",",
"machine_mode",
"mode",
")",
"{",
"if",
"(",
"SPECIAL_REGISTER_P",
"(",
"regno",
")",
")",
"return",
"mode",
"==",
"SImode",
";",
"if",
"(",
"regno",
"==",
"FPUL_REG",
")",
"retu... | [
"Return",
"true",
"if",
"hard",
"register",
"REGNO",
"can",
"hold",
"a",
"value",
"of",
"machine-mode",
"MODE",
".",
"We",
"can",
"allow",
"any",
"mode",
"in",
"any",
"general",
"register",
".",
"The",
"special",
"registers",
"only",
"allow",
"SImode",
"."... | [
"sh",
"2",
"0",
"4",
"0",
"1",
"0",
"3",
"0"
] | sh6 | sh_hard_regno_mode_ok | sh | CPU | GCC | 1,660 | 267 | 1 | [] |
[
"<s>",
"static",
"SDValue",
"getSplatValue",
"(",
"SDNode",
"*",
"N",
")",
"{",
"if",
"(",
"auto",
"*",
"BuildVec",
"=",
"dyn_cast",
"<",
"BuildVectorSDNode",
">",
"(",
"N",
")",
")",
"{",
"return",
"BuildVec",
"->",
"getSplatValue",
"(",
")",
";",
"}"... | [
"If",
"V",
"is",
"a",
"splat",
"vector",
",",
"return",
"its",
"scalar",
"source",
"operand",
"by",
"extracting",
"that",
"element",
"from",
"the",
"source",
"vector",
"."
] | [
"VE"
] | VEISelLowering11 | getSplatValue | VE | CPU | LLVM | 1,661 | 38 | 1 | [] |
[
"<s>",
"const",
"uint32_t",
"*",
"SystemZRegisterInfo",
"::",
"getCallPreservedMask",
"(",
"const",
"MachineFunction",
"&",
"MF",
",",
"CallingConv",
"::",
"ID",
"CC",
")",
"const",
"{",
"if",
"(",
"MF",
".",
"getSubtarget",
"(",
")",
".",
"getTargetLowering",... | [
"Return",
"a",
"mask",
"of",
"call-preserved",
"registers",
"for",
"the",
"given",
"calling",
"convention",
"on",
"the",
"current",
"function",
"."
] | [
"SystemZ",
"SystemZ",
"SystemZ",
"SystemZ"
] | SystemZRegisterInfo39 | getCallPreservedMask | SystemZ | CPU | LLVM | 1,662 | 59 | 1 | [] |
[
"<s>",
"static",
"void",
"emit_soft_tfmode_libcall",
"(",
"const",
"char",
"*",
"func_name",
",",
"int",
"nargs",
",",
"rtx",
"*",
"operands",
")",
"{",
"rtx",
"ret_slot",
"=",
"NULL",
",",
"arg",
"[",
"3",
"]",
",",
"func_sym",
";",
"int",
"i",
";",
... | [
"Generate",
"a",
"call",
"to",
"FUNC",
"with",
"OPERANDS",
".",
"Operand",
"0",
"is",
"the",
"return",
"value",
".",
"Unlike",
"normal",
"calls",
",",
"TFmode",
"operands",
"are",
"passed",
"by",
"reference",
".",
"It",
"is",
"assumed",
"that",
"no",
"mo... | [
"sparc",
"3",
"2",
"3",
"0",
"0",
"0",
"1",
"0",
"0",
"0",
"0",
"0",
"2",
"2",
"0",
"0",
"1",
"1",
"3",
"0",
"0",
"1",
"1",
"2",
"2",
"0",
"2",
"0",
"0",
"1",
"1",
"1",
"0",
"0"
] | sparc4 | emit_soft_tfmode_libcall | sparc | CPU | GCC | 1,663 | 420 | 1 | [] |
[
"<s>",
"bool",
"WebAssemblyPeephole",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"{",
"LLVM_DEBUG",
"(",
"{",
"dbgs",
"(",
")",
"<<",
"\"********** Peephole **********\\n\"",
"<<",
"\"********** Function: \"",
"<<",
"MF",
".",
"getName",
"... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"WebAssembly",
"WebAssembly",
"\"********** Peephole **********\\n\"",
"\"********** Function: \"",
"WebAssembly",
"WebAssembly",
"WebAssembly",
"WebAssembly",
"WebAssembly",
"WebAssembly::CALL",
"1",
"2",
"\"Peephole: call to builtin function with \"",
"\"wrong signature, not consuming re... | WebAssemblyPeephole | runOnMachineFunction | WebAssembly | Virtual ISA | LLVM | 1,664 | 363 | 1 | [] |
[
"<s>",
"bool",
"AArch64InstrInfo",
"::",
"isThroughputPattern",
"(",
"MachineCombinerPattern",
"Pattern",
")",
"const",
"{",
"switch",
"(",
"Pattern",
")",
"{",
"default",
":",
"break",
";",
"case",
"MachineCombinerPattern",
"::",
"FMULADDH_OP1",
":",
"case",
"Mac... | [
"Return",
"true",
"when",
"a",
"code",
"sequence",
"can",
"improve",
"throughput",
"."
] | [
"AArch64",
"AArch64"
] | AArch64InstrInfo124 | isThroughputPattern | AArch64 | CPU | LLVM | 1,665 | 302 | 1 | [] |
[
"<s>",
"bool",
"MipsCallLowering",
"::",
"lowerReturn",
"(",
"MachineIRBuilder",
"&",
"MIRBuilder",
",",
"const",
"Value",
"*",
"Val",
",",
"ArrayRef",
"<",
"Register",
">",
"VRegs",
")",
"const",
"{",
"MachineInstrBuilder",
"Ret",
"=",
"MIRBuilder",
".",
"bui... | [
"This",
"hook",
"behaves",
"as",
"the",
"extended",
"lowerReturn",
"function",
",",
"but",
"for",
"targets",
"that",
"do",
"not",
"support",
"swifterror",
"value",
"promotion",
"."
] | [
"Mips",
"Mips",
"Mips::RetRA",
"Mips",
"Mips",
"8",
"8",
"0",
"ISD::OutputArg",
"8",
"16",
"Mips",
"Mips"
] | MipsCallLowering21 | lowerReturn | Mips | CPU | LLVM | 1,666 | 280 | 1 | [] |
[
"<s>",
"const",
"char",
"*",
"nvptx_output_return",
"(",
"void",
")",
"{",
"machine_mode",
"mode",
"=",
"(",
"machine_mode",
")",
"cfun",
"->",
"machine",
"->",
"return_mode",
";",
"if",
"(",
"mode",
"!=",
"VOIDmode",
")",
"fprintf",
"(",
"asm_out_file",
"... | [
"Output",
"a",
"return",
"instruction",
".",
"Also",
"copy",
"the",
"return",
"value",
"to",
"its",
"outgoing",
"location",
"."
] | [
"nvptx",
"\"\\tst.param%s\\t[%s_out], %s;\\n\"",
"\"ret;\""
] | nvptx | nvptx_output_return | nvptx | GPU | GCC | 1,667 | 54 | 1 | [] |
[
"<s>",
"const",
"uint32_t",
"*",
"X86RegisterInfo",
"::",
"getCallPreservedMask",
"(",
"CallingConv",
"::",
"ID",
"CC",
")",
"const",
"{",
"if",
"(",
"CC",
"==",
"CallingConv",
"::",
"GHC",
")",
"return",
"CSR_Ghc_RegMask",
";",
"if",
"(",
"!",
"Is64Bit",
... | [
"Return",
"a",
"mask",
"of",
"call-preserved",
"registers",
"for",
"the",
"given",
"calling",
"convention",
"on",
"the",
"current",
"function",
"."
] | [
"X86",
"X86"
] | X86RegisterInfo101 | getCallPreservedMask | X86 | CPU | LLVM | 1,668 | 44 | 1 | [] |
[
"<s>",
"bool",
"PTXTargetMachine",
"::",
"addPassesToEmitFile",
"(",
"PassManagerBase",
"&",
"PM",
",",
"formatted_raw_ostream",
"&",
"Out",
",",
"CodeGenFileType",
"FileType",
",",
"bool",
"DisableVerify",
")",
"{",
"MCContext",
"*",
"Context",
"=",
"0",
";",
"... | [
"Add",
"passes",
"to",
"the",
"specified",
"pass",
"manager",
"to",
"get",
"the",
"specified",
"file",
"emitted",
"."
] | [
"PTX",
"PTX",
"0",
"0",
"\"Failed to get MCContext\"",
"0",
"0",
"\"Object file emission is not supported with PTX\"",
"0"
] | PTXTargetMachine | addPassesToEmitFile | PTX | GPU | LLVM | 1,669 | 264 | 1 | [] |
[
"<s>",
"const",
"DataLayout",
"*",
"getDataLayout",
"(",
")",
"const",
"{",
"return",
"&",
"DL",
";",
"}",
"</s>"
] | [
"Return",
"the",
"DataLayout",
"associated",
"with",
"the",
"module",
"this",
"SCEV",
"instance",
"is",
"operating",
"on",
"."
] | [
"Sparc"
] | SparcSubtarget11 | getDataLayout | Sparc | CPU | LLVM | 1,670 | 13 | 1 | [] |
[
"<s>",
"rtx",
"tilegx_eh_return_handler_rtx",
"(",
"void",
")",
"{",
"rtx",
"tmp",
"=",
"gen_frame_mem",
"(",
"Pmode",
",",
"hard_frame_pointer_rtx",
")",
";",
"MEM_VOLATILE_P",
"(",
"tmp",
")",
"=",
"true",
";",
"return",
"tmp",
";",
"}",
"</s>"
] | [
"Implement",
"EH_RETURN_HANDLER_RTX",
".",
"The",
"MEM",
"needs",
"to",
"be",
"volatile",
"to",
"prevent",
"it",
"from",
"being",
"deleted",
"."
] | [
"tilegx"
] | tilegx | tilegx_eh_return_handler_rtx | tilegx | VLIW | GCC | 1,671 | 27 | 1 | [] |
[
"<s>",
"bool",
"R600MachineCFGStructurizer",
"::",
"prepare",
"(",
")",
"{",
"bool",
"Changed",
"=",
"false",
";",
"LLVM_DEBUG",
"(",
"dbgs",
"(",
")",
"<<",
"\"R600MachineCFGStructurizer::prepare\\n\"",
";",
")",
";",
"orderBlocks",
"(",
"FuncRep",
")",
";",
... | [
"prepare",
"-",
"Reset",
"state",
"and",
"prepare",
"for",
"a",
"new",
"spill",
"placement",
"computation",
"."
] | [
"AMDGPU",
"R600",
"\"R600MachineCFGStructurizer::prepare\\n\"",
"0",
"2",
"2"
] | R600MachineCFGStructurizer | prepare | AMDGPU | GPU | LLVM | 1,672 | 161 | 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::GR8RegClassID",
"X86::GR16RegClassID",
"X86::GR32RegClassID",
"X86::GR64RegClassID",
"X86::FR32RegClassID",
"X86::FR64RegClassID",
"X86::RFP32RegClassID",
"X86::RFP64RegClassID",
"X86::RFP80RegClassID",
"X86::VR128RegClassID",
"X86::VR256RegCla... | X86RegisterInfo (2) | getLargestLegalSuperClass | X86 | CPU | LLVM | 1,673 | 149 | 1 | [] |
[
"<s>",
"std",
"::",
"pair",
"<",
"unsigned",
",",
"const",
"TargetRegisterClass",
"*",
">",
"MipsTargetLowering",
"::",
"getRegForInlineAsmConstraint",
"(",
"const",
"std",
"::",
"string",
"&",
"Constraint",
",",
"EVT",
"VT",
")",
"const",
"{",
"if",
"(",
"C... | [
"Given",
"a",
"physical",
"register",
"constraint",
"(",
"e.g",
"."
] | [
"Mips",
"Mips",
"1",
"0",
"MVT::i32",
"MVT::i16",
"MVT::i8",
"Mips",
"0U",
"Mips::CPU16RegsRegClass",
"0U",
"Mips::CPURegsRegClass",
"MVT::i64",
"Mips",
"0U",
"Mips::CPURegsRegClass",
"MVT::i64",
"Mips",
"0U",
"Mips::CPU64RegsRegClass",
"0u",
"0",
"MVT::f32",
"0U",
"M... | MipsISelLowering133 | getRegForInlineAsmConstraint | Mips | CPU | LLVM | 1,674 | 395 | 1 | [] |
[
"<s>",
"int",
"arm_no_early_mul_dep",
"(",
"rtx",
"producer",
",",
"rtx",
"consumer",
")",
"{",
"rtx",
"value",
"=",
"PATTERN",
"(",
"producer",
")",
";",
"rtx",
"op",
"=",
"PATTERN",
"(",
"consumer",
")",
";",
"if",
"(",
"GET_CODE",
"(",
"value",
")",... | [
"Return",
"nonzero",
"if",
"the",
"CONSUMER",
"(",
"a",
"mul",
"or",
"mac",
"op",
")",
"does",
"not",
"have",
"an",
"early",
"register",
"mult",
"dependency",
"on",
"the",
"result",
"of",
"PRODUCER",
"."
] | [
"arm",
"0",
"0",
"0",
"0",
"0",
"1",
"0"
] | arm3 | arm_no_early_mul_dep | arm | CPU | GCC | 1,675 | 140 | 1 | [] |
[
"<s>",
"static",
"rtx",
"lxvrse_expand_builtin",
"(",
"rtx",
"target",
",",
"insn_code",
"icode",
",",
"rtx",
"*",
"op",
",",
"machine_mode",
"tmode",
",",
"machine_mode",
"smode",
")",
"{",
"rtx",
"pat",
",",
"addr",
";",
"op",
"[",
"1",
"]",
"=",
"co... | [
"Expand",
"a",
"builtin",
"function",
"that",
"loads",
"a",
"scalar",
"into",
"a",
"vector",
"register",
"with",
"sign",
"extension",
",",
"and",
"return",
"the",
"expanded",
"rtx",
"."
] | [
"rs6000",
"1",
"1",
"0",
"1",
"0",
"0",
"1",
"0",
"0",
"0",
"0",
"0",
"0",
"0"
] | rs6000-builtin1 | lxvrse_expand_builtin | rs6000 | CPU | GCC | 1,676 | 294 | 1 | [] |
[
"<s>",
"unsigned",
"getNumFixupKinds",
"(",
")",
"const",
"override",
"{",
"return",
"0",
";",
"}",
"</s>"
] | [
"Get",
"the",
"number",
"of",
"target",
"specific",
"fixup",
"kinds",
"."
] | [
"M68k",
"0"
] | M68kAsmBackend | getNumFixupKinds | M68k | MPU | LLVM | 1,677 | 11 | 1 | [] |
[
"<s>",
"static",
"void",
"replace_ltrel_base",
"(",
"rtx",
"*",
"x",
")",
"{",
"int",
"i",
",",
"j",
";",
"const",
"char",
"*",
"fmt",
";",
"if",
"(",
"GET_CODE",
"(",
"*",
"x",
")",
"==",
"UNSPEC",
"&&",
"XINT",
"(",
"*",
"x",
",",
"1",
")",
... | [
"Replace",
"any",
"occurrence",
"of",
"UNSPEC_LTREL_BASE",
"in",
"X",
"with",
"its",
"base",
"."
] | [
"s390",
"1",
"0",
"1",
"1",
"0",
"0"
] | s3903 | replace_ltrel_base | s390 | MPU | GCC | 1,678 | 160 | 1 | [] |
[
"<s>",
"bool",
"PPCInstrInfo",
"::",
"findCommutedOpIndices",
"(",
"MachineInstr",
"*",
"MI",
",",
"unsigned",
"&",
"SrcOpIdx1",
",",
"unsigned",
"&",
"SrcOpIdx2",
")",
"const",
"{",
"int",
"AltOpc",
"=",
"PPC",
"::",
"getAltVSXFMAOpcode",
"(",
"MI",
"->",
"... | [
"Returns",
"true",
"iff",
"the",
"routine",
"could",
"find",
"two",
"commutable",
"operands",
"in",
"the",
"given",
"machine",
"instruction",
"."
] | [
"PowerPC",
"PPC",
"PPC::getAltVSXFMAOpcode",
"1",
"2",
"3"
] | PPCInstrInfo1 | findCommutedOpIndices | PowerPC | CPU | LLVM | 1,679 | 64 | 1 | [] |
[
"<s>",
"MachineBasicBlock",
"::",
"iterator",
"M88kFrameLowering",
"::",
"eliminateCallFramePseudoInstr",
"(",
"MachineFunction",
"&",
"MF",
",",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"I",
")",
"const",
"{",
"return",
"MBB",
".... | [
"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",
")",
"."
] | [
"M88k",
"M88k"
] | M88kFrameLowering | eliminateCallFramePseudoInstr | M88k | MPU | LLVM | 1,680 | 31 | 1 | [] |
[
"<s>",
"static",
"void",
"rws_update",
"(",
"int",
"regno",
",",
"struct",
"reg_flags",
"flags",
",",
"int",
"pred",
")",
"{",
"if",
"(",
"pred",
")",
"rws_sum",
"[",
"regno",
"]",
".",
"write_count",
"++",
";",
"else",
"rws_sum",
"[",
"regno",
"]",
... | [
"Update",
"*",
"RWS",
"for",
"REGNO",
",",
"which",
"is",
"being",
"written",
"by",
"the",
"current",
"instruction",
",",
"with",
"predicate",
"PRED",
",",
"and",
"associated",
"register",
"flags",
"in",
"FLAGS",
"."
] | [
"ia64",
"2"
] | ia64 | rws_update | ia64 | CPU | GCC | 1,681 | 80 | 1 | [] |
[
"<s>",
"bool",
"PPCAsmPrinter",
"::",
"PrintAsmMemoryOperand",
"(",
"const",
"MachineInstr",
"*",
"MI",
",",
"unsigned",
"OpNo",
",",
"const",
"char",
"*",
"ExtraCode",
",",
"raw_ostream",
"&",
"O",
")",
"{",
"if",
"(",
"ExtraCode",
"&&",
"ExtraCode",
"[",
... | [
"Print",
"the",
"specified",
"operand",
"of",
"MI",
",",
"an",
"INLINEASM",
"instruction",
",",
"using",
"the",
"specified",
"assembler",
"variant",
"as",
"an",
"address",
"."
] | [
"PowerPC",
"PPC",
"0",
"1",
"0",
"0",
"\"0, \"",
"\"0(\"",
"\")\""
] | PPCAsmPrinter112 | PrintAsmMemoryOperand | PowerPC | CPU | LLVM | 1,682 | 141 | 1 | [] |
[
"<s>",
"static",
"int",
"thumb2_legitimate_index_p",
"(",
"machine_mode",
"mode",
",",
"rtx",
"index",
",",
"int",
"strict_p",
")",
"{",
"enum",
"rtx_code",
"code",
"=",
"GET_CODE",
"(",
"index",
")",
";",
"if",
"(",
"TARGET_HARD_FLOAT",
"&&",
"TARGET_VFP",
... | [
"Return",
"nonzero",
"if",
"INDEX",
"is",
"a",
"valid",
"Thumb-2",
"address",
"index",
"operand",
"."
] | [
"arm",
"1024",
"256",
"3",
"0",
"1024",
"1024",
"3",
"0",
"1016",
"1024",
"3",
"0",
"1024",
"1024",
"3",
"0",
"4",
"1",
"256",
"256",
"3",
"0",
"0",
"0",
"1",
"1",
"0",
"0",
"3",
"4096",
"256"
] | arm4 | thumb2_legitimate_index_p | arm | CPU | GCC | 1,683 | 415 | 1 | [] |
[
"<s>",
"unsigned",
"getStackAlignment",
"(",
")",
"const",
"{",
"return",
"stackAlignment",
";",
"}",
"</s>"
] | [
"Returns",
"the",
"minimum",
"alignment",
"known",
"to",
"hold",
"of",
"the",
"stack",
"frame",
"on",
"entry",
"to",
"the",
"function",
"and",
"which",
"must",
"be",
"maintained",
"by",
"every",
"function",
"for",
"this",
"subtarget",
"."
] | [
"X86"
] | X86Subtarget (2) | getStackAlignment | X86 | CPU | LLVM | 1,684 | 10 | 1 | [] |
[
"<s>",
"void",
"ARMPassConfig",
"::",
"addPreEmitPass",
"(",
")",
"{",
"addPass",
"(",
"createThumb2SizeReductionPass",
"(",
")",
")",
";",
"addPass",
"(",
"createUnpackMachineBundles",
"(",
"[",
"]",
"(",
"const",
"MachineFunction",
"&",
"MF",
")",
"{",
"retu... | [
"This",
"pass",
"may",
"be",
"implemented",
"by",
"targets",
"that",
"want",
"to",
"run",
"passes",
"immediately",
"before",
"machine",
"code",
"is",
"emitted",
"."
] | [
"ARM",
"ARM",
"ARM",
"ARM",
"ARM",
"ARM"
] | ARMTargetMachine10 | addPreEmitPass | ARM | CPU | LLVM | 1,685 | 96 | 1 | [] |
[
"<s>",
"static",
"enum",
"tls_model",
"tls_symbolic_operand_type",
"(",
"rtx",
"addr",
")",
"{",
"enum",
"tls_model",
"tls_kind",
"=",
"TLS_MODEL_NONE",
";",
"if",
"(",
"GET_CODE",
"(",
"addr",
")",
"==",
"CONST",
")",
"{",
"if",
"(",
"GET_CODE",
"(",
"XEX... | [
"Return",
"the",
"TLS",
"model",
"to",
"use",
"for",
"SYMBOL",
"."
] | [
"ia64",
"0",
"0",
"0",
"0",
"0"
] | ia64 | tls_symbolic_operand_type | ia64 | CPU | GCC | 1,686 | 95 | 1 | [] |
[
"<s>",
"BitVector",
"MSP430RegisterInfo",
"::",
"getReservedRegs",
"(",
"const",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"BitVector",
"Reserved",
"(",
"getNumRegs",
"(",
")",
")",
";",
"Reserved",
".",
"set",
"(",
"MSP430",
"::",
"PCW",
")",
";",
... | [
"getReservedRegs",
"-",
"Returns",
"a",
"bitset",
"indexed",
"by",
"physical",
"register",
"number",
"indicating",
"if",
"a",
"register",
"is",
"a",
"special",
"register",
"that",
"has",
"particular",
"uses",
"and",
"should",
"be",
"considered",
"unavailable",
"... | [
"MSP430",
"MSP430",
"MSP430::PCW",
"MSP430::SPW",
"MSP430::SRW",
"MSP430::CGW",
"MSP430::FPW"
] | MSP430RegisterInfo10 | getReservedRegs | MSP430 | MPU | LLVM | 1,687 | 76 | 1 | [] |
[
"<s>",
"static",
"void",
"xputenv",
"(",
"const",
"char",
"*",
"string",
")",
"{",
"if",
"(",
"verbose",
")",
"fprintf",
"(",
"stderr",
",",
"\"%s\\n\"",
",",
"string",
")",
";",
"putenv",
"(",
"CONST_CAST",
"(",
"char",
"*",
",",
"string",
")",
")",... | [
"Add",
"or",
"change",
"the",
"value",
"of",
"an",
"environment",
"variable",
",",
"outputting",
"the",
"change",
"to",
"standard",
"error",
"if",
"in",
"verbose",
"mode",
"."
] | [
"i386",
"\"%s\\n\""
] | intelmic-mkoffload | xputenv | i386 | CPU | GCC | 1,688 | 35 | 1 | [] |
[
"<s>",
"void",
"PPCOperand",
"::",
"print",
"(",
"raw_ostream",
"&",
"OS",
")",
"const",
"{",
"switch",
"(",
"Kind",
")",
"{",
"case",
"Token",
":",
"OS",
"<<",
"\"'\"",
"<<",
"getToken",
"(",
")",
"<<",
"\"'\"",
";",
"break",
";",
"case",
"Immediate... | [
"print",
"-",
"Print",
"a",
"debug",
"representation",
"of",
"the",
"operand",
"to",
"the",
"given",
"stream",
"."
] | [
"PowerPC",
"PPC",
"\"'\"",
"\"'\""
] | PPCAsmParser47 | print | PowerPC | CPU | LLVM | 1,689 | 75 | 1 | [] |
[
"<s>",
"int",
"num_insns_constant_wide",
"(",
"HOST_WIDE_INT",
"value",
")",
"{",
"if",
"(",
"CONST_OK_FOR_LETTER_P",
"(",
"value",
",",
"'I'",
")",
")",
"return",
"1",
";",
"else",
"if",
"(",
"CONST_OK_FOR_LETTER_P",
"(",
"value",
",",
"'L'",
")",
")",
"r... | [
"Return",
"the",
"number",
"of",
"instructions",
"it",
"takes",
"to",
"form",
"a",
"constant",
"in",
"an",
"integer",
"register",
"."
] | [
"rs6000",
"1",
"1",
"0xffffffff",
"0x80000000",
"0x80000000",
"31",
"0",
"1",
"2",
"1",
"0",
"1",
"1",
"2"
] | rs60003 | num_insns_constant_wide | rs6000 | CPU | GCC | 1,690 | 114 | 1 | [] |
[
"<s>",
"bool",
"X86AsmParser",
"::",
"OmitRegisterFromClobberLists",
"(",
"unsigned",
"RegNo",
")",
"{",
"return",
"X86MCRegisterClasses",
"[",
"X86",
"::",
"SEGMENT_REGRegClassID",
"]",
".",
"contains",
"(",
"RegNo",
")",
";",
"}",
"</s>"
] | [
"Allows",
"targets",
"to",
"let",
"registers",
"opt",
"out",
"of",
"clobber",
"lists",
"."
] | [
"X86",
"X86",
"X86",
"X86::SEGMENT_REGRegClassID"
] | X86AsmParser (2)3 | OmitRegisterFromClobberLists | X86 | CPU | LLVM | 1,691 | 23 | 1 | [] |
[
"<s>",
"void",
"moxie_print_operand",
"(",
"FILE",
"*",
"file",
",",
"rtx",
"x",
",",
"int",
"code",
")",
"{",
"rtx",
"operand",
"=",
"x",
";",
"switch",
"(",
"code",
")",
"{",
"case",
"0",
":",
"break",
";",
"default",
":",
"LOSE_AND_RETURN",
"(",
... | [
"The",
"PRINT_OPERAND",
"worker",
"."
] | [
"moxie",
"0",
"\"invalid operand modifier letter\"",
"\"internal error: bad register: %d\"",
"\"%s\"",
"0",
"\"unexpected operand\""
] | moxie2 | moxie_print_operand | moxie | CPU | GCC | 1,692 | 130 | 1 | [] |
[
"<s>",
"bool",
"AGCAsmBackend",
"::",
"writeNopData",
"(",
"raw_ostream",
"&",
"OS",
",",
"uint64_t",
"Count",
")",
"const",
"{",
"if",
"(",
"Count",
"%",
"2",
"!=",
"0",
")",
"return",
"false",
";",
"uint64_t",
"NopCount",
"=",
"Count",
"/",
"2",
";",... | [
"Write",
"an",
"(",
"optimal",
")",
"nop",
"sequence",
"of",
"Count",
"bytes",
"to",
"the",
"given",
"output",
"."
] | [
"AGC",
"AGC",
"2",
"0",
"2",
"0",
"AGC",
"0x3000"
] | AGCAsmBackend | writeNopData | AGC | MPU | LLVM | 1,693 | 59 | 1 | [] |
[
"<s>",
"bool",
"MipsMulMulBugFix",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"{",
"const",
"MipsInstrInfo",
"&",
"MipsII",
"=",
"*",
"static_cast",
"<",
"const",
"MipsInstrInfo",
"*",
">",
"(",
"MF",
".",
"getSubtarget",
"(",
")",
... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"Mips",
"Mips",
"Mips",
"Mips",
"Mips",
"Mips"
] | MipsMulMulBugPass | runOnMachineFunction | Mips | CPU | LLVM | 1,694 | 60 | 1 | [] |
[
"<s>",
"const",
"char",
"*",
"getPassName",
"(",
")",
"const",
"override",
"{",
"return",
"\"convert address space of alloca'ed memory to local\"",
";",
"}",
"</s>"
] | [
"getPassName",
"-",
"Return",
"a",
"nice",
"clean",
"name",
"for",
"a",
"pass",
"."
] | [
"NVPTX",
"\"convert address space of alloca'ed memory to local\""
] | NVPTXLowerAlloca (2) | getPassName | NVPTX | GPU | LLVM | 1,695 | 13 | 1 | [] |
[
"<s>",
"void",
"R600SchedStrategy",
"::",
"schedNode",
"(",
"SUnit",
"*",
"SU",
",",
"bool",
"IsTopNode",
")",
"{",
"if",
"(",
"NextInstKind",
"!=",
"CurInstKind",
")",
"{",
"LLVM_DEBUG",
"(",
"dbgs",
"(",
")",
"<<",
"\"Instruction Type Switch\\n\"",
")",
";... | [
"ScheduleDAGMI",
"has",
"scheduled",
"an",
"instruction",
"-",
"tell",
"HazardRec",
"about",
"it",
"."
] | [
"AMDGPU",
"R600",
"\"Instruction Type Switch\\n\"",
"31",
"0",
"4",
"AMDGPU::ALU_LITERAL_X",
"\" Instructions Emitted in this clause\\n\""
] | R600MachineScheduler11 | schedNode | AMDGPU | GPU | LLVM | 1,696 | 198 | 1 | [] |
[
"<s>",
"bool",
"X86FastISel",
"::",
"tryToFoldLoadIntoMI",
"(",
"MachineInstr",
"*",
"MI",
",",
"unsigned",
"OpNo",
",",
"const",
"LoadInst",
"*",
"LI",
")",
"{",
"const",
"Value",
"*",
"Ptr",
"=",
"LI",
"->",
"getPointerOperand",
"(",
")",
";",
"X86Addres... | [
"The",
"specified",
"machine",
"instr",
"operand",
"is",
"a",
"vreg",
",",
"and",
"that",
"vreg",
"is",
"being",
"provided",
"by",
"the",
"specified",
"load",
"instruction",
"."
] | [
"X86",
"X86",
"X86",
"X86",
"X86",
"X86",
"0",
"8",
"0"
] | X86FastISel94 | tryToFoldLoadIntoMI | X86 | CPU | LLVM | 1,697 | 297 | 1 | [] |
[
"<s>",
"static",
"int",
"reg_push_size",
"(",
"int",
"regno",
")",
"{",
"switch",
"(",
"regno",
")",
"{",
"case",
"R0_REGNO",
":",
"case",
"R1_REGNO",
":",
"return",
"2",
";",
"case",
"R2_REGNO",
":",
"case",
"R3_REGNO",
":",
"case",
"FLG_REGNO",
":",
... | [
"How",
"many",
"bytes",
"a",
"register",
"uses",
"on",
"stack",
"when",
"it",
"'s",
"pushed",
".",
"We",
"need",
"to",
"know",
"this",
"because",
"the",
"push",
"opcode",
"needs",
"to",
"explicitly",
"indicate",
"the",
"size",
"of",
"the",
"register",
",... | [
"m32c",
"2",
"2",
"2",
"3"
] | m32c | reg_push_size | m32c | MPU | GCC | 1,698 | 68 | 1 | [] |
[
"<s>",
"bool",
"BlackfinAsmPrinter",
"::",
"PrintAsmOperand",
"(",
"const",
"MachineInstr",
"*",
"MI",
",",
"unsigned",
"OpNo",
",",
"unsigned",
"AsmVariant",
",",
"const",
"char",
"*",
"ExtraCode",
")",
"{",
"if",
"(",
"ExtraCode",
"&&",
"ExtraCode",
"[",
"... | [
"PrintAsmOperand",
"-",
"Print",
"out",
"an",
"operand",
"for",
"an",
"inline",
"asm",
"expression",
"."
] | [
"Blackfin",
"0",
"1",
"0",
"0"
] | BlackfinAsmPrinter1 | PrintAsmOperand | Blackfin | DSP | LLVM | 1,699 | 75 | 1 | [] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.