ground_truth
listlengths
8
512
natrual_language
listlengths
1
243
TS_V_token
listlengths
1
182
File
stringlengths
2
45
Func
stringlengths
1
56
Target
stringclasses
175 values
Target_Clf
stringclasses
6 values
Compiler_Type
stringclasses
2 values
Idx
int64
0
36.2k
Length
int64
6
510
Cover_Rate
float64
1
1
Template_token
listlengths
0
0
[ "<s>", "unsigned", "int", "m32r_compute_frame_size", "(", "int", "size", ")", "{", "int", "regno", ";", "unsigned", "int", "total_size", ",", "var_size", ",", "args_size", ",", "pretend_size", ",", "extra_size", ";", "unsigned", "int", "reg_size", ",", "frame_...
[ "Return", "the", "bytes", "needed", "to", "compute", "the", "frame", "pointer", "from", "the", "current", "stack", "pointer", ".", "SIZE", "is", "the", "size", "needed", "for", "local", "variables", "." ]
[ "m32r", "0", "0", "0", "0", "1" ]
m32r3
m32r_compute_frame_size
m32r
MPU
GCC
12,000
255
1
[]
[ "<s>", "virtual", "const", "PPCInstrInfo", "*", "getInstrInfo", "(", ")", "const", "{", "return", "&", "InstrInfo", ";", "}", "</s>" ]
[ "TargetInstrInfo", "getter", "." ]
[ "PowerPC", "PPC" ]
PPCTargetMachine18
getInstrInfo
PowerPC
CPU
LLVM
12,001
14
1
[]
[ "<s>", "static", "bool", "valid_src_p", "(", "rtx", "src", ",", "rtx_insn", "*", "insn", ",", "struct", "loop", "*", "loop", ",", "bool", "*", "pre_post", ",", "rtx", "*", "base", ",", "rtx", "*", "offset", ",", "bool", "load_pair", ")", "{", "subrtx...
[ "Return", "true", "if", "SRC", "is", "a", "strided", "load", "in", "the", "LOOP", ",", "false", "otherwise", ".", "If", "it", "is", "a", "strided", "load", ",", "set", "the", "BASE", "and", "OFFSET", ".", "Also", ",", "if", "this", "is", "a", "pre/...
[ "aarch64", "0", "0", "2" ]
falkor-tag-collision-avoidance
valid_src_p
aarch64
CPU
GCC
12,002
323
1
[]
[ "<s>", "static", "void", "m68k_asm_final_postscan_insn", "(", "FILE", "*", ",", "rtx_insn", "*", "insn", ",", "rtx", "[", "]", ",", "int", ")", "{", "enum", "attr_flags_valid", "v", "=", "get_attr_flags_valid", "(", "insn", ")", ";", "if", "(", "v", "=="...
[ "Process", "INSN", "to", "remember", "flag", "operands", "if", "possible", "." ]
[ "m68k" ]
m68k
m68k_asm_final_postscan_insn
m68k
MPU
GCC
12,003
256
1
[]
[ "<s>", "static", "rtx", "moxie_static_chain", "(", "const_tree", "ARG_UNUSED", "(", "fndecl_or_type", ")", ",", "bool", "incoming_p", ")", "{", "rtx", "addr", ",", "mem", ";", "if", "(", "incoming_p", ")", "addr", "=", "plus_constant", "(", "Pmode", ",", "...
[ "Worker", "function", "for", "TARGET_STATIC_CHAIN", "." ]
[ "moxie", "2", "1" ]
moxie
moxie_static_chain
moxie
CPU
GCC
12,004
69
1
[]
[ "<s>", "bool", "XCoreTargetLowering", "::", "isLegalAddressingMode", "(", "const", "AddrMode", "&", "AM", ",", "Type", "*", "Ty", ",", "unsigned", "AS", ")", "const", "{", "if", "(", "Ty", "->", "getTypeID", "(", ")", "==", "Type", "::", "VoidTyID", ")",...
[ "isLegalAddressingMode", "-", "Return", "true", "if", "the", "addressing", "mode", "represented", "by", "AM", "is", "legal", "for", "this", "target", ",", "for", "a", "load/store", "of", "the", "specified", "type", "." ]
[ "XCore", "XCore", "0", "4", "0", "4", "0", "1", "0", "1", "0", "2", "3", "0", "2", "0", "0", "4", "0" ]
XCoreISelLowering61
isLegalAddressingMode
XCore
MPU
LLVM
12,005
216
1
[]
[ "<s>", "bool", "WebAssemblyStoreResults", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "DEBUG", "(", "{", "dbgs", "(", ")", "<<", "\"********** Store Results **********\\n\"", "<<", "\"********** Function: \"", "<<", "MF", ".", "getName",...
[ "runOnMachineFunction", "-", "Emit", "the", "function", "body", "." ]
[ "WebAssembly", "WebAssembly", "\"********** Store Results **********\\n\"", "\"********** Function: \"", "WebAssembly", "WebAssembly", "\"StoreResults depends on SSA form\"", "\"Basic Block: \"", "WebAssembly::STORE8_I32", "WebAssembly::STORE16_I32", "WebAssembly::STORE8_I64", "WebAssembly::ST...
WebAssemblyStoreResults8
runOnMachineFunction
WebAssembly
Virtual ISA
LLVM
12,006
458
1
[]
[ "<s>", "int", "arm_hard_regno_mode_ok", "(", "unsigned", "int", "regno", ",", "enum", "machine_mode", "mode", ")", "{", "if", "(", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_CC", ")", "return", "(", "regno", "==", "CC_REGNUM", "||", "(", "TARGET_HARD_FL...
[ "Returns", "true", "if", "REGNO", "is", "a", "valid", "register", "for", "holding", "a", "quantity", "of", "type", "MODE", "." ]
[ "arm", "2", "1", "0", "4", "1", "0" ]
arm3
arm_hard_regno_mode_ok
arm
CPU
GCC
12,007
232
1
[]
[ "<s>", "static", "int", "m68k_sched_adjust_cost", "(", "rtx_insn", "*", "insn", ",", "rtx", "link", "ATTRIBUTE_UNUSED", ",", "rtx_insn", "*", "def_insn", ",", "int", "cost", ")", "{", "int", "delay", ";", "if", "(", "recog_memoized", "(", "def_insn", ")", ...
[ "Implement", "adjust_cost", "scheduler", "hook", ".", "Return", "adjusted", "COST", "of", "dependency", "LINK", "between", "DEF_INSN", "and", "INSN", "." ]
[ "m68k", "0", "0", "1", "3", "3", "0", "0" ]
m68k4
m68k_sched_adjust_cost
m68k
MPU
GCC
12,008
142
1
[]
[ "<s>", "static", "inline", "bool", "mode_supports_vmx_dform", "(", "machine_mode", "mode", ")", "{", "return", "(", "(", "reg_addr", "[", "mode", "]", ".", "addr_mask", "[", "RELOAD_REG_VMX", "]", "&", "RELOAD_REG_OFFSET", ")", "!=", "0", ")", ";", "}", "<...
[ "Return", "true", "if", "we", "have", "D-form", "addressing", "in", "altivec", "registers", "." ]
[ "powerpcspe", "0" ]
powerpcspe
mode_supports_vmx_dform
powerpcspe
CPU
GCC
12,009
29
1
[]
[ "<s>", "static", "bool", "split_stack_arg_pointer_used_p", "(", "void", ")", "{", "if", "(", "cfun", "->", "machine", "->", "split_stack_arg_pointer", "!=", "NULL_RTX", "&&", "(", "!", "REG_P", "(", "cfun", "->", "machine", "->", "split_stack_arg_pointer", ")", ...
[ "Return", "whether", "the", "split-stack", "arg", "pointer", "(", "r12", ")", "is", "used", "." ]
[ "powerpcspe", "12", "12", "12" ]
powerpcspe
split_stack_arg_pointer_used_p
powerpcspe
CPU
GCC
12,010
168
1
[]
[ "<s>", "MachineInstr", "*", "ARMBaseInstrInfo", "::", "duplicate", "(", "MachineInstr", "*", "Orig", ",", "MachineFunction", "&", "MF", ")", "const", "{", "MachineInstr", "*", "MI", "=", "TargetInstrInfoImpl", "::", "duplicate", "(", "Orig", ",", "MF", ")", ...
[ "Clones", "instruction", "or", "the", "whole", "instruction", "bundle", "Orig", "and", "insert", "into", "MBB", "before", "InsertBefore", "." ]
[ "ARM", "ARM", "ARM::tLDRpci_pic", "ARM::t2LDRpci_pic", "1", "1", "2" ]
ARMBaseInstrInfo (2)4
duplicate
ARM
CPU
LLVM
12,011
105
1
[]
[ "<s>", "void", "ARCInstrInfo", "::", "copyPhysReg", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "const", "DebugLoc", "&", "dl", ",", "MCRegister", "DestReg", ",", "MCRegister", "SrcReg", ",", "bool", "KillSrc", "...
[ "}", "Branch", "Analysis", "&", "Modification" ]
[ "ARC", "ARC", "ARC::GPR32RegClass", "\"Only GPR32 src copy supported.\"", "ARC::GPR32RegClass", "\"Only GPR32 dest copy supported.\"", "ARC::MOV_rr" ]
ARCInstrInfo1
copyPhysReg
ARC
MPU
LLVM
12,012
87
1
[]
[ "<s>", "static", "bool", "arc_pass_by_reference", "(", "cumulative_args_t", ",", "const", "function_arg_info", "&", "arg", ")", "{", "return", "(", "arg", ".", "type", "!=", "0", "&&", "(", "TREE_CODE", "(", "TYPE_SIZE", "(", "arg", ".", "type", ")", ")", ...
[ "For", "ARC", ",", "All", "aggregates", "and", "arguments", "greater", "than", "8", "bytes", "are", "passed", "by", "reference", "." ]
[ "arc", "0" ]
arc
arc_pass_by_reference
arc
MPU
GCC
12,013
43
1
[]
[ "<s>", "bool", "AMDGPUPrintfRuntimeBinding", "::", "runOnModule", "(", "Module", "&", "M", ")", "{", "Triple", "TT", "(", "M", ".", "getTargetTriple", "(", ")", ")", ";", "if", "(", "TT", ".", "getArch", "(", ")", "==", "Triple", "::", "r600", ")", "...
[ "runOnModule", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "process", "the", "module", "being", "operated", "on", "." ]
[ "AMDGPU", "AMDGPU", "\"printf\"", "\"__ockl_hostcall_internal\"", "\"Cannot use both printf and hostcall in the same module\"" ]
AMDGPUPrintfRuntimeBinding10
runOnModule
AMDGPU
GPU
LLVM
12,014
249
1
[]
[ "<s>", "SDValue", "MipsTargetLowering", "::", "LowerReturn", "(", "SDValue", "Chain", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "isVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "OutputArg", ">", "&", "Outs", ",", "DebugLoc", "dl", ...
[ "This", "hook", "must", "be", "implemented", "to", "lower", "outgoing", "return", "values", ",", "described", "by", "the", "Outs", "array", ",", "into", "the", "specified", "DAG", "." ]
[ "Mips", "Mips", "ISD::OutputArg", "16", "Mips", "0", "0", "\"Can only return in registers!\"", "1", "Mips", "Mips", "Mips", "Mips", "\"sret virtual register not created in the entry block\"", "Mips::V0", "1", "MipsISD::Ret", "MVT::Other", "Mips::RA", "MVT::i32", "MipsISD::Ret...
MipsISelLowering115
LowerReturn
Mips
CPU
LLVM
12,015
399
1
[]
[ "<s>", "SDValue", "AMDGPUTargetLowering", "::", "LowerOperation", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "Op", ".", "getNode", "(", ")", "->", ...
[ "LowerOperation", "-", "Provide", "custom", "lowering", "hooks", "for", "some", "operations", "." ]
[ "AMDGPU", "AMDGPU", "\"Custom lowering code for this\"", "\"instruction is not implemented yet!\"", "ISD::SIGN_EXTEND_INREG", "SI", "ISD::CONCAT_VECTORS", "ISD::EXTRACT_SUBVECTOR", "ISD::INTRINSIC_WO_CHAIN", "SI", "ISD::UDIVREM", "ISD::SDIVREM", "ISD::FREM", "ISD::FCEIL", "ISD::FTRUNC", ...
AMDGPUISelLowering16
LowerOperation
AMDGPU
GPU
LLVM
12,016
300
1
[]
[ "<s>", "bool", "MipsFastISel", "::", "fastLowerCall", "(", "CallLoweringInfo", "&", "CLI", ")", "{", "CallingConv", "::", "ID", "CC", "=", "CLI", ".", "CallConv", ";", "bool", "IsTailCall", "=", "CLI", ".", "IsTailCall", ";", "bool", "IsVarArg", "=", "CLI"...
[ "This", "method", "is", "called", "by", "target-independent", "code", "to", "do", "target-", "specific", "call", "lowering", "." ]
[ "Mips", "Mips", "MVT::isVoid", "16", "MVT::i1", "MVT::i8", "MVT::i16", "64", "MVT::i32", "Mips::T9", "Mips::JALR", "Mips::RA", "Mips::T9" ]
MipsFastISel11
fastLowerCall
Mips
CPU
LLVM
12,017
419
1
[]
[ "<s>", "void", "AArch64_ELFTargetObjectFile", "::", "Initialize", "(", "MCContext", "&", "Ctx", ",", "const", "TargetMachine", "&", "TM", ")", "{", "TargetLoweringObjectFileELF", "::", "Initialize", "(", "Ctx", ",", "TM", ")", ";", "InitializeELF", "(", "TM", ...
[ "This", "method", "must", "be", "called", "before", "any", "actual", "lowering", "is", "done", "." ]
[ "AArch64", "AArch64" ]
AArch64TargetObjectFile (2)
Initialize
AArch64
CPU
LLVM
12,018
38
1
[]
[ "<s>", "HOST_WIDE_INT", "alpha_initial_elimination_offset", "(", "unsigned", "int", "from", ",", "unsigned", "int", "to", "ATTRIBUTE_UNUSED", ")", "{", "HOST_WIDE_INT", "ret", ";", "ret", "=", "alpha_sa_size", "(", ")", ";", "ret", "+=", "ALPHA_ROUND", "(", "cur...
[ "Define", "the", "offset", "between", "two", "registers", ",", "one", "to", "be", "eliminated", ",", "and", "the", "other", "its", "replacement", ",", "at", "the", "start", "of", "a", "routine", "." ]
[ "alpha" ]
alpha3
alpha_initial_elimination_offset
alpha
MPU
GCC
12,019
70
1
[]
[ "<s>", "bool", "rs6000_is_valid_2insn_and", "(", "rtx", "c", ",", "machine_mode", "mode", ")", "{", "if", "(", "rs6000_is_valid_mask", "(", "c", ",", "NULL", ",", "NULL", ",", "mode", ")", ")", "return", "true", ";", "unsigned", "HOST_WIDE_INT", "val", "="...
[ "Return", "whether", "an", "AND", "with", "C", "(", "a", "CONST_INT", ")", "in", "mode", "MODE", "can", "be", "done", "using", "two", "machine", "instructions", "." ]
[ "powerpcspe" ]
powerpcspe
rs6000_is_valid_2insn_and
powerpcspe
CPU
GCC
12,020
94
1
[]
[ "<s>", "bool", "X86TTIImpl", "::", "isLegalMaskedGather", "(", "Type", "*", "DataTy", ",", "MaybeAlign", "Alignment", ")", "{", "if", "(", "!", "(", "ST", "->", "hasAVX512", "(", ")", "||", "(", "ST", "->", "hasFastGather", "(", ")", "&&", "ST", "->", ...
[ "Return", "true", "if", "the", "target", "supports", "masked", "gather", "." ]
[ "X86", "X86", "1", "32", "64" ]
X86TargetTransformInfo108
isLegalMaskedGather
X86
CPU
LLVM
12,021
150
1
[]
[ "<s>", "bool", "ARMTargetLowering", "::", "CanLowerReturn", "(", "CallingConv", "::", "ID", "CallConv", ",", "MachineFunction", "&", "MF", ",", "bool", "isVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "OutputArg", ">", "&", "Outs", ",", "LLVMCont...
[ "This", "hook", "should", "be", "implemented", "to", "check", "whether", "the", "return", "values", "described", "by", "the", "Outs", "array", "can", "fit", "into", "the", "return", "registers", "." ]
[ "ARM", "ARM", "ISD::OutputArg", "16" ]
ARMISelLowering (2)2
CanLowerReturn
ARM
CPU
LLVM
12,022
73
1
[]
[ "<s>", "static", "const", "char", "*", "s390_branch_condition_mnemonic", "(", "rtx", "code", ",", "int", "inv", ")", "{", "int", "mask", ";", "static", "const", "char", "*", "const", "mnemonic", "[", "16", "]", "=", "{", "NULL", ",", "\"o\"", ",", "\"h...
[ "If", "INV", "is", "false", ",", "return", "assembler", "mnemonic", "string", "to", "implement", "a", "branch", "specified", "by", "CODE", ".", "If", "INV", "is", "true", ",", "return", "mnemonic", "for", "the", "corresponding", "inverted", "branch", "." ]
[ "s390", "16", "\"o\"", "\"h\"", "\"nle\"", "\"l\"", "\"nhe\"", "\"lh\"", "\"ne\"", "\"e\"", "\"nlh\"", "\"he\"", "\"nl\"", "\"le\"", "\"nh\"", "\"no\"", "0", "0", "1", "0", "1", "0", "15", "1", "14" ]
s390
s390_branch_condition_mnemonic
s390
MPU
GCC
12,023
169
1
[]
[ "<s>", "bool", "SIInsertWaits", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "bool", "Changes", "=", "false", ";", "TII", "=", "static_cast", "<", "const", "SIInstrInfo", "*", ">", "(", "MF", ".", "getTarget", "(", ")", ".", ...
[ "runOnMachineFunction", "-", "Emit", "the", "function", "body", "." ]
[ "R600", "SI", "SI", "SI", "0", "0" ]
SIInsertWaits12
runOnMachineFunction
R600
GPU
LLVM
12,024
205
1
[]
[ "<s>", "void", "*", "getAdjustedAnalysisPointer", "(", "const", "void", "*", "ID", ")", "override", "{", "if", "(", "ID", "==", "&", "TargetTransformInfo", "::", "ID", ")", "return", "(", "TargetTransformInfo", "*", ")", "this", ";", "return", "this", ";",...
[ "getAdjustedAnalysisPointer", "-", "This", "method", "is", "used", "when", "a", "pass", "implements", "an", "analysis", "interface", "through", "multiple", "inheritance", "." ]
[ "NVPTX" ]
NVPTXTargetTransformInfo21
getAdjustedAnalysisPointer
NVPTX
GPU
LLVM
12,025
31
1
[]
[ "<s>", "bool", "HexagonInstrInfo", "::", "areMemAccessesTriviallyDisjoint", "(", "MachineInstr", "&", "MIa", ",", "MachineInstr", "&", "MIb", ",", "AliasAnalysis", "*", "AA", ")", "const", "{", "int", "OffsetA", "=", "0", ",", "OffsetB", "=", "0", ";", "unsi...
[ "Sometimes", ",", "it", "is", "possible", "for", "the", "target", "to", "tell", ",", "even", "without", "aliasing", "information", ",", "that", "two", "MIs", "access", "different", "memory", "addresses", "." ]
[ "Hexagon", "Hexagon", "0", "0", "0", "0" ]
HexagonInstrInfo (2)
areMemAccessesTriviallyDisjoint
Hexagon
DSP
LLVM
12,026
225
1
[]
[ "<s>", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"XCore FRAME_TO_ARGS_OFFSET Elimination\"", ";", "}", "</s>" ]
[ "getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "." ]
[ "XCore", "\"XCore FRAME_TO_ARGS_OFFSET Elimination\"" ]
XCoreFrameToArgsOffsetElim10
getPassName
XCore
MPU
LLVM
12,027
11
1
[]
[ "<s>", "void", "TMS320C64XHazardRecognizer", "::", "EmitNoop", "(", ")", "{", "ResourceAssignment", "::", "AdvanceCycle", "(", ")", ";", "}", "</s>" ]
[ "EmitNoop", "-", "This", "callback", "is", "invoked", "when", "a", "noop", "was", "added", "to", "the", "instruction", "stream", "." ]
[ "TMS320C64X", "TMS320C64X" ]
TMS320C64XHazardRecognizer
EmitNoop
TMS320C64X
VLIW
LLVM
12,028
14
1
[]
[ "<s>", "void", "SparcInstrInfo", "::", "storeRegToStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "unsigned", "SrcReg", ",", "bool", "isKill", ",", "int", "FI", ",", "const", "TargetRegisterClass", "*", "RC...
[ "Store", "the", "specified", "register", "of", "the", "given", "register", "class", "to", "the", "specified", "stack", "frame", "index", "." ]
[ "Sparc", "Sparc", "SP::IntRegsRegisterClass", "SP::STri", "0", "SP::FPRegsRegisterClass", "SP::STFri", "0", "SP::DFPRegsRegisterClass", "SP::STDFri", "0", "0", "\"Can't store this register to stack slot\"" ]
SparcInstrInfo17
storeRegToStackSlot
Sparc
CPU
LLVM
12,029
200
1
[]
[ "<s>", "void", "MSP430FrameLowering", "::", "processFunctionBeforeFrameFinalized", "(", "MachineFunction", "&", "MF", ")", "const", "{", "const", "TargetFrameLowering", "*", "TFI", "=", "MF", ".", "getTarget", "(", ")", ".", "getFrameLowering", "(", ")", ";", "i...
[ "processFunctionBeforeFrameFinalized", "-", "This", "method", "is", "called", "immediately", "before", "the", "specified", "function", "'s", "frame", "layout", "(", "MF.getFrameInfo", "(", ")", ")", "is", "finalized", "." ]
[ "MSP430", "MSP430", "2", "4", "\"Slot for FPW register must be last in order to be found!\"" ]
MSP430FrameLowering14
processFunctionBeforeFrameFinalized
MSP430
MPU
LLVM
12,030
79
1
[]
[ "<s>", "int", "cris_side_effect_mode_ok", "(", "enum", "rtx_code", "code", ",", "rtx", "*", "ops", ",", "int", "lreg", ",", "int", "rreg", ",", "int", "rval", ",", "int", "multop", ",", "int", "other_op", ")", "{", "int", "mult", "=", "multop", "<", ...
[ "Check", "various", "objections", "to", "the", "side-effect", ".", "Used", "in", "the", "test-part", "of", "an", "anonymous", "insn", "describing", "an", "insn", "with", "a", "possible", "side-effect", ".", "Returns", "nonzero", "if", "the", "implied", "side-e...
[ "cris", "0", "1", "0", "0", "1", "0", "0", "0", "0", "0", "0", "63", "63", "0", "1", "0", "1", "0", "0", "0", "1", "0", "1", "0", "1", "2", "4", "0", "0", "1", "\"internal error: cris_side_effect_mode_ok with bad operands\"" ]
cris3
cris_side_effect_mode_ok
cris
MPU
GCC
12,031
466
1
[]
[ "<s>", "std", "::", "string", "str", "(", ")", "const", "{", "std", "::", "string", "S", ";", "raw_string_ostream", "OS", "(", "S", ")", ";", "OS", "<<", "\"{\"", ";", "StartInst", "->", "print", "(", "OS", ",", "true", ")", ";", "OS", "<<", "\" ...
[ "Return", "the", "twine", "contents", "as", "a", "std", ":", ":string", "." ]
[ "AArch64", "\"{\"", "\" -> \"", "\" (kill @ \"", "\")\"", "\"}\"" ]
AArch64A57FPLoadBalancing
str
AArch64
CPU
LLVM
12,032
80
1
[]
[ "<s>", "const", "uint32_t", "*", "LanaiRegisterInfo", "::", "getCallPreservedMask", "(", "const", "MachineFunction", "&", ",", "CallingConv", "::", "ID", ")", "const", "{", "return", "CSR_RegMask", ";", "}", "</s>" ]
[ "Return", "a", "mask", "of", "call-preserved", "registers", "for", "the", "given", "calling", "convention", "on", "the", "current", "function", "." ]
[ "Lanai", "Lanai" ]
LanaiRegisterInfo (2)1
getCallPreservedMask
Lanai
CPU
LLVM
12,033
21
1
[]
[ "<s>", "unsigned", "X86RegisterInfo", "::", "findDeadCallerSavedReg", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "&", "MBBI", ")", "const", "{", "const", "MachineFunction", "*", "MF", "=", "MBB", ".", "getParent", "(", ")",...
[ "findDeadCallerSavedReg", "-", "Return", "a", "caller-saved", "register", "that", "is", "n't", "live", "when", "it", "reaches", "the", "``", "return", "''", "instruction", "." ]
[ "X86", "X86", "0", "0", "0", "X86::RET", "X86::RET32", "X86::RET64", "X86::RETI32", "X86::RETI64", "X86::TCRETURNdi", "X86::TCRETURNri", "X86::TCRETURNmi", "X86::TCRETURNdi64", "X86::TCRETURNri64", "X86::TCRETURNmi64", "X86::EH_RETURN", "X86::EH_RETURN64", "8", "0", "X86::RIP...
X86RegisterInfo28
findDeadCallerSavedReg
X86
CPU
LLVM
12,034
298
1
[]
[ "<s>", "static", "void", "arc_init_reg_tables", "(", "void", ")", "{", "int", "i", ";", "for", "(", "i", "=", "0", ";", "i", "<", "NUM_MACHINE_MODES", ";", "i", "++", ")", "{", "machine_mode", "m", "=", "(", "machine_mode", ")", "i", ";", "switch", ...
[ "Initialize", "the", "arc_mode_class", "array", "." ]
[ "arc", "0", "4", "1", "8", "1", "16", "1", "32", "1", "0", "4", "1", "8", "1", "16", "1", "32", "1", "0", "4", "1", "8", "1", "1", "1", "0" ]
arc
arc_init_reg_tables
arc
MPU
GCC
12,035
400
1
[]
[ "<s>", "bool", "PPCRegisterInfo", "::", "needsFrameBaseReg", "(", "MachineInstr", "*", "MI", ",", "int64_t", "Offset", ")", "const", "{", "assert", "(", "Offset", "<", "0", "&&", "\"Local offset must be negative\"", ")", ";", "unsigned", "OpC", "=", "MI", "->"...
[ "Returns", "true", "if", "the", "instruction", "'s", "frame", "index", "reference", "would", "be", "better", "served", "by", "a", "base", "register", "other", "than", "FP", "or", "SP", "." ]
[ "PowerPC", "PPC", "0", "\"Local offset must be negative\"", "PPC::ADDI", "PPC::ADDI8", "2", "0", "PPC", "PPC", "PPC", "PPC" ]
PPCRegisterInfo68
needsFrameBaseReg
PowerPC
CPU
LLVM
12,036
158
1
[]
[ "<s>", "static", "int", "microblaze_address_cost", "(", "rtx", "addr", ",", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ",", "addr_space_t", "as", "ATTRIBUTE_UNUSED", ",", "bool", "speed", "ATTRIBUTE_UNUSED", ")", "{", "return", "COSTS_N_INSNS", "(", "microblaze_addre...
[ "Provide", "the", "costs", "of", "an", "addressing", "mode", "that", "contains", "ADDR", ".", "If", "ADDR", "is", "not", "a", "valid", "address", ",", "its", "cost", "is", "irrelevant", "." ]
[ "microblaze" ]
microblaze
microblaze_address_cost
microblaze
MPU
GCC
12,037
35
1
[]
[ "<s>", "bool", "R600InstrInfo", "::", "reverseBranchCondition", "(", "SmallVectorImpl", "<", "MachineOperand", ">", "&", "Cond", ")", "const", "{", "MachineOperand", "&", "MO", "=", "Cond", "[", "1", "]", ";", "switch", "(", "MO", ".", "getImm", "(", ")", ...
[ "Reverses", "the", "branch", "condition", "of", "the", "specified", "condition", "list", ",", "returning", "false", "on", "success", "and", "true", "if", "it", "can", "not", "be", "reversed", "." ]
[ "AMDGPU", "R600", "1", "R600::PRED_SETE_INT", "R600::PRED_SETNE_INT", "R600::PRED_SETNE_INT", "R600::PRED_SETE_INT", "R600::PRED_SETE", "R600::PRED_SETNE", "R600::PRED_SETNE", "R600::PRED_SETE", "2", "R600::PRED_SEL_ZERO", "R600::PRED_SEL_ONE", "R600::PRED_SEL_ONE", "R600::PRED_SEL_ZER...
R600InstrInfo (2)1
reverseBranchCondition
AMDGPU
GPU
LLVM
12,038
162
1
[]
[ "<s>", "static", "int", "csky_num_arg_regs", "(", "machine_mode", "mode", ",", "const_tree", "type", ",", "bool", "is_stdarg", ")", "{", "int", "size", ";", "if", "(", "type", "&&", "mode", "==", "BLKmode", ")", "size", "=", "int_size_in_bytes", "(", "type...
[ "Return", "the", "number", "of", "registers", "(", "words", ")", "needed", "to", "pass", "an", "argument", "of", "MODE", "and", "TYPE", "." ]
[ "csky", "1", "2" ]
csky
csky_num_arg_regs
csky
CPU
GCC
12,039
80
1
[]
[ "<s>", "bool", "X86InstrInfo", "::", "hasLiveCondCodeDef", "(", "MachineInstr", "&", "MI", ")", "const", "{", "for", "(", "const", "MachineOperand", "&", "MO", ":", "MI", ".", "operands", "(", ")", ")", "{", "if", "(", "MO", ".", "isReg", "(", ")", "...
[ "True", "if", "MI", "has", "a", "condition", "code", "def", ",", "e.g", "." ]
[ "X86", "X86", "X86::EFLAGS" ]
X86InstrInfo153
hasLiveCondCodeDef
X86
CPU
LLVM
12,040
66
1
[]
[ "<s>", "void", "GCNPassConfig", "::", "addPreEmitPass", "(", ")", "{", "addPass", "(", "createSIMemoryLegalizerPass", "(", ")", ")", ";", "addPass", "(", "createSIInsertWaitcntsPass", "(", ")", ")", ";", "addPass", "(", "createSIShrinkInstructionsPass", "(", ")", ...
[ "This", "pass", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "machine", "code", "is", "emitted", "." ]
[ "AMDGPU", "SI", "SI", "SI", "SI", "SI", "SI", "SI" ]
AMDGPUTargetMachine16
addPreEmitPass
AMDGPU
GPU
LLVM
12,041
66
1
[]
[ "<s>", "bool", "mips_expand_vec_perm_const", "(", "rtx", "operands", "[", "4", "]", ")", "{", "struct", "expand_vec_perm_d", "d", ";", "int", "i", ",", "nelt", ",", "which", ";", "unsigned", "char", "orig_perm", "[", "MAX_VECT_LEN", "]", ";", "rtx", "sel",...
[ "Expand", "a", "vec_perm_const", "pattern", "." ]
[ "mips", "4", "0", "1", "2", "3", "0", "0", "2", "1", "1", "2", "3", "2", "0", "1", "1", "3", "1", "2" ]
mips4
mips_expand_vec_perm_const
mips
CPU
GCC
12,042
348
1
[]
[ "<s>", "bool", "A15SDOptimizer", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "Fn", ")", "{", "if", "(", "skipFunction", "(", "*", "Fn", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "const", "ARMSubtarget", "&", "STI", "=",...
[ "runOnMachineFunction", "-", "Emit", "the", "function", "body", "." ]
[ "ARM", "ARM", "ARM", "\"Running on function \"", "\"\\n\"" ]
A15SDOptimizer14
runOnMachineFunction
ARM
CPU
LLVM
12,043
235
1
[]
[ "<s>", "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "override", "{", "STI", "=", "&", "static_cast", "<", "const", "M680x0Subtarget", "&", ">", "(", "MF", ".", "getSubtarget", "(", ")", ")", ";", "TII", "=", "STI", "->", "getIn...
[ "runOnMachineFunction", "-", "Emit", "the", "function", "body", "." ]
[ "M680x0", "M680x0", "M680x0", "0", "0", "0", "M680x0::MOVM32jm", "1", "0", "0", "M680x0::MOVM32pm", "2", "1", "0", "M680x0::MOVM32mj", "0", "1", "0", "M680x0::MOVM32mp", "0", "2", "1" ]
M680x0CollapseMOVEMPass
runOnMachineFunction
M680x0
MPU
LLVM
12,044
445
1
[]
[ "<s>", "AVR", "::", "Fixups", "AVRMCExpr", "::", "getFixupKind", "(", ")", "const", "{", "AVR", "::", "Fixups", "Kind", "=", "AVR", "::", "Fixups", "::", "LastTargetFixupKind", ";", "switch", "(", "getKind", "(", ")", ")", "{", "case", "VK_AVR_LO8", ":",...
[ "getFixupKind", "-", "Get", "the", "fixup", "kind", "of", "this", "expression", "." ]
[ "AVR", "AVR::Fixups", "AVR", "AVR::Fixups", "AVR::Fixups", "AVR", "AVR::fixup_lo8_ldi_neg", "AVR::fixup_lo8_ldi", "AVR", "AVR::fixup_hi8_ldi_neg", "AVR::fixup_hi8_ldi", "AVR", "AVR::fixup_hh8_ldi_neg", "AVR::fixup_hh8_ldi", "AVR", "AVR::fixup_ms8_ldi_neg", "AVR::fixup_ms8_ldi", "AV...
AVRMCExpr1
getFixupKind
AVR
MPU
LLVM
12,045
210
1
[]
[ "<s>", "SDValue", "MipsSETargetLowering", "::", "LowerOperation", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "case", "ISD", "::", "LOAD", ":", "return", "lowerLOAD", ...
[ "LowerOperation", "-", "Provide", "custom", "lowering", "hooks", "for", "some", "operations", "." ]
[ "Mips", "Mips", "ISD::LOAD", "ISD::STORE", "ISD::SMUL_LOHI", "MipsISD::Mult", "ISD::UMUL_LOHI", "MipsISD::Multu", "ISD::MULHS", "MipsISD::Mult", "ISD::MULHU", "MipsISD::Multu", "ISD::MUL", "MipsISD::Mult", "ISD::SDIVREM", "MipsISD::DivRem", "ISD::UDIVREM", "MipsISD::DivRemU", "IS...
MipsSEISelLowering (2)
LowerOperation
Mips
CPU
LLVM
12,046
286
1
[]
[ "<s>", "static", "void", "get_pc_thunk_name", "(", "char", "name", "[", "32", "]", ",", "unsigned", "int", "regno", ")", "{", "const", "char", "*", "reg_name", "=", "reg_names", "[", "regno", "]", ";", "reg_name", "+=", "1", ";", "if", "(", "USE_HIDDEN...
[ "Fills", "in", "the", "label", "name", "that", "should", "be", "used", "for", "a", "pc", "thunk", "for", "the", "given", "register", "." ]
[ "sparc", "32", "1", "\"__sparc_get_pc_thunk.%s\"", "\"LADDPC\"" ]
sparc4
get_pc_thunk_name
sparc
CPU
GCC
12,047
53
1
[]
[ "<s>", "bool", "Cpu0AsmParser", "::", "ParseInstruction", "(", "ParseInstructionInfo", "&", "Info", ",", "StringRef", "Name", ",", "SMLoc", "NameLoc", ",", "OperandVector", "&", "Operands", ")", "{", "size_t", "Start", "=", "0", ",", "Next", "=", "Name", "."...
[ "ParseInstruction", "-", "Parse", "one", "assembly", "instruction", "." ]
[ "Cpu0", "Cpu0", "0", "\"ret\"", "\"jr\"", "Cpu0Operand::CreateToken", "\"unexpected token in argument list\"", "\"unexpected token in argument list\"", "\"unexpected token in argument list\"" ]
Cpu0AsmParser
ParseInstruction
Cpu0
CPU
LLVM
12,048
228
1
[]
[ "<s>", "int", "memory_address_length", "(", "rtx", "addr", ",", "bool", "lea", ")", "{", "struct", "ix86_address", "parts", ";", "rtx", "base", ",", "index", ",", "disp", ";", "int", "len", ";", "int", "ok", ";", "if", "(", "GET_CODE", "(", "addr", "...
[ "Calculate", "the", "length", "of", "the", "memory", "address", "in", "the", "instruction", "encoding", ".", "Does", "not", "include", "the", "one-byte", "modrm", ",", "opcode", ",", "or", "prefix", "." ]
[ "i386", "0", "0", "1", "4", "1", "4" ]
i3866
memory_address_length
i386
CPU
GCC
12,049
384
1
[]
[ "<s>", "static", "bool", "originalTypeIsVectorFloat", "(", "const", "Type", "*", "Ty", ")", "{", "if", "(", "Ty", "->", "isVectorTy", "(", ")", "&&", "Ty", "->", "isFPOrFPVectorTy", "(", ")", ")", "return", "true", ";", "return", "false", ";", "}", "</...
[ "Return", "true", "if", "the", "original", "type", "was", "vXfXX", "/", "vXfXX", "." ]
[ "Mips" ]
MipsCCState
originalTypeIsVectorFloat
Mips
CPU
LLVM
12,050
31
1
[]
[ "<s>", "SDNode", "*", "SparcDAGToDAGISel", "::", "getGlobalBaseReg", "(", ")", "{", "unsigned", "GlobalBaseReg", "=", "TM", ".", "getInstrInfo", "(", ")", "->", "getGlobalBaseReg", "(", "MF", ")", ";", "return", "CurDAG", "->", "getRegister", "(", "GlobalBaseR...
[ "getGlobalBaseReg", "-", "Return", "a", "virtual", "register", "initialized", "with", "the", "the", "global", "base", "register", "value", "." ]
[ "Sparc", "Sparc" ]
SparcISelDAGToDAG41
getGlobalBaseReg
Sparc
CPU
LLVM
12,051
41
1
[]
[ "<s>", "void", "MipsAsmPrinter", "::", "emitInlineAsmStart", "(", "const", "MCSubtargetInfo", "&", "StartInfo", ")", "const", "{", "MipsTargetStreamer", "&", "TS", "=", "getTargetStreamer", "(", ")", ";", "TS", ".", "emitDirectiveSetPush", "(", ")", ";", "TS", ...
[ "Let", "the", "target", "do", "anything", "it", "needs", "to", "do", "before", "emitting", "inlineasm", "." ]
[ "Mips", "Mips", "Mips" ]
MipsAsmPrinter20
emitInlineAsmStart
Mips
CPU
LLVM
12,052
51
1
[]
[ "<s>", "bool", "ix86_save_reg", "(", "unsigned", "int", "regno", ",", "bool", "maybe_eh_return", ",", "bool", "ignore_outlined", ")", "{", "if", "(", "cfun", "->", "machine", "->", "no_caller_saved_registers", ")", "{", "rtx", "reg", "=", "crtl", "->", "retu...
[ "Return", "1", "if", "we", "need", "to", "save", "REGNO", "." ]
[ "i386", "0", "0" ]
i386
ix86_save_reg
i386
CPU
GCC
12,053
311
1
[]
[ "<s>", "static", "unsigned", "rs6000_add_stmt_cost", "(", "void", "*", "data", ",", "int", "count", ",", "enum", "vect_cost_for_stmt", "kind", ",", "struct", "_stmt_vec_info", "*", "stmt_info", ",", "int", "misalign", ",", "enum", "vect_cost_model_location", "wher...
[ "Implement", "targetm.vectorize.add_stmt_cost", "." ]
[ "rs6000", "0", "50" ]
rs6000
rs6000_add_stmt_cost
rs6000
CPU
GCC
12,054
161
1
[]
[ "<s>", "bool", "AArch64CallLowering", "::", "lowerFormalArguments", "(", "MachineIRBuilder", "&", "MIRBuilder", ",", "const", "Function", "&", "F", ",", "ArrayRef", "<", "ArrayRef", "<", "Register", ">>", "VRegs", ",", "FunctionLoweringInfo", "&", "FLI", ")", "c...
[ "This", "hook", "must", "be", "implemented", "to", "lower", "the", "incoming", "(", "formal", ")", "arguments", ",", "described", "by", "VRegs", ",", "for", "GlobalISel", "." ]
[ "AArch64", "AArch64", "8", "0", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "4", "8", "4", "16", "AArch64" ]
AArch64CallLowering26
lowerFormalArguments
AArch64
CPU
LLVM
12,055
446
1
[]
[ "<s>", "std", "::", "pair", "<", "SDValue", ",", "SDValue", ">", "SystemZSelectionDAGInfo", "::", "EmitTargetCodeForStrcmp", "(", "SelectionDAG", "&", "DAG", ",", "const", "SDLoc", "&", "DL", ",", "SDValue", "Chain", ",", "SDValue", "Src1", ",", "SDValue", "...
[ "Emit", "target-specific", "code", "that", "performs", "a", "strcmp", ",", "in", "cases", "where", "that", "is", "faster", "than", "a", "libcall", "." ]
[ "SystemZ", "SystemZ", "MVT::i32", "MVT::Other", "SystemZISD::STRCMP", "0", "MVT::i32", "1", "2" ]
SystemZSelectionDAGInfo
EmitTargetCodeForStrcmp
SystemZ
CPU
LLVM
12,056
132
1
[]
[ "<s>", "void", "MipsOutgoingValueHandler", "::", "assignValueToReg", "(", "Register", "ValVReg", ",", "Register", "PhysReg", ",", "CCValAssign", "VA", ")", "{", "Register", "ExtReg", "=", "extendRegister", "(", "ValVReg", ",", "VA", ")", ";", "MIRBuilder", ".", ...
[ "The", "specified", "value", "has", "been", "assigned", "to", "a", "physical", "register", ",", "handle", "the", "appropriate", "COPY", "(", "either", "to", "or", "from", ")", "and", "mark", "any", "relevant", "uses/defines", "as", "needed", "." ]
[ "Mips", "Mips" ]
MipsCallLowering (2)
assignValueToReg
Mips
CPU
LLVM
12,057
46
1
[]
[ "<s>", "static", "machine_mode", "rs6000_floatn_mode", "(", "int", "n", ",", "bool", "extended", ")", "{", "if", "(", "extended", ")", "{", "switch", "(", "n", ")", "{", "case", "32", ":", "return", "DFmode", ";", "case", "64", ":", "if", "(", "TARGE...
[ "Target", "hook", "for", "floatn_mode", "." ]
[ "rs6000", "32", "64", "128", "32", "64", "128" ]
rs60006
rs6000_floatn_mode
rs6000
CPU
GCC
12,058
114
1
[]
[ "<s>", "bool", "DLXInstrInfo", "::", "areMemAccessesTriviallyDisjoint", "(", "MachineInstr", "&", "MIa", ",", "MachineInstr", "&", "MIb", ",", "AliasAnalysis", "*", ")", "const", "{", "return", "false", ";", "}", "</s>" ]
[ "Sometimes", ",", "it", "is", "possible", "for", "the", "target", "to", "tell", ",", "even", "without", "aliasing", "information", ",", "that", "two", "MIs", "access", "different", "memory", "addresses", "." ]
[ "DLX", "DLX" ]
DLXInstrInfo
areMemAccessesTriviallyDisjoint
DLX
CPU
LLVM
12,059
22
1
[]
[ "<s>", "TargetPassConfig", "*", "HexagonTargetMachine", "::", "createPassConfig", "(", "PassManagerBase", "&", "PM", ")", "{", "return", "new", "HexagonPassConfig", "(", "*", "this", ",", "PM", ")", ";", "}", "</s>" ]
[ "Create", "a", "pass", "configuration", "object", "to", "be", "used", "by", "addPassToEmitX", "methods", "for", "generating", "a", "pipeline", "of", "CodeGen", "passes", "." ]
[ "Hexagon", "Hexagon", "Hexagon" ]
HexagonTargetMachine
createPassConfig
Hexagon
DSP
LLVM
12,060
22
1
[]
[ "<s>", "void", "HexagonFrameLowering", "::", "processFunctionBeforeFrameFinalized", "(", "MachineFunction", "&", "MF", ",", "RegScavenger", "*", "RS", ")", "const", "{", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "bool", "HasA...
[ "processFunctionBeforeFrameFinalized", "-", "This", "method", "is", "called", "immediately", "before", "the", "specified", "function", "'s", "frame", "layout", "(", "MF.getFrameInfo", "(", ")", ")", "is", "finalized", "." ]
[ "Hexagon", "Hexagon", "0", "8U", "8", "8", "\"Unexpected local frame alignment\"", "0", "8", "0", "0", "Hexagon" ]
HexagonFrameLowering45
processFunctionBeforeFrameFinalized
Hexagon
DSP
LLVM
12,061
265
1
[]
[ "<s>", "const", "LatticeCell", "&", "get", "(", "unsigned", "R", ")", "const", "{", "if", "(", "!", "TargetRegisterInfo", "::", "isVirtualRegister", "(", "R", ")", ")", "return", "Bottom", ";", "MapType", "::", "const_iterator", "F", "=", "Map", ".", "fi...
[ "Get", "the", "generated", "Value", "for", "a", "given", "VPValue", "and", "given", "Part", "and", "Lane", "." ]
[ "Hexagon" ]
HexagonConstPropagation
get
Hexagon
DSP
LLVM
12,062
54
1
[]
[ "<s>", "SDValue", "MipsTargetLowering", "::", "LowerReturn", "(", "SDValue", "Chain", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "IsVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "OutputArg", ">", "&", "Outs", ",", "const", "SmallVec...
[ "This", "hook", "must", "be", "implemented", "to", "lower", "outgoing", "return", "values", ",", "described", "by", "the", "Outs", "array", ",", "into", "the", "specified", "DAG", "." ]
[ "Mips", "Mips", "ISD::OutputArg", "16", "Mips", "Mips", "Mips", "4", "1", "0", "\"Can only return in registers!\"", "ISD::BITCAST", "1", "Mips", "Mips", "Mips", "Mips", "\"sret virtual register not created in the entry block\"", "Mips::V0_64", "Mips::V0", "1", "0", "MipsI...
MipsISelLowering100
LowerReturn
Mips
CPU
LLVM
12,063
453
1
[]
[ "<s>", "static", "bool", "aarch_macro_fusion_pair_p", "(", "rtx_insn", "*", "prev", ",", "rtx_insn", "*", "curr", ")", "{", "rtx", "prev_set", "=", "single_set", "(", "prev", ")", ";", "rtx", "curr_set", "=", "single_set", "(", "curr", ")", ";", "if", "(...
[ "Implement", "TARGET_SCHED_MACRO_FUSION_PAIR_P", ".", "Return", "true", "if", "PREV", "and", "CURR", "should", "be", "kept", "together", "during", "scheduling", "." ]
[ "arm" ]
arm6
aarch_macro_fusion_pair_p
arm
CPU
GCC
12,064
104
1
[]
[ "<s>", "const", "std", "::", "string", "&", "getName", "(", ")", "const", "{", "return", "Name", ";", "}", "</s>" ]
[ "Return", "a", "string", "with", "the", "name", "of", "the", "plan", "and", "the", "applicable", "VFs", "and", "UFs", "." ]
[ "PIC16" ]
MCSectionPIC16
getName
PIC16
MPU
LLVM
12,065
14
1
[]
[ "<s>", "unsigned", "MipsRegisterInfo", "::", "getPICCallReg", "(", "void", ")", "{", "return", "Mips", "::", "T9", ";", "}", "</s>" ]
[ "Get", "PIC", "indirect", "call", "register", "." ]
[ "Mips", "Mips", "Mips::T9" ]
MipsRegisterInfo18
getPICCallReg
Mips
CPU
LLVM
12,066
14
1
[]
[ "<s>", "const", "SpillSlot", "*", "getCalleeSavedSpillSlots", "(", "unsigned", "&", "NumEntries", ")", "const", "override", "{", "static", "const", "SpillSlot", "Offsets", "[", "]", "=", "{", "{", "Hexagon", "::", "R17", ",", "-", "4", "}", ",", "{", "He...
[ "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", ...
[ "Hexagon", "Hexagon::R17", "4", "Hexagon::R16", "8", "Hexagon::D8", "8", "Hexagon::R19", "12", "Hexagon::R18", "16", "Hexagon::D9", "16", "Hexagon::R21", "20", "Hexagon::R20", "24", "Hexagon::D10", "24", "Hexagon::R23", "28", "Hexagon::R22", "32", "Hexagon::D11", "32"...
HexagonFrameLowering2
getCalleeSavedSpillSlots
Hexagon
DSP
LLVM
12,067
412
1
[]
[ "<s>", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"ARC Branch Finalization Pass\"", ";", "}", "</s>" ]
[ "getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "." ]
[ "ARC", "\"ARC Branch Finalization Pass\"" ]
ARCBranchFinalize
getPassName
ARC
MPU
LLVM
12,068
11
1
[]
[ "<s>", "rtx", "loongarch_emit_move", "(", "rtx", "dest", ",", "rtx", "src", ")", "{", "return", "(", "can_create_pseudo_p", "(", ")", "?", "emit_move_insn", "(", "dest", ",", "src", ")", ":", "emit_move_insn_1", "(", "dest", ",", "src", ")", ")", ";", ...
[ "Emit", "a", "move", "from", "SRC", "to", "DEST", ".", "Assume", "that", "the", "move", "expanders", "can", "handle", "all", "moves", "if", "!", "can_create_pseudo_p", "(", ")", ".", "The", "distinction", "is", "important", "because", ",", "unlike", "emit_...
[ "loongarch" ]
loongarch
loongarch_emit_move
loongarch
CPU
GCC
12,069
32
1
[]
[ "<s>", "bool", "HexagonGenInsert", "::", "removeDeadCode", "(", "MachineDomTreeNode", "*", "N", ")", "{", "bool", "Changed", "=", "false", ";", "typedef", "GraphTraits", "<", "MachineDomTreeNode", "*", ">", "GTN", ";", "for", "(", "auto", "I", "=", "GTN", ...
[ "Remove", "all", "dead", "instructions", "between", "the", "I", "and", "E", "." ]
[ "Hexagon", "Hexagon", "2", "0" ]
HexagonGenInsert14
removeDeadCode
Hexagon
DSP
LLVM
12,070
340
1
[]
[ "<s>", "static", "int", "ix86_fp_cmp_code_to_pcmp_immediate", "(", "enum", "rtx_code", "code", ")", "{", "switch", "(", "code", ")", "{", "case", "EQ", ":", "return", "0x00", ";", "case", "NE", ":", "return", "0x04", ";", "case", "GT", ":", "return", "0x...
[ "Helper", "for", "ix86_cmp_code_to_pcmp_immediate", "for", "fp", "modes", "." ]
[ "i386", "0x00", "0x04", "0x0e", "0x02", "0x0d", "0x01", "0x0a", "0x09", "0x05", "0x06", "0x18", "0x0c", "0x07", "0x03" ]
i386-expand
ix86_fp_cmp_code_to_pcmp_immediate
i386
CPU
GCC
12,071
106
1
[]
[ "<s>", "static", "void", "process_cfa_adjust_cfa", "(", "FILE", "*", "asm_out_file", ",", "rtx", "pat", ",", "rtx", "insn", ",", "bool", "unwind", ",", "bool", "frame", ")", "{", "rtx", "dest", "=", "SET_DEST", "(", "pat", ")", ";", "rtx", "src", "=", ...
[ "This", "function", "processes", "a", "SET", "pattern", "for", "REG_CFA_ADJUST_CFA", "." ]
[ "ia64", "0", "1", "0", "\"\\t.fframe \"", "\"\\n\"", "\"\\t.vframe r%d\\n\"" ]
ia644
process_cfa_adjust_cfa
ia64
CPU
GCC
12,072
205
1
[]
[ "<s>", "bool", "X86CallLowering", "::", "lowerReturn", "(", "MachineIRBuilder", "&", "MIRBuilder", ",", "const", "Value", "*", "Val", ",", "ArrayRef", "<", "Register", ">", "VRegs", ")", "const", "{", "assert", "(", "(", "(", "Val", "&&", "!", "VRegs", "...
[ "This", "hook", "behaves", "as", "the", "extended", "lowerReturn", "function", ",", "but", "for", "targets", "that", "do", "not", "support", "swifterror", "value", "promotion", "." ]
[ "X86", "X86", "\"Return value without a vreg\"", "X86::RET", "0", "X86", "X86", "4", "\"For each split Type there should be exactly one VReg.\"", "8", "0", "X86", "X86" ]
X86CallLowering17
lowerReturn
X86
CPU
LLVM
12,073
330
1
[]
[ "<s>", "static", "tree", "sh2a_handle_function_vector_handler_attribute", "(", "tree", "*", "node", ",", "tree", "name", ",", "tree", "args", "ATTRIBUTE_UNUSED", ",", "int", "flags", "ATTRIBUTE_UNUSED", ",", "bool", "*", "no_add_attrs", ")", "{", "if", "(", "!",...
[ "Handle", "an", "'function_vector", "'", "attribute", ";", "arguments", "as", "in", "struct", "attribute_spec.handler", "." ]
[ "sh", "\"%qE attribute only applies to SH2A\"", "\"%qE attribute only applies to functions\"", "\"%qE attribute argument not an integer constant\"", "255", "\"%qE attribute argument should be between 0 to 255\"" ]
sh
sh2a_handle_function_vector_handler_attribute
sh
CPU
GCC
12,074
134
1
[]
[ "<s>", "bool", "SPUPassConfig", "::", "addInstSelector", "(", ")", "{", "PM", "->", "add", "(", "createSPUISelDag", "(", "getSPUTargetMachine", "(", ")", ")", ")", ";", "return", "false", ";", "}", "</s>" ]
[ "addInstSelector", "-", "This", "method", "should", "install", "an", "instruction", "selector", "pass", ",", "which", "converts", "from", "LLVM", "code", "to", "machine", "instructions", "." ]
[ "CellSPU", "SPU", "SPU", "SPU" ]
SPUTargetMachine9
addInstSelector
CellSPU
MPU
LLVM
12,075
23
1
[]
[ "<s>", "tree", "ix86_builtin_reciprocal", "(", "tree", "fndecl", ")", "{", "enum", "ix86_builtins", "fn_code", "=", "(", "enum", "ix86_builtins", ")", "DECL_MD_FUNCTION_CODE", "(", "fndecl", ")", ";", "switch", "(", "fn_code", ")", "{", "case", "IX86_BUILTIN_SQR...
[ "Returns", "a", "code", "for", "a", "target-specific", "builtin", "that", "implements", "reciprocal", "of", "the", "function", ",", "or", "NULL_TREE", "if", "not", "available", "." ]
[ "i386" ]
i386-builtins
ix86_builtin_reciprocal
i386
CPU
GCC
12,076
50
1
[]
[ "<s>", "DFAPacketizer", "*", "R600InstrInfo", "::", "CreateTargetScheduleState", "(", "const", "TargetSubtargetInfo", "&", "STI", ")", "const", "{", "const", "InstrItineraryData", "*", "II", "=", "STI", ".", "getInstrItineraryData", "(", ")", ";", "return", "stati...
[ "Create", "machine", "specific", "model", "for", "scheduling", "." ]
[ "R600" ]
R600InstrInfo50
CreateTargetScheduleState
R600
GPU
LLVM
12,077
41
1
[]
[ "<s>", "static", "void", "vax_output_mi_thunk", "(", "FILE", "*", "file", ",", "tree", "thunk", "ATTRIBUTE_UNUSED", ",", "HOST_WIDE_INT", "delta", ",", "HOST_WIDE_INT", "vcall_offset", "ATTRIBUTE_UNUSED", ",", "tree", "function", ")", "{", "fprintf", "(", "file", ...
[ "Output", "code", "to", "add", "DELTA", "to", "the", "first", "argument", ",", "and", "then", "jump", "to", "FUNCTION", ".", "Used", "for", "C++", "multiple", "inheritance", ".", ".mask", "^m", "<", "r2", ",", "r3", ",", "r4", ",", "r5", ",", "r6", ...
[ "vax", "\"\\t.word 0x0ffc\\n\\taddl2 $\"", "\",4(%Rap)\\n\"", "\"\\tjmp \"", "0", "0", "\"+2\\n\"" ]
vax3
vax_output_mi_thunk
vax
CPU
GCC
12,078
75
1
[]
[ "<s>", "bool", "PPCAIXAsmPrinter", "::", "doInitialization", "(", "Module", "&", "M", ")", "{", "const", "bool", "Result", "=", "PPCAsmPrinter", "::", "doInitialization", "(", "M", ")", ";", "auto", "setCsectAlignment", "=", "[", "this", "]", "(", "const", ...
[ "Set", "up", "the", "AsmPrinter", "when", "we", "are", "working", "on", "a", "new", "module", "." ]
[ "PowerPC", "PPC", "PPC", "\"\"", "\"clang_\"", "1", "\"clangPidTime_\"", "\"_\"", "\"alias without a base object is not yet supported on AIX\"" ]
PPCAsmPrinter17
doInitialization
PowerPC
CPU
LLVM
12,079
301
1
[]
[ "<s>", "MCELFStreamer", "&", "MipsTargetELFStreamer", "::", "getStreamer", "(", ")", "{", "return", "static_cast", "<", "MCELFStreamer", "&", ">", "(", "Streamer", ")", ";", "}", "</s>" ]
[ "Return", "the", "output", "streamer", "for", "the", "assembler", "." ]
[ "Mips", "Mips" ]
MipsTargetStreamer (2)1
getStreamer
Mips
CPU
LLVM
12,080
19
1
[]
[ "<s>", "bool", "ARMBaseInstrInfo", "::", "ClobbersPredicate", "(", "MachineInstr", "&", "MI", ",", "std", "::", "vector", "<", "MachineOperand", ">", "&", "Pred", ",", "bool", "SkipDead", ")", "const", "{", "bool", "Found", "=", "false", ";", "for", "(", ...
[ "If", "the", "specified", "instruction", "defines", "any", "predicate", "or", "condition", "code", "register", "(", "s", ")", "used", "for", "predication", ",", "returns", "true", "as", "well", "as", "the", "definition", "predicate", "(", "s", ")", "by", "...
[ "ARM", "ARM", "0", "ARM::CPSR", "ARM::CPSR", "ARMII::ThumbArithFlagSetting" ]
ARMBaseInstrInfo110
ClobbersPredicate
ARM
CPU
LLVM
12,081
161
1
[]
[ "<s>", "bool", "pa_return_in_memory", "(", "tree", "type", ",", "tree", "fntype", "ATTRIBUTE_UNUSED", ")", "{", "return", "(", "int_size_in_bytes", "(", "type", ")", ">", "(", "TARGET_64BIT", "?", "16", ":", "8", ")", "||", "int_size_in_bytes", "(", "type", ...
[ "Worker", "function", "for", "TARGET_RETURN_IN_MEMORY", "." ]
[ "pa", "16", "8", "0" ]
pa3
pa_return_in_memory
pa
CPU
GCC
12,082
35
1
[]
[ "<s>", "static", "const", "char", "*", "ix86_mangle_fundamental_type", "(", "tree", "type", ")", "{", "switch", "(", "TYPE_MODE", "(", "type", ")", ")", "{", "case", "TFmode", ":", "return", "\"g\"", ";", "case", "XFmode", ":", "return", "\"e\"", ";", "d...
[ "Return", "the", "mangling", "of", "TYPE", "if", "it", "is", "an", "extended", "fundamental", "type", "." ]
[ "i386", "\"g\"", "\"e\"" ]
i3863
ix86_mangle_fundamental_type
i386
CPU
GCC
12,083
37
1
[]
[ "<s>", "bool", "requiresRegisterScavenging", "(", "const", "MachineFunction", "&", "MF", ")", "const", "override", "{", "return", "true", ";", "}", "</s>" ]
[ "Returns", "true", "if", "the", "target", "requires", "(", "and", "can", "make", "use", "of", ")", "the", "register", "scavenger", "." ]
[ "Z80" ]
Z80RegisterInfo2
requiresRegisterScavenging
Z80
MPU
LLVM
12,084
15
1
[]
[ "<s>", "const", "MMIXInstrInfo", "*", "getInstrInfo", "(", ")", "const", "override", "{", "return", "&", "InstrInfo", ";", "}", "</s>" ]
[ "TargetInstrInfo", "getter", "." ]
[ "MMIX", "MMIX" ]
MMIXSubtarget
getInstrInfo
MMIX
CPU
LLVM
12,085
14
1
[]
[ "<s>", "void", "MipsGOT", "::", "split", "(", ")", "{", "m_MergedLocalSymbols", ".", "clear", "(", ")", ";", "m_MergedGlobalSymbols", ".", "clear", "(", ")", ";", "size_t", "uniqueCount", "=", "0", ";", "for", "(", "SymbolUniqueMapType", "::", "const_iterato...
[ "Split", "into", "substrings", "around", "the", "occurrences", "of", "a", "separator", "character", "." ]
[ "Mips", "Mips", "0" ]
MipsGOT
split
Mips
CPU
LLVM
12,086
134
1
[]
[ "<s>", "int", "symbolic_operand", "(", "register", "rtx", "op", ",", "enum", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ")", "{", "switch", "(", "GET_CODE", "(", "op", ")", ")", "{", "case", "SYMBOL_REF", ":", "case", "LABEL_REF", ":", "return", "1", ";",...
[ "Return", "1", "if", "X", "contains", "a", "symbolic", "expression", ".", "We", "know", "these", "expressions", "will", "have", "one", "of", "a", "few", "well", "defined", "forms", ",", "so", "we", "need", "only", "check", "those", "forms", "." ]
[ "mn10300", "1", "0", "0", "0", "1", "0" ]
mn103003
symbolic_operand
mn10300
MPU
GCC
12,087
90
1
[]
[ "<s>", "bool", "X86RetpolineThunks", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "getPassName", "(", ")", "<<", "'\\n'", ")", ";", "TM", "=", "&", "MF", ".", "getTarget", "(", ")",...
[ "runOnMachineFunction", "-", "Emit", "the", "function", "body", "." ]
[ "X86", "X86", "X86", "\"__llvm_retpoline_r11\"", "\"Should only have an r11 thunk on 64-bit targets\"", "X86::R11", "X86::EAX", "X86::ECX", "X86::EDX", "X86::EDI", "\"Invalid thunk name on x86-32!\"" ]
X86RetpolineThunks
runOnMachineFunction
X86
CPU
LLVM
12,088
308
1
[]
[ "<s>", "void", "AMDGPUAsmBackend", "::", "relaxInstruction", "(", "const", "MCInst", "&", "Inst", ",", "const", "MCSubtargetInfo", "&", "STI", ",", "MCInst", "&", "Res", ")", "const", "{", "unsigned", "RelaxedOpcode", "=", "AMDGPU", "::", "getSOPPWithRelaxation"...
[ "Relax", "the", "instruction", "in", "the", "given", "fragment", "to", "the", "next", "wider", "instruction", "." ]
[ "AMDGPU", "AMDGPU", "AMDGPU::getSOPPWithRelaxation", "0" ]
AMDGPUAsmBackend42
relaxInstruction
AMDGPU
GPU
LLVM
12,089
57
1
[]
[ "<s>", "static", "int", "thumb1_extra_regs_pushed", "(", "arm_stack_offsets", "*", "offsets", ",", "bool", "for_prologue", ")", "{", "HOST_WIDE_INT", "amount", ";", "unsigned", "long", "live_regs_mask", "=", "offsets", "->", "saved_regs_mask", ";", "unsigned", "long...
[ "Given", "the", "stack", "offsets", "and", "register", "mask", "in", "OFFSETS", ",", "decide", "how", "many", "additional", "registers", "to", "push", "instead", "of", "subtracting", "a", "constant", "from", "SP", ".", "For", "epilogues", "the", "principle", ...
[ "arm", "0x40ff", "0xff", "0x0f00", "512", "0", "0", "0", "0", "1", "0", "0", "0", "0", "0", "0", "0", "8", "1", "1", "0", "0", "4", "4", "512", "4", "512", "508", "4", "4", "4", "0" ]
arm4
thumb1_extra_regs_pushed
arm
CPU
GCC
12,090
294
1
[]
[ "<s>", "static", "bool", "or1k_rtx_costs", "(", "rtx", "x", ",", "machine_mode", "mode", ",", "int", "outer_code", ",", "int", ",", "int", "*", "total", ",", "bool", ")", "{", "switch", "(", "GET_CODE", "(", "x", ")", ")", "{", "case", "CONST_INT", "...
[ "Worker", "for", "TARGET_RTX_COSTS", "." ]
[ "or1k", "0", "0", "0", "2", "2", "0", "2", "2", "0", "2", "0", "1", "0" ]
or1k
or1k_rtx_costs
or1k
CPU
GCC
12,091
253
1
[]
[ "<s>", "int", "fr30_check_multiple_regs", "(", "rtx", "*", "operands", ",", "int", "num_operands", ",", "int", "descending", ")", "{", "if", "(", "descending", ")", "{", "unsigned", "int", "prev_regno", "=", "0", ";", "while", "(", "num_operands", "--", ")...
[ "Returns", "true", "iff", "all", "the", "registers", "in", "the", "operands", "array", "are", "in", "descending", "or", "ascending", "order", "." ]
[ "fr30", "0", "0", "0", "0", "0", "1" ]
fr30
fr30_check_multiple_regs
fr30
DSP
GCC
12,092
133
1
[]
[ "<s>", "void", "AnalyzeCallOperands", "(", "const", "SmallVectorImpl", "<", "ISD", "::", "OutputArg", ">", "&", "Outs", ",", "CCAssignFn", "Fn", ")", "{", "ArgIsFixed", ".", "clear", "(", ")", ";", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", ...
[ "AnalyzeCallOperands", "-", "Same", "as", "above", "except", "it", "takes", "vectors", "of", "types", "and", "argument", "flags", "." ]
[ "SystemZ", "ISD::OutputArg", "0", "0" ]
SystemZCallingConv
AnalyzeCallOperands
SystemZ
CPU
LLVM
12,093
102
1
[]
[ "<s>", "const", "PatmosTargetMachine", "&", "getTargetMachine", "(", ")", "const", "{", "return", "TM", ";", "}", "</s>" ]
[ "Return", "the", "target", "machine", "(", "if", "available", ")", "." ]
[ "Patmos", "Patmos" ]
PatmosRegisterInfo1
getTargetMachine
Patmos
VLIW
LLVM
12,094
12
1
[]
[ "<s>", "ScheduleHazardRecognizer", "*", "Thumb2InstrInfo", "::", "CreateTargetPostRAHazardRecognizer", "(", "const", "InstrItineraryData", "&", "II", ")", "const", "{", "return", "(", "ScheduleHazardRecognizer", "*", ")", "new", "Thumb2HazardRecognizer", "(", "II", ")",...
[ "Allocate", "and", "return", "a", "hazard", "recognizer", "to", "use", "for", "by", "non-scheduling", "passes", "." ]
[ "ARM" ]
Thumb2InstrInfo15
CreateTargetPostRAHazardRecognizer
ARM
CPU
LLVM
12,095
25
1
[]
[ "<s>", "bool", "ARMSubtarget", "::", "useFastISel", "(", ")", "const", "{", "if", "(", "ForceFastISel", ")", "return", "true", ";", "if", "(", "!", "hasV6Ops", "(", ")", ")", "return", "false", ";", "return", "TM", ".", "Options", ".", "EnableFastISel", ...
[ "True", "if", "fast-isel", "is", "used", "." ]
[ "ARM", "ARM" ]
ARMSubtarget
useFastISel
ARM
CPU
LLVM
12,096
68
1
[]
[ "<s>", "bool", "ARCRegisterInfo", "::", "useFPForScavengingIndex", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "return", "true", ";", "}", "</s>" ]
[ "Returns", "true", "if", "the", "target", "wants", "to", "use", "frame", "pointer", "based", "accesses", "to", "spill", "to", "the", "scavenger", "emergency", "spill", "slot", "." ]
[ "ARC", "ARC" ]
ARCRegisterInfo
useFPForScavengingIndex
ARC
MPU
LLVM
12,097
16
1
[]
[ "<s>", "static", "bool", "nios2_simple_const_p", "(", "const_rtx", "cst", ")", "{", "if", "(", "!", "CONST_INT_P", "(", "cst", ")", ")", "return", "false", ";", "HOST_WIDE_INT", "val", "=", "INTVAL", "(", "cst", ")", ";", "return", "SMALL_INT", "(", "val...
[ "Return", "true", "if", "CST", "is", "a", "constant", "within", "range", "of", "movi/movui/movhi", "." ]
[ "nios2" ]
nios2
nios2_simple_const_p
nios2
MPU
GCC
12,098
44
1
[]
[ "<s>", "void", "BT", "::", "reset", "(", ")", "{", "EdgeExec", ".", "clear", "(", ")", ";", "InstrExec", ".", "clear", "(", ")", ";", "Map", ".", "clear", "(", ")", ";", "ReachedBB", ".", "clear", "(", ")", ";", "ReachedBB", ".", "reserve", "(", ...
[ "Reset", "an", "existing", "scalar", "value", "for", "Def", "and", "a", "given", "Instance", "." ]
[ "Hexagon" ]
BitTracker10
reset
Hexagon
DSP
LLVM
12,099
43
1
[]