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",
"unsigned",
"findDeadCallerSavedReg",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"&",
"MBBI",
",",
"const",
"TargetRegisterInfo",
"&",
"TRI",
",",
"bool",
"Is64Bit",
")",
"{",
"const",
"MachineFunction",
"*",... | [
"findDeadCallerSavedReg",
"-",
"Return",
"a",
"caller-saved",
"register",
"that",
"is",
"n't",
"live",
"when",
"it",
"reaches",
"the",
"``",
"return",
"''",
"instruction",
"."
] | [
"X86",
"0",
"X86::EAX",
"X86::EDX",
"X86::ECX",
"0",
"X86::RAX",
"X86::RDX",
"X86::RCX",
"X86::RSI",
"X86::RDI",
"X86::R8",
"X86::R9",
"X86::R10",
"X86::R11",
"0",
"0",
"X86::RETL",
"X86::RETQ",
"X86::RETIL",
"X86::RETIQ",
"X86::TCRETURNdi",
"X86::TCRETURNri",
"X86::TCR... | X86FrameLowering (2) | findDeadCallerSavedReg | X86 | CPU | LLVM | 36,100 | 360 | 1 | [] |
[
"<s>",
"unsigned",
"getNumFixupKinds",
"(",
")",
"const",
"override",
"{",
"return",
"RISCV",
"::",
"NumTargetFixupKinds",
";",
"}",
"</s>"
] | [
"Get",
"the",
"number",
"of",
"target",
"specific",
"fixup",
"kinds",
"."
] | [
"RI5CY",
"RISCV::NumTargetFixupKinds"
] | RISCVAsmBackend | getNumFixupKinds | RI5CY | CPU | LLVM | 36,101 | 13 | 1 | [] |
[
"<s>",
"void",
"BPFDAGToDAGISel",
"::",
"Select",
"(",
"SDNode",
"*",
"Node",
")",
"{",
"unsigned",
"Opcode",
"=",
"Node",
"->",
"getOpcode",
"(",
")",
";",
"DEBUG",
"(",
"dbgs",
"(",
")",
"<<",
"\"Selecting: \"",
";",
"Node",
"->",
"dump",
"(",
"CurDA... | [
"Main",
"hook",
"for",
"targets",
"to",
"transform",
"nodes",
"into",
"machine",
"nodes",
"."
] | [
"BPF",
"BPF",
"\"Selecting: \"",
"\"== \"",
"ISD::SDIV",
"\"Error at line \"",
"\": \"",
"\"Error: \"",
"\"Unsupport signed division for DAG: \"",
"\"Please convert to unsigned div/mod.\\n\"",
"ISD::INTRINSIC_W_CHAIN",
"1",
"Intrinsic::bpf_load_byte",
"Intrinsic::bpf_load_half",
"Intrins... | BPFISelDAGToDAG25 | Select | BPF | Virtual ISA | LLVM | 36,102 | 411 | 1 | [] |
[
"<s>",
"const",
"char",
"*",
"HexagonTargetLowering",
"::",
"getTargetNodeName",
"(",
"unsigned",
"Opcode",
")",
"const",
"{",
"switch",
"(",
"(",
"HexagonISD",
"::",
"NodeType",
")",
"Opcode",
")",
"{",
"case",
"HexagonISD",
"::",
"ALLOCA",
":",
"return",
"... | [
"getTargetNodeName",
"-",
"This",
"method",
"returns",
"the",
"name",
"of",
"a",
"target",
"specific"
] | [
"Hexagon",
"Hexagon",
"HexagonISD::NodeType",
"HexagonISD::ALLOCA",
"\"HexagonISD::ALLOCA\"",
"HexagonISD::AT_GOT",
"\"HexagonISD::AT_GOT\"",
"HexagonISD::AT_PCREL",
"\"HexagonISD::AT_PCREL\"",
"HexagonISD::BARRIER",
"\"HexagonISD::BARRIER\"",
"HexagonISD::CALL",
"\"HexagonISD::CALL\"",
"H... | HexagonISelLowering102 | getTargetNodeName | Hexagon | DSP | LLVM | 36,103 | 338 | 1 | [] |
[
"<s>",
"void",
"getAnalysisUsage",
"(",
"AnalysisUsage",
"&",
"AU",
")",
"const",
"override",
"{",
"AU",
".",
"setPreservesCFG",
"(",
")",
";",
"AU",
".",
"addRequired",
"<",
"MachineDominatorTree",
">",
"(",
")",
";",
"MachineFunctionPass",
"::",
"getAnalysis... | [
"getAnalysisUsage",
"-",
"Subclasses",
"that",
"override",
"getAnalysisUsage",
"must",
"call",
"this",
"."
] | [
"RISCV"
] | RISCVPulpHWLoops | getAnalysisUsage | RISCV | CPU | LLVM | 36,104 | 33 | 1 | [] |
[
"<s>",
"bool",
"msp430_is_interrupt_func",
"(",
"void",
")",
"{",
"if",
"(",
"current_function_decl",
"==",
"NULL",
")",
"return",
"false",
";",
"return",
"is_attr_func",
"(",
"\"interrupt\"",
")",
";",
"}",
"</s>"
] | [
"Returns",
"true",
"if",
"the",
"current",
"function",
"has",
"the",
"``",
"interrupt",
"''",
"attribute",
"."
] | [
"msp430",
"\"interrupt\""
] | msp4302 | msp430_is_interrupt_func | msp430 | MPU | GCC | 36,105 | 22 | 1 | [] |
[
"<s>",
"static",
"enum",
"rtx_code",
"ix86_prepare_sse_fp_compare_args",
"(",
"rtx",
"dest",
",",
"enum",
"rtx_code",
"code",
",",
"rtx",
"*",
"pop0",
",",
"rtx",
"*",
"pop1",
")",
"{",
"switch",
"(",
"code",
")",
"{",
"case",
"LTGT",
":",
"case",
"UNEQ"... | [
"Swap",
",",
"force",
"into",
"registers",
",",
"or",
"otherwise",
"massage",
"the",
"two",
"operands",
"to",
"an",
"sse",
"comparison",
"with",
"a",
"mask",
"result",
".",
"Thus",
"we",
"differ",
"a",
"bit",
"from",
"ix86_prepare_fp_compare_args",
"which",
... | [
"i386"
] | i386-expand | ix86_prepare_sse_fp_compare_args | i386 | CPU | GCC | 36,106 | 132 | 1 | [] |
[
"<s>",
"void",
"X86SolarisTargetObjectFile",
"::",
"Initialize",
"(",
"MCContext",
"&",
"Ctx",
",",
"const",
"TargetMachine",
"&",
"TM",
")",
"{",
"TargetLoweringObjectFileELF",
"::",
"Initialize",
"(",
"Ctx",
",",
"TM",
")",
";",
"InitializeELF",
"(",
"TM",
"... | [
"This",
"method",
"must",
"be",
"called",
"before",
"any",
"actual",
"lowering",
"is",
"done",
"."
] | [
"X86",
"X86"
] | X86TargetObjectFile18 | Initialize | X86 | CPU | LLVM | 36,107 | 34 | 1 | [] |
[
"<s>",
"static",
"const",
"struct",
"mips_cpu_info",
"*",
"mips_cpu_info_from_isa",
"(",
"int",
"isa",
")",
"{",
"unsigned",
"int",
"i",
";",
"for",
"(",
"i",
"=",
"0",
";",
"i",
"<",
"ARRAY_SIZE",
"(",
"mips_cpu_info_table",
")",
";",
"i",
"++",
")",
... | [
"Return",
"the",
"processor",
"associated",
"with",
"the",
"given",
"ISA",
"level",
",",
"or",
"null",
"if",
"the",
"ISA",
"is",
"n't",
"valid",
"."
] | [
"mips",
"0"
] | mips | mips_cpu_info_from_isa | mips | CPU | GCC | 36,108 | 51 | 1 | [] |
[
"<s>",
"void",
"getAnalysisUsage",
"(",
"AnalysisUsage",
"&",
"AU",
")",
"const",
"override",
"{",
"AU",
".",
"setPreservesCFG",
"(",
")",
";",
"AU",
".",
"addRequired",
"<",
"MachinePostDominatorTree",
">",
"(",
")",
";",
"MachineFunctionPass",
"::",
"getAnal... | [
"getAnalysisUsage",
"-",
"Subclasses",
"that",
"override",
"getAnalysisUsage",
"must",
"call",
"this",
"."
] | [
"AMDGPU"
] | SIInsertWaitcnts1 | getAnalysisUsage | AMDGPU | GPU | LLVM | 36,109 | 33 | 1 | [] |
[
"<s>",
"void",
"HexagonMCELFStreamer",
"::",
"EmitInstruction",
"(",
"const",
"MCInst",
"&",
"MCB",
",",
"const",
"MCSubtargetInfo",
"&",
"STI",
")",
"{",
"assert",
"(",
"MCB",
".",
"getOpcode",
"(",
")",
"==",
"Hexagon",
"::",
"BUNDLE",
")",
";",
"assert"... | [
"EmitInstruction",
"-",
"This",
"callback",
"is",
"invoked",
"when",
"an",
"instruction",
"is",
"emitted",
",",
"to",
"advance",
"the",
"hazard",
"state",
"."
] | [
"Hexagon",
"Hexagon",
"Hexagon::BUNDLE",
"Hexagon",
"Hexagon",
"0",
"Hexagon"
] | HexagonMCELFStreamer21 | EmitInstruction | Hexagon | DSP | LLVM | 36,110 | 102 | 1 | [] |
[
"<s>",
"EVT",
"Cpu0TargetLowering",
"::",
"getSetCCResultType",
"(",
"const",
"DataLayout",
"&",
",",
"LLVMContext",
"&",
",",
"EVT",
"VT",
")",
"const",
"{",
"if",
"(",
"!",
"VT",
".",
"isVector",
"(",
")",
")",
"return",
"MVT",
"::",
"i32",
";",
"ret... | [
"Return",
"the",
"value",
"type",
"to",
"use",
"for",
"ISD",
":",
":SETCC",
"."
] | [
"Cpu0",
"Cpu0",
"MVT::i32"
] | Cpu0ISelLowering | getSetCCResultType | Cpu0 | CPU | LLVM | 36,111 | 39 | 1 | [] |
[
"<s>",
"static",
"bool",
"cr16_return_in_memory",
"(",
"const_tree",
"type",
",",
"const_tree",
"fntype",
"ATTRIBUTE_UNUSED",
")",
"{",
"const",
"HOST_WIDE_INT",
"size",
"=",
"int_size_in_bytes",
"(",
"type",
")",
";",
"return",
"(",
"(",
"size",
"==",
"-",
"1... | [
"Implements",
"hook",
"TARGET_RETURN_IN_MEMORY",
"."
] | [
"cr16",
"1",
"8"
] | cr16 | cr16_return_in_memory | cr16 | MPU | GCC | 36,112 | 38 | 1 | [] |
[
"<s>",
"static",
"const",
"char",
"*",
"s390_mangle_fundamental_type",
"(",
"tree",
"type",
")",
"{",
"if",
"(",
"TYPE_MAIN_VARIANT",
"(",
"type",
")",
"==",
"long_double_type_node",
"&&",
"TARGET_LONG_DOUBLE_128",
")",
"return",
"\"g\"",
";",
"return",
"NULL",
... | [
"Implement",
"TARGET_MANGLE_FUNDAMENTAL_TYPE",
"."
] | [
"s390",
"\"g\""
] | s3903 | s390_mangle_fundamental_type | s390 | MPU | GCC | 36,113 | 28 | 1 | [] |
[
"<s>",
"void",
"AVRInstrInfo",
"::",
"storeRegToStackSlot",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"MI",
",",
"unsigned",
"SrcReg",
",",
"bool",
"isKill",
",",
"int",
"FrameIndex",
",",
"const",
"TargetRegisterClass",
"*"... | [
"Store",
"the",
"specified",
"register",
"of",
"the",
"given",
"register",
"class",
"to",
"the",
"specified",
"stack",
"frame",
"index",
"."
] | [
"AVR",
"AVR",
"0",
"MVT::i8",
"AVR::STDPtrQRr",
"MVT::i16",
"AVR::STDWPtrQRr",
"\"Cannot store this register into a stack slot!\"",
"0"
] | AVRInstrInfo15 | storeRegToStackSlot | AVR | MPU | LLVM | 36,114 | 209 | 1 | [] |
[
"<s>",
"static",
"bool",
"mips_function_has_gp_insn",
"(",
"void",
")",
"{",
"if",
"(",
"!",
"cfun",
"->",
"machine",
"->",
"has_gp_insn_p",
")",
"{",
"rtx",
"insn",
";",
"push_topmost_sequence",
"(",
")",
";",
"for",
"(",
"insn",
"=",
"get_insns",
"(",
... | [
"Return",
"true",
"if",
"the",
"current",
"function",
"has",
"an",
"insn",
"that",
"implicitly",
"refers",
"to",
"$",
"gp",
"."
] | [
"mips",
"0"
] | mips3 | mips_function_has_gp_insn | mips | CPU | GCC | 36,115 | 114 | 1 | [] |
[
"<s>",
"void",
"WaitcntBrackets",
"::",
"print",
"(",
"raw_ostream",
"&",
"OS",
")",
"{",
"OS",
"<<",
"'\\n'",
";",
"for",
"(",
"auto",
"T",
":",
"inst_counter_types",
"(",
")",
")",
"{",
"uint32_t",
"LB",
"=",
"getScoreLB",
"(",
"T",
")",
";",
"uint... | [
"print",
"-",
"Print",
"a",
"debug",
"representation",
"of",
"the",
"operand",
"to",
"the",
"given",
"stream",
"."
] | [
"AMDGPU",
"\" VM_CNT(\"",
"\"): \"",
"\" LGKM_CNT(\"",
"\"): \"",
"\" EXP_CNT(\"",
"\"): \"",
"\" VS_CNT(\"",
"\"): \"",
"\" UNKNOWN(\"",
"\"): \"",
"0",
"1",
"\":v\"",
"\" \"",
"\":ds \"",
"0",
"1",
"\":s\"",
"\" \""
] | SIInsertWaitcnts19 | print | AMDGPU | GPU | LLVM | 36,116 | 277 | 1 | [] |
[
"<s>",
"unsigned",
"getImageHandleSymbolIndex",
"(",
"const",
"char",
"*",
"Symbol",
")",
"{",
"for",
"(",
"unsigned",
"i",
"=",
"0",
",",
"e",
"=",
"ImageHandleList",
".",
"size",
"(",
")",
";",
"i",
"!=",
"e",
";",
"++",
"i",
")",
"if",
"(",
"Ima... | [
"Returns",
"the",
"index",
"for",
"the",
"symbol",
"Symbol",
"."
] | [
"NVPTX",
"0",
"1"
] | NVPTXMachineFunctionInfo | getImageHandleSymbolIndex | NVPTX | GPU | LLVM | 36,117 | 65 | 1 | [] |
[
"<s>",
"const",
"RegisterBankInfo",
"::",
"InstructionMapping",
"&",
"MipsRegisterBankInfo",
"::",
"getInstrMapping",
"(",
"const",
"MachineInstr",
"&",
"MI",
")",
"const",
"{",
"unsigned",
"Opc",
"=",
"MI",
".",
"getOpcode",
"(",
")",
";",
"const",
"MachineFunc... | [
"Get",
"the",
"mapping",
"of",
"the",
"different",
"operands",
"of",
"MI",
"on",
"the",
"register",
"bank",
"."
] | [
"Mips",
"Mips",
"Mips::ValueMappings",
"Mips::GPRIdx",
"Mips::ValueMappings",
"Mips::GPRIdx",
"0",
"32",
"64",
"\"Unsupported floating point size\"",
"32",
"Mips::ValueMappings",
"Mips::SPRIdx",
"Mips::ValueMappings",
"Mips::DPRIdx",
"0",
"32",
"64",
"\"Unsupported floating point... | MipsRegisterBankInfo28 | getInstrMapping | Mips | CPU | LLVM | 36,118 | 499 | 1 | [] |
[
"<s>",
"virtual",
"void",
"getAnalysisUsage",
"(",
"AnalysisUsage",
"&",
"AU",
")",
"const",
"override",
"{",
"AU",
".",
"addRequired",
"<",
"MachineDominatorTree",
">",
"(",
")",
";",
"AU",
".",
"setPreservesCFG",
"(",
")",
";",
"MachineFunctionPass",
"::",
... | [
"getAnalysisUsage",
"-",
"Subclasses",
"that",
"override",
"getAnalysisUsage",
"must",
"call",
"this",
"."
] | [
"R600"
] | SILowerI1Copies20 | getAnalysisUsage | R600 | GPU | LLVM | 36,119 | 34 | 1 | [] |
[
"<s>",
"void",
"TeakInstrInfo",
"::",
"copyPhysReg",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"I",
",",
"const",
"DebugLoc",
"&",
"DL",
",",
"MCRegister",
"DestReg",
",",
"MCRegister",
"SrcReg",
",",
"bool",
"KillSrc",
... | [
"}",
"Branch",
"Analysis",
"&",
"Modification"
] | [
"Teak",
"Teak",
"Teak",
"Teak",
"Teak::ICC",
"\"copyPhysReg(\"",
"\", \"",
"\")\\n\"",
"Teak::ARegsRegClass",
"Teak::ARegsRegClass",
"Teak::COPY_a",
"Teak::ABRegsRegClass",
"Teak::ABRegsRegClass",
"Teak::MOV_ab_ab",
"Teak::RegNoBRegs16RegClass",
"Teak::RegNoBRegs40RegClass",
"Teak::M... | TeakInstrInfo | copyPhysReg | Teak | DSP | LLVM | 36,120 | 431 | 1 | [] |
[
"<s>",
"const",
"char",
"*",
"getPassName",
"(",
")",
"const",
"override",
"{",
"return",
"\"X86 LEA Optimize\"",
";",
"}",
"</s>"
] | [
"getPassName",
"-",
"Return",
"a",
"nice",
"clean",
"name",
"for",
"a",
"pass",
"."
] | [
"X86",
"\"X86 LEA Optimize\""
] | X86OptimizeLEAs (2) | getPassName | X86 | CPU | LLVM | 36,121 | 13 | 1 | [] |
[
"<s>",
"static",
"int",
"ft32_arg_partial_bytes",
"(",
"cumulative_args_t",
"cum_v",
",",
"enum",
"machine_mode",
"mode",
",",
"tree",
"type",
",",
"bool",
"named",
")",
"{",
"CUMULATIVE_ARGS",
"*",
"cum",
"=",
"get_cumulative_args",
"(",
"cum_v",
")",
";",
"i... | [
"Some",
"function",
"arguments",
"will",
"only",
"partially",
"fit",
"in",
"the",
"registers",
"that",
"hold",
"arguments",
".",
"Given",
"a",
"new",
"arg",
",",
"return",
"the",
"number",
"of",
"bytes",
"that",
"fit",
"in",
"argument",
"passing",
"registers... | [
"ft32",
"8",
"0",
"4",
"0",
"4",
"6",
"2",
"4",
"0"
] | ft322 | ft32_arg_partial_bytes | ft32 | MPU | GCC | 36,122 | 124 | 1 | [] |
[
"<s>",
"bool",
"AArch64InstrInfo",
"::",
"getMachineCombinerPatterns",
"(",
"MachineInstr",
"&",
"Root",
",",
"SmallVectorImpl",
"<",
"MachineCombinerPattern",
">",
"&",
"Patterns",
")",
"const",
"{",
"if",
"(",
"getMaddPatterns",
"(",
"Root",
",",
"Patterns",
")"... | [
"Return",
"true",
"when",
"there",
"is",
"potentially",
"a",
"faster",
"code",
"sequence",
"for",
"an",
"instruction",
"chain",
"ending",
"in",
"Root",
"."
] | [
"AArch64",
"AArch64"
] | AArch64InstrInfo18 | getMachineCombinerPatterns | AArch64 | CPU | LLVM | 36,123 | 41 | 1 | [] |
[
"<s>",
"bool",
"BPFAdjustOptImpl",
"::",
"insertPassThrough",
"(",
")",
"{",
"for",
"(",
"auto",
"&",
"Info",
":",
"PassThroughs",
")",
"{",
"auto",
"*",
"CI",
"=",
"BPFCoreSharedInfo",
"::",
"insertPassThrough",
"(",
"M",
",",
"Info",
".",
"UsedInst",
"->... | [
"Insert",
"a",
"bpf",
"passthrough",
"builtin",
"function",
"."
] | [
"BPF",
"BPF",
"BPFCoreSharedInfo::insertPassThrough"
] | BPFAdjustOpt | insertPassThrough | BPF | Virtual ISA | LLVM | 36,124 | 66 | 1 | [] |
[
"<s>",
"bool",
"RISCVAsmBackend",
"::",
"fixupNeedsRelaxationAdvanced",
"(",
"const",
"MCFixup",
"&",
"Fixup",
",",
"bool",
"Resolved",
",",
"uint64_t",
"Value",
",",
"const",
"MCRelaxableFragment",
"*",
"DF",
",",
"const",
"MCAsmLayout",
"&",
"Layout",
",",
"co... | [
"Target",
"specific",
"predicate",
"for",
"whether",
"a",
"given",
"fixup",
"requires",
"the",
"associated",
"instruction",
"to",
"be",
"relaxed",
"."
] | [
"RISCV",
"RISCV",
"RISCV::fixup_riscv_rvc_branch",
"254",
"256",
"RISCV::fixup_riscv_rvc_jump",
"RISCV::fixup_riscv_rvc_cjump",
"2046",
"2048"
] | RISCVAsmBackend20 | fixupNeedsRelaxationAdvanced | RISCV | CPU | LLVM | 36,125 | 102 | 1 | [] |
[
"<s>",
"bool",
"ARMSubtarget",
"::",
"enableAtomicExpand",
"(",
")",
"const",
"{",
"return",
"hasAnyDataBarrier",
"(",
")",
"&&",
"(",
"!",
"isThumb",
"(",
")",
"||",
"hasV8MBaselineOps",
"(",
")",
")",
";",
"}",
"</s>"
] | [
"True",
"if",
"the",
"subtarget",
"should",
"run",
"the",
"atomic",
"expansion",
"pass",
"."
] | [
"ARM",
"ARM"
] | ARMSubtarget52 | enableAtomicExpand | ARM | CPU | LLVM | 36,126 | 25 | 1 | [] |
[
"<s>",
"void",
"RISCVInstrInfo",
"::",
"storeRegToStackSlot",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"I",
",",
"Register",
"SrcReg",
",",
"bool",
"IsKill",
",",
"int",
"FI",
",",
"const",
"TargetRegisterClass",
"*",
"RC... | [
"Store",
"the",
"specified",
"register",
"of",
"the",
"given",
"register",
"class",
"to",
"the",
"specified",
"stack",
"frame",
"index",
"."
] | [
"RISCV",
"RISCV",
"RISCV",
"RISCV",
"RISCV",
"RISCV::GPRRegClass",
"RISCV::GPRRegClass",
"32",
"RISCV::SW",
"RISCV::SD",
"RISCV::FPR32RegClass",
"RISCV::FSW",
"RISCV::FPR64RegClass",
"RISCV::FSD",
"RISCV::VRRegClass",
"RISCV::VS1R_V",
"RISCV",
"RISCV::VRM2RegClass",
"RISCV::VS2R_... | RISCVInstrInfo25 | storeRegToStackSlot | RISCV | CPU | LLVM | 36,127 | 357 | 1 | [] |
[
"<s>",
"const",
"uint32_t",
"*",
"MOSRegisterInfo",
"::",
"getCallPreservedMask",
"(",
"const",
"MachineFunction",
"&",
"MF",
",",
"CallingConv",
"::",
"ID",
"CallingConv",
")",
"const",
"{",
"return",
"MOS_CSR_RegMask",
";",
"}",
"</s>"
] | [
"Return",
"a",
"mask",
"of",
"call-preserved",
"registers",
"for",
"the",
"given",
"calling",
"convention",
"on",
"the",
"current",
"function",
"."
] | [
"MOS",
"MOS",
"MOS"
] | MOSRegisterInfo | getCallPreservedMask | MOS | MPU | LLVM | 36,128 | 23 | 1 | [] |
[
"<s>",
"bool",
"isIntDivCheap",
"(",
"EVT",
"VT",
",",
"AttributeList",
"Attr",
")",
"const",
"override",
"{",
"return",
"true",
";",
"}",
"</s>"
] | [
"Return",
"true",
"if",
"integer",
"divide",
"is",
"usually",
"cheaper",
"than",
"a",
"sequence",
"of",
"several",
"shifts",
",",
"adds",
",",
"and",
"multiplies",
"for",
"this",
"target",
"."
] | [
"MOS"
] | MOSISelLowering | isIntDivCheap | MOS | MPU | LLVM | 36,129 | 16 | 1 | [] |
[
"<s>",
"bool",
"convertSetCCLogicToBitwiseLogic",
"(",
"EVT",
"VT",
")",
"const",
"override",
"{",
"return",
"VT",
".",
"isScalarInteger",
"(",
")",
";",
"}",
"</s>"
] | [
"Use",
"bitwise",
"logic",
"to",
"make",
"pairs",
"of",
"compares",
"more",
"efficient",
"."
] | [
"ARM"
] | ARMISelLowering | convertSetCCLogicToBitwiseLogic | ARM | CPU | LLVM | 36,130 | 17 | 1 | [] |
[
"<s>",
"SDValue",
"VETargetLowering",
"::",
"LowerOperation",
"(",
"SDValue",
"Op",
",",
"SelectionDAG",
"&",
"DAG",
")",
"const",
"{",
"unsigned",
"Opcode",
"=",
"Op",
".",
"getOpcode",
"(",
")",
";",
"if",
"(",
"ISD",
"::",
"isVPOpcode",
"(",
"Opcode",
... | [
"LowerOperation",
"-",
"Provide",
"custom",
"lowering",
"hooks",
"for",
"some",
"operations",
"."
] | [
"VE",
"VE",
"ISD::isVPOpcode",
"\"Should not custom lower this!\"",
"ISD::ATOMIC_FENCE",
"ISD::ATOMIC_SWAP",
"ISD::BlockAddress",
"ISD::ConstantPool",
"ISD::DYNAMIC_STACKALLOC",
"ISD::EH_SJLJ_LONGJMP",
"ISD::EH_SJLJ_SETJMP",
"ISD::EH_SJLJ_SETUP_DISPATCH",
"ISD::FRAMEADDR",
"ISD::GlobalAddr... | VEISelLowering11 | LowerOperation | VE | CPU | LLVM | 36,131 | 345 | 1 | [] |
[
"<s>",
"static",
"bool",
"get_default_ma",
"(",
")",
"{",
"return",
"(",
"bool",
")",
"(",
"get_prefer_mask_policy",
"(",
")",
"&",
"0x1",
"||",
"(",
"get_prefer_mask_policy",
"(",
")",
">>",
"1",
"&",
"0x1",
")",
")",
";",
"}",
"</s>"
] | [
"Get",
"default",
"mask",
"policy",
"."
] | [
"riscv",
"0x1",
"1",
"0x1"
] | riscv-vsetvl | get_default_ma | riscv | CPU | GCC | 36,132 | 29 | 1 | [] |
[
"<s>",
"void",
"AMDGPURegisterInfo",
"::",
"eliminateFrameIndex",
"(",
"MachineBasicBlock",
"::",
"iterator",
"MI",
",",
"int",
"SPAdj",
",",
"unsigned",
"FIOperandNum",
",",
"RegScavenger",
"*",
"RS",
")",
"const",
"{",
"llvm_unreachable",
"(",
"\"Subroutines not s... | [
"This",
"method",
"must",
"be",
"overriden",
"to",
"eliminate",
"abstract",
"frame",
"indices",
"from",
"instructions",
"which",
"may",
"use",
"them",
"."
] | [
"AMDGPU",
"AMDGPU",
"\"Subroutines not supported yet\""
] | AMDGPURegisterInfo7 | eliminateFrameIndex | AMDGPU | GPU | LLVM | 36,133 | 28 | 1 | [] |
[
"<s>",
"static",
"void",
"alpha_compute_frame_layout",
"(",
"void",
")",
"{",
"unsigned",
"HOST_WIDE_INT",
"sa_mask",
"=",
"0",
";",
"HOST_WIDE_INT",
"frame_size",
";",
"int",
"sa_size",
";",
"if",
"(",
"!",
"cfun",
"->",
"is_thunk",
")",
"{",
"if",
"(",
"... | [
"Compute",
"register",
"masks",
"for",
"saved",
"registers",
",",
"register",
"save",
"area",
"size",
",",
"and",
"total",
"frame",
"size",
"."
] | [
"alpha",
"0",
"0",
"0",
"1",
"0",
"2",
"1",
"0",
"32",
"1",
"2",
"1",
"8",
"8",
"0"
] | alpha | alpha_compute_frame_layout | alpha | MPU | GCC | 36,134 | 432 | 1 | [] |
[
"<s>",
"void",
"print_operand_address",
"(",
"FILE",
"*",
"file",
",",
"rtx",
"x",
")",
"{",
"struct",
"mips_address_info",
"addr",
";",
"if",
"(",
"mips_classify_address",
"(",
"&",
"addr",
",",
"x",
",",
"word_mode",
",",
"true",
")",
")",
"switch",
"(... | [
"Print",
"the",
"operand",
"address",
"represented",
"by",
"the",
"rtx",
"addr"
] | [
"mips",
"0",
"\"(%s)\"",
"\"(%s)\"",
"\"(%s)\"",
"0"
] | mips3 | print_operand_address | mips | CPU | GCC | 36,135 | 144 | 1 | [] |
[
"<s>",
"unsigned",
"X86InstrInfo",
"::",
"getFMA3OpcodeToCommuteOperands",
"(",
"const",
"MachineInstr",
"&",
"MI",
",",
"unsigned",
"SrcOpIdx1",
",",
"unsigned",
"SrcOpIdx2",
",",
"const",
"X86InstrFMA3Group",
"&",
"FMA3Group",
")",
"const",
"{",
"unsigned",
"Opc",... | [
"Returns",
"an",
"adjusted",
"FMA",
"opcode",
"that",
"must",
"be",
"used",
"in",
"FMA",
"instruction",
"that",
"performs",
"the",
"same",
"computations",
"as",
"the",
"given",
"MI",
"but",
"which",
"has",
"the",
"operands",
"SrcOpIdx1",
"and",
"SrcOpIdx2",
... | [
"X86",
"X86",
"X86",
"1",
"1",
"\"Intrinsic instructions can't commute operand 1\"",
"3",
"\"Unexpected case number!\"",
"0",
"1",
"2",
"3",
"3",
"0",
"1",
"2",
"0",
"3"
] | X86InstrInfo (2)3 | getFMA3OpcodeToCommuteOperands | X86 | CPU | LLVM | 36,136 | 220 | 1 | [] |
[
"<s>",
"void",
"changedInstr",
"(",
"MachineInstr",
"&",
"MI",
")",
"override",
"{",
"}",
"</s>"
] | [
"This",
"instruction",
"was",
"mutated",
"in",
"some",
"way",
"."
] | [
"AMDGPU"
] | AMDGPURegisterBankInfo (2) | changedInstr | AMDGPU | GPU | LLVM | 36,137 | 10 | 1 | [] |
[
"<s>",
"TargetLowering",
"::",
"AtomicExpansionKind",
"ARMTargetLowering",
"::",
"shouldExpandAtomicCmpXchgInIR",
"(",
"AtomicCmpXchgInst",
"*",
"AI",
")",
"const",
"{",
"unsigned",
"Size",
"=",
"AI",
"->",
"getOperand",
"(",
"1",
")",
"->",
"getType",
"(",
")",
... | [
"Returns",
"how",
"the",
"given",
"atomic",
"cmpxchg",
"should",
"be",
"expanded",
"by",
"the",
"IR-level",
"AtomicExpand",
"pass",
"."
] | [
"ARM",
"ARM",
"1",
"0",
"32U",
"64U"
] | ARMISelLowering (2)5 | shouldExpandAtomicCmpXchgInIR | ARM | CPU | LLVM | 36,138 | 86 | 1 | [] |
[
"<s>",
"SDValue",
"PPCTargetLowering",
"::",
"LowerCall",
"(",
"TargetLowering",
"::",
"CallLoweringInfo",
"&",
"CLI",
",",
"SmallVectorImpl",
"<",
"SDValue",
">",
"&",
"InVals",
")",
"const",
"{",
"SelectionDAG",
"&",
"DAG",
"=",
"CLI",
".",
"DAG",
";",
"SD... | [
"This",
"hook",
"must",
"be",
"implemented",
"to",
"lower",
"calls",
"into",
"the",
"specified",
"DAG",
"."
] | [
"PowerPC",
"PPC",
"ISD::OutputArg",
"ISD::InputArg",
"PPC",
"\"Callee should be an llvm::Function object.\"",
"80",
"\"TCO caller: \"",
"\", callee linkage: 0, 0\"",
"\"TCO caller: \"",
"\", callee linkage: \"",
"\", \"",
"\"\\n\"",
"\"failed to perform tail call elimination on a call \"",... | PPCISelLowering10 | LowerCall | PowerPC | CPU | LLVM | 36,139 | 421 | 1 | [] |
[
"<s>",
"void",
"sparc_emit_set_const32",
"(",
"rtx",
"op0",
",",
"rtx",
"op1",
")",
"{",
"enum",
"machine_mode",
"mode",
"=",
"GET_MODE",
"(",
"op0",
")",
";",
"rtx",
"temp",
";",
"if",
"(",
"reload_in_progress",
"||",
"reload_completed",
")",
"temp",
"=",... | [
"We",
"know",
"it",
"ca",
"n't",
"be",
"done",
"in",
"one",
"insn",
"when",
"we",
"get",
"here",
",",
"the",
"movsi",
"expander",
"guarentees",
"this",
"."
] | [
"sparc",
"0x3ff",
"0x3ff"
] | sparc3 | sparc_emit_set_const32 | sparc | CPU | GCC | 36,140 | 161 | 1 | [] |
[
"<s>",
"MachineFunction",
"*",
"getMF",
"(",
")",
"const",
"{",
"return",
"MF",
";",
"}",
"</s>"
] | [
"Return",
"the",
"function",
"that",
"contains",
"the",
"basic",
"block",
"that",
"this",
"instruction",
"belongs",
"to",
"."
] | [
"Patmos"
] | PatmosCallGraphBuilder | getMF | Patmos | VLIW | LLVM | 36,141 | 11 | 1 | [] |
[
"<s>",
"bool",
"ARMAsmPrinter",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"{",
"AFI",
"=",
"MF",
".",
"getInfo",
"<",
"ARMFunctionInfo",
">",
"(",
")",
";",
"MCP",
"=",
"MF",
".",
"getConstantPool",
"(",
")",
";",
"Subtarget",
... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"ARM",
"ARM",
"ARM",
"ARM",
"1",
"0",
"ARM::tBX",
"ARMCC::AL",
"0"
] | ARMAsmPrinter61 | runOnMachineFunction | ARM | CPU | LLVM | 36,142 | 229 | 1 | [] |
[
"<s>",
"bool",
"PPCTargetLowering",
"::",
"isProfitableToHoist",
"(",
"Instruction",
"*",
"I",
")",
"const",
"{",
"if",
"(",
"!",
"I",
"->",
"hasOneUse",
"(",
")",
")",
"return",
"true",
";",
"Instruction",
"*",
"User",
"=",
"I",
"->",
"user_back",
"(",
... | [
"Return",
"true",
"if",
"it",
"is",
"profitable",
"to",
"hoist",
"instruction",
"in",
"the",
"then/else",
"to",
"before",
"if",
"."
] | [
"PowerPC",
"PPC",
"\"A single use instruction with no uses.\"",
"0",
"ISD::FMA"
] | PPCISelLowering100 | isProfitableToHoist | PowerPC | CPU | LLVM | 36,143 | 251 | 1 | [] |
[
"<s>",
"RegionMRT",
"*",
"getParent",
"(",
")",
"{",
"return",
"Parent",
";",
"}",
"</s>"
] | [
"getParent",
"-",
"Return",
"the",
"last",
"analyzed",
"interval",
"."
] | [
"AMDGPU"
] | AMDGPUMachineCFGStructurizer | getParent | AMDGPU | GPU | LLVM | 36,144 | 10 | 1 | [] |
[
"<s>",
"bool",
"ix86_expand_strlen",
"(",
"rtx",
"out",
",",
"rtx",
"src",
",",
"rtx",
"eoschar",
",",
"rtx",
"align",
")",
"{",
"rtx",
"addr",
",",
"scratch1",
",",
"scratch2",
",",
"scratch3",
",",
"scratch4",
";",
"if",
"(",
"TARGET_UNROLL_STRLEN",
"&... | [
"Expand",
"strlen",
"."
] | [
"i386",
"1",
"4",
"0",
"1",
"4"
] | i3864 | ix86_expand_strlen | i386 | CPU | GCC | 36,145 | 267 | 1 | [] |
[
"<s>",
"void",
"mips_emit_fcc_reload",
"(",
"rtx",
"dest",
",",
"rtx",
"src",
",",
"rtx",
"scratch",
")",
"{",
"rtx",
"fp1",
",",
"fp2",
";",
"if",
"(",
"MEM_P",
"(",
"src",
")",
")",
"src",
"=",
"adjust_address",
"(",
"src",
",",
"SFmode",
",",
"0... | [
"Emit",
"code",
"to",
"move",
"general",
"operand",
"SRC",
"into",
"condition-code",
"register",
"DEST",
".",
"SCRATCH",
"is",
"a",
"scratch",
"TFmode",
"float",
"register",
".",
"The",
"sequence",
"is",
":",
"FP1",
"=",
"SRC",
"FP2",
"=",
"0.0f",
"DEST",
... | [
"mips",
"0"
] | mips3 | mips_emit_fcc_reload | mips | CPU | GCC | 36,146 | 125 | 1 | [] |
[
"<s>",
"bool",
"ix86_expand_cmpstrn_or_cmpmem",
"(",
"rtx",
"result",
",",
"rtx",
"src1",
",",
"rtx",
"src2",
",",
"rtx",
"length",
",",
"rtx",
"align",
",",
"bool",
"is_cmpstrn",
")",
"{",
"if",
"(",
"!",
"TARGET_INLINE_ALL_STRINGOPS",
")",
"return",
"false... | [
"Expand",
"cmpstrn",
"or",
"memcmp",
"."
] | [
"i386",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"0"
] | i386-expand | ix86_expand_cmpstrn_or_cmpmem | i386 | CPU | GCC | 36,147 | 364 | 1 | [] |
[
"<s>",
"const",
"MCFixupKindInfo",
"&",
"Cpu0AsmBackend",
"::",
"getFixupKindInfo",
"(",
"MCFixupKind",
"Kind",
")",
"const",
"{",
"const",
"static",
"MCFixupKindInfo",
"Infos",
"[",
"Cpu0",
"::",
"NumTargetFixupKinds",
"]",
"=",
"{",
"{",
"\"fixup_Cpu0_32\"",
","... | [
"Get",
"information",
"on",
"a",
"fixup",
"kind",
"."
] | [
"Cpu0",
"Cpu0",
"Cpu0::NumTargetFixupKinds",
"\"fixup_Cpu0_32\"",
"0",
"32",
"0",
"\"fixup_Cpu0_HI16\"",
"0",
"16",
"0",
"\"fixup_Cpu0_LO16\"",
"0",
"16",
"0",
"\"fixup_Cpu0_GPREL16\"",
"0",
"16",
"0",
"\"fixup_Cpu0_GOT\"",
"0",
"16",
"0",
"\"fixup_Cpu0_GOT_HI16\"",
"... | Cpu0AsmBackend3 | getFixupKindInfo | Cpu0 | CPU | LLVM | 36,148 | 157 | 1 | [] |
[
"<s>",
"bool",
"TeakRegisterInfo",
"::",
"isFrameOffsetLegal",
"(",
"const",
"MachineInstr",
"*",
"MI",
",",
"unsigned",
"BaseReg",
",",
"int64_t",
"Offset",
")",
"const",
"{",
"dbgs",
"(",
")",
"<<",
"\"isFrameOffsetLegal\\n\"",
";",
"return",
"true",
";",
"}... | [
"Determine",
"whether",
"a",
"given",
"base",
"register",
"plus",
"offset",
"immediate",
"is",
"encodable",
"to",
"resolve",
"a",
"frame",
"index",
"."
] | [
"Teak",
"Teak",
"\"isFrameOffsetLegal\\n\""
] | TeakRegisterInfo | isFrameOffsetLegal | Teak | DSP | LLVM | 36,149 | 28 | 1 | [] |
[
"<s>",
"bool",
"AMDGPUPromoteAlloca",
"::",
"runOnFunction",
"(",
"Function",
"&",
"F",
")",
"{",
"if",
"(",
"!",
"TM",
"||",
"skipFunction",
"(",
"F",
")",
")",
"return",
"false",
";",
"const",
"AMDGPUSubtarget",
"&",
"ST",
"=",
"TM",
"->",
"getSubtarge... | [
"runOnFunction",
"-",
"Virtual",
"method",
"overriden",
"by",
"subclasses",
"to",
"do",
"the",
"per-function",
"processing",
"of",
"the",
"pass",
"."
] | [
"AMDGPU",
"AMDGPU",
"AMDGPU",
"AMDGPU",
"AMDGPU",
"0",
"\"Function has local memory argument. Promoting to \"",
"\"local memory disabled.\\n\"",
"0",
"0",
"AMDGPU",
"0",
"0",
"7",
"\" uses \"",
"\" bytes of LDS\\n\"",
"\" Rounding size to \"",
"\" with a maximum occupancy of \"",
... | AMDGPUPromoteAlloca17 | runOnFunction | AMDGPU | GPU | LLVM | 36,150 | 478 | 1 | [] |
[
"<s>",
"unsigned",
"SITargetLowering",
"::",
"getVectorTypeBreakdownForCallingConv",
"(",
"LLVMContext",
"&",
"Context",
",",
"CallingConv",
"::",
"ID",
"CC",
",",
"EVT",
"VT",
",",
"EVT",
"&",
"IntermediateVT",
",",
"unsigned",
"&",
"NumIntermediates",
",",
"MVT"... | [
"Certain",
"targets",
"such",
"as",
"MIPS",
"require",
"that",
"some",
"types",
"such",
"as",
"vectors",
"are",
"always",
"broken",
"down",
"into",
"scalars",
"in",
"some",
"contexts",
"."
] | [
"AMDGPU",
"SI",
"AMDGPU",
"3",
"32",
"64",
"3"
] | SIISelLowering89 | getVectorTypeBreakdownForCallingConv | AMDGPU | GPU | LLVM | 36,151 | 116 | 1 | [] |
[
"<s>",
"ARMBaseTargetMachine",
"::",
"ARMBaseTargetMachine",
"(",
"const",
"Target",
"&",
"T",
",",
"const",
"Triple",
"&",
"TT",
",",
"StringRef",
"CPU",
",",
"StringRef",
"FS",
",",
"const",
"TargetOptions",
"&",
"Options",
",",
"Optional",
"<",
"Reloc",
"... | [
"Create",
"an",
"ARM",
"architecture",
"model",
"."
] | [
"ARM",
"ARM",
"ARM"
] | ARMTargetMachine107 | ARMBaseTargetMachine | ARM | CPU | LLVM | 36,152 | 209 | 1 | [] |
[
"<s>",
"static",
"HOST_WIDE_INT",
"rs6000_disable_incompatible_switches",
"(",
"void",
")",
"{",
"HOST_WIDE_INT",
"ignore_masks",
"=",
"rs6000_isa_flags_explicit",
";",
"size_t",
"i",
",",
"j",
";",
"static",
"const",
"struct",
"{",
"const",
"HOST_WIDE_INT",
"no_flag"... | [
"If",
"the",
"user",
"used",
"-mno-vsx",
",",
"we",
"need",
"turn",
"off",
"all",
"of",
"the",
"implicit",
"ISA",
"2.06",
",",
"2.07",
",",
"and",
"3.0",
"options",
"that",
"relate",
"to",
"the",
"vector",
"unit",
"(",
"-mdirect-move",
",",
"-mupper-regs... | [
"rs6000",
"\"power9-vector\"",
"\"power8-vector\"",
"\"vsx\"",
"0",
"0",
"0",
"0",
"0",
"\"-mno-%s turns off -m%s\"",
"0",
"0",
"\"-mno-power9-vector turns off -mpower9-dform\"",
"0"
] | rs60006 | rs6000_disable_incompatible_switches | rs6000 | CPU | GCC | 36,153 | 253 | 1 | [] |
[
"<s>",
"void",
"getAnalysisUsage",
"(",
"AnalysisUsage",
"&",
"AU",
")",
"const",
"override",
"{",
"AU",
".",
"setPreservesCFG",
"(",
")",
";",
"AU",
".",
"addRequired",
"<",
"MachineLoopInfo",
">",
"(",
")",
";",
"MachineFunctionPass",
"::",
"getAnalysisUsage... | [
"getAnalysisUsage",
"-",
"Subclasses",
"that",
"override",
"getAnalysisUsage",
"must",
"call",
"this",
"."
] | [
"RI5CY"
] | PULPFixupHwLoops | getAnalysisUsage | RI5CY | CPU | LLVM | 36,154 | 33 | 1 | [] |
[
"<s>",
"void",
"SystemZOperand",
"::",
"print",
"(",
"raw_ostream",
"&",
"OS",
")",
"const",
"{",
"switch",
"(",
"Kind",
")",
"{",
"case",
"KindToken",
":",
"OS",
"<<",
"\"Token:\"",
"<<",
"getToken",
"(",
")",
";",
"break",
";",
"case",
"KindReg",
":"... | [
"print",
"-",
"Print",
"a",
"debug",
"representation",
"of",
"the",
"operand",
"to",
"the",
"given",
"stream",
"."
] | [
"SystemZ",
"SystemZ",
"\"Token:\"",
"\"Reg:\"",
"SystemZ",
"\"Imm:\"",
"\"ImmTLS:\"",
"\", \"",
"\"Mem:\"",
"\"(\"",
"\",\"",
"SystemZ",
"\",\"",
"SystemZ",
"\",\"",
"SystemZ",
"\")\""
] | SystemZAsmParser (2)1 | print | SystemZ | CPU | LLVM | 36,155 | 243 | 1 | [] |
[
"<s>",
"static",
"rtx_insn",
"*",
"rs6000_emit_allocate_stack",
"(",
"HOST_WIDE_INT",
"size",
",",
"rtx",
"copy_reg",
",",
"int",
"copy_off",
")",
"{",
"rtx_insn",
"*",
"insn",
";",
"rtx",
"stack_reg",
"=",
"gen_rtx_REG",
"(",
"Pmode",
",",
"STACK_POINTER_REGNUM... | [
"Emit",
"the",
"correct",
"code",
"for",
"allocating",
"stack",
"space",
",",
"as",
"insns",
".",
"If",
"COPY_R12",
",",
"make",
"sure",
"a",
"copy",
"of",
"the",
"old",
"frame",
"is",
"left",
"in",
"r12",
".",
"The",
"generated",
"code",
"may",
"use",... | [
"powerpcspe",
"0",
"0",
"\"stack frame too large\"",
"0",
"1",
"31",
"0",
"\"stack limit expression is not supported\"",
"0",
"32767",
"0",
"0",
"0",
"1",
"1"
] | powerpcspe | rs6000_emit_allocate_stack | powerpcspe | CPU | GCC | 36,156 | 446 | 1 | [] |
[
"<s>",
"const",
"MSP430Subtarget",
"*",
"getSubtargetImpl",
"(",
"const",
"Function",
"&",
"F",
")",
"const",
"override",
"{",
"return",
"&",
"Subtarget",
";",
"}",
"</s>"
] | [
"Virtual",
"method",
"implemented",
"by",
"subclasses",
"that",
"returns",
"a",
"reference",
"to",
"that",
"target",
"'s",
"TargetSubtargetInfo-derived",
"member",
"variable",
"."
] | [
"MSP430",
"MSP430"
] | MSP430TargetMachine (2) | getSubtargetImpl | MSP430 | MPU | LLVM | 36,157 | 18 | 1 | [] |
[
"<s>",
"void",
"MipsTargetObjectFile",
"::",
"Initialize",
"(",
"MCContext",
"&",
"Ctx",
",",
"const",
"TargetMachine",
"&",
"TM",
")",
"{",
"TargetLoweringObjectFileELF",
"::",
"Initialize",
"(",
"Ctx",
",",
"TM",
")",
";",
"SmallDataSection",
"=",
"getELFSecti... | [
"This",
"method",
"must",
"be",
"called",
"before",
"any",
"actual",
"lowering",
"is",
"done",
"."
] | [
"Mips",
"Mips",
"\".sdata\"",
"\".sbss\""
] | MipsTargetObjectFile29 | Initialize | Mips | CPU | LLVM | 36,158 | 75 | 1 | [] |
[
"<s>",
"bool",
"OptimizeLEAPass",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"{",
"bool",
"Changed",
"=",
"false",
";",
"if",
"(",
"DisableX86LEAOpt",
"||",
"skipFunction",
"(",
"*",
"MF",
".",
"getFunction",
"(",
")",
")",
")",
... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"X86",
"X86",
"X86",
"X86"
] | X86OptimizeLEAs12 | runOnMachineFunction | X86 | CPU | LLVM | 36,159 | 137 | 1 | [] |
[
"<s>",
"StringRef",
"getPassName",
"(",
")",
"const",
"override",
"{",
"return",
"\"X86 Fixup SetCC\"",
";",
"}",
"</s>"
] | [
"getPassName",
"-",
"Return",
"a",
"nice",
"clean",
"name",
"for",
"a",
"pass",
"."
] | [
"X86",
"\"X86 Fixup SetCC\""
] | X86FixupSetCC | getPassName | X86 | CPU | LLVM | 36,160 | 11 | 1 | [] |
[
"<s>",
"bool",
"isValid",
"(",
")",
"const",
"{",
"return",
"Valid",
";",
"}",
"</s>"
] | [
"Returns",
"true",
"if",
"this",
"iterator",
"is",
"still",
"pointing",
"at",
"a",
"valid",
"entry",
"."
] | [
"Hexagon"
] | HexagonShuffler14 | isValid | Hexagon | DSP | LLVM | 36,161 | 10 | 1 | [] |
[
"<s>",
"unsigned",
"SPURegisterInfo",
"::",
"eliminateFrameIndex",
"(",
"MachineBasicBlock",
"::",
"iterator",
"II",
",",
"int",
"SPAdj",
",",
"FrameIndexValue",
"*",
"Value",
",",
"RegScavenger",
"*",
"RS",
")",
"const",
"{",
"unsigned",
"i",
"=",
"0",
";",
... | [
"This",
"method",
"must",
"be",
"overriden",
"to",
"eliminate",
"abstract",
"frame",
"indices",
"from",
"instructions",
"which",
"may",
"use",
"them",
"."
] | [
"CellSPU",
"SPU",
"0",
"\"Instr doesn't have FrameIndex operand!\"",
"1",
"SPU::AIr32",
"SPU::ILAr32",
"2",
"SPU",
"0xf",
"0",
"\"16-byte alignment violated in eliminateFrameIndex\"",
"SPU::R1",
"SPU::AIr32",
"10",
"14",
"SPU::R32CRegClass",
"SPU::ILr32",
"0",
"SPU::R1",
"0"
... | SPURegisterInfo1 | eliminateFrameIndex | CellSPU | MPU | LLVM | 36,162 | 376 | 1 | [] |
[
"<s>",
"const",
"MipsInstrInfo",
"*",
"MipsInstrInfo",
"::",
"create",
"(",
"MipsSubtarget",
"&",
"STI",
")",
"{",
"if",
"(",
"STI",
".",
"inMips16Mode",
"(",
")",
")",
"return",
"llvm",
"::",
"createMips16InstrInfo",
"(",
"STI",
")",
";",
"return",
"llvm"... | [
"This",
"creates",
"an",
"identified",
"struct",
"."
] | [
"Mips",
"Mips",
"Mips",
"Mips",
"Mips",
"Mips",
"Mips"
] | MipsInstrInfo (2) | create | Mips | CPU | LLVM | 36,163 | 37 | 1 | [] |
[
"<s>",
"unsigned",
"GBZ80InstrInfo",
"::",
"insertBranch",
"(",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"*",
"TBB",
",",
"MachineBasicBlock",
"*",
"FBB",
",",
"ArrayRef",
"<",
"MachineOperand",
">",
"Cond",
",",
"const",
"DebugLoc",
"&",
"DL",... | [
"Insert",
"branch",
"code",
"into",
"the",
"end",
"of",
"the",
"specified",
"MachineBasicBlock",
"."
] | [
"GBZ80",
"GB",
"0",
"\"insertBranch must not be told to insert a fallthrough\"",
"2",
"0",
"\"GBZ80 branch conditions must have a multiple of two components!\"",
"\"Unconditional branch with multiple successors!\"",
"GB::JP_nn",
"1",
"0",
"GBCC::CondCodes",
"GBCC::CondCodes",
"\"Fallthroug... | GBZ80InstrInfo | insertBranch | GBZ80 | MPU | LLVM | 36,164 | 331 | 1 | [] |
[
"<s>",
"bool",
"AMDGPUTargetLowering",
"::",
"isKnownNeverNaNForTargetNode",
"(",
"SDValue",
"Op",
",",
"const",
"SelectionDAG",
"&",
"DAG",
",",
"bool",
"SNaN",
",",
"unsigned",
"Depth",
")",
"const",
"{",
"unsigned",
"Opcode",
"=",
"Op",
".",
"getOpcode",
"(... | [
"If",
"SNaN",
"is",
"false",
",",
"."
] | [
"AMDGPU",
"AMDGPU",
"AMDGPUISD::FMIN_LEGACY",
"AMDGPUISD::FMAX_LEGACY",
"AMDGPUISD::FMUL_LEGACY",
"AMDGPUISD::CVT_PKRTZ_F16_F32",
"0",
"1",
"1",
"1",
"AMDGPUISD::FMED3",
"AMDGPUISD::FMIN3",
"AMDGPUISD::FMAX3",
"AMDGPUISD::FMAD_FTZ",
"0",
"1",
"1",
"1",
"2",
"1",
"AMDGPUISD::C... | AMDGPUISelLowering114 | isKnownNeverNaNForTargetNode | AMDGPU | GPU | LLVM | 36,165 | 510 | 1 | [] |
[
"<s>",
"rtx",
"xstormy16_function_value",
"(",
"tree",
"valtype",
",",
"tree",
"func",
"ATTRIBUTE_UNUSED",
")",
"{",
"enum",
"machine_mode",
"mode",
";",
"mode",
"=",
"TYPE_MODE",
"(",
"valtype",
")",
";",
"PROMOTE_MODE",
"(",
"mode",
",",
"0",
",",
"valtype... | [
"Worker",
"function",
"for",
"FUNCTION_VALUE",
"."
] | [
"stormy16",
"0"
] | stormy163 | xstormy16_function_value | stormy16 | CPU | GCC | 36,166 | 40 | 1 | [] |
[
"<s>",
"void",
"setupMF",
"(",
"MachineFunction",
"&",
"MF",
",",
"GISelKnownBits",
"&",
"KB",
",",
"CodeGenCoverage",
"&",
"CoverageInfo",
")",
"override",
"{",
"InstructionSelector",
"::",
"setupMF",
"(",
"MF",
",",
"KB",
",",
"CoverageInfo",
")",
";",
"Pr... | [
"Setup",
"per-MF",
"executor",
"state",
"."
] | [
"AArch64"
] | AArch64InstructionSelector11 | setupMF | AArch64 | CPU | LLVM | 36,167 | 45 | 1 | [] |
[
"<s>",
"MipsSubtarget",
"&",
"MipsSubtarget",
"::",
"initializeSubtargetDependencies",
"(",
"StringRef",
"CPU",
",",
"StringRef",
"FS",
",",
"const",
"TargetMachine",
"&",
"TM",
")",
"{",
"StringRef",
"CPUName",
"=",
"MIPS_MC",
"::",
"selectMipsCPU",
"(",
"TM",
... | [
"initializeSubtargetDependencies",
"-",
"Initializes",
"using",
"a",
"CPU",
",",
"a",
"TuneCPU",
",",
"and",
"feature",
"string",
"so",
"that",
"we",
"can",
"use",
"initializer",
"lists",
"for",
"subtarget",
"initialization",
"."
] | [
"Mips",
"Mips",
"Mips",
"MIPS_MC::selectMipsCPU",
"Mips",
"Mips",
"16",
"\"Unknown ABI for stack alignment!\"",
"8",
"\"64-bit code requested on a subtarget that doesn't \"",
"\"support it!\""
] | MipsSubtarget48 | initializeSubtargetDependencies | Mips | CPU | LLVM | 36,168 | 133 | 1 | [] |
[
"<s>",
"SDNode",
"*",
"MipsDAGToDAGISel",
"::",
"getGlobalBaseReg",
"(",
")",
"{",
"unsigned",
"GlobalBaseReg",
"=",
"MF",
"->",
"getInfo",
"<",
"MipsFunctionInfo",
">",
"(",
")",
"->",
"getGlobalBaseReg",
"(",
")",
";",
"return",
"CurDAG",
"->",
"getRegister"... | [
"getGlobalBaseReg",
"-",
"Return",
"a",
"virtual",
"register",
"initialized",
"with",
"the",
"the",
"global",
"base",
"register",
"value",
"."
] | [
"Mips",
"Mips",
"Mips"
] | MipsISelDAGToDAG | getGlobalBaseReg | Mips | CPU | LLVM | 36,169 | 43 | 1 | [] |
[
"<s>",
"FunctionPass",
"*",
"NVPTXPassConfig",
"::",
"createTargetRegisterAllocator",
"(",
"bool",
")",
"{",
"return",
"nullptr",
";",
"}",
"</s>"
] | [
"createTargetRegisterAllocator",
"-",
"Create",
"the",
"register",
"allocator",
"pass",
"for",
"this",
"target",
"at",
"the",
"current",
"optimization",
"level",
"."
] | [
"NVPTX",
"NVPTX"
] | NVPTXTargetMachine (2) | createTargetRegisterAllocator | NVPTX | GPU | LLVM | 36,170 | 13 | 1 | [] |
[
"<s>",
"void",
"assignValueToReg",
"(",
"Register",
"ValVReg",
",",
"Register",
"PhysReg",
",",
"CCValAssign",
"&",
"VA",
")",
"override",
"{",
"markPhysRegUsed",
"(",
"PhysReg",
")",
";",
"IncomingValueHandler",
"::",
"assignValueToReg",
"(",
"ValVReg",
",",
"P... | [
"The",
"specified",
"value",
"has",
"been",
"assigned",
"to",
"a",
"physical",
"register",
",",
"handle",
"the",
"appropriate",
"COPY",
"(",
"either",
"to",
"or",
"from",
")",
"and",
"mark",
"any",
"relevant",
"uses/defines",
"as",
"needed",
"."
] | [
"X86"
] | X86CallLowering11 | assignValueToReg | X86 | CPU | LLVM | 36,171 | 32 | 1 | [] |
[
"<s>",
"StringRef",
"getPassName",
"(",
")",
"const",
"override",
"{",
"return",
"\"Z80 Assembly / Object Emitter\"",
";",
"}",
"</s>"
] | [
"getPassName",
"-",
"Return",
"a",
"nice",
"clean",
"name",
"for",
"a",
"pass",
"."
] | [
"Z80",
"\"Z80 Assembly / Object Emitter\""
] | Z80AsmPrinter1 | getPassName | Z80 | MPU | LLVM | 36,172 | 11 | 1 | [] |
[
"<s>",
"static",
"unsigned",
"int",
"cris_postdbr_cmpelim",
"(",
")",
"{",
"rtx_insn",
"*",
"insn",
";",
"rtx_insn",
"*",
"next",
";",
"rtx_insn",
"*",
"prev_cc_setter",
"=",
"0",
";",
"rtx_insn",
"*",
"prev_cc_outer",
"=",
"0",
";",
"rtx",
"dccr",
"=",
... | [
"``",
"Cheap",
"version",
"''",
"of",
"cmpelim",
",",
"making",
"use",
"of",
"the",
"opportunities",
"opened",
"up",
"by",
"reorg",
".",
"Go",
"through",
"the",
"insns",
"of",
"a",
"function",
"and",
"look",
"at",
"each",
"actual",
"compare",
"insn",
";"... | [
"cris",
"0",
"0",
"0",
"0",
"1",
"0",
"0",
"1",
"0",
"0",
"0",
"0",
"0",
"1",
"0",
"0",
"0",
"2",
"0",
"1",
"0"
] | cris | cris_postdbr_cmpelim | cris | MPU | GCC | 36,173 | 472 | 1 | [] |
[
"<s>",
"void",
"print",
"(",
")",
"{",
"if",
"(",
"numSymbols",
"==",
"0",
")",
"{",
"for",
"(",
"unsigned",
"i",
"=",
"0",
";",
"i",
"<",
"size",
";",
"i",
"++",
")",
"{",
"if",
"(",
"i",
")",
"O",
"<<",
"\", \"",
";",
"O",
"<<",
"(",
"u... | [
"print",
"-",
"Print",
"a",
"debug",
"representation",
"of",
"the",
"operand",
"to",
"the",
"given",
"stream",
"."
] | [
"NVPTX",
"0",
"0",
"\", \"",
"0",
"0",
"4",
"NVPTX",
"8",
"0",
"\", \"",
"0",
"\"generic(\"",
"\")\"",
"\"symbol type unknown\"",
"1",
"4"
] | NVPTXAsmPrinter39 | print | NVPTX | GPU | LLVM | 36,174 | 377 | 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\"",
"512",
"\"use-soft-float\"",
"\"true\"",
"\"+soft-float\"",
"\",+soft-float\"",
"X86",
"X86",
"X86",
"X86",
"X86",
"X86",
"X86"
] | X86TargetMachine64 | getSubtargetImpl | X86 | CPU | LLVM | 36,175 | 309 | 1 | [] |
[
"<s>",
"EVT",
"X86TargetLowering",
"::",
"getOptimalMemOpType",
"(",
"uint64_t",
"Size",
",",
"unsigned",
"DstAlign",
",",
"unsigned",
"SrcAlign",
",",
"bool",
"IsMemset",
",",
"bool",
"ZeroMemset",
",",
"bool",
"MemcpyStrSrc",
",",
"MachineFunction",
"&",
"MF",
... | [
"It",
"returns",
"EVT",
":",
":Other",
"if",
"the",
"type",
"should",
"be",
"determined",
"using",
"generic",
"target-independent",
"logic",
"."
] | [
"X86",
"X86",
"16",
"0",
"16",
"0",
"16",
"32",
"MVT::v8i32",
"MVT::v8f32",
"MVT::v4i32",
"MVT::v4f32",
"8",
"MVT::f64",
"8",
"MVT::i64",
"MVT::i32"
] | X86ISelLowering155 | getOptimalMemOpType | X86 | CPU | LLVM | 36,176 | 212 | 1 | [] |
[
"<s>",
"bool",
"X86ATTAsmPrinter",
"::",
"PrintAsmMemoryOperand",
"(",
"const",
"MachineInstr",
"*",
"MI",
",",
"unsigned",
"OpNo",
",",
"unsigned",
"AsmVariant",
",",
"const",
"char",
"*",
"ExtraCode",
")",
"{",
"if",
"(",
"ExtraCode",
"&&",
"ExtraCode",
"[",... | [
"Print",
"the",
"specified",
"operand",
"of",
"MI",
",",
"an",
"INLINEASM",
"instruction",
",",
"using",
"the",
"specified",
"assembler",
"variant",
"as",
"an",
"address",
"."
] | [
"X86",
"X86",
"0",
"1",
"0",
"0",
"\"mem\""
] | X86ATTAsmPrinter | PrintAsmMemoryOperand | X86 | CPU | LLVM | 36,177 | 104 | 1 | [] |
[
"<s>",
"int",
"same_cmp_following_p",
"(",
"rtx",
"i1",
")",
"{",
"rtx",
"i2",
",",
"i3",
";",
"i2",
"=",
"next_nonnote_insn",
"(",
"i1",
")",
";",
"if",
"(",
"i2",
"==",
"NULL_RTX",
")",
"return",
"0",
";",
"i3",
"=",
"next_nonnote_insn",
"(",
"i2",... | [
"Return",
"nonzero",
"if",
"we",
"have",
"the",
"same",
"comparison",
"insn",
"as",
"I1",
"two",
"insns",
"after",
"I1",
".",
"I1",
"is",
"assumed",
"to",
"be",
"a",
"comparison",
"insn",
"."
] | [
"h8300",
"0",
"0"
] | h83003 | same_cmp_following_p | h8300 | MPU | GCC | 36,178 | 76 | 1 | [] |
[
"<s>",
"static",
"int",
"rs6000_darwin64_struct_check_p",
"(",
"machine_mode",
"mode",
",",
"const_tree",
"type",
")",
"{",
"return",
"rs6000_darwin64_abi",
"&&",
"(",
"(",
"mode",
"==",
"BLKmode",
"&&",
"TREE_CODE",
"(",
"type",
")",
"==",
"RECORD_TYPE",
"&&",
... | [
"Check",
"for",
"an",
"item",
"that",
"needs",
"to",
"be",
"considered",
"specially",
"under",
"the",
"darwin",
"64",
"bit",
"ABI",
".",
"These",
"are",
"record",
"types",
"where",
"the",
"mode",
"is",
"BLK",
"or",
"the",
"structure",
"is",
"8",
"bytes",... | [
"powerpcspe",
"0",
"8",
"1",
"0"
] | powerpcspe | rs6000_darwin64_struct_check_p | powerpcspe | CPU | GCC | 36,179 | 59 | 1 | [] |
[
"<s>",
"BitVector",
"PPCRegisterInfo",
"::",
"getReservedRegs",
"(",
"const",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"BitVector",
"Reserved",
"(",
"getNumRegs",
"(",
")",
")",
";",
"const",
"PPCFrameLowering",
"*",
"PPCFI",
"=",
"static_cast",
"<",
"... | [
"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",
"... | [
"PowerPC",
"PPC",
"PPC",
"PPC",
"PPC",
"PPC::ZERO",
"PPC::ZERO8",
"PPC::FP",
"PPC::FP8",
"PPC::BP",
"PPC::BP8",
"PPC::CTR",
"PPC::CTR8",
"PPC::R1",
"PPC::LR",
"PPC::LR8",
"PPC::RM",
"PPC::VRSAVE",
"PPC::R2",
"PPC::R13",
"PPC",
"PPC::R13",
"PPC::X1",
"PPC::X13",
"PPC",... | PPCRegisterInfo36 | getReservedRegs | PowerPC | CPU | LLVM | 36,180 | 460 | 1 | [] |
[
"<s>",
"void",
"WebAssemblyPassConfig",
"::",
"addPreEmitPass",
"(",
")",
"{",
"TargetPassConfig",
"::",
"addPreEmitPass",
"(",
")",
";",
"addPass",
"(",
"createWebAssemblyEHRestoreStackPointer",
"(",
")",
")",
";",
"addPass",
"(",
"createWebAssemblyReplacePhysRegs",
... | [
"This",
"pass",
"may",
"be",
"implemented",
"by",
"targets",
"that",
"want",
"to",
"run",
"passes",
"immediately",
"before",
"machine",
"code",
"is",
"emitted",
"."
] | [
"WebAssembly",
"WebAssembly",
"WebAssembly",
"WebAssembly",
"WebAssembly",
"WebAssembly",
"WebAssembly",
"WebAssembly",
"WebAssembly",
"WebAssembly",
"WebAssembly",
"WebAssembly",
"WebAssembly",
"WebAssembly",
"WebAssembly",
"WebAssembly",
"WebAssembly",
"WebAssembly"
] | WebAssemblyTargetMachine17 | addPreEmitPass | WebAssembly | Virtual ISA | LLVM | 36,181 | 148 | 1 | [] |
[
"<s>",
"static",
"bool",
"spu_assemble_integer",
"(",
"rtx",
"x",
",",
"unsigned",
"int",
"size",
",",
"int",
"aligned_p",
")",
"{",
"if",
"(",
"(",
"GET_CODE",
"(",
"x",
")",
"==",
"SYMBOL_REF",
")",
"||",
"GET_CODE",
"(",
"x",
")",
"==",
"LABEL_REF",... | [
"Hook",
"into",
"assemble_integer",
"so",
"we",
"can",
"generate",
"an",
"error",
"for",
"run-time",
"relocations",
".",
"The",
"SPU",
"ABI",
"disallows",
"them",
"."
] | [
"spu"
] | spu | spu_assemble_integer | spu | MPU | GCC | 36,182 | 56 | 1 | [] |
[
"<s>",
"SDNode",
"*",
"NVPTXDAGToDAGISel",
"::",
"Select",
"(",
"SDNode",
"*",
"N",
")",
"{",
"if",
"(",
"N",
"->",
"isMachineOpcode",
"(",
")",
")",
"return",
"NULL",
";",
"SDNode",
"*",
"ResNode",
"=",
"NULL",
";",
"switch",
"(",
"N",
"->",
"getOpc... | [
"Main",
"hook",
"for",
"targets",
"to",
"transform",
"nodes",
"into",
"machine",
"nodes",
"."
] | [
"NVPTX",
"NVPTX",
"ISD::LOAD",
"ISD::STORE",
"NVPTXISD::LoadV2",
"NVPTXISD::LoadV4",
"NVPTXISD::LDGV2",
"NVPTXISD::LDGV4",
"NVPTXISD::LDUV2",
"NVPTXISD::LDUV4",
"NVPTXISD::StoreV2",
"NVPTXISD::StoreV4",
"NVPTXISD::LoadParam",
"NVPTXISD::LoadParamV2",
"NVPTXISD::LoadParamV4",
"NVPTXISD:... | NVPTXISelDAGToDAG11 | Select | NVPTX | GPU | LLVM | 36,183 | 233 | 1 | [] |
[
"<s>",
"MachineInstr",
"*",
"ARMBaseInstrInfo",
"::",
"foldMemoryOperandImpl",
"(",
"MachineFunction",
"&",
"MF",
",",
"MachineInstr",
"*",
"MI",
",",
"const",
"SmallVectorImpl",
"<",
"unsigned",
">",
"&",
"Ops",
",",
"MachineInstr",
"*",
"LoadMI",
")",
"const",... | [
"foldMemoryOperand",
"-",
"Same",
"as",
"the",
"previous",
"version",
"except",
"it",
"allows",
"folding",
"of",
"any",
"load",
"and",
"store",
"from",
"/",
"to",
"any",
"address",
",",
"not",
"just",
"from",
"a",
"specific",
"stack",
"slot",
"."
] | [
"ARM",
"ARM",
"0"
] | ARMBaseInstrInfo114 | foldMemoryOperandImpl | ARM | CPU | LLVM | 36,184 | 32 | 1 | [] |
[
"<s>",
"enum",
"direction",
"function_arg_padding",
"(",
"enum",
"machine_mode",
"mode",
",",
"tree",
"type",
")",
"{",
"if",
"(",
"!",
"AGGREGATE_PADDING_FIXED",
")",
"{",
"if",
"(",
"BYTES_BIG_ENDIAN",
")",
"{",
"HOST_WIDE_INT",
"size",
"=",
"0",
";",
"if"... | [
"Handle",
"the",
"FUNCTION_ARG_PADDING",
"macro",
".",
"For",
"the",
"64",
"bit",
"ABI",
"structs",
"are",
"always",
"stored",
"left",
"shifted",
"in",
"their",
"argument",
"slot",
"."
] | [
"rs6000",
"0",
"1",
"2",
"4",
"0"
] | rs60003 | function_arg_padding | rs6000 | CPU | GCC | 36,185 | 116 | 1 | [] |
[
"<s>",
"bool",
"Mips16HardFloat",
"::",
"runOnModule",
"(",
"Module",
"&",
"M",
")",
"{",
"auto",
"&",
"TM",
"=",
"static_cast",
"<",
"const",
"MipsTargetMachine",
"&",
">",
"(",
"getAnalysis",
"<",
"TargetPassConfig",
">",
"(",
")",
".",
"getTM",
"<",
"... | [
"runOnModule",
"-",
"Virtual",
"method",
"overriden",
"by",
"subclasses",
"to",
"process",
"the",
"module",
"being",
"operated",
"on",
"."
] | [
"Mips",
"Mips",
"Mips",
"\"Run on Module Mips16HardFloat\\n\"",
"\"nomips16\"",
"\"use-soft-float\"",
"\"mips16_fp_stub\"",
"\"nomips16\""
] | Mips16HardFloat1 | runOnModule | Mips | CPU | LLVM | 36,186 | 182 | 1 | [] |
[
"<s>",
"const",
"MCPhysReg",
"*",
"AArch64RegisterInfo",
"::",
"getCalleeSavedRegs",
"(",
"const",
"MachineFunction",
"*",
"MF",
")",
"const",
"{",
"assert",
"(",
"MF",
"&&",
"\"Invalid MachineFunction pointer.\"",
")",
";",
"if",
"(",
"MF",
"->",
"getFunction",
... | [
"Code",
"Generation",
"virtual",
"methods",
"..."
] | [
"AArch64",
"AArch64",
"\"Invalid MachineFunction pointer.\"",
"AArch64",
"AArch64",
"AArch64",
"AArch64",
"AArch64",
"AArch64",
"AArch64",
"AArch64",
"AArch64",
"AArch64",
"AArch64"
] | AArch64RegisterInfo19 | getCalleeSavedRegs | AArch64 | CPU | LLVM | 36,187 | 175 | 1 | [] |
[
"<s>",
"static",
"tree",
"sh_build_builtin_va_list",
"(",
"void",
")",
"{",
"tree",
"f_next_o",
",",
"f_next_o_limit",
",",
"f_next_fp",
",",
"f_next_fp_limit",
",",
"f_next_stack",
";",
"tree",
"record",
";",
"if",
"(",
"TARGET_SH5",
"||",
"(",
"!",
"TARGET_S... | [
"Define",
"the",
"`",
"__builtin_va_list",
"'",
"type",
"for",
"the",
"ABI",
"."
] | [
"sh",
"\"__va_next_o\"",
"\"__va_next_o_limit\"",
"\"__va_next_fp\"",
"\"__va_next_fp_limit\"",
"\"__va_next_stack\""
] | sh3 | sh_build_builtin_va_list | sh | CPU | GCC | 36,188 | 205 | 1 | [] |
[
"<s>",
"static",
"char",
"*",
"avr_tolower",
"(",
"char",
"*",
"lo",
",",
"const",
"char",
"*",
"up",
")",
"{",
"char",
"*",
"lo0",
"=",
"lo",
";",
"for",
"(",
";",
"*",
"up",
";",
"up",
"++",
",",
"lo",
"++",
")",
"*",
"lo",
"=",
"TOLOWER",
... | [
"Transform",
"UP",
"into",
"lowercase",
"and",
"write",
"the",
"result",
"to",
"LO",
".",
"You",
"must",
"provide",
"enough",
"space",
"for",
"LO",
".",
"Return",
"LO",
"."
] | [
"avr"
] | avr | avr_tolower | avr | MPU | GCC | 36,189 | 51 | 1 | [] |
[
"<s>",
"bool",
"X86InstrInfo",
"::",
"analyzeCompare",
"(",
"const",
"MachineInstr",
"*",
"MI",
",",
"unsigned",
"&",
"SrcReg",
",",
"unsigned",
"&",
"SrcReg2",
",",
"int",
"&",
"CmpMask",
",",
"int",
"&",
"CmpValue",
")",
"const",
"{",
"switch",
"(",
"M... | [
"analyzeCompare",
"-",
"For",
"a",
"comparison",
"instruction",
",",
"return",
"the",
"source",
"registers",
"in",
"SrcReg",
"and",
"SrcReg2",
"if",
"having",
"two",
"register",
"operands",
",",
"and",
"the",
"value",
"it",
"compares",
"against",
"in",
"CmpVal... | [
"X86",
"X86",
"X86::CMP64ri32",
"X86::CMP64ri8",
"X86::CMP32ri",
"X86::CMP32ri8",
"X86::CMP16ri",
"X86::CMP16ri8",
"X86::CMP8ri",
"0",
"0",
"0",
"1",
"X86::CMP64rr",
"X86::CMP32rr",
"X86::CMP16rr",
"X86::CMP8rr",
"0",
"1",
"0",
"0"
] | X86InstrInfo52 | analyzeCompare | X86 | CPU | LLVM | 36,190 | 177 | 1 | [] |
[
"<s>",
"unsigned",
"ARMConstantIslands",
"::",
"getOffsetOf",
"(",
"MachineInstr",
"*",
"MI",
")",
"const",
"{",
"MachineBasicBlock",
"*",
"MBB",
"=",
"MI",
"->",
"getParent",
"(",
")",
";",
"unsigned",
"Offset",
"=",
"BBInfo",
"[",
"MBB",
"->",
"getNumber",... | [
"getOffsetOf",
"-",
"Return",
"the",
"current",
"offset",
"of",
"the",
"specified",
"machine",
"instruction",
"from",
"the",
"start",
"of",
"the",
"function",
"."
] | [
"ARM",
"ARM",
"\"Didn't find MI in its own basic block?\""
] | ARMConstantIslandPass | getOffsetOf | ARM | CPU | LLVM | 36,191 | 86 | 1 | [] |
[
"<s>",
"bool",
"WebAssemblyOptimizeLiveIntervals",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"{",
"LLVM_DEBUG",
"(",
"dbgs",
"(",
")",
"<<",
"\"********** Optimize LiveIntervals **********\\n\"",
"\"********** Function: \"",
"<<",
"MF",
".",
"g... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"WebAssembly",
"WebAssembly",
"\"********** Optimize LiveIntervals **********\\n\"",
"\"********** Function: \"",
"\"OptimizeLiveIntervals expects liveness\"",
"4",
"0",
"0",
"0"
] | WebAssemblyOptimizeLiveIntervals19 | runOnMachineFunction | WebAssembly | Virtual ISA | LLVM | 36,192 | 261 | 1 | [] |
[
"<s>",
"unsigned",
"postKnownBits",
"(",
"Align",
"Align",
"=",
"llvm",
"::",
"Align",
"(",
"1",
")",
")",
"const",
"{",
"return",
"std",
"::",
"max",
"(",
"Log2",
"(",
"std",
"::",
"max",
"(",
"PostAlign",
",",
"Align",
")",
")",
",",
"internalKnown... | [
"Compute",
"the",
"number",
"of",
"known",
"low",
"bits",
"of",
"postOffset",
"."
] | [
"ARM",
"1"
] | ARMBasicBlockInfo3 | postKnownBits | ARM | CPU | LLVM | 36,193 | 38 | 1 | [] |
[
"<s>",
"void",
"assignValueToAddress",
"(",
"Register",
"ValVReg",
",",
"Register",
"Addr",
",",
"uint64_t",
"Size",
",",
"MachinePointerInfo",
"&",
"MPO",
",",
"CCValAssign",
"&",
"VA",
")",
"override",
"{",
"if",
"(",
"VA",
".",
"getLocInfo",
"(",
")",
"... | [
"An",
"overload",
"which",
"takes",
"an",
"ArgInfo",
"if",
"additional",
"information",
"about",
"the",
"arg",
"is",
"needed",
"."
] | [
"AArch64",
"8",
"8",
"0",
"1"
] | AArch64CallLowering42 | assignValueToAddress | AArch64 | CPU | LLVM | 36,194 | 110 | 1 | [] |
[
"<s>",
"bool",
"Cpu0SEFrameLowering",
"::",
"hasReservedCallFrame",
"(",
"const",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"const",
"MachineFrameInfo",
"&",
"MFI",
"=",
"MF",
".",
"getFrameInfo",
"(",
")",
";",
"return",
"isInt",
"<",
"16",
">",
"(",... | [
"hasReservedCallFrame",
"-",
"Under",
"normal",
"circumstances",
",",
"when",
"a",
"frame",
"pointer",
"is",
"not",
"required",
",",
"we",
"reserve",
"argument",
"space",
"for",
"call",
"sites",
"in",
"the",
"function",
"immediately",
"on",
"entry",
"to",
"the... | [
"Cpu0",
"Cpu0",
"16"
] | Cpu0SEFrameLowering | hasReservedCallFrame | Cpu0 | CPU | LLVM | 36,195 | 48 | 1 | [] |
[
"<s>",
"void",
"TVMPassConfig",
"::",
"addPreEmitPass",
"(",
")",
"{",
"TargetPassConfig",
"::",
"addPreEmitPass",
"(",
")",
";",
"addPass",
"(",
"createTVMContinuationsHoist",
"(",
")",
")",
";",
"addPass",
"(",
"createTVMReplacePhysRegs",
"(",
")",
")",
";",
... | [
"This",
"pass",
"may",
"be",
"implemented",
"by",
"targets",
"that",
"want",
"to",
"run",
"passes",
"immediately",
"before",
"machine",
"code",
"is",
"emitted",
"."
] | [
"TVM",
"TVM",
"TVM",
"TVM",
"TVM",
"TVM",
"TVM",
"TVM",
"TVM",
"TVM",
"TVM",
"TVM"
] | TVMTargetMachine | addPreEmitPass | TVM | Virtual ISA | LLVM | 36,196 | 94 | 1 | [] |
[
"<s>",
"bool",
"aarch64_float_const_rtx_p",
"(",
"rtx",
"x",
")",
"{",
"machine_mode",
"mode",
"=",
"GET_MODE",
"(",
"x",
")",
";",
"if",
"(",
"mode",
"==",
"VOIDmode",
")",
"return",
"false",
";",
"unsigned",
"HOST_WIDE_INT",
"ival",
";",
"if",
"(",
"CO... | [
"Return",
"TRUE",
"if",
"rtx",
"X",
"is",
"an",
"immediate",
"constant",
"that",
"can",
"be",
"moved",
"using",
"a",
"single",
"MOV",
"(",
"+MOVK",
")",
"followed",
"by",
"an",
"FMOV",
"."
] | [
"aarch64",
"3"
] | aarch641 | aarch64_float_const_rtx_p | aarch64 | CPU | GCC | 36,197 | 98 | 1 | [] |
[
"<s>",
"unsigned",
"char",
"X86Subtarget",
"::",
"ClassifyGlobalReference",
"(",
"const",
"GlobalValue",
"*",
"GV",
",",
"const",
"TargetMachine",
"&",
"TM",
")",
"const",
"{",
"if",
"(",
"GV",
"->",
"hasDLLImportStorageClass",
"(",
")",
")",
"return",
"X86II"... | [
"ClassifyGlobalReference",
"-",
"Find",
"the",
"target",
"operand",
"flags",
"that",
"describe",
"how",
"a",
"global",
"value",
"should",
"be",
"referenced",
"for",
"the",
"current",
"subtarget",
"."
] | [
"X86",
"X86",
"X86II::MO_DLLIMPORT",
"X86II::MO_NO_FLAG",
"X86II::MO_GOTPCREL",
"\"Unknown rip-relative target\"",
"X86II::MO_GOTPCREL",
"X86II::MO_NO_FLAG",
"X86II::MO_GOTOFF",
"X86II::MO_GOT",
"X86II::MO_PIC_BASE_OFFSET",
"X86II::MO_DARWIN_NONLAZY_PIC_BASE",
"X86II::MO_DARWIN_HIDDEN_NONLAZ... | X86Subtarget100 | ClassifyGlobalReference | X86 | CPU | LLVM | 36,198 | 302 | 1 | [] |
[
"<s>",
"static",
"bool",
"valid_perm_using_mode_p",
"(",
"machine_mode",
"vmode",
",",
"struct",
"expand_vec_perm_d",
"*",
"d",
")",
"{",
"unsigned",
"int",
"i",
",",
"j",
",",
"chunk",
";",
"if",
"(",
"GET_MODE_CLASS",
"(",
"vmode",
")",
"!=",
"MODE_VECTOR_... | [
"Return",
"true",
"if",
"permutation",
"D",
"can",
"be",
"performed",
"as",
"VMODE",
"permutation",
"instead",
"."
] | [
"i386",
"0",
"1",
"1"
] | i386-expand | valid_perm_using_mode_p | i386 | CPU | GCC | 36,199 | 154 | 1 | [] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.