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",
"ARMOperand",
"*",
"CreateMem",
"(",
"unsigned",
"BaseRegNum",
",",
"const",
"MCConstantExpr",
"*",
"OffsetImm",
",",
"unsigned",
"OffsetRegNum",
",",
"ARM_AM",
"::",
"ShiftOpc",
"ShiftType",
",",
"unsigned",
"ShiftImm",
",",
"unsigned",
"Alignmen... | [
"Create",
"a",
"generalized",
"memory",
"operand",
"."
] | [
"ARM",
"ARM",
"ARM_AM::ShiftOpc",
"ARM",
"ARM"
] | ARMAsmParser (2) | CreateMem | ARM | CPU | LLVM | 25,500 | 119 | 1 | [] |
[
"<s>",
"const",
"char",
"*",
"avr_devicespecs_file",
"(",
"int",
"argc",
",",
"const",
"char",
"*",
"*",
"argv",
")",
"{",
"char",
"*",
"specfile_name",
";",
"const",
"char",
"*",
"mmcu",
"=",
"NULL",
";",
"if",
"(",
"verbose_flag",
")",
"fnotice",
"("... | [
"Implement",
"spec",
"function",
"`",
"device-specs-file麓",
".",
"Compose",
"-specs=",
"<",
"specs-file-name",
">",
"%",
"s",
".",
"If",
"everything",
"went",
"well",
"then",
"argv",
"[",
"0",
"]",
"is",
"the",
"inflated",
"(",
"absolute",
")",
"specs",
"d... | [
"avr",
"\"Running spec function '%s' with %d args\\n\\n\"",
"0",
"\"bad usage of spec function %qs\"",
"\"device-specs-file\"",
"1",
"0",
"\"device-specs\"",
"0",
"1",
"2",
"0",
"\"specified option %qs more than once\"",
"\"-mmcu\"",
"0",
"\"specs-\"",
"\"'%s': mmcu='%s'\\n'%s': spec... | driver-avr2 | avr_devicespecs_file | avr | MPU | GCC | 25,501 | 305 | 1 | [] |
[
"<s>",
"static",
"int",
"mcore_and_cost",
"(",
"rtx",
"x",
")",
"{",
"int",
"val",
";",
"if",
"(",
"GET_CODE",
"(",
"XEXP",
"(",
"x",
",",
"1",
")",
")",
"!=",
"CONST_INT",
")",
"return",
"2",
";",
"val",
"=",
"INTVAL",
"(",
"XEXP",
"(",
"x",
"... | [
"What",
"does",
"an",
"and",
"instruction",
"cost",
"-",
"we",
"do",
"this",
"b/c",
"immediates",
"may",
"have",
"been",
"relaxed",
".",
"We",
"want",
"to",
"ensure",
"that",
"cse",
"will",
"cse",
"relaxed",
"immeds",
"out",
".",
"Otherwise",
"we",
"'ll"... | [
"mcore",
"1",
"2",
"1",
"2",
"3",
"4",
"5"
] | mcore3 | mcore_and_cost | mcore | MPU | GCC | 25,502 | 84 | 1 | [] |
[
"<s>",
"bool",
"AMDGPUAlwaysInline",
"::",
"runOnModule",
"(",
"Module",
"&",
"M",
")",
"{",
"std",
"::",
"vector",
"<",
"Function",
"*",
">",
"FuncsToClone",
";",
"for",
"(",
"Module",
"::",
"iterator",
"I",
"=",
"M",
".",
"begin",
"(",
")",
",",
"E... | [
"runOnModule",
"-",
"Virtual",
"method",
"overriden",
"by",
"subclasses",
"to",
"process",
"the",
"module",
"being",
"operated",
"on",
"."
] | [
"R600"
] | AMDGPUAlwaysInlinePass15 | runOnModule | R600 | GPU | LLVM | 25,503 | 224 | 1 | [] |
[
"<s>",
"bool",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"override",
"{",
"LLVM_DEBUG",
"(",
"dbgs",
"(",
")",
"<<",
"\"### runOnMachineFunction\\n\"",
")",
";",
"Subtarget",
"=",
"&",
"MF",
".",
"getSubtarget",
"<",
"Comet2Subtarget",
">",... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"Comet2",
"\"### runOnMachineFunction\\n\"",
"Comet2"
] | Comet2ISelDAGToDAG | runOnMachineFunction | Comet2 | CPU | LLVM | 25,504 | 39 | 1 | [] |
[
"<s>",
"rtx",
"function_expander",
"::",
"use_ternop_insn",
"(",
"bool",
"vd_accum_p",
",",
"insn_code",
"icode",
")",
"{",
"machine_mode",
"mode",
"=",
"TYPE_MODE",
"(",
"builtin_types",
"[",
"type",
".",
"index",
"]",
".",
"vector",
")",
";",
"int",
"arg_o... | [
"Implement",
"the",
"call",
"using",
"instruction",
"ICODE",
",",
"with",
"a",
"1:1",
"mapping",
"between",
"arguments",
"and",
"input",
"operands",
"."
] | [
"riscv",
"0"
] | riscv-vector-builtins | use_ternop_insn | riscv | CPU | GCC | 25,505 | 269 | 1 | [] |
[
"<s>",
"function_sym_iterator",
"HSACodeObject",
"::",
"functions_begin",
"(",
")",
"const",
"{",
"auto",
"TextIdxOr",
"=",
"getTextSectionIdx",
"(",
")",
";",
"if",
"(",
"!",
"TextIdxOr",
")",
"return",
"functions_end",
"(",
")",
";",
"auto",
"TextIdx",
"=",
... | [
"Begin",
"iterator",
"for",
"functions",
"."
] | [
"AMDGPU"
] | CodeObject | functions_begin | AMDGPU | GPU | LLVM | 25,506 | 122 | 1 | [] |
[
"<s>",
"bool",
"AArch64InstrInfo",
"::",
"analyzeCompare",
"(",
"const",
"MachineInstr",
"&",
"MI",
",",
"Register",
"&",
"SrcReg",
",",
"Register",
"&",
"SrcReg2",
",",
"int",
"&",
"CmpMask",
",",
"int",
"&",
"CmpValue",
")",
"const",
"{",
"assert",
"(",
... | [
"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... | [
"AArch64",
"AArch64",
"2",
"\"All AArch64 cmps should have 2 operands\"",
"1",
"0",
"1",
"2",
"AArch64::PTEST_PP",
"0",
"1",
"0",
"0",
"AArch64::SUBSWrr",
"AArch64::SUBSWrs",
"AArch64::SUBSWrx",
"AArch64::SUBSXrr",
"AArch64::SUBSXrs",
"AArch64::SUBSXrx",
"AArch64::ADDSWrr",
"... | AArch64InstrInfo11 | analyzeCompare | AArch64 | CPU | LLVM | 25,507 | 378 | 1 | [] |
[
"<s>",
"bool",
"runOnFunction",
"(",
"Function",
"&",
"F",
")",
"override",
"{",
"Func",
"=",
"&",
"F",
";",
"DT",
"=",
"&",
"getAnalysis",
"<",
"DominatorTreeWrapperPass",
">",
"(",
")",
".",
"getDomTree",
"(",
")",
";",
"return",
"ProcessFunction",
"("... | [
"runOnFunction",
"-",
"Virtual",
"method",
"overriden",
"by",
"subclasses",
"to",
"do",
"the",
"per-function",
"processing",
"of",
"the",
"pass",
"."
] | [
"JVM"
] | JVMIRDecorator | runOnFunction | JVM | Virtual ISA | LLVM | 25,508 | 34 | 1 | [] |
[
"<s>",
"void",
"MBlazeFrameLowering",
"::",
"emitEpilogue",
"(",
"MachineFunction",
"&",
"MF",
",",
"MachineBasicBlock",
"&",
"MBB",
")",
"const",
"{",
"MachineBasicBlock",
"::",
"iterator",
"MBBI",
"=",
"MBB",
".",
"getLastNonDebugInstr",
"(",
")",
";",
"Machin... | [
"Insert",
"epilog",
"code",
"into",
"the",
"function",
"."
] | [
"MBlaze",
"MBlaze",
"MBlaze",
"MBlaze",
"MBlaze",
"MBlaze",
"MBlaze",
"MBlaze",
"MBlaze",
"MBlaze::ADD",
"MBlaze::R1",
"MBlaze::R19",
"MBlaze::R0",
"MBlaze::LWI",
"MBlaze::R19",
"MBlaze::R1",
"MBlaze::LWI",
"MBlaze::R15",
"MBlaze::R1",
"MBlaze::ADDIK",
"MBlaze::R1",
"MBlaze... | MBlazeFrameLowering10 | emitEpilogue | MBlaze | MPU | LLVM | 25,509 | 306 | 1 | [] |
[
"<s>",
"Register",
"getStackAddress",
"(",
"uint64_t",
"Size",
",",
"int64_t",
"Offset",
",",
"MachinePointerInfo",
"&",
"MPO",
")",
"override",
"{",
"LLT",
"p0",
"=",
"LLT",
"::",
"pointer",
"(",
"0",
",",
"DL",
".",
"getPointerSizeInBits",
"(",
"0",
")",... | [
"Materialize",
"a",
"VReg",
"containing",
"the",
"address",
"of",
"the",
"specified",
"stack-based",
"object",
"."
] | [
"X86",
"0",
"0",
"0"
] | X86CallLowering35 | getStackAddress | X86 | CPU | LLVM | 25,510 | 133 | 1 | [] |
[
"<s>",
"StringRef",
"getPassName",
"(",
")",
"const",
"override",
"{",
"return",
"\"RV16K Assembly Printer\"",
";",
"}",
"</s>"
] | [
"getPassName",
"-",
"Return",
"a",
"nice",
"clean",
"name",
"for",
"a",
"pass",
"."
] | [
"RV16K",
"\"RV16K Assembly Printer\""
] | RV16KAsmPrinter | getPassName | RV16K | Virtual ISA | LLVM | 25,511 | 11 | 1 | [] |
[
"<s>",
"bool",
"AArch64Subtarget",
"::",
"supportsAddressTopByteIgnored",
"(",
")",
"const",
"{",
"if",
"(",
"!",
"UseAddressTopByteIgnored",
")",
"return",
"false",
";",
"if",
"(",
"TargetTriple",
".",
"isiOS",
"(",
")",
")",
"{",
"return",
"TargetTriple",
".... | [
"CPU",
"has",
"TBI",
"(",
"top",
"byte",
"of",
"addresses",
"is",
"ignored",
"during",
"HW",
"address",
"translation",
")",
"and",
"OS",
"enables",
"it",
"."
] | [
"AArch64",
"AArch64",
"8"
] | AArch64Subtarget22 | supportsAddressTopByteIgnored | AArch64 | CPU | LLVM | 25,512 | 42 | 1 | [] |
[
"<s>",
"void",
"aarch64_emit_sve_pred_move",
"(",
"rtx",
"dest",
",",
"rtx",
"pred",
",",
"rtx",
"src",
")",
"{",
"emit_insn",
"(",
"gen_rtx_SET",
"(",
"dest",
",",
"gen_rtx_UNSPEC",
"(",
"GET_MODE",
"(",
"dest",
")",
",",
"gen_rtvec",
"(",
"2",
",",
"pr... | [
"Emit",
"an",
"SVE",
"predicated",
"move",
"from",
"SRC",
"to",
"DEST",
".",
"PRED",
"is",
"a",
"predicate",
"that",
"is",
"known",
"to",
"contain",
"PTRUE",
"."
] | [
"aarch64",
"2"
] | aarch645 | aarch64_emit_sve_pred_move | aarch64 | CPU | GCC | 25,513 | 41 | 1 | [] |
[
"<s>",
"void",
"Cpu0TargetLowering",
"::",
"getOpndList",
"(",
"SmallVectorImpl",
"<",
"SDValue",
">",
"&",
"Ops",
",",
"std",
"::",
"deque",
"<",
"std",
"::",
"pair",
"<",
"unsigned",
",",
"SDValue",
">",
">",
"&",
"RegsToPass",
",",
"bool",
"IsPICCall",
... | [
"This",
"function",
"fills",
"Ops",
",",
"which",
"is",
"the",
"list",
"of",
"operands",
"that",
"will",
"later",
"be",
"used",
"when",
"a",
"function",
"call",
"node",
"is",
"created",
"."
] | [
"Cpu0",
"Cpu0",
"Cpu0::T9",
"Cpu0::GP",
"MVT::i32",
"0",
"1",
"0",
"\"Missing call preserved mask for calling convention\""
] | Cpu0ISelLowering | getOpndList | Cpu0 | CPU | LLVM | 25,514 | 320 | 1 | [] |
[
"<s>",
"bool",
"isMachineVerifierClean",
"(",
")",
"const",
"override",
"{",
"return",
"false",
";",
"}",
"</s>"
] | [
"Returns",
"true",
"if",
"the",
"target",
"is",
"expected",
"to",
"pass",
"all",
"machine",
"verifier",
"checks",
"."
] | [
"Sparc"
] | SparcTargetMachine22 | isMachineVerifierClean | Sparc | CPU | LLVM | 25,515 | 11 | 1 | [] |
[
"<s>",
"static",
"bool",
"pdp11_scalar_mode_supported_p",
"(",
"scalar_mode",
"mode",
")",
"{",
"if",
"(",
"mode",
"==",
"SFmode",
")",
"return",
"true",
";",
"return",
"default_scalar_mode_supported_p",
"(",
"mode",
")",
";",
"}",
"</s>"
] | [
"Implement",
"TARGET_SCALAR_MODE_SUPPORTED_P",
"."
] | [
"pdp11"
] | pdp11 | pdp11_scalar_mode_supported_p | pdp11 | MPU | GCC | 25,516 | 24 | 1 | [] |
[
"<s>",
"bool",
"AMDGPUAnnotateKernelFeatures",
"::",
"runOnSCC",
"(",
"CallGraphSCC",
"&",
"SCC",
")",
"{",
"Module",
"&",
"M",
"=",
"SCC",
".",
"getCallGraph",
"(",
")",
".",
"getModule",
"(",
")",
";",
"Triple",
"TT",
"(",
"M",
".",
"getTargetTriple",
... | [
"runOnSCC",
"-",
"This",
"method",
"should",
"be",
"implemented",
"by",
"the",
"subclass",
"to",
"perform",
"whatever",
"action",
"is",
"necessary",
"for",
"the",
"specified",
"SCC",
"."
] | [
"AMDGPU",
"AMDGPU"
] | AMDGPUAnnotateKernelFeatures | runOnSCC | AMDGPU | GPU | LLVM | 25,517 | 84 | 1 | [] |
[
"<s>",
"MCSection",
"*",
"getExplicitSectionGlobal",
"(",
"const",
"GlobalValue",
"*",
"GV",
",",
"SectionKind",
"Kind",
",",
"Mangler",
"&",
"Mang",
",",
"const",
"TargetMachine",
"&",
"TM",
")",
"const",
"override",
"{",
"return",
"DataSection",
";",
"}",
... | [
"Targets",
"should",
"implement",
"this",
"method",
"to",
"assign",
"a",
"section",
"to",
"globals",
"with",
"an",
"explicit",
"section",
"specfied",
"."
] | [
"HSAIL"
] | HSAILTargetObjectFile | getExplicitSectionGlobal | HSAIL | Virtual ISA | LLVM | 25,518 | 28 | 1 | [] |
[
"<s>",
"const",
"MachineBasicBlock",
"*",
"getMBB",
"(",
")",
"const",
"{",
"return",
"MBB",
";",
"}",
"</s>"
] | [
"Return",
"a",
"reference",
"to",
"the",
"basic",
"block",
"containing",
"this",
"bundle",
"."
] | [
"CSKY"
] | CSKYConstantPoolValue | getMBB | CSKY | CPU | LLVM | 25,519 | 12 | 1 | [] |
[
"<s>",
"bool",
"ARMBaseInstrInfo",
"::",
"reverseBranchCondition",
"(",
"SmallVectorImpl",
"<",
"MachineOperand",
">",
"&",
"Cond",
")",
"const",
"{",
"ARMCC",
"::",
"CondCodes",
"CC",
"=",
"(",
"ARMCC",
"::",
"CondCodes",
")",
"(",
"int",
")",
"Cond",
"[",
... | [
"Reverses",
"the",
"branch",
"condition",
"of",
"the",
"specified",
"condition",
"list",
",",
"returning",
"false",
"on",
"success",
"and",
"true",
"if",
"it",
"can",
"not",
"be",
"reversed",
"."
] | [
"ARM",
"ARM",
"ARMCC::CondCodes",
"ARMCC::CondCodes",
"0",
"0",
"ARMCC::getOppositeCondition"
] | ARMBaseInstrInfo1 | reverseBranchCondition | ARM | CPU | LLVM | 25,520 | 55 | 1 | [] |
[
"<s>",
"bool",
"WinEHStatePass",
"::",
"doInitialization",
"(",
"Module",
"&",
"M",
")",
"{",
"TheModule",
"=",
"&",
"M",
";",
"FrameEscape",
"=",
"Intrinsic",
"::",
"getDeclaration",
"(",
"TheModule",
",",
"Intrinsic",
"::",
"localescape",
")",
";",
"FrameR... | [
"Set",
"up",
"the",
"AsmPrinter",
"when",
"we",
"are",
"working",
"on",
"a",
"new",
"module",
"."
] | [
"X86",
"Intrinsic::getDeclaration",
"Intrinsic::localescape",
"Intrinsic::getDeclaration",
"Intrinsic::localrecover",
"Intrinsic::getDeclaration",
"Intrinsic::frameaddress",
"Intrinsic::getDeclaration",
"Intrinsic::x86_seh_restoreframe"
] | X86WinEHState | doInitialization | X86 | CPU | LLVM | 25,521 | 71 | 1 | [] |
[
"<s>",
"int",
"visium_interrupt_function_p",
"(",
"void",
")",
"{",
"return",
"lookup_attribute",
"(",
"\"interrupt\"",
",",
"DECL_ATTRIBUTES",
"(",
"current_function_decl",
")",
")",
"!=",
"NULL_TREE",
";",
"}",
"</s>"
] | [
"Return",
"non-zero",
"if",
"the",
"current",
"function",
"is",
"an",
"interrupt",
"function",
"."
] | [
"visium",
"\"interrupt\""
] | visium | visium_interrupt_function_p | visium | Virtual ISA | GCC | 25,522 | 20 | 1 | [] |
[
"<s>",
"bool",
"intersects",
"(",
"const",
"RegisterSet",
"&",
"Rs",
")",
"const",
"{",
"return",
"Bits",
".",
"anyCommon",
"(",
"Rs",
".",
"Bits",
")",
";",
"}",
"</s>"
] | [
"Checks",
"whether",
"intervals",
"intersect",
"."
] | [
"Hexagon"
] | HexagonBitSimplify20 | intersects | Hexagon | DSP | LLVM | 25,523 | 21 | 1 | [] |
[
"<s>",
"static",
"int",
"do_reorder_for_imul",
"(",
"rtx_insn",
"*",
"*",
"ready",
",",
"int",
"n_ready",
")",
"{",
"rtx_insn",
"*",
"insn",
";",
"rtx",
"set",
",",
"insn1",
",",
"insn2",
";",
"sd_iterator_def",
"sd_it",
";",
"dep_t",
"dep",
";",
"int",
... | [
"Try",
"to",
"reorder",
"ready",
"list",
"to",
"take",
"advantage",
"of",
"Atom",
"pipelined",
"IMUL",
"execution",
".",
"It",
"is",
"applied",
"if",
"(",
"1",
")",
"IMUL",
"instruction",
"is",
"on",
"the",
"top",
"of",
"list",
";",
"(",
"2",
")",
"T... | [
"i386",
"1",
"1",
"2",
"0",
"0",
"0",
"0",
"0",
"1",
"0",
"0"
] | i3864 | do_reorder_for_imul | i386 | CPU | GCC | 25,524 | 354 | 1 | [] |
[
"<s>",
"void",
"mips_expand_epilogue",
"(",
"int",
"sibcall_p",
")",
"{",
"HOST_WIDE_INT",
"step1",
",",
"step2",
";",
"rtx",
"base",
",",
"target",
";",
"if",
"(",
"!",
"sibcall_p",
"&&",
"mips_can_use_return_insn",
"(",
")",
")",
"{",
"emit_jump_insn",
"("... | [
"Expand",
"the",
"epilogue",
"into",
"a",
"bunch",
"of",
"separate",
"insns",
".",
"SIBCALL_P",
"is",
"true",
"if",
"this",
"epilogue",
"precedes",
"a",
"sibling",
"call",
",",
"false",
"if",
"it",
"is",
"for",
"a",
"normal",
"``",
"epilogue",
"''",
"pat... | [
"mips",
"0",
"0",
"0",
"0",
"0",
"7",
"31"
] | mips3 | mips_expand_epilogue | mips | CPU | GCC | 25,525 | 373 | 1 | [] |
[
"<s>",
"bool",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"F",
")",
"override",
"{",
"AArch64FI",
"=",
"F",
".",
"getInfo",
"<",
"AArch64FunctionInfo",
">",
"(",
")",
";",
"STI",
"=",
"static_cast",
"<",
"const",
"AArch64Subtarget",
"*",
">",
"(",
... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"AArch64",
"AArch64",
"AArch64",
"AArch64"
] | AArch64AsmPrinter12 | runOnMachineFunction | AArch64 | CPU | LLVM | 25,526 | 55 | 1 | [] |
[
"<s>",
"const",
"TargetRegisterClass",
"*",
"SIRegisterInfo",
"::",
"getLargestLegalSuperClass",
"(",
"const",
"TargetRegisterClass",
"*",
"RC",
",",
"const",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"if",
"(",
"ST",
".",
"hasMAIInsts",
"(",
")",
"&&",
... | [
"Returns",
"the",
"largest",
"super",
"class",
"of",
"RC",
"that",
"is",
"legal",
"to",
"use",
"in",
"the",
"current",
"sub-target",
"and",
"has",
"the",
"same",
"spill",
"size",
"."
] | [
"AMDGPU",
"SI",
"AMDGPU::VGPR_32RegClass",
"AMDGPU::AGPR_32RegClass",
"AMDGPU::AV_32RegClass",
"AMDGPU::VReg_64RegClass",
"AMDGPU::AReg_64RegClass",
"AMDGPU::AV_64RegClass",
"AMDGPU::VReg_64_Align2RegClass",
"AMDGPU::AReg_64_Align2RegClass",
"AMDGPU::AV_64_Align2RegClass",
"AMDGPU::VReg_96RegC... | SIRegisterInfo (3) | getLargestLegalSuperClass | AMDGPU | GPU | LLVM | 25,527 | 426 | 1 | [] |
[
"<s>",
"void",
"ARMTargetStreamer",
"::",
"finish",
"(",
")",
"{",
"ConstantPools",
"->",
"emitAll",
"(",
"Streamer",
")",
";",
"}",
"</s>"
] | [
"finish",
"-",
"after",
"all",
"the",
"new",
"live",
"ranges",
"have",
"been",
"created",
",",
"compute",
"the",
"remaining",
"live",
"range",
",",
"and",
"rewrite",
"instructions",
"to",
"use",
"the",
"new",
"registers",
"."
] | [
"ARM",
"ARM"
] | ARMTargetStreamer (2) | finish | ARM | CPU | LLVM | 25,528 | 15 | 1 | [] |
[
"<s>",
"const",
"MCSymbol",
"*",
"NVPTXAsmPrinter",
"::",
"getFunctionFrameSymbol",
"(",
"int",
")",
"const",
"{",
"SmallString",
"<",
"128",
">",
"Str",
";",
"raw_svector_ostream",
"(",
"Str",
")",
"<<",
"DEPOTNAME",
"<<",
"getFunctionNumber",
"(",
")",
";",
... | [
"Return",
"symbol",
"for",
"the",
"function",
"pseudo",
"stack",
"if",
"the",
"stack",
"frame",
"is",
"not",
"a",
"register",
"based",
"."
] | [
"NVPTX",
"NVPTX",
"128"
] | NVPTXAsmPrinter35 | getFunctionFrameSymbol | NVPTX | GPU | LLVM | 25,529 | 37 | 1 | [] |
[
"<s>",
"MCFragment",
"*",
"AArch64AuthMCExpr",
"::",
"findAssociatedFragment",
"(",
")",
"const",
"{",
"llvm_unreachable",
"(",
"\"FIXME: what goes here?\"",
")",
";",
"}",
"</s>"
] | [
"Find",
"the",
"``",
"associated",
"section",
"''",
"for",
"this",
"expression",
",",
"which",
"is",
"currently",
"defined",
"as",
"the",
"absolute",
"section",
"for",
"constants",
",",
"or",
"otherwise",
"the",
"section",
"associated",
"with",
"the",
"first",... | [
"AArch64",
"AArch64",
"\"FIXME: what goes here?\""
] | AArch64MCExpr17 | findAssociatedFragment | AArch64 | CPU | LLVM | 25,530 | 15 | 1 | [] |
[
"<s>",
"bool",
"SIInstrInfo",
"::",
"hasVALU32BitEncoding",
"(",
"unsigned",
"Opcode",
")",
"const",
"{",
"if",
"(",
"Opcode",
"==",
"AMDGPU",
"::",
"V_MUL_LEGACY_F32_e64",
"&&",
"ST",
".",
"hasGFX90AInsts",
"(",
")",
")",
"return",
"false",
";",
"int",
"Op3... | [
"Return",
"true",
"if",
"this",
"64-bit",
"VALU",
"instruction",
"has",
"a",
"32-bit",
"encoding",
"."
] | [
"AMDGPU",
"SI",
"AMDGPU::V_MUL_LEGACY_F32_e64",
"AMDGPU::getVOPe32",
"1",
"1"
] | SIInstrInfo11 | hasVALU32BitEncoding | AMDGPU | GPU | LLVM | 25,531 | 57 | 1 | [] |
[
"<s>",
"void",
"WebAssemblyAsmBackend",
"::",
"applyFixup",
"(",
"const",
"MCFixup",
"&",
"Fixup",
",",
"MutableArrayRef",
"<",
"char",
">",
"Data",
",",
"uint64_t",
"Value",
",",
"bool",
"IsPCRel",
",",
"MCContext",
"&",
"Ctx",
")",
"const",
"{",
"const",
... | [
"Apply",
"the",
"Value",
"for",
"given",
"Fixup",
"into",
"the",
"provided",
"data",
"fragment",
",",
"at",
"the",
"offset",
"specified",
"by",
"the",
"fixup",
"and",
"following",
"the",
"fixup",
"kind",
"as",
"appropriate",
"."
] | [
"WebAssembly",
"WebAssembly",
"0",
"\"WebAssembly does not use MCFixupKindInfo flags\"",
"8",
"8",
"0",
"\"Invalid fixup offset!\"",
"0",
"8",
"0xff"
] | WebAssemblyAsmBackend2 | applyFixup | WebAssembly | Virtual ISA | LLVM | 25,532 | 142 | 1 | [] |
[
"<s>",
"bool",
"Cpu0TargetLowering",
"::",
"isLegalAddressingMode",
"(",
"const",
"DataLayout",
"&",
"DL",
",",
"const",
"AddrMode",
"&",
"AM",
",",
"Type",
"*",
"Ty",
",",
"unsigned",
"AS",
")",
"const",
"{",
"if",
"(",
"AM",
".",
"BaseGV",
")",
"return... | [
"isLegalAddressingMode",
"-",
"Return",
"true",
"if",
"the",
"addressing",
"mode",
"represented",
"by",
"AM",
"is",
"legal",
"for",
"this",
"target",
",",
"for",
"a",
"load/store",
"of",
"the",
"specified",
"type",
"."
] | [
"Cpu0",
"Cpu0",
"0",
"1"
] | Cpu0ISelLowering | isLegalAddressingMode | Cpu0 | CPU | LLVM | 25,533 | 70 | 1 | [] |
[
"<s>",
"void",
"rs6000_emit_cbranch",
"(",
"machine_mode",
"mode",
",",
"rtx",
"operands",
"[",
"]",
")",
"{",
"rtx",
"condition_rtx",
"=",
"rs6000_generate_compare",
"(",
"operands",
"[",
"0",
"]",
",",
"mode",
")",
";",
"rtx",
"loc_ref",
"=",
"gen_rtx_LABE... | [
"Emit",
"a",
"branch",
"of",
"kind",
"CODE",
"to",
"location",
"LOC",
"."
] | [
"rs6000",
"0",
"3"
] | rs6000 | rs6000_emit_cbranch | rs6000 | CPU | GCC | 25,534 | 63 | 1 | [] |
[
"<s>",
"bool",
"FalkorHWPFFix",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"Fn",
")",
"{",
"auto",
"&",
"ST",
"=",
"static_cast",
"<",
"const",
"AArch64Subtarget",
"&",
">",
"(",
"Fn",
".",
"getSubtarget",
"(",
")",
")",
";",
"if",
"(",
"... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"AArch64",
"AArch64",
"AArch64",
"AArch64"
] | AArch64FalkorHWPFFix12 | runOnMachineFunction | AArch64 | CPU | LLVM | 25,535 | 149 | 1 | [] |
[
"<s>",
"bool",
"SITargetLowering",
"::",
"getAddrModeArguments",
"(",
"IntrinsicInst",
"*",
"II",
",",
"SmallVectorImpl",
"<",
"Value",
"*",
">",
"&",
"Ops",
",",
"Type",
"*",
"&",
"AccessTy",
")",
"const",
"{",
"switch",
"(",
"II",
"->",
"getIntrinsicID",
... | [
"CodeGenPrepare",
"sinks",
"address",
"calculations",
"into",
"the",
"same",
"BB",
"as",
"Load/Store",
"instructions",
"reading",
"the",
"address",
"."
] | [
"AMDGPU",
"SI",
"Intrinsic::amdgcn_atomic_inc",
"Intrinsic::amdgcn_atomic_dec",
"Intrinsic::amdgcn_ds_ordered_add",
"Intrinsic::amdgcn_ds_ordered_swap",
"Intrinsic::amdgcn_ds_fadd",
"Intrinsic::amdgcn_ds_fmin",
"Intrinsic::amdgcn_ds_fmax",
"0"
] | SIISelLowering103 | getAddrModeArguments | AMDGPU | GPU | LLVM | 25,536 | 106 | 1 | [] |
[
"<s>",
"static",
"tree",
"v850_handle_data_area_attribute",
"(",
"tree",
"*",
"node",
",",
"tree",
"name",
",",
"tree",
"args",
"ATTRIBUTE_UNUSED",
",",
"int",
"flags",
"ATTRIBUTE_UNUSED",
",",
"bool",
"*",
"no_add_attrs",
")",
"{",
"v850_data_area",
"data_area",
... | [
"Handle",
"a",
"``",
"sda",
"''",
",",
"``",
"tda",
"''",
"or",
"``",
"zda",
"''",
"attribute",
";",
"arguments",
"as",
"in",
"struct",
"attribute_spec.handler",
"."
] | [
"v850",
"\"sda\"",
"\"tda\"",
"\"zda\"",
"\"data area attributes cannot be specified for \"",
"\"local variables\"",
"\"data area of %q+D conflicts with previous declaration\""
] | v8504 | v850_handle_data_area_attribute | v850 | MPU | GCC | 25,537 | 162 | 1 | [] |
[
"<s>",
"bool",
"LEGInstrInfo",
"::",
"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",
"."
] | [
"LEG",
"LEG",
"LEG::B",
"0",
"LEG::Bcc",
"1",
"0"
] | LEGInstrInfo | analyzeBranch | LEG | CPU | LLVM | 25,538 | 154 | 1 | [] |
[
"<s>",
"bool",
"riscv_symbolic_constant_p",
"(",
"rtx",
"x",
",",
"enum",
"riscv_symbol_type",
"*",
"symbol_type",
")",
"{",
"rtx",
"offset",
";",
"split_const",
"(",
"x",
",",
"&",
"x",
",",
"&",
"offset",
")",
";",
"if",
"(",
"UNSPEC_ADDRESS_P",
"(",
"... | [
"Return",
"true",
"if",
"X",
"is",
"a",
"symbolic",
"constant",
".",
"If",
"it",
"is",
",",
"store",
"the",
"type",
"of",
"the",
"symbol",
"in",
"*",
"SYMBOL_TYPE",
"."
] | [
"riscv",
"32"
] | riscv | riscv_symbolic_constant_p | riscv | CPU | GCC | 25,539 | 126 | 1 | [] |
[
"<s>",
"static",
"bool",
"ix86_hard_regno_mode_ok",
"(",
"unsigned",
"int",
"regno",
",",
"machine_mode",
"mode",
")",
"{",
"if",
"(",
"CC_REGNO_P",
"(",
"regno",
")",
")",
"return",
"GET_MODE_CLASS",
"(",
"mode",
")",
"==",
"MODE_CC",
";",
"if",
"(",
"GET... | [
"Return",
"TRUE",
"if",
"hard",
"register",
"REGNO",
"can",
"hold",
"a",
"value",
"of",
"machine-mode",
"MODE",
"."
] | [
"i386"
] | i3867 | ix86_hard_regno_mode_ok | i386 | CPU | GCC | 25,540 | 358 | 1 | [] |
[
"<s>",
"const",
"DataLayout",
"*",
"getDataLayout",
"(",
")",
"const",
"{",
"return",
"&",
"DL",
";",
"}",
"</s>"
] | [
"Return",
"the",
"DataLayout",
"associated",
"with",
"the",
"module",
"this",
"SCEV",
"instance",
"is",
"operating",
"on",
"."
] | [
"SystemZ"
] | SystemZSubtarget16 | getDataLayout | SystemZ | CPU | LLVM | 25,541 | 13 | 1 | [] |
[
"<s>",
"unsigned",
"GCNSubtarget",
"::",
"getOccupancyWithNumVGPRs",
"(",
"unsigned",
"VGPRs",
")",
"const",
"{",
"unsigned",
"MaxWaves",
"=",
"getMaxWavesPerEU",
"(",
")",
";",
"unsigned",
"Granule",
"=",
"getVGPRAllocGranule",
"(",
")",
";",
"if",
"(",
"VGPRs"... | [
"Return",
"the",
"maximum",
"number",
"of",
"waves",
"per",
"SIMD",
"for",
"kernels",
"using",
"VGPRs",
"VGPRs",
"."
] | [
"AMDGPU",
"1",
"1u"
] | AMDGPUSubtarget1 | getOccupancyWithNumVGPRs | AMDGPU | GPU | LLVM | 25,542 | 72 | 1 | [] |
[
"<s>",
"LLVM_DUMP_METHOD",
"void",
"dump",
"(",
")",
"{",
"errs",
"(",
")",
"<<",
"\"MSP430ISelAddressMode \"",
"<<",
"this",
"<<",
"'\\n'",
";",
"if",
"(",
"BaseType",
"==",
"RegBase",
"&&",
"Base",
".",
"Reg",
".",
"getNode",
"(",
")",
"!=",
"nullptr",... | [
"Dump",
"the",
"plan",
"to",
"stderr",
"(",
"for",
"debugging",
")",
"."
] | [
"MSP430",
"\"MSP430ISelAddressMode \"",
"\"Base.Reg \"",
"\" Base.FrameIndex \"",
"\" Disp \"",
"\"GV \"",
"\" CP \"",
"\" Align\"",
"\"ES \"",
"1",
"\" JT\"",
"\" Align\""
] | MSP430ISelDAGToDAG11 | dump | MSP430 | MPU | LLVM | 25,543 | 182 | 1 | [] |
[
"<s>",
"int",
"ix86_mode_needed",
"(",
"int",
"entity",
",",
"rtx",
"insn",
")",
"{",
"enum",
"attr_i387_cw",
"mode",
";",
"if",
"(",
"CALL_P",
"(",
"insn",
")",
"||",
"(",
"NONJUMP_INSN_P",
"(",
"insn",
")",
"&&",
"(",
"asm_noperands",
"(",
"PATTERN",
... | [
"Return",
"needed",
"mode",
"for",
"entity",
"in",
"optimize_mode_switching",
"pass",
"."
] | [
"i386",
"0",
"0"
] | i3863 | ix86_mode_needed | i386 | CPU | GCC | 25,544 | 144 | 1 | [] |
[
"<s>",
"virtual",
"const",
"char",
"*",
"getPassName",
"(",
")",
"const",
"{",
"return",
"\"ARM64 Promote Constant\"",
";",
"}",
"</s>"
] | [
"getPassName",
"-",
"Return",
"a",
"nice",
"clean",
"name",
"for",
"a",
"pass",
"."
] | [
"ARM64",
"\"ARM64 Promote Constant\""
] | ARM64PromoteConstant | getPassName | ARM64 | CPU | LLVM | 25,545 | 13 | 1 | [] |
[
"<s>",
"std",
"::",
"pair",
"<",
"unsigned",
",",
"const",
"TargetRegisterClass",
"*",
">",
"NyuziTargetLowering",
"::",
"getRegForInlineAsmConstraint",
"(",
"const",
"TargetRegisterInfo",
"*",
"TRI",
",",
"StringRef",
"Constraint",
",",
"MVT",
"VT",
")",
"const",... | [
"Given",
"a",
"physical",
"register",
"constraint",
"(",
"e.g",
"."
] | [
"Nyuzi",
"Nyuzi",
"1",
"0",
"0U",
"Nyuzi::GPR32RegClass",
"0U",
"Nyuzi::VR512RegClass"
] | NyuziISelLowering | getRegForInlineAsmConstraint | Nyuzi | GPU | LLVM | 25,546 | 96 | 1 | [] |
[
"<s>",
"static",
"void",
"aarch64_set_current_function",
"(",
"tree",
"fndecl",
")",
"{",
"if",
"(",
"!",
"fndecl",
"||",
"fndecl",
"==",
"aarch64_previous_fndecl",
")",
"return",
";",
"tree",
"old_tree",
"=",
"(",
"aarch64_previous_fndecl",
"?",
"DECL_FUNCTION_SP... | [
"Implement",
"TARGET_SET_CURRENT_FUNCTION",
".",
"Unpack",
"the",
"codegen",
"decisions",
"like",
"tuning",
"and",
"ISA",
"features",
"from",
"the",
"DECL_FUNCTION_SPECIFIC_TARGET",
"of",
"the",
"function",
",",
"if",
"such",
"exists",
".",
"This",
"function",
"may"... | [
"aarch64"
] | aarch641 | aarch64_set_current_function | aarch64 | CPU | GCC | 25,547 | 84 | 1 | [] |
[
"<s>",
"void",
"GCNSubtarget",
"::",
"overrideSchedPolicy",
"(",
"MachineSchedPolicy",
"&",
"Policy",
",",
"unsigned",
"NumRegionInstrs",
")",
"const",
"{",
"Policy",
".",
"ShouldTrackPressure",
"=",
"true",
";",
"Policy",
".",
"OnlyTopDown",
"=",
"false",
";",
... | [
"Override",
"generic",
"scheduling",
"policy",
"within",
"a",
"region",
"."
] | [
"AMDGPU",
"SI"
] | AMDGPUSubtarget | overrideSchedPolicy | AMDGPU | GPU | LLVM | 25,548 | 46 | 1 | [] |
[
"<s>",
"const",
"char",
"*",
"getPassName",
"(",
")",
"const",
"override",
"{",
"return",
"\"AArch64 Promote Constant\"",
";",
"}",
"</s>"
] | [
"getPassName",
"-",
"Return",
"a",
"nice",
"clean",
"name",
"for",
"a",
"pass",
"."
] | [
"AArch64",
"\"AArch64 Promote Constant\""
] | AArch64PromoteConstant (2) | getPassName | AArch64 | CPU | LLVM | 25,549 | 13 | 1 | [] |
[
"<s>",
"bool",
"X86InstrInfo",
"::",
"hasLoadFromStackSlot",
"(",
"const",
"MachineInstr",
"*",
"MI",
",",
"const",
"MachineMemOperand",
"*",
"&",
"MMO",
",",
"int",
"&",
"FrameIndex",
")",
"const",
"{",
"for",
"(",
"MachineInstr",
"::",
"mmo_iterator",
"o",
... | [
"If",
"the",
"specified",
"machine",
"instruction",
"has",
"a",
"load",
"from",
"a",
"stack",
"slot",
",",
"return",
"true",
"along",
"with",
"the",
"FrameIndices",
"of",
"the",
"loaded",
"stack",
"slot",
"and",
"the",
"machine",
"mem",
"operands",
"containi... | [
"X86",
"X86"
] | X86InstrInfo12 | hasLoadFromStackSlot | X86 | CPU | LLVM | 25,550 | 117 | 1 | [] |
[
"<s>",
"TargetIRAnalysis",
"XCoreTargetMachine",
"::",
"getTargetIRAnalysis",
"(",
")",
"{",
"return",
"TargetIRAnalysis",
"(",
"[",
"this",
"]",
"(",
"const",
"Function",
"&",
"F",
")",
"{",
"return",
"TargetTransformInfo",
"(",
"XCoreTTIImpl",
"(",
"this",
","... | [
"Get",
"a",
"TargetIRAnalysis",
"appropriate",
"for",
"the",
"target",
"."
] | [
"XCore",
"XCore",
"XCore"
] | XCoreTargetMachine15 | getTargetIRAnalysis | XCore | MPU | LLVM | 25,551 | 35 | 1 | [] |
[
"<s>",
"unsigned",
"int",
"darwin_rs6000_special_round_type_align",
"(",
"tree",
"type",
",",
"unsigned",
"int",
"computed",
",",
"unsigned",
"int",
"specified",
")",
"{",
"unsigned",
"int",
"align",
"=",
"MAX",
"(",
"computed",
",",
"specified",
")",
";",
"if... | [
"Darwin",
"increases",
"record",
"alignment",
"to",
"the",
"natural",
"alignment",
"of",
"the",
"first",
"field",
"."
] | [
"powerpcspe"
] | powerpcspe | darwin_rs6000_special_round_type_align | powerpcspe | CPU | GCC | 25,552 | 144 | 1 | [] |
[
"<s>",
"static",
"bool",
"mem_ok_for_ldrd_strd",
"(",
"rtx",
"mem",
",",
"rtx",
"*",
"base",
",",
"rtx",
"*",
"offset",
")",
"{",
"rtx",
"addr",
";",
"gcc_assert",
"(",
"base",
"!=",
"NULL",
"&&",
"offset",
"!=",
"NULL",
")",
";",
"if",
"(",
"side_ef... | [
"Helper",
"for",
"gen_operands_ldrd_strd",
".",
"Returns",
"true",
"iff",
"the",
"memory",
"operand",
"MEM",
"'s",
"address",
"contains",
"an",
"immediate",
"offset",
"from",
"the",
"base",
"register",
"and",
"has",
"no",
"side",
"effects",
",",
"in",
"which",... | [
"arm",
"0",
"0",
"1"
] | arm4 | mem_ok_for_ldrd_strd | arm | CPU | GCC | 25,553 | 166 | 1 | [] |
[
"<s>",
"bool",
"X86GenericDisassembler",
"::",
"getInstruction",
"(",
"MCInst",
"&",
"instr",
",",
"uint64_t",
"&",
"size",
",",
"const",
"MemoryObject",
"&",
"region",
",",
"uint64_t",
"address",
",",
"raw_ostream",
"&",
"vStream",
")",
"const",
"{",
"Interna... | [
"Returns",
"the",
"disassembly",
"of",
"a",
"single",
"instruction",
"."
] | [
"X86",
"X86"
] | X86Disassembler54 | getInstruction | X86 | CPU | LLVM | 25,554 | 98 | 1 | [] |
[
"<s>",
"static",
"bool",
"ix86_class_likely_spilled_p",
"(",
"reg_class_t",
"rclass",
")",
"{",
"switch",
"(",
"rclass",
")",
"{",
"case",
"AREG",
":",
"case",
"DREG",
":",
"case",
"CREG",
":",
"case",
"BREG",
":",
"case",
"AD_REGS",
":",
"case",
"SIREG",
... | [
"Implement",
"TARGET_CLASS_LIKELY_SPILLED_P",
"."
] | [
"i386"
] | i3864 | ix86_class_likely_spilled_p | i386 | CPU | GCC | 25,555 | 58 | 1 | [] |
[
"<s>",
"bool",
"OR1KPassConfig",
"::",
"addPreEmitPass",
"(",
")",
"{",
"addPass",
"(",
"createOR1KDelaySlotFillerPass",
"(",
"getOR1KTargetMachine",
"(",
")",
")",
")",
";",
"return",
"true",
";",
"}",
"</s>"
] | [
"This",
"pass",
"may",
"be",
"implemented",
"by",
"targets",
"that",
"want",
"to",
"run",
"passes",
"immediately",
"before",
"machine",
"code",
"is",
"emitted",
"."
] | [
"OR1K",
"OR1K",
"OR1K",
"OR1K"
] | OR1KTargetMachine | addPreEmitPass | OR1K | CPU | LLVM | 25,556 | 21 | 1 | [] |
[
"<s>",
"static",
"pad_direction",
"s390_function_arg_padding",
"(",
"machine_mode",
"mode",
",",
"const_tree",
"type",
")",
"{",
"if",
"(",
"s390_function_arg_vector",
"(",
"mode",
",",
"type",
")",
")",
"return",
"PAD_UPWARD",
";",
"return",
"default_function_arg_p... | [
"Implement",
"TARGET_FUNCTION_ARG_BOUNDARY",
".",
"Vector",
"arguments",
"are",
"left-justified",
"when",
"placed",
"on",
"the",
"stack",
"during",
"parameter",
"passing",
"."
] | [
"s390"
] | s390 | s390_function_arg_padding | s390 | MPU | GCC | 25,557 | 32 | 1 | [] |
[
"<s>",
"bool",
"SystemZInstrInfo",
"::",
"PredicateInstruction",
"(",
"MachineInstr",
"*",
"MI",
",",
"ArrayRef",
"<",
"MachineOperand",
">",
"Pred",
")",
"const",
"{",
"assert",
"(",
"Pred",
".",
"size",
"(",
")",
"==",
"2",
"&&",
"\"Invalid condition\"",
"... | [
"Convert",
"the",
"instruction",
"into",
"a",
"predicated",
"instruction",
"."
] | [
"SystemZ",
"SystemZ",
"2",
"\"Invalid condition\"",
"0",
"1",
"0",
"15",
"\"Invalid predicate\"",
"SystemZ::CC"
] | SystemZInstrInfo | PredicateInstruction | SystemZ | CPU | LLVM | 25,558 | 152 | 1 | [] |
[
"<s>",
"bool",
"toc_relative_expr_p",
"(",
"const_rtx",
"op",
",",
"bool",
"strict",
")",
"{",
"if",
"(",
"!",
"TARGET_TOC",
")",
"return",
"false",
";",
"if",
"(",
"TARGET_CMODEL",
"!=",
"CMODEL_SMALL",
")",
"{",
"if",
"(",
"strict",
"&&",
"!",
"(",
"... | [
"Return",
"true",
"if",
"OP",
"is",
"a",
"toc",
"pointer",
"relative",
"address",
"(",
"the",
"output",
"of",
"create_TOC_reference",
")",
".",
"If",
"STRICT",
",",
"do",
"not",
"match",
"high",
"part",
"or",
"non-split",
"-mcmodel=large/medium",
"toc",
"poi... | [
"rs6000",
"0",
"0",
"1",
"1",
"0",
"1",
"1"
] | rs60006 | toc_relative_expr_p | rs6000 | CPU | GCC | 25,559 | 155 | 1 | [] |
[
"<s>",
"virtual",
"const",
"char",
"*",
"getPassName",
"(",
")",
"const",
"{",
"return",
"\"ARM A15 S->D optimizer\"",
";",
"}",
"</s>"
] | [
"getPassName",
"-",
"Return",
"a",
"nice",
"clean",
"name",
"for",
"a",
"pass",
"."
] | [
"ARM",
"\"ARM A15 S->D optimizer\""
] | A15SDOptimizer2 | getPassName | ARM | CPU | LLVM | 25,560 | 13 | 1 | [] |
[
"<s>",
"bool",
"fixupNeedsRelaxation",
"(",
"const",
"MCFixup",
"&",
"Fixup",
",",
"uint64_t",
"Value",
",",
"const",
"MCInstFragment",
"*",
"DF",
",",
"const",
"MCAsmLayout",
"&",
"Layout",
")",
"const",
"{",
"assert",
"(",
"0",
"&&",
"\"relaxInstruction() un... | [
"Simple",
"predicate",
"for",
"targets",
"where",
"!",
"Resolved",
"implies",
"requiring",
"relaxation",
"."
] | [
"PowerPC",
"0",
"\"relaxInstruction() unimplemented\""
] | PPCAsmBackend38 | fixupNeedsRelaxation | PowerPC | CPU | LLVM | 25,561 | 34 | 1 | [] |
[
"<s>",
"tree",
"rs6000_builtin_decl",
"(",
"unsigned",
"code",
",",
"bool",
")",
"{",
"rs6000_gen_builtins",
"fcode",
"=",
"(",
"rs6000_gen_builtins",
")",
"code",
";",
"if",
"(",
"fcode",
">=",
"RS6000_OVLD_MAX",
")",
"return",
"error_mark_node",
";",
"return",... | [
"Returns",
"the",
"rs6000",
"builtin",
"decl",
"for",
"CODE",
"."
] | [
"rs6000"
] | rs6000-builtin | rs6000_builtin_decl | rs6000 | CPU | GCC | 25,562 | 33 | 1 | [] |
[
"<s>",
"StringRef",
"getPassName",
"(",
")",
"const",
"override",
"{",
"return",
"\"MCS51 Assembly Printer\"",
";",
"}",
"</s>"
] | [
"getPassName",
"-",
"Return",
"a",
"nice",
"clean",
"name",
"for",
"a",
"pass",
"."
] | [
"MCS51",
"\"MCS51 Assembly Printer\""
] | MCS51AsmPrinter | getPassName | MCS51 | MPU | LLVM | 25,563 | 11 | 1 | [] |
[
"<s>",
"const",
"char",
"*",
"ashrsi3_out",
"(",
"rtx_insn",
"*",
"insn",
",",
"rtx",
"operands",
"[",
"]",
",",
"int",
"*",
"len",
")",
"{",
"if",
"(",
"GET_CODE",
"(",
"operands",
"[",
"2",
"]",
")",
"==",
"CONST_INT",
")",
"{",
"int",
"k",
";"... | [
"32bit",
"arithmetic",
"shift",
"right",
"(",
"(",
"signed",
"long",
")",
"x",
">",
">",
"i",
")"
] | [
"avr",
"2",
"2",
"8",
"0",
"1",
"6",
"\"mov %A0,%B1\"",
"\"mov %B0,%C1\"",
"\"mov %C0,%D1\"",
"\"clr %D0\"",
"\"sbrc %C0,7\"",
"\"dec %D0\"",
"\"clr %D0\"",
"\"sbrc %D1,7\"",
"\"dec %D0\"",
"\"mov %C0,%D1\"",
"\"mov %B0,%C1\"",
"\"mov %A0,%B1\"",
"16",
"0",
"1",
"2",
"4... | avr4 | ashrsi3_out | avr | MPU | GCC | 25,564 | 335 | 1 | [] |
[
"<s>",
"bool",
"Z80TargetLowering",
"::",
"isLegalICmpImmediate",
"(",
"int64_t",
"Imm",
")",
"const",
"{",
"return",
"isInt",
"<",
"8",
">",
"(",
"Imm",
")",
";",
"}",
"</s>"
] | [
"Return",
"true",
"if",
"the",
"specified",
"immediate",
"is",
"legal",
"icmp",
"immediate",
",",
"that",
"is",
"the",
"target",
"has",
"icmp",
"instructions",
"which",
"can",
"compare",
"a",
"register",
"against",
"the",
"immediate",
"without",
"having",
"to"... | [
"Z80",
"Z80",
"8"
] | Z80ISelLowering2 | isLegalICmpImmediate | Z80 | MPU | LLVM | 25,565 | 20 | 1 | [] |
[
"<s>",
"inline",
"bool",
"isCatch",
"(",
"unsigned",
"Opc",
")",
"{",
"switch",
"(",
"Opc",
")",
"{",
"case",
"WebAssembly",
"::",
"CATCH",
":",
"case",
"WebAssembly",
"::",
"CATCH_S",
":",
"case",
"WebAssembly",
"::",
"CATCH_ALL",
":",
"case",
"WebAssembl... | [
"Return",
"'true",
"'",
"if",
"the",
"clause",
"and",
"index",
"Idx",
"is",
"a",
"catch",
"clause",
"."
] | [
"WebAssembly",
"WebAssembly::CATCH",
"WebAssembly::CATCH_S",
"WebAssembly::CATCH_ALL",
"WebAssembly::CATCH_ALL_S"
] | WebAssemblyMCTargetDesc17 | isCatch | WebAssembly | Virtual ISA | LLVM | 25,566 | 43 | 1 | [] |
[
"<s>",
"static",
"bool",
"lm32_hard_regno_mode_ok",
"(",
"unsigned",
"int",
"regno",
",",
"machine_mode",
")",
"{",
"return",
"G_REG_P",
"(",
"regno",
")",
";",
"}",
"</s>"
] | [
"Implement",
"TARGET_HARD_REGNO_MODE_OK",
"."
] | [
"lm32"
] | lm32 | lm32_hard_regno_mode_ok | lm32 | MPU | GCC | 25,567 | 18 | 1 | [] |
[
"<s>",
"bool",
"PPCTargetMachine",
"::",
"addPreEmitPass",
"(",
"PassManagerBase",
"&",
"PM",
",",
"bool",
"Fast",
")",
"{",
"PM",
".",
"add",
"(",
"createPPCBranchSelectionPass",
"(",
")",
")",
";",
"return",
"false",
";",
"}",
"</s>"
] | [
"This",
"pass",
"may",
"be",
"implemented",
"by",
"targets",
"that",
"want",
"to",
"run",
"passes",
"immediately",
"before",
"machine",
"code",
"is",
"emitted",
"."
] | [
"PowerPC",
"PPC",
"PPC"
] | PPCTargetMachine70 | addPreEmitPass | PowerPC | CPU | LLVM | 25,568 | 26 | 1 | [] |
[
"<s>",
"bool",
"RISCVTargetLowering",
"::",
"CanLowerReturn",
"(",
"CallingConv",
"::",
"ID",
"CallConv",
",",
"MachineFunction",
"&",
"MF",
",",
"bool",
"IsVarArg",
",",
"const",
"SmallVectorImpl",
"<",
"ISD",
"::",
"OutputArg",
">",
"&",
"Outs",
",",
"LLVMCo... | [
"This",
"hook",
"should",
"be",
"implemented",
"to",
"check",
"whether",
"the",
"return",
"values",
"described",
"by",
"the",
"Outs",
"array",
"can",
"fit",
"into",
"the",
"return",
"registers",
"."
] | [
"RISCV",
"RISCV",
"ISD::OutputArg",
"16",
"0",
"ISD::ArgFlagsTy",
"RISCV"
] | RISCVISelLowering | CanLowerReturn | RISCV | CPU | LLVM | 25,569 | 139 | 1 | [] |
[
"<s>",
"void",
"AAPPassConfig",
"::",
"addPreEmitPass",
"(",
")",
"{",
"addPass",
"(",
"&",
"BranchRelaxationPassID",
")",
";",
"addPass",
"(",
"createAAPShortInstrPeepholePass",
"(",
"getAAPTargetMachine",
"(",
")",
")",
",",
"false",
")",
";",
"}",
"</s>"
] | [
"This",
"pass",
"may",
"be",
"implemented",
"by",
"targets",
"that",
"want",
"to",
"run",
"passes",
"immediately",
"before",
"machine",
"code",
"is",
"emitted",
"."
] | [
"AAP",
"AAP",
"AAP",
"AAP"
] | AAPTargetMachine | addPreEmitPass | AAP | MPU | LLVM | 25,570 | 26 | 1 | [] |
[
"<s>",
"bool",
"HexagonTargetLowering",
"::",
"getPostIndexedAddressParts",
"(",
"SDNode",
"*",
"N",
",",
"SDNode",
"*",
"Op",
",",
"SDValue",
"&",
"Base",
",",
"SDValue",
"&",
"Offset",
",",
"ISD",
"::",
"MemIndexedMode",
"&",
"AM",
",",
"SelectionDAG",
"&"... | [
"Returns",
"true",
"by",
"value",
",",
"base",
"pointer",
"and",
"offset",
"pointer",
"and",
"addressing",
"mode",
"by",
"reference",
"if",
"this",
"node",
"can",
"be",
"combined",
"with",
"a",
"load",
"/",
"store",
"to",
"form",
"a",
"post-indexed",
"load... | [
"Hexagon",
"Hexagon",
"ISD::MemIndexedMode",
"ISD::SEXTLOAD",
"MVT::i64",
"ISD::POST_INC",
"ISD::POST_DEC"
] | HexagonISelLowering (2) | getPostIndexedAddressParts | Hexagon | DSP | LLVM | 25,571 | 231 | 1 | [] |
[
"<s>",
"bool",
"enableMachineScheduler",
"(",
")",
"const",
"override",
"{",
"return",
"true",
";",
"}",
"</s>"
] | [
"Enable",
"the",
"MachineScheduler",
"pass",
"for",
"all",
"X86",
"subtargets",
"."
] | [
"Nyuzi"
] | NyuziSubtarget | enableMachineScheduler | Nyuzi | GPU | LLVM | 25,572 | 11 | 1 | [] |
[
"<s>",
"static",
"rtx",
"frv_io_address_cookie",
"(",
"rtx",
"address",
")",
"{",
"return",
"(",
"GET_CODE",
"(",
"address",
")",
"==",
"CONST_INT",
"?",
"GEN_INT",
"(",
"INTVAL",
"(",
"address",
")",
"/",
"8",
"*",
"8",
")",
":",
"const0_rtx",
")",
";... | [
"Given",
"that",
"a",
"__builtin_read",
"or",
"__builtin_write",
"function",
"is",
"accessing",
"address",
"ADDRESS",
",",
"return",
"the",
"value",
"that",
"should",
"be",
"used",
"as",
"operand",
"1",
"of",
"the",
"membar",
"."
] | [
"frv",
"8",
"8"
] | frv | frv_io_address_cookie | frv | VLIW | GCC | 25,573 | 33 | 1 | [] |
[
"<s>",
"SDValue",
"PPCTargetLowering",
"::",
"LowerCallResult",
"(",
"SDValue",
"Chain",
",",
"SDValue",
"InFlag",
",",
"unsigned",
"CallConv",
",",
"bool",
"isVarArg",
",",
"const",
"SmallVectorImpl",
"<",
"ISD",
"::",
"InputArg",
">",
"&",
"Ins",
",",
"Debug... | [
"LowerCallResult",
"-",
"Lower",
"the",
"result",
"values",
"of",
"an",
"ISD",
":",
":CALL",
"into",
"the",
"appropriate",
"copies",
"out",
"of",
"appropriate",
"physical",
"registers",
"."
] | [
"PowerPC",
"PPC",
"ISD::InputArg",
"16",
"PPC",
"0",
"\"Can only return in registers!\"",
"1",
"0",
"2"
] | PPCISelLowering70 | LowerCallResult | PowerPC | CPU | LLVM | 25,574 | 184 | 1 | [] |
[
"<s>",
"MachineInstr",
"*",
"X86InstrInfo",
"::",
"optimizeLoadInstr",
"(",
"MachineInstr",
"*",
"MI",
",",
"const",
"MachineRegisterInfo",
"*",
"MRI",
",",
"unsigned",
"&",
"FoldAsLoadDefReg",
",",
"MachineInstr",
"*",
"&",
"DefMI",
")",
"const",
"{",
"if",
"... | [
"optimizeLoadInstr",
"-",
"Try",
"to",
"remove",
"the",
"load",
"by",
"folding",
"it",
"to",
"a",
"register",
"operand",
"at",
"the",
"use",
"."
] | [
"X86",
"X86",
"0",
"0",
"0",
"0",
"0",
"0",
"2",
"1",
"0",
"0",
"0",
"0",
"0",
"8",
"0",
"1",
"0",
"0",
"0",
"0"
] | X86InstrInfo (2) | optimizeLoadInstr | X86 | CPU | LLVM | 25,575 | 340 | 1 | [] |
[
"<s>",
"int",
"getInstrLatency",
"(",
"const",
"InstrItineraryData",
"*",
"ItinData",
",",
"SDNode",
"*",
"Node",
")",
"const",
"override",
"{",
"return",
"1",
";",
"}",
"</s>"
] | [
"Compute",
"the",
"instruction",
"latency",
"of",
"a",
"given",
"instruction",
"."
] | [
"R600",
"1"
] | R600InstrInfo | getInstrLatency | R600 | GPU | LLVM | 25,576 | 19 | 1 | [] |
[
"<s>",
"void",
"X86AsmPrinter",
"::",
"emitBasicBlockEnd",
"(",
"const",
"MachineBasicBlock",
"&",
"MBB",
")",
"{",
"if",
"(",
"Subtarget",
"->",
"hardenSlsRet",
"(",
")",
"||",
"Subtarget",
"->",
"hardenSlsIJmp",
"(",
")",
")",
"{",
"auto",
"I",
"=",
"MBB... | [
"Targets",
"can",
"override",
"this",
"to",
"emit",
"stuff",
"at",
"the",
"end",
"of",
"a",
"basic",
"block",
"."
] | [
"X86",
"X86",
"X86::INT3"
] | X86AsmPrinter50 | emitBasicBlockEnd | X86 | CPU | LLVM | 25,577 | 120 | 1 | [] |
[
"<s>",
"SMLoc",
"getEndLoc",
"(",
")",
"const",
"{",
"return",
"EndLoc",
";",
"}",
"</s>"
] | [
"getEndLoc",
"-",
"Get",
"the",
"location",
"of",
"the",
"last",
"token",
"of",
"this",
"operand",
"."
] | [
"AAP"
] | AAPAsmParser | getEndLoc | AAP | MPU | LLVM | 25,578 | 10 | 1 | [] |
[
"<s>",
"bool",
"SILoadStoreOptimizer",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"{",
"if",
"(",
"skipFunction",
"(",
"*",
"MF",
".",
"getFunction",
"(",
")",
")",
")",
"return",
"false",
";",
"const",
"SISubtarget",
"&",
"STM",
... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"AMDGPU",
"SI",
"SI",
"SI",
"\"Must be run on SSA\"",
"\"Running SILoadStoreOptimizer\\n\""
] | SILoadStoreOptimizer16 | runOnMachineFunction | AMDGPU | GPU | LLVM | 25,579 | 135 | 1 | [] |
[
"<s>",
"bool",
"M68kInstrInfo",
"::",
"ExpandPUSH_POP",
"(",
"MachineInstrBuilder",
"&",
"MIB",
",",
"const",
"MCInstrDesc",
"&",
"Desc",
",",
"bool",
"IsPush",
")",
"const",
"{",
"MachineBasicBlock",
"::",
"iterator",
"I",
"=",
"MIB",
".",
"getInstr",
"(",
... | [
"Push/Pop",
"to/from",
"stack",
"."
] | [
"M68k",
"M68k",
"0"
] | M68kInstrInfo (2) | ExpandPUSH_POP | M68k | MPU | LLVM | 25,580 | 129 | 1 | [] |
[
"<s>",
"void",
"Z80AsmBackend",
"::",
"relaxInstruction",
"(",
"const",
"MCInst",
"&",
"Inst",
",",
"const",
"MCSubtargetInfo",
"&",
"STI",
",",
"MCInst",
"&",
"Res",
")",
"const",
"{",
"llvm_unreachable",
"(",
"\"Unimplemented\"",
")",
";",
"}",
"</s>"
] | [
"Relax",
"the",
"instruction",
"in",
"the",
"given",
"fragment",
"to",
"the",
"next",
"wider",
"instruction",
"."
] | [
"Z80",
"Z80",
"\"Unimplemented\""
] | Z80AsmBackend1 | relaxInstruction | Z80 | MPU | LLVM | 25,581 | 27 | 1 | [] |
[
"<s>",
"TargetPassConfig",
"*",
"SparcTargetMachine",
"::",
"createPassConfig",
"(",
"PassManagerBase",
"&",
"PM",
")",
"{",
"return",
"new",
"SparcPassConfig",
"(",
"*",
"this",
",",
"PM",
")",
";",
"}",
"</s>"
] | [
"Create",
"a",
"pass",
"configuration",
"object",
"to",
"be",
"used",
"by",
"addPassToEmitX",
"methods",
"for",
"generating",
"a",
"pipeline",
"of",
"CodeGen",
"passes",
"."
] | [
"Sparc",
"Sparc",
"Sparc"
] | SparcTargetMachine (2)1 | createPassConfig | Sparc | CPU | LLVM | 25,582 | 22 | 1 | [] |
[
"<s>",
"void",
"XCoreFrameLowering",
"::",
"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",
"."
] | [
"XCore",
"XCore",
"XCore",
"XCore",
"XCore::LR",
"XCore::LR"
] | XCoreFrameLowering2 | determineCalleeSaves | XCore | MPU | LLVM | 25,583 | 169 | 1 | [] |
[
"<s>",
"static",
"void",
"pru_set_current_function",
"(",
"tree",
"fndecl",
")",
"{",
"tree",
"old_tree",
"=",
"(",
"pru_previous_fndecl",
"?",
"DECL_FUNCTION_SPECIFIC_TARGET",
"(",
"pru_previous_fndecl",
")",
":",
"NULL_TREE",
")",
";",
"tree",
"new_tree",
"=",
"... | [
"Establish",
"appropriate",
"back-end",
"context",
"for",
"processing",
"the",
"function",
"FNDECL",
".",
"The",
"argument",
"might",
"be",
"NULL",
"to",
"indicate",
"processing",
"at",
"top",
"level",
",",
"outside",
"of",
"any",
"function",
"scope",
"."
] | [
"pru"
] | pru | pru_set_current_function | pru | CPU | GCC | 25,584 | 115 | 1 | [] |
[
"<s>",
"bool",
"AArch64ConditionalCompares",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"{",
"DEBUG",
"(",
"dbgs",
"(",
")",
"<<",
"\"********** AArch64 Conditional Compares **********\\n\"",
"<<",
"\"********** Function: \"",
"<<",
"MF",
".",
... | [
"runOnMachineFunction",
"-",
"Emit",
"the",
"function",
"body",
"."
] | [
"AArch64",
"AArch64",
"\"********** AArch64 Conditional Compares **********\\n\"",
"\"********** Function: \""
] | AArch64ConditionalCompares | runOnMachineFunction | AArch64 | CPU | LLVM | 25,585 | 179 | 1 | [] |
[
"<s>",
"void",
"getAnalysisUsage",
"(",
"AnalysisUsage",
"&",
"AU",
")",
"const",
"override",
"{",
"AU",
".",
"setPreservesCFG",
"(",
")",
";",
"AU",
".",
"addRequired",
"<",
"MachineLoopInfo",
">",
"(",
")",
";",
"AU",
".",
"addRequired",
"<",
"ScalarEvol... | [
"getAnalysisUsage",
"-",
"Subclasses",
"that",
"override",
"getAnalysisUsage",
"must",
"call",
"this",
"."
] | [
"TPC"
] | TPCCostModelEmitter | getAnalysisUsage | TPC | Virtual ISA | LLVM | 25,586 | 60 | 1 | [] |
[
"<s>",
"void",
"X86FrameLowering",
"::",
"eliminateCallFramePseudoInstr",
"(",
"MachineFunction",
"&",
"MF",
",",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"I",
")",
"const",
"{",
"const",
"TargetInstrInfo",
"&",
"TII",
"=",
"*",... | [
"This",
"method",
"is",
"called",
"during",
"prolog/epilog",
"code",
"insertion",
"to",
"eliminate",
"call",
"frame",
"setup",
"and",
"destroy",
"pseudo",
"instructions",
"(",
"but",
"only",
"if",
"the",
"Target",
"is",
"using",
"them",
")",
"."
] | [
"X86",
"X86",
"X86",
"X86",
"X86",
"X86",
"0",
"0",
"1",
"0",
"0",
"1",
"3",
"3"
] | X86FrameLowering106 | eliminateCallFramePseudoInstr | X86 | CPU | LLVM | 25,587 | 495 | 1 | [] |
[
"<s>",
"unsigned",
"int",
"visium_data_alignment",
"(",
"tree",
"type",
",",
"unsigned",
"int",
"align",
")",
"{",
"if",
"(",
"AGGREGATE_TYPE_P",
"(",
"type",
")",
"&&",
"TYPE_SIZE",
"(",
"type",
")",
"&&",
"TREE_CODE",
"(",
"TYPE_SIZE",
"(",
"type",
")",
... | [
"Compute",
"the",
"alignment",
"for",
"a",
"variable",
".",
"The",
"alignment",
"of",
"an",
"aggregate",
"is",
"set",
"to",
"be",
"at",
"least",
"that",
"of",
"a",
"scalar",
"less",
"than",
"or",
"equal",
"to",
"it",
"in",
"size",
"."
] | [
"visium",
"32",
"32",
"32",
"16",
"16",
"16"
] | visium | visium_data_alignment | visium | Virtual ISA | GCC | 25,588 | 78 | 1 | [] |
[
"<s>",
"MachineInstr",
"*",
"SystemZInstrInfo",
"::",
"convertToThreeAddress",
"(",
"MachineInstr",
"&",
"MI",
",",
"LiveVariables",
"*",
"LV",
",",
"LiveIntervals",
"*",
"LIS",
")",
"const",
"{",
"MachineBasicBlock",
"*",
"MBB",
"=",
"MI",
".",
"getParent",
"... | [
"convertToThreeAddress",
"-",
"This",
"method",
"must",
"be",
"implemented",
"by",
"targets",
"that",
"set",
"the",
"M_CONVERTIBLE_TO_3_ADDR",
"flag",
"."
] | [
"SystemZ",
"SystemZ",
"2",
"64",
"SystemZ::RISBG",
"SystemZ::RISBGN",
"SystemZ::RISBMux",
"31",
"31",
"0",
"1",
"0",
"128",
"0",
"1"
] | SystemZInstrInfo16 | convertToThreeAddress | SystemZ | CPU | LLVM | 25,589 | 355 | 1 | [] |
[
"<s>",
"SDValue",
"MSP430TargetLowering",
"::",
"LowerReturn",
"(",
"SDValue",
"Chain",
",",
"CallingConv",
"::",
"ID",
"CallConv",
",",
"bool",
"isVarArg",
",",
"const",
"SmallVectorImpl",
"<",
"ISD",
"::",
"OutputArg",
">",
"&",
"Outs",
",",
"const",
"SmallV... | [
"This",
"hook",
"must",
"be",
"implemented",
"to",
"lower",
"outgoing",
"return",
"values",
",",
"described",
"by",
"the",
"Outs",
"array",
",",
"into",
"the",
"specified",
"DAG",
"."
] | [
"MSP430",
"MSP430",
"ISD::OutputArg",
"16",
"MSP430",
"\"ISRs cannot return any value\"",
"4",
"1",
"0",
"\"Can only return in registers!\"",
"1",
"MSP430",
"MSP430ISD::RETI_FLAG",
"MSP430ISD::RET_FLAG",
"0",
"MVT::Other"
] | MSP430ISelLowering53 | LowerReturn | MSP430 | MPU | LLVM | 25,590 | 274 | 1 | [] |
[
"<s>",
"StringRef",
"SIRegisterInfo",
"::",
"getRegAsmName",
"(",
"unsigned",
"Reg",
")",
"const",
"{",
"if",
"(",
"Reg",
">=",
"BeginReg",
"&&",
"Reg",
"<=",
"EndReg",
")",
"{",
"\\",
"unsigned",
"Index",
"=",
"Reg",
"-",
"BeginReg",
";",
"\\",
"assert"... | [
"Return",
"the",
"assembly",
"name",
"for",
"Reg",
"."
] | [
"AMDGPU",
"SI",
"AMDGPU::VGPR0",
"AMDGPU::VGPR255",
"AMDGPU::SGPR0",
"AMDGPU::SGPR105",
"AMDGPU::AGPR0",
"AMDGPU::AGPR255",
"AMDGPU::VGPR0_VGPR1",
"AMDGPU::VGPR254_VGPR255",
"AMDGPU::SGPR0_SGPR1",
"AMDGPU::SGPR104_SGPR105",
"AMDGPU::AGPR0_AGPR1",
"AMDGPU::AGPR254_AGPR255",
"AMDGPU::VGPR0... | SIRegisterInfo20 | getRegAsmName | AMDGPU | GPU | LLVM | 25,591 | 298 | 1 | [] |
[
"<s>",
"static",
"void",
"c6x_hwloops",
"(",
"void",
")",
"{",
"if",
"(",
"optimize",
")",
"reorg_loops",
"(",
"true",
",",
"&",
"c6x_doloop_hooks",
")",
";",
"}",
"</s>"
] | [
"Run",
"the",
"hw-doloop",
"pass",
"to",
"modulo-schedule",
"hardware",
"loops",
",",
"or",
"split",
"the",
"doloop_end",
"patterns",
"where",
"such",
"optimizations",
"are",
"impossible",
"."
] | [
"c6x"
] | c6x | c6x_hwloops | c6x | VLIW | GCC | 25,592 | 20 | 1 | [] |
[
"<s>",
"opt_machine_mode",
"aarch64_ptrue_all_mode",
"(",
"rtx",
"x",
")",
"{",
"gcc_assert",
"(",
"GET_MODE",
"(",
"x",
")",
"==",
"VNx16BImode",
")",
";",
"if",
"(",
"GET_CODE",
"(",
"x",
")",
"!=",
"CONST_VECTOR",
"||",
"!",
"CONST_VECTOR_DUPLICATE_P",
"(... | [
"If",
"VNx16BImode",
"rtx",
"X",
"is",
"a",
"canonical",
"PTRUE",
"for",
"a",
"predicate",
"mode",
",",
"return",
"that",
"predicate",
"mode",
",",
"otherwise",
"return",
"opt_machine_mode",
"(",
")",
"."
] | [
"aarch64",
"0",
"0",
"0",
"1"
] | aarch64 | aarch64_ptrue_all_mode | aarch64 | CPU | GCC | 25,593 | 107 | 1 | [] |
[
"<s>",
"void",
"rs6000_cost_data",
"::",
"update_target_cost_per_stmt",
"(",
"vect_cost_for_stmt",
"kind",
",",
"stmt_vec_info",
"stmt_info",
",",
"vect_cost_model_location",
"where",
",",
"unsigned",
"int",
"orig_count",
")",
"{",
"if",
"(",
"kind",
"==",
"vec_to_sca... | [
"Helper",
"function",
"for",
"add_stmt_cost",
".",
"Check",
"each",
"statement",
"cost",
"entry",
",",
"gather",
"information",
"and",
"update",
"the",
"target_cost",
"fields",
"accordingly",
"."
] | [
"rs6000",
"2",
"1",
"1",
"2",
"2",
"1"
] | rs60001 | update_target_cost_per_stmt | rs6000 | CPU | GCC | 25,594 | 291 | 1 | [] |
[
"<s>",
"virtual",
"const",
"char",
"*",
"getPassName",
"(",
")",
"const",
"{",
"return",
"\"ARM64 branch relaxation pass\"",
";",
"}",
"</s>"
] | [
"getPassName",
"-",
"Return",
"a",
"nice",
"clean",
"name",
"for",
"a",
"pass",
"."
] | [
"ARM64",
"\"ARM64 branch relaxation pass\""
] | ARM64BranchRelaxation | getPassName | ARM64 | CPU | LLVM | 25,595 | 13 | 1 | [] |
[
"<s>",
"bool",
"microblaze_tls_referenced_p",
"(",
"rtx",
"x",
")",
"{",
"if",
"(",
"!",
"TARGET_HAVE_TLS",
")",
"return",
"false",
";",
"subrtx_iterator",
"::",
"array_type",
"array",
";",
"FOR_EACH_SUBRTX",
"(",
"iter",
",",
"array",
",",
"x",
",",
"ALL",
... | [
"Return",
"TRUE",
"if",
"X",
"contains",
"any",
"TLS",
"symbol",
"references",
"."
] | [
"microblaze",
"0",
"1"
] | microblaze | microblaze_tls_referenced_p | microblaze | MPU | GCC | 25,596 | 85 | 1 | [] |
[
"<s>",
"static",
"bool",
"mips_classify_address",
"(",
"struct",
"mips_address_info",
"*",
"info",
",",
"rtx",
"x",
",",
"machine_mode",
"mode",
",",
"bool",
"strict_p",
")",
"{",
"switch",
"(",
"GET_CODE",
"(",
"x",
")",
")",
"{",
"case",
"REG",
":",
"c... | [
"Return",
"true",
"if",
"X",
"is",
"a",
"valid",
"address",
"for",
"machine",
"mode",
"MODE",
".",
"If",
"it",
"is",
",",
"fill",
"in",
"INFO",
"appropriately",
".",
"STRICT",
"is",
"true",
"if",
"we",
"should",
"only",
"accept",
"hard",
"base",
"regis... | [
"mips",
"0",
"1",
"0",
"1",
"0"
] | mips | mips_classify_address | mips | CPU | GCC | 25,597 | 258 | 1 | [] |
[
"<s>",
"bool",
"isImm",
"(",
")",
"const",
"{",
"return",
"Kind",
"==",
"k_Imm",
";",
"}",
"</s>"
] | [
"isImm",
"-",
"Is",
"this",
"an",
"immediate",
"operand",
"?"
] | [
"MSP430"
] | MSP430AsmParser | isImm | MSP430 | MPU | LLVM | 25,598 | 12 | 1 | [] |
[
"<s>",
"void",
"ix86_expand_reduc",
"(",
"rtx",
"(",
"*",
"fn",
")",
"(",
"rtx",
",",
"rtx",
",",
"rtx",
")",
",",
"rtx",
"dest",
",",
"rtx",
"in",
")",
"{",
"rtx",
"half",
",",
"dst",
",",
"vec",
"=",
"in",
";",
"machine_mode",
"mode",
"=",
"G... | [
"Expand",
"a",
"vector",
"reduction",
".",
"FN",
"is",
"the",
"binary",
"pattern",
"to",
"reduce",
";",
"DEST",
"is",
"the",
"destination",
";",
"IN",
"is",
"the",
"input",
"vector",
"."
] | [
"i386",
"1",
"2"
] | i3864 | ix86_expand_reduc | i386 | CPU | GCC | 25,599 | 153 | 1 | [] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.