ground_truth
listlengths
8
512
natrual_language
listlengths
1
243
TS_V_token
listlengths
1
182
File
stringlengths
2
45
Func
stringlengths
1
56
Target
stringclasses
175 values
Target_Clf
stringclasses
6 values
Compiler_Type
stringclasses
2 values
Idx
int64
0
36.2k
Length
int64
6
510
Cover_Rate
float64
1
1
Template_token
listlengths
0
0
[ "<s>", "bool", "CSKYInstPrinter", "::", "applyTargetSpecificCLOption", "(", "StringRef", "Opt", ")", "{", "if", "(", "Opt", "==", "\"no-aliases\"", ")", "{", "NoAliases", "=", "true", ";", "return", "true", ";", "}", "if", "(", "Opt", "==", "\"numeric\"", ...
[ "Customize", "the", "printer", "according", "to", "a", "command", "line", "option", "." ]
[ "CSKY", "CSKY", "\"no-aliases\"", "\"numeric\"" ]
CSKYInstPrinter
applyTargetSpecificCLOption
CSKY
CPU
LLVM
24,200
43
1
[]
[ "<s>", "const", "char", "*", "HexagonTargetLowering", "::", "getTargetNodeName", "(", "unsigned", "Opcode", ")", "const", "{", "switch", "(", "(", "HexagonISD", "::", "NodeType", ")", "Opcode", ")", "{", "case", "HexagonISD", "::", "ALLOCA", ":", "return", "...
[ "getTargetNodeName", "-", "This", "method", "returns", "the", "name", "of", "a", "target", "specific" ]
[ "Hexagon", "Hexagon", "HexagonISD::NodeType", "HexagonISD::ALLOCA", "\"HexagonISD::ALLOCA\"", "HexagonISD::AT_GOT", "\"HexagonISD::AT_GOT\"", "HexagonISD::AT_PCREL", "\"HexagonISD::AT_PCREL\"", "HexagonISD::BARRIER", "\"HexagonISD::BARRIER\"", "HexagonISD::CALL", "\"HexagonISD::CALL\"", "H...
HexagonISelLowering114
getTargetNodeName
Hexagon
DSP
LLVM
24,201
410
1
[]
[ "<s>", "void", "SPScope", "::", "merge", "(", "PredicatedBlock", "*", "b1", ",", "PredicatedBlock", "*", "b2", ")", "{", "b1", "->", "merge", "(", "b2", ")", ";", "Priv", "->", "replaceUseOfBlockWith", "(", "b2", ",", "b1", ")", ";", "std", "::", "fu...
[ "Merge", "target", "triples", "." ]
[ "Patmos", "\"Block not in scope tree\\n\"" ]
SPScope
merge
Patmos
VLIW
LLVM
24,202
159
1
[]
[ "<s>", "unsigned", "int", "pass_s390_early_mach", "::", "execute", "(", "function", "*", "fun", ")", "{", "rtx_insn", "*", "insn", ";", "s390_optimize_nonescaping_tx", "(", ")", ";", "s390_register_info", "(", ")", ";", "if", "(", "fun", "->", "machine", "->...
[ "Main", "entry", "point", "for", "this", "pass", "." ]
[ "s390", "0" ]
s390
execute
s390
MPU
GCC
24,203
83
1
[]
[ "<s>", "static", "rtx", "altivec_expand_ld_builtin", "(", "tree", "exp", ",", "rtx", "target", ",", "bool", "*", "expandedp", ")", "{", "tree", "fndecl", "=", "TREE_OPERAND", "(", "CALL_EXPR_FN", "(", "exp", ")", ",", "0", ")", ";", "unsigned", "int", "f...
[ "Expand", "the", "lvx", "builtins", "." ]
[ "rs6000", "0", "0", "0", "1", "0", "0", "1", "0" ]
rs60006
altivec_expand_ld_builtin
rs6000
CPU
GCC
24,204
289
1
[]
[ "<s>", "void", "push", "(", "unsigned", "Weight", ",", "const", "Candidate", "&&", "C", ")", "{", "operator", "[", "]", "(", "Weight", ")", ".", "push_front", "(", "C", ")", ";", "}", "</s>" ]
[ "Push", "the", "current", "solver", "state", "." ]
[ "AMDGPU" ]
GCNRegBankReassign4
push
AMDGPU
GPU
LLVM
24,205
25
1
[]
[ "<s>", "const", "MCPhysReg", "*", "AArch64RegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "assert", "(", "MF", "&&", "\"Invalid MachineFunction pointer.\"", ")", ";", "if", "(", "MF", "->", "getFunction", ...
[ "Code", "Generation", "virtual", "methods", "..." ]
[ "AArch64", "AArch64", "\"Invalid MachineFunction pointer.\"", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64" ]
AArch64RegisterInfo15
getCalleeSavedRegs
AArch64
CPU
LLVM
24,206
156
1
[]
[ "<s>", "void", "SPIRVAsmPrinter", "::", "emitEndOfAsmFile", "(", "Module", "&", "M", ")", "{", "if", "(", "ModuleSectionsEmitted", "==", "false", ")", "{", "outputModuleSections", "(", ")", ";", "ModuleSectionsEmitted", "=", "true", ";", "}", "}", "</s>" ]
[ "This", "virtual", "method", "can", "be", "overridden", "by", "targets", "that", "want", "to", "emit", "something", "at", "the", "end", "of", "their", "file", "." ]
[ "SPIRV", "SPIRV" ]
SPIRVAsmPrinter
emitEndOfAsmFile
SPIRV
Virtual ISA
LLVM
24,207
27
1
[]
[ "<s>", "virtual", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "{", "AU", ".", "setPreservesAll", "(", ")", ";", "AU", ".", "addRequired", "<", "MachineModuleInfo", ">", "(", ")", ";", "ModulePass", "::", "getAnalysisUsage", "("...
[ "getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "." ]
[ "Patmos" ]
PatmosCallGraphBuilder
getAnalysisUsage
Patmos
VLIW
LLVM
24,208
33
1
[]
[ "<s>", "void", "assignValueToAddress", "(", "unsigned", "ValVReg", ",", "unsigned", "Addr", ",", "uint64_t", "Size", ",", "MachinePointerInfo", "&", "MPO", ",", "CCValAssign", "&", "VA", ")", "override", "{", "if", "(", "VA", ".", "getLocInfo", "(", ")", "...
[ "An", "overload", "which", "takes", "an", "ArgInfo", "if", "additional", "information", "about", "the", "arg", "is", "needed", "." ]
[ "AArch64", "8", "8", "0", "1" ]
AArch64CallLowering39
assignValueToAddress
AArch64
CPU
LLVM
24,209
114
1
[]
[ "<s>", "void", "ARMOperand", "::", "dump", "(", "raw_ostream", "&", "OS", ")", "const", "{", "switch", "(", "Kind", ")", "{", "case", "CondCode", ":", "OS", "<<", "ARMCondCodeToString", "(", "getCondCode", "(", ")", ")", ";", "break", ";", "case", "CCO...
[ "Dump", "the", "plan", "to", "stderr", "(", "for", "debugging", ")", "." ]
[ "ARM", "ARM", "ARM", "\"<ccout \"", "\">\"", "\"<memory>\"", "\"<register \"", "\">\"", "\"<register_list \"", "\", \"", "\">\"", "\"'\"", "\"'\"" ]
ARMAsmParser46
dump
ARM
CPU
LLVM
24,210
180
1
[]
[ "<s>", "unsigned", "mmix_dbx_register_number", "(", "unsigned", "regno", ")", "{", "regno", "=", "MMIX_OUTPUT_REGNO", "(", "regno", ")", ";", "return", "regno", ">=", "224", "?", "(", "regno", "-", "224", ")", ":", "(", "regno", "+", "48", ")", ";", "}...
[ "DBX_REGISTER_NUMBER", "." ]
[ "mmix", "224", "224", "48" ]
mmix
mmix_dbx_register_number
mmix
CPU
GCC
24,211
32
1
[]
[ "<s>", "static", "int", "mips_comp_type_attributes", "(", "const_tree", "type1", ",", "const_tree", "type2", ")", "{", "if", "(", "mips_far_type_p", "(", "type1", ")", "&&", "mips_near_type_p", "(", "type2", ")", ")", "return", "0", ";", "if", "(", "mips_nea...
[ "Implement", "TARGET_COMP_TYPE_ATTRIBUTES", "." ]
[ "mips", "0", "0", "1" ]
mips
mips_comp_type_attributes
mips
CPU
GCC
24,212
45
1
[]
[ "<s>", "void", "AMDGPUTTI", "::", "getUnrollingPreferences", "(", "const", "Function", "*", ",", "Loop", "*", "L", ",", "UnrollingPreferences", "&", "UP", ")", "const", "{", "UP", ".", "Threshold", "=", "300", ";", "UP", ".", "MaxCount", "=", "UINT_MAX", ...
[ "Get", "target-customized", "preferences", "for", "the", "generic", "loop", "unrolling", "transformation", "." ]
[ "R600", "300", "AMDGPUAS::PRIVATE_ADDRESS", "800" ]
AMDGPUTargetTransformInfo23
getUnrollingPreferences
R600
GPU
LLVM
24,213
135
1
[]
[ "<s>", "bool", "HexagonBitSimplify", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "skipFunction", "(", "*", "MF", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "auto", "&", "HST", "=", "MF", ".",...
[ "runOnMachineFunction", "-", "Emit", "the", "function", "body", "." ]
[ "Hexagon", "Hexagon", "Hexagon", "Hexagon" ]
HexagonBitSimplify (2)1
runOnMachineFunction
Hexagon
DSP
LLVM
24,214
372
1
[]
[ "<s>", "TargetLoweringBase", "::", "AtomicRMWExpansionKind", "AArch64TargetLowering", "::", "shouldExpandAtomicRMWInIR", "(", "AtomicRMWInst", "*", "AI", ")", "const", "{", "unsigned", "Size", "=", "AI", "->", "getType", "(", ")", "->", "getPrimitiveSizeInBits", "(", ...
[ "Returns", "how", "the", "IR-level", "AtomicExpand", "pass", "should", "expand", "the", "given", "AtomicRMW", ",", "if", "at", "all", "." ]
[ "AArch64", "AArch64", "128" ]
AArch64ISelLowering116
shouldExpandAtomicRMWInIR
AArch64
CPU
LLVM
24,215
40
1
[]
[ "<s>", "void", "d30v_expand_prologue", "(", ")", "{", "rtx", "sp", "=", "stack_pointer_rtx", ";", "d30v_stack_t", "*", "info", "=", "d30v_stack_info", "(", ")", ";", "int", "i", ";", "rtx", "mem_di", "=", "NULL_RTX", ";", "rtx", "mem_si", "=", "NULL_RTX", ...
[ "Called", "after", "register", "allocation", "to", "add", "any", "instructions", "needed", "for", "the", "prologue", ".", "Using", "a", "prologue", "insn", "is", "favored", "compared", "to", "putting", "all", "of", "the", "instructions", "in", "output_function_p...
[ "d30v", "1", "1", "2", "2", "1", "1", "0", "0", "0", "2" ]
d30v
d30v_expand_prologue
d30v
CPU
GCC
24,216
443
1
[]
[ "<s>", "MVT", "getScalarShiftAmountTy", "(", "const", "DataLayout", "&", ",", "EVT", ")", "const", "override", "{", "return", "MVT", "::", "i32", ";", "}", "</s>" ]
[ "Return", "the", "type", "to", "use", "for", "a", "scalar", "shift", "opcode", ",", "given", "the", "shifted", "amount", "type", "." ]
[ "Mips", "MVT::i32" ]
MipsISelLowering (2)
getScalarShiftAmountTy
Mips
CPU
LLVM
24,217
18
1
[]
[ "<s>", "bool", "isLittleEndian", "(", ")", "const", "{", "return", "IsLittleEndian", ";", "}", "</s>" ]
[ "Tests", "whether", "the", "target", "triple", "is", "little", "endian", "." ]
[ "PowerPC" ]
PPCAsmBackend
isLittleEndian
PowerPC
CPU
LLVM
24,218
10
1
[]
[ "<s>", "void", "SNESDAGToDAGISel", "::", "Select", "(", "SDNode", "*", "N", ")", "{", "DEBUG", "(", "errs", "(", ")", "<<", "\"Selecting: \"", ";", "N", "->", "dump", "(", "CurDAG", ")", ";", "errs", "(", ")", "<<", "\"\\n\"", ")", ";", "if", "(", ...
[ "Main", "hook", "for", "targets", "to", "transform", "nodes", "into", "machine", "nodes", "." ]
[ "SNES", "SNES", "\"Selecting: \"", "\"\\n\"", "\"== \"", "\"\\n\"", "1" ]
SNESISelDAGToDAG
Select
SNES
DSP
LLVM
24,219
89
1
[]
[ "<s>", "bool", "AMDGPUCodeGenPrepare", "::", "isSigned", "(", "const", "SelectInst", "&", "I", ")", "const", "{", "return", "isa", "<", "ICmpInst", ">", "(", "I", ".", "getOperand", "(", "0", ")", ")", "?", "cast", "<", "ICmpInst", ">", "(", "I", "."...
[ "Returns", "true", "if", "all", "source", "operands", "of", "the", "recurrence", "are", "SExtInsts", "." ]
[ "AMDGPU", "AMDGPU", "0", "0" ]
AMDGPUCodeGenPrepare (2)
isSigned
AMDGPU
GPU
LLVM
24,220
46
1
[]
[ "<s>", "bool", "ARMBaseInstrInfo", "::", "isPredicable", "(", "MachineInstr", "*", "MI", ")", "const", "{", "if", "(", "!", "MI", "->", "isPredicable", "(", ")", ")", "return", "false", ";", "ARMFunctionInfo", "*", "AFI", "=", "MI", "->", "getParent", "(...
[ "Return", "true", "if", "the", "specified", "instruction", "can", "be", "predicated", "." ]
[ "ARM", "ARM", "ARM", "ARM", "ARMII::DomainMask", "ARMII::DomainNEON" ]
ARMBaseInstrInfo (2)
isPredicable
ARM
CPU
LLVM
24,221
100
1
[]
[ "<s>", "bool", "empty", "(", ")", "const", "{", "return", "Stack", ".", "empty", "(", ")", "||", "top", "(", ")", "==", "bottom", "(", ")", ";", "}", "</s>" ]
[ "Determine", "whether", "this", "version", "information", "is", "empty", "(", "e.g.", ",", "all", "version", "components", "are", "zero", ")", "." ]
[ "Hexagon" ]
RDFGraph
empty
Hexagon
DSP
LLVM
24,222
22
1
[]
[ "<s>", "static", "int", "uses_TOC", "(", "void", ")", "{", "rtx", "insn", ";", "for", "(", "insn", "=", "get_insns", "(", ")", ";", "insn", ";", "insn", "=", "NEXT_INSN", "(", "insn", ")", ")", "if", "(", "INSN_P", "(", "insn", ")", ")", "{", "...
[ "This", "retuns", "nonzero", "if", "the", "current", "function", "uses", "the", "TOC", ".", "This", "is", "determined", "by", "the", "presence", "of", "(", "unspec", "...", "7", ")", ",", "which", "is", "generated", "by", "the", "various", "load_toc_", "...
[ "rs6000", "0", "0", "0", "0", "1", "1", "0" ]
rs60003
uses_TOC
rs6000
CPU
GCC
24,223
133
1
[]
[ "<s>", "bool", "HexagonInstrInfo", "::", "isValidOffset", "(", "const", "int", "Opcode", ",", "const", "int", "Offset", ")", "const", "{", "switch", "(", "Opcode", ")", "{", "case", "Hexagon", "::", "L2_loadri_io", ":", "case", "Hexagon", "::", "S2_storeri_i...
[ "Test", "the", "validity", "of", "offset", "." ]
[ "Hexagon", "Hexagon", "Hexagon::L2_loadri_io", "Hexagon::S2_storeri_io", "Hexagon", "Hexagon", "Hexagon::L2_loadrd_io", "Hexagon::S2_storerd_io", "Hexagon", "Hexagon", "Hexagon::L2_loadrh_io", "Hexagon::L2_loadruh_io", "Hexagon::S2_storerh_io", "Hexagon", "Hexagon", "Hexagon::L2_loadrb...
HexagonInstrInfo41
isValidOffset
Hexagon
DSP
LLVM
24,224
311
1
[]
[ "<s>", "SDNode", "*", "SparcDAGToDAGISel", "::", "Select", "(", "SDNode", "*", "N", ")", "{", "SDLoc", "dl", "(", "N", ")", ";", "if", "(", "N", "->", "isMachineOpcode", "(", ")", ")", "return", "NULL", ";", "switch", "(", "N", "->", "getOpcode", "...
[ "Main", "hook", "for", "targets", "to", "transform", "nodes", "into", "machine", "nodes", "." ]
[ "Sparc", "Sparc", "SPISD::GLOBAL_BASE_REG", "ISD::SDIV", "ISD::UDIV", "0", "MVT::i64", "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::UDI...
SparcISelDAGToDAG2
Select
Sparc
CPU
LLVM
24,225
355
1
[]
[ "<s>", "bool", "isToken", "(", ")", "const", "override", "{", "return", "Kind", "==", "Token", ";", "}", "</s>" ]
[ "isToken", "-", "Is", "this", "a", "token", "operand", "?" ]
[ "BPF" ]
BPFAsmParser
isToken
BPF
Virtual ISA
LLVM
24,226
13
1
[]
[ "<s>", "static", "struct", "constant_pool", "*", "s390_find_pool", "(", "struct", "constant_pool", "*", "pool_list", ",", "rtx", "insn", ")", "{", "struct", "constant_pool", "*", "pool", ";", "for", "(", "pool", "=", "pool_list", ";", "pool", ";", "pool", ...
[ "Return", "pool", "out", "of", "POOL_LIST", "that", "covers", "INSN", "." ]
[ "s390" ]
s390
s390_find_pool
s390
MPU
GCC
24,227
54
1
[]
[ "<s>", "void", "AVRDAGToDAGISel", "::", "Select", "(", "SDNode", "*", "N", ")", "{", "if", "(", "N", "->", "isMachineOpcode", "(", ")", ")", "{", "LLVM_DEBUG", "(", "errs", "(", ")", "<<", "\"== \"", ";", "N", "->", "dump", "(", "CurDAG", ")", ";",...
[ "Main", "hook", "for", "targets", "to", "transform", "nodes", "into", "machine", "nodes", "." ]
[ "AVR", "AVR", "\"== \"", "\"\\n\"", "1" ]
AVRISelDAGToDAG
Select
AVR
MPU
LLVM
24,228
67
1
[]
[ "<s>", "const", "LegalizerInfo", "*", "getLegalizerInfo", "(", ")", "const", "override", "{", "return", "Legalizer", ".", "get", "(", ")", ";", "}", "</s>" ]
[ "Expose", "LegalizerInfo", "so", "the", "clients", "can", "re-use", "." ]
[ "M88k" ]
M88kSubtarget
getLegalizerInfo
M88k
MPU
LLVM
24,229
17
1
[]
[ "<s>", "bool", "X86InstructionSelector", "::", "selectBinaryOp", "(", "MachineInstr", "&", "I", ",", "MachineRegisterInfo", "&", "MRI", ",", "MachineFunction", "&", "MF", ")", "const", "{", "const", "unsigned", "DefReg", "=", "I", ".", "getOperand", "(", "0", ...
[ "Select", "and", "emit", "code", "for", "a", "binary", "operator", "instruction", ",", "which", "has", "an", "opcode", "which", "directly", "corresponds", "to", "the", "given", "ISD", "opcode", "." ]
[ "X86", "X86", "0" ]
X86InstructionSelector28
selectBinaryOp
X86
CPU
LLVM
24,230
182
1
[]
[ "<s>", "const", "Nios2Subtarget", "*", "getSubtargetImpl", "(", ")", "const", "{", "return", "&", "Subtarget", ";", "}", "</s>" ]
[ "Virtual", "method", "implemented", "by", "subclasses", "that", "returns", "a", "reference", "to", "that", "target", "'s", "TargetSubtargetInfo-derived", "member", "variable", "." ]
[ "Nios2", "Nios2" ]
Nios2TargetMachine
getSubtargetImpl
Nios2
MPU
LLVM
24,231
13
1
[]
[ "<s>", "BitVector", "M680x0RegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "M680x0FrameLowering", "*", "TFI", "=", "getFrameLowering", "(", "MF", ")", ";", "BitVector", "Reserved", "(", "getNumRegs", ...
[ "getReservedRegs", "-", "Returns", "a", "bitset", "indexed", "by", "physical", "register", "number", "indicating", "if", "a", "register", "is", "a", "special", "register", "that", "has", "particular", "uses", "and", "should", "be", "considered", "unavailable", "...
[ "M680x0", "M680x0", "M680x0", "M680x0::PC", "M680x0::SP", "\"Stack realignment in presence of dynamic allocas is \"", "\"not supported with\"", "\"this calling convention.\"" ]
M680x0RegisterInfo
getReservedRegs
M680x0
MPU
LLVM
24,232
205
1
[]
[ "<s>", "int", "AArch64TTIImpl", "::", "getArithmeticInstrCost", "(", "unsigned", "Opcode", ",", "Type", "*", "Ty", ",", "TTI", "::", "OperandValueKind", "Opd1Info", ",", "TTI", "::", "OperandValueKind", "Opd2Info", ",", "TTI", "::", "OperandValueProperties", "Opd1...
[ "This", "is", "an", "approximation", "of", "reciprocal", "throughput", "of", "a", "math/logic", "op", "." ]
[ "AArch64", "AArch64", "0", "ISD::SDIV", "ISD::ADD", "ISD::MUL", "ISD::XOR", "ISD::OR", "ISD::AND", "1" ]
AArch64TargetTransformInfo10
getArithmeticInstrCost
AArch64
CPU
LLVM
24,233
276
1
[]
[ "<s>", "SDValue", "XCoreTargetLowering", "::", "LowerCallResult", "(", "SDValue", "Chain", ",", "SDValue", "InFlag", ",", "unsigned", "CallConv", ",", "bool", "isVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "InputArg", ">", "&", "Ins", ",", "Deb...
[ "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" ]
XCoreISelLowering59
LowerCallResult
XCore
MPU
LLVM
24,234
161
1
[]
[ "<s>", "bool", "ARMFastISel", "::", "fastLowerArguments", "(", ")", "{", "if", "(", "!", "FuncInfo", ".", "CanLowerReturn", ")", "return", "false", ";", "const", "Function", "*", "F", "=", "FuncInfo", ".", "Fn", ";", "if", "(", "F", "->", "isVarArg", "...
[ "This", "method", "is", "called", "by", "target-independent", "code", "to", "do", "target-", "specific", "argument", "lowering", "." ]
[ "ARM", "ARM", "ARM", "ARM", "ARM", "1", "4", "MVT::i8", "MVT::i16", "MVT::i32", "ARM::R0", "ARM::R1", "ARM::R2", "ARM::R3", "ARM::rGPRRegClass", "0" ]
ARMFastISel29
fastLowerArguments
ARM
CPU
LLVM
24,235
459
1
[]
[ "<s>", "static", "std", "::", "unique_ptr", "<", "X86Operand", ">", "CreateMem", "(", "unsigned", "ModeSize", ",", "unsigned", "SegReg", ",", "const", "MCExpr", "*", "Disp", ",", "unsigned", "BaseReg", ",", "unsigned", "IndexReg", ",", "unsigned", "Scale", "...
[ "Create", "a", "generalized", "memory", "operand", "." ]
[ "X86", "X86", "0", "X86::NoRegister", "0", "\"Invalid memory operand!\"", "1", "2", "4", "8", "\"Invalid scale!\"", "X86" ]
X86Operand24
CreateMem
X86
CPU
LLVM
24,236
217
1
[]
[ "<s>", "int", "nds32_target_alignment", "(", "rtx_insn", "*", "label", ")", "{", "rtx_insn", "*", "insn", ";", "if", "(", "!", "NDS32_ALIGN_P", "(", ")", ")", "return", "0", ";", "insn", "=", "next_active_insn", "(", "label", ")", ";", "if", "(", "insn...
[ "Return", "align", "2", "(", "log", "base", "2", ")", "if", "the", "next", "instruction", "of", "LABEL", "is", "4", "byte", "." ]
[ "nds32", "0", "0", "2", "0", "2" ]
nds32
nds32_target_alignment
nds32
CPU
GCC
24,237
64
1
[]
[ "<s>", "static", "bool", "adjacent_mem_locations", "(", "rtx", "mem1", ",", "rtx", "mem2", ")", "{", "rtx", "reg1", ",", "reg2", ";", "HOST_WIDE_INT", "off1", ",", "size1", ",", "off2", ",", "size2", ";", "if", "(", "get_memref_parts", "(", "mem1", ",", ...
[ "If", "the", "target", "storage", "locations", "of", "arguments", "MEM1", "and", "MEM2", "are", "adjacent", ",", "then", "return", "the", "argument", "that", "has", "the", "lower", "address", ".", "Otherwise", ",", "return", "NULL_RTX", "." ]
[ "powerpcspe" ]
powerpcspe
adjacent_mem_locations
powerpcspe
CPU
GCC
24,238
92
1
[]
[ "<s>", "bool", "s390_split_ok_p", "(", "rtx", "dst", ",", "rtx", "src", ",", "machine_mode", "mode", ",", "int", "first_subword", ")", "{", "if", "(", "FP_REG_P", "(", "src", ")", "||", "FP_REG_P", "(", "dst", ")", "||", "VECTOR_REG_P", "(", "src", ")"...
[ "Check", "whether", "we", "can", "(", "and", "want", "to", ")", "split", "a", "double-word", "move", "in", "mode", "MODE", "from", "SRC", "to", "DST", "into", "two", "single-word", "moves", ",", "moving", "the", "subword", "FIRST_SUBWORD", "first", "." ]
[ "s390", "0" ]
s390
s390_split_ok_p
s390
MPU
GCC
24,239
117
1
[]
[ "<s>", "int", "s390_agen_dep_p", "(", "rtx", "dep_insn", ",", "rtx", "insn", ")", "{", "rtx", "dep_rtx", "=", "PATTERN", "(", "dep_insn", ")", ";", "int", "i", ";", "if", "(", "GET_CODE", "(", "dep_rtx", ")", "==", "SET", "&&", "addr_generation_dependenc...
[ "Return", "1", ",", "if", "dep_insn", "sets", "register", "used", "in", "insn", "in", "the", "agen", "unit", "." ]
[ "s390", "1", "0", "0", "0", "1", "0" ]
s3903
s390_agen_dep_p
s390
MPU
GCC
24,240
95
1
[]
[ "<s>", "bool", "isMem", "(", ")", "const", "override", "{", "return", "isGPRMem", "(", ")", "||", "isMVEMem", "(", ")", ";", "}", "</s>" ]
[ "isMem", "-", "Is", "this", "a", "memory", "operand", "?" ]
[ "ARM" ]
ARMAsmParser (2)3
isMem
ARM
CPU
LLVM
24,241
17
1
[]
[ "<s>", "struct", "xstormy16_stack_layout", "xstormy16_compute_stack_layout", "(", "void", ")", "{", "struct", "xstormy16_stack_layout", "layout", ";", "int", "regno", ";", "const", "int", "ifun", "=", "xstormy16_interrupt_function_p", "(", ")", ";", "layout", ".", "...
[ "Compute", "the", "stack", "layout", "." ]
[ "stormy16", "0", "0", "0", "2048", "1", "2048", "2048" ]
stormy16
xstormy16_compute_stack_layout
stormy16
CPU
GCC
24,242
212
1
[]
[ "<s>", "const", "Thumb1RegisterInfo", "&", "getRegisterInfo", "(", ")", "const", "{", "return", "RI", ";", "}", "</s>" ]
[ "getRegisterInfo", "-", "TargetInstrInfo", "is", "a", "superset", "of", "MRegister", "info", "." ]
[ "ARM" ]
Thumb1InstrInfo14
getRegisterInfo
ARM
CPU
LLVM
24,243
12
1
[]
[ "<s>", "bool", "quad_load_store_p", "(", "rtx", "op0", ",", "rtx", "op1", ")", "{", "bool", "ret", ";", "if", "(", "!", "TARGET_QUAD_MEMORY", ")", "ret", "=", "false", ";", "else", "if", "(", "REG_P", "(", "op0", ")", "&&", "MEM_P", "(", "op1", ")"...
[ "Return", "true", "if", "this", "is", "a", "load", "or", "store", "quad", "operation", ".", "This", "function", "does", "not", "handle", "the", "atomic", "quad", "memory", "instructions", "." ]
[ "rs6000", "\"\\n========== quad_load_store, return %s\\n\"", "\"true\"", "\"false\"" ]
rs6000
quad_load_store_p
rs6000
CPU
GCC
24,244
142
1
[]
[ "<s>", "MachineBasicBlock", "*", "KudeyarTargetLowering", "::", "EmitInstrWithCustomInserter", "(", "MachineInstr", "*", "MI", ",", "MachineBasicBlock", "*", "BB", ")", "const", "{", "unsigned", "Opc", "=", "MI", "->", "getOpcode", "(", ")", ";", "const", "Targe...
[ "This", "method", "should", "be", "implemented", "by", "targets", "that", "mark", "instructions", "with", "the", "'usesCustomInserter", "'", "flag", "." ]
[ "Kudeyar", "Kudeyar", "Kudeyar::Select32T", "Kudeyar::Select32F", "\"Unexpected instr type to insert\"", "Kudeyar::Select32T", "Kudeyar::BTs", "Kudeyar::Select32F", "Kudeyar::BFs", "0", "Kudeyar::PHI", "0", "2", "1" ]
KudeyarISelLowering
EmitInstrWithCustomInserter
Kudeyar
CPU
LLVM
24,245
353
1
[]
[ "<s>", "int", "m32c_eh_return_data_regno", "(", "int", "n", ")", "{", "switch", "(", "n", ")", "{", "case", "0", ":", "return", "A0_REGNO", ";", "case", "1", ":", "return", "A1_REGNO", ";", "default", ":", "return", "INVALID_REGNUM", ";", "}", "}", "</...
[ "Implements", "EH_RETURN_DATA_REGNO", ".", "Choose", "registers", "able", "to", "hold", "pointers", "." ]
[ "m32c", "0", "1" ]
m32c2
m32c_eh_return_data_regno
m32c
MPU
GCC
24,246
31
1
[]
[ "<s>", "void", "build_mask64_2_operands", "(", "rtx", "in", ",", "rtx", "*", "out", ")", "{", "unsigned", "HOST_WIDE_INT", "c", ",", "lsb", ",", "m1", ",", "m2", ";", "int", "shift", ";", "gcc_assert", "(", "GET_CODE", "(", "in", ")", "==", "CONST_INT"...
[ "Generates", "shifts", "and", "masks", "for", "a", "pair", "of", "rldicl", "or", "rldicr", "insns", "to", "implement", "ANDing", "by", "the", "mask", "IN", "." ]
[ "rs6000", "1", "0", "1", "0", "64", "0", "1", "0", "0", "64", "1", "2", "3" ]
rs60003
build_mask64_2_operands
rs6000
CPU
GCC
24,247
256
1
[]
[ "<s>", "bool", "arm_simd_check_vect_par_cnst_half_p", "(", "rtx", "op", ",", "machine_mode", "mode", ",", "bool", "high", ")", "{", "rtx", "ideal", "=", "arm_simd_vect_par_cnst_half", "(", "mode", ",", "high", ")", ";", "HOST_WIDE_INT", "count_op", "=", "XVECLEN...
[ "Check", "OP", "for", "validity", "as", "a", "PARALLEL", "RTX", "vector", "with", "elements", "numbering", "the", "lanes", "of", "either", "the", "high", "(", "HIGH", "==", "TRUE", ")", "or", "low", "lanes", ",", "from", "the", "perspective", "of", "the"...
[ "arm", "0", "0", "0", "0", "0", "0" ]
arm
arm_simd_check_vect_par_cnst_half_p
arm
CPU
GCC
24,248
132
1
[]
[ "<s>", "void", "PTXMCAsmStreamer", "::", "EmitInstruction", "(", "const", "MCInst", "&", "Inst", ")", "{", "assert", "(", "getCurrentSection", "(", ")", "&&", "\"Cannot emit contents before setting section!\"", ")", ";", "if", "(", "Emitter", ")", "AddEncodingCommen...
[ "EmitInstruction", "-", "This", "callback", "is", "invoked", "when", "an", "instruction", "is", "emitted", ",", "to", "advance", "the", "hazard", "state", "." ]
[ "PTX", "PTX", "\"Cannot emit contents before setting section!\"", "\"\\n \"", "\"\\n\"" ]
PTXMCAsmStreamer1
EmitInstruction
PTX
GPU
LLVM
24,249
91
1
[]
[ "<s>", "void", "SparcFrameLowering", "::", "eliminateCallFramePseudoInstr", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ")", "const", "{", "MachineInstr", "&", "MI", "=", "*", "I", ";"...
[ "This", "method", "is", "called", "during", "prolog/epilog", "code", "insertion", "to", "eliminate", "call", "frame", "setup", "and", "destroy", "pseudo", "instructions", "(", "but", "only", "if", "the", "Target", "is", "using", "them", ")", "." ]
[ "Sparc", "Sparc", "0", "SP::ADJCALLSTACKDOWN", "Sparc", "Sparc", "SP::ADDri", "SP::O6", "SP::O6" ]
SparcFrameLowering12
eliminateCallFramePseudoInstr
Sparc
CPU
LLVM
24,250
137
1
[]
[ "<s>", "void", "RISCVPassConfig", "::", "addPreEmitPass", "(", ")", "{", "addPass", "(", "&", "BranchRelaxationPassID", ")", ";", "}", "</s>" ]
[ "This", "pass", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "machine", "code", "is", "emitted", "." ]
[ "RI5CY", "RISCV" ]
RISCVTargetMachine
addPreEmitPass
RI5CY
CPU
LLVM
24,251
14
1
[]
[ "<s>", "static", "void", "xtensa_output_mi_thunk", "(", "FILE", "*", "file", ",", "tree", "thunk", "ATTRIBUTE_UNUSED", ",", "HOST_WIDE_INT", "delta", ",", "HOST_WIDE_INT", "vcall_offset", ",", "tree", "function", ")", "{", "rtx", "this_rtx", ";", "rtx", "funexp"...
[ "Output", "code", "to", "add", "DELTA", "to", "the", "first", "argument", ",", "and", "then", "jump", "to", "FUNCTION", ".", "Used", "for", "C++", "multiple", "inheritance", "." ]
[ "xtensa", "1", "3", "2", "10", "1", "0", "1", "1", "1", "0" ]
xtensa1
xtensa_output_mi_thunk
xtensa
MPU
GCC
24,252
317
1
[]
[ "<s>", "static", "void", "build_sv_index", "(", "function_builder", "&", "b", ",", "const", "char", "*", "signature", ",", "const", "function_group_info", "&", "group", ")", "{", "build_32_64", "(", "b", ",", "signature", ",", "group", ",", "MODE_s32index", ...
[ "For", "every", "type", "and", "predicate", "combination", "in", "GROUP", ",", "add", "one", "function", "that", "takes", "a", "scalar", "(", "pointer", ")", "base", "and", "a", "signed", "vector", "array", "index", ",", "and", "another", "that", "instead"...
[ "aarch64" ]
aarch64-sve-builtins-shapes
build_sv_index
aarch64
CPU
GCC
24,253
46
1
[]
[ "<s>", "unsigned", "char", "X86Subtarget", "::", "classifyGlobalReference", "(", "const", "GlobalValue", "*", "GV", ",", "const", "Module", "&", "M", ")", "const", "{", "if", "(", "TM", ".", "getCodeModel", "(", ")", "==", "CodeModel", "::", "Large", ")", ...
[ "Classify", "a", "global", "variable", "reference", "for", "the", "current", "subtarget", "according", "to", "how", "we", "should", "reference", "it", "in", "a", "non-pcrel", "context", "." ]
[ "X86", "X86", "X86II::MO_NO_FLAG", "128", "X86II::MO_ABS8", "X86II::MO_NO_FLAG", "X86II::MO_DLLIMPORT", "X86II::MO_GOTPCREL", "X86II::MO_DARWIN_NONLAZY", "X86II::MO_DARWIN_NONLAZY_PIC_BASE", "X86II::MO_GOT" ]
X86Subtarget25
classifyGlobalReference
X86
CPU
LLVM
24,254
153
1
[]
[ "<s>", "const", "char", "*", "output_mov_double_arm_from_fpa", "(", "rtx", "*", "operands", ")", "{", "int", "arm_reg0", "=", "REGNO", "(", "operands", "[", "0", "]", ")", ";", "rtx", "ops", "[", "2", "]", ";", "gcc_assert", "(", "arm_reg0", "!=", "IP_...
[ "Output", "a", "move", "from", "an", "fpa", "register", "to", "arm", "registers", ".", "OPERANDS", "[", "0", "]", "is", "the", "first", "registers", "of", "an", "arm", "register", "pair", ".", "OPERANDS", "[", "1", "]", "is", "an", "fpa", "register", ...
[ "arm", "0", "2", "0", "1", "1", "\"stf%?d\\t%1, [%|sp, #-8]!\"", "\"ldm%?fd\\t%|sp!, {%0, %1}\"", "\"\"" ]
arm3
output_mov_double_arm_from_fpa
arm
CPU
GCC
24,255
78
1
[]
[ "<s>", "bool", "RISCVInstrInfo", "::", "verifyInstruction", "(", "const", "MachineInstr", "&", "MI", ",", "StringRef", "&", "ErrInfo", ")", "const", "{", "const", "MCInstrInfo", "*", "MCII", "=", "STI", ".", "getInstrInfo", "(", ")", ";", "MCInstrDesc", "con...
[ "Perform", "target-specific", "instruction", "verification", "." ]
[ "RISCV", "RISCV", "RISCVOp::OPERAND_FIRST_RISCV_IMM", "RISCVOp::OPERAND_LAST_RISCV_IMM", "\"Unexpected operand type\"", "RISCVOp::OPERAND_UIMM2", "2", "RISCVOp::OPERAND_UIMM3", "3", "RISCVOp::OPERAND_UIMM4", "4", "RISCVOp::OPERAND_UIMM5", "5", "RISCVOp::OPERAND_UIMM7", "7", "RISCVOp::O...
RISCVInstrInfo (2)
verifyInstruction
RISCV
CPU
LLVM
24,256
332
1
[]
[ "<s>", "bool", "MipsPassConfig", "::", "addInstSelector", "(", ")", "{", "if", "(", "getMipsSubtarget", "(", ")", ".", "allowMixed16_32", "(", ")", ")", "{", "addPass", "(", "createMipsModuleISelDag", "(", "getMipsTargetMachine", "(", ")", ")", ")", ";", "ad...
[ "addInstSelector", "-", "This", "method", "should", "install", "an", "instruction", "selector", "pass", ",", "which", "converts", "from", "LLVM", "code", "to", "machine", "instructions", "." ]
[ "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips" ]
MipsTargetMachine11
addInstSelector
Mips
CPU
LLVM
24,257
66
1
[]
[ "<s>", "virtual", "SUnit", "*", "pickNode", "(", "bool", "&", "IsTopNode", ")", "{", "return", "0", ";", "}", "</s>" ]
[ "Pick", "the", "next", "node", "to", "schedule", ",", "or", "return", "NULL", "." ]
[ "Patmos", "0" ]
PatmosSchedStrategy
pickNode
Patmos
VLIW
LLVM
24,258
14
1
[]
[ "<s>", "int", "h8300_eightbit_constant_address_p", "(", "rtx", "x", ")", "{", "const", "unsigned", "HOST_WIDE_INT", "n1", "=", "trunc_int_for_mode", "(", "0xff00", ",", "HImode", ")", ";", "const", "unsigned", "HOST_WIDE_INT", "n2", "=", "trunc_int_for_mode", "(",...
[ "Nonzero", "if", "X", "is", "a", "constant", "address", "suitable", "as", "an", "8-bit", "absolute", ",", "which", "is", "a", "special", "case", "of", "the", "'", "R", "'", "operand", "." ]
[ "h8300", "0xff00", "0xffff", "0x00ffff00", "0x00ffffff", "0xffffff00", "0xffffffff", "0", "0", "0" ]
h83003
h8300_eightbit_constant_address_p
h8300
MPU
GCC
24,259
172
1
[]
[ "<s>", "static", "rtx", "mn10300_builtin_saveregs", "(", "void", ")", "{", "rtx", "offset", ",", "mem", ";", "tree", "fntype", "=", "TREE_TYPE", "(", "current_function_decl", ")", ";", "int", "argadj", "=", "(", "(", "!", "(", "TYPE_ARG_TYPES", "(", "fntyp...
[ "Flush", "the", "argument", "registers", "to", "the", "stack", "for", "a", "stdarg", "function", ";", "return", "the", "new", "argument", "pointer", "." ]
[ "mn10300", "0", "0", "0", "4", "1", "0", "0" ]
mn103003
mn10300_builtin_saveregs
mn10300
MPU
GCC
24,260
164
1
[]
[ "<s>", "void", "X86InstrInfo", "::", "loadRegFromStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "unsigned", "DestReg", ",", "int", "FrameIdx", ",", "const", "TargetRegisterClass", "*", "RC", ",", "const", ...
[ "Load", "the", "specified", "register", "of", "the", "given", "register", "class", "from", "the", "specified", "stack", "frame", "index", "." ]
[ "X86", "X86", "8", "32", "32", "16" ]
X86InstrInfo47
loadRegFromStackSlot
X86
CPU
LLVM
24,261
133
1
[]
[ "<s>", "bool", "X86TargetMachine", "::", "addPreEmitPass", "(", "PassManagerBase", "&", "PM", ")", "{", "bool", "ShouldPrint", "=", "false", ";", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", "&&", "Subtarget", ".", "hasSSE2", "(", ...
[ "This", "pass", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "machine", "code", "is", "emitted", "." ]
[ "X86", "X86", "X86::VR128RegClass", "X86" ]
X86TargetMachine85
addPreEmitPass
X86
CPU
LLVM
24,262
79
1
[]
[ "<s>", "static", "unsigned", "long", "arm_compute_func_type", "(", ")", "{", "unsigned", "long", "type", "=", "ARM_FT_UNKNOWN", ";", "tree", "a", ";", "tree", "attr", ";", "if", "(", "TREE_CODE", "(", "current_function_decl", ")", "!=", "FUNCTION_DECL", ")", ...
[ "Computes", "the", "type", "of", "the", "current", "function", "." ]
[ "arm", "0", "\"naked\"", "\"isr\"", "\"interrupt\"" ]
arm2
arm_compute_func_type
arm
CPU
GCC
24,263
153
1
[]
[ "<s>", "MCFragment", "*", "findAssociatedFragment", "(", ")", "const", "override", "{", "return", "getSubExpr", "(", ")", "->", "findAssociatedFragment", "(", ")", ";", "}", "</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",...
[ "CSKY" ]
CSKYMCExpr
findAssociatedFragment
CSKY
CPU
LLVM
24,264
18
1
[]
[ "<s>", "static", "int", "sh_symbian_get_strip_length", "(", "int", "c", ")", "{", "return", "(", "c", "==", "SH_SYMBIAN_FLAG_CHAR", "[", "0", "]", ")", "?", "strlen", "(", "DLL_EXPORT_PREFIX", ")", ":", "0", ";", "}", "</s>" ]
[ "Return", "the", "length", "of", "a", "function", "name", "prefix", "that", "starts", "with", "the", "character", "'", "c", "'", "." ]
[ "sh", "0", "0" ]
symbian
sh_symbian_get_strip_length
sh
CPU
GCC
24,265
26
1
[]
[ "<s>", "static", "rtx", "function_value_32", "(", "machine_mode", "orig_mode", ",", "machine_mode", "mode", ",", "const_tree", "fntype", ",", "const_tree", "fn", ")", "{", "unsigned", "int", "regno", ";", "if", "(", "VECTOR_MODE_P", "(", "mode", ")", "&&", "...
[ "Define", "how", "to", "find", "the", "value", "returned", "by", "a", "function", ".", "VALTYPE", "is", "the", "data", "type", "of", "the", "value", "(", "as", "a", "tree", ")", ".", "If", "the", "precise", "function", "being", "called", "is", "known",...
[ "i386", "8", "16", "32", "64", "1", "\"calling %qD with SSE caling convention without \"", "\"SSE/SSE2 enabled\"", "\"this is a GCC bug that can be worked around by adding \"", "\"attribute used to function called\"", "1", "2" ]
i3865
function_value_32
i386
CPU
GCC
24,266
219
1
[]
[ "<s>", "bool", "isReg", "(", "RegisterKind", "RegKind", ")", "const", "{", "return", "Kind", "==", "KindReg", "&&", "Reg", ".", "Kind", "==", "RegKind", ";", "}", "</s>" ]
[ "isReg", "-", "Is", "this", "a", "register", "operand", "?" ]
[ "SystemZ" ]
SystemZAsmParser (2)
isReg
SystemZ
CPU
LLVM
24,267
20
1
[]
[ "<s>", "static", "bool", "lm32_legitimate_address_p", "(", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ",", "rtx", "x", ",", "bool", "strict", ")", "{", "if", "(", "strict", "&&", "REG_P", "(", "x", ")", "&&", "STRICT_REG_OK_FOR_BASE_P", "(", "x", ")", ")", ...
[ "Implement", "TARGET_LEGITIMATE_ADDRESS_P", "." ]
[ "lm32", "0", "0", "0", "1", "1" ]
lm32
lm32_legitimate_address_p
lm32
MPU
GCC
24,268
148
1
[]
[ "<s>", "Node", "*", "update", "(", "Node", "*", "N", ")", "{", "assert", "(", "N", "!=", "nullptr", ")", ";", "N", "->", "Height", "=", "1", "+", "std", "::", "max", "(", "height", "(", "N", "->", "Left", ")", ",", "height", "(", "N", "->", ...
[ "Digest", "more", "data", "." ]
[ "Hexagon", "1" ]
HexagonConstExtenders (2)
update
Hexagon
DSP
LLVM
24,269
95
1
[]
[ "<s>", "static", "void", "fusion_split_address", "(", "rtx", "addr", ",", "rtx", "*", "p_hi", ",", "rtx", "*", "p_lo", ")", "{", "rtx", "hi", ",", "lo", ";", "if", "(", "GET_CODE", "(", "addr", ")", "==", "PLUS", "||", "GET_CODE", "(", "addr", ")",...
[ "Given", "an", "address", ",", "convert", "it", "into", "the", "addis", "and", "load", "offset", "parts", ".", "Addresses", "created", "during", "the", "peephole2", "process", "look", "like", ":", "(", "lo_sum", "(", "high", "(", "unspec", "[", "(", "sym...
[ "rs6000", "0", "1" ]
rs6000
fusion_split_address
rs6000
CPU
GCC
24,270
73
1
[]
[ "<s>", "void", "m32c_conditional_register_usage", "(", "void", ")", "{", "int", "i", ";", "if", "(", "0", "<=", "target_memregs", "&&", "target_memregs", "<=", "16", ")", "{", "for", "(", "i", "=", "(", "target_memregs", "+", "1", ")", "/", "2", ";", ...
[ "Implements", "CONDITIONAL_REGISTER_USAGE", ".", "We", "adjust", "the", "number", "of", "available", "memregs", ",", "and", "select", "which", "registers", "need", "to", "be", "preserved", "across", "calls", "based", "on", "the", "chip", "family", "." ]
[ "m32c", "0", "16", "1", "2", "8", "1", "0", "0", "0", "0", "0" ]
m32c3
m32c_conditional_register_usage
m32c
MPU
GCC
24,271
105
1
[]
[ "<s>", "const", "NVPTXRegisterInfo", "*", "getRegisterInfo", "(", ")", "const", "override", "{", "return", "&", "(", "InstrInfo", ".", "getRegisterInfo", "(", ")", ")", ";", "}", "</s>" ]
[ "getRegisterInfo", "-", "TargetInstrInfo", "is", "a", "superset", "of", "MRegister", "info", "." ]
[ "NVPTX", "NVPTX" ]
NVPTXTargetMachine18
getRegisterInfo
NVPTX
GPU
LLVM
24,272
20
1
[]
[ "<s>", "bool", "divmod_p", "(", "rtx_insn", "*", "insn", ")", "{", "gcc_assert", "(", "get_attr_type", "(", "insn", ")", "==", "TYPE_DIV", ")", ";", "if", "(", "INSN_CODE", "(", "insn", ")", "==", "CODE_FOR_divmodsi4", "||", "INSN_CODE", "(", "insn", ")"...
[ "Check", "if", "the", "DIV", "insn", "needs", "two", "write", "ports", "." ]
[ "nds32" ]
nds32-utils
divmod_p
nds32
CPU
GCC
24,273
41
1
[]
[ "<s>", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"MIPS Os16 Optimization\"", ";", "}", "</s>" ]
[ "getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "." ]
[ "Mips", "\"MIPS Os16 Optimization\"" ]
MipsOs1613
getPassName
Mips
CPU
LLVM
24,274
11
1
[]
[ "<s>", "TargetLoweringObjectFile", "*", "getObjFileLowering", "(", ")", "const", "override", "{", "return", "TLOF", ".", "get", "(", ")", ";", "}", "</s>" ]
[ "Return", "information", "about", "object", "file", "lowering", "." ]
[ "Patmos" ]
PatmosTargetMachine1
getObjFileLowering
Patmos
VLIW
LLVM
24,275
16
1
[]
[ "<s>", "bool", "SIAnnotateControlFlow", "::", "doInitialization", "(", "Module", "&", "M", ")", "{", "LLVMContext", "&", "Context", "=", "M", ".", "getContext", "(", ")", ";", "Void", "=", "Type", "::", "getVoidTy", "(", "Context", ")", ";", "Boolean", "...
[ "Set", "up", "the", "AsmPrinter", "when", "we", "are", "working", "on", "a", "new", "module", "." ]
[ "R600", "SI", "0", "0", "0", "0", "0", "0", "0", "0", "0" ]
SIAnnotateControlFlow1
doInitialization
R600
GPU
LLVM
24,276
243
1
[]
[ "<s>", "static", "void", "nvptx_init_builtins", "(", "void", ")", "{", "(", "nvptx_builtin_decls", "[", "NVPTX_BUILTIN_", "##", "ID", "]", "\\", "=", "add_builtin_function", "(", "\"__builtin_nvptx_\"", "NAME", ",", "\\", "build_function_type_list", "T", ",", "\\"...
[ "Set", "up", "all", "builtin", "functions", "for", "this", "target", "." ]
[ "nvptx", "\"__builtin_nvptx_\"", "\"shuffle\"", "\"shufflell\"", "\"worker_addr\"", "\"vector_addr\"", "\"cmp_swap\"", "\"cmp_swapll\"", "\"membar_gl\"", "\"membar_cta\"", "\"bar_red_and\"", "\"bar_red_or\"", "\"bar_red_popc\"" ]
nvptx1
nvptx_init_builtins
nvptx
GPU
GCC
24,277
245
1
[]
[ "<s>", "bool", "PPCFrameLowering", "::", "enableShrinkWrapping", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "if", "(", "MF", ".", "getInfo", "<", "PPCFunctionInfo", ">", "(", ")", "->", "shrinkWrapDisabled", "(", ")", ")", "return", "fals...
[ "Returns", "true", "if", "the", "target", "will", "correctly", "handle", "shrink", "wrapping", "." ]
[ "PowerPC", "PPC", "PPC", "PPC", "PPC", "PPC" ]
PPCFrameLowering21
enableShrinkWrapping
PowerPC
CPU
LLVM
24,278
60
1
[]
[ "<s>", "SDValue", "PPCTargetLowering", "::", "LowerCallResult", "(", "SDValue", "Chain", ",", "SDValue", "InFlag", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "isVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "InputArg", ">", "&", "In...
[ "LowerCallResult", "-", "Lower", "the", "result", "values", "of", "an", "ISD", ":", ":CALL", "into", "the", "appropriate", "copies", "out", "of", "appropriate", "physical", "registers", "." ]
[ "PowerPC", "PPC", "ISD::InputArg", "16", "PPC", "PPC", "0", "\"Can only return in registers!\"", "1", "2", "\"Unknown loc info!\"", "ISD::TRUNCATE", "ISD::AssertZext", "ISD::TRUNCATE", "ISD::AssertSext", "ISD::TRUNCATE" ]
PPCISelLowering (2)7
LowerCallResult
PowerPC
CPU
LLVM
24,279
374
1
[]
[ "<s>", "MVT", "X86TargetLowering", "::", "getRegisterTypeForCallingConv", "(", "LLVMContext", "&", "Context", ",", "CallingConv", "::", "ID", "CC", ",", "EVT", "VT", ")", "const", "{", "if", "(", "VT", ".", "isVector", "(", ")", "&&", "VT", ".", "getVector...
[ "Certain", "combinations", "of", "ABIs", ",", "Targets", "and", "features", "require", "that", "types", "are", "legal", "for", "some", "operations", "and", "not", "for", "other", "operations", "." ]
[ "X86", "X86", "MVT::i1", "MVT::INVALID_SIMPLE_VALUE_TYPE", "MVT::v32i16", "MVT::v64i8", "MVT::v16i32" ]
X86ISelLowering130
getRegisterTypeForCallingConv
X86
CPU
LLVM
24,280
139
1
[]
[ "<s>", "static", "std", "::", "unique_ptr", "<", "MINA32Operand", ">", "CreateReg", "(", "unsigned", "RegNum", ",", "SMLoc", "S", ",", "SMLoc", "E", ")", "{", "auto", "Op", "=", "std", "::", "make_unique", "<", "MINA32Operand", ">", "(", "k_Register", ")...
[ "CreateReg", "-", "Allocate", "a", "single", "virtual", "register", "for", "the", "given", "type", "." ]
[ "MINA32", "MINA32", "MINA32" ]
MINA32AsmParser
CreateReg
MINA32
CPU
LLVM
24,281
56
1
[]
[ "<s>", "unsigned", "stackAlignment", "(", ")", "const", "{", "return", "isFP64bit", "(", ")", "?", "16", ":", "8", ";", "}", "</s>" ]
[ "The", "minimum", "alignment", "known", "to", "hold", "of", "the", "stack", "frame", "on", "entry", "to", "the", "function", "and", "which", "must", "be", "maintained", "by", "every", "function", "." ]
[ "Mips", "16", "8" ]
MipsSubtarget57
stackAlignment
Mips
CPU
LLVM
24,282
16
1
[]
[ "<s>", "static", "void", "sparc_asm_function_prologue", "(", "FILE", "*", "file", ",", "HOST_WIDE_INT", "size", "ATTRIBUTE_UNUSED", ")", "{", "gcc_assert", "(", "sparc_leaf_function_p", "==", "current_function_uses_only_leaf_regs", ")", ";", "sparc_output_scratch_registers"...
[ "This", "function", "generates", "the", "assembly", "code", "for", "function", "entry", ",", "which", "boils", "down", "to", "emitting", "the", "necessary", ".register", "directives", "." ]
[ "sparc" ]
sparc3
sparc_asm_function_prologue
sparc
CPU
GCC
24,283
26
1
[]
[ "<s>", "Register", "CSKYRegisterInfo", "::", "getFrameRegister", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "TargetFrameLowering", "*", "TFI", "=", "getFrameLowering", "(", "MF", ")", ";", "return", "TFI", "->", "hasFP", "(", "MF",...
[ "Debug", "information", "queries", "." ]
[ "CSKY", "CSKY", "CSKY::R8", "CSKY::R14" ]
CSKYRegisterInfo
getFrameRegister
CSKY
CPU
LLVM
24,284
39
1
[]
[ "<s>", "static", "bool", "avr_scalar_mode_supported_p", "(", "scalar_mode", "mode", ")", "{", "if", "(", "ALL_FIXED_POINT_MODE_P", "(", "mode", ")", ")", "return", "true", ";", "if", "(", "PSImode", "==", "mode", ")", "return", "true", ";", "return", "defaul...
[ "Implement", "`", "TARGET_SCALAR_MODE_SUPPORTED_P", "'", "." ]
[ "avr" ]
avr
avr_scalar_mode_supported_p
avr
MPU
GCC
24,285
34
1
[]
[ "<s>", "static", "tree", "c4x_handle_fntype_attribute", "(", "tree", "*", "node", ",", "tree", "name", ",", "tree", "args", "ATTRIBUTE_UNUSED", ",", "int", "flags", "ATTRIBUTE_UNUSED", ",", "bool", "*", "no_add_attrs", ")", "{", "if", "(", "TREE_CODE", "(", ...
[ "Handle", "an", "attribute", "requiring", "a", "FUNCTION_TYPE", ";", "arguments", "as", "in", "struct", "attribute_spec.handler", "." ]
[ "c4x", "\"%qs attribute only applies to functions\"" ]
c4x1
c4x_handle_fntype_attribute
c4x
DSP
GCC
24,286
57
1
[]
[ "<s>", "static", "bool", "rs6000_scalar_mode_supported_p", "(", "scalar_mode", "mode", ")", "{", "if", "(", "TARGET_32BIT", "&&", "mode", "==", "TImode", ")", "return", "false", ";", "if", "(", "DECIMAL_FLOAT_MODE_P", "(", "mode", ")", ")", "return", "default_...
[ "Target", "hook", "for", "scalar_mode_supported_p", "." ]
[ "powerpcspe" ]
powerpcspe
rs6000_scalar_mode_supported_p
powerpcspe
CPU
GCC
24,287
57
1
[]
[ "<s>", "SDValue", "AArch64TargetLowering", "::", "PerformDAGCombine", "(", "SDNode", "*", "N", ",", "DAGCombinerInfo", "&", "DCI", ")", "const", "{", "SelectionDAG", "&", "DAG", "=", "DCI", ".", "DAG", ";", "switch", "(", "N", "->", "getOpcode", "(", ")", ...
[ "This", "method", "will", "be", "invoked", "for", "all", "target", "nodes", "and", "for", "any", "target-independent", "nodes", "that", "the", "target", "has", "registered", "with", "invoke", "it", "for", "." ]
[ "AArch64", "AArch64", "ISD::ADD", "ISD::SUB", "ISD::XOR", "ISD::MUL", "ISD::SINT_TO_FP", "ISD::UINT_TO_FP", "ISD::OR", "ISD::INTRINSIC_WO_CHAIN", "ISD::ANY_EXTEND", "ISD::ZERO_EXTEND", "ISD::SIGN_EXTEND", "ISD::BITCAST", "ISD::CONCAT_VECTORS", "ISD::SELECT", "ISD::VSELECT", "ISD::S...
AArch64ISelLowering117
PerformDAGCombine
AArch64
CPU
LLVM
24,288
461
1
[]
[ "<s>", "static", "rtx", "condjump_opposite_condition", "(", "rtx", "insn", ")", "{", "rtx", "pat", "=", "PATTERN", "(", "insn", ")", ";", "int", "icode", "=", "INSN_CODE", "(", "insn", ")", ";", "rtx", "x", "=", "NULL", ";", "if", "(", "icode", "==",...
[ "Examine", "INSN", ",", "and", "if", "it", "is", "a", "conditional", "jump", "of", "any", "kind", ",", "return", "the", "opposite", "of", "the", "condition", "in", "which", "it", "branches", ".", "Otherwise", ",", "return", "NULL_RTX", "." ]
[ "c6x", "0", "0", "0", "1", "0", "1" ]
c6x
condjump_opposite_condition
c6x
VLIW
GCC
24,289
200
1
[]
[ "<s>", "LLVMContext", "&", "getContext", "(", ")", "const", "{", "return", "Context", ";", "}", "</s>" ]
[ "Return", "the", "LLVMContext", "used", "by", "the", "analysis", "." ]
[ "Hexagon" ]
HexagonCallingConvLower
getContext
Hexagon
DSP
LLVM
24,290
11
1
[]
[ "<s>", "bool", "sh_cannot_change_mode_class", "(", "machine_mode", "from", ",", "machine_mode", "to", ",", "enum", "reg_class", "rclass", ")", "{", "if", "(", "to", "==", "SFmode", "&&", "VECTOR_MODE_P", "(", "from", ")", "&&", "GET_MODE_INNER", "(", "from", ...
[ "Return", "the", "class", "of", "registers", "for", "which", "a", "mode", "change", "from", "FROM", "to", "TO", "is", "invalid", "." ]
[ "sh", "8", "8", "8" ]
sh4
sh_cannot_change_mode_class
sh
CPU
GCC
24,291
114
1
[]
[ "<s>", "bool", "sh_cannot_change_mode_class", "(", "enum", "machine_mode", "from", ",", "enum", "machine_mode", "to", ",", "enum", "reg_class", "class", ")", "{", "if", "(", "to", "==", "SFmode", "&&", "VECTOR_MODE_P", "(", "from", ")", "&&", "GET_MODE_INNER",...
[ "Return", "the", "class", "of", "registers", "for", "which", "a", "mode", "change", "from", "FROM", "to", "TO", "is", "invalid", "." ]
[ "sh", "8", "8", "8", "0" ]
sh3
sh_cannot_change_mode_class
sh
CPU
GCC
24,292
112
1
[]
[ "<s>", "Register", "OutgoingValueHandler", "::", "getStackAddress", "(", "const", "CCValAssign", "&", "VA", ",", "MachineMemOperand", "*", "&", "MMO", ")", "{", "MachineFunction", "&", "MF", "=", "MIRBuilder", ".", "getMF", "(", ")", ";", "const", "TargetFrame...
[ "Materialize", "a", "VReg", "containing", "the", "address", "of", "the", "specified", "stack-based", "object", "." ]
[ "Mips", "0", "32", "32", "Mips::SP", "8", "8", "0" ]
MipsCallLowering23
getStackAddress
Mips
CPU
LLVM
24,293
191
1
[]
[ "<s>", "static", "rtx", "nvptx_expand_builtin", "(", "tree", "exp", ",", "rtx", "target", ",", "rtx", "ARG_UNUSED", "(", "subtarget", ")", ",", "machine_mode", "mode", ",", "int", "ignore", ")", "{", "tree", "fndecl", "=", "TREE_OPERAND", "(", "CALL_EXPR_FN"...
[ "Expand", "an", "expression", "EXP", "that", "calls", "a", "built-in", "function", ",", "with", "result", "going", "to", "TARGET", "if", "that", "'s", "convenient", "(", "and", "in", "mode", "MODE", "if", "that", "'s", "convenient", ")", ".", "SUBTARGET", ...
[ "nvptx", "0" ]
nvptx3
nvptx_expand_builtin
nvptx
GPU
GCC
24,294
103
1
[]
[ "<s>", "static", "bool", "ix86_check_avx256_register", "(", "const_rtx", "exp", ")", "{", "if", "(", "SUBREG_P", "(", "exp", ")", ")", "exp", "=", "SUBREG_REG", "(", "exp", ")", ";", "return", "(", "REG_P", "(", "exp", ")", "&&", "VALID_AVX256_REG_OR_OI_MO...
[ "Check", "if", "a", "256bit", "AVX", "register", "is", "referenced", "inside", "of", "EXP", "." ]
[ "i386" ]
i3865
ix86_check_avx256_register
i386
CPU
GCC
24,295
39
1
[]
[ "<s>", "SDNode", "*", "SITargetLowering", "::", "PostISelFolding", "(", "MachineSDNode", "*", "Node", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "const", "SIInstrInfo", "*", "TII", "=", "getSubtarget", "(", ")", "->", "getInstrInfo", "(", ")", ";", ...
[ "Fold", "the", "instructions", "after", "selecting", "them", "." ]
[ "AMDGPU", "SI", "SI", "AMDGPU::getNamedOperandIdx", "AMDGPU::OpName", "1", "AMDGPU::INSERT_SUBREG", "AMDGPU::REG_SEQUENCE", "AMDGPU::V_DIV_SCALE_F32_e64", "AMDGPU::V_DIV_SCALE_F64_e64", "1", "3", "5", "AMDGPU::IMPLICIT_DEF", "AMDGPU::IMPLICIT_DEF", "AMDGPU::IMPLICIT_DEF", "AMDGPU::IM...
SIISelLowering10
PostISelFolding
AMDGPU
GPU
LLVM
24,296
465
1
[]
[ "<s>", "bool", "ARM64BranchRelaxation", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "mf", ")", "{", "MF", "=", "&", "mf", ";", "if", "(", "!", "BranchRelaxation", ")", "return", "false", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"***** AR...
[ "runOnMachineFunction", "-", "Emit", "the", "function", "body", "." ]
[ "ARM64", "ARM64", "\"***** ARM64BranchRelaxation *****\\n\"", "ARM64", "\" Basic blocks before relaxation\\n\"", "\" Basic blocks after relaxation\\n\"" ]
ARM64BranchRelaxation
runOnMachineFunction
ARM64
CPU
LLVM
24,297
126
1
[]
[ "<s>", "void", "WebAssemblyFrameLowering", "::", "emitEpilogue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "auto", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "uint64_t", "StackSize", "=", "MFI...
[ "Insert", "epilog", "code", "into", "the", "function", "." ]
[ "WebAssembly", "WebAssembly", "WebAssembly", "0", "WebAssembly::CONST_I32", "WebAssembly::ADD_I32", "WebAssembly::FP32", "WebAssembly::SP32", "WebAssembly::FP32", "WebAssembly::SP32" ]
WebAssemblyFrameLowering21
emitEpilogue
WebAssembly
Virtual ISA
LLVM
24,298
269
1
[]
[ "<s>", "SMLoc", "getStartLoc", "(", ")", "const", "override", "{", "return", "StartLoc", ";", "}", "</s>" ]
[ "getStartLoc", "-", "Get", "the", "location", "of", "the", "first", "token", "of", "this", "operand", "." ]
[ "ARM64" ]
ARM64AsmParser1
getStartLoc
ARM64
CPU
LLVM
24,299
11
1
[]