ground_truth listlengths 8 512 | natrual_language listlengths 1 243 | TS_V_token listlengths 1 182 | File stringlengths 2 45 | Func stringlengths 1 56 | Target stringclasses 175
values | Target_Clf stringclasses 6
values | Compiler_Type stringclasses 2
values | Idx int64 0 36.2k | Length int64 6 510 | Cover_Rate float64 1 1 | Template_token listlengths 0 0 |
|---|---|---|---|---|---|---|---|---|---|---|---|
[
"<s>",
"static",
"bool",
"x86_can_output_mi_thunk",
"(",
"tree",
"thunk",
"ATTRIBUTE_UNUSED",
",",
"HOST_WIDE_INT",
"delta",
"ATTRIBUTE_UNUSED",
",",
"HOST_WIDE_INT",
"vcall_offset",
",",
"tree",
"function",
")",
"{",
"if",
"(",
"TARGET_64BIT",
")",
"return",
"true"... | [
"Determine",
"whether",
"x86_output_mi_thunk",
"can",
"succeed",
"."
] | [
"i386",
"3"
] | i3863 | x86_can_output_mi_thunk | i386 | CPU | GCC | 20,000 | 72 | 1 | [] |
[
"<s>",
"unsigned",
"ARMRegisterInfo",
"::",
"getFrameRegister",
"(",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"if",
"(",
"STI",
".",
"isTargetDarwin",
"(",
")",
"||",
"hasFP",
"(",
"MF",
")",
")",
"return",
"(",
"STI",
".",
"useThumbBacktraces",
"(... | [
"Debug",
"information",
"queries",
"."
] | [
"ARM",
"ARM",
"ARM::R7",
"ARM::R11",
"ARM::SP"
] | ARMRegisterInfo13 | getFrameRegister | ARM | CPU | LLVM | 20,001 | 54 | 1 | [] |
[
"<s>",
"bool",
"ARMLowOverheadLoops",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"mf",
")",
"{",
"const",
"ARMSubtarget",
"&",
"ST",
"=",
"static_cast",
"<",
"const",
"ARMSubtarget",
"&",
">",
"(",
"mf",
".",
"getSubtarget",
"(",
")",
")",
";... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"ARM",
"ARM",
"ARM",
"ARM",
"\"ARM Loops on \"",
"\" ------------- \\n\"",
"ARM",
"ARM",
"ARM"
] | ARMLowOverheadLoops10 | runOnMachineFunction | ARM | CPU | LLVM | 20,002 | 207 | 1 | [] |
[
"<s>",
"bool",
"CAHPFrameLowering",
"::",
"hasFP",
"(",
"const",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"const",
"TargetRegisterInfo",
"*",
"RegInfo",
"=",
"MF",
".",
"getSubtarget",
"(",
")",
".",
"getRegisterInfo",
"(",
")",
";",
"const",
"Machin... | [
"hasFP",
"-",
"Return",
"true",
"if",
"the",
"specified",
"function",
"should",
"have",
"a",
"dedicated",
"frame",
"pointer",
"register",
"."
] | [
"CAHP",
"CAHP"
] | CAHPFrameLowering | hasFP | CAHP | CPU | LLVM | 20,003 | 72 | 1 | [] |
[
"<s>",
"static",
"bool",
"xscale_sched_adjust_cost",
"(",
"rtx_insn",
"*",
"insn",
",",
"int",
"dep_type",
",",
"rtx_insn",
"*",
"dep",
",",
"int",
"*",
"cost",
")",
"{",
"if",
"(",
"dep_type",
"==",
"0",
"&&",
"recog_memoized",
"(",
"insn",
")",
">=",
... | [
"Adjust",
"cost",
"hook",
"for",
"XScale",
"."
] | [
"arm",
"0",
"0",
"0",
"0",
"0",
"2"
] | arm | xscale_sched_adjust_cost | arm | CPU | GCC | 20,004 | 209 | 1 | [] |
[
"<s>",
"bool",
"JVMPassConfig",
"::",
"addInstSelector",
"(",
")",
"{",
"(",
"void",
")",
"TargetPassConfig",
"::",
"addInstSelector",
"(",
")",
";",
"addPass",
"(",
"createJVMISelDag",
"(",
"getJVMTargetMachine",
"(",
")",
",",
"getOptLevel",
"(",
")",
")",
... | [
"addInstSelector",
"-",
"This",
"method",
"should",
"install",
"an",
"instruction",
"selector",
"pass",
",",
"which",
"converts",
"from",
"LLVM",
"code",
"to",
"machine",
"instructions",
"."
] | [
"JVM",
"JVM",
"JVM",
"JVM"
] | JVMTargetMachine | addInstSelector | JVM | Virtual ISA | LLVM | 20,005 | 34 | 1 | [] |
[
"<s>",
"AVR",
"::",
"Fixups",
"AVRMCExpr",
"::",
"getFixupKind",
"(",
")",
"const",
"{",
"AVR",
"::",
"Fixups",
"Kind",
"=",
"AVR",
"::",
"Fixups",
"::",
"LastTargetFixupKind",
";",
"switch",
"(",
"getKind",
"(",
")",
")",
"{",
"case",
"VK_AVR_LO8",
":",... | [
"getFixupKind",
"-",
"Get",
"the",
"fixup",
"kind",
"of",
"this",
"expression",
"."
] | [
"AVR",
"AVR::Fixups",
"AVR",
"AVR::Fixups",
"AVR::Fixups",
"AVR",
"AVR::fixup_lo8_ldi_neg",
"AVR::fixup_lo8_ldi",
"AVR",
"AVR::fixup_hi8_ldi_neg",
"AVR::fixup_hi8_ldi",
"AVR",
"AVR::fixup_hh8_ldi_neg",
"AVR::fixup_hh8_ldi",
"AVR",
"AVR::fixup_ms8_ldi_neg",
"AVR::fixup_ms8_ldi",
"AV... | AVRMCExpr10 | getFixupKind | AVR | MPU | LLVM | 20,006 | 207 | 1 | [] |
[
"<s>",
"void",
"RV16KAsmPrinter",
"::",
"EmitInstruction",
"(",
"const",
"MachineInstr",
"*",
"MI",
")",
"{",
"if",
"(",
"emitPseudoExpansionLowering",
"(",
"*",
"OutStreamer",
",",
"MI",
")",
")",
"return",
";",
"MCInst",
"TmpInst",
";",
"LowerRV16KMachineInstr... | [
"EmitInstruction",
"-",
"This",
"callback",
"is",
"invoked",
"when",
"an",
"instruction",
"is",
"emitted",
",",
"to",
"advance",
"the",
"hazard",
"state",
"."
] | [
"RV16K",
"RV16K",
"RV16K"
] | RV16KAsmPrinter | EmitInstruction | RV16K | Virtual ISA | LLVM | 20,007 | 45 | 1 | [] |
[
"<s>",
"SDValue",
"PatmosTargetLowering",
"::",
"LowerOperation",
"(",
"SDValue",
"Op",
",",
"SelectionDAG",
"&",
"DAG",
")",
"const",
"{",
"switch",
"(",
"Op",
".",
"getOpcode",
"(",
")",
")",
"{",
"case",
"ISD",
"::",
"LOAD",
":",
"return",
"LowerLOAD",
... | [
"LowerOperation",
"-",
"Provide",
"custom",
"lowering",
"hooks",
"for",
"some",
"operations",
"."
] | [
"Patmos",
"Patmos",
"ISD::LOAD",
"ISD::STORE",
"ISD::SMUL_LOHI",
"ISD::UMUL_LOHI",
"ISD::VASTART",
"ISD::FRAMEADDR",
"ISD::RETURNADDR",
"\"unimplemented operation\""
] | PatmosISelLowering | LowerOperation | Patmos | VLIW | LLVM | 20,008 | 115 | 1 | [] |
[
"<s>",
"static",
"bool",
"aarch64_cmp_autovec_modes",
"(",
"machine_mode",
"sve_m",
",",
"machine_mode",
"asimd_m",
")",
"{",
"bool",
"only_asimd_p",
"=",
"aarch64_autovec_preference",
"==",
"1",
";",
"bool",
"only_sve_p",
"=",
"aarch64_autovec_preference",
"==",
"2",... | [
"Compare",
"an",
"SVE",
"mode",
"SVE_M",
"and",
"an",
"Advanced",
"SIMD",
"mode",
"ASIMD_M",
"and",
"return",
"whether",
"the",
"SVE",
"mode",
"should",
"be",
"preferred",
"over",
"the",
"Advanced",
"SIMD",
"one",
"in",
"aarch64_autovectorize_vector_modes",
"."
... | [
"aarch64",
"1",
"2",
"3",
"4"
] | aarch641 | aarch64_cmp_autovec_modes | aarch64 | CPU | GCC | 20,009 | 136 | 1 | [] |
[
"<s>",
"void",
"RISCVFrameLowering",
"::",
"emitEpilogue",
"(",
"MachineFunction",
"&",
"MF",
",",
"MachineBasicBlock",
"&",
"MBB",
")",
"const",
"{",
"}",
"</s>"
] | [
"Insert",
"epilog",
"code",
"into",
"the",
"function",
"."
] | [
"RISCV",
"RISCV"
] | RISCVFrameLowering24 | emitEpilogue | RISCV | CPU | LLVM | 20,010 | 16 | 1 | [] |
[
"<s>",
"void",
"addExpr",
"(",
"MCInst",
"&",
"Inst",
",",
"const",
"MCExpr",
"*",
"Expr",
")",
"const",
"{",
"if",
"(",
"!",
"Expr",
")",
"Inst",
".",
"addOperand",
"(",
"MCOperand",
"::",
"createImm",
"(",
"0",
")",
")",
";",
"else",
"if",
"(",
... | [
"Add",
"a",
"new",
"MCExpr",
"operand",
"."
] | [
"M88k",
"0"
] | M88kAsmParser | addExpr | M88k | MPU | LLVM | 20,011 | 76 | 1 | [] |
[
"<s>",
"static",
"void",
"rs6000_darwin64_record_arg_recurse",
"(",
"CUMULATIVE_ARGS",
"*",
"cum",
",",
"const_tree",
"type",
",",
"HOST_WIDE_INT",
"startbitpos",
",",
"rtx",
"rvec",
"[",
"]",
",",
"int",
"*",
"k",
")",
"{",
"tree",
"f",
";",
"for",
"(",
"... | [
"Recursive",
"workhorse",
"for",
"the",
"following",
"."
] | [
"rs6000",
"0",
"7",
"3",
"1",
"1",
"1",
"1"
] | rs60005 | rs6000_darwin64_record_arg_recurse | rs6000 | CPU | GCC | 20,012 | 381 | 1 | [] |
[
"<s>",
"bool",
"SIInstrInfo",
"::",
"areMemAccessesTriviallyDisjoint",
"(",
"const",
"MachineInstr",
"&",
"MIa",
",",
"const",
"MachineInstr",
"&",
"MIb",
")",
"const",
"{",
"assert",
"(",
"MIa",
".",
"mayLoadOrStore",
"(",
")",
"&&",
"\"MIa must load from or modi... | [
"Sometimes",
",",
"it",
"is",
"possible",
"for",
"the",
"target",
"to",
"tell",
",",
"even",
"without",
"aliasing",
"information",
",",
"that",
"two",
"MIs",
"access",
"different",
"memory",
"addresses",
"."
] | [
"AMDGPU",
"SI",
"\"MIa must load from or modify a memory location\"",
"\"MIb must load from or modify a memory location\""
] | SIInstrInfo140 | areMemAccessesTriviallyDisjoint | AMDGPU | GPU | LLVM | 20,013 | 230 | 1 | [] |
[
"<s>",
"bool",
"rs6000_linux_float_exceptions_rounding_supported_p",
"(",
"void",
")",
"{",
"if",
"(",
"OPTION_GLIBC",
")",
"return",
"true",
";",
"else",
"return",
"TARGET_HARD_FLOAT",
";",
"}",
"</s>"
] | [
"Implement",
"TARGET_FLOAT_EXCEPTIONS_ROUNDING_SUPPORTED_P",
"."
] | [
"rs6000"
] | rs6000-linux | rs6000_linux_float_exceptions_rounding_supported_p | rs6000 | CPU | GCC | 20,014 | 18 | 1 | [] |
[
"<s>",
"unsigned",
"HexagonTTIImpl",
"::",
"getArithmeticInstrCost",
"(",
"unsigned",
"Opcode",
",",
"Type",
"*",
"Ty",
",",
"TTI",
"::",
"OperandValueKind",
"Opd1Info",
",",
"TTI",
"::",
"OperandValueKind",
"Opd2Info",
",",
"TTI",
"::",
"OperandValueProperties",
... | [
"This",
"is",
"an",
"approximation",
"of",
"reciprocal",
"throughput",
"of",
"a",
"math/logic",
"op",
"."
] | [
"Hexagon",
"Hexagon"
] | HexagonTargetTransformInfo11 | getArithmeticInstrCost | Hexagon | DSP | LLVM | 20,015 | 113 | 1 | [] |
[
"<s>",
"unsigned",
"PatmosMCCodeEmitter",
"::",
"getMachineOpValue",
"(",
"const",
"MCInst",
"&",
"MI",
",",
"const",
"MCOperand",
"&",
"MO",
",",
"SmallVectorImpl",
"<",
"MCFixup",
">",
"&",
"Fixups",
")",
"const",
"{",
"if",
"(",
"MO",
".",
"isReg",
"(",... | [
"getMachineOpValue",
"-",
"Return",
"binary",
"encoding",
"of",
"operand",
"."
] | [
"Patmos",
"Patmos",
"Patmos"
] | PatmosMCCodeEmitter | getMachineOpValue | Patmos | VLIW | LLVM | 20,016 | 68 | 1 | [] |
[
"<s>",
"bool",
"MSP430AsmPrinter",
"::",
"doFinalization",
"(",
"Module",
"&",
"M",
")",
"{",
"return",
"AsmPrinter",
"::",
"doFinalization",
"(",
"M",
")",
";",
"}",
"</s>"
] | [
"doFinalization",
"-",
"Virtual",
"method",
"overriden",
"by",
"subclasses",
"to",
"do",
"any",
"necessary",
"clean",
"up",
"after",
"all",
"passes",
"have",
"run",
"."
] | [
"MSP430",
"MSP430"
] | MSP430AsmPrinter8 | doFinalization | MSP430 | MPU | LLVM | 20,017 | 19 | 1 | [] |
[
"<s>",
"bool",
"LinuxAsmPrinter",
"::",
"doInitialization",
"(",
"Module",
"&",
"M",
")",
"{",
"bool",
"Result",
"=",
"AsmPrinter",
"::",
"doInitialization",
"(",
"M",
")",
";",
"DW",
"=",
"getAnalysisIfAvailable",
"<",
"DwarfWriter",
">",
"(",
")",
";",
"... | [
"Set",
"up",
"the",
"AsmPrinter",
"when",
"we",
"are",
"working",
"on",
"a",
"new",
"module",
"."
] | [
"CellSPU"
] | SPUAsmPrinter1 | doInitialization | CellSPU | MPU | LLVM | 20,018 | 33 | 1 | [] |
[
"<s>",
"void",
"M68kPassConfig",
"::",
"addPreEmitPass",
"(",
")",
"{",
"addPass",
"(",
"createM68kCollapseMOVEMPass",
"(",
")",
")",
";",
"}",
"</s>"
] | [
"This",
"pass",
"may",
"be",
"implemented",
"by",
"targets",
"that",
"want",
"to",
"run",
"passes",
"immediately",
"before",
"machine",
"code",
"is",
"emitted",
"."
] | [
"M68k",
"M68k",
"M68k"
] | M68kTargetMachine | addPreEmitPass | M68k | MPU | LLVM | 20,019 | 15 | 1 | [] |
[
"<s>",
"SDValue",
"X86TargetLowering",
"::",
"LowerCallResult",
"(",
"SDValue",
"Chain",
",",
"SDValue",
"InFlag",
",",
"CallingConv",
"::",
"ID",
"CallConv",
",",
"bool",
"isVarArg",
",",
"const",
"SmallVectorImpl",
"<",
"ISD",
"::",
"InputArg",
">",
"&",
"In... | [
"LowerCallResult",
"-",
"Lower",
"the",
"result",
"values",
"of",
"an",
"ISD",
":",
":CALL",
"into",
"the",
"appropriate",
"copies",
"out",
"of",
"appropriate",
"physical",
"registers",
"."
] | [
"X86",
"X86",
"ISD::InputArg",
"16",
"X86",
"0",
"MVT::f32",
"MVT::f64",
"\"SSE register return with SSE disabled\"",
"X86::ST0",
"X86::ST1",
"MVT::f80",
"X86::FpPOP_RETVAL",
"MVT::Other",
"MVT::Glue",
"2",
"1",
"0",
"ISD::FP_ROUND",
"1",
"1",
"0",
"2"
] | X86ISelLowering121 | LowerCallResult | X86 | CPU | LLVM | 20,020 | 379 | 1 | [] |
[
"<s>",
"static",
"char",
"*",
"rs6000_offload_options",
"(",
"void",
")",
"{",
"if",
"(",
"TARGET_64BIT",
")",
"return",
"xstrdup",
"(",
"\"-foffload-abi=lp64\"",
")",
";",
"else",
"return",
"xstrdup",
"(",
"\"-foffload-abi=ilp32\"",
")",
";",
"}",
"</s>"
] | [
"Implement",
"the",
"TARGET_OFFLOAD_OPTIONS",
"hook",
"."
] | [
"powerpcspe",
"\"-foffload-abi=lp64\"",
"\"-foffload-abi=ilp32\""
] | powerpcspe | rs6000_offload_options | powerpcspe | CPU | GCC | 20,021 | 26 | 1 | [] |
[
"<s>",
"bool",
"s390_vectorize_vec_perm_const",
"(",
"machine_mode",
"vmode",
",",
"machine_mode",
"op_mode",
",",
"rtx",
"target",
",",
"rtx",
"op0",
",",
"rtx",
"op1",
",",
"const",
"vec_perm_indices",
"&",
"sel",
")",
"{",
"if",
"(",
"vmode",
"!=",
"op_mo... | [
"Return",
"true",
"if",
"we",
"can",
"emit",
"instructions",
"for",
"the",
"constant",
"permutation",
"vector",
"in",
"SEL",
".",
"If",
"OUTPUT",
",",
"IN0",
",",
"IN1",
"are",
"non-null",
"the",
"hook",
"is",
"supposed",
"to",
"emit",
"the",
"required",
... | [
"s390",
"16",
"0",
"2",
"1",
"0",
"2"
] | s3901 | s390_vectorize_vec_perm_const | s390 | MPU | GCC | 20,022 | 265 | 1 | [] |
[
"<s>",
"static",
"std",
"::",
"unique_ptr",
"<",
"MipsOperand",
">",
"CreateMem",
"(",
"std",
"::",
"unique_ptr",
"<",
"MipsOperand",
">",
"Base",
",",
"const",
"MCExpr",
"*",
"Off",
",",
"SMLoc",
"S",
",",
"SMLoc",
"E",
",",
"MipsAsmParser",
"&",
"Parse... | [
"Create",
"a",
"generalized",
"memory",
"operand",
"."
] | [
"Mips",
"Mips",
"Mips",
"Mips",
"Mips"
] | MipsAsmParser (2)4 | CreateMem | Mips | CPU | LLVM | 20,023 | 84 | 1 | [] |
[
"<s>",
"bool",
"X86InstrInfo",
"::",
"isCopyInstr",
"(",
"const",
"MachineInstr",
"&",
"MI",
",",
"const",
"MachineOperand",
"*",
"&",
"Src",
",",
"const",
"MachineOperand",
"*",
"&",
"Dest",
")",
"const",
"{",
"if",
"(",
"MI",
".",
"isMoveReg",
"(",
")"... | [
"If",
"the",
"specific",
"machine",
"instruction",
"is",
"a",
"instruction",
"that",
"moves/copies",
"value",
"from",
"one",
"register",
"to",
"another",
"register",
"return",
"destination",
"and",
"source",
"registers",
"as",
"machine",
"operands",
"."
] | [
"X86",
"X86",
"0",
"1"
] | X86InstrInfo | isCopyInstr | X86 | CPU | LLVM | 20,024 | 61 | 1 | [] |
[
"<s>",
"Nios2Subtarget",
"&",
"Nios2Subtarget",
"::",
"initializeSubtargetDependencies",
"(",
"StringRef",
"CPU",
",",
"StringRef",
"FS",
")",
"{",
"if",
"(",
"TargetTriple",
".",
"getArch",
"(",
")",
"==",
"Triple",
"::",
"nios2",
")",
"{",
"if",
"(",
"CPU"... | [
"initializeSubtargetDependencies",
"-",
"Initializes",
"using",
"a",
"CPU",
",",
"a",
"TuneCPU",
",",
"and",
"feature",
"string",
"so",
"that",
"we",
"can",
"use",
"initializer",
"lists",
"for",
"subtarget",
"initialization",
"."
] | [
"Nios2",
"Nios2",
"Nios2",
"\"nios2r2\"",
"\"nios2r1\"",
"Nios2",
"Nios2",
"Nios2",
"Nios2",
"\"!!!Error, TargetTriple.getArch() = \"",
"\"CPU = \"",
"\"\\n\"",
"0"
] | Nios2Subtarget | initializeSubtargetDependencies | Nios2 | MPU | LLVM | 20,025 | 88 | 1 | [] |
[
"<s>",
"bool",
"ARMLoadStoreOpt",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"Fn",
")",
"{",
"if",
"(",
"skipFunction",
"(",
"Fn",
".",
"getFunction",
"(",
")",
")",
")",
"return",
"false",
";",
"MF",
"=",
"&",
"Fn",
";",
"STI",
"=",
"&... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"ARM",
"ARM",
"ARM",
"ARM"
] | ARMLoadStoreOptimizer38 | runOnMachineFunction | ARM | CPU | LLVM | 20,026 | 169 | 1 | [] |
[
"<s>",
"static",
"int",
"csky_sched_issue_rate",
"(",
"void",
")",
"{",
"if",
"(",
"CSKY_TARGET_ARCH",
"(",
"CK810",
")",
")",
"return",
"2",
";",
"else",
"return",
"1",
";",
"}",
"</s>"
] | [
"Implement",
"TARGET_SCHED_ISSUE_RATE",
".",
"Lookup",
"the",
"issue",
"rate",
"in",
"the",
"per-core",
"tuning",
"structs",
"."
] | [
"csky",
"2",
"1"
] | csky | csky_sched_issue_rate | csky | CPU | GCC | 20,027 | 22 | 1 | [] |
[
"<s>",
"static",
"bool",
"frv_registers_conflict_p_1",
"(",
"rtx",
"pat",
",",
"regstate_t",
"cond",
")",
"{",
"subrtx_var_iterator",
"::",
"array_type",
"array",
";",
"FOR_EACH_SUBRTX_VAR",
"(",
"iter",
",",
"array",
",",
"pat",
",",
"NONCONST",
")",
"{",
"rt... | [
"A",
"for_each_rtx",
"callback",
".",
"Return",
"1",
"if",
"*",
"X",
"depends",
"on",
"an",
"instruction",
"in",
"the",
"current",
"packet",
".",
"DATA",
"points",
"to",
"a",
"regstate_t",
"that",
"describes",
"the",
"condition",
"under",
"which",
"*",
"X"... | [
"frv",
"0",
"1",
"0"
] | frv | frv_registers_conflict_p_1 | frv | VLIW | GCC | 20,028 | 224 | 1 | [] |
[
"<s>",
"Optional",
"<",
"DestSourcePair",
">",
"M88kInstrInfo",
"::",
"isCopyInstrImpl",
"(",
"const",
"MachineInstr",
"&",
"MI",
")",
"const",
"{",
"if",
"(",
"MI",
".",
"isMoveReg",
"(",
")",
"||",
"(",
"MI",
".",
"getOpcode",
"(",
")",
"==",
"M88k",
... | [
"If",
"the",
"specific",
"machine",
"instruction",
"is",
"a",
"instruction",
"that",
"moves/copies",
"value",
"from",
"one",
"register",
"to",
"another",
"register",
"return",
"destination",
"and",
"source",
"registers",
"as",
"machine",
"operands",
"."
] | [
"M88k",
"M88k",
"M88k::ORri",
"2",
"0",
"0",
"1",
"M88k::ORrr",
"2",
"M88k::R0",
"0",
"1",
"1",
"M88k::R0",
"0",
"2"
] | M88kInstrInfo | isCopyInstrImpl | M88k | MPU | LLVM | 20,029 | 154 | 1 | [] |
[
"<s>",
"bool",
"AMDGPUAlwaysInline",
"::",
"runOnModule",
"(",
"Module",
"&",
"M",
")",
"{",
"std",
"::",
"vector",
"<",
"GlobalAlias",
"*",
">",
"AliasesToRemove",
";",
"std",
"::",
"vector",
"<",
"Function",
"*",
">",
"FuncsToClone",
";",
"for",
"(",
"... | [
"runOnModule",
"-",
"Virtual",
"method",
"overriden",
"by",
"subclasses",
"to",
"process",
"the",
"module",
"being",
"operated",
"on",
"."
] | [
"AMDGPU",
"AMDGPU"
] | AMDGPUAlwaysInlinePass9 | runOnModule | AMDGPU | GPU | LLVM | 20,030 | 253 | 1 | [] |
[
"<s>",
"static",
"SDValue",
"matchBinOpReduction",
"(",
"SDNode",
"*",
"Extract",
",",
"ISD",
"::",
"NodeType",
"BinOp",
")",
"{",
"if",
"(",
"(",
"Extract",
"->",
"getOpcode",
"(",
")",
"!=",
"ISD",
"::",
"EXTRACT_VECTOR_ELT",
")",
"||",
"!",
"isNullConst... | [
"Match",
"a",
"binop",
"+",
"shuffle",
"pyramid",
"that",
"represents",
"a",
"horizontal",
"reduction",
"over",
"the",
"elements",
"of",
"a",
"vector",
"starting",
"from",
"the",
"EXTRACT_VECTOR_ELT",
"node",
"/p",
"Extract",
"."
] | [
"X86",
"ISD::NodeType",
"ISD::EXTRACT_VECTOR_ELT",
"1",
"0",
"0",
"0",
"0",
"1",
"1",
"0",
"0",
"0",
"1"
] | X86ISelLowering10 | matchBinOpReduction | X86 | CPU | LLVM | 20,031 | 236 | 1 | [] |
[
"<s>",
"static",
"MBlazeOperand",
"*",
"CreateMem",
"(",
"unsigned",
"Base",
",",
"unsigned",
"Off",
",",
"SMLoc",
"S",
",",
"SMLoc",
"E",
")",
"{",
"MBlazeOperand",
"*",
"Op",
"=",
"new",
"MBlazeOperand",
"(",
"Memory",
")",
";",
"Op",
"->",
"Mem",
".... | [
"Create",
"a",
"generalized",
"memory",
"operand",
"."
] | [
"MBlaze",
"MBlaze",
"MBlaze",
"MBlaze",
"0"
] | MBlazeAsmParser1 | CreateMem | MBlaze | MPU | LLVM | 20,032 | 68 | 1 | [] |
[
"<s>",
"tree",
"function_resolver",
"::",
"report_no_such_form",
"(",
"type_suffix_index",
"type",
")",
"{",
"error_at",
"(",
"location",
",",
"\"%qE has no form that takes %qT arguments\"",
",",
"fndecl",
",",
"get_vector_type",
"(",
"type",
")",
")",
";",
"return",
... | [
"Report",
"that",
"the",
"function",
"has",
"no",
"form",
"that",
"takes",
"type",
"suffix",
"TYPE",
".",
"Return",
"error_mark_node",
"."
] | [
"aarch64",
"\"%qE has no form that takes %qT arguments\""
] | aarch64-sve-builtins | report_no_such_form | aarch64 | CPU | GCC | 20,033 | 27 | 1 | [] |
[
"<s>",
"void",
"XCoreAsmPrinter",
"::",
"EmitInstruction",
"(",
"const",
"MachineInstr",
"*",
"MI",
")",
"{",
"SmallString",
"<",
"128",
">",
"Str",
";",
"raw_svector_ostream",
"O",
"(",
"Str",
")",
";",
"switch",
"(",
"MI",
"->",
"getOpcode",
"(",
")",
... | [
"EmitInstruction",
"-",
"This",
"callback",
"is",
"invoked",
"when",
"an",
"instruction",
"is",
"emitted",
",",
"to",
"advance",
"the",
"hazard",
"state",
"."
] | [
"XCore",
"XCore",
"128",
"XCore::DBG_VALUE",
"128",
"XCore::ADD_2rus",
"2",
"0",
"\"\\tmov \"",
"0",
"\", \"",
"1"
] | XCoreAsmPrinter29 | EmitInstruction | XCore | MPU | LLVM | 20,034 | 179 | 1 | [] |
[
"<s>",
"void",
"X86FrameLowering",
"::",
"processFunctionBeforeFrameFinalized",
"(",
"MachineFunction",
"&",
"MF",
",",
"RegScavenger",
"*",
"RS",
")",
"const",
"{",
"MF",
".",
"setHasWinCFI",
"(",
"false",
")",
";",
"const",
"Function",
"&",
"F",
"=",
"MF",
... | [
"processFunctionBeforeFrameFinalized",
"-",
"This",
"method",
"is",
"called",
"immediately",
"before",
"the",
"specified",
"function",
"'s",
"frame",
"layout",
"(",
"MF.getFrameInfo",
"(",
")",
")",
"is",
"finalized",
"."
] | [
"X86",
"X86",
"0",
"8",
"X86::MOV64mi32",
"2"
] | X86FrameLowering101 | processFunctionBeforeFrameFinalized | X86 | CPU | LLVM | 20,035 | 328 | 1 | [] |
[
"<s>",
"void",
"RISCVFrameLowering",
"::",
"determineCalleeSaves",
"(",
"MachineFunction",
"&",
"MF",
",",
"BitVector",
"&",
"SavedRegs",
",",
"RegScavenger",
"*",
"RS",
")",
"const",
"{",
"TargetFrameLowering",
"::",
"determineCalleeSaves",
"(",
"MF",
",",
"Saved... | [
"This",
"method",
"determines",
"which",
"of",
"the",
"registers",
"reported",
"by",
"TargetRegisterInfo",
":",
":getCalleeSavedRegs",
"(",
")",
"should",
"actually",
"get",
"saved",
"."
] | [
"RISCV",
"RISCV",
"RISCV::X1",
"RISCV::X8",
"\"interrupt\"",
"RISCV::X1",
"RISCV::X5",
"RISCV::X6",
"RISCV::X7",
"RISCV::X10",
"RISCV::X11",
"RISCV::X12",
"RISCV::X13",
"RISCV::X14",
"RISCV::X15",
"RISCV::X16",
"RISCV::X17",
"RISCV::X28",
"RISCV::X29",
"RISCV::X30",
"RISCV::X... | RISCVFrameLowering10 | determineCalleeSaves | RISCV | CPU | LLVM | 20,036 | 285 | 1 | [] |
[
"<s>",
"bool",
"UPTInstrInfo",
"::",
"analyzeBranch",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"*",
"&",
"TBB",
",",
"MachineBasicBlock",
"*",
"&",
"FBB",
",",
"SmallVectorImpl",
"<",
"MachineOperand",
">",
"&",
"Cond",
",",
"bool",
"All... | [
"analyzeBranch",
"-",
"Analyze",
"the",
"branching",
"code",
"at",
"the",
"end",
"of",
"MBB",
",",
"returning",
"true",
"if",
"it",
"can",
"not",
"be",
"understood",
"(",
"e.g",
"."
] | [
"UPT",
"UPT",
"UPT::JMP",
"0",
"UPT::Bcc",
"1",
"0"
] | UPTInstrInfo | analyzeBranch | UPT | CPU | LLVM | 20,037 | 154 | 1 | [] |
[
"<s>",
"static",
"rtx",
"ix86_expand_sse_round",
"(",
"const",
"struct",
"builtin_description",
"*",
"d",
",",
"tree",
"exp",
",",
"rtx",
"target",
")",
"{",
"rtx",
"pat",
";",
"tree",
"arg0",
"=",
"CALL_EXPR_ARG",
"(",
"exp",
",",
"0",
")",
";",
"rtx",
... | [
"Subroutines",
"of",
"ix86_expand_args_builtin",
"to",
"take",
"care",
"of",
"round",
"insns",
"."
] | [
"i386",
"0",
"0",
"1",
"0",
"0",
"0",
"0"
] | i386-expand | ix86_expand_sse_round | i386 | CPU | GCC | 20,038 | 217 | 1 | [] |
[
"<s>",
"TargetPassConfig",
"*",
"Z80TargetMachine",
"::",
"createPassConfig",
"(",
"PassManagerBase",
"&",
"PM",
")",
"{",
"return",
"new",
"Z80PassConfig",
"(",
"this",
",",
"PM",
")",
";",
"}",
"</s>"
] | [
"Create",
"a",
"pass",
"configuration",
"object",
"to",
"be",
"used",
"by",
"addPassToEmitX",
"methods",
"for",
"generating",
"a",
"pipeline",
"of",
"CodeGen",
"passes",
"."
] | [
"Z80",
"Z80",
"Z80"
] | Z80TargetMachine (2) | createPassConfig | Z80 | MPU | LLVM | 20,039 | 21 | 1 | [] |
[
"<s>",
"bool",
"X86PassConfig",
"::",
"addILPOpts",
"(",
")",
"{",
"if",
"(",
"X86EarlyIfConv",
"&&",
"getX86Subtarget",
"(",
")",
".",
"hasCMov",
"(",
")",
")",
"{",
"addPass",
"(",
"&",
"EarlyIfConverterID",
")",
";",
"return",
"true",
";",
"}",
"retur... | [
"Add",
"passes",
"that",
"optimize",
"instruction",
"level",
"parallelism",
"for",
"out-of-order",
"targets",
"."
] | [
"X86",
"X86",
"X86",
"X86"
] | X86TargetMachine1 | addILPOpts | X86 | CPU | LLVM | 20,040 | 34 | 1 | [] |
[
"<s>",
"int",
"MipsSEFrameLowering",
"::",
"getFrameIndexReference",
"(",
"const",
"MachineFunction",
"&",
"MF",
",",
"int",
"FI",
",",
"unsigned",
"&",
"FrameReg",
")",
"const",
"{",
"const",
"MachineFrameInfo",
"*",
"MFI",
"=",
"MF",
".",
"getFrameInfo",
"("... | [
"getFrameIndexReference",
"-",
"This",
"method",
"should",
"return",
"the",
"base",
"register",
"and",
"offset",
"used",
"to",
"reference",
"a",
"frame",
"index",
"location",
"."
] | [
"Mips",
"Mips",
"Mips"
] | MipsSEFrameLowering1 | getFrameIndexReference | Mips | CPU | LLVM | 20,041 | 112 | 1 | [] |
[
"<s>",
"unsigned",
"getMinPrefetchStride",
"(",
")",
"const",
"{",
"return",
"MinPrefetchStride",
";",
"}",
"</s>"
] | [
"Some",
"HW",
"prefetchers",
"can",
"handle",
"accesses",
"up",
"to",
"a",
"certain",
"constant",
"stride",
"."
] | [
"AArch64"
] | AArch64Subtarget10 | getMinPrefetchStride | AArch64 | CPU | LLVM | 20,042 | 10 | 1 | [] |
[
"<s>",
"bool",
"ix86_check_movabs",
"(",
"rtx",
"insn",
",",
"int",
"opnum",
")",
"{",
"rtx",
"set",
",",
"mem",
";",
"set",
"=",
"PATTERN",
"(",
"insn",
")",
";",
"if",
"(",
"GET_CODE",
"(",
"set",
")",
"==",
"PARALLEL",
")",
"set",
"=",
"XVECEXP"... | [
"Return",
"nonzero",
"if",
"OPNUM",
"'s",
"MEM",
"should",
"be",
"matched",
"in",
"movabs",
"*",
"patterns",
"."
] | [
"i386",
"0",
"0"
] | i386 | ix86_check_movabs | i386 | CPU | GCC | 20,043 | 93 | 1 | [] |
[
"<s>",
"rtx",
"sh_load_function_descriptor",
"(",
"rtx",
"funcdesc",
")",
"{",
"rtx",
"r1",
"=",
"gen_rtx_REG",
"(",
"Pmode",
",",
"R1_REG",
")",
";",
"rtx",
"pic_reg",
"=",
"gen_rtx_REG",
"(",
"Pmode",
",",
"PIC_REG",
")",
";",
"rtx",
"fnaddr",
"=",
"ge... | [
"Emit",
"insns",
"to",
"load",
"the",
"function",
"address",
"from",
"FUNCDESC",
"(",
"an",
"FDPIC",
"function",
"descriptor",
")",
"into",
"r1",
"and",
"the",
"GOT",
"address",
"into",
"r12",
",",
"returning",
"an",
"rtx",
"for",
"r1",
"."
] | [
"sh",
"4"
] | sh | sh_load_function_descriptor | sh | CPU | GCC | 20,044 | 79 | 1 | [] |
[
"<s>",
"static",
"rtx",
"find_alignment_op",
"(",
"rtx_insn",
"*",
"insn",
",",
"rtx",
"base_reg",
")",
"{",
"df_ref",
"base_use",
";",
"struct",
"df_insn_info",
"*",
"insn_info",
"=",
"DF_INSN_INFO_GET",
"(",
"insn",
")",
";",
"rtx",
"and_operation",
"=",
"... | [
"Given",
"INSN",
"that",
"'s",
"a",
"load",
"or",
"store",
"based",
"at",
"BASE_REG",
",",
"check",
"if",
"all",
"of",
"its",
"feeding",
"computations",
"align",
"its",
"address",
"on",
"a",
"16-byte",
"boundary",
".",
"If",
"so",
",",
"return",
"true",
... | [
"rs6000",
"0",
"0"
] | rs60006 | find_alignment_op | rs6000 | CPU | GCC | 20,045 | 115 | 1 | [] |
[
"<s>",
"inline",
"bool",
"registered_function_hasher",
"::",
"equal",
"(",
"value_type",
"value",
",",
"const",
"compare_type",
"&",
"key",
")",
"{",
"return",
"value",
"->",
"instance",
"==",
"key",
";",
"}",
"</s>"
] | [
"Compare",
"H1",
"and",
"H2",
"for",
"equivalence",
"."
] | [
"aarch64"
] | aarch64-sve-builtins | equal | aarch64 | CPU | GCC | 20,046 | 23 | 1 | [] |
[
"<s>",
"void",
"SystemZAsmPrinter",
"::",
"EmitInstruction",
"(",
"const",
"MachineInstr",
"*",
"MI",
")",
"{",
"SystemZMCInstLower",
"Lower",
"(",
"MF",
"->",
"getContext",
"(",
")",
",",
"*",
"this",
")",
";",
"MCInst",
"LoweredMI",
";",
"switch",
"(",
"... | [
"EmitInstruction",
"-",
"This",
"callback",
"is",
"invoked",
"when",
"an",
"instruction",
"is",
"emitted",
",",
"to",
"advance",
"the",
"hazard",
"state",
"."
] | [
"SystemZ",
"SystemZ",
"SystemZ",
"SystemZ::Return",
"SystemZ::BR",
"SystemZ::R14D",
"SystemZ::CallBRASL",
"SystemZ::BRASL",
"SystemZ::R14D",
"0",
"SystemZ::CallBASR",
"SystemZ::BASR",
"SystemZ::R14D",
"0",
"SystemZ::CallJG",
"SystemZ::JG",
"0",
"SystemZ::CallBR",
"SystemZ::BR",
... | SystemZAsmPrinter34 | EmitInstruction | SystemZ | CPU | LLVM | 20,047 | 510 | 1 | [] |
[
"<s>",
"bool",
"WebAssemblyTargetLowering",
"::",
"getTgtMemIntrinsic",
"(",
"IntrinsicInfo",
"&",
"Info",
",",
"const",
"CallInst",
"&",
"I",
",",
"MachineFunction",
"&",
"MF",
",",
"unsigned",
"Intrinsic",
")",
"const",
"{",
"switch",
"(",
"Intrinsic",
")",
... | [
"Given",
"an",
"intrinsic",
",",
"checks",
"if",
"on",
"the",
"target",
"the",
"intrinsic",
"will",
"need",
"to",
"map",
"to",
"a",
"MemIntrinsicNode",
"(",
"touches",
"memory",
")",
"."
] | [
"WebAssembly",
"WebAssembly",
"Intrinsic::wasm_memory_atomic_notify",
"ISD::INTRINSIC_W_CHAIN",
"MVT::i32",
"0",
"0",
"4",
"Intrinsic::wasm_memory_atomic_wait32",
"ISD::INTRINSIC_W_CHAIN",
"MVT::i32",
"0",
"0",
"4",
"Intrinsic::wasm_memory_atomic_wait64",
"ISD::INTRINSIC_W_CHAIN",
"M... | WebAssemblyISelLowering15 | getTgtMemIntrinsic | WebAssembly | Virtual ISA | LLVM | 20,048 | 221 | 1 | [] |
[
"<s>",
"static",
"int",
"avr_register_move_cost",
"(",
"machine_mode",
"mode",
"ATTRIBUTE_UNUSED",
",",
"reg_class_t",
"from",
",",
"reg_class_t",
"to",
")",
"{",
"return",
"(",
"from",
"==",
"STACK_REG",
"?",
"6",
":",
"to",
"==",
"STACK_REG",
"?",
"12",
":... | [
"Implement",
"`",
"TARGET_REGISTER_MOVE_COST",
"'"
] | [
"avr",
"6",
"12",
"2"
] | avr | avr_register_move_cost | avr | MPU | GCC | 20,049 | 33 | 1 | [] |
[
"<s>",
"static",
"int",
"arc_arg_partial_bytes",
"(",
"cumulative_args_t",
"cum_v",
",",
"const",
"function_arg_info",
"&",
"arg",
")",
"{",
"CUMULATIVE_ARGS",
"*",
"cum",
"=",
"get_cumulative_args",
"(",
"cum_v",
")",
";",
"int",
"bytes",
"=",
"arg",
".",
"pr... | [
"Implement",
"TARGET_ARG_PARTIAL_BYTES",
"."
] | [
"arc",
"1",
"0"
] | arc | arc_arg_partial_bytes | arc | MPU | GCC | 20,050 | 93 | 1 | [] |
[
"<s>",
"void",
"PPCPassConfig",
"::",
"addPreRegAlloc",
"(",
")",
"{",
"if",
"(",
"getOptLevel",
"(",
")",
"!=",
"CodeGenOpt",
"::",
"None",
")",
"{",
"initializePPCVSXFMAMutatePass",
"(",
"*",
"PassRegistry",
"::",
"getPassRegistry",
"(",
")",
")",
";",
"in... | [
"This",
"method",
"may",
"be",
"implemented",
"by",
"targets",
"that",
"want",
"to",
"run",
"passes",
"immediately",
"before",
"register",
"allocation",
"."
] | [
"PowerPC",
"PPC",
"PPC",
"PPC",
"PPC",
"PPC",
"PPC"
] | PPCTargetMachine63 | addPreRegAlloc | PowerPC | CPU | LLVM | 20,051 | 86 | 1 | [] |
[
"<s>",
"static",
"void",
"mmix_output_shifted_value",
"(",
"FILE",
"*",
"stream",
",",
"int64_t",
"value",
")",
"{",
"int",
"i",
";",
"if",
"(",
"!",
"mmix_shiftable_wyde_value",
"(",
"value",
")",
")",
"{",
"char",
"s",
"[",
"16",
"+",
"2",
"+",
"1",
... | [
"Print",
"the",
"presumed",
"shiftable",
"wyde",
"argument",
"shifted",
"into",
"place",
"(",
"to",
"be",
"output",
"with",
"an",
"operand",
")",
"."
] | [
"mmix",
"16",
"2",
"1",
"\"%#\"",
"\"MMIX Internal: %s is not a shiftable int\"",
"0",
"4",
"0xffff",
"\"#%x\"",
"0xffff",
"16",
"\"0\""
] | mmix4 | mmix_output_shifted_value | mmix | CPU | GCC | 20,052 | 105 | 1 | [] |
[
"<s>",
"static",
"bool",
"riscv_canonicalize_int_order_test",
"(",
"enum",
"rtx_code",
"*",
"code",
",",
"rtx",
"*",
"cmp1",
",",
"machine_mode",
"mode",
")",
"{",
"HOST_WIDE_INT",
"plus_one",
";",
"if",
"(",
"riscv_int_order_operand_ok_p",
"(",
"*",
"code",
","... | [
"Return",
"true",
"if",
"*",
"CMP1",
"(",
"of",
"mode",
"MODE",
")",
"is",
"a",
"valid",
"second",
"operand",
"for",
"integer",
"ordering",
"test",
"*",
"CODE",
",",
"or",
"if",
"an",
"equivalent",
"combination",
"can",
"be",
"formed",
"by",
"adjusting",... | [
"riscv",
"1",
"1",
"0"
] | riscv | riscv_canonicalize_int_order_test | riscv | CPU | GCC | 20,053 | 159 | 1 | [] |
[
"<s>",
"HexagonSubtarget",
"&",
"HexagonSubtarget",
"::",
"initializeSubtargetDependencies",
"(",
"StringRef",
"CPU",
",",
"StringRef",
"FS",
")",
"{",
"CPUString",
"=",
"Hexagon_MC",
"::",
"selectHexagonCPU",
"(",
"getTargetTriple",
"(",
")",
",",
"CPU",
")",
";"... | [
"initializeSubtargetDependencies",
"-",
"Initializes",
"using",
"a",
"CPU",
",",
"a",
"TuneCPU",
",",
"and",
"feature",
"string",
"so",
"that",
"we",
"can",
"use",
"initializer",
"lists",
"for",
"subtarget",
"initialization",
"."
] | [
"Hexagon",
"Hexagon",
"Hexagon",
"Hexagon",
"Hexagon",
"Hexagon",
"\"hexagonv4\"",
"\"hexagonv5\"",
"\"hexagonv55\"",
"\"hexagonv60\"",
"\"hexagonv62\"",
"Hexagon",
"\"Unrecognized Hexagon processor version\"",
"Hexagon",
"Hexagon",
"Hexagon",
"Hexagon"
] | HexagonSubtarget10 | initializeSubtargetDependencies | Hexagon | DSP | LLVM | 20,054 | 161 | 1 | [] |
[
"<s>",
"static",
"rtx",
"csky_legitimize_address",
"(",
"rtx",
"x",
",",
"rtx",
"orig_x",
"ATTRIBUTE_UNUSED",
",",
"machine_mode",
"mode",
")",
"{",
"if",
"(",
"csky_tls_symbol_p",
"(",
"x",
")",
")",
"return",
"csky_legitimize_tls_address",
"(",
"x",
",",
"NU... | [
"Implement",
"TARGET_LEGITIMIZE_ADDRESS",
"."
] | [
"csky",
"0",
"1",
"0",
"0",
"0",
"0",
"0",
"0"
] | csky | csky_legitimize_address | csky | CPU | GCC | 20,055 | 323 | 1 | [] |
[
"<s>",
"bool",
"PatmosLatencyQueue",
"::",
"empty",
"(",
")",
"{",
"return",
"AvailableQueue",
".",
"empty",
"(",
")",
"&&",
"PendingQueue",
".",
"empty",
"(",
")",
";",
"}",
"</s>"
] | [
"Determine",
"whether",
"this",
"version",
"information",
"is",
"empty",
"(",
"e.g.",
",",
"all",
"version",
"components",
"are",
"zero",
")",
"."
] | [
"Patmos",
"Patmos"
] | PatmosSchedStrategy | empty | Patmos | VLIW | LLVM | 20,056 | 21 | 1 | [] |
[
"<s>",
"bool",
"needAddressOf",
"(",
")",
"const",
"override",
"{",
"return",
"AddressOf",
";",
"}",
"</s>"
] | [
"needAddressOf",
"-",
"Do",
"we",
"need",
"to",
"emit",
"code",
"to",
"get",
"the",
"address",
"of",
"the",
"variable/label",
"?",
"Only",
"valid",
"when",
"parsing",
"MS-style",
"inline",
"assembly",
"."
] | [
"X86"
] | X86Operand (2) | needAddressOf | X86 | CPU | LLVM | 20,057 | 11 | 1 | [] |
[
"<s>",
"const",
"char",
"*",
"getPassName",
"(",
")",
"const",
"override",
"{",
"return",
"\"ARM Instruction Selection\"",
";",
"}",
"</s>"
] | [
"getPassName",
"-",
"Return",
"a",
"nice",
"clean",
"name",
"for",
"a",
"pass",
"."
] | [
"ARM",
"\"ARM Instruction Selection\""
] | ARMISelDAGToDAG (2)4 | getPassName | ARM | CPU | LLVM | 20,058 | 13 | 1 | [] |
[
"<s>",
"static",
"int",
"m68k_sched_adjust_cost",
"(",
"rtx_insn",
"*",
"insn",
",",
"int",
",",
"rtx_insn",
"*",
"def_insn",
",",
"int",
"cost",
",",
"unsigned",
"int",
")",
"{",
"int",
"delay",
";",
"if",
"(",
"recog_memoized",
"(",
"def_insn",
")",
"<... | [
"Implement",
"adjust_cost",
"scheduler",
"hook",
".",
"Return",
"adjusted",
"COST",
"of",
"dependency",
"LINK",
"between",
"DEF_INSN",
"and",
"INSN",
"."
] | [
"m68k",
"0",
"0",
"1",
"3",
"3",
"0",
"0"
] | m68k | m68k_sched_adjust_cost | m68k | MPU | GCC | 20,059 | 143 | 1 | [] |
[
"<s>",
"bool",
"HexagonPassConfig",
"::",
"addPreSched2",
"(",
")",
"{",
"const",
"HexagonTargetMachine",
"&",
"TM",
"=",
"getHexagonTargetMachine",
"(",
")",
";",
"const",
"HexagonTargetObjectFile",
"&",
"TLOF",
"=",
"(",
"const",
"HexagonTargetObjectFile",
"&",
... | [
"This",
"method",
"may",
"be",
"implemented",
"by",
"targets",
"that",
"want",
"to",
"run",
"passes",
"after",
"prolog-epilog",
"insertion",
"and",
"before",
"the",
"second",
"instruction",
"scheduling",
"pass",
"."
] | [
"Hexagon",
"Hexagon",
"Hexagon",
"Hexagon",
"Hexagon",
"Hexagon",
"Hexagon",
"Hexagon",
"\"After hexagon split const32/64 pass\""
] | HexagonTargetMachine16 | addPreSched2 | Hexagon | DSP | LLVM | 20,060 | 85 | 1 | [] |
[
"<s>",
"void",
"SystemZTargetLowering",
"::",
"LowerAsmOperandForConstraint",
"(",
"SDValue",
"Op",
",",
"std",
"::",
"string",
"&",
"Constraint",
",",
"std",
"::",
"vector",
"<",
"SDValue",
">",
"&",
"Ops",
",",
"SelectionDAG",
"&",
"DAG",
")",
"const",
"{"... | [
"Lower",
"the",
"specified",
"operand",
"into",
"the",
"Ops",
"vector",
"."
] | [
"SystemZ",
"SystemZ",
"1",
"0",
"8",
"12",
"16",
"20",
"0x7fffffff"
] | SystemZISelLowering (2)1 | LowerAsmOperandForConstraint | SystemZ | CPU | LLVM | 20,061 | 360 | 1 | [] |
[
"<s>",
"bool",
"RISCVAsmPrinter",
"::",
"PrintAsmOperand",
"(",
"const",
"MachineInstr",
"*",
"MI",
",",
"unsigned",
"OpNo",
",",
"unsigned",
"AsmVariant",
",",
"const",
"char",
"*",
"ExtraCode",
",",
"raw_ostream",
"&",
"OS",
")",
"{",
"if",
"(",
"AsmVarian... | [
"PrintAsmOperand",
"-",
"Print",
"out",
"an",
"operand",
"for",
"an",
"inline",
"asm",
"expression",
"."
] | [
"RISCV",
"RISCV",
"0",
"\"There are no defined alternate asm variants\"",
"RISCV"
] | RISCVAsmPrinter14 | PrintAsmOperand | RISCV | CPU | LLVM | 20,062 | 132 | 1 | [] |
[
"<s>",
"void",
"AMDGPUInstPrinter",
"::",
"printRegName",
"(",
"raw_ostream",
"&",
"OS",
",",
"unsigned",
"RegNo",
")",
"const",
"{",
"OS",
"<<",
"RegNo",
";",
"}",
"</s>"
] | [
"Print",
"the",
"assembler",
"register",
"name",
"."
] | [
"AMDGPU",
"AMDGPU"
] | AMDGPUInstPrinter23 | printRegName | AMDGPU | GPU | LLVM | 20,063 | 19 | 1 | [] |
[
"<s>",
"bool",
"isToken",
"(",
")",
"const",
"override",
"{",
"return",
"Kind",
"==",
"k_Tok",
";",
"}",
"</s>"
] | [
"isToken",
"-",
"Is",
"this",
"a",
"token",
"operand",
"?"
] | [
"MSP430"
] | MSP430AsmParser11 | isToken | MSP430 | MPU | LLVM | 20,064 | 13 | 1 | [] |
[
"<s>",
"int",
"ARMTTIImpl",
"::",
"getIntrinsicInstrCost",
"(",
"const",
"IntrinsicCostAttributes",
"&",
"ICA",
",",
"TTI",
"::",
"TargetCostKind",
"CostKind",
")",
"{",
"switch",
"(",
"ICA",
".",
"getID",
"(",
")",
")",
"{",
"case",
"Intrinsic",
"::",
"get_... | [
"Get",
"intrinsic",
"cost",
"based",
"on",
"arguments",
"."
] | [
"ARM",
"ARM",
"Intrinsic::get_active_lane_mask",
"0",
"Intrinsic::sadd_sat",
"Intrinsic::ssub_sat",
"Intrinsic::uadd_sat",
"Intrinsic::usub_sat",
"MVT::v4i32",
"MVT::v8i16",
"MVT::v16i8",
"1",
"4"
] | ARMTargetTransformInfo29 | getIntrinsicInstrCost | ARM | CPU | LLVM | 20,065 | 220 | 1 | [] |
[
"<s>",
"static",
"const",
"char",
"*",
"mips_get_compress_on_name",
"(",
"unsigned",
"int",
"flags",
")",
"{",
"if",
"(",
"flags",
"==",
"MASK_MIPS16",
")",
"return",
"\"mips16\"",
";",
"return",
"\"micromips\"",
";",
"}",
"</s>"
] | [
"Return",
"the",
"attribute",
"name",
"associated",
"with",
"MASK_MIPS16",
"and",
"MASK_MICROMIPS",
"flags",
"FLAGS",
"."
] | [
"mips",
"\"mips16\"",
"\"micromips\""
] | mips | mips_get_compress_on_name | mips | CPU | GCC | 20,066 | 24 | 1 | [] |
[
"<s>",
"SDValue",
"AMDGPUTargetLowering",
"::",
"LowerOperation",
"(",
"SDValue",
"Op",
",",
"SelectionDAG",
"&",
"DAG",
")",
"const",
"{",
"switch",
"(",
"Op",
".",
"getOpcode",
"(",
")",
")",
"{",
"default",
":",
"Op",
".",
"getNode",
"(",
")",
"->",
... | [
"LowerOperation",
"-",
"Provide",
"custom",
"lowering",
"hooks",
"for",
"some",
"operations",
"."
] | [
"R600",
"\"Custom lowering code for this\"",
"\"instruction is not implemented yet!\"",
"ISD::SIGN_EXTEND_INREG",
"SI",
"ISD::CONCAT_VECTORS",
"ISD::EXTRACT_SUBVECTOR",
"ISD::FrameIndex",
"ISD::INTRINSIC_WO_CHAIN",
"SI",
"ISD::UDIVREM",
"ISD::SDIVREM",
"ISD::FCEIL",
"ISD::FTRUNC",
"ISD::... | AMDGPUISelLowering125 | LowerOperation | R600 | GPU | LLVM | 20,067 | 217 | 1 | [] |
[
"<s>",
"void",
"MSP430InstrInfo",
"::",
"copyPhysReg",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"I",
",",
"const",
"DebugLoc",
"&",
"DL",
",",
"unsigned",
"DestReg",
",",
"unsigned",
"SrcReg",
",",
"bool",
"KillSrc",
")... | [
"}",
"Branch",
"Analysis",
"&",
"Modification"
] | [
"MSP430",
"MSP430",
"MSP430::GR16RegClass",
"MSP430::MOV16rr",
"MSP430::GR8RegClass",
"MSP430::MOV8rr",
"\"Impossible reg-to-reg copy\""
] | MSP430InstrInfo10 | copyPhysReg | MSP430 | MPU | LLVM | 20,068 | 105 | 1 | [] |
[
"<s>",
"void",
"AMDGPUMCInstLower",
"::",
"lower",
"(",
"const",
"MachineInstr",
"*",
"MI",
",",
"MCInst",
"&",
"OutMI",
")",
"const",
"{",
"unsigned",
"Opcode",
"=",
"MI",
"->",
"getOpcode",
"(",
")",
";",
"const",
"auto",
"*",
"TII",
"=",
"ST",
".",
... | [
"The",
"instruction",
"is",
"lowered",
"."
] | [
"AMDGPU",
"AMDGPU",
"AMDGPU::S_SETPC_B64_return",
"AMDGPU::S_SETPC_B64",
"AMDGPU::SI_CALL",
"AMDGPU::S_SWAPPC_B64",
"0",
"1",
"AMDGPU::SI_TCRETURN",
"AMDGPU::S_SETPC_B64",
"1",
"\"AMDGPUMCInstLower::lower - Pseudo instruction doesn't have \"",
"\"a target-specific version: \""
] | AMDGPUMCInstLower13 | lower | AMDGPU | GPU | LLVM | 20,069 | 235 | 1 | [] |
[
"<s>",
"ARCTargetMachine",
"::",
"ARCTargetMachine",
"(",
"const",
"Target",
"&",
"T",
",",
"const",
"Triple",
"&",
"TT",
",",
"StringRef",
"CPU",
",",
"StringRef",
"FS",
",",
"const",
"TargetOptions",
"&",
"Options",
",",
"Optional",
"<",
"Reloc",
"::",
"... | [
"ARCTargetMachine",
"ctor",
"-",
"Create",
"an",
"ILP32",
"architecture",
"model",
"."
] | [
"ARC",
"ARC",
"ARC",
"\"e-m:e-p:32:32-i1:8:32-i8:8:32-i16:16:32-i32:32:32-\"",
"\"f32:32:32-i64:32-f64:32-a:0:32-n32\""
] | ARCTargetMachine1 | ARCTargetMachine | ARC | MPU | LLVM | 20,070 | 109 | 1 | [] |
[
"<s>",
"bool",
"ARMBaseInstrInfo",
"::",
"produceSameValue",
"(",
"const",
"MachineInstr",
"*",
"MI0",
",",
"const",
"MachineInstr",
"*",
"MI1",
")",
"const",
"{",
"int",
"Opcode",
"=",
"MI0",
"->",
"getOpcode",
"(",
")",
";",
"if",
"(",
"Opcode",
"==",
... | [
"Return",
"true",
"if",
"two",
"machine",
"instructions",
"would",
"produce",
"identical",
"values",
"."
] | [
"ARM",
"ARM",
"ARM::t2LDRpci",
"ARM::t2LDRpci_pic",
"ARM::tLDRpci",
"ARM::tLDRpci_pic",
"1",
"1",
"ARM",
"ARM",
"ARM",
"ARM"
] | ARMBaseInstrInfo114 | produceSameValue | ARM | CPU | LLVM | 20,071 | 252 | 1 | [] |
[
"<s>",
"int",
"aarch64_simd_attr_length_rglist",
"(",
"enum",
"machine_mode",
"mode",
")",
"{",
"return",
"(",
"GET_MODE_SIZE",
"(",
"mode",
")",
"/",
"UNITS_PER_VREG",
")",
"*",
"4",
";",
"}",
"</s>"
] | [
"Compute",
"and",
"return",
"the",
"length",
"of",
"aarch64_simd_reglist",
"<",
"mode",
">",
",",
"where",
"<",
"mode",
">",
"is",
"one",
"of",
"VSTRUCT",
"modes",
":",
"OI",
",",
"CI",
",",
"EI",
",",
"or",
"XI",
"."
] | [
"aarch64",
"4"
] | aarch642 | aarch64_simd_attr_length_rglist | aarch64 | CPU | GCC | 20,072 | 21 | 1 | [] |
[
"<s>",
"void",
"or1k_expand_eh_return",
"(",
"rtx",
"eh_addr",
")",
"{",
"rtx",
"lraddr",
";",
"lraddr",
"=",
"gen_frame_mem",
"(",
"Pmode",
",",
"plus_constant",
"(",
"Pmode",
",",
"arg_pointer_rtx",
",",
"-",
"UNITS_PER_WORD",
")",
")",
";",
"MEM_VOLATILE_P"... | [
"Expand",
"the",
"``",
"eh_return",
"''",
"pattern",
".",
"Used",
"for",
"defining",
"__builtin_eh_return",
",",
"this",
"will",
"emit",
"RTX",
"to",
"override",
"the",
"current",
"function",
"'s",
"return",
"address",
"stored",
"on",
"the",
"stack",
".",
"T... | [
"or1k"
] | or1k | or1k_expand_eh_return | or1k | CPU | GCC | 20,073 | 42 | 1 | [] |
[
"<s>",
"SDValue",
"JVMTargetLowering",
"::",
"PerformDAGCombine",
"(",
"SDNode",
"*",
"N",
",",
"DAGCombinerInfo",
"&",
"DCI",
")",
"const",
"{",
"return",
"SDValue",
"(",
"N",
",",
"0",
")",
";",
"}",
"</s>"
] | [
"This",
"method",
"will",
"be",
"invoked",
"for",
"all",
"target",
"nodes",
"and",
"for",
"any",
"target-independent",
"nodes",
"that",
"the",
"target",
"has",
"registered",
"with",
"invoke",
"it",
"for",
"."
] | [
"JVM",
"JVM",
"0"
] | JVMISelLowering | PerformDAGCombine | JVM | Virtual ISA | LLVM | 20,074 | 24 | 1 | [] |
[
"<s>",
"static",
"void",
"nvptx_init_builtins",
"(",
"void",
")",
"{",
"(",
"nvptx_builtin_decls",
"[",
"NVPTX_BUILTIN_",
"##",
"ID",
"]",
"\\",
"=",
"add_builtin_function",
"(",
"\"__builtin_nvptx_\"",
"NAME",
",",
"\\",
"build_function_type_list",
"T",
",",
"\\"... | [
"Set",
"up",
"all",
"builtin",
"functions",
"for",
"this",
"target",
"."
] | [
"nvptx",
"\"__builtin_nvptx_\"",
"\"shuffle\"",
"\"shufflell\"",
"\"worker_addr\"",
"\"cmp_swap\"",
"\"cmp_swapll\""
] | nvptx3 | nvptx_init_builtins | nvptx | GPU | GCC | 20,075 | 133 | 1 | [] |
[
"<s>",
"static",
"void",
"mmix_asm_trampoline_template",
"(",
"FILE",
"*",
"stream",
")",
"{",
"fprintf",
"(",
"stream",
",",
"\"\\tGETA $255,1F\\n\\t\"",
")",
";",
"fprintf",
"(",
"stream",
",",
"\"LDOU %s,$255,0\\n\\t\"",
",",
"reg_names",
"[",
"MMIX_STATIC_CHAIN_... | [
"TARGET_ASM_TRAMPOLINE_TEMPLATE",
"."
] | [
"mmix",
"\"\\tGETA $255,1F\\n\\t\"",
"\"LDOU %s,$255,0\\n\\t\"",
"\"LDOU $255,$255,8\\n\\t\"",
"\"GO $255,$255,0\\n\"",
"\"1H\\tOCTA 0\\n\\t\"",
"\"OCTA 0\\n\""
] | mmix | mmix_asm_trampoline_template | mmix | CPU | GCC | 20,076 | 57 | 1 | [] |
[
"<s>",
"static",
"void",
"process_args",
"(",
"int",
"argc",
",",
"char",
"*",
"*",
"argv",
")",
"{",
"int",
"i",
";",
"for",
"(",
"i",
"=",
"1",
";",
"i",
"<",
"argc",
";",
"i",
"++",
")",
"{",
"if",
"(",
"startswith",
"(",
"argv",
"[",
"i",... | [
"Preprocess",
"the",
"number",
"of",
"args",
"ARGC",
"in",
"ARGV",
".",
"Look",
"for",
"special",
"flags",
",",
"etc",
".",
"that",
"must",
"be",
"handled",
"for",
"the",
"VMS",
"linker",
"."
] | [
"vms",
"1",
"\"-L\"",
"1",
"2",
"\"-v\"",
"0",
"\"--version\"",
"0",
"\"VMS Linker\\n\"",
"\"--help\"",
"0",
"\"VMS Linker\\n\"",
"\"-g0\"",
"0",
"\"/notraceback\"",
"\"-g\"",
"\"/debug\"",
"1",
"\"-static\"",
"0",
"1",
"\"-map\"",
"0",
"0",
"\".map\"",
"\"/map=\"... | vms-ld2 | process_args | vms | Virtual ISA | GCC | 20,077 | 338 | 1 | [] |
[
"<s>",
"int",
"ARMBaseInstrInfo",
"::",
"getInstrLatency",
"(",
"const",
"InstrItineraryData",
"*",
"ItinData",
",",
"const",
"MachineInstr",
"*",
"MI",
",",
"unsigned",
"*",
"PredCost",
")",
"const",
"{",
"if",
"(",
"MI",
"->",
"isCopyLike",
"(",
")",
"||",... | [
"Compute",
"the",
"instruction",
"latency",
"of",
"a",
"given",
"instruction",
"."
] | [
"ARM",
"ARM",
"1",
"1",
"0",
"ARM::t2IT",
"ARM::CPSR",
"1"
] | ARMBaseInstrInfo83 | getInstrLatency | ARM | CPU | LLVM | 20,078 | 213 | 1 | [] |
[
"<s>",
"void",
"AArch64RegisterInfo",
"::",
"eliminateFrameIndex",
"(",
"MachineBasicBlock",
"::",
"iterator",
"II",
",",
"int",
"SPAdj",
",",
"unsigned",
"FIOperandNum",
",",
"RegScavenger",
"*",
"RS",
")",
"const",
"{",
"assert",
"(",
"SPAdj",
"==",
"0",
"&&... | [
"This",
"method",
"must",
"be",
"overriden",
"to",
"eliminate",
"abstract",
"frame",
"indices",
"from",
"instructions",
"which",
"may",
"use",
"them",
"."
] | [
"AArch64",
"AArch64",
"0",
"\"Unexpected\"",
"AArch64",
"AArch64",
"AArch64",
"1",
"1",
"AArch64",
"\"Emergency spill slot is out of reach\"",
"AArch64::GPR64RegClass"
] | AArch64RegisterInfo14 | eliminateFrameIndex | AArch64 | CPU | LLVM | 20,079 | 354 | 1 | [] |
[
"<s>",
"void",
"F2003fMCAsmStreamer",
"::",
"emitFill",
"(",
"const",
"MCExpr",
"&",
"NumValues",
",",
"int64_t",
"Size",
",",
"int64_t",
"Expr",
",",
"SMLoc",
"Loc",
")",
"{",
"llvm_unreachable",
"(",
"\"2003lk doesn't support this directive\"",
")",
";",
"}",
... | [
"Emit",
"Size",
"bytes",
"worth",
"of",
"the",
"value",
"specified",
"by",
"FillValue",
"."
] | [
"F2003f",
"F2003f",
"\"2003lk doesn't support this directive\""
] | F2003fMCAsmStreamer | emitFill | F2003f | CPU | LLVM | 20,080 | 26 | 1 | [] |
[
"<s>",
"void",
"NVPTXPassConfig",
"::",
"addIRPasses",
"(",
")",
"{",
"disablePass",
"(",
"&",
"PrologEpilogCodeInserterID",
")",
";",
"disablePass",
"(",
"&",
"MachineCopyPropagationID",
")",
";",
"disablePass",
"(",
"&",
"TailDuplicateID",
")",
";",
"disablePass... | [
"Add",
"common",
"target",
"configurable",
"passes",
"that",
"perform",
"LLVM",
"IR",
"to",
"IR",
"transforms",
"following",
"machine",
"independent",
"optimization",
"."
] | [
"NVPTX",
"NVPTX",
"NVPTX",
"NVPTX",
"NVPTX",
"NVPTX"
] | NVPTXTargetMachine44 | addIRPasses | NVPTX | GPU | LLVM | 20,081 | 169 | 1 | [] |
[
"<s>",
"static",
"FunctionType",
"*",
"getType",
"(",
"LLVMContext",
"&",
"Context",
",",
"unsigned",
"id",
")",
"{",
"Type",
"*",
"ResultTy",
"=",
"NULL",
";",
"std",
"::",
"vector",
"<",
"Type",
"*",
">",
"ArgTys",
";",
"bool",
"IsVarArg",
"=",
"fals... | [
"Overload",
"to",
"return",
"most",
"specific",
"vector",
"type",
"."
] | [
"MBlaze"
] | MBlazeIntrinsicInfo8 | getType | MBlaze | MPU | LLVM | 20,082 | 46 | 1 | [] |
[
"<s>",
"static",
"void",
"s390_chunkify_cancel",
"(",
"struct",
"constant_pool",
"*",
"pool_list",
")",
"{",
"struct",
"constant_pool",
"*",
"curr_pool",
"=",
"NULL",
";",
"rtx",
"insn",
";",
"for",
"(",
"curr_pool",
"=",
"pool_list",
";",
"curr_pool",
";",
... | [
"POOL_LIST",
"is",
"a",
"chunk",
"list",
"as",
"prepared",
"by",
"s390_chunkify_start",
".",
"We",
"have",
"decided",
"we",
"can",
"not",
"use",
"this",
"list",
",",
"so",
"revert",
"all",
"changes",
"to",
"the",
"current",
"function",
"that",
"were",
"don... | [
"s390",
"0",
"1"
] | s3903 | s390_chunkify_cancel | s390 | MPU | GCC | 20,083 | 271 | 1 | [] |
[
"<s>",
"llvm",
"::",
"FastISel",
"*",
"ARM",
"::",
"createFastISel",
"(",
"FunctionLoweringInfo",
"&",
"funcInfo",
")",
"{",
"const",
"TargetMachine",
"&",
"TM",
"=",
"funcInfo",
".",
"MF",
"->",
"getTarget",
"(",
")",
";",
"const",
"ARMSubtarget",
"*",
"S... | [
"This",
"method",
"returns",
"a",
"target",
"specific",
"FastISel",
"object",
",",
"or",
"null",
"if",
"the",
"target",
"does",
"not",
"support",
"``",
"fast",
"''",
"ISel",
"."
] | [
"ARM",
"ARM::createFastISel",
"ARM",
"ARM",
"ARM",
"ARM",
"0"
] | ARMFastISel56 | createFastISel | ARM | CPU | LLVM | 20,084 | 70 | 1 | [] |
[
"<s>",
"bool",
"AArch64TargetLowering",
"::",
"allowsMisalignedMemoryAccesses",
"(",
"LLT",
"Ty",
",",
"unsigned",
"AddrSpace",
",",
"unsigned",
"Align",
",",
"MachineMemOperand",
"::",
"Flags",
"Flags",
",",
"bool",
"*",
"Fast",
")",
"const",
"{",
"if",
"(",
... | [
"Returns",
"true",
"if",
"the",
"target",
"allows",
"unaligned",
"memory",
"accesses",
"of",
"the",
"specified",
"type",
"."
] | [
"AArch64",
"AArch64",
"16",
"2",
"2",
"64"
] | AArch64ISelLowering (2)3 | allowsMisalignedMemoryAccesses | AArch64 | CPU | LLVM | 20,085 | 79 | 1 | [] |
[
"<s>",
"bool",
"RISCVFrameLowering",
"::",
"hasFP",
"(",
"const",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"return",
"true",
";",
"}",
"</s>"
] | [
"hasFP",
"-",
"Return",
"true",
"if",
"the",
"specified",
"function",
"should",
"have",
"a",
"dedicated",
"frame",
"pointer",
"register",
"."
] | [
"RISCV",
"RISCV"
] | RISCVFrameLowering24 | hasFP | RISCV | CPU | LLVM | 20,086 | 16 | 1 | [] |
[
"<s>",
"bool",
"X86TargetLowering",
"::",
"decomposeMulByConstant",
"(",
"EVT",
"VT",
",",
"SDValue",
"C",
")",
"const",
"{",
"APInt",
"MulC",
";",
"if",
"(",
"!",
"ISD",
"::",
"isConstantSplatVector",
"(",
"C",
".",
"getNode",
"(",
")",
",",
"MulC",
")"... | [
"Return",
"true",
"if",
"it",
"is",
"profitable",
"to",
"transform",
"an",
"integer",
"multiplication-by-constant",
"into",
"simpler",
"operations",
"like",
"shifts",
"and",
"adds",
"."
] | [
"X86",
"X86",
"ISD::isConstantSplatVector",
"ISD::MUL",
"1",
"1",
"1",
"1"
] | X86ISelLowering (2)8 | decomposeMulByConstant | X86 | CPU | LLVM | 20,087 | 94 | 1 | [] |
[
"<s>",
"void",
"VEDAGToDAGISel",
"::",
"Select",
"(",
"SDNode",
"*",
"N",
")",
"{",
"SDLoc",
"dl",
"(",
"N",
")",
";",
"if",
"(",
"N",
"->",
"isMachineOpcode",
"(",
")",
")",
"{",
"N",
"->",
"setNodeId",
"(",
"-",
"1",
")",
";",
"return",
";",
... | [
"Main",
"hook",
"for",
"targets",
"to",
"transform",
"nodes",
"into",
"machine",
"nodes",
"."
] | [
"VE",
"VE",
"1",
"VEISD::GLOBAL_BASE_REG"
] | VEISelDAGToDAG | Select | VE | CPU | LLVM | 20,088 | 68 | 1 | [] |
[
"<s>",
"bool",
"requiresRegisterScavenging",
"(",
"const",
"MachineFunction",
"&",
"MF",
")",
"const",
"override",
"{",
"return",
"true",
";",
"}",
"</s>"
] | [
"Returns",
"true",
"if",
"the",
"target",
"requires",
"(",
"and",
"can",
"make",
"use",
"of",
")",
"the",
"register",
"scavenger",
"."
] | [
"RV16K"
] | RV16KRegisterInfo | requiresRegisterScavenging | RV16K | Virtual ISA | LLVM | 20,089 | 15 | 1 | [] |
[
"<s>",
"bool",
"MVEVPTOptimisations",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"Fn",
")",
"{",
"const",
"ARMSubtarget",
"&",
"STI",
"=",
"static_cast",
"<",
"const",
"ARMSubtarget",
"&",
">",
"(",
"Fn",
".",
"getSubtarget",
"(",
")",
")",
"... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"ARM",
"ARM",
"ARM",
"\"********** ARM MVE VPT Optimisations **********\\n\"",
"\"********** Function: \"",
"\"**************************************\\n\""
] | MVEVPTOptimisationsPass3 | runOnMachineFunction | ARM | CPU | LLVM | 20,090 | 125 | 1 | [] |
[
"<s>",
"bool",
"OR1KDAGToDAGISel",
"::",
"SelectInlineAsmMemoryOperand",
"(",
"const",
"SDValue",
"&",
"Op",
",",
"unsigned",
"ConstraintID",
",",
"std",
"::",
"vector",
"<",
"SDValue",
">",
"&",
"OutOps",
")",
"{",
"SDValue",
"Op0",
",",
"Op1",
";",
"switch... | [
"SelectInlineAsmMemoryOperand",
"-",
"Select",
"the",
"specified",
"address",
"as",
"a",
"target",
"addressing",
"mode",
",",
"according",
"to",
"the",
"specified",
"constraint",
"."
] | [
"OR1K",
"OR1K"
] | OR1KISelDAGToDAG1 | SelectInlineAsmMemoryOperand | OR1K | CPU | LLVM | 20,091 | 79 | 1 | [] |
[
"<s>",
"bool",
"AArch64FrameLowering",
"::",
"canUseRedZone",
"(",
"const",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"if",
"(",
"!",
"EnableRedZone",
")",
"return",
"false",
";",
"if",
"(",
"MF",
".",
"getFunction",
"(",
")",
"->",
"getAttributes",
... | [
"Can",
"this",
"function",
"use",
"the",
"red",
"zone",
"for",
"local",
"allocations",
"."
] | [
"AArch64",
"AArch64",
"AArch64",
"AArch64",
"128"
] | AArch64FrameLowering34 | canUseRedZone | AArch64 | CPU | LLVM | 20,092 | 104 | 1 | [] |
[
"<s>",
"int",
"csky_register_move_cost",
"(",
"machine_mode",
"mode",
"ATTRIBUTE_UNUSED",
",",
"reg_class_t",
"from",
",",
"reg_class_t",
"to",
")",
"{",
"(",
"(",
"CLASS",
")",
"==",
"GENERAL_REGS",
"||",
"(",
"CLASS",
")",
"==",
"MINI_REGS",
"||",
"(",
"CL... | [
"Implement",
"TARGET_REGISTER_MOVE_COST",
":",
"compute",
"extra",
"cost",
"of",
"moving",
"data",
"between",
"one",
"register",
"class",
"and",
"another",
"."
] | [
"csky",
"2",
"6",
"16",
"32",
"64",
"2"
] | csky | csky_register_move_cost | csky | CPU | GCC | 20,093 | 175 | 1 | [] |
[
"<s>",
"void",
"Z80AsmPrinter",
"::",
"emitInlineAsmEnd",
"(",
"const",
"MCSubtargetInfo",
"&",
"StartInfo",
",",
"const",
"MCSubtargetInfo",
"*",
"EndInfo",
")",
"const",
"{",
"if",
"(",
"TM",
".",
"getTargetTriple",
"(",
")",
".",
"getArch",
"(",
")",
"!="... | [
"Let",
"the",
"target",
"do",
"anything",
"it",
"needs",
"to",
"do",
"after",
"emitting",
"inlineasm",
"."
] | [
"Z80",
"Z80"
] | Z80AsmPrinter2 | emitInlineAsmEnd | Z80 | MPU | LLVM | 20,094 | 75 | 1 | [] |
[
"<s>",
"bool",
"SystemZMCAsmBackend",
"::",
"fixupNeedsRelaxation",
"(",
"const",
"MCFixup",
"&",
"Fixup",
",",
"uint64_t",
"Value",
",",
"const",
"MCRelaxableFragment",
"*",
"Fragment",
",",
"const",
"MCAsmLayout",
"&",
"Layout",
")",
"const",
"{",
"Value",
"="... | [
"Simple",
"predicate",
"for",
"targets",
"where",
"!",
"Resolved",
"implies",
"requiring",
"relaxation",
"."
] | [
"SystemZ",
"SystemZ"
] | SystemZMCAsmBackend28 | fixupNeedsRelaxation | SystemZ | CPU | LLVM | 20,095 | 50 | 1 | [] |
[
"<s>",
"GBSectionType",
"getType",
"(",
")",
"const",
"{",
"return",
"Type",
";",
"}",
"</s>"
] | [
"Overload",
"to",
"return",
"most",
"specific",
"vector",
"type",
"."
] | [
"GBZ80",
"GB"
] | GBZ80TargetObjectFile | getType | GBZ80 | MPU | LLVM | 20,096 | 10 | 1 | [] |
[
"<s>",
"bool",
"P2AsmPrinter",
"::",
"PrintAsmOperand",
"(",
"const",
"MachineInstr",
"*",
"MI",
",",
"unsigned",
"OpNum",
",",
"const",
"char",
"*",
"ExtraCode",
",",
"raw_ostream",
"&",
"O",
")",
"{",
"bool",
"Error",
"=",
"AsmPrinter",
"::",
"PrintAsmOper... | [
"PrintAsmOperand",
"-",
"Print",
"out",
"an",
"operand",
"for",
"an",
"inline",
"asm",
"expression",
"."
] | [
"P2",
"P2",
"0",
"1",
"0",
"0",
"\"#\""
] | P2AsmPrinter | PrintAsmOperand | P2 | MPU | LLVM | 20,097 | 135 | 1 | [] |
[
"<s>",
"char",
"*",
"output_cbranch",
"(",
"rtx",
"op",
",",
"const",
"char",
"*",
"label",
",",
"int",
"reversed",
",",
"rtx_insn",
"*",
"insn",
")",
"{",
"static",
"char",
"string",
"[",
"64",
"]",
";",
"enum",
"rtx_code",
"code",
"=",
"GET_CODE",
... | [
"Output",
"a",
"conditional",
"branch",
"to",
"LABEL",
".",
"CODE",
"is",
"the",
"comparison",
"code",
".",
"CC_MODE",
"is",
"the",
"mode",
"of",
"the",
"CC",
"register",
".",
"REVERSED",
"is",
"non-zero",
"if",
"we",
"should",
"reverse",
"the",
"sense",
... | [
"rs6000",
"64",
"0",
"8",
"\"ne\"",
"\"eq\"",
"\"ge\"",
"\"gt\"",
"\"le\"",
"\"lt\"",
"\"un\"",
"\"nu\"",
"\"nl\"",
"\"ng\"",
"\"\"",
"0",
"2",
"100",
"48",
"20",
"0",
"\"+\"",
"\"-\"",
"\"b%slr%s \"",
"\"b%s%s \"",
"0",
"\"%s\"",
"\",$+8\\n\\tb %s\"",
"\",%s\... | rs6000 | output_cbranch | rs6000 | CPU | GCC | 20,098 | 481 | 1 | [] |
[
"<s>",
"static",
"void",
"rs6000_elf_output_toc_section_asm_op",
"(",
"const",
"void",
"*",
"data",
"ATTRIBUTE_UNUSED",
")",
"{",
"if",
"(",
"(",
"DEFAULT_ABI",
"==",
"ABI_AIX",
"||",
"DEFAULT_ABI",
"==",
"ABI_ELFv2",
")",
"&&",
"TARGET_MINIMAL_TOC",
"&&",
"!",
... | [
"A",
"get_unnamed_section",
"callback",
",",
"used",
"for",
"switching",
"to",
"toc_section",
"."
] | [
"rs6000",
"1",
"\"%s\\n\"",
"\"LCTOC\"",
"0",
"\"\\t.tc \"",
"\"LCTOC1[TC],\"",
"\"LCTOC1\"",
"\"\\n\"",
"\"%s\\n\"",
"\"LCTOC1\"",
"\" = .+32768\\n\"",
"\"%s\\n\"",
"\"%s\\n\"",
"\"%s\\n\"",
"\"LCTOC1\"",
"\" = .+32768\\n\"",
"1"
] | rs60004 | rs6000_elf_output_toc_section_asm_op | rs6000 | CPU | GCC | 20,099 | 190 | 1 | [] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.