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>", "unsigned", "postOffset", "(", "unsigned", "LogAlign", "=", "0", ")", "const", "{", "unsigned", "PO", "=", "Offset", "+", "Size", ";", "if", "(", "!", "LogAlign", ")", "return", "PO", ";", "return", "PO", "+", "UnknownPadding", "(", "LogAlign", ...
[ "Compute", "the", "offset", "immediately", "following", "this", "block", "." ]
[ "AArch64", "0" ]
AArch64BranchFixupPass1
postOffset
AArch64
CPU
LLVM
19,700
38
1
[]
[ "<s>", "bool", "ix86_agi_dependent", "(", "rtx_insn", "*", "set_insn", ",", "rtx_insn", "*", "use_insn", ")", "{", "int", "i", ";", "extract_insn_cached", "(", "use_insn", ")", ";", "for", "(", "i", "=", "recog_data", ".", "n_operands", "-", "1", ";", "i...
[ "Return", "true", "iff", "USE_INSN", "has", "a", "memory", "address", "with", "operands", "set", "by", "SET_INSN", "." ]
[ "i386", "1", "0", "0", "0" ]
x86-tune-sched
ix86_agi_dependent
i386
CPU
GCC
19,701
186
1
[]
[ "<s>", "static", "void", "add_to_sp", "(", "rtx", "spreg", ",", "HOST_WIDE_INT", "value", ",", "int", "frame", ")", "{", "if", "(", "value", "==", "0", ")", "return", ";", "if", "(", "value", ">", "120", "||", "value", "<", "-", "120", ")", "{", ...
[ "Generate", "efficient", "code", "to", "add", "a", "value", "to", "the", "frame", "pointer", ".", "We", "can", "use", "P1", "as", "a", "scratch", "register", ".", "Set", "RTX_FRAME_RELATED_P", "on", "the", "generated", "insns", "if", "FRAME", "is", "nonzer...
[ "bfin", "0", "120", "120", "1", "1", "60", "60", "60", "60", "1", "0" ]
bfin2
add_to_sp
bfin
DSP
GCC
19,702
187
1
[]
[ "<s>", "static", "rtx", "nds32_expand_builtin_null_ftype_reg", "(", "enum", "insn_code", "icode", ",", "tree", "exp", ",", "rtx", "target", ")", "{", "struct", "expand_operand", "ops", "[", "1", "]", ";", "tree", "arg0", ";", "rtx", "value0", ";", "arg0", ...
[ "Function", "to", "expand", "builtin", "function", "for", "'", "[", "(", "unspec_volatile", "[", "(", "reg", ")", "]", ")", "]", "'", "." ]
[ "nds32", "1", "0", "0", "1", "\"invalid argument to built-in function\"" ]
nds32-intrinsic2
nds32_expand_builtin_null_ftype_reg
nds32
CPU
GCC
19,703
84
1
[]
[ "<s>", "static", "bool", "cdx_mov_immed", "(", "rtx", "op", ")", "{", "if", "(", "CONST_INT_P", "(", "op", ")", ")", "{", "HOST_WIDE_INT", "ival", "=", "INTVAL", "(", "op", ")", ";", "return", "(", "(", "ival", ">=", "0", "&&", "ival", "<=", "124",...
[ "Returns", "true", "if", "OP", "is", "within", "range", "of", "CDX", "movi.n", "immediates", "." ]
[ "nios2", "0", "124", "0xff", "2", "1" ]
nios2
cdx_mov_immed
nios2
MPU
GCC
19,704
56
1
[]
[ "<s>", "static", "poly_uint64", "aarch64_vectorize_preferred_vector_alignment", "(", "const_tree", "type", ")", "{", "if", "(", "aarch64_sve_data_mode_p", "(", "TYPE_MODE", "(", "type", ")", ")", ")", "{", "HOST_WIDE_INT", "result", ";", "if", "(", "!", "GET_MODE_...
[ "Implement", "target", "hook", "TARGET_VECTORIZE_PREFERRED_VECTOR_ALIGNMENT", "." ]
[ "aarch64" ]
aarch641
aarch64_vectorize_preferred_vector_alignment
aarch64
CPU
GCC
19,705
66
1
[]
[ "<s>", "bool", "ARMTargetLowering", "::", "mayBeEmittedAsTailCall", "(", "const", "CallInst", "*", "CI", ")", "const", "{", "if", "(", "!", "Subtarget", "->", "supportsTailCall", "(", ")", ")", "return", "false", ";", "auto", "Attr", "=", "CI", "->", "getP...
[ "Return", "true", "if", "the", "target", "may", "be", "able", "emit", "the", "call", "instruction", "as", "a", "tail", "call", "." ]
[ "ARM", "ARM", "\"disable-tail-calls\"", "\"true\"" ]
ARMISelLowering (2)6
mayBeEmittedAsTailCall
ARM
CPU
LLVM
19,706
66
1
[]
[ "<s>", "const", "AVRRegisterInfo", "*", "getRegisterInfo", "(", ")", "const", "override", "{", "return", "&", "InstrInfo", ".", "getRegisterInfo", "(", ")", ";", "}", "</s>" ]
[ "getRegisterInfo", "-", "TargetInstrInfo", "is", "a", "superset", "of", "MRegister", "info", "." ]
[ "AVR", "AVR" ]
AVRSubtarget
getRegisterInfo
AVR
MPU
LLVM
19,707
18
1
[]
[ "<s>", "SDValue", "XCoreTargetLowering", "::", "LowerCallResult", "(", "SDValue", "Chain", ",", "SDValue", "InFlag", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "isVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "InputArg", ">", "&", "...
[ "LowerCallResult", "-", "Lower", "the", "result", "values", "of", "an", "ISD", ":", ":CALL", "into", "the", "appropriate", "copies", "out", "of", "appropriate", "physical", "registers", "." ]
[ "XCore", "XCore", "ISD::InputArg", "16", "XCore", "0", "1", "2", "0" ]
XCoreISelLowering15
LowerCallResult
XCore
MPU
LLVM
19,708
164
1
[]
[ "<s>", "void", "m68hc11_output_swap", "(", "rtx", "insn", "ATTRIBUTE_UNUSED", ",", "rtx", "operands", "[", "]", ")", "{", "if", "(", "X_REG_P", "(", "operands", "[", "1", "]", ")", "||", "X_REG_P", "(", "operands", "[", "0", "]", ")", ")", "{", "if",...
[ "Code", "generation", "." ]
[ "m68hc11", "1", "0", "0", "\"xgdx\"", "0", "\"xgdy\"" ]
m68hc111
m68hc11_output_swap
m68hc11
MPU
GCC
19,709
201
1
[]
[ "<s>", "static", "void", "rs6000_xcoff_select_rtx_section", "(", "enum", "machine_mode", "mode", ",", "rtx", "x", ",", "unsigned", "HOST_WIDE_INT", "align", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "ASM_OUTPUT_SPECIAL_POOL_ENTRY_P", "(", "x", ",", "mode", ")", ")"...
[ "Select", "section", "for", "constant", "in", "constant", "pool", ".", "On", "RS/6000", ",", "all", "constants", "are", "in", "the", "private", "read-only", "data", "area", ".", "However", ",", "if", "this", "is", "being", "placed", "in", "the", "TOC", "...
[ "rs6000" ]
rs60003
rs6000_xcoff_select_rtx_section
rs6000
CPU
GCC
19,710
36
1
[]
[ "<s>", "char", "*", "neon_output_shift_immediate", "(", "const", "char", "*", "mnem", ",", "char", "sign", ",", "rtx", "*", "op2", ",", "machine_mode", "mode", ",", "int", "quad", ",", "bool", "isleftshift", ")", "{", "int", "width", ",", "is_valid", ";"...
[ "Return", "a", "string", "suitable", "for", "output", "of", "Neon", "immediate", "shift", "operation", "(", "VSHR", "or", "VSHL", ")", "MNEM", "." ]
[ "arm", "40", "0", "\"%s.%c%d\\t%%q0, %%q1, %%2\"", "\"%s.%c%d\\t%%P0, %%P1, %%2\"" ]
arm
neon_output_shift_immediate
arm
CPU
GCC
19,711
97
1
[]
[ "<s>", "static", "void", "choose_basereg", "(", "HOST_WIDE_INT", "cfa_offset", ",", "rtx", "&", "base_reg", ",", "HOST_WIDE_INT", "&", "base_offset", ",", "unsigned", "int", "align_reqested", ",", "unsigned", "int", "*", "align", ")", "{", "const", "struct", "...
[ "Choose", "a", "base", "register", "based", "upon", "alignment", "requested", ",", "speed", "and/or", "size", "." ]
[ "i386", "0", "16", "0" ]
i386
choose_basereg
i386
CPU
GCC
19,712
386
1
[]
[ "<s>", "bool", "fixupNeedsRelaxation", "(", "const", "MCFixup", "&", "Fixup", ",", "uint64_t", "Value", ",", "const", "MCRelaxableFragment", "*", "DF", ",", "const", "MCAsmLayout", "&", "Layout", ")", "const", "{", "llvm_unreachable", "(", "\"fixupNeedsRelaxation(...
[ "Simple", "predicate", "for", "targets", "where", "!", "Resolved", "implies", "requiring", "relaxation", "." ]
[ "Z80", "\"fixupNeedsRelaxation() unimplemeted\"" ]
Z80AsmBackend
fixupNeedsRelaxation
Z80
MPU
LLVM
19,713
29
1
[]
[ "<s>", "static", "HOST_WIDE_INT", "arg_area_size", "(", "void", ")", "{", "if", "(", "current_function_outgoing_args_size", ")", "{", "if", "(", "current_function_outgoing_args_size", ">=", "FIXED_STACK_AREA", ")", "return", "current_function_outgoing_args_size", ";", "el...
[ "Return", "the", "number", "of", "bytes", "we", "must", "reserve", "for", "outgoing", "arguments", "in", "the", "current", "function", "'s", "stack", "frame", "." ]
[ "bfin", "0" ]
bfin2
arg_area_size
bfin
DSP
GCC
19,714
30
1
[]
[ "<s>", "void", "v850_output_aligned_bss", "(", "FILE", "*", "file", ",", "tree", "decl", ",", "const", "char", "*", "name", ",", "unsigned", "HOST_WIDE_INT", "size", ",", "int", "align", ")", "{", "switch", "(", "v850_get_data_area", "(", "decl", ")", ")",...
[ "A", "version", "of", "asm_output_aligned_bss", "(", ")", "that", "copes", "with", "the", "special", "data", "areas", "of", "the", "v850", "." ]
[ "v850", "1" ]
v8504
v850_output_aligned_bss
v850
MPU
GCC
19,715
113
1
[]
[ "<s>", "const", "char", "*", "host_detect_local_cpu", "(", "int", "argc", ",", "const", "char", "*", "*", "argv", ")", "{", "const", "char", "*", "cpu", "=", "NULL", ";", "char", "*", "ret", "=", "NULL", ";", "char", "buf", "[", "128", "]", ";", ...
[ "This", "will", "be", "called", "by", "the", "spec", "parser", "in", "gcc.cc", "when", "it", "sees", "a", "%", ":", "local_cpu_detect", "(", "args", ")", "construct", ".", "Currently", "it", "will", "be", "called", "with", "either", "``", "cpu", "''", ...
[ "mips", "128", "1", "0", "\"arch\"", "0", "0", "\"tune\"", "\"/proc/cpuinfo\"", "\"r\"", "\"cpu model\"", "\"Godson2 V0.2\"", "\"Loongson-2 V0.2\"", "\"Loongson-2E\"", "\"loongson2e\"", "\"Godson2 V0.3\"", "\"Loongson-2 V0.3\"", "\"Loongson-2F\"", "\"loongson2f\"", "\"Godson3 V...
driver-native1
host_detect_local_cpu
mips
CPU
GCC
19,716
370
1
[]
[ "<s>", "const", "char", "*", "mn10300_output_add", "(", "rtx", "operands", "[", "3", "]", ",", "bool", "need_flags", ")", "{", "rtx", "dest", ",", "src1", ",", "src2", ";", "unsigned", "int", "dest_regnum", ",", "src1_regnum", ",", "src2_regnum", ";", "e...
[ "Output", "an", "addition", "operation", "." ]
[ "mn10300", "3", "0", "1", "2", "\"inc %0\"", "4", "\"inc4 %0\"", "\"add %2,%0\"", "\"add %2,%0\"", "\"add %2,%0\"", "\"add %1,%0\"", "\"add %2,%1,%0\"", "\"mov %1,%0\\n\\tadd %2,%0\"", "\"mov %2,%0\\n\\tadd %1,%0\"", "\"add %2,%1,%0\"", "\"mov %1,%0\\n\\tadd %2,%0\"", "\"mov %2,%0\...
mn10300
mn10300_output_add
mn10300
MPU
GCC
19,717
257
1
[]
[ "<s>", "bool", "function_resolver", "::", "require_vector_type", "(", "unsigned", "int", "argno", ",", "vector_type_index", "type", ")", "{", "tree", "expected", "=", "acle_vector_types", "[", "0", "]", "[", "type", "]", ";", "tree", "actual", "=", "get_argume...
[ "Require", "argument", "ARGNO", "to", "have", "vector", "type", "TYPE", ",", "in", "cases", "where", "this", "requirement", "holds", "for", "all", "uses", "of", "the", "function", ".", "Return", "true", "if", "the", "argument", "has", "the", "right", "form...
[ "aarch64", "0", "\"passing %qT to argument %d of %qE, which\"", "\" expects %qT\"", "1" ]
aarch64-sve-builtins1
require_vector_type
aarch64
CPU
GCC
19,718
78
1
[]
[ "<s>", "virtual", "const", "SystemZRegisterInfo", "&", "getRegisterInfo", "(", ")", "const", "{", "return", "RI", ";", "}", "</s>" ]
[ "getRegisterInfo", "-", "TargetInstrInfo", "is", "a", "superset", "of", "MRegister", "info", "." ]
[ "SystemZ", "SystemZ" ]
SystemZInstrInfo12
getRegisterInfo
SystemZ
CPU
LLVM
19,719
13
1
[]
[ "<s>", "int", "cris_legitimate_pic_operand", "(", "rtx", "x", ")", "{", "return", "cris_valid_pic_const", "(", "x", ",", "true", ")", ";", "}", "</s>" ]
[ "The", "LEGITIMATE_PIC_OPERAND_P", "worker", "." ]
[ "cris" ]
cris
cris_legitimate_pic_operand
cris
MPU
GCC
19,720
16
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)1
LowerOperation
PowerPC
CPU
LLVM
19,721
444
1
[]
[ "<s>", "static", "rtx", "stv_expand_builtin", "(", "insn_code", "icode", ",", "rtx", "*", "op", ",", "machine_mode", "tmode", ",", "machine_mode", "smode", ")", "{", "op", "[", "2", "]", "=", "copy_to_mode_reg", "(", "Pmode", ",", "op", "[", "2", "]", ...
[ "Expand", "an", "AltiVec", "vector", "store", "builtin", ",", "and", "return", "the", "expanded", "rtx", "." ]
[ "rs6000", "2", "2", "1", "2", "1", "1", "2", "1", "16", "0", "0", "0", "0", "0", "1", "2", "1", "1", "2", "1", "0", "1", "0", "0", "0", "1", "2", "1", "1", "2", "1", "0" ]
rs6000-builtin1
stv_expand_builtin
rs6000
CPU
GCC
19,722
439
1
[]
[ "<s>", "static", "section", "*", "loongarch_select_rtx_section", "(", "machine_mode", "mode", ",", "rtx", "x", ",", "unsigned", "HOST_WIDE_INT", "align", ")", "{", "if", "(", "loongarch_rtx_constant_in_small_data_p", "(", "mode", ")", ")", "return", "get_named_secti...
[ "Implement", "TARGET_ASM_SELECT_RTX_SECTION", "." ]
[ "loongarch", "\".sdata\"", "0" ]
loongarch
loongarch_select_rtx_section
loongarch
CPU
GCC
19,723
44
1
[]
[ "<s>", "bool", "SPIRVPreLegalizer", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "const", "SPIRVSubtarget", "&", "ST", "=", "MF", ".", "getSubtarget", "<", "SPIRVSubtarget", ">", "(", ")", ";", "SPIRVGlobalRegistry", "*", "GR", "=...
[ "runOnMachineFunction", "-", "Emit", "the", "function", "body", "." ]
[ "SPIRV", "SPIRV", "SPIRV", "SPIRV", "SPIRV", "SPIRV" ]
SPIRVPreLegalizer1
runOnMachineFunction
SPIRV
Virtual ISA
LLVM
19,724
99
1
[]
[ "<s>", "SDValue", "PPCTargetLowering", "::", "getRecipEstimate", "(", "SDValue", "Operand", ",", "DAGCombinerInfo", "&", "DCI", ",", "unsigned", "&", "RefinementSteps", ")", "const", "{", "EVT", "VT", "=", "Operand", ".", "getValueType", "(", ")", ";", "if", ...
[ "Return", "a", "reciprocal", "estimate", "value", "for", "the", "input", "operand", "." ]
[ "PowerPC", "PPC", "MVT::f32", "MVT::f64", "MVT::v4f32", "MVT::v2f64", "1", "3", "MVT::f64", "PPCISD::FRE" ]
PPCISelLowering167
getRecipEstimate
PowerPC
CPU
LLVM
19,725
141
1
[]
[ "<s>", "bool", "SparcAsmParser", "::", "MatchAndEmitInstruction", "(", "SMLoc", "IDLoc", ",", "unsigned", "&", "Opcode", ",", "OperandVector", "&", "Operands", ",", "MCStreamer", "&", "Out", ",", "uint64_t", "&", "ErrorInfo", ",", "bool", "MatchingInlineAsm", ")...
[ "MatchAndEmitInstruction", "-", "Recognize", "a", "series", "of", "operands", "of", "a", "parsed", "instruction", "as", "an", "actual", "MCInst", "and", "emit", "it", "to", "the", "specified", "MCStreamer", "." ]
[ "Sparc", "Sparc", "8", "\"instruction requires a CPU feature not currently enabled\"", "0ULL", "\"too few operands for instruction\"", "Sparc", "\"invalid operand for instruction\"", "\"invalid instruction mnemonic\"" ]
SparcAsmParser43
MatchAndEmitInstruction
Sparc
CPU
LLVM
19,726
188
1
[]
[ "<s>", "static", "bool", "alpha_in_small_data_p", "(", "tree", "exp", ")", "{", "if", "(", "TREE_CODE", "(", "exp", ")", "==", "STRING_CST", ")", "return", "false", ";", "if", "(", "TREE_CODE", "(", "exp", ")", "==", "FUNCTION_DECL", ")", "return", "fals...
[ "Return", "true", "if", "EXP", "should", "be", "placed", "in", "the", "small", "data", "section", "." ]
[ "alpha", "\".sdata\"", "0", "\".sbss\"", "0", "0" ]
alpha3
alpha_in_small_data_p
alpha
MPU
GCC
19,727
119
1
[]
[ "<s>", "unsigned", "MipsSEInstrInfo", "::", "getOppositeBranchOpc", "(", "unsigned", "Opc", ")", "const", "{", "switch", "(", "Opc", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Illegal opcode!\"", ")", ";", "case", "Mips", "::", "BEQ", ":", "return",...
[ "getOppositeBranchOpc", "-", "Return", "the", "inverse", "of", "the", "specified", "opcode", ",", "e.g", "." ]
[ "Mips", "Mips", "\"Illegal opcode!\"", "Mips::BEQ", "Mips::BNE", "Mips::BEQ_MM", "Mips::BNE_MM", "Mips::BNE", "Mips::BEQ", "Mips::BNE_MM", "Mips::BEQ_MM", "Mips::BGTZ", "Mips::BLEZ", "Mips::BGEZ", "Mips::BLTZ", "Mips::BLTZ", "Mips::BGEZ", "Mips::BLEZ", "Mips::BGTZ", "Mips::BEQ6...
MipsSEInstrInfo12
getOppositeBranchOpc
Mips
CPU
LLVM
19,728
444
1
[]
[ "<s>", "void", "TriCorePassConfig", "::", "addPreEmitPass", "(", ")", "{", "}", "</s>" ]
[ "This", "pass", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "machine", "code", "is", "emitted", "." ]
[ "TriCore", "TriCore" ]
TriCoreTargetMachine
addPreEmitPass
TriCore
MPU
LLVM
19,729
8
1
[]
[ "<s>", "int", "aarch_forward_to_shift_is_not_shifted_reg", "(", "rtx_insn", "*", "producer", ",", "rtx_insn", "*", "consumer", ")", "{", "rtx", "value", ",", "op", ";", "rtx", "early_op", ";", "if", "(", "!", "arm_get_set_operands", "(", "producer", ",", "cons...
[ "Return", "nonzero", "if", "the", "CONSUMER", "instruction", "is", "some", "sort", "of", "arithmetic", "or", "logic", "+", "shift", "operation", ",", "and", "the", "register", "we", "are", "writing", "in", "PRODUCER", "is", "not", "used", "in", "a", "regis...
[ "arm", "0", "0", "1", "1", "0" ]
aarch-common3
aarch_forward_to_shift_is_not_shifted_reg
arm
CPU
GCC
19,730
105
1
[]
[ "<s>", "const", "PPCSubtarget", "*", "PPCTargetMachine", "::", "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", "." ]
[ "PowerPC", "PPC", "PPC", "\"target-cpu\"", "\"target-features\"", "\"use-soft-float\"", "\"true\"", "\"-hard-float\"", "\",-hard-float\"", "PPC" ]
PPCTargetMachine5
getSubtargetImpl
PowerPC
CPU
LLVM
19,731
173
1
[]
[ "<s>", "bool", "FineIBTHashesSection", "::", "runOnModule", "(", "Module", "&", "M", ")", "{", "if", "(", "!", "M", ".", "getModuleFlag", "(", "\"cf-protection-fine\"", ")", ")", "return", "false", ";", "const", "TargetMachine", "*", "TM", "=", "&", "getAn...
[ "runOnModule", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "process", "the", "module", "being", "operated", "on", "." ]
[ "X86", "\"cf-protection-fine\"", "\"__ibt_fine_plt\"" ]
X86FineIBTHashesSection
runOnModule
X86
CPU
LLVM
19,732
130
1
[]
[ "<s>", "int", "vms_c_get_vms_ver", "(", "void", ")", "{", "return", "VMS_DEFAULT_VMS_VER", ";", "}", "</s>" ]
[ "The", "default", "value", "for", "_VMS_VER", "macro", "." ]
[ "vms" ]
vms-c
vms_c_get_vms_ver
vms
Virtual ISA
GCC
19,733
10
1
[]
[ "<s>", "static", "int", "riscv_register_priority", "(", "int", "regno", ")", "{", "if", "(", "riscv_compressed_reg_p", "(", "regno", ")", ")", "return", "1", ";", "return", "0", ";", "}", "</s>" ]
[ "Return", "a", "register", "priority", "for", "hard", "reg", "REGNO", "." ]
[ "riscv", "1", "0" ]
riscv
riscv_register_priority
riscv
CPU
GCC
19,734
22
1
[]
[ "<s>", "int", "msp430_initial_elimination_offset", "(", "int", "from", ",", "int", "to", ")", "{", "int", "rv", "=", "0", ";", "msp430_compute_frame_info", "(", ")", ";", "switch", "(", "to", ")", "{", "case", "STACK_POINTER_REGNUM", ":", "rv", "+=", "cfun...
[ "Implements", "INITIAL_ELIMINATION_OFFSET", "." ]
[ "msp430", "0", "4", "2", "4", "2" ]
msp430
msp430_initial_elimination_offset
msp430
MPU
GCC
19,735
115
1
[]
[ "<s>", "static", "SDValue", "getVectorShuffle", "(", "SelectionDAG", "&", "DAG", ",", "EVT", "VT", ",", "const", "SDLoc", "&", "dl", ",", "SDValue", "V1", ",", "SDValue", "V2", ",", "ArrayRef", "<", "int", ">", "Mask", ")", "{", "if", "(", "(", "ISD"...
[ "Return", "an", "ISD", ":", ":VECTOR_SHUFFLE", "node", "." ]
[ "X86", "ISD::isBuildVectorOfConstantSDNodes", "ISD::isBuildVectorOfConstantSDNodes", "0", "0" ]
X86ISelLowering100
getVectorShuffle
X86
CPU
LLVM
19,736
201
1
[]
[ "<s>", "static", "bool", "mn10300_hard_regno_mode_ok", "(", "unsigned", "int", "regno", ",", "machine_mode", "mode", ")", "{", "if", "(", "REGNO_REG_CLASS", "(", "regno", ")", "==", "FP_REGS", "||", "REGNO_REG_CLASS", "(", "regno", ")", "==", "FP_ACC_REGS", ")...
[ "Implement", "TARGET_HARD_REGNO_MODE_OK", "." ]
[ "mn10300", "1", "0", "1", "0", "4", "4" ]
mn10300
mn10300_hard_regno_mode_ok
mn10300
MPU
GCC
19,737
122
1
[]
[ "<s>", "SDValue", "X86TargetLowering", "::", "LowerAsmOutputForConstraint", "(", "SDValue", "&", "Chain", ",", "SDValue", "&", "Flag", ",", "const", "SDLoc", "&", "DL", ",", "const", "AsmOperandInfo", "&", "OpInfo", ",", "SelectionDAG", "&", "DAG", ")", "const...
[ "Handle", "Lowering", "flag", "assembly", "outputs", "." ]
[ "X86", "X86", "X86::CondCode", "X86::COND_INVALID", "8", "\"Flag output operand is of invalid type\"", "X86::EFLAGS", "MVT::i32", "1", "X86::EFLAGS", "MVT::i32", "ISD::ZERO_EXTEND" ]
X86ISelLowering (2)5
LowerAsmOutputForConstraint
X86
CPU
LLVM
19,738
186
1
[]
[ "<s>", "SMLoc", "getEndLoc", "(", ")", "const", "override", "{", "return", "EndLoc", ";", "}", "</s>" ]
[ "getEndLoc", "-", "Get", "the", "location", "of", "the", "last", "token", "of", "this", "operand", "." ]
[ "LoongArch" ]
LoongArchAsmParser
getEndLoc
LoongArch
CPU
LLVM
19,739
11
1
[]
[ "<s>", "MCInst", "Thumb1InstrInfo", "::", "getNop", "(", ")", "const", "{", "return", "MCInstBuilder", "(", "ARM", "::", "tMOVr", ")", ".", "addReg", "(", "ARM", "::", "R8", ")", ".", "addReg", "(", "ARM", "::", "R8", ")", ".", "addImm", "(", "ARMCC"...
[ "Return", "the", "noop", "instruction", "to", "use", "for", "a", "noop", "." ]
[ "ARM", "ARM::tMOVr", "ARM::R8", "ARM::R8", "ARMCC::AL", "0" ]
Thumb1InstrInfo20
getNop
ARM
CPU
LLVM
19,740
43
1
[]
[ "<s>", "machine_mode", "frv_select_cc_mode", "(", "enum", "rtx_code", "code", ",", "rtx", "x", ",", "rtx", "y", ")", "{", "if", "(", "GET_MODE_CLASS", "(", "GET_MODE", "(", "x", ")", ")", "==", "MODE_FLOAT", ")", "return", "CC_FPmode", ";", "switch", "("...
[ "Implement", "SELECT_CC_MODE", ".", "Choose", "CC_FP", "for", "floating-point", "comparisons", ",", "CC_NZ", "for", "comparisons", "against", "zero", "in", "which", "a", "single", "Z", "or", "N", "flag", "test", "is", "enough", ",", "CC_UNS", "for", "other", ...
[ "frv" ]
frv
frv_select_cc_mode
frv
VLIW
GCC
19,741
83
1
[]
[ "<s>", "uint64_t", "MipsFrameLowering", "::", "estimateStackSize", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "TargetRegisterInfo", "&", "TRI", ...
[ "Estimate", "and", "return", "the", "size", "of", "the", "stack", "frame", "." ]
[ "Mips", "Mips", "0", "0", "0" ]
MipsFrameLowering22
estimateStackSize
Mips
CPU
LLVM
19,742
140
1
[]
[ "<s>", "const", "uint32_t", "*", "PPCRegisterInfo", "::", "getCallPreservedMask", "(", "CallingConv", "::", "ID", "CC", ")", "const", "{", "if", "(", "Subtarget", ".", "isDarwinABI", "(", ")", ")", "return", "Subtarget", ".", "isPPC64", "(", ")", "?", "(",...
[ "Return", "a", "mask", "of", "call-preserved", "registers", "for", "the", "given", "calling", "convention", "on", "the", "current", "function", "." ]
[ "PowerPC", "PPC", "PPC", "PPC" ]
PPCRegisterInfo (2)
getCallPreservedMask
PowerPC
CPU
LLVM
19,743
85
1
[]
[ "<s>", "const", "MCFixupKindInfo", "&", "getFixupKindInfo", "(", "MCFixupKind", "Kind", ")", "const", "override", "{", "const", "static", "MCFixupKindInfo", "Infos", "[", "AAP", "::", "NumTargetFixupKinds", "]", "=", "{", "{", "\"fixup_AAP_NONE\"", ",", "0", ","...
[ "Get", "information", "on", "a", "fixup", "kind", "." ]
[ "AAP", "AAP::NumTargetFixupKinds", "\"fixup_AAP_NONE\"", "0", "16", "0", "\"fixup_AAP_BR16\"", "0", "9", "0", "\"fixup_AAP_BR32\"", "0", "9", "0", "\"fixup_AAP_BRCC16\"", "6", "3", "0", "\"fixup_AAP_BRCC32\"", "6", "3", "0", "\"fixup_AAP_BAL16\"", "0", "3", "0", "...
AAPAsmBackend
getFixupKindInfo
AAP
MPU
LLVM
19,744
202
1
[]
[ "<s>", "bool", "X86AsmBackend", "::", "writeNopData", "(", "uint64_t", "Count", ",", "MCObjectWriter", "*", "OW", ")", "const", "{", "static", "const", "uint8_t", "Nops", "[", "10", "]", "[", "10", "]", "=", "{", "{", "0x90", "}", ",", "{", "0x66", "...
[ "Write", "an", "(", "optimal", ")", "nop", "sequence", "of", "Count", "bytes", "to", "the", "given", "output", "." ]
[ "X86", "X86", "10", "10", "0x90", "0x66", "0x90", "0x0f", "0x1f", "0x00", "0x0f", "0x1f", "0x40", "0x00", "0x0f", "0x1f", "0x44", "0x00", "0x00", "0x66", "0x0f", "0x1f", "0x44", "0x00", "0x00", "0x0f", "0x1f", "0x80", "0x00", "0x00", "0x00", "0x00", "0...
X86AsmBackend20
writeNopData
X86
CPU
LLVM
19,745
337
1
[]
[ "<s>", "EVT", "MipsTargetLowering", "::", "getTypeForExtReturn", "(", "LLVMContext", "&", "Context", ",", "EVT", "VT", ",", "ISD", "::", "NodeType", ")", "const", "{", "bool", "Cond", "=", "!", "Subtarget", ".", "isABI_O32", "(", ")", "&&", "VT", ".", "g...
[ "Return", "the", "type", "that", "should", "be", "used", "to", "zero", "or", "sign", "extend", "a", "zeroext/signext", "integer", "return", "value", "." ]
[ "Mips", "Mips", "ISD::NodeType", "32", "MVT::i64", "MVT::i32" ]
MipsISelLowering (2)4
getTypeForExtReturn
Mips
CPU
LLVM
19,746
67
1
[]
[ "<s>", "static", "void", "ix86_function_arg_advance", "(", "cumulative_args_t", "cum_v", ",", "machine_mode", "mode", ",", "const_tree", "type", ",", "bool", "named", ")", "{", "CUMULATIVE_ARGS", "*", "cum", "=", "get_cumulative_args", "(", "cum_v", ")", ";", "H...
[ "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", ".",...
[ "i386", "0", "0" ]
i3865
ix86_function_arg_advance
i386
CPU
GCC
19,747
252
1
[]
[ "<s>", "bool", "valid", "(", ")", "const", "{", "return", "Ref", ".", "size", "(", ")", ">=", "sizeof", "(", "Item", ")", "&&", "Ref", ".", "size", "(", ")", ">=", "getItemPadSize", "(", ")", ";", "}", "</s>" ]
[ "valid", "-", "Return", "true", "if", "iterator", "is", "at", "an", "overlap", "." ]
[ "AMDGPU" ]
CodeObject
valid
AMDGPU
GPU
LLVM
19,748
29
1
[]
[ "<s>", "static", "unsigned", "int", "find_drap_reg", "(", "void", ")", "{", "tree", "decl", "=", "cfun", "->", "decl", ";", "if", "(", "TARGET_64BIT", ")", "{", "if", "(", "DECL_STATIC_CHAIN", "(", "decl", ")", "||", "cfun", "->", "machine", "->", "no_...
[ "Find", "an", "available", "register", "to", "be", "used", "as", "dynamic", "realign", "argument", "pointer", "regsiter", ".", "Such", "a", "register", "will", "be", "written", "in", "prologue", "and", "used", "in", "begin", "of", "body", ",", "so", "it", ...
[ "i386", "2", "0" ]
i386
find_drap_reg
i386
CPU
GCC
19,749
120
1
[]
[ "<s>", "bool", "LC3RegisterInfo", "::", "requiresRegisterScavenging", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "return", "true", ";", "}", "</s>" ]
[ "Returns", "true", "if", "the", "target", "requires", "(", "and", "can", "make", "use", "of", ")", "the", "register", "scavenger", "." ]
[ "LC3", "LC3" ]
LC3RegisterInfo
requiresRegisterScavenging
LC3
CPU
LLVM
19,750
16
1
[]
[ "<s>", "static", "bool", "mep_legitimate_constant_p", "(", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ",", "rtx", "x", ")", "{", "if", "(", "GET_CODE", "(", "x", ")", "==", "SYMBOL_REF", "&&", "(", "reload_in_progress", "||", "reload_completed", ")", ")", "{"...
[ "Implement", "TARGET_LEGITIMATE_CONSTANT_P", "." ]
[ "mep", "1" ]
mep
mep_legitimate_constant_p
mep
CPU
GCC
19,751
52
1
[]
[ "<s>", "MipsSubtarget", "::", "MipsSubtarget", "(", "const", "std", "::", "string", "&", "TT", ",", "const", "std", "::", "string", "&", "CPU", ",", "const", "std", "::", "string", "&", "FS", ",", "bool", "little", ",", "Reloc", "::", "Model", "RM", ...
[ "This", "constructor", "initializes", "the", "data", "members", "to", "match", "that", "of", "the", "specified", "triple", "." ]
[ "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "\"mips32\"", "Mips", "Mips", "Mips", "Mips", "Mips", "\"Invalid Arch & ABI pair.\"", "\"linux\"" ]
MipsSubtarget9
MipsSubtarget
Mips
CPU
LLVM
19,752
255
1
[]
[ "<s>", "bool", "TGSICFGStructurizer", "::", "prepare", "(", ")", "{", "bool", "Changed", "=", "false", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"TGSICFGStructurizer::prepare\\n\"", ";", ")", ";", "orderBlocks", "(", "FuncRep", ")", ";", "SmallVector", "<...
[ "prepare", "-", "Reset", "state", "and", "prepare", "for", "a", "new", "spill", "placement", "computation", "." ]
[ "TGSI", "TGSI", "\"TGSICFGStructurizer::prepare\\n\"", "0", "2", "2" ]
TGSICFGStructurizer
prepare
TGSI
Virtual ISA
LLVM
19,753
220
1
[]
[ "<s>", "void", "MetadataStreamerV3", "::", "verify", "(", "StringRef", "HSAMetadataString", ")", "const", "{", "errs", "(", ")", "<<", "\"AMDGPU HSA Metadata Parser Test: \"", ";", "std", "::", "shared_ptr", "<", "msgpack", "::", "Node", ">", "FromHSAMetadataString"...
[ "Check", "if", "this", "register", "bank", "is", "valid", "." ]
[ "AMDGPU", "\"AMDGPU HSA Metadata Parser Test: \"", "\"FAIL\\n\"", "\"PASS\"", "\"FAIL\"", "\"Original input: \"", "\"Produced output: \"" ]
AMDGPUHSAMetadataStreamer24
verify
AMDGPU
GPU
LLVM
19,754
139
1
[]
[ "<s>", "Function", "*", "AMDGPUIntrinsicInfo", "::", "getDeclaration", "(", "Module", "*", "M", ",", "unsigned", "IntrID", ",", "ArrayRef", "<", "Type", "*", ">", "Tys", ")", "const", "{", "FunctionType", "*", "FTy", "=", "getType", "(", "M", "->", "getC...
[ "Create", "or", "insert", "an", "LLVM", "Function", "declaration", "for", "an", "intrinsic", ",", "and", "return", "it", "." ]
[ "AMDGPU", "AMDGPU", "SIIntrinsic::ID" ]
AMDGPUIntrinsicInfo8
getDeclaration
AMDGPU
GPU
LLVM
19,755
96
1
[]
[ "<s>", "static", "int", "sh_address_cost", "(", "rtx", "x", ",", "machine_mode", "mode", ",", "addr_space_t", "as", "ATTRIBUTE_UNUSED", ",", "bool", "speed", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "REG_P", "(", "x", ")", "&&", "REGNO", "(", "x", ")", "...
[ "Compute", "the", "cost", "of", "an", "address", ".", "For", "the", "SH", ",", "all", "valid", "addresses", "are", "the", "same", "cost", ".", "Use", "a", "slightly", "higher", "cost", "for", "reg", "+", "reg", "addressing", ",", "since", "it", "increa...
[ "sh", "2", "1", "0", "1", "0", "1", "2", "1", "0", "1", "0", "2", "1", "0", "2", "3", "1", "3", "10" ]
sh4
sh_address_cost
sh
CPU
GCC
19,756
226
1
[]
[ "<s>", "unsigned", "AArch64TTIImpl", "::", "getArithmeticInstrCost", "(", "unsigned", "Opcode", ",", "Type", "*", "Ty", ",", "TTI", "::", "OperandValueKind", "Opd1Info", ",", "TTI", "::", "OperandValueKind", "Opd2Info", ",", "TTI", "::", "OperandValueProperties", ...
[ "This", "is", "an", "approximation", "of", "reciprocal", "throughput", "of", "a", "math/logic", "op", "." ]
[ "AArch64", "AArch64", "ISD::SDIV", "ISD::ADD", "ISD::MUL", "ISD::XOR", "ISD::OR", "ISD::AND", "1" ]
AArch64TargetTransformInfo32
getArithmeticInstrCost
AArch64
CPU
LLVM
19,757
237
1
[]
[ "<s>", "int", "bpf_core_get_sou_member_index", "(", "ctf_container_ref", "ctfc", ",", "const", "tree", "node", ")", "{", "if", "(", "TREE_CODE", "(", "node", ")", "==", "FIELD_DECL", ")", "{", "const", "tree", "container", "=", "DECL_CONTEXT", "(", "node", "...
[ "Return", "the", "0-based", "index", "of", "the", "field", "NODE", "in", "its", "containing", "struct", "or", "union", "type", "." ]
[ "bpf", "1", "1", "1", "0", "1", "1" ]
coreout1
bpf_core_get_sou_member_index
bpf
Virtual ISA
GCC
19,758
185
1
[]
[ "<s>", "bool", "R600Packetizer", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "Fn", ")", "{", "const", "TargetInstrInfo", "*", "TII", "=", "Fn", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ";", "MachineLoopInfo", "&", "MLI", "...
[ "runOnMachineFunction", "-", "Emit", "the", "function", "body", "." ]
[ "AMDGPU", "R600", "R600", "\"Empty DFA table!\"", "AMDGPU::IMPLICIT_DEF", "AMDGPU::CF_ALU", "8" ]
R600Packetizer26
runOnMachineFunction
AMDGPU
GPU
LLVM
19,759
371
1
[]
[ "<s>", "bool", "HexagonInstrInfo", "::", "areMemAccessesTriviallyDisjoint", "(", "MachineInstr", "*", "MIa", ",", "MachineInstr", "*", "MIb", ",", "AliasAnalysis", "*", "AA", ")", "const", "{", "int", "OffsetA", "=", "0", ",", "OffsetB", "=", "0", ";", "unsi...
[ "Sometimes", ",", "it", "is", "possible", "for", "the", "target", "to", "tell", ",", "even", "without", "aliasing", "information", ",", "that", "two", "MIs", "access", "different", "memory", "addresses", "." ]
[ "Hexagon", "Hexagon", "0", "0", "0", "0" ]
HexagonInstrInfo5
areMemAccessesTriviallyDisjoint
Hexagon
DSP
LLVM
19,760
221
1
[]
[ "<s>", "bool", "toc_relative_expr_p", "(", "const_rtx", "op", ",", "bool", "strict", ")", "{", "if", "(", "!", "TARGET_TOC", ")", "return", "false", ";", "if", "(", "TARGET_CMODEL", "!=", "CMODEL_SMALL", ")", "{", "if", "(", "strict", "&&", "!", "(", "...
[ "Return", "true", "if", "OP", "is", "a", "toc", "pointer", "relative", "address", "(", "the", "output", "of", "create_TOC_reference", ")", ".", "If", "STRICT", ",", "do", "not", "match", "high", "part", "or", "non-split", "-mcmodel=large/medium", "toc", "poi...
[ "powerpcspe", "0", "0", "1", "1", "0", "1", "1" ]
powerpcspe
toc_relative_expr_p
powerpcspe
CPU
GCC
19,761
155
1
[]
[ "<s>", "void", "HexagonTargetObjectFile", "::", "Initialize", "(", "MCContext", "&", "Ctx", ",", "const", "TargetMachine", "&", "TM", ")", "{", "TargetLoweringObjectFileELF", "::", "Initialize", "(", "Ctx", ",", "TM", ")", ";", "InitializeELF", "(", "TM", ".",...
[ "This", "method", "must", "be", "called", "before", "any", "actual", "lowering", "is", "done", "." ]
[ "Hexagon", "Hexagon", "\".sdata\"", "\".sbss\"" ]
HexagonTargetObjectFile34
Initialize
Hexagon
DSP
LLVM
19,762
92
1
[]
[ "<s>", "void", "OR1KInstPrinter", "::", "printInst", "(", "const", "MCInst", "*", "MI", ",", "raw_ostream", "&", "O", ",", "StringRef", "Annot", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "{", "printInstruction", "(", "MI", ",", "O", ")", ";", "pr...
[ "Print", "the", "specified", "MCInst", "to", "the", "specified", "raw_ostream", "." ]
[ "OR1K", "OR1K" ]
OR1KInstPrinter1
printInst
OR1K
CPU
LLVM
19,763
38
1
[]
[ "<s>", "bool", "isMem", "(", ")", "const", "override", "{", "return", "false", ";", "}", "</s>" ]
[ "isMem", "-", "Is", "this", "a", "memory", "operand", "?" ]
[ "Teak" ]
TeakAsmParser
isMem
Teak
DSP
LLVM
19,764
11
1
[]
[ "<s>", "bool", "ARMCodeEmitter", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "TargetMachine", "&", "Target", "=", "const_cast", "<", "TargetMachine", "&", ">", "(", "MF", ".", "getTarget", "(", ")", ")", ";", "assert", "(", "...
[ "runOnMachineFunction", "-", "Emit", "the", "function", "body", "." ]
[ "ARM", "ARM", "\"JIT relocation model must be set to static or default!\"", "ARM", "ARM", "ARM", "ARM", "\"JITTing function '\"", "\"'\\n\"" ]
ARMCodeEmitter14
runOnMachineFunction
ARM
CPU
LLVM
19,765
308
1
[]
[ "<s>", "static", "bool", "is_microcoded_insn", "(", "rtx_insn", "*", "insn", ")", "{", "if", "(", "!", "insn", "||", "!", "NONDEBUG_INSN_P", "(", "insn", ")", "||", "GET_CODE", "(", "PATTERN", "(", "insn", ")", ")", "==", "USE", "||", "GET_CODE", "(", ...
[ "The", "function", "returns", "a", "true", "if", "INSN", "is", "microcoded", ".", "Return", "false", "otherwise", "." ]
[ "rs6000" ]
rs60004
is_microcoded_insn
rs6000
CPU
GCC
19,766
141
1
[]
[ "<s>", "void", "R600PassConfig", "::", "addPreEmitPass", "(", ")", "{", "addPass", "(", "createAMDGPUCFGStructurizerPass", "(", ")", ")", ";", "addPass", "(", "createR600ExpandSpecialInstrsPass", "(", ")", ")", ";", "addPass", "(", "&", "FinalizeMachineBundlesID", ...
[ "This", "pass", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "machine", "code", "is", "emitted", "." ]
[ "AMDGPU", "R600", "AMDGPU", "R600", "R600", "R600" ]
R600TargetMachine1
addPreEmitPass
AMDGPU
GPU
LLVM
19,767
42
1
[]
[ "<s>", "static", "void", "nvptx_write_function_decl", "(", "std", "::", "stringstream", "&", "s", ",", "const", "char", "*", "name", ",", "const_tree", "decl", ")", "{", "tree", "fntype", "=", "TREE_TYPE", "(", "decl", ")", ";", "tree", "result_type", "=",...
[ "Write", "a", "function", "decl", "for", "DECL", "to", "S", ",", "where", "NAME", "is", "the", "name", "to", "be", "used", "." ]
[ "nvptx", "\"main\"", "0", "0", "\".extern \"", "\".visible \"", "\".entry \"", "\".func \"", "\"(.param\"", "\" %out_retval)\"", "0", "1", "\"(\"", "0", "\".param.u\"", "\" %in_ar1\"", "0", "0", "\", .param.u\"", "\" %in_argp\"", "0", "\", \"", "\".reg.u\"", "\".param.u...
nvptx2
nvptx_write_function_decl
nvptx
GPU
GCC
19,768
438
1
[]
[ "<s>", "static", "const", "char", "*", "detect_caches_amd", "(", "unsigned", "max_ext_level", ")", "{", "unsigned", "eax", ",", "ebx", ",", "ecx", ",", "edx", ";", "struct", "cache_desc", "level1", ",", "level2", "=", "{", "0", ",", "0", ",", "0", "}",...
[ "Returns", "the", "description", "of", "caches", "for", "an", "AMD", "processor", "." ]
[ "i386", "0", "0", "0", "0x80000005", "\"\"", "0x80000005", "24", "0xff", "16", "0xff", "0xff", "0x80000006" ]
driver-i386
detect_caches_amd
i386
CPU
GCC
19,769
108
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", "." ]
[ "Lanai" ]
LanaiAsmBackend21
relaxInstruction
Lanai
CPU
LLVM
19,770
21
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 fp imm: materialize 0 using the zero register\\n\"", "128", "MVT::f64", "\"f64\"", "AArch64_AM::getFP64Imm", "1", "MVT::f32", "\"f32\"", "AArch64_AM::getFP32Imm", "1", "MVT::f16", "\"f16\"", "AArch64_AM::getFP16Imm"...
AArch64ISelLowering106
isFPImmLegal
AArch64
CPU
LLVM
19,771
242
1
[]
[ "<s>", "bool", "isTargetEHABICompatible", "(", ")", "const", "{", "return", "(", "TargetTriple", ".", "getEnvironment", "(", ")", "==", "Triple", "::", "EABI", "||", "TargetTriple", ".", "getEnvironment", "(", ")", "==", "Triple", "::", "GNUEABI", "||", "Tar...
[ "Tests", "whether", "the", "target", "supports", "the", "EHABI", "exception", "handling", "standard", "." ]
[ "ARM" ]
ARMSubtarget (2)3
isTargetEHABICompatible
ARM
CPU
LLVM
19,772
84
1
[]
[ "<s>", "bool", "HexagonInstrInfo", "::", "isIndirectCall", "(", "const", "MachineInstr", "*", "MI", ")", "const", "{", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "case", "Hexagon", "::", "J2_callr", ":", "case", "Hexagon", "::", "J2_callrf...
[ "Return", "true", "if", "the", "callsite", "is", "an", "indirect", "call", "." ]
[ "Hexagon", "Hexagon", "Hexagon::J2_callr", "Hexagon::J2_callrf", "Hexagon::J2_callrt" ]
HexagonInstrInfo (2)
isIndirectCall
Hexagon
DSP
LLVM
19,773
44
1
[]
[ "<s>", "static", "void", "push_minipool_barrier", "(", "rtx", "insn", ",", "HOST_WIDE_INT", "address", ")", "{", "Mfix", "*", "fix", "=", "(", "Mfix", "*", ")", "obstack_alloc", "(", "&", "minipool_obstack", ",", "sizeof", "(", "*", "fix", ")", ")", ";",...
[ "Record", "that", "there", "is", "a", "natural", "barrier", "in", "the", "insn", "stream", "at", "ADDRESS", "." ]
[ "arm" ]
arm3
push_minipool_barrier
arm
CPU
GCC
19,774
71
1
[]
[ "<s>", "void", "ARMTargetLowering", "::", "ReplaceNodeResults", "(", "SDNode", "*", "N", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "Results", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "SDValue", "Res", ";", "switch", "(", "N", "->", "getO...
[ "ReplaceNodeResults", "-", "Replace", "the", "results", "of", "node", "with", "an", "illegal", "result", "type", "with", "new", "values", "built", "out", "of", "custom", "code", "." ]
[ "ARM", "ARM", "\"Don't know how to custom expand this!\"", "ISD::READ_REGISTER", "ISD::BITCAST", "ISD::SRL", "ISD::SRA", "ISD::SHL", "ISD::SREM", "ISD::UREM", "ISD::SDIVREM", "ISD::UDIVREM", "0", "2", "\"DivRem needs two values\"", "0", "1", "ISD::READCYCLECOUNTER", "ISD::UDIV", ...
ARMISelLowering10
ReplaceNodeResults
ARM
CPU
LLVM
19,775
315
1
[]
[ "<s>", "int", "s390_const_double_ok_for_constraint_p", "(", "rtx", "value", ",", "int", "c", ",", "const", "char", "*", "str", ")", "{", "gcc_assert", "(", "c", "==", "str", "[", "0", "]", ")", ";", "switch", "(", "str", "[", "0", "]", ")", "{", "c...
[ "Return", "true", "if", "VALUE", "matches", "the", "constraint", "STR", "." ]
[ "s390", "0", "0", "0" ]
s3903
s390_const_double_ok_for_constraint_p
s390
MPU
GCC
19,776
66
1
[]
[ "<s>", "void", "AnalyzeCallOperands", "(", "const", "SmallVectorImpl", "<", "ISD", "::", "OutputArg", ">", "&", "Outs", ",", "CCAssignFn", "Fn", ",", "std", "::", "vector", "<", "TargetLowering", "::", "ArgListEntry", ">", "&", "FuncArgs", ",", "const", "SDN...
[ "AnalyzeCallOperands", "-", "Same", "as", "above", "except", "it", "takes", "vectors", "of", "types", "and", "argument", "flags", "." ]
[ "Mips", "ISD::OutputArg" ]
MipsCCState
AnalyzeCallOperands
Mips
CPU
LLVM
19,777
70
1
[]
[ "<s>", "virtual", "bool", "isBranchWithImm", "(", "unsigned", "Opc", ")", "const", "{", "return", "false", ";", "}", "</s>" ]
[ "isBranchWithImm", "-", "Return", "true", "if", "the", "branch", "contains", "an", "immediate", "operand", "(" ]
[ "Mips" ]
MipsInstrInfo19
isBranchWithImm
Mips
CPU
LLVM
19,778
13
1
[]
[ "<s>", "MCInstrDesc", "const", "&", "HexagonMCInstrInfo", "::", "getDesc", "(", "MCInstrInfo", "const", "&", "MCII", ",", "MCInst", "const", "&", "MCI", ")", "{", "return", "MCII", ".", "get", "(", "MCI", ".", "getOpcode", "(", ")", ")", ";", "}", "</s...
[ "Returns", "the", "target", "instruction", "descriptor", "of", "this", "MachineInstr", "." ]
[ "Hexagon", "Hexagon" ]
HexagonMCInstrInfo (2)1
getDesc
Hexagon
DSP
LLVM
19,779
31
1
[]
[ "<s>", "static", "bool", "scalar_move_insn_p", "(", "rtx_insn", "*", "rinsn", ")", "{", "return", "get_attr_type", "(", "rinsn", ")", "==", "TYPE_VIMOVXV", "||", "get_attr_type", "(", "rinsn", ")", "==", "TYPE_VFMOVFV", ";", "}", "</s>" ]
[ "Return", "true", "if", "the", "instruction", "is", "scalar", "move", "instruction", "." ]
[ "riscv" ]
riscv-vsetvl
scalar_move_insn_p
riscv
CPU
GCC
19,780
25
1
[]
[ "<s>", "void", "Mips16FrameLowering", "::", "emitEpilogue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "getFirstTerminator", "(", ")", ";", "MachineF...
[ "Insert", "epilog", "code", "into", "the", "function", "." ]
[ "Mips", "Mips", "Mips", "Mips", "Mips::Move32R16", "Mips::SP", "Mips::S0", "Mips::SP" ]
Mips16FrameLowering12
emitEpilogue
Mips
CPU
LLVM
19,781
145
1
[]
[ "<s>", "unsigned", "AAPInstrInfo", "::", "getInstSizeInBytes", "(", "const", "MachineInstr", "&", "MI", ")", "const", "{", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "return", "MI", ".", "getDesc", "(", ")", ".", "getSize"...
[ "Returns", "the", "size", "in", "bytes", "of", "the", "specified", "MachineInstr", ",", "or", "~0U", "when", "this", "function", "is", "not", "implemented", "by", "a", "target", "." ]
[ "AAP", "AAP", "0", "AAP", "0" ]
AAPInstrInfo
getInstSizeInBytes
AAP
MPU
LLVM
19,782
123
1
[]
[ "<s>", "static", "bool", "isStore", "(", "int", "Opcode", ")", "{", "return", "Opcode", "==", "ARC", "::", "ST_rs9", "||", "Opcode", "==", "ARC", "::", "STH_rs9", "||", "Opcode", "==", "ARC", "::", "STB_rs9", ";", "}", "</s>" ]
[ "Returns", "true", "if", "this", "recipe", "is", "a", "store", "." ]
[ "ARC", "ARC::ST_rs9", "ARC::STH_rs9", "ARC::STB_rs9" ]
ARCInstrInfo
isStore
ARC
MPU
LLVM
19,783
28
1
[]
[ "<s>", "void", "GCNPassConfig", "::", "addPreEmitPass", "(", ")", "{", "addPass", "(", "&", "PostRAHazardRecognizerID", ")", ";", "addPass", "(", "createSIMemoryLegalizerPass", "(", ")", ")", ";", "addPass", "(", "createSIInsertWaitcntsPass", "(", ")", ")", ";",...
[ "This", "pass", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "machine", "code", "is", "emitted", "." ]
[ "AMDGPU", "SI", "SI", "SI", "SI", "SI" ]
AMDGPUTargetMachine31
addPreEmitPass
AMDGPU
GPU
LLVM
19,784
54
1
[]
[ "<s>", "bool", "shouldForceRelocation", "(", "const", "MCAssembler", "&", "Asm", ",", "const", "MCFixup", "&", "Fixup", ",", "const", "MCValue", "&", "Target", ")", "override", "{", "switch", "(", "(", "Sparc", "::", "Fixups", ")", "Fixup", ".", "getKind",...
[ "Hook", "to", "check", "if", "a", "relocation", "is", "needed", "for", "some", "target", "specific", "reason", "." ]
[ "Sparc", "Sparc::Fixups", "Sparc::fixup_sparc_wplt30", "Sparc::fixup_sparc_tls_gd_hi22", "Sparc::fixup_sparc_tls_gd_lo10", "Sparc::fixup_sparc_tls_gd_add", "Sparc::fixup_sparc_tls_gd_call", "Sparc::fixup_sparc_tls_ldm_hi22", "Sparc::fixup_sparc_tls_ldm_lo10", "Sparc::fixup_sparc_tls_ldm_add", "S...
SparcAsmBackend8
shouldForceRelocation
Sparc
CPU
LLVM
19,785
158
1
[]
[ "<s>", "bool", "MipsAbiFlags", "::", "merge", "(", "const", "Input", "&", "pInput", ",", "MipsAbiFlags", "&", "oldFlags", ",", "const", "MipsAbiFlags", "&", "newFlags", ")", "{", "if", "(", "oldFlags", ".", "m_IsaLevel", "==", "0", ")", "{", "oldFlags", ...
[ "Merge", "target", "triples", "." ]
[ "Mips", "Mips", "Mips", "Mips", "0", "Mips" ]
MipsAbiFlags
merge
Mips
CPU
LLVM
19,786
239
1
[]
[ "<s>", "void", "PPCHazardRecognizer970", "::", "EmitInstruction", "(", "SUnit", "*", "SU", ")", "{", "const", "SDNode", "*", "Node", "=", "SU", "->", "getNode", "(", ")", "->", "getFlaggedMachineNode", "(", ")", ";", "bool", "isFirst", ",", "isSingle", ","...
[ "EmitInstruction", "-", "This", "callback", "is", "invoked", "when", "an", "instruction", "is", "emitted", ",", "to", "advance", "the", "hazard", "state", "." ]
[ "PowerPC", "PPC", "PPCII::PPC970_Unit", "PPCII::PPC970_Pseudo", "PPC::MTCTR", "\"Unknown store instruction!\"", "PPC::STB", "PPC::STB8", "PPC::STBU", "PPC::STBU8", "PPC::STBX", "PPC::STBX8", "PPC::STVEBX", "1", "PPC::STH", "PPC::STH8", "PPC::STHU", "PPC::STHU8", "PPC::STHX", "P...
PPCHazardRecognizers23
EmitInstruction
PowerPC
CPU
LLVM
19,787
402
1
[]
[ "<s>", "formatted_raw_ostream", "&", "getOStream", "(", ")", "{", "return", "OS", ";", "}", "</s>" ]
[ "getOStream", "-", "Get", "the", "raw", "output", "stream", "into", "the", "graph", "file", "." ]
[ "Cpu0" ]
Cpu0AsmStreamer
getOStream
Cpu0
CPU
LLVM
19,788
10
1
[]
[ "<s>", "static", "rtx", "s390_find_execute", "(", "struct", "constant_pool", "*", "pool", ",", "rtx", "insn", ")", "{", "struct", "constant", "*", "c", ";", "for", "(", "c", "=", "pool", "->", "execute", ";", "c", "!=", "NULL", ";", "c", "=", "c", ...
[ "Find", "execute", "target", "for", "INSN", "in", "the", "constant", "pool", "POOL", ".", "Return", "an", "RTX", "describing", "the", "distance", "from", "the", "start", "of", "the", "pool", "to", "the", "location", "of", "the", "execute", "target", "." ]
[ "s390" ]
s390
s390_find_execute
s390
MPU
GCC
19,789
73
1
[]
[ "<s>", "static", "tree", "arm_mve_type_for_scalar_type", "(", "tree", "eltype", ")", "{", "for", "(", "unsigned", "int", "i", "=", "0", ";", "i", "<", "__TYPE_FINAL", ";", "++", "i", ")", "if", "(", "arm_simd_types", "[", "i", "]", ".", "eltype", "==",...
[ "Return", "the", "MVE", "abi", "type", "with", "element", "of", "type", "TYPE", "." ]
[ "arm", "0", "16" ]
arm-mve-builtins
arm_mve_type_for_scalar_type
arm
CPU
GCC
19,790
59
1
[]
[ "<s>", "inline", "hashval_t", "mips_lo_sum_offset_hasher", "::", "hash", "(", "const", "value_type", "*", "entry", ")", "{", "return", "mips_hash_base", "(", "entry", "->", "base", ")", ";", "}", "</s>" ]
[ "Hash", "function", "for", "builtin", "functions", "with", "up", "to", "3", "arguments", "and", "a", "return", "type", "." ]
[ "mips" ]
mips4
hash
mips
CPU
GCC
19,791
21
1
[]
[ "<s>", "void", "changeSection", "(", "MCSection", "*", "Section", ",", "const", "MCExpr", "*", "Subsection", ")", "override", "{", "}", "</s>" ]
[ "Update", "streamer", "for", "a", "new", "active", "section", "." ]
[ "Patmos" ]
PatmosInstrInfo1
changeSection
Patmos
VLIW
LLVM
19,792
15
1
[]
[ "<s>", "bool", "MMIXFrameLowering", "::", "hasFP", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "return", "true", ";", "}", "</s>" ]
[ "hasFP", "-", "Return", "true", "if", "the", "specified", "function", "should", "have", "a", "dedicated", "frame", "pointer", "register", "." ]
[ "MMIX", "MMIX" ]
MMIXFrameLowering
hasFP
MMIX
CPU
LLVM
19,793
16
1
[]
[ "<s>", "void", "HSAILInstrInfo", "::", "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", "." ]
[ "HSAIL", "HSAIL", "0", "\"unrecognized TargetRegisterClass\"", "HSAIL::GPR32RegClassID", "HSAIL::ST_U32", "HSAIL::GPR64RegClassID", "HSAIL::ST_U64", "HSAIL::CRRegClassID", "HSAIL", "HSAIL", "HSAIL::SPILL_B1", "\"unrecognized TargetRegisterClass\"", "HSAIL::CRRegClassID", "HSAIL::GPR32Reg...
HSAILInstrInfo
storeRegToStackSlot
HSAIL
Virtual ISA
LLVM
19,794
322
1
[]
[ "<s>", "void", "applyFixup", "(", "const", "MCFixup", "&", "Fixup", ",", "char", "*", "Data", ",", "unsigned", "DataSize", ",", "uint64_t", "Value", ",", "bool", "IsPCRel", ",", "MCContext", "&", "Ctx", ")", "const", "override", "{", "Value", "=", "adjus...
[ "Apply", "the", "Value", "for", "given", "Fixup", "into", "the", "provided", "data", "fragment", ",", "at", "the", "offset", "specified", "by", "the", "fixup", "and", "following", "the", "fixup", "kind", "as", "appropriate", "." ]
[ "Sparc", "0", "4", "3", "8", "0xff" ]
SparcAsmBackend10
applyFixup
Sparc
CPU
LLVM
19,795
107
1
[]
[ "<s>", "static", "tree", "nios2_ftype", "(", "enum", "nios2_ftcode", "ftcode", ")", "{", "static", "tree", "types", "[", "(", "int", ")", "N2_FTYPE_MAX", "]", ";", "tree", "N2_TYPE_SF", "=", "float_type_node", ";", "tree", "N2_TYPE_DF", "=", "double_type_node"...
[ "Return", "the", "tree", "function", "type", ",", "based", "on", "the", "ftcode", "." ]
[ "nios2" ]
nios2
nios2_ftype
nios2
MPU
GCC
19,796
149
1
[]
[ "<s>", "void", "SIFrameLowering", "::", "determineCalleeSaves", "(", "MachineFunction", "&", "MF", ",", "BitVector", "&", "SavedVGPRs", ",", "RegScavenger", "*", "RS", ")", "const", "{", "TargetFrameLowering", "::", "determineCalleeSaves", "(", "MF", ",", "SavedVG...
[ "This", "method", "determines", "which", "of", "the", "registers", "reported", "by", "TargetRegisterInfo", ":", ":getCalleeSavedRegs", "(", ")", "should", "actually", "get", "saved", "." ]
[ "AMDGPU", "SI", "SI", "SI", "SI", "\"Re-reserving spill slot for FP\"", "\"Re-reserving spill slot for BP\"" ]
SIFrameLowering12
determineCalleeSaves
AMDGPU
GPU
LLVM
19,797
276
1
[]
[ "<s>", "bool", "MSP430BSel", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "mf", ")", "{", "MF", "=", "&", "mf", ";", "TII", "=", "static_cast", "<", "const", "MSP430InstrInfo", "*", ">", "(", "MF", "->", "getSubtarget", "(", ")", ".", "getI...
[ "runOnMachineFunction", "-", "Emit", "the", "function", "body", "." ]
[ "MSP430", "MSP430", "MSP430", "\"\\n********** \"", "\" **********\\n\"" ]
MSP430BranchSelector14
runOnMachineFunction
MSP430
MPU
LLVM
19,798
101
1
[]
[ "<s>", "void", "GCNPassConfig", "::", "addMachineSSAOptimization", "(", ")", "{", "TargetPassConfig", "::", "addMachineSSAOptimization", "(", ")", ";", "addPass", "(", "&", "SIFoldOperandsID", ")", ";", "addPass", "(", "&", "DeadMachineInstructionElimID", ")", ";", ...
[ "Methods", "with", "trivial", "inline", "returns", "are", "convenient", "points", "in", "the", "common", "codegen", "pass", "pipeline", "where", "targets", "may", "insert", "passes", "." ]
[ "AMDGPU", "SI" ]
AMDGPUTargetMachine103
addMachineSSAOptimization
AMDGPU
GPU
LLVM
19,799
26
1
[]