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>", "bool", "SILowerControlFlow", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "const", "GCNSubtarget", "&", "ST", "=", "MF", ".", "getSubtarget", "<", "GCNSubtarget", ">", "(", ")", ";", "TII", "=", "ST", ".", "getInstrInfo"...
[ "runOnMachineFunction", "-", "Emit", "the", "function", "body", "." ]
[ "AMDGPU", "SI", "AMDGPU::S_AND_B32", "AMDGPU::S_OR_B32", "AMDGPU::S_XOR_B32", "AMDGPU::S_MOV_B32_term", "AMDGPU::S_ANDN2_B32_term", "AMDGPU::S_XOR_B32_term", "AMDGPU::S_OR_SAVEEXEC_B32", "AMDGPU::EXEC_LO", "AMDGPU::S_AND_B64", "AMDGPU::S_OR_B64", "AMDGPU::S_XOR_B64", "AMDGPU::S_MOV_B64_ter...
SILowerControlFlow41
runOnMachineFunction
AMDGPU
GPU
LLVM
21,400
430
1
[]
[ "<s>", "rtx", "extract_branch_condition_rtx", "(", "rtx_insn", "*", "insn", ")", "{", "gcc_assert", "(", "CALL_P", "(", "insn", ")", "||", "JUMP_P", "(", "insn", ")", ")", ";", "rtx", "body", "=", "PATTERN", "(", "insn", ")", ";", "if", "(", "GET_CODE"...
[ "Extract", "the", "rtx", "representing", "the", "branch", "condition", "to", "help", "recognize", "data", "hazards", "." ]
[ "nds32", "0", "0" ]
nds32-utils
extract_branch_condition_rtx
nds32
CPU
GCC
21,401
89
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", "SystemZ::Trap", "SystemZ::CondTrap", "SystemZ::CC", "SystemZ::Return", "SystemZ::CondReturn", "SystemZ::CC", "SystemZ::CallJG", "0", "1", "1", "0", "SystemZ::Ca...
SystemZInstrInfo74
PredicateInstruction
SystemZ
CPU
LLVM
21,402
484
1
[]
[ "<s>", "static", "NodeRef", "getEntryNode", "(", "const", "MCallSubGraph", "&", "G", ")", "{", "return", "G", ".", "getEntryNode", "(", ")", "?", "G", ".", "getEntryNode", "(", ")", ":", "G", ".", "Nodes", ".", "front", "(", ")", ";", "}", "</s>" ]
[ "Return", "the", "token", "chain", "corresponding", "to", "the", "entry", "of", "the", "function", "." ]
[ "Patmos" ]
PatmosCallGraphBuilder1
getEntryNode
Patmos
VLIW
LLVM
21,403
32
1
[]
[ "<s>", "void", "AArch64FrameLowering", "::", "emitEpilogue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "getLastNonDebugInstr", "(", ")", ";", "Machi...
[ "Insert", "epilog", "code", "into", "the", "function", "." ]
[ "AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64::TCRETURNdi", "AArch64::TCRETURNri", "AArch64", "AArch64", "0", "1", "0", "0", "8", "0", "\"Negative stack allocation size!?\"", "AArch64::SP", "AArch64::SP", "AArch64::SP", "AArch64::FP", "2", "8" ]
AArch64FrameLowering (2)
emitEpilogue
AArch64
CPU
LLVM
21,404
387
1
[]
[ "<s>", "static", "bool", "mem_ok_for_ldrd_strd", "(", "rtx", "mem", ",", "rtx", "*", "base", ",", "rtx", "*", "offset", ",", "HOST_WIDE_INT", "*", "align", ")", "{", "rtx", "addr", ";", "gcc_assert", "(", "base", "!=", "NULL", "&&", "offset", "!=", "NU...
[ "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" ]
arm
mem_ok_for_ldrd_strd
arm
CPU
GCC
21,405
169
1
[]
[ "<s>", "void", "MipsPassConfig", "::", "addPreEmitPass", "(", ")", "{", "MipsTargetMachine", "&", "TM", "=", "getMipsTargetMachine", "(", ")", ";", "addPass", "(", "createMipsDelaySlotFillerPass", "(", "TM", ")", ")", ";", "addPass", "(", "createMipsLongBranchPass...
[ "This", "pass", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "machine", "code", "is", "emitted", "." ]
[ "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips" ]
MipsTargetMachine45
addPreEmitPass
Mips
CPU
LLVM
21,406
40
1
[]
[ "<s>", "const", "char", "*", "getPassName", "(", ")", "const", "override", "{", "return", "\"SI insert s_cbranch_execz instructions\"", ";", "}", "</s>" ]
[ "getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "." ]
[ "AMDGPU", "\"SI insert s_cbranch_execz instructions\"" ]
SIInsertSkips20
getPassName
AMDGPU
GPU
LLVM
21,407
13
1
[]
[ "<s>", "static", "bool", "spu_scalar_mode_supported_p", "(", "scalar_mode", "mode", ")", "{", "switch", "(", "mode", ")", "{", "case", "E_QImode", ":", "case", "E_HImode", ":", "case", "E_SImode", ":", "case", "E_SFmode", ":", "case", "E_DImode", ":", "case"...
[ "True", "if", "MODE", "is", "valid", "for", "the", "target", ".", "By", "``", "valid", "''", ",", "we", "mean", "able", "to", "be", "manipulated", "in", "non-trivial", "ways", ".", "In", "particular", ",", "this", "means", "all", "the", "arithmetic", "...
[ "spu" ]
spu3
spu_scalar_mode_supported_p
spu
MPU
GCC
21,408
44
1
[]
[ "<s>", "bool", "swiftAsyncContextIsDynamicallySet", "(", ")", "const", "{", "const", "Triple", "&", "TT", "=", "getTargetTriple", "(", ")", ";", "unsigned", "Major", "=", "TT", ".", "getOSVersion", "(", ")", ".", "getMajor", "(", ")", ";", "switch", "(", ...
[ "Return", "whether", "FrameLowering", "should", "always", "set", "the", "``", "extended", "frame", "present", "''", "bit", "in", "FP", ",", "or", "set", "it", "based", "on", "a", "symbol", "in", "the", "runtime", "." ]
[ "X86", "15", "8", "12" ]
X86Subtarget (2)2
swiftAsyncContextIsDynamicallySet
X86
CPU
LLVM
21,409
84
1
[]
[ "<s>", "bool", "HexagonExpandCondsets", "::", "split", "(", "MachineInstr", "&", "MI", ",", "std", "::", "set", "<", "unsigned", ">", "&", "UpdRegs", ")", "{", "if", "(", "TfrLimitActive", ")", "{", "if", "(", "TfrCounter", ">=", "TfrLimit", ")", "return...
[ "Split", "into", "substrings", "around", "the", "occurrences", "of", "a", "separator", "character", "." ]
[ "Hexagon", "Hexagon", "\"\\nsplitting BB#\"", "\": \"", "0", "1", "2", "3", "0", "0", "Hexagon::subreg_loreg", "Hexagon::subreg_hireg", "Hexagon::subreg_loreg", "2", "3" ]
HexagonExpandCondsets26
split
Hexagon
DSP
LLVM
21,410
452
1
[]
[ "<s>", "unsigned", "getStackAddress", "(", "uint64_t", "Size", ",", "int64_t", "Offset", ",", "MachinePointerInfo", "&", "MPO", ")", "override", "{", "auto", "&", "MFI", "=", "MIRBuilder", ".", "getMF", "(", ")", ".", "getFrameInfo", "(", ")", ";", "int", ...
[ "Materialize", "a", "VReg", "containing", "the", "address", "of", "the", "specified", "stack-based", "object", "." ]
[ "X86", "0", "0" ]
X86CallLowering16
getStackAddress
X86
CPU
LLVM
21,411
93
1
[]
[ "<s>", "void", "relaxInstruction", "(", "const", "MCInst", "&", "Inst", ",", "const", "MCSubtargetInfo", "&", "STI", ",", "MCInst", "&", "Res", ")", "const", "override", "{", "}", "</s>" ]
[ "Relax", "the", "instruction", "in", "the", "given", "fragment", "to", "the", "next", "wider", "instruction", "." ]
[ "SNES" ]
SNESAsmBackend
relaxInstruction
SNES
DSP
LLVM
21,412
21
1
[]
[ "<s>", "bool", "X86RegisterInfo", "::", "canRealignStack", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "if", "(", "MF", ".", "getFunction", "(", ")", "->", "hasFnAttribute", "(", "\"no-realign-stack\"", ")", ")", "return", "false", ";", "c...
[ "True", "if", "the", "stack", "can", "be", "realigned", "for", "the", "target", "." ]
[ "X86", "X86", "\"no-realign-stack\"" ]
X86RegisterInfo2
canRealignStack
X86
CPU
LLVM
21,413
84
1
[]
[ "<s>", "static", "cond_type", "is_cond_candidate", "(", "rtx", "insn", ")", "{", "if", "(", "NONJUMP_INSN_P", "(", "insn", ")", ")", "{", "rtx", "pat", "=", "PATTERN", "(", "insn", ")", ";", "rtx", "src", ",", "dst", ";", "if", "(", "GET_CODE", "(", ...
[ "Check", "whether", "insn", "is", "a", "candidate", "for", "a", "conditional", "." ]
[ "mcore", "0", "1", "0", "0", "0", "0", "0", "1", "1", "1", "1", "1", "1", "1", "1", "1", "0", "0", "0", "0", "1" ]
mcore
is_cond_candidate
mcore
MPU
GCC
21,414
410
1
[]
[ "<s>", "static", "void", "s390_register_info", "(", ")", "{", "int", "i", ";", "char", "clobbered_regs", "[", "32", "]", ";", "gcc_assert", "(", "!", "epilogue_completed", ")", ";", "if", "(", "reload_completed", ")", "s390_regs_ever_clobbered", "(", "clobbere...
[ "Fill", "cfun-", ">", "machine", "with", "info", "about", "register", "usage", "of", "current", "function", ".", "Return", "in", "CLOBBERED_REGS", "which", "GPRs", "are", "currently", "considered", "set", "." ]
[ "s390", "32", "0", "32", "0", "32", "0", "0", "12", "0", "0", "16", "6", "16" ]
s390
s390_register_info
s390
MPU
GCC
21,415
324
1
[]
[ "<s>", "static", "rtx", "mark_constant_pool_use", "(", "rtx", "x", ")", "{", "rtx_insn", "*", "insn", ",", "*", "lab", ";", "rtx", "pattern", ";", "if", "(", "x", "==", "NULL_RTX", ")", "return", "x", ";", "switch", "(", "GET_CODE", "(", "x", ")", ...
[ "Mark", "the", "use", "of", "a", "constant", "in", "the", "literal", "table", ".", "If", "the", "constant", "has", "multiple", "labels", ",", "make", "it", "unique", "." ]
[ "sh", "0", "1", "0", "1", "0", "0" ]
sh4
mark_constant_pool_use
sh
CPU
GCC
21,416
268
1
[]
[ "<s>", "SNES", "::", "Fixups", "SNESMCExpr", "::", "getFixupKind", "(", ")", "const", "{", "SNES", "::", "Fixups", "Kind", "=", "SNES", "::", "Fixups", "::", "LastTargetFixupKind", ";", "switch", "(", "getKind", "(", ")", ")", "{", "case", "VK_SNES_LO8", ...
[ "getFixupKind", "-", "Get", "the", "fixup", "kind", "of", "this", "expression", "." ]
[ "SNES", "SNES::Fixups", "SNES", "SNES::Fixups", "SNES::Fixups", "SNES", "SNES::fixup_lo8_ldi_neg", "SNES::fixup_lo8_ldi", "SNES", "SNES::fixup_hi8_ldi_neg", "SNES::fixup_hi8_ldi", "SNES", "SNES::fixup_hh8_ldi_neg", "SNES::fixup_hh8_ldi", "SNES", "SNES::fixup_ms8_ldi_neg", "SNES::fixu...
SNESMCExpr
getFixupKind
SNES
DSP
LLVM
21,417
174
1
[]
[ "<s>", "bool", "NPEnginePassConfig", "::", "addPreISel", "(", ")", "{", "return", "false", ";", "}", "</s>" ]
[ "{", "{", "@", "For", "GlobalISel" ]
[ "NPEngine" ]
NPEngineTargetMachine
addPreISel
NPEngine
Virtual ISA
LLVM
21,418
11
1
[]
[ "<s>", "unsigned", "int", "arm_debugger_regno", "(", "unsigned", "int", "regno", ")", "{", "if", "(", "regno", "<", "16", ")", "return", "regno", ";", "if", "(", "IS_VFP_REGNUM", "(", "regno", ")", ")", "{", "if", "(", "VFP_REGNO_OK_FOR_SINGLE", "(", "re...
[ "Map", "internal", "gcc", "register", "numbers", "to", "DWARF2", "register", "numbers", "." ]
[ "arm", "16", "64", "256", "2", "104", "112" ]
arm1
arm_debugger_regno
arm
CPU
GCC
21,419
95
1
[]
[ "<s>", "bool", "PatmosPostRASchedStrategy", "::", "pickNode", "(", "SUnit", "*", "&", "SU", ",", "bool", "&", "IsTopNode", ",", "bool", "&", "IsBundled", ")", "{", "IsTopNode", "=", "false", ";", "if", "(", "CurrBundle", ".", "empty", "(", ")", ")", "{...
[ "Pick", "the", "next", "node", "to", "schedule", ",", "or", "return", "NULL", "." ]
[ "Patmos", "Patmos", "\"\\nPicking node in cycle \"", "\"\\n\"" ]
PatmosSchedStrategy1
pickNode
Patmos
VLIW
LLVM
21,420
173
1
[]
[ "<s>", "int", "arm_mac_accumulator_is_result", "(", "rtx", "producer", ",", "rtx", "consumer", ")", "{", "rtx", "result", ";", "rtx", "op0", ",", "op1", ",", "acc", ";", "producer", "=", "PATTERN", "(", "producer", ")", ";", "consumer", "=", "PATTERN", "...
[ "Return", "non-zero", "iff", "the", "consumer", "(", "a", "multiply-accumulate", "or", "a", "multiple-subtract", "instruction", ")", "has", "an", "accumulator", "dependency", "on", "the", "result", "of", "the", "producer", "and", "no", "other", "dependency", "on...
[ "arm", "0", "0", "0", "1", "1", "0", "0", "1", "0", "0", "1", "0", "1", "1", "1", "1", "1", "1", "0", "1", "1", "0", "1", "1", "1", "1", "0", "0" ]
aarch-common
arm_mac_accumulator_is_result
arm
CPU
GCC
21,421
311
1
[]
[ "<s>", "unsigned", "ARM64AsmParser", "::", "validateTargetOperandClass", "(", "MCParsedAsmOperand", "*", "AsmOp", ",", "unsigned", "Kind", ")", "{", "ARM64Operand", "*", "Op", "=", "static_cast", "<", "ARM64Operand", "*", ">", "(", "AsmOp", ")", ";", "int64_t", ...
[ "Allow", "a", "target", "to", "add", "special", "case", "operand", "matching", "for", "things", "that", "tblgen", "doesn't/ca", "n't", "handle", "effectively", "." ]
[ "ARM64", "ARM64", "ARM64", "ARM64", "0", "1", "12", "16", "2", "24", "3", "32", "4", "48", "6", "64", "8" ]
ARM64AsmParser
validateTargetOperandClass
ARM64
CPU
LLVM
21,422
211
1
[]
[ "<s>", "static", "bool", "mips_mode_ok_for_mov_fmt_p", "(", "machine_mode", "mode", ")", "{", "switch", "(", "mode", ")", "{", "case", "E_CCFmode", ":", "case", "E_SFmode", ":", "return", "TARGET_HARD_FLOAT", ";", "case", "E_DFmode", ":", "return", "TARGET_HARD_...
[ "Return", "true", "if", "moves", "in", "mode", "MODE", "can", "use", "the", "FPU", "'s", "mov.fmt", "instruction", "." ]
[ "mips" ]
mips
mips_mode_ok_for_mov_fmt_p
mips
CPU
GCC
21,423
48
1
[]
[ "<s>", "bool", "PPCInstrInfo", "::", "getMemOperandWithOffsetWidth", "(", "const", "MachineInstr", "&", "LdSt", ",", "const", "MachineOperand", "*", "&", "BaseReg", ",", "int64_t", "&", "Offset", ",", "unsigned", "&", "Width", ",", "const", "TargetRegisterInfo", ...
[ "Return", "true", "if", "get", "the", "base", "operand", ",", "byte", "offset", "of", "an", "instruction", "and", "the", "memory", "width", "." ]
[ "PowerPC", "PPC", "3", "1", "2", "1", "2" ]
PPCInstrInfo12
getMemOperandWithOffsetWidth
PowerPC
CPU
LLVM
21,424
139
1
[]
[ "<s>", "bool", "AArch64RegisterInfo", "::", "isAsmClobberable", "(", "const", "MachineFunction", "&", "MF", ",", "MCRegister", "PhysReg", ")", "const", "{", "return", "!", "isReservedReg", "(", "MF", ",", "PhysReg", ")", ";", "}", "</s>" ]
[ "Returns", "false", "if", "we", "ca", "n't", "guarantee", "that", "Physreg", ",", "specified", "as", "an", "IR", "asm", "clobber", "constraint", ",", "will", "be", "preserved", "across", "the", "statement", "." ]
[ "AArch64", "AArch64" ]
AArch64RegisterInfo12
isAsmClobberable
AArch64
CPU
LLVM
21,425
25
1
[]
[ "<s>", "bool", "ARMBaseTargetMachine", "::", "addPreEmitPass", "(", "PassManagerBase", "&", "PM", ")", "{", "if", "(", "Subtarget", ".", "isThumb2", "(", ")", ")", "{", "if", "(", "!", "Subtarget", ".", "prefers32BitThumb", "(", ")", ")", "PM", ".", "add...
[ "This", "pass", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "machine", "code", "is", "emitted", "." ]
[ "ARM", "ARM", "ARM" ]
ARMTargetMachine61
addPreEmitPass
ARM
CPU
LLVM
21,426
60
1
[]
[ "<s>", "int", "initial_offset", "(", "int", "from", ",", "int", "to", ")", "{", "if", "(", "from", "==", "ARG_POINTER_REGNUM", "&&", "to", "==", "FRAME_POINTER_REGNUM", ")", "{", "if", "(", "regs_ever_live", "[", "2", "]", "||", "regs_ever_live", "[", "3...
[ "Function", "for", "INITIAL_ELIMINATION_OFFSET", "(", "FROM", ",", "TO", ",", "OFFSET", ")", ".", "Define", "the", "offset", "between", "two", "registers", ",", "one", "to", "be", "eliminated", ",", "and", "the", "other", "its", "replacement", ",", "at", "...
[ "mn10300", "2", "3", "6", "7", "14", "15", "16", "17", "4", "0", "2", "3", "6", "7", "14", "15", "16", "17", "4", "4", "0", "4", "0", "4", "0" ]
mn103003
initial_offset
mn10300
MPU
GCC
21,427
218
1
[]
[ "<s>", "unsigned", "WebAssemblyFastISel", "::", "fastMaterializeAlloca", "(", "const", "AllocaInst", "*", "AI", ")", "{", "DenseMap", "<", "const", "AllocaInst", "*", ",", "int", ">", "::", "iterator", "SI", "=", "FuncInfo", ".", "StaticAllocaMap", ".", "find"...
[ "Emit", "an", "alloca", "address", "in", "a", "register", "using", "target-specific", "logic", "." ]
[ "WebAssembly", "WebAssembly", "WebAssembly::I64RegClass", "WebAssembly::I32RegClass", "WebAssembly::COPY_I64", "WebAssembly::COPY_I32", "0" ]
WebAssemblyFastISel1
fastMaterializeAlloca
WebAssembly
Virtual ISA
LLVM
21,428
122
1
[]
[ "<s>", "bool", "MipsSEDAGToDAGISel", "::", "SelectInlineAsmMemoryOperand", "(", "const", "SDValue", "&", "Op", ",", "unsigned", "ConstraintID", ",", "std", "::", "vector", "<", "SDValue", ">", "&", "OutOps", ")", "{", "SDValue", "Base", ",", "Offset", ";", "...
[ "SelectInlineAsmMemoryOperand", "-", "Select", "the", "specified", "address", "as", "a", "target", "addressing", "mode", ",", "according", "to", "the", "specified", "constraint", "." ]
[ "Mips", "Mips", "\"Unexpected asm memory constraint\"", "0", "MVT::i32", "0", "MVT::i32", "0", "MVT::i32", "Mips", "Mips", "0", "MVT::i32" ]
MipsSEISelDAGToDAG11
SelectInlineAsmMemoryOperand
Mips
CPU
LLVM
21,429
366
1
[]
[ "<s>", "bool", "AArch64InstrInfo", "::", "useMachineCombiner", "(", ")", "const", "{", "return", "true", ";", "}", "</s>" ]
[ "Return", "true", "when", "a", "target", "supports", "MachineCombiner", "." ]
[ "AArch64", "AArch64" ]
AArch64InstrInfo (2)
useMachineCombiner
AArch64
CPU
LLVM
21,430
12
1
[]
[ "<s>", "static", "void", "union_uses", "(", "swap_web_entry", "*", "insn_entry", ",", "rtx", "insn", ",", "df_ref", "def", ")", "{", "struct", "df_link", "*", "link", "=", "DF_REF_CHAIN", "(", "def", ")", ";", "if", "(", "!", "link", ")", "insn_entry", ...
[ "Union", "INSN", "with", "all", "insns", "containing", "uses", "reached", "from", "DEF", ".", "Detect", "whether", "DEF", "is", "live-out", "from", "the", "current", "function", "." ]
[ "rs6000", "1", "1" ]
rs6000-p8swap1
union_uses
rs6000
CPU
GCC
21,431
121
1
[]
[ "<s>", "static", "void", "vr4130_reorder", "(", "rtx", "*", "ready", ",", "int", "nready", ")", "{", "if", "(", "vr4130_swap_insns_p", "(", "ready", "[", "nready", "-", "1", "]", ",", "ready", "[", "nready", "-", "2", "]", ")", ")", "mips_promote_ready...
[ "A", "TUNE_MIPS4130", "helper", "function", ".", "(", "READY", ",", "NREADY", ")", "describes", "a", "ready", "queue", "with", "at", "least", "two", "instructions", ".", "Swap", "the", "first", "two", "if", "vr4130_swap_insns_p", "says", "that", "it", "could...
[ "mips", "1", "2", "2", "1" ]
mips3
vr4130_reorder
mips
CPU
GCC
21,432
45
1
[]
[ "<s>", "bool", "isToken", "(", ")", "const", "{", "return", "Kind", "==", "k_Token", ";", "}", "</s>" ]
[ "isToken", "-", "Is", "this", "a", "token", "operand", "?" ]
[ "AVR" ]
AVRAsmParser
isToken
AVR
MPU
LLVM
21,433
12
1
[]
[ "<s>", "bool", "MBlazeTargetLowering", "::", "isFPImmLegal", "(", "const", "APFloat", "&", "Imm", ",", "EVT", "VT", ")", "const", "{", "return", "VT", "!=", "MVT", "::", "f32", ";", "}", "</s>" ]
[ "Returns", "true", "if", "the", "target", "can", "instruction", "select", "the", "specified", "FP", "immediate", "natively", "." ]
[ "MBlaze", "MBlaze", "MVT::f32" ]
MBlazeISelLowering
isFPImmLegal
MBlaze
MPU
LLVM
21,434
23
1
[]
[ "<s>", "unsigned", "char", "X86Subtarget", "::", "classifyBlockAddressReference", "(", ")", "const", "{", "return", "classifyLocalReference", "(", "nullptr", ")", ";", "}", "</s>" ]
[ "Classify", "a", "blockaddress", "reference", "for", "the", "current", "subtarget", "according", "to", "how", "we", "should", "reference", "it", "in", "a", "non-pcrel", "context", "." ]
[ "X86", "X86" ]
X86Subtarget (2)3
classifyBlockAddressReference
X86
CPU
LLVM
21,435
16
1
[]
[ "<s>", "MachineBasicBlock", "*", "SITargetLowering", "::", "EmitInstrWithCustomInserter", "(", "MachineInstr", "*", "MI", ",", "MachineBasicBlock", "*", "BB", ")", "const", "{", "MachineRegisterInfo", "&", "MRI", "=", "BB", "->", "getParent", "(", ")", "->", "ge...
[ "This", "method", "should", "be", "implemented", "by", "targets", "that", "mark", "instructions", "with", "the", "'usesCustomInserter", "'", "flag", "." ]
[ "R600", "SI", "SI", "0", "SI", "SI", "SI", "SI" ]
SIISelLowering34
EmitInstrWithCustomInserter
R600
GPU
LLVM
21,436
148
1
[]
[ "<s>", "MachineInstrBuilder", "R600InstrInfo", "::", "buildIndirectWrite", "(", "MachineBasicBlock", "*", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "unsigned", "ValueReg", ",", "unsigned", "Address", ",", "unsigned", "OffsetReg", ",", "unsigned", ...
[ "Build", "instruction", "(", "s", ")", "for", "an", "indirect", "register", "write", "." ]
[ "AMDGPU", "R600", "\"Invalid Channel\"", "0", "R600::R600_AddrRegClass", "1", "R600::R600_Addr_YRegClass", "2", "R600::R600_Addr_ZRegClass", "3", "R600::R600_Addr_WRegClass", "R600::MOVA_INT_eg", "R600::AR_X", "R600::OpName", "0", "R600::MOV", "R600::AR_X", "R600::OpName", "1" ]
R600InstrInfo (2)1
buildIndirectWrite
AMDGPU
GPU
LLVM
21,437
196
1
[]
[ "<s>", "static", "rtx_insn", "*", "add_parameter_dependencies", "(", "rtx_insn", "*", "call", ",", "rtx_insn", "*", "head", ")", "{", "rtx_insn", "*", "insn", ";", "rtx_insn", "*", "last", "=", "call", ";", "rtx_insn", "*", "first_arg", "=", "NULL", ";", ...
[ "Add", "output", "dependencies", "for", "chain", "of", "function", "adjacent", "arguments", "if", "only", "there", "is", "a", "move", "to", "likely", "spilled", "HW", "register", ".", "Return", "first", "argument", "if", "at", "least", "one", "dependence", "...
[ "i386" ]
i386
add_parameter_dependencies
i386
CPU
GCC
21,438
186
1
[]
[ "<s>", "int", "iq2000_adjust_insn_length", "(", "rtx", "insn", ",", "int", "length", ")", "{", "if", "(", "simplejump_p", "(", "insn", ")", "||", "(", "(", "GET_CODE", "(", "insn", ")", "==", "JUMP_INSN", "||", "GET_CODE", "(", "insn", ")", "==", "CALL...
[ "Return", "the", "length", "of", "INSN", ".", "LENGTH", "is", "the", "initial", "length", "computed", "by", "attributes", "in", "the", "machine-description", "file", "." ]
[ "iq2000", "4" ]
iq20002
iq2000_adjust_insn_length
iq2000
CPU
GCC
21,439
43
1
[]
[ "<s>", "BitVector", "RISCVRegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "RISCVFrameLowering", "*", "TFI", "=", "getFrameLowering", "(", "MF", ")", ";", "BitVector", "Reserved", "(", "getNumRegs", ...
[ "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", "...
[ "RISCV", "RISCV", "RISCV", "0", "RISCV", "RISCV::X0", "RISCV::X2", "RISCV::X3", "RISCV::X4", "RISCV::X8", "RISCVABI::getBPReg", "RISCV::VL", "RISCV::VTYPE", "RISCV::VXSAT", "RISCV::VXRM", "RISCV::VLENB", "RISCV::FRM", "RISCV::FFLAGS" ]
RISCVRegisterInfo12
getReservedRegs
RISCV
CPU
LLVM
21,440
220
1
[]
[ "<s>", "void", "TGSIFrameLowering", "::", "emitPrologue", "(", "MachineFunction", "&", "mf", ",", "MachineBasicBlock", "&", "mbb", ")", "const", "{", "MachineFrameInfo", "&", "mfi", "=", "mf", ".", "getFrameInfo", "(", ")", ";", "const", "TGSIInstrInfo", "&", ...
[ "emitProlog/emitEpilog", "-", "These", "methods", "insert", "prolog", "and", "epilog", "code", "into", "the", "function", "." ]
[ "TGSI", "TGSI", "TGSI", "TGSI", "0", "TGSI::UADDs", "TGSI::TEMP0x", "TGSI::TEMP0x" ]
TGSIFrameLowering
emitPrologue
TGSI
Virtual ISA
LLVM
21,441
115
1
[]
[ "<s>", "void", "GBZ80InstrInfo", "::", "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", "." ]
[ "GBZ80", "GB", "GB", "GB", "0", "MVT::i8", "GB::ST8_FI", "MVT::i16", "\"not implemented\"", "\"Cannot store this register into a stack slot!\"" ]
GBZ80InstrInfo
storeRegToStackSlot
GBZ80
MPU
LLVM
21,442
230
1
[]
[ "<s>", "bool", "Thumb2SizeReduce", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "PredicateFtor", "&&", "!", "PredicateFtor", "(", "*", "MF", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "STI", "="...
[ "runOnMachineFunction", "-", "Emit", "the", "function", "body", "." ]
[ "ARM", "ARM" ]
Thumb2SizeReduction (2)
runOnMachineFunction
ARM
CPU
LLVM
21,443
180
1
[]
[ "<s>", "static", "bool", "bpf_function_value_regno_p", "(", "const", "unsigned", "int", "regno", ")", "{", "return", "(", "regno", "==", "BPF_R0", ")", ";", "}", "</s>" ]
[ "Return", "true", "if", "REGNO", "is", "the", "number", "of", "a", "hard", "register", "in", "which", "the", "values", "of", "called", "function", "may", "come", "back", "." ]
[ "bpf" ]
bpf
bpf_function_value_regno_p
bpf
Virtual ISA
GCC
21,444
18
1
[]
[ "<s>", "SDValue", "MipsTargetLowering", "::", "LowerOperation", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "case", "ISD", "::", "BR_JT", ":", "return", "lowerBR_JT", ...
[ "LowerOperation", "-", "Provide", "custom", "lowering", "hooks", "for", "some", "operations", "." ]
[ "Mips", "Mips", "ISD::BR_JT", "ISD::BRCOND", "ISD::ConstantPool", "ISD::GlobalAddress", "ISD::BlockAddress", "ISD::GlobalTLSAddress", "ISD::JumpTable", "ISD::SELECT", "ISD::SELECT_CC", "ISD::SETCC", "ISD::VASTART", "ISD::FCOPYSIGN", "ISD::FABS", "ISD::FRAMEADDR", "ISD::RETURNADDR", ...
MipsISelLowering126
LowerOperation
Mips
CPU
LLVM
21,445
372
1
[]
[ "<s>", "SDValue", "MipsTargetLowering", "::", "LowerReturn", "(", "SDValue", "Chain", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "isVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "OutputArg", ">", "&", "Outs", ",", "const", "SmallVec...
[ "This", "hook", "must", "be", "implemented", "to", "lower", "outgoing", "return", "values", ",", "described", "by", "the", "Outs", "array", ",", "into", "the", "specified", "DAG", "." ]
[ "Mips", "Mips", "ISD::OutputArg", "16", "Mips", "0", "0", "\"Can only return in registers!\"", "1", "Mips", "Mips", "Mips", "Mips", "\"sret virtual register not created in the entry block\"", "Mips::V0", "1", "MipsISD::Ret", "MVT::Other", "Mips::RA", "MVT::i32", "MipsISD::Ret...
MipsISelLowering32
LowerReturn
Mips
CPU
LLVM
21,446
406
1
[]
[ "<s>", "void", "bpf_expand_prologue", "(", "void", ")", "{", "rtx", "insn", ";", "HOST_WIDE_INT", "size", ";", "size", "=", "(", "cfun", "->", "machine", "->", "local_vars_size", "+", "cfun", "->", "machine", "->", "callee_saved_reg_size", ")", ";", "if", ...
[ "Expand", "to", "the", "instructions", "in", "a", "function", "prologue", ".", "This", "function", "is", "called", "when", "expanding", "the", "'prologue", "'", "pattern", "in", "bpf.md", "." ]
[ "bpf", "0", "1", "0x7fff", "0x7fff", "8", "8", "0" ]
bpf
bpf_expand_prologue
bpf
Virtual ISA
GCC
21,447
197
1
[]
[ "<s>", "static", "void", "s390_function_arg_advance", "(", "cumulative_args_t", "cum_v", ",", "const", "function_arg_info", "&", "arg", ")", "{", "CUMULATIVE_ARGS", "*", "cum", "=", "get_cumulative_args", "(", "cum_v", ")", ";", "if", "(", "s390_function_arg_vector"...
[ "Update", "the", "data", "in", "CUM", "to", "advance", "over", "an", "argument", "of", "mode", "MODE", "and", "data", "type", "TYPE", ".", "(", "TYPE", "is", "null", "for", "libcalls", "where", "that", "information", "may", "not", "be", "available.", ")"...
[ "s390", "1", "1", "1" ]
s390
s390_function_arg_advance
s390
MPU
GCC
21,448
126
1
[]
[ "<s>", "int", "ix86_return_in_memory", "(", "tree", "type", ")", "{", "int", "needed_intregs", ",", "needed_sseregs", ",", "size", ";", "enum", "machine_mode", "mode", "=", "type_natural_mode", "(", "type", ")", ";", "if", "(", "TARGET_64BIT", ")", "return", ...
[ "Return", "false", "iff", "type", "is", "returned", "in", "memory", "." ]
[ "i386", "1", "1", "8", "0", "8", "0", "8", "0", "1", "16", "0", "1", "0", "12", "1", "0" ]
i3863
ix86_return_in_memory
i386
CPU
GCC
21,449
150
1
[]
[ "<s>", "bool", "AArch64InstrInfo", "::", "isCandidateToMergeOrPair", "(", "MachineInstr", "&", "MI", ")", "const", "{", "if", "(", "MI", ".", "hasOrderedMemoryRef", "(", ")", ")", "return", "false", ";", "assert", "(", "MI", ".", "getOperand", "(", "1", ")...
[ "Return", "true", "if", "this", "is", "a", "load/store", "that", "can", "be", "potentially", "paired/merged", "." ]
[ "AArch64", "AArch64", "1", "\"Expected a reg operand.\"", "2", "1", "AArch64::LDURQi", "AArch64::STURQi", "AArch64::LDRQui", "AArch64::STRQui" ]
AArch64InstrInfo (2)
isCandidateToMergeOrPair
AArch64
CPU
LLVM
21,450
154
1
[]
[ "<s>", "bool", "BitSimplification", "::", "processBlock", "(", "MachineBasicBlock", "&", "B", ",", "const", "RegisterSet", "&", "AVs", ")", "{", "if", "(", "!", "BT", ".", "reached", "(", "&", "B", ")", ")", "return", "false", ";", "bool", "Changed", "...
[ "processBlock", "-", "If", "there", "are", "any", "predecessors", "whose", "control", "can", "be", "threaded", "through", "to", "a", "successor", ",", "transform", "them", "now", "." ]
[ "Hexagon", "1", "0", "Hexagon::DoubleRegsRegClassID", "Hexagon::IntRegsRegClassID", "Hexagon::PredRegsRegClassID" ]
HexagonBitSimplify
processBlock
Hexagon
DSP
LLVM
21,451
434
1
[]
[ "<s>", "bool", "RISCVRegisterInfo", "::", "isAsmClobberable", "(", "const", "MachineFunction", "&", "MF", ",", "unsigned", "PhysReg", ")", "const", "{", "return", "!", "MF", ".", "getSubtarget", "<", "RISCVSubtarget", ">", "(", ")", ".", "isRegisterReservedByUse...
[ "Returns", "false", "if", "we", "ca", "n't", "guarantee", "that", "Physreg", ",", "specified", "as", "an", "IR", "asm", "clobber", "constraint", ",", "will", "be", "preserved", "across", "the", "statement", "." ]
[ "RISCV", "RISCV", "RISCV" ]
RISCVRegisterInfo13
isAsmClobberable
RISCV
CPU
LLVM
21,452
32
1
[]
[ "<s>", "static", "bool", "cr16_frame_pointer_required", "(", "void", ")", "{", "return", "(", "cfun", "->", "calls_alloca", "||", "crtl", "->", "calls_eh_return", "||", "cfun", "->", "has_nonlocal_label", "||", "crtl", "->", "calls_eh_return", ")", ";", "}", "...
[ "Implements", "FRAME_POINTER_REQUIRED", "." ]
[ "cr16" ]
cr16
cr16_frame_pointer_required
cr16
MPU
GCC
21,453
27
1
[]
[ "<s>", "void", "M68kMCCodeEmitter", "::", "encodeInstruction", "(", "const", "MCInst", "&", "MI", ",", "raw_ostream", "&", "OS", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "{", "unsi...
[ "Encode", "the", "given", "Inst", "to", "bytes", "and", "append", "to", "CB", "." ]
[ "M68k", "M68k", "\"EncodeInstruction: \"", "\"(\"", "\")\\n\"", "\"*** Instruction does not have Beads defined\"", "0", "0", "0", "0xF", "4", "M68kBeads::Ignore", "0xF", "\"Unknown Bead code\"", "M68kBeads::Bits1", "M68kBeads::Bits2", "M68kBeads::Bits3", "M68kBeads::Bits4", "M68k...
M68kMCCodeEmitter2
encodeInstruction
M68k
MPU
LLVM
21,454
371
1
[]
[ "<s>", "void", "rx_emit_stack_pushm", "(", "rtx", "*", "operands", ")", "{", "HOST_WIDE_INT", "last_reg", ";", "rtx", "first_push", ";", "gcc_assert", "(", "CONST_INT_P", "(", "operands", "[", "0", "]", ")", ")", ";", "last_reg", "=", "(", "INTVAL", "(", ...
[ "Generate", "a", "PUSHM", "instruction", "that", "matches", "the", "given", "operands", "." ]
[ "rx", "0", "0", "1", "1", "1", "0", "1", "\"\\tpushm\\t%s-%s\\n\"" ]
rx
rx_emit_stack_pushm
rx
CPU
GCC
21,455
117
1
[]
[ "<s>", "bool", "SILowerI1Copies", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "TheMF", ")", "{", "MF", "=", "&", "TheMF", ";", "MRI", "=", "&", "MF", "->", "getRegInfo", "(", ")", ";", "DT", "=", "&", "getAnalysis", "<", "MachineDominatorTre...
[ "runOnMachineFunction", "-", "Emit", "the", "function", "body", "." ]
[ "AMDGPU", "SI", "AMDGPU::SReg_64_XEXECRegClass" ]
SILowerI1Copies21
runOnMachineFunction
AMDGPU
GPU
LLVM
21,456
105
1
[]
[ "<s>", "void", "TL45FrameLowering", "::", "emitEpilogue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "bool", "hasFramePointer", "=", "hasFP", "(", "MF", ")", ";", "MachineBasicBlock", "::", "iterator", "MBBI", "...
[ "Insert", "epilog", "code", "into", "the", "function", "." ]
[ "TL45", "TL45", "TL45", "TL45", "TL45::bp", "TL45::sp", "\"frame pointer should not have been eliminated\"", "TL45::ADDI", "4", "TL45::LW", "0", "0" ]
TL45FrameLowering
emitEpilogue
TL45
MPU
LLVM
21,457
362
1
[]
[ "<s>", "bool", "isReg", "(", ")", "const", "override", "{", "return", "Kind", "==", "k_Register", "&&", "Reg", ".", "Kind", "==", "RegKind", "::", "Scalar", ";", "}", "</s>" ]
[ "isReg", "-", "Is", "this", "a", "register", "operand", "?" ]
[ "AArch64" ]
AArch64AsmParser55
isReg
AArch64
CPU
LLVM
21,458
21
1
[]
[ "<s>", "SDValue", "LanaiTargetLowering", "::", "PerformDAGCombine", "(", "SDNode", "*", "N", ",", "DAGCombinerInfo", "&", "DCI", ")", "const", "{", "switch", "(", "N", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "ISD", ":...
[ "This", "method", "will", "be", "invoked", "for", "all", "target", "nodes", "and", "for", "any", "target-independent", "nodes", "that", "the", "target", "has", "registered", "with", "invoke", "it", "for", "." ]
[ "Lanai", "Lanai", "ISD::ADD", "ISD::OR", "ISD::XOR", "ISD::AND", "ISD::SUB" ]
LanaiISelLowering
PerformDAGCombine
Lanai
CPU
LLVM
21,459
88
1
[]
[ "<s>", "void", "AMDGPUTargetLowering", "::", "computeKnownBitsForTargetNode", "(", "const", "SDValue", "Op", ",", "APInt", "&", "KnownZero", ",", "APInt", "&", "KnownOne", ",", "const", "SelectionDAG", "&", "DAG", ",", "unsigned", "Depth", ")", "const", "{", "...
[ "Determine", "which", "of", "the", "bits", "specified", "in", "Mask", "are", "known", "to", "be", "either", "zero", "or", "one", "and", "return", "them", "in", "the", "KnownZero/KnownOne", "bitsets", "." ]
[ "AMDGPU", "AMDGPU", "0", "AMDGPUISD::CARRY", "AMDGPUISD::BORROW", "32", "31", "AMDGPUISD::BFE_I32", "AMDGPUISD::BFE_U32", "2", "32", "0x1f", "AMDGPUISD::BFE_U32" ]
AMDGPUISelLowering102
computeKnownBitsForTargetNode
AMDGPU
GPU
LLVM
21,460
168
1
[]
[ "<s>", "void", "XCoreInstrInfo", "::", "loadRegFromStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "Register", "DestReg", ",", "int", "FrameIndex", ",", "const", "TargetRegisterClass", "*", "RC", ",", "const"...
[ "Load", "the", "specified", "register", "of", "the", "given", "register", "class", "from", "the", "specified", "stack", "frame", "index", "." ]
[ "XCore", "XCore", "XCore::LDWFI", "0" ]
XCoreInstrInfo18
loadRegFromStackSlot
XCore
MPU
LLVM
21,461
152
1
[]
[ "<s>", "static", "unsigned", "getFramePointerSaveOffset", "(", "bool", "LP64", ",", "bool", "isMacho", ")", "{", "if", "(", "isMacho", ")", "return", "LP64", "?", "40", ":", "20", ";", "return", "-", "4U", ";", "}", "</s>" ]
[ "getFramePointerSaveOffset", "-", "Return", "the", "previous", "frame", "offset", "to", "save", "the", "frame", "pointer", "." ]
[ "PowerPC", "40", "20", "4U" ]
PPCFrameInfo
getFramePointerSaveOffset
PowerPC
CPU
LLVM
21,462
27
1
[]
[ "<s>", "static", "void", "mips16_emit_constants", "(", "struct", "mips16_constant", "*", "constants", ",", "rtx_insn", "*", "insn", ")", "{", "struct", "mips16_constant", "*", "c", ",", "*", "next", ";", "int", "align", ";", "align", "=", "0", ";", "for", ...
[ "Dump", "out", "the", "constants", "in", "CONSTANTS", "after", "INSN", "." ]
[ "mips", "0" ]
mips4
mips16_emit_constants
mips
CPU
GCC
21,463
138
1
[]
[ "<s>", "static", "bool", "msp430_is_mem_indirect", "(", "rtx", "x", ")", "{", "gcc_assert", "(", "GET_CODE", "(", "x", ")", "==", "MEM", ")", ";", "rtx", "op0", "=", "XEXP", "(", "x", ",", "0", ")", ";", "return", "(", "GET_CODE", "(", "op0", ")", ...
[ "For", "X", ",", "which", "must", "be", "a", "MEM", "RTX", ",", "return", "TRUE", "if", "it", "is", "an", "indirect", "memory", "reference", ",", "@", "Rn", "or", "@", "Rn+", "." ]
[ "msp430", "0" ]
msp430
msp430_is_mem_indirect
msp430
MPU
GCC
21,464
46
1
[]
[ "<s>", "static", "void", "thumb_pop", "(", "FILE", "*", "f", ",", "unsigned", "long", "mask", ")", "{", "int", "regno", ";", "int", "lo_mask", "=", "mask", "&", "0xFF", ";", "int", "pushed_words", "=", "0", ";", "gcc_assert", "(", "mask", ")", ";", ...
[ "Emit", "code", "to", "push", "or", "pop", "registers", "to", "or", "from", "the", "stack", ".", "F", "is", "the", "assembly", "file", ".", "MASK", "is", "the", "registers", "to", "pop", "." ]
[ "arm", "0xFF", "0", "0", "1", "1", "\"\\tpop\\t{\"", "0", "1", "1", "\"%r\"", "1", "0", "\", \"", "1", "\"}\\n\"", "1", "0xFF", "\", \"", "\"%r\"", "\"}\\n\"" ]
arm4
thumb_pop
arm
CPU
GCC
21,465
199
1
[]
[ "<s>", "static", "void", "pru_file_start", "(", "void", ")", "{", "default_file_start", "(", ")", ";", "fprintf", "(", "asm_out_file", ",", "\"\\t.set no_warn_regname_label\\n\"", ")", ";", "}", "</s>" ]
[ "Implement", "TARGET_ASM_FILE_START", "." ]
[ "pru", "\"\\t.set no_warn_regname_label\\n\"" ]
pru
pru_file_start
pru
CPU
GCC
21,466
19
1
[]
[ "<s>", "static", "bool", "nios2_rtx_costs", "(", "rtx", "x", ",", "int", "code", ",", "int", "outer_code", "ATTRIBUTE_UNUSED", ",", "int", "opno", "ATTRIBUTE_UNUSED", ",", "int", "*", "total", ",", "bool", "speed", "ATTRIBUTE_UNUSED", ")", "{", "switch", "("...
[ "Compute", "a", "(", "partial", ")", "cost", "for", "rtx", "X", ".", "Return", "true", "if", "the", "complete", "cost", "has", "been", "computed", ",", "and", "false", "if", "subexpressions", "should", "be", "scanned", ".", "In", "either", "case", ",", ...
[ "nios2", "0", "0", "2", "4", "4", "0", "1", "1", "1", "3", "1" ]
nios22
nios2_rtx_costs
nios2
MPU
GCC
21,467
219
1
[]
[ "<s>", "bool", "OptimizeReturned", "::", "runOnFunction", "(", "Function", "&", "F", ")", "{", "DT", "=", "&", "getAnalysis", "<", "DominatorTreeWrapperPass", ">", "(", ")", ".", "getDomTree", "(", ")", ";", "visit", "(", "F", ")", ";", "return", "true",...
[ "runOnFunction", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "do", "the", "per-function", "processing", "of", "the", "pass", "." ]
[ "WebAssembly" ]
WebAssemblyOptimizeReturned (2)
runOnFunction
WebAssembly
Virtual ISA
LLVM
21,468
33
1
[]
[ "<s>", "bool", "runOnFunction", "(", "Function", "&", "F", ")", "override", "{", "AliasAnalysis", "&", "AA", "=", "getAnalysis", "<", "AAResultsWrapperPass", ">", "(", ")", ".", "getAAResults", "(", ")", ";", "AssumptionCache", "&", "AC", "=", "getAnalysis",...
[ "runOnFunction", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "do", "the", "per-function", "processing", "of", "the", "pass", "." ]
[ "Hexagon", "Hexagon", "Hexagon" ]
HexagonVectorCombine11
runOnFunction
Hexagon
DSP
LLVM
21,469
113
1
[]
[ "<s>", "static", "bool", "check_required_extensions", "(", "const", "function_instance", "&", "instance", ")", "{", "rvv_type_info", "type_info", "=", "instance", ".", "type", ";", "uint64_t", "required_extensions", "=", "type_info", ".", "required_extensions", ";", ...
[ "Check", "whether", "all", "the", "RVV_REQUIRE_", "*", "values", "in", "REQUIRED_EXTENSIONS", "are", "enabled", "." ]
[ "riscv", "0", "0", "32", "0" ]
riscv-vector-builtins
check_required_extensions
riscv
CPU
GCC
21,470
244
1
[]
[ "<s>", "bool", "arc_branch_size_unknown_p", "(", "void", ")", "{", "return", "!", "optimize_size", "&&", "arc_reorg_in_progress", ";", "}", "</s>" ]
[ "When", "estimating", "sizes", "during", "arc_reorg", ",", "when", "optimizing", "for", "speed", ",", "there", "are", "three", "reasons", "why", "we", "need", "to", "consider", "branches", "to", "be", "length", "6", ":", "-", "annull-false", "delay", "slot",...
[ "arc" ]
arc
arc_branch_size_unknown_p
arc
MPU
GCC
21,471
13
1
[]
[ "<s>", "MCContext", "&", "getContext", "(", ")", "{", "return", "getStreamer", "(", ")", ".", "getContext", "(", ")", ";", "}", "</s>" ]
[ "Return", "the", "LLVMContext", "used", "by", "the", "analysis", "." ]
[ "X86" ]
X86WinCOFFTargetStreamer
getContext
X86
CPU
LLVM
21,472
16
1
[]
[ "<s>", "static", "void", "aarch64_init_builtins", "(", ")", "{", "aarch64_general_init_builtins", "(", ")", ";", "aarch64_sve", "::", "init_builtins", "(", ")", ";", "}", "</s>" ]
[ "Implement", "TARGET_INIT_BUILTINS", "." ]
[ "aarch64", "aarch64_sve::init_builtins" ]
aarch64
aarch64_init_builtins
aarch64
CPU
GCC
21,473
17
1
[]
[ "<s>", "unsigned", "AArch64InstrInfo", "::", "isStoreToStackSlot", "(", "const", "MachineInstr", "*", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", ...
[ "isStoreToStackSlot", "-", "If", "the", "specified", "machine", "instruction", "is", "a", "direct", "store", "to", "a", "stack", "slot", ",", "return", "the", "virtual", "or", "physical", "register", "number", "of", "the", "source", "reg", "along", "with", "...
[ "AArch64", "AArch64", "AArch64::STRWui", "AArch64::STRXui", "AArch64::STRBui", "AArch64::STRHui", "AArch64::STRSui", "AArch64::STRDui", "AArch64::STRQui", "0", "0", "1", "2", "2", "0", "1", "0", "0" ]
AArch64InstrInfo1
isStoreToStackSlot
AArch64
CPU
LLVM
21,474
148
1
[]
[ "<s>", "void", "AMDGPUTTIImpl", "::", "getUnrollingPreferences", "(", "Loop", "*", "L", ",", "TTI", "::", "UnrollingPreferences", "&", "UP", ")", "{", "UP", ".", "Threshold", "=", "300", ";", "UP", ".", "MaxCount", "=", "UINT_MAX", ";", "UP", ".", "Parti...
[ "Get", "target-customized", "preferences", "for", "the", "generic", "loop", "unrolling", "transformation", "." ]
[ "AMDGPU", "AMDGPU", "300", "256", "16", "4", "AMDGPU", "AMDGPU", "0", "0", "0", "1", "2", "\"Set unroll threshold \"", "\" for loop:\\n\"", "\" due to \"" ]
AMDGPUTargetTransformInfo72
getUnrollingPreferences
AMDGPU
GPU
LLVM
21,475
477
1
[]
[ "<s>", "MachineBasicBlock", "*", "CSKYTargetLowering", "::", "EmitInstrWithCustomInserter", "(", "MachineInstr", "&", "MI", ",", "MachineBasicBlock", "*", "BB", ")", "const", "{", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "llvm...
[ "This", "method", "should", "be", "implemented", "by", "targets", "that", "mark", "instructions", "with", "the", "'usesCustomInserter", "'", "flag", "." ]
[ "CSKY", "CSKY", "\"Unexpected instr type to insert\"", "CSKY::ISEL32", "CSKY::BT32", "CSKY::ISEL16", "CSKY::BT16" ]
CSKYISelLowering
EmitInstrWithCustomInserter
CSKY
CPU
LLVM
21,476
68
1
[]
[ "<s>", "FunctionPass", "*", "createTargetRegisterAllocator", "(", "bool", "Optimized", ")", "override", "{", "return", "createGreedyRegisterAllocator", "(", ")", ";", "}", "</s>" ]
[ "createTargetRegisterAllocator", "-", "Create", "the", "register", "allocator", "pass", "for", "this", "target", "at", "the", "current", "optimization", "level", "." ]
[ "TPC" ]
TPCTargetMachine
createTargetRegisterAllocator
TPC
Virtual ISA
LLVM
21,477
15
1
[]
[ "<s>", "static", "bool", "avr_scalar_mode_supported_p", "(", "machine_mode", "mode", ")", "{", "if", "(", "ALL_FIXED_POINT_MODE_P", "(", "mode", ")", ")", "return", "true", ";", "if", "(", "PSImode", "==", "mode", ")", "return", "true", ";", "return", "defau...
[ "Implement", "`", "TARGET_SCALAR_MODE_SUPPORTED_P", "'", "." ]
[ "avr" ]
avr4
avr_scalar_mode_supported_p
avr
MPU
GCC
21,478
34
1
[]
[ "<s>", "void", "Thumb2InstrInfo", "::", "ReplaceTailWithBranchTo", "(", "MachineBasicBlock", "::", "iterator", "Tail", ",", "MachineBasicBlock", "*", "NewDest", ")", "const", "{", "MachineBasicBlock", "*", "MBB", "=", "Tail", "->", "getParent", "(", ")", ";", "A...
[ "Delete", "the", "instruction", "OldInst", "and", "everything", "after", "it", ",", "replacing", "it", "with", "an", "unconditional", "branch", "to", "NewDest", "." ]
[ "ARM", "ARM", "ARM", "0", "ARMCC::CondCodes", "ARMCC::AL", "ARMCC::AL", "4", "ARM::t2IT", "1", "4", "1", "1", "1" ]
Thumb2InstrInfo (2)
ReplaceTailWithBranchTo
ARM
CPU
LLVM
21,479
247
1
[]
[ "<s>", "static", "void", "ix86_avx256_split_vector_move_misalign", "(", "rtx", "op0", ",", "rtx", "op1", ")", "{", "rtx", "m", ";", "rtx", "(", "*", "extract", ")", "(", "rtx", ",", "rtx", ",", "rtx", ")", ";", "machine_mode", "mode", ";", "if", "(", ...
[ "Split", "32-byte", "AVX", "unaligned", "load", "and", "store", "if", "needed", "." ]
[ "i386", "0", "16", "0", "16" ]
i386-expand1
ix86_avx256_split_vector_move_misalign
i386
CPU
GCC
21,480
386
1
[]
[ "<s>", "void", "XCoreRegisterInfo", "::", "eliminateCallFramePseudoInstr", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ")", "const", "{", "if", "(", "!", "hasReservedCallFrame", "(", "MF...
[ "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", ")", "." ]
[ "XCore", "XCore", "0", "0", "1", "4", "0", "4", "\"eliminateCallFramePseudoInstr size too big: \"", "\"\\n\"", "0", "XCore::ADJCALLSTACKDOWN", "XCore::EXTSP_u6", "XCore::EXTSP_lu6", "XCore::ADJCALLSTACKUP", "XCore::LDAWSP_ru6_RRegs", "XCore::LDAWSP_lru6_RRegs", "XCore::SP" ]
XCoreRegisterInfo20
eliminateCallFramePseudoInstr
XCore
MPU
LLVM
21,481
267
1
[]
[ "<s>", "HOST_WIDE_INT", "sparc_compute_frame_size", "(", "HOST_WIDE_INT", "size", ",", "int", "leaf_function_p", ")", "{", "int", "outgoing_args_size", "=", "(", "current_function_outgoing_args_size", "+", "REG_PARM_STACK_SPACE", "(", "current_function_decl", ")", ")", ";...
[ "Compute", "the", "frame", "size", "required", "by", "the", "function", ".", "This", "function", "is", "called", "during", "the", "reload", "pass", "and", "also", "by", "sparc_expand_prologue", "." ]
[ "sparc", "0", "0", "8", "2", "0", "8", "2", "1", "1", "2", "32", "96", "64", "2", "1", "1", "2", "0", "0", "0", "0", "7", "8", "4", "7", "8", "0" ]
sparc3
sparc_compute_frame_size
sparc
CPU
GCC
21,482
261
1
[]
[ "<s>", "const", "uint32_t", "*", "RISCVRegisterInfo", "::", "getNoPreservedMask", "(", ")", "const", "{", "return", "CSR_NoRegs_RegMask", ";", "}", "</s>" ]
[ "Return", "a", "register", "mask", "that", "clobbers", "everything", "." ]
[ "RISCV", "RISCV" ]
RISCVRegisterInfo
getNoPreservedMask
RISCV
CPU
LLVM
21,483
14
1
[]
[ "<s>", "SDValue", "AMDGPUTargetLowering", "::", "loadStackInputValue", "(", "SelectionDAG", "&", "DAG", ",", "EVT", "VT", ",", "const", "SDLoc", "&", "SL", ",", "int64_t", "Offset", ")", "const", "{", "MachineFunction", "&", "MF", "=", "DAG", ".", "getMachin...
[ "Similar", "to", "CreateLiveInRegister", ",", "except", "value", "maybe", "loaded", "from", "a", "stack", "slot", "rather", "than", "passed", "in", "a", "register", "." ]
[ "AMDGPU", "AMDGPU", "MVT::i32", "4" ]
AMDGPUISelLowering
loadStackInputValue
AMDGPU
GPU
LLVM
21,484
117
1
[]
[ "<s>", "bool", "ARMTargetLowering", "::", "isUsedByReturnOnly", "(", "SDNode", "*", "N", ",", "SDValue", "&", "Chain", ")", "const", "{", "if", "(", "N", "->", "getNumValues", "(", ")", "!=", "1", ")", "return", "false", ";", "if", "(", "!", "N", "->...
[ "Return", "true", "if", "result", "of", "the", "specified", "node", "is", "used", "by", "a", "return", "node", "only", "." ]
[ "ARM", "ARM", "1", "1", "0", "ISD::CopyToReg", "1", "MVT::Glue", "0", "ARMISD::VMOVRRD", "2", "ISD::CopyToReg", "2", "0", "ISD::BITCAST", "ISD::CopyToReg", "1", "0", "0", "ARMISD::RET_FLAG" ]
ARMISelLowering (2)1
isUsedByReturnOnly
ARM
CPU
LLVM
21,485
413
1
[]
[ "<s>", "int", "sh_loop_align", "(", "rtx_insn", "*", "label", ")", "{", "rtx_insn", "*", "next", "=", "label", ";", "if", "(", "!", "optimize", "||", "optimize_size", ")", "return", "0", ";", "do", "next", "=", "next_nonnote_insn", "(", "next", ")", ";...
[ "If", "we", "are", "inside", "a", "phony", "loop", ",", "almost", "any", "kind", "of", "label", "can", "turn", "up", "as", "the", "first", "one", "in", "the", "loop", ".", "Aligning", "a", "braf", "label", "causes", "incorrect", "switch", "destination", ...
[ "sh", "0", "0", "0" ]
sh
sh_loop_align
sh
CPU
GCC
21,486
74
1
[]
[ "<s>", "bool", "isMachineVerifierClean", "(", ")", "const", "override", "{", "return", "false", ";", "}", "</s>" ]
[ "Returns", "true", "if", "the", "target", "is", "expected", "to", "pass", "all", "machine", "verifier", "checks", "." ]
[ "ARM" ]
ARMTargetMachine10
isMachineVerifierClean
ARM
CPU
LLVM
21,487
11
1
[]
[ "<s>", "static", "unsigned", "parse_env_var", "(", "const", "char", "*", "str", ",", "char", "*", "*", "*", "pvalues", ")", "{", "const", "char", "*", "curval", ",", "*", "nextval", ";", "char", "*", "*", "values", ";", "unsigned", "num", "=", "1", ...
[ "Parse", "STR", ",", "saving", "found", "tokens", "into", "PVALUES", "and", "return", "their", "number", ".", "Tokens", "are", "assumed", "to", "be", "delimited", "by", "'", ":", "'", "." ]
[ "nvptx", "1", "1", "0", "1", "0", "1" ]
mkoffload
parse_env_var
nvptx
GPU
GCC
21,488
210
1
[]
[ "<s>", "bool", "fixupNeedsRelaxation", "(", "MCFixup", "const", "&", "Fixup", ",", "uint64_t", "Value", ",", "MCRelaxableFragment", "const", "*", "DF", ",", "MCAsmLayout", "const", "&", "Layout", ")", "const", "override", "{", "switch", "(", "(", "unsigned", ...
[ "Simple", "predicate", "for", "targets", "where", "!", "Resolved", "implies", "requiring", "relaxation", "." ]
[ "AAP", "AAP::fixup_AAP_BR16", "AAP::fixup_AAP_BRCC16", "AAP::fixup_AAP_BAL16", "\"Cannot relax short instruction fixups!\"" ]
AAPAsmBackend
fixupNeedsRelaxation
AAP
MPU
LLVM
21,489
63
1
[]
[ "<s>", "bool", "llvm", "::", "getAlign", "(", "const", "CallInst", "&", "I", ",", "unsigned", "index", ",", "unsigned", "&", "align", ")", "{", "if", "(", "MDNode", "*", "alignNode", "=", "I", ".", "getMetadata", "(", "\"callalign\"", ")", ")", "{", ...
[ "Return", "the", "minimum", "known", "alignment", "in", "bytes", "of", "the", "actual", "memory", "reference", "." ]
[ "NVPTX", "\"callalign\"", "0", "16", "0xFFFF", "16" ]
NVPTXUtilities1
getAlign
NVPTX
GPU
LLVM
21,490
128
1
[]
[ "<s>", "void", "init_builtins", "(", ")", "{", "sve_switcher", "sve", ";", "register_builtin_types", "(", ")", ";", "if", "(", "in_lto_p", ")", "handle_arm_sve_h", "(", ")", ";", "}", "</s>" ]
[ "Initialize", "all", "compiler", "built-ins", "related", "to", "RVV", "that", "should", "be", "defined", "at", "start-up", "." ]
[ "aarch64" ]
aarch64-sve-builtins
init_builtins
aarch64
CPU
GCC
21,491
21
1
[]
[ "<s>", "void", "GCNHazardRecognizer", "::", "AdvanceCycle", "(", ")", "{", "if", "(", "!", "CurrCycleInstr", ")", "{", "EmittedInstrs", ".", "push_front", "(", "nullptr", ")", ";", "return", ";", "}", "if", "(", "CurrCycleInstr", "->", "isImplicitDef", "(", ...
[ "AdvanceCycle", "-", "This", "callback", "is", "invoked", "whenever", "the", "next", "top-down", "instruction", "to", "be", "scheduled", "can", "not", "issue", "in", "the", "current", "cycle", ",", "either", "because", "of", "latency", "or", "resource", "confl...
[ "AMDGPU", "1" ]
GCNHazardRecognizer16
AdvanceCycle
AMDGPU
GPU
LLVM
21,492
135
1
[]
[ "<s>", "void", "ix86_print_patchable_function_entry", "(", "FILE", "*", "file", ",", "unsigned", "HOST_WIDE_INT", "patch_area_size", ",", "bool", "record_p", ")", "{", "if", "(", "cfun", "->", "machine", "->", "function_label_emitted", ")", "{", "return", ";", "...
[ "Implement", "TARGET_ASM_PRINT_PATCHABLE_FUNCTION_ENTRY", "." ]
[ "i386" ]
i386
ix86_print_patchable_function_entry
i386
CPU
GCC
21,493
37
1
[]
[ "<s>", "static", "char", "*", "mips16e_add_register_range", "(", "char", "*", "s", ",", "unsigned", "int", "min_reg", ",", "unsigned", "int", "max_reg", ")", "{", "if", "(", "min_reg", "!=", "max_reg", ")", "s", "+=", "sprintf", "(", "s", ",", "\",%s-%s\...
[ "Add", "a", "MIPS16e", "SAVE", "or", "RESTORE", "register-range", "argument", "to", "string", "S", "for", "the", "register", "range", "[", "MIN_REG", ",", "MAX_REG", "]", ".", "Return", "a", "pointer", "to", "the", "null", "terminator", "." ]
[ "mips", "\",%s-%s\"", "\",%s\"" ]
mips
mips16e_add_register_range
mips
CPU
GCC
21,494
62
1
[]
[ "<s>", "static", "rtx", "sched_get_reg_operand", "(", "rtx_insn", "*", "insn", ",", "bool", "opx_p", ")", "{", "rtx", "op", "=", "NULL", ";", "if", "(", "opx_p", ")", "{", "if", "(", "get_attr_opx_type", "(", "insn", ")", "==", "OPX_TYPE_RN", ")", "{",...
[ "Return", "X", "or", "Y", "(", "depending", "on", "OPX_P", ")", "operand", "of", "INSN", ",", "if", "it", "is", "an", "integer", "register", ",", "or", "NULL", "overwise", "." ]
[ "m68k" ]
m68k
sched_get_reg_operand
m68k
MPU
GCC
21,495
112
1
[]
[ "<s>", "bool", "X86AsmPrinter", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "Subtarget", "=", "&", "MF", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ";", "SMShadowTracker", ".", "startFunction", "(", "MF", ")", ";"...
[ "runOnMachineFunction", "-", "Emit", "the", "function", "body", "." ]
[ "X86", "X86", "X86" ]
X86AsmPrinter3
runOnMachineFunction
X86
CPU
LLVM
21,496
152
1
[]
[ "<s>", "static", "rtx", "emit_csky_regs_push", "(", "unsigned", "long", "mask", ")", "{", "int", "num_regs", "=", "0", ";", "int", "i", ",", "j", ";", "rtx", "par", ";", "rtx", "dwarf", ";", "rtx", "tmp", ";", "int", "dwarf_par_index", ";", "for", "(...
[ "Generate", "and", "emit", "an", "insn", "that", "we", "will", "recognize", "as", "a", "push_multi", ".", "Unfortunately", ",", "since", "this", "insn", "does", "not", "reflect", "very", "well", "the", "actual", "semantics", "of", "the", "operation", ",", ...
[ "csky", "0", "0", "1", "12", "1", "1", "0", "1", "4", "0", "0", "1", "1", "0", "1", "1", "4", "1", "0", "0", "4", "1", "0", "0", "1" ]
csky
emit_csky_regs_push
csky
CPU
GCC
21,497
395
1
[]
[ "<s>", "SDValue", "Cpu0TargetLowering", "::", "LowerReturn", "(", "SDValue", "Chain", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "IsVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "OutputArg", ">", "&", "Outs", ",", "const", "SmallVec...
[ "This", "hook", "must", "be", "implemented", "to", "lower", "outgoing", "return", "values", ",", "described", "by", "the", "Outs", "array", ",", "into", "the", "specified", "DAG", "." ]
[ "Cpu0", "Cpu0", "ISD::OutputArg", "16", "Cpu0", "Cpu0", "Cpu0", "4", "1", "0", "\"Can only return in registers!\"", "ISD::BITCAST", "1", "Cpu0", "Cpu0", "Cpu0", "Cpu0", "\"sret virtual register not created in the entry block\"", "Cpu0::V0", "1", "0", "Cpu0ISD::Ret", "MVT:...
Cpu0ISelLowering
LowerReturn
Cpu0
CPU
LLVM
21,498
474
1
[]
[ "<s>", "bool", "ARMBaseTargetMachine", "::", "addPreISel", "(", "PassManagerBase", "&", "PM", ")", "{", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", "&&", "EnableGlobalMerge", ")", "PM", ".", "add", "(", "createGlobalMergePass", "(", ...
[ "{", "{", "@", "For", "GlobalISel" ]
[ "ARM", "ARM" ]
ARMTargetMachine61
addPreISel
ARM
CPU
LLVM
21,499
38
1
[]