ground_truth
listlengths
8
512
natrual_language
listlengths
1
243
TS_V_token
listlengths
1
182
File
stringlengths
2
45
Func
stringlengths
1
56
Target
stringclasses
175 values
Target_Clf
stringclasses
6 values
Compiler_Type
stringclasses
2 values
Idx
int64
0
36.2k
Length
int64
6
510
Cover_Rate
float64
1
1
Template_token
listlengths
0
0
[ "<s>", "static", "bool", "riscv_libgcc_floating_mode_supported_p", "(", "scalar_float_mode", "mode", ")", "{", "if", "(", "mode", "==", "HFmode", ")", "return", "true", ";", "else", "return", "default_libgcc_floating_mode_supported_p", "(", "mode", ")", ";", "}", ...
[ "Implement", "TARGET_LIBGCC_FLOATING_MODE_SUPPORTED_P", "-", "return", "TRUE", "if", "MODE", "is", "HFmode", ",", "and", "punt", "to", "the", "generic", "implementation", "otherwise", "." ]
[ "riscv" ]
riscv1
riscv_libgcc_floating_mode_supported_p
riscv
CPU
GCC
10,900
25
1
[]
[ "<s>", "void", "sparc_va_start", "(", "tree", "valist", ",", "rtx", "nextarg", ")", "{", "nextarg", "=", "expand_builtin_saveregs", "(", ")", ";", "std_expand_builtin_va_start", "(", "valist", ",", "nextarg", ")", ";", "}", "</s>" ]
[ "Implement", "`", "va_start", "'", "for", "varargs", "and", "stdarg", "." ]
[ "sparc" ]
sparc3
sparc_va_start
sparc
CPU
GCC
10,901
24
1
[]
[ "<s>", "void", "emitWeakReference", "(", "MCSymbol", "*", "Alias", ",", "const", "MCSymbol", "*", "Symbol", ")", "override", "{", "}", "</s>" ]
[ "Emit", "an", "weak", "reference", "from", "Alias", "to", "Symbol", "." ]
[ "Patmos" ]
PatmosInstrInfo1
emitWeakReference
Patmos
VLIW
LLVM
10,902
15
1
[]
[ "<s>", "static", "void", "nds32_relax_group", "(", "void", ")", "{", "rtx_insn", "*", "insn", ";", "compute_bb_for_insn", "(", ")", ";", "df_chain_add_problem", "(", "DF_DU_CHAIN", "|", "DF_UD_CHAIN", ")", ";", "df_insn_rescan_all", "(", ")", ";", "df_analyze", ...
[ "Group", "the", "relax", "candidate", "instructions", "for", "linker", "." ]
[ "nds32", "0" ]
nds32-relax-opt2
nds32_relax_group
nds32
CPU
GCC
10,903
130
1
[]
[ "<s>", "Value", "*", "ARMTargetLowering", "::", "emitStoreConditional", "(", "IRBuilderBase", "&", "Builder", ",", "Value", "*", "Val", ",", "Value", "*", "Addr", ",", "AtomicOrdering", "Ord", ")", "const", "{", "Module", "*", "M", "=", "Builder", ".", "Ge...
[ "Perform", "a", "store-conditional", "operation", "to", "Addr", "." ]
[ "ARM", "ARM", "64", "Intrinsic::ID", "Intrinsic::arm_stlexd", "Intrinsic::arm_strexd", "Intrinsic::getDeclaration", "\"lo\"", "32", "\"hi\"", "Intrinsic::ID", "Intrinsic::arm_stlex", "Intrinsic::arm_strex", "Intrinsic::getDeclaration", "0", "1" ]
ARMISelLowering12
emitStoreConditional
ARM
CPU
LLVM
10,904
308
1
[]
[ "<s>", "unsigned", "getReg", "(", ")", "const", "{", "assert", "(", "(", "Kind", "==", "k_Register", "||", "Kind", "==", "k_Memri", ")", "&&", "\"Invalid access!\"", ")", ";", "return", "RegImm", ".", "Reg", ";", "}", "</s>" ]
[ "Returns", "the", "register", "associated", "with", "this", "edge", "." ]
[ "SNES", "\"Invalid access!\"" ]
SNESAsmParser
getReg
SNES
DSP
LLVM
10,905
27
1
[]
[ "<s>", "int", "ARM64AsmParser", "::", "tryParseRegister", "(", ")", "{", "const", "AsmToken", "&", "Tok", "=", "Parser", ".", "getTok", "(", ")", ";", "assert", "(", "Tok", ".", "is", "(", "AsmToken", "::", "Identifier", ")", "&&", "\"Token is not an Ident...
[ "tryParseRegister", "-", "parse", "one", "register", "if", "possible" ]
[ "ARM64", "ARM64", "\"Token is not an Identifier\"", "0", "\"fp\"", "ARM64::FP", "\"lr\"", "ARM64::LR", "\"x31\"", "ARM64::XZR", "\"w31\"", "ARM64::WZR", "0", "0", "1" ]
ARM64AsmParser
tryParseRegister
ARM64
CPU
LLVM
10,906
132
1
[]
[ "<s>", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "override", "{", "AU", ".", "addRequired", "<", "LiveIntervals", ">", "(", ")", ";", "AU", ".", "setPreservesCFG", "(", ")", ";", "MachineFunctionPass", "::", "getAnalysisUsage",...
[ "getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "." ]
[ "AMDGPU" ]
SIWholeQuadMode
getAnalysisUsage
AMDGPU
GPU
LLVM
10,907
33
1
[]
[ "<s>", "bool", "isOffsetFoldingLegal", "(", "const", "GlobalAddressSDNode", "*", "GA", ")", "const", "{", "return", "false", ";", "}", "</s>" ]
[ "Return", "true", "if", "folding", "a", "constant", "offset", "with", "the", "given", "GlobalAddress", "is", "legal", "." ]
[ "Patmos" ]
PatmosISelLowering1
isOffsetFoldingLegal
Patmos
VLIW
LLVM
10,908
14
1
[]
[ "<s>", "static", "unsigned", "int", "flags_from_code", "(", "enum", "rtx_code", "code", ")", "{", "switch", "(", "code", ")", "{", "case", "LT", ":", "case", "GE", ":", "return", "CC_FLAG_S", ";", "case", "GT", ":", "case", "LE", ":", "return", "CC_FLA...
[ "Convert", "an", "RTX_CODE", "to", "the", "set", "of", "flags", "needed", "to", "implement", "it", ".", "This", "assumes", "an", "integer", "comparison", "." ]
[ "rx" ]
rx
flags_from_code
rx
CPU
GCC
10,909
74
1
[]
[ "<s>", "bool", "HexagonInstrInfo", "::", "isProfitableToIfCvt", "(", "MachineBasicBlock", "&", "TMBB", ",", "unsigned", "NumTCycles", ",", "unsigned", "ExtraTCycles", ",", "MachineBasicBlock", "&", "FMBB", ",", "unsigned", "NumFCycles", ",", "unsigned", "ExtraFCycles"...
[ "Second", "variant", "of", "isProfitableToIfCvt", "." ]
[ "Hexagon", "Hexagon", "3", "3" ]
HexagonInstrInfo (2)
isProfitableToIfCvt
Hexagon
DSP
LLVM
10,910
48
1
[]
[ "<s>", "BitVector", "MipsRegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "static", "const", "MCPhysReg", "ReservedGPR32", "[", "]", "=", "{", "Mips", "::", "ZERO", ",", "Mips", "::", "K0", ",", "Mips", ...
[ "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", "...
[ "Mips", "Mips", "Mips::ZERO", "Mips::K0", "Mips::K1", "Mips::SP", "Mips::ZERO_64", "Mips::K0_64", "Mips::K1_64", "Mips::SP_64", "Mips", "Mips", "Mips::T6", "Mips::T7", "Mips::T8", "Mips::GP", "Mips::GP_64", "Mips::AFGR64RegClass", "Mips::FGR64RegClass", "Mips", "Mips::S0", ...
MipsRegisterInfo (2)2
getReservedRegs
Mips
CPU
LLVM
10,911
503
1
[]
[ "<s>", "int", "arm_no_early_alu_shift_dep", "(", "rtx", "producer", ",", "rtx", "consumer", ")", "{", "rtx", "value", "=", "PATTERN", "(", "producer", ")", ";", "rtx", "op", "=", "PATTERN", "(", "consumer", ")", ";", "rtx", "early_op", ";", "if", "(", ...
[ "Return", "nonzero", "if", "the", "CONSUMER", "instruction", "(", "an", "ALU", "op", ")", "does", "not", "have", "an", "early", "register", "shift", "value", "or", "amount", "dependency", "on", "the", "result", "of", "PRODUCER", "." ]
[ "arm", "0", "0", "0", "0", "0", "1", "0" ]
arm3
arm_no_early_alu_shift_dep
arm
CPU
GCC
10,912
151
1
[]
[ "<s>", "unsigned", "getNumFixupKinds", "(", ")", "const", "override", "{", "return", "1", ";", "}", "</s>" ]
[ "Get", "the", "number", "of", "target", "specific", "fixup", "kinds", "." ]
[ "RISCV", "1" ]
RISCVAsmBackend18
getNumFixupKinds
RISCV
CPU
LLVM
10,913
11
1
[]
[ "<s>", "void", "Thumb2RegisterInfo", "::", "emitLoadConstPool", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "&", "MBBI", ",", "DebugLoc", "dl", ",", "unsigned", "DestReg", ",", "unsigned", "SubIdx", ",", "int", "Val", ",", ...
[ "emitLoadConstPool", "-", "Emits", "a", "load", "from", "constpool", "to", "materialize", "the", "specified", "immediate", "." ]
[ "ARM", "ARMCC::CondCodes", "4", "ARM::t2LDRpci", "ARMCC::AL", "0" ]
Thumb2RegisterInfo3
emitLoadConstPool
ARM
CPU
LLVM
10,914
160
1
[]
[ "<s>", "void", "HexagonSubtarget", "::", "adjustSchedDependency", "(", "SUnit", "*", "Src", ",", "int", "SrcOpIdx", ",", "SUnit", "*", "Dst", ",", "int", "DstOpIdx", ",", "SDep", "&", "Dep", ")", "const", "{", "if", "(", "!", "Src", "->", "isInstr", "(...
[ "Perform", "target", "specific", "adjustments", "to", "the", "latency", "of", "a", "schedule", "dependency", "." ]
[ "Hexagon", "Hexagon", "Hexagon", "4", "4", "0", "0", "1", "0", "0", "1", "0", "0", "0", "0" ]
HexagonSubtarget1
adjustSchedDependency
Hexagon
DSP
LLVM
10,915
389
1
[]
[ "<s>", "void", "ix86_expand_xorsign", "(", "rtx", "operands", "[", "]", ")", "{", "machine_mode", "mode", ",", "vmode", ";", "rtx", "dest", ",", "vdest", ",", "op0", ",", "op1", ",", "mask", ",", "x", ",", "temp", ";", "dest", "=", "operands", "[", ...
[ "Expand", "an", "xorsign", "operation", "." ]
[ "i386", "0", "1", "2", "0", "0" ]
i386-expand
ix86_expand_xorsign
i386
CPU
GCC
10,916
234
1
[]
[ "<s>", "EVT", "X86TargetLowering", "::", "getOptimalMemOpType", "(", "uint64_t", "Size", ",", "unsigned", "DstAlign", ",", "unsigned", "SrcAlign", ",", "bool", "IsZeroVal", ",", "bool", "MemcpyStrSrc", ",", "MachineFunction", "&", "MF", ")", "const", "{", "const...
[ "It", "returns", "EVT", ":", ":Other", "if", "the", "type", "should", "be", "determined", "using", "generic", "target-independent", "logic", "." ]
[ "X86", "X86", "16", "0", "16", "0", "16", "16", "32", "MVT::v8i32", "MVT::v8f32", "MVT::v4i32", "MVT::v4f32", "8", "8", "MVT::f64", "8", "MVT::i64", "MVT::i32" ]
X86ISelLowering114
getOptimalMemOpType
X86
CPU
LLVM
10,917
224
1
[]
[ "<s>", "void", "x86_emit_floatuns", "(", "rtx", "operands", "[", "2", "]", ")", "{", "rtx_code_label", "*", "neglab", ",", "*", "donelab", ";", "rtx", "i0", ",", "i1", ",", "f0", ",", "in", ",", "out", ";", "machine_mode", "mode", ",", "inmode", ";",...
[ "Generate", "an", "unsigned", "DImode/SImode", "to", "FP", "conversion", ".", "This", "is", "the", "same", "code", "optabs", "would", "emit", "if", "we", "did", "n't", "have", "TFmode", "patterns", "." ]
[ "i386", "2", "1", "0", "1", "0", "0", "1", "1", "1", "0" ]
i386
x86_emit_floatuns
i386
CPU
GCC
10,918
231
1
[]
[ "<s>", "static", "bool", "moxie_return_in_memory", "(", "const_tree", "type", ",", "const_tree", "fntype", "ATTRIBUTE_UNUSED", ")", "{", "const", "HOST_WIDE_INT", "size", "=", "int_size_in_bytes", "(", "type", ")", ";", "return", "(", "size", "==", "-", "1", "...
[ "Worker", "function", "for", "TARGET_RETURN_IN_MEMORY", "." ]
[ "moxie", "1", "2" ]
moxie
moxie_return_in_memory
moxie
CPU
GCC
10,919
36
1
[]
[ "<s>", "static", "unsigned", "int", "mips_function_arg_boundary", "(", "machine_mode", "mode", ",", "const_tree", "type", ")", "{", "unsigned", "int", "alignment", ";", "alignment", "=", "type", "?", "TYPE_ALIGN", "(", "type", ")", ":", "GET_MODE_ALIGNMENT", "("...
[ "Implement", "TARGET_FUNCTION_ARG_BOUNDARY", ".", "Every", "parameter", "gets", "at", "least", "PARM_BOUNDARY", "bits", "of", "alignment", ",", "but", "will", "be", "given", "anything", "up", "to", "STACK_BOUNDARY", "bits", "if", "the", "type", "requires", "it", ...
[ "mips" ]
mips
mips_function_arg_boundary
mips
CPU
GCC
10,920
54
1
[]
[ "<s>", "void", "emitValueToAlignment", "(", "unsigned", "ByteAlignment", ",", "int64_t", "Value", "=", "0", ",", "unsigned", "ValueSize", "=", "1", ",", "unsigned", "MaxBytesToEmit", "=", "0", ")", "override", "{", "}", "</s>" ]
[ "Emit", "some", "number", "of", "copies", "of", "Value", "until", "the", "byte", "alignment", "ByteAlignment", "is", "reached", "." ]
[ "Patmos", "0", "1", "0" ]
PatmosInstrInfo1
emitValueToAlignment
Patmos
VLIW
LLVM
10,921
24
1
[]
[ "<s>", "uint16_t", "getType", "(", ")", "const", "{", "return", "NodeAttrs", "::", "type", "(", "Attrs", ")", ";", "}", "</s>" ]
[ "Overload", "to", "return", "most", "specific", "vector", "type", "." ]
[ "Hexagon" ]
RDFGraph
getType
Hexagon
DSP
LLVM
10,922
15
1
[]
[ "<s>", "static", "bool", "ix86_in_large_data_p", "(", "tree", "exp", ")", "{", "if", "(", "ix86_cmodel", "!=", "CM_MEDIUM", "&&", "ix86_cmodel", "!=", "CM_MEDIUM_PIC", ")", "return", "false", ";", "if", "(", "TREE_CODE", "(", "exp", ")", "==", "FUNCTION_DECL...
[ "Return", "true", "if", "this", "goes", "in", "small", "data/bss", "." ]
[ "i386", "\".ldata\"", "0", "\".lbss\"", "0", "0" ]
i3864
ix86_in_large_data_p
i386
CPU
GCC
10,923
134
1
[]
[ "<s>", "static", "tree", "rs6000_builtin_mask_for_load", "(", "void", ")", "{", "if", "(", "(", "TARGET_ALTIVEC", "&&", "!", "TARGET_VSX", ")", "||", "(", "TARGET_VSX", "&&", "!", "TARGET_EFFICIENT_UNALIGNED_VSX", ")", ")", "return", "altivec_builtin_mask_for_load",...
[ "Implement", "targetm.vectorize.builtin_mask_for_load", "." ]
[ "powerpcspe", "0" ]
powerpcspe
rs6000_builtin_mask_for_load
powerpcspe
CPU
GCC
10,924
31
1
[]
[ "<s>", "static", "bool", "arm_const_not_ok_for_debug_p", "(", "rtx", "p", ")", "{", "tree", "decl_op0", "=", "NULL", ";", "tree", "decl_op1", "=", "NULL", ";", "if", "(", "GET_CODE", "(", "p", ")", "==", "MINUS", ")", "{", "if", "(", "GET_CODE", "(", ...
[ "This", "is", "a", "temporary", "fix", "for", "PR60655", ".", "Ideally", "we", "need", "to", "handle", "most", "of", "these", "cases", "in", "the", "generic", "part", "but", "currently", "we", "reject", "minus", "(", "..", ")", "(", "sym_ref", ")", "."...
[ "arm", "1", "1", "0", "0" ]
arm6
arm_const_not_ok_for_debug_p
arm
CPU
GCC
10,925
172
1
[]
[ "<s>", "bool", "Mips16RegisterInfo", "::", "requiresFrameIndexScavenging", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "return", "true", ";", "}", "</s>" ]
[ "Returns", "true", "if", "the", "target", "requires", "post", "PEI", "scavenging", "of", "registers", "for", "materializing", "frame", "index", "constants", "." ]
[ "Mips", "Mips" ]
Mips16RegisterInfo11
requiresFrameIndexScavenging
Mips
CPU
LLVM
10,926
16
1
[]
[ "<s>", "static", "bool", "alpha_scalar_mode_supported_p", "(", "machine_mode", "mode", ")", "{", "switch", "(", "mode", ")", "{", "case", "QImode", ":", "case", "HImode", ":", "case", "SImode", ":", "case", "DImode", ":", "case", "TImode", ":", "return", "...
[ "The", "scalar", "modes", "supported", "differs", "from", "the", "default", "check-what-c-supports", "version", "in", "that", "sometimes", "TFmode", "is", "available", "even", "when", "long", "double", "indicates", "only", "DFmode", ".", "On", "unicosmk", ",", "...
[ "alpha" ]
alpha4
alpha_scalar_mode_supported_p
alpha
MPU
GCC
10,927
53
1
[]
[ "<s>", "SDNode", "*", "rvexDAGToDAGISel", "::", "getGlobalBaseReg", "(", ")", "{", "unsigned", "GlobalBaseReg", "=", "MF", "->", "getInfo", "<", "rvexFunctionInfo", ">", "(", ")", "->", "getGlobalBaseReg", "(", ")", ";", "return", "CurDAG", "->", "getRegister"...
[ "getGlobalBaseReg", "-", "Return", "a", "virtual", "register", "initialized", "with", "the", "the", "global", "base", "register", "value", "." ]
[ "rvex", "rvex", "rvex" ]
rvexISelDAGToDAG
getGlobalBaseReg
rvex
VLIW
LLVM
10,928
43
1
[]
[ "<s>", "static", "void", "nvptx_record_libfunc", "(", "rtx", "callee", ",", "rtx", "retval", ",", "rtx", "pat", ")", "{", "rtx", "*", "slot", "=", "declared_libfuncs_htab", "->", "find_slot", "(", "callee", ",", "INSERT", ")", ";", "if", "(", "*", "slot"...
[ "Record", "a", "libcall", "or", "unprototyped", "external", "function", ".", "CALLEE", "is", "the", "SYMBOL_REF", ".", "Insert", "into", "the", "libfunc", "hash", "table", "and", "emit", "a", "ptx", "declaration", "for", "it", "." ]
[ "nvptx", "0" ]
nvptx
nvptx_record_libfunc
nvptx
GPU
GCC
10,929
65
1
[]
[ "<s>", "unsigned", "AArch64Subtarget", "::", "ClassifyGlobalReference", "(", "const", "GlobalValue", "*", "GV", ",", "const", "TargetMachine", "&", "TM", ")", "const", "{", "if", "(", "TM", ".", "getCodeModel", "(", ")", "==", "CodeModel", "::", "Large", "&&...
[ "ClassifyGlobalReference", "-", "Find", "the", "target", "operand", "flags", "that", "describe", "how", "a", "global", "value", "should", "be", "referenced", "for", "the", "current", "subtarget", "." ]
[ "AArch64", "AArch64", "AArch64II::MO_GOT", "AArch64II::MO_GOT", "AArch64II::MO_DLLIMPORT", "AArch64II::MO_GOT", "AArch64II::MO_COFFSTUB", "AArch64II::MO_GOT", "AArch64II::MO_GOT", "AArch64II::MO_NC", "AArch64II::MO_TAGGED", "AArch64II::MO_NO_FLAG" ]
AArch64Subtarget (2)1
ClassifyGlobalReference
AArch64
CPU
LLVM
10,930
159
1
[]
[ "<s>", "static", "bool", "ix86_expand_vec_one_operand_perm_avx512", "(", "struct", "expand_vec_perm_d", "*", "d", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "d", "->", "op0", ")", ";", "machine_mode", "maskmode", "=", "mode", ";", "unsigned", "inner...
[ "Try", "to", "expand", "one-operand", "permutation", "with", "constant", "mask", "." ]
[ "i386", "64", "64", "2", "1", "0" ]
i386-expand
ix86_expand_vec_one_operand_perm_avx512
i386
CPU
GCC
10,931
326
1
[]
[ "<s>", "bool", "AMDGPUAnnotateKernelFeatures", "::", "runOnSCC", "(", "CallGraphSCC", "&", "SCC", ")", "{", "bool", "Changed", "=", "false", ";", "for", "(", "CallGraphNode", "*", "I", ":", "SCC", ")", "{", "Function", "*", "F", "=", "I", "->", "getFunct...
[ "runOnSCC", "-", "This", "method", "should", "be", "implemented", "by", "the", "subclass", "to", "perform", "whatever", "action", "is", "necessary", "for", "the", "specified", "SCC", "." ]
[ "AMDGPU", "AMDGPU", "AMDGPU::isGraphics" ]
AMDGPUAnnotateKernelFeatures12
runOnSCC
AMDGPU
GPU
LLVM
10,932
71
1
[]
[ "<s>", "bool", "M680x0RegisterInfo", "::", "trackLivenessAfterRegAlloc", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "return", "true", ";", "}", "</s>" ]
[ "Returns", "true", "if", "the", "live-ins", "should", "be", "tracked", "after", "register", "allocation", "." ]
[ "M680x0", "M680x0" ]
M680x0RegisterInfo
trackLivenessAfterRegAlloc
M680x0
MPU
LLVM
10,933
16
1
[]
[ "<s>", "void", "AArch64AsmBackend", "::", "applyFixup", "(", "const", "MCFixup", "&", "Fixup", ",", "MutableArrayRef", "<", "char", ">", "Data", ",", "uint64_t", "Value", ",", "bool", "IsPCRel", ",", "MCContext", "&", "Ctx", ")", "const", "{", "unsigned", ...
[ "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", "." ]
[ "AArch64", "AArch64", "\"Invalid fixup offset!\"", "0", "0", "8", "0xff", "\"Invalid fixup size!\"", "\"Invalid fixup size!\"", "0", "1", "8", "0xff" ]
AArch64AsmBackend2
applyFixup
AArch64
CPU
LLVM
10,934
235
1
[]
[ "<s>", "EVT", "X86TargetLowering", "::", "getOptimalMemOpType", "(", "uint64_t", "Size", ",", "unsigned", "DstAlign", ",", "unsigned", "SrcAlign", ",", "bool", "NonScalarIntSafe", ",", "bool", "MemcpyStrSrc", ",", "MachineFunction", "&", "MF", ")", "const", "{", ...
[ "It", "returns", "EVT", ":", ":Other", "if", "the", "type", "should", "be", "determined", "using", "generic", "target-independent", "logic", "." ]
[ "X86", "X86", "16", "0", "16", "0", "16", "16", "MVT::v4i32", "MVT::v4f32", "8", "8", "MVT::f64", "8", "MVT::i64", "MVT::i32" ]
X86ISelLowering170
getOptimalMemOpType
X86
CPU
LLVM
10,935
186
1
[]
[ "<s>", "bool", "R600InstrInfo", "::", "fitsReadPortLimitations", "(", "const", "std", "::", "vector", "<", "MachineInstr", "*", ">", "&", "IG", ",", "const", "DenseMap", "<", "unsigned", ",", "unsigned", ">", "&", "PV", ",", "std", "::", "vector", "<", "...
[ "Given", "the", "order", "VEC_012", "<", "VEC_021", "<", "VEC_120", "<", "VEC_102", "<", "VEC_201", "<", "VEC_210", "returns", "true", "and", "the", "first", "(", "in", "lexical", "order", ")", "BankSwizzle", "affectation", "starting", "from", "the", "one", ...
[ "R600", "0", "0", "4" ]
R600InstrInfo11
fitsReadPortLimitations
R600
GPU
LLVM
10,936
302
1
[]
[ "<s>", "bool", "AMDGPUTargetLowering", "::", "isFNegFree", "(", "EVT", "VT", ")", "const", "{", "assert", "(", "VT", ".", "isFloatingPoint", "(", ")", ")", ";", "return", "VT", "==", "MVT", "::", "f32", "||", "VT", "==", "MVT", "::", "f64", "||", "("...
[ "Return", "true", "if", "an", "fneg", "operation", "is", "free", "to", "the", "point", "where", "it", "is", "never", "worthwhile", "to", "replace", "it", "with", "a", "bitwise", "operation", "." ]
[ "AMDGPU", "AMDGPU", "MVT::f32", "MVT::f64", "MVT::f16", "MVT::v2f16" ]
AMDGPUISelLowering (2)2
isFNegFree
AMDGPU
GPU
LLVM
10,937
61
1
[]
[ "<s>", "int", "is_called_in_ARM_mode", "(", "tree", "func", ")", "{", "gcc_assert", "(", "TREE_CODE", "(", "func", ")", "==", "FUNCTION_DECL", ")", ";", "if", "(", "TARGET_CALLEE_INTERWORKING", "&&", "TREE_PUBLIC", "(", "func", ")", ")", "return", "TRUE", ";...
[ "Return", "non-zero", "if", "FUNC", "must", "be", "entered", "in", "ARM", "mode", "." ]
[ "arm", "\"interfacearm\"" ]
arm3
is_called_in_ARM_mode
arm
CPU
GCC
10,938
46
1
[]
[ "<s>", "void", "BTFDebug", "::", "endModule", "(", ")", "{", "if", "(", "MapDefNotCollected", ")", "{", "processGlobals", "(", "true", ")", ";", "MapDefNotCollected", "=", "false", ";", "}", "processGlobals", "(", "false", ")", ";", "for", "(", "auto", "...
[ "Emit", "all", "exception", "information", "that", "should", "come", "after", "the", "content", "." ]
[ "BPF", "0", "0", "0" ]
BTFDebug12
endModule
BPF
Virtual ISA
LLVM
10,939
247
1
[]
[ "<s>", "TargetLoweringObjectFile", "*", "getObjFileLowering", "(", ")", "const", "override", "{", "return", "TLOF", ".", "get", "(", ")", ";", "}", "</s>" ]
[ "Return", "information", "about", "object", "file", "lowering", "." ]
[ "NVPTX" ]
NVPTXTargetMachine10
getObjFileLowering
NVPTX
GPU
LLVM
10,940
16
1
[]
[ "<s>", "bool", "Error", "(", "SMLoc", "L", ",", "const", "Twine", "&", "Msg", ",", "ArrayRef", "<", "SMRange", ">", "Ranges", "=", "ArrayRef", "<", "SMRange", ">", "(", ")", ")", "{", "return", "Parser", ".", "Error", "(", "L", ",", "Msg", ",", "...
[ "Return", "an", "error", "at", "the", "location", "L", ",", "with", "the", "message", "Msg", "." ]
[ "ARM" ]
ARMAsmParser
Error
ARM
CPU
LLVM
10,941
38
1
[]
[ "<s>", "bool", "ix86_expand_vec_shift_qihi_constant", "(", "enum", "rtx_code", "code", ",", "rtx", "dest", ",", "rtx", "op1", ",", "rtx", "op2", ")", "{", "machine_mode", "qimode", ",", "himode", ";", "HOST_WIDE_INT", "and_constant", ",", "xor_constant", ";", ...
[ "Expand", "a", "vector", "operation", "shift", "by", "constant", "for", "a", "V", "*", "QImode", "in", "terms", "of", "the", "same", "operation", "on", "V", "*", "HImode", ".", "Return", "true", "if", "success", "." ]
[ "i386", "7", "1", "8", "1", "256", "1", "1", "8", "1", "0" ]
i386-expand1
ix86_expand_vec_shift_qihi_constant
i386
CPU
GCC
10,942
468
1
[]
[ "<s>", "static", "void", "alpha_pad_function_end", "(", "void", ")", "{", "rtx_insn", "*", "insn", ",", "*", "next", ";", "for", "(", "insn", "=", "get_insns", "(", ")", ";", "insn", ";", "insn", "=", "NEXT_INSN", "(", "insn", ")", ")", "{", "if", ...
[ "Insert", "an", "unop", "between", "sibcall", "or", "noreturn", "function", "call", "and", "GP", "load", "." ]
[ "alpha", "1" ]
alpha4
alpha_pad_function_end
alpha
MPU
GCC
10,943
155
1
[]
[ "<s>", "bool", "NVPTXProxyRegErasure", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "SmallVector", "<", "MachineInstr", "*", ",", "16", ">", "RemoveList", ";", "for", "(", "auto", "&", "BB", ":", "MF", ")", "{", "for", "(", ...
[ "runOnMachineFunction", "-", "Emit", "the", "function", "body", "." ]
[ "NVPTX", "NVPTX", "16", "NVPTX::ProxyRegI1", "NVPTX::ProxyRegI16", "NVPTX::ProxyRegI32", "NVPTX::ProxyRegI64", "NVPTX::ProxyRegF16", "NVPTX::ProxyRegF16x2", "NVPTX::ProxyRegF32", "NVPTX::ProxyRegF64" ]
NVPTXProxyRegErasure
runOnMachineFunction
NVPTX
GPU
LLVM
10,944
131
1
[]
[ "<s>", "bool", "WebAssemblyTargetLowering", "::", "isIntDivCheap", "(", "EVT", "VT", ",", "AttributeSet", "Attr", ")", "const", "{", "return", "true", ";", "}", "</s>" ]
[ "Return", "true", "if", "integer", "divide", "is", "usually", "cheaper", "than", "a", "sequence", "of", "several", "shifts", ",", "adds", ",", "and", "multiplies", "for", "this", "target", "." ]
[ "WebAssembly", "WebAssembly" ]
WebAssemblyISelLowering24
isIntDivCheap
WebAssembly
Virtual ISA
LLVM
10,945
17
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::BITCAST", "ISD::SRL", "ISD::SRA", "ISD::ATOMIC_LOAD_ADD", "ARMISD::ATOMADD64_DAG", "ISD::ATOMIC_LOAD_AND", "ARMISD::ATOMAND64_DAG", "ISD::ATOMIC_LOAD_NAND", "ARMISD::ATOMNAND64_DAG", "ISD::ATOMIC_LOAD_OR", "ARMISD::ATOMOR64_D...
ARMISelLowering107
ReplaceNodeResults
ARM
CPU
LLVM
10,946
257
1
[]
[ "<s>", "bool", "LinuxAsmPrinter", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "this", "->", "MF", "=", "&", "MF", ";", "SetupMachineFunction", "(", "MF", ")", ";", "O", "<<", "\"\\n\\n\"", ";", "EmitConstantPool", "(", "MF", ...
[ "runOnMachineFunction", "-", "Emit", "the", "function", "body", "." ]
[ "CellSPU", "\"\\n\\n\"", "\"Unknown linkage type!\"", "\"\\t.global\\t\"", "\"\\n\"", "\"\\t.type\\t\"", "\", @function\\n\"", "\"\\t.global\\t\"", "\"\\n\"", "\"\\t.weak_definition\\t\"", "\"\\n\"", "\":\\n\"", "\"\\t.size\\t\"", "\",.-\"", "\"\\n\"" ]
SPUAsmPrinter1
runOnMachineFunction
CellSPU
MPU
LLVM
10,947
307
1
[]
[ "<s>", "SDNode", "*", "SparcDAGToDAGISel", "::", "Select", "(", "SDNode", "*", "N", ")", "{", "DebugLoc", "dl", "=", "N", "->", "getDebugLoc", "(", ")", ";", "if", "(", "N", "->", "isMachineOpcode", "(", ")", ")", "return", "NULL", ";", "switch", "("...
[ "Main", "hook", "for", "targets", "to", "transform", "nodes", "into", "machine", "nodes", "." ]
[ "Sparc", "Sparc", "SPISD::GLOBAL_BASE_REG", "ISD::SDIV", "ISD::UDIV", "0", "1", "ISD::SDIV", "SP::SRAri", "MVT::i32", "31", "MVT::i32", "0", "SP::G0", "MVT::i32", "SP::WRYrr", "MVT::Glue", "SP::G0", "MVT::i32", "0", "ISD::SDIV", "SP::SDIVrr", "SP::UDIVrr", "MVT::i32", ...
SparcISelDAGToDAG16
Select
Sparc
CPU
LLVM
10,948
343
1
[]
[ "<s>", "static", "rtx", "rs6000_mixed_function_arg", "(", "enum", "machine_mode", "mode", ",", "tree", "type", ",", "int", "align_words", ")", "{", "int", "n_units", ";", "int", "i", ",", "k", ";", "rtx", "rvec", "[", "GP_ARG_NUM_REG", "+", "1", "]", ";"...
[ "Determine", "where", "to", "place", "an", "argument", "in", "64-bit", "mode", "with", "32-bit", "ABI", "." ]
[ "rs6000", "1", "0", "1", "0", "0", "4", "0" ]
rs60003
rs6000_mixed_function_arg
rs6000
CPU
GCC
10,949
174
1
[]
[ "<s>", "void", "PPCAIXAsmPrinter", "::", "emitFunctionEntryLabel", "(", ")", "{", "if", "(", "!", "TM", ".", "getFunctionSections", "(", ")", ")", "PPCAsmPrinter", "::", "emitFunctionEntryLabel", "(", ")", ";", "llvm", "::", "for_each", "(", "GOAliasMap", "[",...
[ "EmitFunctionEntryLabel", "-", "Emit", "the", "label", "that", "is", "the", "entrypoint", "for", "the", "function", "." ]
[ "PowerPC", "PPC", "PPC" ]
PPCAsmPrinter (2)3
emitFunctionEntryLabel
PowerPC
CPU
LLVM
10,950
66
1
[]
[ "<s>", "int", "tilegx_adjust_insn_length", "(", "rtx_insn", "*", "insn", ",", "int", "length", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "insn", ")", ";", "if", "(", "mode", "==", "SImode", ")", "return", "0", ";", "return", "length", ";", ...
[ "Return", "the", "length", "of", "INSN", ".", "LENGTH", "is", "the", "initial", "length", "computed", "by", "attributes", "in", "the", "machine-description", "file", ".", "This", "is", "where", "we", "account", "for", "bundles", "." ]
[ "tilegx", "0" ]
tilegx
tilegx_adjust_insn_length
tilegx
VLIW
GCC
10,951
32
1
[]
[ "<s>", "void", "PPCPassConfig", "::", "addPreSched2", "(", ")", "{", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "addPass", "(", "&", "IfConverterID", ")", ";", "}", "</s>" ]
[ "This", "method", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "after", "prolog-epilog", "insertion", "and", "before", "the", "second", "instruction", "scheduling", "pass", "." ]
[ "PowerPC", "PPC" ]
PPCTargetMachine13
addPreSched2
PowerPC
CPU
LLVM
10,952
24
1
[]
[ "<s>", "const", "MCSection", "*", "XCoreTargetObjectFile", "::", "getExplicitSectionGlobal", "(", "const", "GlobalValue", "*", "GV", ",", "SectionKind", "Kind", ",", "Mangler", "&", "Mang", ",", "const", "TargetMachine", "&", "TM", ")", "const", "{", "StringRef"...
[ "Targets", "should", "implement", "this", "method", "to", "assign", "a", "section", "to", "globals", "with", "an", "explicit", "section", "specfied", "." ]
[ "XCore", "XCore", "\".cp.\"", "\"Using .cp. section for writeable object.\"", "XCore", "XCore" ]
XCoreTargetObjectFile28
getExplicitSectionGlobal
XCore
MPU
LLVM
10,953
84
1
[]
[ "<s>", "MCSection", "*", "HexagonTargetObjectFile", "::", "getExplicitSectionGlobal", "(", "const", "GlobalObject", "*", "GO", ",", "SectionKind", "Kind", ",", "const", "TargetMachine", "&", "TM", ")", "const", "{", "TRACE", "(", "\"[getExplicitSectionGlobal] GO(\"", ...
[ "Targets", "should", "implement", "this", "method", "to", "assign", "a", "section", "to", "globals", "with", "an", "explicit", "section", "specfied", "." ]
[ "Hexagon", "Hexagon", "\"[getExplicitSectionGlobal] GO(\"", "\") from(\"", "\") \"", "\"private_linkage \"", "\"\"", "\"local_linkage \"", "\"\"", "\"internal \"", "\"\"", "\"external \"", "\"\"", "\"common_linkage \"", "\"\"", "\"common \"", "\"\"", "\"kind_common \"", "\"\"", ...
HexagonTargetObjectFile10
getExplicitSectionGlobal
Hexagon
DSP
LLVM
10,954
287
1
[]
[ "<s>", "virtual", "unsigned", "getISAEncoding", "(", ")", "LLVM_OVERRIDE", "{", "if", "(", "!", "Subtarget", "->", "isTargetDarwin", "(", ")", ")", "return", "0", ";", "return", "Subtarget", "->", "isThumb", "(", ")", "?", "ARM", "::", "DW_ISA_ARM_thumb", ...
[ "Get", "the", "value", "for", "DW_AT_APPLE_isa", ".", "Zero", "if", "no", "isa", "encoding", "specified", "." ]
[ "ARM", "0", "ARM::DW_ISA_ARM_thumb", "ARM::DW_ISA_ARM_arm" ]
ARMAsmPrinter17
getISAEncoding
ARM
CPU
LLVM
10,955
35
1
[]
[ "<s>", "static", "int", "msp430_costs", "(", "rtx", "src", ",", "rtx", "dst", ",", "bool", "speed", ",", "rtx", "outer_rtx", ")", "{", "enum", "rtx_code", "src_code", "=", "GET_CODE", "(", "src", ")", ";", "enum", "rtx_code", "dst_code", "=", "GET_CODE",...
[ "Costs", "of", "MSP430", "instructions", "are", "generally", "based", "on", "the", "addressing", "mode", "combination", "of", "the", "source", "and", "destination", "operands", ".", "Given", "source", "operand", "SRC", "(", "which", "may", "be", "NULL", "to", ...
[ "msp430", "0", "0" ]
msp430
msp430_costs
msp430
MPU
GCC
10,956
250
1
[]
[ "<s>", "SDValue", "AlphaTargetLowering", "::", "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", "." ]
[ "Alpha", "Alpha", "ISD::InputArg", "16", "Alpha", "0", "1", "0", "2", "ISD::AssertSext", "ISD::AssertZext", "ISD::TRUNCATE" ]
AlphaISelLowering2
LowerCallResult
Alpha
MPU
LLVM
10,957
300
1
[]
[ "<s>", "void", "rs6000_scale_v2df", "(", "rtx", "tgt", ",", "rtx", "src", ",", "int", "scale", ")", "{", "HOST_WIDE_INT", "hwi_scale", "(", "scale", ")", ";", "REAL_VALUE_TYPE", "r_pow", ";", "rtvec", "v", "=", "rtvec_alloc", "(", "2", ")", ";", "rtx", ...
[ "Scale", "a", "V2DF", "vector", "SRC", "by", "two", "to", "the", "SCALE", "and", "place", "in", "TGT", "." ]
[ "rs6000", "2", "0", "1" ]
rs60004
rs6000_scale_v2df
rs6000
CPU
GCC
10,958
109
1
[]
[ "<s>", "static", "HOST_WIDE_INT", "loongarch_starting_frame_offset", "(", "void", ")", "{", "if", "(", "FRAME_GROWS_DOWNWARD", ")", "return", "0", ";", "return", "crtl", "->", "outgoing_args_size", ";", "}", "</s>" ]
[ "Implement", "TARGET_STARTING_FRAME_OFFSET", ".", "See", "loongarch_compute_frame_info", "for", "details", "about", "the", "frame", "layout", "." ]
[ "loongarch", "0" ]
loongarch
loongarch_starting_frame_offset
loongarch
CPU
GCC
10,959
20
1
[]
[ "<s>", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"VE DAG->DAG Pattern Instruction Selection\"", ";", "}", "</s>" ]
[ "getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "." ]
[ "VE", "\"VE DAG->DAG Pattern Instruction Selection\"" ]
VEISelDAGToDAG
getPassName
VE
CPU
LLVM
10,960
11
1
[]
[ "<s>", "ArrayRef", "<", "std", "::", "pair", "<", "unsigned", ",", "const", "char", "*", ">>", "AArch64InstrInfo", "::", "getSerializableBitmaskMachineOperandTargetFlags", "(", ")", "const", "{", "using", "namespace", "AArch64II", ";", "static", "const", "std", ...
[ "Return", "an", "array", "that", "contains", "the", "bitmask", "target", "flag", "values", "and", "their", "names", "." ]
[ "AArch64", "AArch64", "AArch64", "\"aarch64-coffstub\"", "\"aarch64-got\"", "\"aarch64-nc\"", "\"aarch64-s\"", "\"aarch64-tls\"", "\"aarch64-dllimport\"", "\"aarch64-prel\"" ]
AArch64InstrInfo10
getSerializableBitmaskMachineOperandTargetFlags
AArch64
CPU
LLVM
10,961
90
1
[]
[ "<s>", "SparcTargetMachine", "::", "SparcTargetMachine", "(", "const", "Target", "&", "T", ",", "StringRef", "TT", ",", "StringRef", "CPU", ",", "StringRef", "FS", ",", "const", "TargetOptions", "&", "Options", ",", "Reloc", "::", "Model", "RM", ",", "CodeMo...
[ "Create", "an", "ILP32", "architecture", "model", "." ]
[ "Sparc", "Sparc", "Sparc", "Sparc" ]
SparcTargetMachine49
SparcTargetMachine
Sparc
CPU
LLVM
10,962
95
1
[]
[ "<s>", "static", "tree", "xtensa_build_builtin_va_list", "(", "void", ")", "{", "tree", "f_stk", ",", "f_reg", ",", "f_ndx", ",", "record", ",", "type_decl", ";", "record", "=", "(", "*", "lang_hooks", ".", "types", ".", "make_type", ")", "(", "RECORD_TYPE...
[ "Create", "the", "va_list", "data", "type", ".", "This", "structure", "is", "set", "up", "by", "__builtin_saveregs", ".", "The", "__va_reg", "field", "points", "to", "a", "stack-allocated", "region", "holding", "the", "contents", "of", "the", "incoming", "argu...
[ "xtensa", "\"__va_list_tag\"", "\"__va_stk\"", "\"__va_reg\"", "\"__va_ndx\"" ]
xtensa
xtensa_build_builtin_va_list
xtensa
MPU
GCC
10,963
161
1
[]
[ "<s>", "static", "int", "aarch64_reassociation_width", "(", "unsigned", "opc", "ATTRIBUTE_UNUSED", ",", "enum", "machine_mode", "mode", ")", "{", "if", "(", "VECTOR_MODE_P", "(", "mode", ")", ")", "return", "aarch64_tune_params", "->", "vec_reassoc_width", ";", "i...
[ "Return", "the", "reassociation", "width", "of", "treeop", "OPC", "with", "mode", "MODE", "." ]
[ "aarch64", "1" ]
aarch642
aarch64_reassociation_width
aarch64
CPU
GCC
10,964
53
1
[]
[ "<s>", "uint64_t", "getStackSize", "(", ")", "{", "return", "StackSize", ";", "}", "</s>" ]
[ "Return", "the", "number", "of", "bytes", "that", "must", "be", "allocated", "to", "hold", "all", "of", "the", "fixed", "size", "frame", "objects", "." ]
[ "X86" ]
X86CallLowering
getStackSize
X86
CPU
LLVM
10,965
9
1
[]
[ "<s>", "bool", "isTarget64BitLP64", "(", ")", "const", "{", "return", "In64BitMode", "&&", "(", "TargetTriple", ".", "getEnvironment", "(", ")", "!=", "Triple", "::", "GNUX32", "&&", "!", "TargetTriple", ".", "isOSNaCl", "(", ")", ")", ";", "}", "</s>" ]
[ "Is", "this", "x86_64", "with", "the", "LP64", "programming", "model", "(", "standard", "AMD64", ",", "no", "x32", ")", "?" ]
[ "X86" ]
X86Subtarget (2)
isTarget64BitLP64
X86
CPU
LLVM
10,966
29
1
[]
[ "<s>", "enum", "reg_class", "mcore_secondary_reload_class", "(", "enum", "reg_class", "rclass", ",", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ",", "rtx", "x", ")", "{", "if", "(", "TEST_HARD_REG_BIT", "(", "reg_class_contents", "[", "rclass", "]", ",", "15", ...
[ "Implement", "SECONDARY_RELOAD_CLASS", ".", "If", "CLASS", "contains", "r15", ",", "and", "we", "ca", "n't", "directly", "move", "X", "into", "it", ",", "use", "r1-r14", "as", "a", "temporary", "." ]
[ "mcore", "15" ]
mcore
mcore_secondary_reload_class
mcore
MPU
GCC
10,967
41
1
[]
[ "<s>", "static", "bool", "Check", "(", "DecodeStatus", "&", "Out", ",", "DecodeStatus", "In", ")", "{", "switch", "(", "In", ")", "{", "case", "MCDisassembler", "::", "Success", ":", "return", "true", ";", "case", "MCDisassembler", "::", "SoftFail", ":", ...
[ "Matches", "check", "string", "and", "its", "``", "not", "strings", "''", "and/or", "``", "dag", "strings", "''", "." ]
[ "AArch64", "\"Invalid DecodeStatus!\"" ]
AArch64Disassembler (2)2
Check
AArch64
CPU
LLVM
10,968
56
1
[]
[ "<s>", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"AMDGPU Lower Kernel Calls\"", ";", "}", "</s>" ]
[ "getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "." ]
[ "AMDGPU", "\"AMDGPU Lower Kernel Calls\"" ]
AMDGPULowerKernelCalls
getPassName
AMDGPU
GPU
LLVM
10,969
11
1
[]
[ "<s>", "int", "valid_parallel_load_store", "(", "rtx", "*", "operands", ",", "enum", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ")", "{", "rtx", "op0", "=", "operands", "[", "0", "]", ";", "rtx", "op1", "=", "operands", "[", "1", "]", ";", "rtx", "op2",...
[ "Validate", "combination", "of", "operands", "for", "parallel", "load/store", "instructions", "." ]
[ "c4x", "0", "1", "2", "3", "0", "0", "0", "0", "0", "1", "1", "0", "1", "1", "0", "0" ]
c4x1
valid_parallel_load_store
c4x
DSP
GCC
10,970
353
1
[]
[ "<s>", "MachineBasicBlock", "*", "ARM64TargetLowering", "::", "EmitInstrWithCustomInserter", "(", "MachineInstr", "*", "MI", ",", "MachineBasicBlock", "*", "BB", ")", "const", "{", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "MI...
[ "This", "method", "should", "be", "implemented", "by", "targets", "that", "mark", "instructions", "with", "the", "'usesCustomInserter", "'", "flag", "." ]
[ "ARM64", "ARM64", "0", "\"Unexpected instruction for custom inserter!\"", "ARM64::F128CSEL", "\"Unexpected instruction for custom inserter!\"" ]
ARM64ISelLowering
EmitInstrWithCustomInserter
ARM64
CPU
LLVM
10,971
80
1
[]
[ "<s>", "static", "void", "rs6000_darwin64_record_arg_advance_flush", "(", "CUMULATIVE_ARGS", "*", "cum", ",", "HOST_WIDE_INT", "bitpos", ",", "int", "final", ")", "{", "unsigned", "int", "startbit", ",", "endbit", ";", "int", "intregs", ",", "intoffset", ";", "i...
[ "Use", "this", "to", "flush", "pending", "int", "fields", "." ]
[ "rs6000", "1", "64", "0", "1", "0", "1", "1", "0", "0", "0" ]
rs6000-call
rs6000_darwin64_record_arg_advance_flush
rs6000
CPU
GCC
10,972
214
1
[]
[ "<s>", "static", "bool", "aarch64_evpc_zip", "(", "struct", "expand_vec_perm_d", "*", "d", ")", "{", "unsigned", "int", "high", ";", "poly_uint64", "nelt", "=", "d", "->", "perm", ".", "length", "(", ")", ";", "rtx", "out", ",", "in0", ",", "in1", ",",...
[ "Recognize", "patterns", "suitable", "for", "the", "ZIP", "instructions", "." ]
[ "aarch64", "8", "0", "0U", "2", "0", "2", "1", "1", "2", "1", "0U", "2" ]
aarch64
aarch64_evpc_zip
aarch64
CPU
GCC
10,973
214
1
[]
[ "<s>", "void", "X86WinCOFFStreamer", "::", "emitCVFPOData", "(", "const", "MCSymbol", "*", "ProcSym", ",", "SMLoc", "Loc", ")", "{", "X86TargetStreamer", "*", "XTS", "=", "static_cast", "<", "X86TargetStreamer", "*", ">", "(", "getTargetStreamer", "(", ")", ")...
[ "This", "implements", "the", "CodeView", "'.cv_fpo_data", "'", "assembler", "directive", "." ]
[ "X86", "X86", "X86", "X86" ]
X86WinCOFFStreamer13
emitCVFPOData
X86
CPU
LLVM
10,974
39
1
[]
[ "<s>", "void", "cris_asm_output_case_end", "(", "FILE", "*", "stream", ",", "int", "num", ",", "rtx_insn", "*", "table", ")", "{", "rtx_insn", "*", "whole_jump_insn", "=", "prev_nonnote_nondebug_insn", "(", "table", ")", ";", "gcc_assert", "(", "whole_jump_insn"...
[ "The", "ASM_OUTPUT_CASE_END", "worker", "." ]
[ "cris", "\"\\t.word %LL%d-%LL%d%s\\n\"", "0", "0", "1", "2", "0", "\"; default\"", "\"\"" ]
cris
cris_asm_output_case_end
cris
MPU
GCC
10,975
108
1
[]
[ "<s>", "const", "SpillSlot", "*", "getCalleeSavedSpillSlots", "(", "unsigned", "&", "NumEntries", ")", "const", "override", "{", "static", "const", "SpillSlot", "Offsets", "[", "]", "=", "{", "{", "VE", "::", "SX17", ",", "40", "}", ",", "{", "VE", "::",...
[ "getCalleeSavedSpillSlots", "-", "This", "method", "returns", "a", "pointer", "to", "an", "array", "of", "pairs", ",", "that", "contains", "an", "entry", "for", "each", "callee", "saved", "register", "that", "must", "be", "spilled", "to", "a", "particular", ...
[ "VE", "VE::SX17", "40", "VE::SX18", "48", "VE::SX19", "56", "VE::SX20", "64", "VE::SX21", "72", "VE::SX22", "80", "VE::SX23", "88", "VE::SX24", "96", "VE::SX25", "104", "VE::SX26", "112", "VE::SX27", "120", "VE::SX28", "128", "VE::SX29", "136", "VE::SX30", "14...
VEFrameLowering
getCalleeSavedSpillSlots
VE
CPU
LLVM
10,976
168
1
[]
[ "<s>", "bool", "Thumb2ITBlockPass", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "Fn", ")", "{", "const", "TargetMachine", "&", "TM", "=", "Fn", ".", "getTarget", "(", ")", ";", "AFI", "=", "Fn", ".", "getInfo", "<", "ARMFunctionInfo", ">", "...
[ "runOnMachineFunction", "-", "Emit", "the", "function", "body", "." ]
[ "ARM", "ARM" ]
Thumb2ITBlockPass
runOnMachineFunction
ARM
CPU
LLVM
10,977
133
1
[]
[ "<s>", "bool", "SIDebuggerInsertNops", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "const", "SISubtarget", "&", "ST", "=", "MF", ".", "getSubtarget", "<", "SISubtarget", ">", "(", ")", ";", "if", "(", "!", "ST", ".", "debugge...
[ "runOnMachineFunction", "-", "Emit", "the", "function", "body", "." ]
[ "AMDGPU", "SI", "SI", "SI", "SI", "AMDGPU::S_NOP", "0" ]
SIDebuggerInsertNops2
runOnMachineFunction
AMDGPU
GPU
LLVM
10,978
189
1
[]
[ "<s>", "void", "HexagonPassConfig", "::", "addPreRegAlloc", "(", ")", "{", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "{", "if", "(", "EnableExpandCondsets", ")", "insertPass", "(", "&", "RegisterCoalescerID", ",", "&", "Hexag...
[ "This", "method", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "register", "allocation", "." ]
[ "Hexagon", "Hexagon", "Hexagon", "Hexagon", "Hexagon" ]
HexagonTargetMachine31
addPreRegAlloc
Hexagon
DSP
LLVM
10,979
79
1
[]
[ "<s>", "bool", "ARMTargetLowering", "::", "isFPImmLegal", "(", "const", "APFloat", "&", "Imm", ",", "EVT", "VT", ",", "bool", "ForCodeSize", ")", "const", "{", "if", "(", "!", "Subtarget", "->", "hasVFP3Base", "(", ")", ")", "return", "false", ";", "if",...
[ "Returns", "true", "if", "the", "target", "can", "instruction", "select", "the", "specified", "FP", "immediate", "natively", "." ]
[ "ARM", "ARM", "MVT::f16", "ARM_AM::getFP16Imm", "1", "MVT::f32", "ARM_AM::getFP32Imm", "1", "MVT::f64", "ARM_AM::getFP64Imm", "1" ]
ARMISelLowering (2)6
isFPImmLegal
ARM
CPU
LLVM
10,980
103
1
[]
[ "<s>", "static", "bool", "has_memory_op", "(", "rtx_insn", "*", "mem_insn", ")", "{", "subrtx_iterator", "::", "array_type", "array", ";", "FOR_EACH_SUBRTX", "(", "iter", ",", "array", ",", "PATTERN", "(", "mem_insn", ")", ",", "ALL", ")", "if", "(", "MEM_...
[ "Return", "true", "if", "the", "rtx_insn", "contains", "a", "MEM", "RTX", "somewhere", "in", "it", "." ]
[ "aarch64" ]
aarch642
has_memory_op
aarch64
CPU
GCC
10,981
42
1
[]
[ "<s>", "void", "TL45DAGToDAGISel", "::", "Select", "(", "SDNode", "*", "Node", ")", "{", "if", "(", "Node", "->", "isMachineOpcode", "(", ")", ")", "{", "Node", "->", "setNodeId", "(", "-", "1", ")", ";", "return", ";", "}", "unsigned", "Opcode", "="...
[ "Main", "hook", "for", "targets", "to", "transform", "nodes", "into", "machine", "nodes", "." ]
[ "TL45", "TL45", "1", "MVT::i32", "0", "ISD::Constant", "TL45::r0", "MVT::i32", "ISD::FrameIndex", "0", "TL45::ADDI" ]
TL45ISelDAGToDAG
Select
TL45
MPU
LLVM
10,982
258
1
[]
[ "<s>", "MCFragment", "*", "findAssociatedFragment", "(", ")", "const", "override", "{", "return", "nullptr", ";", "}", "</s>" ]
[ "Find", "the", "``", "associated", "section", "''", "for", "this", "expression", ",", "which", "is", "currently", "defined", "as", "the", "absolute", "section", "for", "constants", ",", "or", "otherwise", "the", "section", "associated", "with", "the", "first",...
[ "X86" ]
X86MCExpr (2)
findAssociatedFragment
X86
CPU
LLVM
10,983
12
1
[]
[ "<s>", "bool", "s390_hard_regno_rename_ok", "(", "unsigned", "int", "old_reg", ",", "unsigned", "int", "new_reg", ")", "{", "if", "(", "cfun", "->", "machine", "->", "base_reg", ")", "if", "(", "REGNO", "(", "cfun", "->", "machine", "->", "base_reg", ")", ...
[ "Return", "nonzero", "if", "register", "OLD_REG", "can", "be", "renamed", "to", "register", "NEW_REG", "." ]
[ "s390" ]
s390
s390_hard_regno_rename_ok
s390
MPU
GCC
10,984
74
1
[]
[ "<s>", "unsigned", "PPCInstrInfo", "::", "isStoreToStackSlot", "(", "const", "MachineInstr", "*", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "P...
[ "isStoreToStackSlot", "-", "If", "the", "specified", "machine", "instruction", "is", "a", "direct", "store", "to", "a", "stack", "slot", ",", "return", "the", "virtual", "or", "physical", "register", "number", "of", "the", "source", "reg", "along", "with", "...
[ "PowerPC", "PPC", "PPC::STD", "PPC::STW", "PPC::STFS", "PPC::STFD", "PPC::SPILL_CR", "PPC::SPILL_CRBIT", "PPC::STVX", "PPC::STXVD2X", "PPC::QVSTFDX", "PPC::QVSTFSXs", "PPC::QVSTFDXb", "PPC::SPILL_VRSAVE", "1", "1", "2", "2", "0", "0" ]
PPCInstrInfo (3)
isStoreToStackSlot
PowerPC
CPU
LLVM
10,985
159
1
[]
[ "<s>", "unsigned", "MMIXMCCodeEmitter", "::", "getBranchTargetOpValue", "(", "const", "MCInst", "&", "Inst", ",", "unsigned", "OpNo", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ",", "const", "MCSubtargetInfo", "&", "SubtargetInfo", ")", "const", ...
[ "getBranchTargetOpValue", "-", "Return", "binary", "encoding", "of", "the", "branch", "target", "operand", "." ]
[ "MMIX", "MMIX", "MMIX::fixup_mmix_rel_16", "0", "0" ]
MMIXMCCodeEmitter
getBranchTargetOpValue
MMIX
CPU
LLVM
10,986
76
1
[]
[ "<s>", "static", "bool", "nds32_expand_cpymemsi_loop_unknown_size", "(", "rtx", "dstmem", ",", "rtx", "srcmem", ",", "rtx", "size", ",", "rtx", "alignment", ")", "{", "rtx", "dst_base_reg", ",", "src_base_reg", ";", "rtx", "dst_itr", ",", "src_itr", ";", "rtx"...
[ "Auxiliary", "function", "for", "expand", "cpymem", "pattern", "." ]
[ "nds32", "3", "0", "0", "2", "16", "7", "0", "0", "0", "0", "1", "0", "2", "1", "1", "1" ]
nds32-memory-manipulation
nds32_expand_cpymemsi_loop_unknown_size
nds32
CPU
GCC
10,987
424
1
[]
[ "<s>", "void", "HexagonFrameLowering", "::", "determineFrameLayout", "(", "MachineFunction", "&", "MF", ")", "const", "{", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "unsigned", "FrameSize", "=", "MFI", "->", "getStackSize", ...
[ "Determine", "the", "frame", "layout", "but", "do", "not", "update", "the", "machine", "function", "." ]
[ "Hexagon", "Hexagon" ]
HexagonFrameLowering33
determineFrameLayout
Hexagon
DSP
LLVM
10,988
101
1
[]
[ "<s>", "int", "compute_a_shift_cc", "(", "rtx", "operands", "[", "3", "]", ",", "rtx_code", "code", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "operands", "[", "0", "]", ")", ";", "enum", "shift_type", "shift_type", ";", "enum", "shift_mode", ...
[ "Compute", "which", "flag", "bits", "are", "valid", "after", "a", "shift", "insn", "." ]
[ "h8300", "3", "0", "2", "2", "0", "0", "0", "2" ]
h8300
compute_a_shift_cc
h8300
MPU
GCC
10,989
285
1
[]
[ "<s>", "const", "PPCRegisterInfo", "&", "getRegisterInfo", "(", ")", "const", "{", "return", "RI", ";", "}", "</s>" ]
[ "getRegisterInfo", "-", "TargetInstrInfo", "is", "a", "superset", "of", "MRegister", "info", "." ]
[ "PowerPC", "PPC" ]
PPCInstrInfo (2)2
getRegisterInfo
PowerPC
CPU
LLVM
10,990
12
1
[]
[ "<s>", "bool", "arc_check_ior_const", "(", "HOST_WIDE_INT", "ival", ")", "{", "unsigned", "int", "mask", "=", "(", "unsigned", "int", ")", "(", "ival", "&", "0xffffffff", ")", ";", "if", "(", "UNSIGNED_INT6", "(", "ival", ")", "||", "IS_POWEROF2_P", "(", ...
[ "Helper", "to", "check", "C0x", "constraint", "." ]
[ "arc", "0xffffffff", "3", "0x3f", "1" ]
arc
arc_check_ior_const
arc
MPU
GCC
10,991
67
1
[]
[ "<s>", "unsigned", "getMaxInlineSizeThreshold", "(", ")", "const", "{", "return", "isThumb1Only", "(", ")", "?", "0", ":", "64", ";", "}", "</s>" ]
[ "Returns", "the", "maximum", "memset", "/", "memcpy", "size", "that", "still", "makes", "it", "profitable", "to", "inline", "the", "call", "." ]
[ "ARM", "0", "64" ]
ARMSubtarget10
getMaxInlineSizeThreshold
ARM
CPU
LLVM
10,992
16
1
[]
[ "<s>", "static", "MCAsmInfo", "*", "createMCAsmInfo", "(", "const", "Target", "&", "T", ",", "StringRef", "TT", ")", "{", "Triple", "TheTriple", "(", "TT", ")", ";", "switch", "(", "TheTriple", ".", "getOS", "(", ")", ")", "{", "case", "Triple", "::", ...
[ "createMCAsmInfo", "-", "Create", "a", "MCAsmInfo", "implementation", "for", "the", "specified", "target", "triple", "." ]
[ "X86", "X86", "X86", "X86", "X86" ]
X86TargetMachine41
createMCAsmInfo
X86
CPU
LLVM
10,993
94
1
[]
[ "<s>", "bool", "ARM64PassConfig", "::", "addILPOpts", "(", ")", "{", "if", "(", "EnableCCMP", ")", "addPass", "(", "createARM64ConditionalCompares", "(", ")", ")", ";", "if", "(", "EnableEarlyIfConvert", ")", "addPass", "(", "&", "EarlyIfConverterID", ")", ";"...
[ "Add", "passes", "that", "optimize", "instruction", "level", "parallelism", "for", "out-of-order", "targets", "." ]
[ "ARM64", "ARM64", "ARM64", "ARM64" ]
ARM64TargetMachine1
addILPOpts
ARM64
CPU
LLVM
10,994
43
1
[]
[ "<s>", "void", "PPCPassConfig", "::", "addIRPasses", "(", ")", "{", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "addPass", "(", "createPPCBoolRetToIntPass", "(", ")", ")", ";", "addPass", "(", "createAtomicExpandPas...
[ "Add", "common", "target", "configurable", "passes", "that", "perform", "LLVM", "IR", "to", "IR", "transforms", "following", "machine", "independent", "optimization", "." ]
[ "PowerPC", "PPC", "PPC", "PPC", "0" ]
PPCTargetMachine8
addIRPasses
PowerPC
CPU
LLVM
10,995
134
1
[]
[ "<s>", "unsigned", "MipsSEInstrInfo", "::", "isLoadFromStackSlot", "(", "const", "MachineInstr", "&", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "if", "(", "MI", ".", "mayLoad", "(", ")", ")", "{", "if", "(", "(", "MI", ".", "getOperand", ...
[ "isLoadFromStackSlot", "-", "If", "the", "specified", "machine", "instruction", "is", "a", "direct", "load", "from", "a", "stack", "slot", ",", "return", "the", "virtual", "or", "physical", "register", "number", "of", "the", "destination", "along", "with", "th...
[ "Mips", "Mips", "1", "2", "2", "1", "0", "0" ]
MipsSEInstrInfo30
isLoadFromStackSlot
Mips
CPU
LLVM
10,996
97
1
[]
[ "<s>", "static", "void", "s390_asm_trampoline_template", "(", "FILE", "*", "file", ")", "{", "rtx", "op", "[", "2", "]", ";", "op", "[", "0", "]", "=", "gen_rtx_REG", "(", "Pmode", ",", "0", ")", ";", "op", "[", "1", "]", "=", "gen_rtx_REG", "(", ...
[ "Output", "assembly", "code", "for", "the", "trampoline", "template", "to", "stdio", "stream", "FILE", ".", "On", "S/390", ",", "we", "use", "gpr", "1", "internally", "in", "the", "trampoline", "code", ";", "gpr", "0", "is", "used", "to", "hold", "the", ...
[ "s390", "2", "0", "0", "1", "1", "\"basr\\t%1,0\"", "\"lmg\\t%0,%1,14(%1)\"", "\"br\\t%1\"", "10", "\"basr\\t%1,0\"", "\"lm\\t%0,%1,6(%1)\"", "\"br\\t%1\"", "8" ]
s390
s390_asm_trampoline_template
s390
MPU
GCC
10,997
119
1
[]
[ "<s>", "void", "aarch64_split_simd_combine", "(", "rtx", "dst", ",", "rtx", "src1", ",", "rtx", "src2", ")", "{", "machine_mode", "src_mode", "=", "GET_MODE", "(", "src1", ")", ";", "machine_mode", "dst_mode", "=", "GET_MODE", "(", "dst", ")", ";", "gcc_as...
[ "Split", "a", "complex", "SIMD", "combine", "." ]
[ "aarch64" ]
aarch64
aarch64_split_simd_combine
aarch64
CPU
GCC
10,998
78
1
[]
[ "<s>", "static", "bool", "mips_expand_vpc_loongson_even_odd", "(", "struct", "expand_vec_perm_d", "*", "d", ")", "{", "unsigned", "i", ",", "odd", ",", "nelt", "=", "d", "->", "nelt", ";", "rtx", "t0", ",", "t1", ",", "t2", ",", "t3", ";", "if", "(", ...
[ "Recognize", "patterns", "for", "even-odd", "extraction", "." ]
[ "mips", "4", "0", "1", "1", "2" ]
mips
mips_expand_vpc_loongson_even_odd
mips
CPU
GCC
10,999
327
1
[]