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>", "void", "ARCRegisterInfo", "::", "eliminateFrameIndex", "(", "MachineBasicBlock", "::", "iterator", "II", ",", "int", "SPAdj", ",", "unsigned", "FIOperandNum", ",", "RegScavenger", "*", "RS", ")", "const", "{", "assert", "(", "SPAdj", "==", "0", "&&", ...
[ "This", "method", "must", "be", "overriden", "to", "eliminate", "abstract", "frame", "indices", "from", "instructions", "which", "may", "use", "them", "." ]
[ "ARC", "ARC", "0", "\"Unexpected\"", "ARC", "ARC", "ARC", "\"\\nFunction : \"", "\"\\n\"", "\"<--------->\\n\"", "\"\\n\"", "\"FrameIndex : \"", "\"\\n\"", "\"ObjSize : \"", "\"\\n\"", "\"FrameOffset : \"", "\"\\n\"", "\"StackSize : \"", ...
ARCRegisterInfo2
eliminateFrameIndex
ARC
MPU
LLVM
10,000
460
1
[]
[ "<s>", "bool", "isThumb", "(", ")", "const", "{", "return", "InThumbMode", ";", "}", "</s>" ]
[ "Tests", "whether", "the", "target", "is", "Thumb", "(", "little", "and", "big", "endian", ")", "." ]
[ "ARM" ]
ARMSubtarget (2)
isThumb
ARM
CPU
LLVM
10,001
10
1
[]
[ "<s>", "bool", "ARMDAGToDAGISel", "::", "SelectInlineAsmMemoryOperand", "(", "const", "SDValue", "&", "Op", ",", "unsigned", "ConstraintID", ",", "std", "::", "vector", "<", "SDValue", ">", "&", "OutOps", ")", "{", "switch", "(", "ConstraintID", ")", "{", "d...
[ "SelectInlineAsmMemoryOperand", "-", "Select", "the", "specified", "address", "as", "a", "target", "addressing", "mode", ",", "according", "to", "the", "specified", "constraint", "." ]
[ "ARM", "ARM", "\"Unexpected asm memory constraint\"" ]
ARMISelDAGToDAG
SelectInlineAsmMemoryOperand
ARM
CPU
LLVM
10,002
107
1
[]
[ "<s>", "static", "void", "recombine_lvx_pattern", "(", "rtx_insn", "*", "insn", ",", "del_info", "*", "to_delete", ")", "{", "rtx", "body", "=", "PATTERN", "(", "insn", ")", ";", "gcc_assert", "(", "GET_CODE", "(", "body", ")", "==", "SET", "&&", "GET_CO...
[ "If", "INSN", "is", "the", "load", "for", "an", "lvx", "pattern", ",", "put", "it", "in", "canonical", "form", "." ]
[ "rs6000", "0", "0", "0", "0", "0", "0", "0", "1", "0", "1", "\"lvx opportunity found at %d\\n\"" ]
rs6000-p8swap1
recombine_lvx_pattern
rs6000
CPU
GCC
10,003
399
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", "." ]
[ "MSP430" ]
MSP430AsmBackend5
relaxInstruction
MSP430
MPU
LLVM
10,004
21
1
[]
[ "<s>", "Optional", "<", "MCFixupKind", ">", "getFixupKind", "(", "StringRef", "Name", ")", "const", "override", "{", "return", "StringSwitch", "<", "Optional", "<", "MCFixupKind", ">>", "(", "Name", ")", ".", "Case", "(", "\"dir32\"", ",", "FK_Data_4", ")", ...
[ "getFixupKind", "-", "Get", "the", "fixup", "kind", "of", "this", "expression", "." ]
[ "X86", "\"dir32\"", "\"secrel32\"", "\"secidx\"" ]
X86AsmBackend (2)
getFixupKind
X86
CPU
LLVM
10,005
55
1
[]
[ "<s>", "static", "void", "nvptx_assemble_decl_end", "(", "void", ")", "{", "if", "(", "init_frag", ".", "offset", ")", "nvptx_assemble_value", "(", "0", ",", "init_frag", ".", "size", "-", "init_frag", ".", "offset", ")", ";", "fprintf", "(", "asm_out_file",...
[ "Called", "when", "the", "initializer", "for", "a", "decl", "has", "been", "completely", "output", "through", "combinations", "of", "the", "three", "functions", "above", "." ]
[ "nvptx", "0", "\" };\\n\"", "\";\\n\"" ]
nvptx
nvptx_assemble_decl_end
nvptx
GPU
GCC
10,006
40
1
[]
[ "<s>", "static", "rtx", "gen_push", "(", "rtx", "arg", ")", "{", "return", "gen_rtx_SET", "(", "VOIDmode", ",", "gen_rtx_MEM", "(", "Pmode", ",", "gen_rtx_PRE_DEC", "(", "Pmode", ",", "stack_pointer_rtx", ")", ")", ",", "arg", ")", ";", "}", "</s>" ]
[ "Code", "to", "generate", "prologue", "and", "epilogue", "sequences" ]
[ "i386" ]
i3863
gen_push
i386
CPU
GCC
10,007
29
1
[]
[ "<s>", "rtx", "ix86_expand_adjust_ufix_to_sfix_si", "(", "rtx", "val", ",", "rtx", "*", "xorp", ")", "{", "REAL_VALUE_TYPE", "TWO31r", ";", "rtx", "two31r", ",", "tmp", "[", "4", "]", ";", "machine_mode", "mode", "=", "GET_MODE", "(", "val", ")", ";", "m...
[ "Adjust", "a", "V", "*", "SFmode/V", "*", "DFmode", "value", "VAL", "so", "that", "*", "sfix_trunc", "*", "resp", ".", "fix_trunc", "*", "pattern", "can", "be", "used", "on", "it", "instead", "of", "fixuns_trunc", "*", ".", "This", "is", "done", "by", ...
[ "i386", "4", "32", "0", "3", "31", "1", "3", "0", "3", "1", "0", "1", "0", "0", "31", "0", "1", "31", "1", "0", "0", "1", "2", "0" ]
i3864
ix86_expand_adjust_ufix_to_sfix_si
i386
CPU
GCC
10,008
363
1
[]
[ "<s>", "bool", "TMS320C64XAsmPrinter", "::", "PrintAsmMemoryOperand", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpNo", ",", "unsigned", "AsmVariant", ",", "const", "char", "*", "ExtraCode", ",", "raw_ostream", "&", "outputStream", ")", "{", "llv...
[ "Print", "the", "specified", "operand", "of", "MI", ",", "an", "INLINEASM", "instruction", ",", "using", "the", "specified", "assembler", "variant", "as", "an", "address", "." ]
[ "TMS320C64X", "TMS320C64X", "\"Unimplemented func PrintAsmMemoryOperand\"" ]
TMS320C64XAsmPrinter
PrintAsmMemoryOperand
TMS320C64X
VLIW
LLVM
10,009
32
1
[]
[ "<s>", "const", "Function", "*", "PatmosSPMark", "::", "getCallTarget", "(", "const", "MachineInstr", "*", "MI", ")", "const", "{", "const", "MachineOperand", "&", "MO", "=", "MI", "->", "getOperand", "(", "2", ")", ";", "const", "Function", "*", "Target",...
[ "Return", "the", "target", "of", "the", "underlying", "call", "." ]
[ "Patmos", "Patmos", "2" ]
PatmosSPMark1
getCallTarget
Patmos
VLIW
LLVM
10,010
115
1
[]
[ "<s>", "bool", "ARMBaseInstrInfo", "::", "analyzeBranch", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "*", "&", "TBB", ",", "MachineBasicBlock", "*", "&", "FBB", ",", "SmallVectorImpl", "<", "MachineOperand", ">", "&", "Cond", ",", "bool", ...
[ "analyzeBranch", "-", "Analyze", "the", "branching", "code", "at", "the", "end", "of", "MBB", ",", "returning", "true", "if", "it", "can", "not", "be", "understood", "(", "e.g", "." ]
[ "ARM", "ARM", "0", "\"FBB should have been null.\"", "0", "1", "2" ]
ARMBaseInstrInfo116
analyzeBranch
ARM
CPU
LLVM
10,011
447
1
[]
[ "<s>", "SDNode", "*", "PIC16DAGToDAGISel", "::", "Select", "(", "SDValue", "N", ")", "{", "SDNode", "*", "ResNode", "=", "SelectCode", "(", "N", ")", ";", "return", "ResNode", ";", "}", "</s>" ]
[ "Main", "hook", "for", "targets", "to", "transform", "nodes", "into", "machine", "nodes", "." ]
[ "PIC16", "PIC16" ]
PIC16ISelDAGToDAG1
Select
PIC16
MPU
LLVM
10,012
23
1
[]
[ "<s>", "void", "assignValueToReg", "(", "Register", "ValVReg", ",", "Register", "PhysReg", ",", "CCValAssign", "VA", ")", "override", "{", "assert", "(", "VA", ".", "isRegLoc", "(", ")", "&&", "\"Value shouldn't be assigned to reg\"", ")", ";", "assert", "(", ...
[ "The", "specified", "value", "has", "been", "assigned", "to", "a", "physical", "register", ",", "handle", "the", "appropriate", "COPY", "(", "either", "to", "or", "from", ")", "and", "mark", "any", "relevant", "uses/defines", "as", "needed", "." ]
[ "ARM", "\"Value shouldn't be assigned to reg\"", "\"Assigning to the wrong reg?\"", "64", "\"Unsupported value size\"", "64", "\"Unsupported location size\"", "\"Extensions not supported\"" ]
ARMCallLowering14
assignValueToReg
ARM
CPU
LLVM
10,013
143
1
[]
[ "<s>", "static", "unsigned", "int", "compute_vrsave_mask", "(", "void", ")", "{", "unsigned", "int", "i", ",", "mask", "=", "0", ";", "if", "(", "DEFAULT_ABI", "==", "ABI_DARWIN", "&&", "crtl", "->", "calls_eh_return", "&&", "!", "TARGET_ALTIVEC", ")", "ma...
[ "Return", "a", "32-bit", "mask", "of", "the", "AltiVec", "registers", "we", "need", "to", "set", "in", "VRSAVE", ".", "Bit", "n", "of", "the", "return", "value", "is", "1", "if", "Vn", "is", "live", ".", "The", "MSB", "in", "the", "32-bit", "word", ...
[ "powerpcspe", "0", "0xFFF", "0" ]
powerpcspe
compute_vrsave_mask
powerpcspe
CPU
GCC
10,014
130
1
[]
[ "<s>", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"AArch64 Post Select Optimizer\"", ";", "}", "</s>" ]
[ "getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "." ]
[ "AArch64", "\"AArch64 Post Select Optimizer\"" ]
AArch64PostSelectOptimize
getPassName
AArch64
CPU
LLVM
10,015
11
1
[]
[ "<s>", "SDValue", "PPCTargetLowering", "::", "LowerOperation", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Wasn't expecting to ...
[ "LowerOperation", "-", "Provide", "custom", "lowering", "hooks", "for", "some", "operations", "." ]
[ "PowerPC", "PPC", "\"Wasn't expecting to be able to lower this!\"", "ISD::ConstantPool", "ISD::BlockAddress", "ISD::GlobalAddress", "ISD::GlobalTLSAddress", "ISD::JumpTable", "ISD::SETCC", "ISD::INIT_TRAMPOLINE", "ISD::ADJUST_TRAMPOLINE", "ISD::VASTART", "PPC", "ISD::VAARG", "PPC", "IS...
PPCISelLowering (2)
LowerOperation
PowerPC
CPU
LLVM
10,016
483
1
[]
[ "<s>", "bool", "nds32_naked_function_p", "(", "tree", "func", ")", "{", "tree", "t_naked", ";", "tree", "t_no_prologue", ";", "if", "(", "TREE_CODE", "(", "func", ")", "!=", "FUNCTION_DECL", ")", "abort", "(", ")", ";", "t_naked", "=", "lookup_attribute", ...
[ "Return", "true", "if", "FUNC", "is", "a", "naked", "function", "." ]
[ "nds32", "\"naked\"", "\"no_prologue\"" ]
nds32
nds32_naked_function_p
nds32
CPU
GCC
10,017
66
1
[]
[ "<s>", "bool", "NVVMReflect", "::", "runOnFunction", "(", "Function", "&", "F", ")", "{", "if", "(", "!", "NVVMReflectEnabled", ")", "return", "false", ";", "if", "(", "F", ".", "getName", "(", ")", "==", "NVVM_REFLECT_FUNCTION", ")", "{", "assert", "(",...
[ "runOnFunction", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "do", "the", "per-function", "processing", "of", "the", "pass", "." ]
[ "NVPTX", "\"_reflect function should not have a body\"", "\"_reflect's return type should be integer\"", "4", "Intrinsic::nvvm_reflect", "2", "\"Wrong number of operands to __nvvm_reflect function\"", "0", "0", "\"Format of __nvvm__reflect function not recognized\"", "0", "\"Format of __nvvm_r...
NVVMReflect18
runOnFunction
NVPTX
GPU
LLVM
10,018
486
1
[]
[ "<s>", "static", "bool", "mips_hard_regno_mode_ok_uncached", "(", "unsigned", "int", "regno", ",", "machine_mode", "mode", ")", "{", "unsigned", "int", "size", ";", "enum", "mode_class", "mclass", ";", "if", "(", "mode", "==", "CCV2mode", ")", "return", "(", ...
[ "Return", "true", "if", "register", "REGNO", "can", "store", "a", "value", "of", "mode", "MODE", ".", "The", "result", "of", "this", "function", "is", "cached", "in", "mips_hard_regno_mode_ok", "." ]
[ "mips", "2", "0", "4", "0", "1", "0", "0", "1", "4", "1", "0", "1", "0", "2", "2", "1", "0" ]
mips7
mips_hard_regno_mode_ok_uncached
mips
CPU
GCC
10,019
407
1
[]
[ "<s>", "static", "void", "store_reg", "(", "int", "reg", ",", "HOST_WIDE_INT", "disp", ",", "int", "base", ")", "{", "rtx", "insn", ",", "dest", ",", "src", ",", "basereg", ";", "src", "=", "gen_rtx_REG", "(", "word_mode", ",", "reg", ")", ";", "base...
[ "Emit", "RTL", "to", "store", "REG", "at", "the", "memory", "location", "specified", "by", "BASE+DISP", ".", "Handle", "case", "where", "DISP", ">", "8k", "by", "using", "the", "add_high_const", "patterns", ".", "Note", "in", "DISP", ">", "8k", "case", "...
[ "pa", "1", "1", "1", "1" ]
pa3
store_reg
pa
CPU
GCC
10,020
313
1
[]
[ "<s>", "static", "bool", "ft32_pass_by_reference", "(", "cumulative_args_t", "cum", "ATTRIBUTE_UNUSED", ",", "machine_mode", "mode", ",", "const_tree", "type", ",", "bool", "named", "ATTRIBUTE_UNUSED", ")", "{", "unsigned", "HOST_WIDE_INT", "size", ";", "if", "(", ...
[ "Return", "non-zero", "if", "the", "function", "argument", "described", "by", "TYPE", "is", "to", "be", "passed", "by", "reference", "." ]
[ "ft32", "4", "6" ]
ft324
ft32_pass_by_reference
ft32
MPU
GCC
10,021
62
1
[]
[ "<s>", "static", "int", "cris_address_cost", "(", "rtx", "x", ",", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ",", "addr_space_t", "as", "ATTRIBUTE_UNUSED", ",", "bool", "speed", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "cris_base_or_autoincr_p", "(", "x", ",", ...
[ "The", "ADDRESS_COST", "worker", "." ]
[ "cris", "0", "2", "4", "2", "2", "4", "2", "0", "1", "0", "2", "2", "128", "128", "2", "2", "2", "2", "2", "2", "2", "2", "2", "2", "2", "2", "2", "10" ]
cris
cris_address_cost
cris
MPU
GCC
10,022
242
1
[]
[ "<s>", "bool", "X86TargetLowering", "::", "isShuffleMaskLegal", "(", "const", "SmallVectorImpl", "<", "int", ">", "&", "M", ",", "EVT", "VT", ")", "const", "{", "if", "(", "!", "VT", ".", "isSimple", "(", ")", ")", "return", "false", ";", "MVT", "SVT",...
[ "Targets", "can", "use", "this", "to", "indicate", "that", "they", "only", "support", "some", "VECTOR_SHUFFLE", "operations", ",", "those", "with", "specific", "masks", "." ]
[ "X86", "X86", "64", "2", "0" ]
X86ISelLowering (2)1
isShuffleMaskLegal
X86
CPU
LLVM
10,023
185
1
[]
[ "<s>", "void", "riscv_d_register_target_info", "(", "void", ")", "{", "const", "struct", "d_target_info_spec", "handlers", "[", "]", "=", "{", "{", "\"floatAbi\"", ",", "riscv_d_handle_target_float_abi", "}", ",", "{", "NULL", ",", "NULL", "}", ",", "}", ";", ...
[ "Implement", "TARGET_D_REGISTER_CPU_TARGET_INFO", "." ]
[ "riscv", "\"floatAbi\"" ]
riscv-d
riscv_d_register_target_info
riscv
CPU
GCC
10,024
34
1
[]
[ "<s>", "static", "rtx", "aarch64_expand_sve_const_vector_sel", "(", "rtx", "target", ",", "rtx", "src", ")", "{", "gcc_assert", "(", "CONST_VECTOR_NELTS_PER_PATTERN", "(", "src", ")", "==", "2", ")", ";", "machine_mode", "mode", "=", "GET_MODE", "(", "src", ")...
[ "SRC", "is", "an", "SVE", "CONST_VECTOR", "that", "contains", "N", "``", "foreground", "''", "values", "followed", "by", "N", "``", "background", "''", "values", ".", "Try", "to", "move", "it", "into", "TARGET", "using", ":", "PTRUE", "PRED.", "<", "T", ...
[ "aarch64", "2", "2", "1", "1", "0", "0", "4", "0", "1", "2", "3", "4" ]
aarch641
aarch64_expand_sve_const_vector_sel
aarch64
CPU
GCC
10,025
258
1
[]
[ "<s>", "bool", "hasNullExportTarget", "(", ")", "const", "{", "return", "!", "GFX11Insts", ";", "}", "</s>" ]
[ "Return", "true", "if", "the", "target", "'s", "EXP", "instruction", "supports", "the", "NULL", "export", "target", "." ]
[ "AMDGPU" ]
GCNSubtarget7
hasNullExportTarget
AMDGPU
GPU
LLVM
10,026
11
1
[]
[ "<s>", "bool", "VZeroUpperInserter", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "const", "X86Subtarget", "&", "ST", "=", "MF", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ";", "if", "(", "!", "ST", ".", "hasAVX"...
[ "runOnMachineFunction", "-", "Emit", "the", "function", "body", "." ]
[ "X86", "X86", "X86", "X86", "X86", "X86::VR256RegClass", "\"X86VZeroUpper state should be clear\"", "\"MBB #\"", "\" was Pass-through, is now Dirty-out.\\n\"" ]
X86VZeroUpper4
runOnMachineFunction
X86
CPU
LLVM
10,027
363
1
[]
[ "<s>", "static", "void", "make_cpu_type_builtin", "(", "const", "char", "*", "name", ",", "int", "code", ",", "enum", "ix86_builtin_func_type", "ftype", ",", "bool", "is_const", ")", "{", "tree", "decl", ";", "tree", "type", ";", "type", "=", "ix86_get_built...
[ "Make", "builtins", "to", "detect", "cpu", "type", "and", "features", "supported", ".", "NAME", "is", "the", "builtin", "name", ",", "CODE", "is", "the", "builtin", "code", ",", "and", "FTYPE", "is", "the", "function", "type", "of", "the", "builtin", "."...
[ "i386" ]
i386-builtins
make_cpu_type_builtin
i386
CPU
GCC
10,028
75
1
[]
[ "<s>", "GCNSubtarget", "&", "GCNSubtarget", "::", "initializeSubtargetDependencies", "(", "const", "Triple", "&", "TT", ",", "StringRef", "GPU", ",", "StringRef", "FS", ")", "{", "SmallString", "<", "256", ">", "FullFS", "(", "\"+promote-alloca,+dx10-clamp,+load-sto...
[ "initializeSubtargetDependencies", "-", "Initializes", "using", "a", "CPU", ",", "a", "TuneCPU", ",", "and", "feature", "string", "so", "that", "we", "can", "use", "initializer", "lists", "for", "subtarget", "initialization", "." ]
[ "AMDGPU", "256", "\"+promote-alloca,+dx10-clamp,+load-store-opt,\"", "\"+flat-address-space,+flat-for-global,+unaligned-buffer-access,+trap-handler,\"", "AMDGPU", "\"+fp64-fp16-denormals,\"", "\"-fp32-denormals,\"", "AMDGPU", "\"flat-for-global\"", "0", "4", "0", "32", "0", "32768", "A...
AMDGPUSubtarget
initializeSubtargetDependencies
AMDGPU
GPU
LLVM
10,029
181
1
[]
[ "<s>", "bool", "XCoreFrameInfo", "::", "restoreCalleeSavedRegisters", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "const", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", ",", "const", "TargetRegiste...
[ "restoreCalleeSavedRegisters", "-", "Issues", "instruction", "(", "s", ")", "to", "restore", "all", "callee", "saved", "registers", "and", "returns", "true", "if", "it", "is", "n't", "possible", "/", "profitable", "to", "do", "so", "by", "issuing", "a", "ser...
[ "XCore", "XCore", "\"loadRegFromStackSlot didn't insert any code!\"" ]
XCoreFrameInfo
restoreCalleeSavedRegisters
XCore
MPU
LLVM
10,030
199
1
[]
[ "<s>", "static", "bool", "mep_get_move_insn", "(", "int", "intrinsic", ",", "const", "struct", "cgen_insn", "*", "*", "cgen_insn", ")", "{", "size_t", "i", ";", "if", "(", "intrinsic", "==", "mep_cmov", ")", "{", "for", "(", "i", "=", "0", ";", "i", ...
[ "Like", "mep_get_intrinsic_insn", ",", "but", "with", "extra", "handling", "for", "moves", ".", "If", "INTRINSIC", "is", "mep_cmov", ",", "but", "there", "is", "no", "pure", "CR", "<", "-", "CR", "move", "insn", ",", "try", "using", "a", "work-alike", "i...
[ "mep", "0" ]
mep
mep_get_move_insn
mep
CPU
GCC
10,031
69
1
[]
[ "<s>", "bool", "F2003fPassConfig", "::", "addInstSelector", "(", ")", "{", "addPass", "(", "createF2003fISelDag", "(", "getF2003fTargetMachine", "(", ")", ",", "getOptLevel", "(", ")", ")", ")", ";", "return", "false", ";", "}", "</s>" ]
[ "addInstSelector", "-", "This", "method", "should", "install", "an", "instruction", "selector", "pass", ",", "which", "converts", "from", "LLVM", "code", "to", "machine", "instructions", "." ]
[ "F2003f", "F2003f", "F2003f", "F2003f" ]
F2003fTargetMachine
addInstSelector
F2003f
CPU
LLVM
10,032
25
1
[]
[ "<s>", "void", "rs6000_secondary_reload_gpr", "(", "rtx", "reg", ",", "rtx", "mem", ",", "rtx", "scratch", ",", "bool", "store_p", ")", "{", "int", "regno", "=", "true_regnum", "(", "reg", ")", ";", "enum", "reg_class", "rclass", ";", "rtx", "addr", ";",...
[ "Convert", "reloads", "involving", "64-bit", "gprs", "and", "misaligned", "offset", "addressing", ",", "or", "multiple", "32-bit", "gprs", "and", "offsets", "that", "are", "too", "large", ",", "to", "use", "indirect", "addressing", "." ]
[ "rs6000", "\"\\nrs6000_secondary_reload_gpr, type = %s\\n\"", "\"store\"", "\"load\"", "\"reg:\\n\"", "\"mem:\\n\"", "\"scratch:\\n\"", "0", "0", "0", "1", "1", "0", "0", "0", "1" ]
rs6000
rs6000_secondary_reload_gpr
rs6000
CPU
GCC
10,033
274
1
[]
[ "<s>", "const", "RegisterBankInfo", "::", "ValueMapping", "*", "AMDGPURegisterBankInfo", "::", "getValueMappingForPtr", "(", "const", "MachineRegisterInfo", "&", "MRI", ",", "Register", "PtrReg", ")", "const", "{", "LLT", "PtrTy", "=", "MRI", ".", "getType", "(", ...
[ "Return", "the", "mapping", "for", "a", "pointer", "argument", "." ]
[ "AMDGPU", "AMDGPU", "SI", "AMDGPU::getValueMapping", "AMDGPU::VGPRRegBankID", "AMDGPU::getValueMapping" ]
AMDGPURegisterBankInfo10
getValueMappingForPtr
AMDGPU
GPU
LLVM
10,034
100
1
[]
[ "<s>", "void", "SIInstrInfo", "::", "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", "." ]
[ "AMDGPU", "SI", "SI", "SI", "4", "AMDGPU::SReg_32_XM0RegClass", "1", "AMDGPU::M0", "\"SIInstrInfo::storeRegToStackSlot - Do not know how to\"", "\" spill register\"", "AMDGPU::KILL", "\"Only VGPR spilling expected\"", "0" ]
SIInstrInfo38
storeRegToStackSlot
AMDGPU
GPU
LLVM
10,035
479
1
[]
[ "<s>", "static", "rtx", "mn10300_function_value", "(", "const_tree", "valtype", ",", "const_tree", "fn_decl_or_type", "ATTRIBUTE_UNUSED", ",", "bool", "outgoing", ")", "{", "rtx", "rv", ";", "machine_mode", "mode", "=", "TYPE_MODE", "(", "valtype", ")", ";", "if...
[ "Return", "the", "location", "of", "the", "function", "'s", "value", ".", "This", "will", "be", "either", "$", "d0", "for", "integer", "functions", ",", "$", "a0", "for", "pointers", ",", "or", "a", "PARALLEL", "of", "both", "$", "d0", "and", "$", "a...
[ "mn10300", "2", "0", "0", "0", "0", "1", "0" ]
mn10300
mn10300_function_value
mn10300
MPU
GCC
10,036
131
1
[]
[ "<s>", "const", "Z80Subtarget", "*", "Z80TargetMachine", "::", "getSubtargetImpl", "(", "const", "Function", "&", "F", ")", "const", "{", "Attribute", "CPUAttr", "=", "F", ".", "getFnAttribute", "(", "\"target-cpu\"", ")", ";", "Attribute", "FSAttr", "=", "F",...
[ "Virtual", "method", "implemented", "by", "subclasses", "that", "returns", "a", "reference", "to", "that", "target", "'s", "TargetSubtargetInfo-derived", "member", "variable", "." ]
[ "Z80", "Z80", "Z80", "\"target-cpu\"", "\"target-features\"", "512", "Z80" ]
Z80TargetMachine2
getSubtargetImpl
Z80
MPU
LLVM
10,037
161
1
[]
[ "<s>", "void", "ARCInstPrinter", "::", "printInst", "(", "const", "MCInst", "*", "MI", ",", "uint64_t", "Address", ",", "StringRef", "Annot", ",", "const", "MCSubtargetInfo", "&", "STI", ",", "raw_ostream", "&", "O", ")", "{", "printInstruction", "(", "MI", ...
[ "Print", "the", "specified", "MCInst", "to", "the", "specified", "raw_ostream", "." ]
[ "ARC", "ARC" ]
ARCInstPrinter3
printInst
ARC
MPU
LLVM
10,038
43
1
[]
[ "<s>", "bool", "TLCS900AsmPrinter", "::", "PrintAsmOperand", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpNo", ",", "unsigned", "AsmVariant", ",", "const", "char", "*", "ExtraCode", ",", "raw_ostream", "&", "O", ")", "{", "if", "(", "ExtraCod...
[ "PrintAsmOperand", "-", "Print", "out", "an", "operand", "for", "an", "inline", "asm", "expression", "." ]
[ "TLCS900", "TLCS900", "0" ]
TLCS900AsmPrinter
PrintAsmOperand
TLCS900
MPU
LLVM
10,039
51
1
[]
[ "<s>", "static", "void", "s390_init_frame_layout", "(", "void", ")", "{", "HOST_WIDE_INT", "frame_size", ";", "int", "base_used", ";", "int", "clobbered_regs", "[", "16", "]", ";", "if", "(", "!", "TARGET_CPU_ZARCH", ")", "cfun", "->", "machine", "->", "spli...
[ "Generate", "frame", "layout", ".", "Fills", "in", "register", "and", "frame", "data", "for", "the", "current", "function", "in", "cfun-", ">", "machine", ".", "This", "routine", "can", "be", "called", "multiple", "times", ";", "it", "will", "re-do", "the"...
[ "s390", "16", "5", "5" ]
s3903
s390_init_frame_layout
s390
MPU
GCC
10,040
137
1
[]
[ "<s>", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"AArch64 Indirect Thunks\"", ";", "}", "</s>" ]
[ "getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "." ]
[ "AArch64", "\"AArch64 Indirect Thunks\"" ]
AArch64SLSHardening
getPassName
AArch64
CPU
LLVM
10,041
11
1
[]
[ "<s>", "virtual", "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "AttributeSet", "FnAttrs", "=", "MF", ".", "getFunction", "(", ")", "->", "getAttributes", "(", ")", ";", "ForCodeSize", "=", "FnAttrs", ".", "hasAttribute", "(", ...
[ "runOnMachineFunction", "-", "Emit", "the", "function", "body", "." ]
[ "ARM64" ]
ARM64ISelDAGToDAG
runOnMachineFunction
ARM64
CPU
LLVM
10,042
59
1
[]
[ "<s>", "void", "PPCSubtarget", "::", "overrideSchedPolicy", "(", "MachineSchedPolicy", "&", "Policy", ",", "unsigned", "NumRegionInstrs", ")", "const", "{", "Policy", ".", "OnlyBottomUp", "=", "false", ";", "Policy", ".", "ShouldTrackPressure", "=", "true", ";", ...
[ "Override", "generic", "scheduling", "policy", "within", "a", "region", "." ]
[ "PowerPC", "PPC" ]
PPCSubtarget
overrideSchedPolicy
PowerPC
CPU
LLVM
10,043
27
1
[]
[ "<s>", "static", "void", "emitSPUpdate", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "&", "MBBI", ",", "unsigned", "StackPtr", ",", "int64_t", "NumBytes", ",", "bool", "Is64Bit", ",", "bool", "IsLP64", ",", "bool", "UseLEA...
[ "Emit", "a", "series", "of", "instructions", "to", "increment", "/", "decrement", "the", "stack", "pointer", "by", "a", "constant", "value", "." ]
[ "X86", "0", "1LL", "31", "1", "8", "4", "X86::RAX", "X86::EAX", "X86::PUSH64r", "X86::PUSH32r", "X86::POP64r", "X86::POP32r", "3" ]
X86FrameLowering (2)
emitSPUpdate
X86
CPU
LLVM
10,044
372
1
[]
[ "<s>", "const", "uint32_t", "*", "PPCRegisterInfo", "::", "getCallPreservedMask", "(", "const", "MachineFunction", "&", "MF", ",", "CallingConv", "::", "ID", "CC", ")", "const", "{", "const", "PPCSubtarget", "&", "Subtarget", "=", "MF", ".", "getSubtarget", "<...
[ "Return", "a", "mask", "of", "call-preserved", "registers", "for", "the", "given", "calling", "convention", "on", "the", "current", "function", "." ]
[ "PowerPC", "PPC", "PPC", "PPC", "PPC", "\"Altivec is not implemented on AIX yet.\"", "PPC", "PPC", "PPC" ]
PPCRegisterInfo56
getCallPreservedMask
PowerPC
CPU
LLVM
10,045
233
1
[]
[ "<s>", "void", "MipsRegisterInfo", "::", "emitEpilogue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "prior", "(", "MBB", ".", "end", "(", ")", ")", ";", "M...
[ "Insert", "epilog", "code", "into", "the", "function", "." ]
[ "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips::ADDu", "Mips::SP", "Mips::FP", "Mips::ZERO", "Mips::LW", "Mips::FP", "Mips::SP", "Mips::LW", "Mips::RA", "Mips::SP", "Mips::ADDiu", "Mips::SP", "Mips::SP" ]
MipsRegisterInfo45
emitEpilogue
Mips
CPU
LLVM
10,046
261
1
[]
[ "<s>", "static", "void", "arm_elf_asm_destructor", "(", "rtx", "symbol", ",", "int", "priority", ")", "{", "arm_elf_asm_cdtor", "(", "symbol", ",", "priority", ",", "false", ")", ";", "}", "</s>" ]
[ "Add", "a", "function", "to", "the", "list", "of", "static", "destructors", "." ]
[ "arm" ]
arm
arm_elf_asm_destructor
arm
CPU
GCC
10,047
21
1
[]
[ "<s>", "bool", "SparcTargetLowering", "::", "useLoadStackGuardNode", "(", ")", "const", "{", "if", "(", "!", "Subtarget", "->", "isTargetLinux", "(", ")", ")", "return", "TargetLowering", "::", "useLoadStackGuardNode", "(", ")", ";", "return", "true", ";", "}"...
[ "If", "this", "function", "returns", "true", ",", "SelectionDAGBuilder", "emits", "a", "LOAD_STACK_GUARD", "node", "when", "it", "is", "lowering", "Intrinsic", ":", ":stackprotector", "." ]
[ "Sparc", "Sparc" ]
SparcISelLowering (2)2
useLoadStackGuardNode
Sparc
CPU
LLVM
10,048
28
1
[]
[ "<s>", "static", "void", "arc_encode_section_info", "(", "tree", "decl", ",", "rtx", "rtl", ",", "int", "first", ")", "{", "default_encode_section_info", "(", "decl", ",", "rtl", ",", "first", ")", ";", "if", "(", "TREE_CODE", "(", "decl", ")", "==", "FU...
[ "Implement", "TARGET_ENCODE_SECTION_INFO", "hook", "." ]
[ "arc", "0", "\"long_call\"", "\"medium_call\"", "\"short_call\"" ]
arc4
arc_encode_section_info
arc
MPU
GCC
10,049
144
1
[]
[ "<s>", "TargetPassConfig", "*", "PPCTargetMachine", "::", "createPassConfig", "(", "PassManagerBase", "&", "PM", ")", "{", "TargetPassConfig", "*", "PassConfig", "=", "new", "PPCPassConfig", "(", "this", ",", "PM", ")", ";", "PassConfig", "->", "setEnableTailMerge...
[ "Create", "a", "pass", "configuration", "object", "to", "be", "used", "by", "addPassToEmitX", "methods", "for", "generating", "a", "pipeline", "of", "CodeGen", "passes", "." ]
[ "PowerPC", "PPC", "PPC" ]
PPCTargetMachine31
createPassConfig
PowerPC
CPU
LLVM
10,050
34
1
[]
[ "<s>", "bool", "AArch64TargetLowering", "::", "isExtractSubvectorCheap", "(", "EVT", "ResVT", ",", "EVT", "SrcVT", ",", "unsigned", "Index", ")", "const", "{", "if", "(", "!", "isOperationLegalOrCustom", "(", "ISD", "::", "EXTRACT_SUBVECTOR", ",", "ResVT", ")", ...
[ "Return", "true", "if", "EXTRACT_SUBVECTOR", "is", "cheap", "for", "this", "result", "type", "with", "this", "index", "." ]
[ "AArch64", "AArch64", "ISD::EXTRACT_SUBVECTOR", "0" ]
AArch64ISelLowering (2)2
isExtractSubvectorCheap
AArch64
CPU
LLVM
10,051
47
1
[]
[ "<s>", "bool", "isValid", "(", ")", "const", "{", "return", "State", "!=", "Uninitialized", ";", "}", "</s>" ]
[ "Returns", "true", "if", "this", "iterator", "is", "still", "pointing", "at", "a", "valid", "entry", "." ]
[ "RISCV" ]
RISCVInsertVSETVLI
isValid
RISCV
CPU
LLVM
10,052
12
1
[]
[ "<s>", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "{", "AU", ".", "addRequired", "<", "MachineDominatorTree", ">", "(", ")", ";", "MachineFunctionPass", "::", "getAnalysisUsage", "(", "AU", ")", ";", "}", "</s>" ]
[ "getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "." ]
[ "Mips" ]
MipsOptimizePICCall13
getAnalysisUsage
Mips
CPU
LLVM
10,053
26
1
[]
[ "<s>", "void", "RISCVFrameLowering", "::", "processFunctionBeforeFrameFinalized", "(", "MachineFunction", "&", "MF", ",", "RegScavenger", "*", "RS", ")", "const", "{", "const", "TargetRegisterInfo", "*", "RegInfo", "=", "MF", ".", "getSubtarget", "(", ")", ".", ...
[ "processFunctionBeforeFrameFinalized", "-", "This", "method", "is", "called", "immediately", "before", "the", "specified", "function", "'s", "frame", "layout", "(", "MF.getFrameInfo", "(", ")", ")", "is", "finalized", "." ]
[ "RI5CY", "RISCV", "RISCV::GPRRegClass", "11" ]
RISCVFrameLowering
processFunctionBeforeFrameFinalized
RI5CY
CPU
LLVM
10,054
102
1
[]
[ "<s>", "static", "bool", "pa_cannot_force_const_mem", "(", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ",", "rtx", "x", ")", "{", "return", "tls_referenced_p", "(", "x", ")", ";", "}", "</s>" ]
[ "Implement", "TARGET_CANNOT_FORCE_CONST_MEM", "." ]
[ "pa" ]
pa
pa_cannot_force_const_mem
pa
CPU
GCC
10,055
19
1
[]
[ "<s>", "void", "RISCVInstrInfo", "::", "copyPhysReg", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MBBI", ",", "const", "DebugLoc", "&", "DL", ",", "unsigned", "DstReg", ",", "unsigned", "SrcReg", ",", "bool", "KillSrc", "...
[ "}", "Branch", "Analysis", "&", "Modification" ]
[ "RISCV", "RISCV", "RISCV::GPRRegClass", "RISCV::ADDI", "0", "RISCV::FPR32RegClass", "RISCV::FSGNJ_S", "\"Impossible reg-to-reg copy\"" ]
RISCVInstrInfo41
copyPhysReg
RISCV
CPU
LLVM
10,056
141
1
[]
[ "<s>", "MCSymbol", "*", "WebAssemblyMCInstLower", "::", "GetExternalSymbolSymbol", "(", "const", "MachineOperand", "&", "MO", ")", "const", "{", "const", "char", "*", "Name", "=", "MO", ".", "getSymbolName", "(", ")", ";", "auto", "*", "WasmSym", "=", "cast"...
[ "Return", "the", "MCSymbol", "for", "the", "specified", "ExternalSymbol", "." ]
[ "WebAssembly", "WebAssembly", "WebAssembly", "\"__stack_pointer\"", "0", "\"__memory_base\"", "0", "\"__table_base\"", "0", "\"__stack_pointer\"", "0", "wasm::WASM_SYMBOL_TYPE_GLOBAL", "wasm::WasmGlobalType", "wasm::WASM_TYPE_I64", "wasm::WASM_TYPE_I32", "wasm::ValType", "4", "wasm...
WebAssemblyMCInstLower37
GetExternalSymbolSymbol
WebAssembly
Virtual ISA
LLVM
10,057
303
1
[]
[ "<s>", "void", "h8300_init_once", "(", "void", ")", "{", "static", "const", "char", "*", "const", "h8_push_ops", "[", "2", "]", "=", "{", "\"push\"", ",", "\"push.l\"", "}", ";", "static", "const", "char", "*", "const", "h8_pop_ops", "[", "2", "]", "="...
[ "Initialize", "various", "cpu", "specific", "globals", "at", "start", "up", "." ]
[ "h8300", "2", "\"push\"", "\"push.l\"", "2", "\"pop\"", "\"pop.l\"", "2", "\"mov.w\"", "\"mov.l\"", "\"-ms2600 is used without -ms\"", "\"-mn is used without -mh or -ms\"", "5", "6", "13", "14", "13", "14", "13", "14", "5", "6", "5", "6", "5", "6", "13", "14", ...
h83003
h8300_init_once
h8300
MPU
GCC
10,058
409
1
[]
[ "<s>", "void", "mn10300_print_operand_address", "(", "FILE", "*", "file", ",", "rtx", "addr", ")", "{", "switch", "(", "GET_CODE", "(", "addr", ")", ")", "{", "case", "POST_INC", ":", "mn10300_print_operand", "(", "file", ",", "XEXP", "(", "addr", ",", "...
[ "Output", "assembly", "language", "output", "for", "the", "address", "ADDR", "to", "FILE", "." ]
[ "mn10300", "0", "0", "0", "0", "1", "0", "0", "0", "1", "0", "0" ]
mn10300
mn10300_print_operand_address
mn10300
MPU
GCC
10,059
232
1
[]
[ "<s>", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "override", "{", "AU", ".", "addRequired", "<", "DominatorTreeWrapperPass", ">", "(", ")", ";", "AU", ".", "addPreserved", "<", "DominatorTreeWrapperPass", ">", "(", ")", ";", ...
[ "getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "." ]
[ "Hexagon" ]
HexagonCommonGEP10
getAnalysisUsage
Hexagon
DSP
LLVM
10,060
72
1
[]
[ "<s>", "bool", "SIFixVGPRCopies", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "const", "SISubtarget", "&", "ST", "=", "MF", ".", "getSubtarget", "<", "SISubtarget", ">", "(", ")", ";", "const", "SIRegisterInfo", "*", "TRI", "="...
[ "runOnMachineFunction", "-", "Emit", "the", "function", "body", "." ]
[ "AMDGPU", "SI", "SI", "SI", "SI", "SI", "AMDGPU::COPY", "AMDGPU::EXEC", "AMDGPU::EXEC", "\"Add exec use to \"" ]
SIFixVGPRCopies2
runOnMachineFunction
AMDGPU
GPU
LLVM
10,061
154
1
[]
[ "<s>", "enum", "calling_abi", "ix86_function_type_abi", "(", "const_tree", "fntype", ")", "{", "if", "(", "fntype", "!=", "NULL_TREE", "&&", "TYPE_ATTRIBUTES", "(", "fntype", ")", "!=", "NULL_TREE", ")", "{", "enum", "calling_abi", "abi", "=", "ix86_abi", ";",...
[ "Returns", "value", "SYSV_ABI", ",", "MS_ABI", "dependent", "on", "fntype", ",", "specifying", "the", "call", "abi", "used", "." ]
[ "i386", "\"ms_abi\"", "\"X32 does not support ms_abi attribute\"", "\"sysv_abi\"" ]
i3864
ix86_function_type_abi
i386
CPU
GCC
10,062
107
1
[]
[ "<s>", "virtual", "bool", "addPreISel", "(", ")", "{", "if", "(", "PatmosSinglePathInfo", "::", "isEnabled", "(", ")", ")", "{", "addPass", "(", "createUnifyFunctionExitNodesPass", "(", ")", ")", ";", "addPass", "(", "createLowerSwitchPass", "(", ")", ")", "...
[ "{", "{", "@", "For", "GlobalISel" ]
[ "Patmos", "Patmos", "Patmos" ]
PatmosTargetMachine
addPreISel
Patmos
VLIW
LLVM
10,063
44
1
[]
[ "<s>", "void", "HexagonDCE", "::", "removeOperand", "(", "NodeAddr", "<", "InstrNode", "*", ">", "IA", ",", "unsigned", "OpNum", ")", "{", "MachineInstr", "*", "MI", "=", "NodeAddr", "<", "StmtNode", "*", ">", "(", "IA", ")", ".", "Addr", "->", "getCod...
[ "Erase", "an", "operand", "from", "an", "instruction", ",", "leaving", "it", "with", "one", "fewer", "operand", "than", "it", "started", "with", "." ]
[ "Hexagon", "Hexagon", "0", "\"Invalid operand\"", "1" ]
HexagonRDFOpt
removeOperand
Hexagon
DSP
LLVM
10,064
228
1
[]
[ "<s>", "EVT", "TeakTargetLowering", "::", "getSetCCResultType", "(", "const", "DataLayout", "&", ",", "LLVMContext", "&", ",", "EVT", "VT", ")", "const", "{", "return", "MVT", "::", "i40", ";", "}", "</s>" ]
[ "Return", "the", "value", "type", "to", "use", "for", "ISD", ":", ":SETCC", "." ]
[ "Teak", "Teak", "MVT::i40" ]
TeakISelLowering
getSetCCResultType
Teak
DSP
LLVM
10,065
23
1
[]
[ "<s>", "bool", "AArch64TargetLowering", "::", "isFPImmLegal", "(", "const", "APFloat", "&", "Imm", ",", "EVT", "VT", ")", "const", "{", "if", "(", "Imm", ".", "isPosZero", "(", ")", "&&", "(", "VT", "==", "MVT", "::", "f64", "||", "VT", "==", "MVT", ...
[ "Returns", "true", "if", "the", "target", "can", "instruction", "select", "the", "specified", "FP", "immediate", "natively", "." ]
[ "AArch64", "AArch64", "MVT::f64", "MVT::f32", "MVT::f16", "\"Legal \"", "\" imm value: 0\\n\"", "128", "MVT::f64", "AArch64_AM::getFP64Imm", "1", "MVT::f32", "AArch64_AM::getFP32Imm", "1", "MVT::f16", "AArch64_AM::getFP16Imm", "1", "\"Legal \"", "\" imm value: \"", "\"\\n\"", ...
AArch64ISelLowering131
isFPImmLegal
AArch64
CPU
LLVM
10,066
214
1
[]
[ "<s>", "bool", "ARMBaseRegisterInfo", "::", "getRegAllocationHints", "(", "Register", "VirtReg", ",", "ArrayRef", "<", "MCPhysReg", ">", "Order", ",", "SmallVectorImpl", "<", "MCPhysReg", ">", "&", "Hints", ",", "const", "MachineFunction", "&", "MF", ",", "const...
[ "Get", "a", "list", "of", "'hint", "'", "registers", "that", "the", "register", "allocator", "should", "try", "first", "when", "allocating", "a", "physical", "register", "for", "the", "virtual", "register", "VirtReg", "." ]
[ "ARM", "ARM", "ARMRI::RegPairEven", "0", "ARMRI::RegPairOdd", "1", "1" ]
ARMBaseRegisterInfo16
getRegAllocationHints
ARM
CPU
LLVM
10,067
265
1
[]
[ "<s>", "void", "PPCPassConfig", "::", "addPreRegAlloc", "(", ")", "{", "initializePPCVSXFMAMutatePass", "(", "*", "PassRegistry", "::", "getPassRegistry", "(", ")", ")", ";", "insertPass", "(", "VSXFMAMutateEarly", "?", "&", "RegisterCoalescerID", ":", "&", "Machi...
[ "This", "method", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "register", "allocation", "." ]
[ "PowerPC", "PPC", "PPC", "PPC" ]
PPCTargetMachine27
addPreRegAlloc
PowerPC
CPU
LLVM
10,068
32
1
[]
[ "<s>", "void", "function_expander", "::", "add_integer_operand", "(", "HOST_WIDE_INT", "x", ")", "{", "m_ops", ".", "safe_grow", "(", "m_ops", ".", "length", "(", ")", "+", "1", ")", ";", "create_integer_operand", "(", "&", "m_ops", ".", "last", "(", ")", ...
[ "Add", "an", "integer", "operand", "X", "." ]
[ "aarch64", "1" ]
aarch64-sve-builtins
add_integer_operand
aarch64
CPU
GCC
10,069
35
1
[]
[ "<s>", "unsigned", "AlphaRegisterInfo", "::", "getFrameRegister", "(", "MachineFunction", "&", "MF", ")", "const", "{", "return", "hasFP", "(", "MF", ")", "?", "Alpha", "::", "R15", ":", "Alpha", "::", "R30", ";", "}", "</s>" ]
[ "Debug", "information", "queries", "." ]
[ "Alpha", "Alpha", "Alpha::R15", "Alpha::R30" ]
AlphaRegisterInfo2
getFrameRegister
Alpha
MPU
LLVM
10,070
26
1
[]
[ "<s>", "int", "pru_get_ctable_base_offset", "(", "unsigned", "HOST_WIDE_INT", "caddr", ")", "{", "int", "i", ";", "i", "=", "pru_get_ctable_base_index", "(", "caddr", ")", ";", "gcc_assert", "(", "i", ">=", "0", ")", ";", "return", "caddr", "-", "pru_ctable"...
[ "Return", "the", "offset", "from", "some", "CTABLE", "base", "for", "this", "address", "." ]
[ "pru", "0" ]
pru
pru_get_ctable_base_offset
pru
CPU
GCC
10,071
36
1
[]
[ "<s>", "static", "rtx_insn", "*", "rs6000_frame_related", "(", "rtx_insn", "*", "insn", ",", "rtx", "reg", ",", "HOST_WIDE_INT", "val", ",", "rtx", "reg2", ",", "rtx", "repl2", ")", "{", "rtx", "repl", ";", "if", "(", "REGNO", "(", "reg", ")", "==", ...
[ "Add", "to", "'insn", "'", "a", "note", "which", "is", "PATTERN", "(", "INSN", ")", "but", "with", "REG", "replaced", "with", "(", "plus", ":", "P", "(", "reg", "1", ")", "VAL", ")", ",", "and", "with", "REG2", "replaced", "with", "RREG", "if", "...
[ "powerpcspe", "0", "0", "0", "0", "0", "1", "1", "0", "0", "0", "0", "0", "0", "0", "1", "1" ]
powerpcspe
rs6000_frame_related
powerpcspe
CPU
GCC
10,072
413
1
[]
[ "<s>", "BitVector", "TPCRegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "markSuperRegs", "(", "Reserved", ",", "TPC", "::", "LFSR", ")", ";...
[ "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", "...
[ "TPC", "TPC", "TPC::LFSR", "TPC::LFSR_NO_CHANGE", "TPC::V_LANE_ID_32", "TPC::V_LANE_ID_16", "TPC::V_LANE_ID_8", "TPC::SP0", "TPC::VP0", "TPC", "TPC::S31", "TPC::S32", "TPC::S33", "TPC::S34", "TPC::S35", "TPC::S_LFSR", "TPC::S_LFSR_NO_CHANGE", "TPC::I0", "TPC::I1", "\"tpc-printf...
TPCRegisterInfo
getReservedRegs
TPC
Virtual ISA
LLVM
10,073
342
1
[]
[ "<s>", "void", "ix86_emit_i387_tanh", "(", "rtx", "op0", ",", "rtx", "op1", ")", "{", "rtx", "e1", "=", "gen_reg_rtx", "(", "XFmode", ")", ";", "rtx", "e2", "=", "gen_reg_rtx", "(", "XFmode", ")", ";", "rtx", "scratch", "=", "gen_reg_rtx", "(", "HImode...
[ "Output", "code", "to", "perform", "an", "tanh", "XFmode", "calculation", "." ]
[ "i386", "0x02", "50", "100", "1" ]
i386-expand
ix86_emit_i387_tanh
i386
CPU
GCC
10,074
245
1
[]
[ "<s>", "virtual", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "{", "AU", ".", "setPreservesCFG", "(", ")", ";", "AU", ".", "addRequired", "<", "MachineDominatorTree", ">", "(", ")", ";", "MachineFunctionPass", "::", "getAnalysisU...
[ "getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "." ]
[ "AArch64" ]
AArch64InstrInfo101
getAnalysisUsage
AArch64
CPU
LLVM
10,075
33
1
[]
[ "<s>", "bool", "BPFAsmBackend", "::", "writeNopData", "(", "raw_ostream", "&", "OS", ",", "uint64_t", "Count", ",", "const", "MCSubtargetInfo", "*", "STI", ")", "const", "{", "if", "(", "(", "Count", "%", "8", ")", "!=", "0", ")", "return", "false", ";...
[ "Write", "an", "(", "optimal", ")", "nop", "sequence", "of", "Count", "bytes", "to", "the", "given", "output", "." ]
[ "BPF", "BPF", "8", "0", "0", "8", "support::endian", "0x15000000" ]
BPFAsmBackend (2)1
writeNopData
BPF
Virtual ISA
LLVM
10,076
67
1
[]
[ "<s>", "bool", "AArch64PromoteConstant", "::", "runOnFunction", "(", "Function", "&", "F", ")", "{", "bool", "LocalChange", "=", "false", ";", "SmallSet", "<", "Constant", "*", ",", "8", ">", "AlreadyChecked", ";", "for", "(", "auto", "&", "MBB", ":", "F...
[ "runOnFunction", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "do", "the", "per-function", "processing", "of", "the", "pass", "." ]
[ "AArch64", "AArch64", "8", "0" ]
AArch64PromoteConstant7
runOnFunction
AArch64
CPU
LLVM
10,077
127
1
[]
[ "<s>", "static", "void", "nds32_emit_isr_vector_section", "(", "int", "vector_id", ")", "{", "unsigned", "int", "vector_number_offset", "=", "0", ";", "const", "char", "*", "c_str", "=", "\"CATEGORY\"", ";", "const", "char", "*", "sr_str", "=", "\"SR\"", ";", ...
[ "Function", "to", "emit", "isr", "vector", "section", "." ]
[ "nds32", "0", "\"CATEGORY\"", "\"SR\"", "\"NT\"", "\"VS\"", "100", "100", "100", "9", "\"i\"", "0", "\"e\"", "\"sa\"", "\"ps\"", "\"ns\"", "\"nn\"", "\"nr\"", "4", "\"_4b\"", "\"\"", "\"_nds32_%s_%s_%s%s\"", "\".nds32_vector.%02d\"", "\"_nds32_vector_%02d%s\"", "4", ...
nds32-isr2
nds32_emit_isr_vector_section
nds32
CPU
GCC
10,078
416
1
[]
[ "<s>", "void", "mn10300_print_reg_list", "(", "FILE", "*", "file", ",", "int", "mask", ")", "{", "int", "need_comma", ";", "int", "i", ";", "need_comma", "=", "0", ";", "fputc", "(", "'['", ",", "file", ")", ";", "for", "(", "i", "=", "0", ";", "...
[ "Print", "a", "set", "of", "registers", "in", "the", "format", "required", "by", "``", "movm", "''", "and", "``", "ret", "''", ".", "Register", "K", "is", "saved", "if", "bit", "K", "of", "MASK", "is", "set", ".", "The", "data", "and", "address", "...
[ "mn10300", "0", "0", "1", "0", "1", "0x3c000", "0", "0x3c000", "0x3c000", "\"exreg1\"", "1" ]
mn10300
mn10300_print_reg_list
mn10300
MPU
GCC
10,079
135
1
[]
[ "<s>", "bool", "GCNTTIImpl", "::", "isInlineAsmSourceOfDivergence", "(", "const", "CallInst", "*", "CI", ",", "ArrayRef", "<", "unsigned", ">", "Indices", ")", "const", "{", "if", "(", "Indices", ".", "size", "(", ")", ">", "1", ")", "return", "true", ";...
[ "Analyze", "if", "the", "results", "of", "inline", "asm", "are", "divergent", "." ]
[ "AMDGPU", "1", "SI", "1", "0", "0", "1" ]
AMDGPUTargetTransformInfo1
isInlineAsmSourceOfDivergence
AMDGPU
GPU
LLVM
10,080
215
1
[]
[ "<s>", "bool", "WinEHStatePass", "::", "runOnFunction", "(", "Function", "&", "F", ")", "{", "StringRef", "WinEHParentName", "=", "F", ".", "getFnAttribute", "(", "\"wineh-parent\"", ")", ".", "getValueAsString", "(", ")", ";", "if", "(", "WinEHParentName", "!...
[ "runOnFunction", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "do", "the", "per-function", "processing", "of", "the", "pass", "." ]
[ "X86", "\"wineh-parent\"", "\"no-frame-pointer-elim\"", "\"true\"", "\"MachineModuleInfo should always be available\"", "\"unexpected personality function\"", "X86" ]
X86WinEHState21
runOnFunction
X86
CPU
LLVM
10,081
195
1
[]
[ "<s>", "unsigned", "PatmosInstrInfo", "::", "getIssueWidth", "(", "const", "MachineInstr", "*", "MI", ")", "const", "{", "if", "(", "MI", "->", "isInlineAsm", "(", ")", ")", "return", "PST", ".", "getSchedModel", "(", ")", ".", "IssueWidth", ";", "return",...
[ "Maximum", "number", "of", "micro-ops", "that", "may", "be", "scheduled", "per", "cycle", "." ]
[ "Patmos", "Patmos" ]
PatmosInstrInfo1
getIssueWidth
Patmos
VLIW
LLVM
10,082
44
1
[]
[ "<s>", "bool", "sh_lra_p", "(", "void", ")", "{", "return", "sh_lra_flag", ";", "}", "</s>" ]
[ "Return", "true", "if", "we", "use", "LRA", "instead", "of", "reload", "pass", "." ]
[ "sh" ]
sh
sh_lra_p
sh
CPU
GCC
10,083
10
1
[]
[ "<s>", "MachineBasicBlock", "::", "iterator", "WebAssemblyFrameLowering", "::", "eliminateCallFramePseudoInstr", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ")", "const", "{", "assert", "(",...
[ "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", ")", "." ]
[ "WebAssembly", "WebAssembly", "0", "\"Call frame pseudos should only be used for dynamic stack adjustment\"", "WebAssembly" ]
WebAssemblyFrameLowering11
eliminateCallFramePseudoInstr
WebAssembly
Virtual ISA
LLVM
10,084
130
1
[]
[ "<s>", "static", "struct", "machine_function", "*", "iq2000_init_machine_status", "(", "void", ")", "{", "return", "ggc_cleared_alloc", "<", "machine_function", ">", "(", ")", ";", "}", "</s>" ]
[ "Allocate", "a", "chunk", "of", "memory", "for", "per-function", "machine-dependent", "data", "." ]
[ "iq2000" ]
iq2000
iq2000_init_machine_status
iq2000
CPU
GCC
10,085
18
1
[]
[ "<s>", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "{", "AU", ".", "setPreservesCFG", "(", ")", ";", "AU", ".", "addRequired", "<", "AAResultsWrapperPass", ">", "(", ")", ";", "AU", ".", "addRequired", "<", "TargetPassConfig", ...
[ "getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "." ]
[ "Patmos" ]
PatmosPostRAScheduler1
getAnalysisUsage
Patmos
VLIW
LLVM
10,086
77
1
[]
[ "<s>", "static", "unsigned", "int", "bpf_hard_regno_nregs", "(", "unsigned", "int", "regno", "ATTRIBUTE_UNUSED", ",", "enum", "machine_mode", "mode", ")", "{", "return", "CEIL", "(", "GET_MODE_SIZE", "(", "mode", ")", ",", "UNITS_PER_WORD", ")", ";", "}", "</s...
[ "Return", "the", "number", "of", "consecutive", "hard", "registers", ",", "starting", "at", "register", "number", "REGNO", ",", "required", "to", "hold", "a", "value", "of", "mode", "MODE", "." ]
[ "bpf" ]
bpf
bpf_hard_regno_nregs
bpf
Virtual ISA
GCC
10,087
27
1
[]
[ "<s>", "MachineBasicBlock", "::", "iterator", "HexagonFrameLowering", "::", "eliminateCallFramePseudoInstr", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ")", "const", "{", "MachineInstr", "&...
[ "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", ")", "." ]
[ "Hexagon", "Hexagon", "Hexagon::ADJCALLSTACKDOWN", "Hexagon::ADJCALLSTACKUP", "\"Cannot handle this call frame pseudo instruction\"" ]
HexagonFrameLowering10
eliminateCallFramePseudoInstr
Hexagon
DSP
LLVM
10,088
71
1
[]
[ "<s>", "bool", "MipsTargetLowering", "::", "shouldSignExtendTypeInLibCall", "(", "EVT", "Type", ",", "bool", "IsSigned", ")", "const", "{", "if", "(", "Subtarget", ".", "hasMips3", "(", ")", "&&", "Subtarget", ".", "abiUsesSoftFloat", "(", ")", ")", "{", "if...
[ "Returns", "true", "if", "arguments", "should", "be", "sign-extended", "in", "lib", "calls", "." ]
[ "Mips", "Mips", "Mips", "MVT::i32" ]
MipsISelLowering114
shouldSignExtendTypeInLibCall
Mips
CPU
LLVM
10,089
44
1
[]
[ "<s>", "unsigned", "MBlazeInstrInfo", "::", "getGlobalBaseReg", "(", "MachineFunction", "*", "MF", ")", "const", "{", "MBlazeFunctionInfo", "*", "MBlazeFI", "=", "MF", "->", "getInfo", "<", "MBlazeFunctionInfo", ">", "(", ")", ";", "unsigned", "GlobalBaseReg", "...
[ "getGlobalBaseReg", "-", "Return", "a", "virtual", "register", "initialized", "with", "the", "the", "global", "base", "register", "value", "." ]
[ "MBlaze", "MBlaze", "MBlaze", "MBlaze", "MBlaze", "MBlaze", "0", "MBlaze::GPRRegisterClass", "MBlaze::R20", "MBlaze::R20", "MBlaze" ]
MBlazeInstrInfo1
getGlobalBaseReg
MBlaze
MPU
LLVM
10,090
148
1
[]
[ "<s>", "SDValue", "ARMTargetLowering", "::", "PerformBRCONDCombine", "(", "SDNode", "*", "N", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "SDValue", "Cmp", "=", "N", "->", "getOperand", "(", "4", ")", ";", "if", "(", "Cmp", ".", "getOpcode", "(",...
[ "PerformBRCONDCombine", "-", "Target-specific", "DAG", "combining", "for", "ARMISD", ":", ":BRCOND", "." ]
[ "ARM", "ARM", "4", "ARMISD::CMPZ", "0", "0", "1", "0", "1", "ARM", "2", "ARMCC::CondCodes", "ARMCC::CondCodes", "ARM", "ARMCC::NE", "ISD::AND", "0", "ARMISD::CMOV", "0", "0", "0", "0", "1", "1", "0", "1", "1", "0", "ARMISD::BRCOND", "0", "2", "0", "3",...
ARMISelLowering (2)5
PerformBRCONDCombine
ARM
CPU
LLVM
10,091
367
1
[]
[ "<s>", "bool", "Error", "(", "SMLoc", "L", ",", "const", "Twine", "&", "Msg", ",", "SMRange", "Range", "=", "None", ",", "bool", "MatchingInlineAsm", "=", "false", ")", "{", "MCAsmParser", "&", "Parser", "=", "getParser", "(", ")", ";", "if", "(", "M...
[ "Return", "an", "error", "at", "the", "location", "L", ",", "with", "the", "message", "Msg", "." ]
[ "TPC", "0" ]
TPCAsmParser
Error
TPC
Virtual ISA
LLVM
10,092
104
1
[]
[ "<s>", "void", "MipsMCInstLower", "::", "Initialize", "(", "MCContext", "*", "C", ")", "{", "Ctx", "=", "C", ";", "}", "</s>" ]
[ "This", "method", "must", "be", "called", "before", "any", "actual", "lowering", "is", "done", "." ]
[ "Mips", "Mips" ]
MipsMCInstLower
Initialize
Mips
CPU
LLVM
10,093
15
1
[]
[ "<s>", "bool", "AArch64LegalizerInfo", "::", "legalizeCustom", "(", "MachineInstr", "&", "MI", ",", "MachineRegisterInfo", "&", "MRI", ",", "MachineIRBuilder", "&", "MIRBuilder", ",", "GISelChangeObserver", "&", "Observer", ")", "const", "{", "switch", "(", "MI", ...
[ "Called", "for", "instructions", "with", "the", "Custom", "LegalizationAction", "." ]
[ "AArch64", "AArch64", "\"expected switch to return\"" ]
AArch64LegalizerInfo18
legalizeCustom
AArch64
CPU
LLVM
10,094
108
1
[]
[ "<s>", "std", "::", "pair", "<", "unsigned", ",", "const", "TargetRegisterClass", "*", ">", "WebAssemblyTargetLowering", "::", "getRegForInlineAsmConstraint", "(", "const", "TargetRegisterInfo", "*", "TRI", ",", "StringRef", "Constraint", ",", "MVT", "VT", ")", "c...
[ "Given", "a", "physical", "register", "constraint", "(", "e.g", "." ]
[ "WebAssembly", "WebAssembly", "1", "0", "MVT::iPTR", "\"Pointer MVT not expected here\"", "128", "0U", "WebAssembly::V128RegClass", "32", "0U", "WebAssembly::I32RegClass", "64", "0U", "WebAssembly::I64RegClass" ]
WebAssemblyISelLowering (2)1
getRegForInlineAsmConstraint
WebAssembly
Virtual ISA
LLVM
10,095
183
1
[]
[ "<s>", "bool", "mep_mov_ok", "(", "rtx", "*", "operands", ",", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ")", "{", "int", "i", ";", "fprintf", "(", "stderr", ",", "\"mep_mov_ok %s %c=%c\\n\"", ",", "mode_name", "[", "mode", "]", ",", "mep_section_tag", "(", ...
[ "Cases", "where", "the", "pattern", "ca", "n't", "be", "made", "to", "use", "at", "all", "." ]
[ "mep", "\"mep_mov_ok %s %c=%c\\n\"", "0", "1", "0", "1", "1", "0", "1", "\" - no, f\\n\"", "1", "\" - no, bt\\n\"", "0", "2", "0", "\" - ok\\n\"", "\" - no, no gen reg\\n\"" ]
mep
mep_mov_ok
mep
CPU
GCC
10,096
227
1
[]
[ "<s>", "bool", "gpr_or_gpr_p", "(", "rtx", "op0", ",", "rtx", "op1", ")", "{", "return", "(", "(", "REG_P", "(", "op0", ")", "&&", "INT_REGNO_P", "(", "REGNO", "(", "op0", ")", ")", ")", "||", "(", "REG_P", "(", "op1", ")", "&&", "INT_REGNO_P", "...
[ "Return", "true", "if", "either", "operand", "is", "a", "general", "purpose", "register", "." ]
[ "powerpcspe" ]
powerpcspe
gpr_or_gpr_p
powerpcspe
CPU
GCC
10,097
44
1
[]
[ "<s>", "unsigned", "HOST_WIDE_INT", "s390_extract_part", "(", "rtx", "op", ",", "machine_mode", "mode", ",", "int", "def", ")", "{", "unsigned", "HOST_WIDE_INT", "value", "=", "0", ";", "int", "max_parts", "=", "HOST_BITS_PER_WIDE_INT", "/", "GET_MODE_BITSIZE", ...
[ "Return", "the", "part", "of", "op", "which", "has", "a", "value", "different", "from", "def", ".", "The", "size", "of", "the", "part", "is", "determined", "by", "mode", ".", "Use", "this", "function", "only", "if", "you", "already", "know", "that", "o...
[ "s390", "0", "1", "0", "0" ]
s390
s390_extract_part
s390
MPU
GCC
10,098
110
1
[]
[ "<s>", "static", "bool", "rs6000_legitimate_combined_insn", "(", "rtx_insn", "*", "insn", ")", "{", "int", "icode", "=", "INSN_CODE", "(", "insn", ")", ";", "if", "(", "icode", "!=", "CODE_FOR_nothing", "&&", "(", "icode", "==", "CODE_FOR_bdz_si", "||", "ico...
[ "Implement", "the", "TARGET_LEGITIMATE_COMBINED_INSN", "hook", "." ]
[ "rs6000" ]
rs6000
rs6000_legitimate_combined_insn
rs6000
CPU
GCC
10,099
64
1
[]