ground_truth
listlengths
8
512
natrual_language
listlengths
1
243
TS_V_token
listlengths
1
182
File
stringlengths
2
45
Func
stringlengths
1
56
Target
stringclasses
175 values
Target_Clf
stringclasses
6 values
Compiler_Type
stringclasses
2 values
Idx
int64
0
36.2k
Length
int64
6
510
Cover_Rate
float64
1
1
Template_token
listlengths
0
0
[ "<s>", "static", "void", "mips_maybe_swap_ready", "(", "rtx_insn", "*", "*", "ready", ",", "int", "pos1", ",", "int", "pos2", ",", "int", "limit", ")", "{", "if", "(", "pos1", "<", "pos2", "&&", "INSN_PRIORITY", "(", "ready", "[", "pos1", "]", ")", "...
[ "If", "the", "priority", "of", "the", "instruction", "at", "POS2", "in", "the", "ready", "queue", "READY", "is", "within", "LIMIT", "units", "of", "that", "of", "the", "instruction", "at", "POS1", ",", "swap", "the", "instructions", "if", "POS2", "is", "...
[ "mips" ]
mips
mips_maybe_swap_ready
mips
CPU
GCC
18,400
74
1
[]
[ "<s>", "bool", "runOnModule", "(", "Module", "&", "M", ")", "override", "{", "FeatureBitset", "Features", "=", "coalesceFeatures", "(", "M", ")", ";", "std", "::", "string", "FeatureStr", "=", "getFeatureString", "(", "Features", ")", ";", "WasmTM", "->", ...
[ "runOnModule", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "process", "the", "module", "being", "operated", "on", "." ]
[ "WebAssembly", "WebAssembly::FeatureAtomics", "WebAssembly::FeatureBulkMemory" ]
WebAssemblyTargetMachine24
runOnModule
WebAssembly
Virtual ISA
LLVM
18,401
145
1
[]
[ "<s>", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "override", "{", "AU", ".", "addRequired", "<", "MachineModuleInfo", ">", "(", ")", ";", "MachineFunctionPass", "::", "getAnalysisUsage", "(", "AU", ")", ";", "}", "</s>" ]
[ "getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "." ]
[ "Sparc" ]
SparcCodeEmitter3
getAnalysisUsage
Sparc
CPU
LLVM
18,402
27
1
[]
[ "<s>", "void", "TMS320C64XInstrInfo", "::", "loadRegFromStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "unsigned", "dstReg", ",", "int", "frameIndex", ",", "const", "TargetRegisterClass", "*", "RC", ",", "c...
[ "Load", "the", "specified", "register", "of", "the", "given", "register", "class", "from", "the", "specified", "stack", "frame", "index", "." ]
[ "TMS320C64X", "TMS320C64X", "TMS320C64X::PredRegsRegisterClass", "TMS320C64X::ARegsRegisterClass", "TMS320C64X::BRegsRegisterClass", "TMS320C64X::word_load_1", "TMS320C64X::A15", "TMS320C64XII::unit_d" ]
TMS320C64XInstrInfo
loadRegFromStackSlot
TMS320C64X
VLIW
LLVM
18,403
169
1
[]
[ "<s>", "void", "MipsSEFrameLowering", "::", "determineCalleeSaves", "(", "MachineFunction", "&", "MF", ",", "BitVector", "&", "SavedRegs", ",", "RegScavenger", "*", "RS", ")", "const", "{", "TargetFrameLowering", "::", "determineCalleeSaves", "(", "MF", ",", "Save...
[ "This", "method", "determines", "which", "of", "the", "registers", "reported", "by", "TargetRegisterInfo", ":", ":getCalleeSavedRegs", "(", ")", "should", "actually", "get", "saved", "." ]
[ "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips::GPR64RegClass", "Mips::GPR32RegClass", "10", "15", "10", "16", "Mips::GPR64RegClass", "Mips::GPR32RegClass" ]
MipsSEFrameLowering40
determineCalleeSaves
Mips
CPU
LLVM
18,404
373
1
[]
[ "<s>", "int", "h8300_current_function_interrupt_function_p", "(", "void", ")", "{", "return", "(", "h8300_interrupt_function_p", "(", "current_function_decl", ")", ")", ";", "}", "</s>" ]
[ "Return", "nonzero", "if", "the", "current", "function", "is", "an", "interrupt", "function", "." ]
[ "h8300" ]
h8300
h8300_current_function_interrupt_function_p
h8300
MPU
GCC
18,405
15
1
[]
[ "<s>", "unsigned", "MipsAsmParser", "::", "getReg", "(", "int", "RC", ",", "int", "RegNo", ")", "{", "return", "*", "(", "getContext", "(", ")", ".", "getRegisterInfo", "(", ")", ".", "getRegClass", "(", "RC", ")", ".", "begin", "(", ")", "+", "RegNo...
[ "Returns", "the", "register", "associated", "with", "this", "edge", "." ]
[ "Mips", "Mips" ]
MipsAsmParser41
getReg
Mips
CPU
LLVM
18,406
36
1
[]
[ "<s>", "bool", "AArch64PromoteConstant", "::", "runOnFunction", "(", "Function", "&", "F", ",", "PromotionCacheTy", "&", "PromotionCache", ")", "{", "SmallVector", "<", "UpdateRecord", ",", "64", ">", "Updates", ";", "for", "(", "Instruction", "&", "I", ":", ...
[ "runOnFunction", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "do", "the", "per-function", "processing", "of", "the", "pass", "." ]
[ "AArch64", "AArch64", "64" ]
AArch64PromoteConstant26
runOnFunction
AArch64
CPU
LLVM
18,407
159
1
[]
[ "<s>", "rtx", "frv_gen_GPsym2reg", "(", "rtx", "dest", ",", "rtx", "src", ")", "{", "tree", "gp", "=", "get_identifier", "(", "\"_gp\"", ")", ";", "rtx", "gp_sym", "=", "gen_rtx_SYMBOL_REF", "(", "Pmode", ",", "IDENTIFIER_POINTER", "(", "gp", ")", ")", "...
[ "Load", "the", "_gp", "symbol", "into", "DEST", ".", "SRC", "is", "supposed", "to", "be", "the", "FDPIC", "register", "." ]
[ "frv", "\"_gp\"" ]
frv
frv_gen_GPsym2reg
frv
VLIW
GCC
18,408
47
1
[]
[ "<s>", "Register", "TL45RegisterInfo", "::", "getFrameRegister", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "TL45Subtarget", "&", "Subtarget", "=", "MF", ".", "getSubtarget", "<", "TL45Subtarget", ">", "(", ")", ";", "const", "Targ...
[ "Debug", "information", "queries", "." ]
[ "TL45", "TL45", "TL45", "TL45", "TL45::bp", "TL45::sp" ]
TL45RegisterInfo
getFrameRegister
TL45
MPU
LLVM
18,409
54
1
[]
[ "<s>", "static", "RTX_CODE", "compare_condition", "(", "rtx_insn", "*", "insn", ")", "{", "rtx_insn", "*", "next", "=", "next_real_insn", "(", "insn", ")", ";", "if", "(", "next", "&&", "JUMP_P", "(", "next", ")", ")", "{", "rtx", "pat", "=", "PATTERN"...
[ "Returns", "the", "condition", "of", "compare", "insn", "INSN", ",", "or", "UNKNOWN", "." ]
[ "avr", "0", "0", "0" ]
avr
compare_condition
avr
MPU
GCC
18,410
89
1
[]
[ "<s>", "const", "RegisterBankInfo", "*", "M68kSubtarget", "::", "getRegBankInfo", "(", ")", "const", "{", "return", "RegBankInfo", ".", "get", "(", ")", ";", "}", "</s>" ]
[ "If", "the", "information", "for", "the", "register", "banks", "is", "available", ",", "return", "it", "." ]
[ "M68k", "M68k" ]
M68kSubtarget
getRegBankInfo
M68k
MPU
LLVM
18,411
18
1
[]
[ "<s>", "unsigned", "PPCTTIImpl", "::", "getNumberOfRegisters", "(", "unsigned", "ClassID", ")", "const", "{", "assert", "(", "ClassID", "==", "GPRRC", "||", "ClassID", "==", "FPRRC", "||", "ClassID", "==", "VRRC", "||", "ClassID", "==", "VSXRC", ")", ";", ...
[ "�", "?", "Vector", "TTI", "begin", "�", "?" ]
[ "PowerPC", "PPC", "32", "64", "32" ]
PPCTargetTransformInfo35
getNumberOfRegisters
PowerPC
CPU
LLVM
18,412
78
1
[]
[ "<s>", "bool", "HexagonGatherPacketize", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "Fn", ")", "{", "if", "(", "!", "EnableGatherPacketize", ")", "return", "false", ";", "auto", "&", "ST", "=", "Fn", ".", "getSubtarget", "<", "HexagonSubtarget", ...
[ "runOnMachineFunction", "-", "Emit", "the", "function", "body", "." ]
[ "Hexagon", "Hexagon", "Hexagon", "\"VTMP producer and consumer not in same block\"" ]
HexagonGatherPacketize1
runOnMachineFunction
Hexagon
DSP
LLVM
18,413
212
1
[]
[ "<s>", "SDValue", "XtensaTargetLowering", "::", "LowerOperation", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "SDValue", "ret", ";", "return", "ret", ";", "}", "</s>" ]
[ "LowerOperation", "-", "Provide", "custom", "lowering", "hooks", "for", "some", "operations", "." ]
[ "Xtensa", "Xtensa" ]
XtensaISelLowering1
LowerOperation
Xtensa
MPU
LLVM
18,414
21
1
[]
[ "<s>", "static", "tree", "aarch64_d_handle_target_float_abi", "(", "void", ")", "{", "const", "char", "*", "abi", "=", "\"hard\"", ";", "return", "build_string_literal", "(", "strlen", "(", "abi", ")", "+", "1", ",", "abi", ")", ";", "}", "</s>" ]
[ "Handle", "a", "call", "to", "`", "__traits", "(", "getTargetInfo", ",", "``", "floatAbi", "''", ")", "'", "." ]
[ "aarch64", "\"hard\"", "1" ]
aarch64-d
aarch64_d_handle_target_float_abi
aarch64
CPU
GCC
18,415
28
1
[]
[ "<s>", "unsigned", "X86InstrInfo", "::", "getPartialRegUpdateClearance", "(", "const", "MachineInstr", "&", "MI", ",", "unsigned", "OpNum", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "if", "(", "OpNum", "!=", "0", "||", "!", "hasPartial...
[ "Inform", "the", "BreakFalseDeps", "pass", "how", "many", "idle", "instructions", "we", "would", "like", "before", "a", "partial", "register", "update", "." ]
[ "X86", "X86", "0", "0", "0", "0", "0" ]
X86InstrInfo (2)1
getPartialRegUpdateClearance
X86
CPU
LLVM
18,416
110
1
[]
[ "<s>", "bool", "AMDGPUAsmParser", "::", "ParseDirective", "(", "AsmToken", "DirectiveID", ")", "{", "StringRef", "IDVal", "=", "DirectiveID", ".", "getString", "(", ")", ";", "if", "(", "IDVal", "==", "\".hsa_code_object_version\"", ")", "return", "ParseDirectiveH...
[ "ParseDirective", "-", "Parse", "a", "target", "specific", "assembler", "directive", "This", "method", "is", "deprecated", ",", "use", "'parseDirective", "'", "instead", "." ]
[ "AMDGPU", "AMDGPU", "\".hsa_code_object_version\"", "\".hsa_code_object_isa\"", "AMDGPU::CodeObject", "\".amd_kernel_code_t\"", "\".hsatext\"", "\".amdgpu_hsa_kernel\"", "AMDGPU", "\".amdgpu_hsa_module_global\"", "AMDGPU", "\".amdgpu_hsa_program_global\"", "AMDGPU", "\".hsadata_global_agen...
AMDGPUAsmParser22
ParseDirective
AMDGPU
GPU
LLVM
18,417
147
1
[]
[ "<s>", "static", "bool", "ft32_return_in_memory", "(", "const_tree", "type", ",", "const_tree", "fntype", "ATTRIBUTE_UNUSED", ")", "{", "const", "HOST_WIDE_INT", "size", "=", "int_size_in_bytes", "(", "type", ")", ";", "return", "(", "size", "==", "-", "1", "|...
[ "Worker", "function", "for", "TARGET_RETURN_IN_MEMORY", "." ]
[ "ft32", "1", "2" ]
ft32
ft32_return_in_memory
ft32
MPU
GCC
18,418
36
1
[]
[ "<s>", "void", "Thumb2InstrInfo", "::", "storeRegToStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "unsigned", "SrcReg", ",", "bool", "isKill", ",", "int", "FI", ",", "const", "TargetRegisterClass", "*", "R...
[ "Store", "the", "specified", "register", "of", "the", "given", "register", "class", "to", "the", "specified", "stack", "frame", "index", "." ]
[ "ARM", "ARM::GPRRegisterClass", "ARM::tGPRRegisterClass", "0", "ARM::t2STRi12", "0", "ARM" ]
Thumb2InstrInfo4
storeRegToStackSlot
ARM
CPU
LLVM
18,419
189
1
[]
[ "<s>", "const", "uint32_t", "*", "SIRegisterInfo", "::", "getCallPreservedMask", "(", "const", "MachineFunction", "&", "MF", ",", "CallingConv", "::", "ID", "CC", ")", "const", "{", "switch", "(", "CC", ")", "{", "case", "CallingConv", "::", "C", ":", "cas...
[ "Return", "a", "mask", "of", "call-preserved", "registers", "for", "the", "given", "calling", "convention", "on", "the", "current", "function", "." ]
[ "AMDGPU", "SI", "AMDGPU", "AMDGPU", "AMDGPU" ]
SIRegisterInfo1
getCallPreservedMask
AMDGPU
GPU
LLVM
18,420
69
1
[]
[ "<s>", "void", "Z80InstrInfo", "::", "storeRegToStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "unsigned", "SrcReg", ",", "bool", "isKill", ",", "int", "FrameIndex", ",", "const", "TargetRegisterClass", "*"...
[ "Store", "the", "specified", "register", "of", "the", "given", "register", "class", "to", "the", "specified", "stack", "frame", "index", "." ]
[ "Z80", "Z80", "Z80::GR8RegClass", "Z80::LD8xmr", "0", "Z80::BR16RegClass", "Z80::BR16RegClass", "Z80::LD16xmr", "0", "\"Can't store this register to stack slot\"" ]
Z80InstrInfo
storeRegToStackSlot
Z80
MPU
LLVM
18,421
165
1
[]
[ "<s>", "bool", "FixupLEAPass", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "Func", ")", "{", "if", "(", "skipFunction", "(", "Func", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "MF", "=", "&", "Func", ";", "const", "X86...
[ "runOnMachineFunction", "-", "Emit", "the", "function", "body", "." ]
[ "X86", "X86", "X86", "\"Start X86FixupLEAs\\n\"", "\"End X86FixupLEAs\\n\"" ]
X86FixupLEAs29
runOnMachineFunction
X86
CPU
LLVM
18,422
160
1
[]
[ "<s>", "static", "bool", "expand_vec_perm_interleave3", "(", "struct", "expand_vec_perm_d", "*", "d", ")", "{", "unsigned", "i", ",", "nelt", ";", "rtx", "(", "*", "gen", ")", "(", "rtx", ",", "rtx", ",", "rtx", ")", ";", "if", "(", "d", "->", "one_o...
[ "A", "subroutine", "of", "ix86_expand_vec_perm_builtin_1", ".", "Try", "to", "simplify", "a", "two", "vector", "permutation", "using", "2", "intra-lane", "interleave", "insns", "and", "cross-lane", "shuffle", "for", "32-byte", "vectors", "." ]
[ "i386", "32", "0", "0", "0", "2", "0", "2", "0", "2", "1", "0", "2", "0", "0", "0", "0", "0", "0" ]
i3864
expand_vec_perm_interleave3
i386
CPU
GCC
18,423
348
1
[]
[ "<s>", "static", "MCSymbol", "*", "GetSymbolFromOperand", "(", "const", "MachineOperand", "&", "MO", ",", "AsmPrinter", "&", "AP", ")", "{", "const", "TargetMachine", "&", "TM", "=", "AP", ".", "TM", ";", "Mangler", "*", "Mang", "=", "AP", ".", "Mang", ...
[ "Lower", "an", "MO_GlobalAddress", "or", "MO_ExternalSymbol", "operand", "to", "an", "MCSymbol", "." ]
[ "PowerPC", "128", "PPCII::MO_NLP_FLAG", "\"$non_lazy_ptr\"", "\"Isn't a symbol reference\"", "PPCII::MO_NLP_FLAG", "\"Extern symbol not handled yet\"" ]
PPCMCInstLower7
GetSymbolFromOperand
PowerPC
CPU
LLVM
18,424
265
1
[]
[ "<s>", "unsigned", "MBlazeInstrInfo", "::", "isLoadFromStackSlot", "(", "const", "MachineInstr", "*", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "if", "(", "MI", "->", "getOpcode", "(", ")", "==", "MBlaze", "::", "LWI", ")", "{", "if", "(", ...
[ "isLoadFromStackSlot", "-", "If", "the", "specified", "machine", "instruction", "is", "a", "direct", "load", "from", "a", "stack", "slot", ",", "return", "the", "virtual", "or", "physical", "register", "number", "of", "the", "destination", "along", "with", "th...
[ "MBlaze", "MBlaze", "MBlaze::LWI", "2", "1", "1", "2", "0", "0" ]
MBlazeInstrInfo
isLoadFromStackSlot
MBlaze
MPU
LLVM
18,425
101
1
[]
[ "<s>", "bool", "X86TargetLowering", "::", "mayBeEmittedAsTailCall", "(", "const", "CallInst", "*", "CI", ")", "const", "{", "if", "(", "!", "CI", "->", "isTailCall", "(", ")", ")", "return", "false", ";", "ImmutableCallSite", "CS", "(", "CI", ")", ";", "...
[ "Return", "true", "if", "the", "target", "may", "be", "able", "emit", "the", "call", "instruction", "as", "a", "tail", "call", "." ]
[ "X86", "X86" ]
X86ISelLowering130
mayBeEmittedAsTailCall
X86
CPU
LLVM
18,426
56
1
[]
[ "<s>", "bool", "ARMTargetLowering", "::", "isLegalICmpImmediate", "(", "int64_t", "Imm", ")", "const", "{", "if", "(", "!", "Subtarget", "->", "isThumb", "(", ")", ")", "return", "ARM_AM", "::", "getSOImmVal", "(", "std", "::", "abs", "(", "Imm", ")", ")...
[ "Return", "true", "if", "the", "specified", "immediate", "is", "legal", "icmp", "immediate", ",", "that", "is", "the", "target", "has", "icmp", "instructions", "which", "can", "compare", "a", "register", "against", "the", "immediate", "without", "having", "to"...
[ "ARM", "ARM", "ARM_AM::getSOImmVal", "1", "ARM_AM::getT2SOImmVal", "1", "0", "255" ]
ARMISelLowering (2)2
isLegalICmpImmediate
ARM
CPU
LLVM
18,427
69
1
[]
[ "<s>", "static", "void", "ix86_elim_entry_set_got", "(", "rtx", "reg", ")", "{", "basic_block", "bb", "=", "ENTRY_BLOCK_PTR_FOR_FN", "(", "cfun", ")", "->", "next_bb", ";", "rtx_insn", "*", "c_insn", "=", "BB_HEAD", "(", "bb", ")", ";", "if", "(", "!", "...
[ "Delete", "SET_GOT", "right", "after", "entry", "block", "if", "it", "is", "allocated", "to", "reg", "." ]
[ "i386", "0", "0", "1", "1", "0" ]
i386
ix86_elim_entry_set_got
i386
CPU
GCC
18,428
128
1
[]
[ "<s>", "bool", "AArch64FrameLowering", "::", "assignCalleeSavedSpillSlots", "(", "MachineFunction", "&", "MF", ",", "const", "TargetRegisterInfo", "*", "RegInfo", ",", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", ",", "unsigned", "&", "MinCSFram...
[ "This", "function", "will", "assign", "callee", "saved", "gprs", "to", "volatile", "vector", "registers", "for", "prologue", "spills", "when", "applicable", "." ]
[ "AArch64", "AArch64", "AArch64", "AArch64::FP", "8" ]
AArch64FrameLowering100
assignCalleeSavedSpillSlots
AArch64
CPU
LLVM
18,429
240
1
[]
[ "<s>", "static", "pad_direction", "sparc_function_arg_padding", "(", "machine_mode", "mode", ",", "const_tree", "type", ")", "{", "if", "(", "TARGET_ARCH64", "&&", "type", "&&", "AGGREGATE_TYPE_P", "(", "type", ")", ")", "return", "PAD_UPWARD", ";", "return", "d...
[ "Implement", "TARGET_FUNCTION_ARG_PADDING", ".", "For", "the", "64-bit", "ABI", "structs", "are", "always", "stored", "left", "shifted", "in", "their", "argument", "slot", "." ]
[ "sparc" ]
sparc
sparc_function_arg_padding
sparc
CPU
GCC
18,430
34
1
[]
[ "<s>", "static", "int", "interrupt_function_p", "(", "tree", "func", ")", "{", "tree", "a", ";", "if", "(", "TREE_CODE", "(", "func", ")", "!=", "FUNCTION_DECL", ")", "return", "0", ";", "a", "=", "lookup_attribute", "(", "\"interrupt\"", ",", "DECL_ATTRIB...
[ "Return", "nonzero", "if", "FUNC", "is", "an", "interrupt", "function", "as", "specified", "by", "the", "``", "interrupt", "''", "attribute", "." ]
[ "avr", "0", "\"interrupt\"" ]
avr3
interrupt_function_p
avr
MPU
GCC
18,431
41
1
[]
[ "<s>", "MachineInstr", "*", "LanaiInstrInfo", "::", "optimizeSelect", "(", "MachineInstr", "&", "MI", ",", "SmallPtrSetImpl", "<", "MachineInstr", "*", ">", "&", "SeenMIs", ",", "bool", "PreferFalse", ")", "const", "{", "assert", "(", "MI", ".", "getOpcode", ...
[ "Given", "a", "select", "instruction", "that", "was", "understood", "by", "analyzeSelect", "and", "returned", "Optimizable", "=", "true", ",", "attempt", "to", "optimize", "MI", "by", "merging", "it", "with", "one", "of", "its", "operands", "." ]
[ "Lanai", "Lanai", "Lanai::SELECT", "\"unknown select instruction\"", "1", "2", "1", "2", "0", "1", "3", "0", "1" ]
LanaiInstrInfo
optimizeSelect
Lanai
CPU
LLVM
18,432
382
1
[]
[ "<s>", "const", "RegisterBank", "&", "M88kRegisterBankInfo", "::", "getRegBankFromRegClass", "(", "const", "TargetRegisterClass", "&", "RC", ",", "LLT", "Ty", ")", "const", "{", "switch", "(", "RC", ".", "getID", "(", ")", ")", "{", "case", "M88k", "::", "...
[ "Get", "a", "register", "bank", "that", "covers", "RC", "." ]
[ "M88k", "M88k", "M88k::GPRRCRegClassID", "M88k::GPR64RCRegClassID", "M88k::GRRegBankID", "M88k::XRRCRegClassID", "M88k::XRRegBankID", "\"Unexpected register class\"" ]
M88kRegisterBankInfo
getRegBankFromRegClass
M88k
MPU
LLVM
18,433
66
1
[]
[ "<s>", "rtx", "rs6000_emit_eqne", "(", "machine_mode", "mode", ",", "rtx", "op1", ",", "rtx", "op2", ",", "rtx", "scratch", ")", "{", "if", "(", "op2", "==", "const0_rtx", ")", "return", "op1", ";", "if", "(", "GET_CODE", "(", "scratch", ")", "==", "...
[ "Emit", "RTL", "that", "sets", "a", "register", "to", "zero", "if", "OP1", "and", "OP2", "are", "equal", ".", "SCRATCH", "can", "be", "used", "as", "that", "dest", "register", ".", "Return", "the", "dest", "register", "." ]
[ "rs6000" ]
rs60004
rs6000_emit_eqne
rs6000
CPU
GCC
18,434
98
1
[]
[ "<s>", "const", "char", "*", "output_branchy_insn", "(", "enum", "rtx_code", "code", ",", "const", "char", "*", "template", ",", "rtx", "insn", ",", "rtx", "*", "operands", ")", "{", "rtx", "next_insn", "=", "NEXT_INSN", "(", "insn", ")", ";", "if", "(...
[ "Output", "a", "code", "sequence", "for", "INSN", "using", "TEMPL", "with", "OPERANDS", ";", "but", "before", ",", "fill", "in", "operands", "9", "as", "a", "label", "to", "the", "successor", "insn", ".", "We", "try", "to", "use", "jump", "threading", ...
[ "sh", "0", "9", "9", "9", "4", "252", "258", "1", "9", "9", "9", "9" ]
sh3
output_branchy_insn
sh
CPU
GCC
18,435
233
1
[]
[ "<s>", "MachineBasicBlock", "::", "iterator", "SILowerI1Copies", "::", "getSaluInsertionAtEnd", "(", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "auto", "InsertionPt", "=", "MBB", ".", "getFirstTerminator", "(", ")", ";", "bool", "TerminatorsUseSCC", "=", ...
[ "Return", "a", "point", "at", "the", "end", "of", "the", "given", "MBB", "to", "insert", "SALU", "instructions", "for", "lane", "mask", "calculation", "." ]
[ "AMDGPU", "SI", "\"SCC used by terminator but no def in block\"" ]
SILowerI1Copies1
getSaluInsertionAtEnd
AMDGPU
GPU
LLVM
18,436
123
1
[]
[ "<s>", "static", "tree", "make_resolver_func", "(", "const", "tree", "default_decl", ",", "const", "tree", "ifunc_alias_decl", ",", "basic_block", "*", "empty_bb", ")", "{", "char", "*", "resolver_name", ";", "tree", "decl", ",", "type", ",", "decl_name", ",",...
[ "Make", "the", "resolver", "function", "decl", "to", "dispatch", "the", "versions", "of", "a", "multi-", "versioned", "function", ",", "DEFAULT_DECL", ".", "Create", "an", "empty", "basic", "block", "in", "the", "resolver", "and", "store", "the", "pointer", ...
[ "i386", "0", "\"ifunc\"", "\"resolver\"", "1", "1", "1", "0", "1", "0", "0", "0", "1", "1", "1", "\"ifunc\"" ]
i3867
make_resolver_func
i386
CPU
GCC
18,437
355
1
[]
[ "<s>", "EVT", "M680x0TargetLowering", "::", "getSetCCResultType", "(", "const", "DataLayout", "&", "DL", ",", "LLVMContext", "&", "Context", ",", "EVT", "VT", ")", "const", "{", "return", "MVT", "::", "i8", ";", "}", "</s>" ]
[ "Return", "the", "value", "type", "to", "use", "for", "ISD", ":", ":SETCC", "." ]
[ "M680x0", "M680x0", "MVT::i8" ]
M680x0ISelLowering
getSetCCResultType
M680x0
MPU
LLVM
18,438
25
1
[]
[ "<s>", "MachineBasicBlock", "::", "iterator", "eliminateCallFramePseudoInstr", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ")", "const", "override", "{", "return", "MBB", ".", "erase", ...
[ "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", ")", "." ]
[ "MMIX" ]
MMIXFrameLowering
eliminateCallFramePseudoInstr
MMIX
CPU
LLVM
18,439
30
1
[]
[ "<s>", "int", "fp_sethi_p", "(", "rtx", "op", ")", "{", "if", "(", "GET_CODE", "(", "op", ")", "==", "CONST_DOUBLE", ")", "{", "REAL_VALUE_TYPE", "r", ";", "long", "i", ";", "REAL_VALUE_FROM_CONST_DOUBLE", "(", "r", ",", "op", ")", ";", "REAL_VALUE_TO_TA...
[ "Nonzero", "if", "OP", "is", "a", "floating", "point", "constant", "which", "can", "be", "loaded", "into", "an", "integer", "register", "using", "a", "single", "sethi", "instruction", "." ]
[ "sparc", "0" ]
sparc3
fp_sethi_p
sparc
CPU
GCC
18,440
54
1
[]
[ "<s>", "void", "X86AsmPrinter", "::", "emitStartOfAsmFile", "(", "Module", "&", "M", ")", "{", "const", "Triple", "&", "TT", "=", "TM", ".", "getTargetTriple", "(", ")", ";", "if", "(", "TT", ".", "isOSBinFormatELF", "(", ")", ")", "{", "unsigned", "Fe...
[ "This", "virtual", "method", "can", "be", "overridden", "by", "targets", "that", "want", "to", "emit", "something", "at", "the", "start", "of", "their", "file", "." ]
[ "X86", "X86", "0", "\"cf-protection-branch\"", "X86", "\"cf-protection-return\"", "X86", "\"CFProtection used on invalid architecture!\"", "\".note.gnu.property\"", "8", "4", "4", "4", "8", "4", "4", "8", "4", "4", "\"GNU\"", "4", "X86", "4", "4", "4", "8", "\"@fe...
X86AsmPrinter10
emitStartOfAsmFile
X86
CPU
LLVM
18,441
446
1
[]
[ "<s>", "ScheduleHazardRecognizer", "*", "PPCInstrInfo", "::", "CreateTargetHazardRecognizer", "(", "const", "TargetMachine", "*", "TM", ",", "const", "ScheduleDAG", "*", "DAG", ")", "const", "{", "unsigned", "Directive", "=", "TM", "->", "getSubtarget", "<", "PPCS...
[ "Allocate", "and", "return", "a", "hazard", "recognizer", "to", "use", "for", "this", "target", "when", "scheduling", "the", "machine", "instructions", "before", "register", "allocation", "." ]
[ "PowerPC", "PPC", "PPC", "PPC::DIR_440", "PPC::DIR_A2", "PPC" ]
PPCInstrInfo45
CreateTargetHazardRecognizer
PowerPC
CPU
LLVM
18,442
81
1
[]
[ "<s>", "static", "bool", "bfin_can_use_doloop_p", "(", "const", "widest_int", "&", ",", "const", "widest_int", "&", "iterations_max", ",", "unsigned", "int", ",", "bool", ")", "{", "return", "(", "wi", "::", "ltu_p", "(", "iterations_max", ",", "0xFFFFFFFF", ...
[ "Implement", "TARGET_CAN_USE_DOLOOP_P", "." ]
[ "bfin", "0xFFFFFFFF" ]
bfin
bfin_can_use_doloop_p
bfin
DSP
GCC
18,443
32
1
[]
[ "<s>", "static", "void", "pro_epilogue_adjust_stack", "(", "rtx", "dest", ",", "rtx", "src", ",", "rtx", "offset", ",", "int", "style", ")", "{", "rtx", "insn", ";", "if", "(", "!", "TARGET_64BIT", ")", "insn", "=", "emit_insn", "(", "gen_pro_epilogue_adju...
[ "Expand", "prologue", "or", "epilogue", "stack", "adjustment", ".", "The", "pattern", "exist", "to", "put", "a", "dependency", "on", "all", "ebp-based", "memory", "accesses", ".", "STYLE", "should", "be", "negative", "if", "instructions", "should", "be", "mark...
[ "i386", "3", "0", "1", "0", "1" ]
i3863
pro_epilogue_adjust_stack
i386
CPU
GCC
18,444
142
1
[]
[ "<s>", "void", "aarch64_post_cfi_startproc", "(", "FILE", "*", "f", ",", "tree", "ignored", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "cfun", "->", "machine", "->", "frame", ".", "laid_out", "&&", "aarch64_return_address_signing_enabled", "(", ")", "&&", "aarch64...
[ "Triggered", "after", "a", ".cfi_startproc", "directive", "is", "emitted", "into", "the", "assembly", "file", ".", "Used", "to", "output", "the", ".cfi_b_key_frame", "directive", "when", "signing", "the", "current", "function", "with", "the", "B", "key", "." ]
[ "aarch64", "\"\\t.cfi_b_key_frame\\n\"" ]
aarch64
aarch64_post_cfi_startproc
aarch64
CPU
GCC
18,445
38
1
[]
[ "<s>", "static", "void", "mips16_fp_args", "(", "FILE", "*", "file", ",", "int", "fp_code", ",", "int", "from_fp_p", ")", "{", "const", "char", "*", "s", ";", "int", "gparg", ",", "fparg", ";", "unsigned", "int", "f", ";", "gcc_assert", "(", "TARGET_OL...
[ "Write", "out", "code", "to", "move", "floating", "point", "arguments", "in", "or", "out", "of", "general", "registers", ".", "Output", "the", "instructions", "to", "FILE", ".", "FP_CODE", "is", "the", "code", "describing", "which", "arguments", "are", "pres...
[ "mips", "\"mfc1\"", "\"mtc1\"", "0", "2", "3", "1", "1", "0", "\"\\t%s\\t%s,%s\\n\"", "3", "2", "\"\\td%s\\t%s,%s\\n\"", "1", "0", "\"\\t%s\\t%s,%s\\n\\t%s\\t%s,%s\\n\"", "1", "1", "\"\\t%s\\t%s,%s\\n\\t%s\\t%s,%s\\n\"", "1", "1" ]
mips3
mips16_fp_args
mips
CPU
GCC
18,446
264
1
[]
[ "<s>", "unsigned", "SystemZRegisterInfo", "::", "eliminateFrameIndex", "(", "MachineBasicBlock", "::", "iterator", "II", ",", "int", "SPAdj", ",", "FrameIndexValue", "*", "Value", ",", "RegScavenger", "*", "RS", ")", "const", "{", "assert", "(", "SPAdj", "==", ...
[ "This", "method", "must", "be", "overriden", "to", "eliminate", "abstract", "frame", "indices", "from", "instructions", "which", "may", "use", "them", "." ]
[ "SystemZ", "SystemZ", "0", "\"Unxpected\"", "0", "\"Instr doesn't have FrameIndex operand!\"", "SystemZ::R11D", "SystemZ::R15D", "1", "1", "0" ]
SystemZRegisterInfo2
eliminateFrameIndex
SystemZ
CPU
LLVM
18,447
196
1
[]
[ "<s>", "bool", "AArch64PreLegalizerCombiner", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "MF", ".", "getProperties", "(", ")", ".", "hasProperty", "(", "MachineFunctionProperties", "::", "Property", "::", "FailedISel", ")...
[ "runOnMachineFunction", "-", "Emit", "the", "function", "body", "." ]
[ "AArch64", "AArch64", "AArch64" ]
AArch64PreLegalizerCombiner24
runOnMachineFunction
AArch64
CPU
LLVM
18,448
62
1
[]
[ "<s>", "static", "bool", "sh_legitimate_combined_insn", "(", "rtx_insn", "*", "insn", ")", "{", "rtx", "p", "=", "PATTERN", "(", "insn", ")", ";", "if", "(", "GET_CODE", "(", "p", ")", "==", "SET", "&&", "REG_P", "(", "XEXP", "(", "p", ",", "0", ")...
[ "This", "function", "implements", "the", "legitimate_combined_insn", "target", "hook", ",", "which", "the", "combine", "pass", "uses", "to", "early", "reject", "combined", "insns", ",", "before", "it", "tries", "to", "recog", "the", "insn", "and", "determine", ...
[ "sh", "0", "0", "1", "1", "0" ]
sh
sh_legitimate_combined_insn
sh
CPU
GCC
18,449
82
1
[]
[ "<s>", "void", "X86IntelInstPrinter", "::", "printInst", "(", "const", "MCInst", "*", "MI", ",", "raw_ostream", "&", "OS", ",", "StringRef", "Annot", ")", "{", "printInstruction", "(", "MI", ",", "OS", ")", ";", "printAnnotation", "(", "OS", ",", "Annot", ...
[ "Print", "the", "specified", "MCInst", "to", "the", "specified", "raw_ostream", "." ]
[ "X86", "X86", "X86" ]
X86IntelInstPrinter27
printInst
X86
CPU
LLVM
18,450
47
1
[]
[ "<s>", "static", "bool", "get_memref_parts", "(", "rtx", "mem", ",", "rtx", "*", "base", ",", "HOST_WIDE_INT", "*", "offset", ",", "HOST_WIDE_INT", "*", "size", ")", "{", "rtx", "addr_rtx", ";", "if", "(", "MEM_SIZE_KNOWN_P", "(", "mem", ")", ")", "*", ...
[ "Try", "to", "determine", "base/offset/size", "parts", "of", "the", "given", "MEM", ".", "Return", "true", "if", "successful", ",", "false", "if", "all", "the", "values", "could", "n't", "be", "determined", ".", "This", "function", "only", "looks", "for", ...
[ "rs6000", "0", "1", "0", "1", "1", "0" ]
rs60001
get_memref_parts
rs6000
CPU
GCC
18,451
139
1
[]
[ "<s>", "void", "Initialize", "(", "const", "MachineFunction", "&", "MF", ",", "bool", "isPIC", ")", "{", "const", "ARMFunctionInfo", "*", "AFI", "=", "MF", ".", "getInfo", "<", "ARMFunctionInfo", ">", "(", ")", ";", "ConstPoolId2AddrMap", ".", "resize", "(...
[ "This", "method", "must", "be", "called", "before", "any", "actual", "lowering", "is", "done", "." ]
[ "ARM", "ARM", "ARM" ]
ARMJITInfo4
Initialize
ARM
CPU
LLVM
18,452
53
1
[]
[ "<s>", "bool", "isToken", "(", ")", "const", "override", "{", "return", "Kind", "==", "k_Token", ";", "}", "</s>" ]
[ "isToken", "-", "Is", "this", "a", "token", "operand", "?" ]
[ "Mips" ]
MipsAsmParser (2)4
isToken
Mips
CPU
LLVM
18,453
13
1
[]
[ "<s>", "bool", "HexagonSplitDoubleRegs", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "skipFunction", "(", "MF", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "...
[ "runOnMachineFunction", "-", "Emit", "the", "function", "body", "." ]
[ "Hexagon", "Hexagon", "\"Splitting double registers in function: \"", "Hexagon", "\"Register partitioning: (partition #0 is fixed)\\n\"", "\" -> \"", "0", "0", "\"Calculating profit for partition #\"" ]
HexagonSplitDouble1
runOnMachineFunction
Hexagon
DSP
LLVM
18,454
290
1
[]
[ "<s>", "void", "FISCMCCodeEmitter", "::", "encodeInstruction", "(", "const", "MCInst", "&", "MI", ",", "raw_ostream", "&", "OS", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "{", "cons...
[ "Encode", "the", "given", "Inst", "to", "bytes", "and", "append", "to", "CB", "." ]
[ "FISC", "FISC", "4", "\"Unexpected instruction size!\"" ]
FISCMCCodeEmitter
encodeInstruction
FISC
CPU
LLVM
18,455
91
1
[]
[ "<s>", "bool", "M68kFrameLowering", "::", "hasReservedCallFrame", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "return", "!", "MF", ".", "getFrameInfo", "(", ")", ".", "hasVarSizedObjects", "(", ")", "&&", "!", "MF", ".", "getInfo", "<", ...
[ "hasReservedCallFrame", "-", "Under", "normal", "circumstances", ",", "when", "a", "frame", "pointer", "is", "not", "required", ",", "we", "reserve", "argument", "space", "for", "call", "sites", "in", "the", "function", "immediately", "on", "entry", "to", "the...
[ "M68k", "M68k", "M68k" ]
M68kFrameLowering
hasReservedCallFrame
M68k
MPU
LLVM
18,456
39
1
[]
[ "<s>", "int", "registers_ok_for_quad_peep", "(", "rtx", "reg1", ",", "rtx", "reg2", ")", "{", "if", "(", "!", "REG_P", "(", "reg1", ")", "||", "!", "REG_P", "(", "reg2", ")", ")", "return", "0", ";", "if", "(", "!", "FP_REGNO_P", "(", "REGNO", "(",...
[ "Return", "1", "if", "REGNO", "(", "reg1", ")", "==", "REGNO", "(", "reg2", ")", "-", "1", "making", "them", "candidates", "for", "lfq", "and", "stfq", "insns", ".", "Note", "reg1", "and", "reg2", "*", "must", "*", "be", "hard", "registers", ".", "...
[ "rs6000", "0", "0", "1" ]
rs6000
registers_ok_for_quad_peep
rs6000
CPU
GCC
18,457
66
1
[]
[ "<s>", "bool", "Thumb1FrameLowering", "::", "restoreCalleeSavedRegisters", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "const", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", ",", "const", "TargetRe...
[ "restoreCalleeSavedRegisters", "-", "Issues", "instruction", "(", "s", ")", "to", "restore", "all", "callee", "saved", "registers", "and", "returns", "true", "if", "it", "is", "n't", "possible", "/", "profitable", "to", "do", "so", "by", "issuing", "a", "ser...
[ "ARM", "ARM", "ARM", "0", "ARM::tPOP", "0", "1", "ARM::LR", "ARM::PC", "ARM::tPOP_RET" ]
Thumb1FrameLowering (2)
restoreCalleeSavedRegisters
ARM
CPU
LLVM
18,458
300
1
[]
[ "<s>", "const", "MINA32Subtarget", "*", "MINA32TargetMachine", "::", "getSubtargetImpl", "(", "const", "Function", "&", ")", "const", "{", "return", "&", "SubTarget", ";", "}", "</s>" ]
[ "Virtual", "method", "implemented", "by", "subclasses", "that", "returns", "a", "reference", "to", "that", "target", "'s", "TargetSubtargetInfo-derived", "member", "variable", "." ]
[ "MINA32", "MINA32", "MINA32" ]
MINA32TargetMachine
getSubtargetImpl
MINA32
CPU
LLVM
18,459
18
1
[]
[ "<s>", "static", "unsigned", "int", "c6x_function_arg_round_boundary", "(", "machine_mode", "mode", ",", "const_tree", "type", ")", "{", "return", "c6x_function_arg_boundary", "(", "mode", ",", "type", ")", ";", "}", "</s>" ]
[ "Implement", "TARGET_FUNCTION_ARG_ROUND_BOUNDARY", "." ]
[ "c6x" ]
c6x
c6x_function_arg_round_boundary
c6x
VLIW
GCC
18,460
21
1
[]
[ "<s>", "unsigned", "Cpu0AsmParser", "::", "getReg", "(", "int", "RC", ",", "int", "RegNo", ")", "{", "return", "*", "(", "getContext", "(", ")", ".", "getRegisterInfo", "(", ")", "->", "getRegClass", "(", "RC", ")", ".", "begin", "(", ")", "+", "RegN...
[ "Returns", "the", "register", "associated", "with", "this", "edge", "." ]
[ "Cpu0", "Cpu0" ]
Cpu0AsmParser
getReg
Cpu0
CPU
LLVM
18,461
36
1
[]
[ "<s>", "static", "rtx", "gen_pop", "(", "rtx", "arg", ")", "{", "if", "(", "REG_P", "(", "arg", ")", "&&", "GET_MODE", "(", "arg", ")", "!=", "word_mode", ")", "arg", "=", "gen_rtx_REG", "(", "word_mode", ",", "REGNO", "(", "arg", ")", ")", ";", ...
[ "Generate", "an", "``", "pop", "''", "pattern", "for", "input", "ARG", "." ]
[ "i386" ]
i3865
gen_pop
i386
CPU
GCC
18,462
53
1
[]
[ "<s>", "void", "GBZ80FrameLowering", "::", "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", ")", "." ]
[ "GBZ80", "GB", "\"Cannot handle this call frame pseudo instruction\"", "GBZ80::ADJCALLSTACKDOWN", "GBZ80::ADJCALLSTACKUP" ]
GBZ80FrameLowering (2)
eliminateCallFramePseudoInstr
GBZ80
MPU
LLVM
18,463
64
1
[]
[ "<s>", "rtx", "rs6000_find_base_term", "(", "rtx", "op", ")", "{", "rtx", "base", ";", "base", "=", "op", ";", "if", "(", "GET_CODE", "(", "base", ")", "==", "CONST", ")", "base", "=", "XEXP", "(", "base", ",", "0", ")", ";", "if", "(", "GET_CODE...
[ "Implement", "FIND_BASE_TERM", "." ]
[ "rs6000", "0", "0", "1", "0", "0" ]
rs6000
rs6000_find_base_term
rs6000
CPU
GCC
18,464
90
1
[]
[ "<s>", "int", "AArch64LoadStoreOpt", "::", "getMemSize", "(", "MachineInstr", "*", "MemMI", ")", "{", "switch", "(", "MemMI", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Opcode has unknown size!\"", ")", ";", "case", "AAr...
[ "Returns", "the", "size", "in", "bytes", "of", "the", "memory", "access", "." ]
[ "AArch64", "AArch64", "\"Opcode has unknown size!\"", "AArch64::STRSui", "AArch64::STURSi", "4", "AArch64::STRDui", "AArch64::STURDi", "8", "AArch64::STRQui", "AArch64::STURQi", "16", "AArch64::STRWui", "AArch64::STURWi", "4", "AArch64::STRXui", "AArch64::STURXi", "8", "AArch64::...
AArch64LoadStoreOptimizer41
getMemSize
AArch64
CPU
LLVM
18,465
158
1
[]
[ "<s>", "static", "bool", "xtensa_output_addr_const_extra", "(", "FILE", "*", "fp", ",", "rtx", "x", ")", "{", "if", "(", "GET_CODE", "(", "x", ")", "==", "UNSPEC", "&&", "XVECLEN", "(", "x", ",", "0", ")", "==", "1", ")", "{", "switch", "(", "XINT"...
[ "Implement", "TARGET_ASM_OUTPUT_ADDR_CONST_EXTRA", "." ]
[ "xtensa", "0", "1", "1", "0", "0", "\"@TPOFF\"", "0", "0", "\"@DTPOFF\"", "0", "0", "\"@PLT\"" ]
xtensa
xtensa_output_addr_const_extra
xtensa
MPU
GCC
18,466
140
1
[]
[ "<s>", "const", "char", "*", "getPassName", "(", ")", "const", "override", "{", "return", "\"WebAssembly Register Numbering\"", ";", "}", "</s>" ]
[ "getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "." ]
[ "WebAssembly", "\"WebAssembly Register Numbering\"" ]
WebAssemblyRegNumbering (2)
getPassName
WebAssembly
Virtual ISA
LLVM
18,467
13
1
[]
[ "<s>", "static", "const", "char", "*", "arm_identify_fpu_from_isa", "(", "sbitmap", "isa", ")", "{", "auto_sbitmap", "fpubits", "(", "isa_num_bits", ")", ";", "auto_sbitmap", "cand_fpubits", "(", "isa_num_bits", ")", ";", "bitmap_and", "(", "fpubits", ",", "isa"...
[ "Match", "an", "ISA", "feature", "bitmap", "to", "a", "named", "FPU", ".", "We", "always", "use", "the", "first", "entry", "that", "exactly", "matches", "the", "feature", "set", ",", "so", "that", "we", "effectively", "canonicalize", "the", "FPU", "name", ...
[ "arm", "\"softvfp\"", "0" ]
arm7
arm_identify_fpu_from_isa
arm
CPU
GCC
18,468
92
1
[]
[ "<s>", "SDNode", "*", "MipsDAGToDAGISel", "::", "Select", "(", "SDNode", "*", "Node", ")", "{", "unsigned", "Opcode", "=", "Node", "->", "getOpcode", "(", ")", ";", "DEBUG", "(", "errs", "(", ")", "<<", "\"Selecting: \"", ";", "Node", "->", "dump", "("...
[ "Main", "hook", "for", "targets", "to", "transform", "nodes", "into", "machine", "nodes", "." ]
[ "Mips", "Mips", "\"Selecting: \"", "\"\\n\"", "\"== \"", "\"\\n\"", "1", "ISD::GLOBAL_OFFSET_TABLE", "ISD::LOAD", "ISD::STORE", "8", "\"Unexpected unaligned loads/stores.\"", "\"=> \"", "\"\\n\"" ]
MipsISelDAGToDAG33
Select
Mips
CPU
LLVM
18,469
241
1
[]
[ "<s>", "static", "void", "alpha_expand_unaligned_load_words", "(", "rtx", "*", "out_regs", ",", "rtx", "smem", ",", "HOST_WIDE_INT", "words", ",", "HOST_WIDE_INT", "ofs", ")", "{", "rtx", "const", "im8", "=", "GEN_INT", "(", "-", "8", ")", ";", "rtx", "ext...
[ "Load", "an", "integral", "number", "of", "consecutive", "unaligned", "quadwords", "." ]
[ "alpha", "8", "1", "0", "0", "0", "0", "8", "0", "8", "1", "0", "7", "1", "0", "1", "0", "1" ]
alpha
alpha_expand_unaligned_load_words
alpha
MPU
GCC
18,470
411
1
[]
[ "<s>", "static", "void", "gr5_hazard_avoidance", "(", "void", ")", "{", "unsigned", "int", "last_reg", "=", "0", ";", "bool", "last_insn_call", "=", "false", ";", "rtx_insn", "*", "insn", ";", "for", "(", "insn", "=", "get_insns", "(", ")", ";", "insn", ...
[ "Go", "through", "the", "instruction", "stream", "and", "insert", "nops", "where", "necessary", "to", "avoid", "pipeline", "hazards", ".", "There", "are", "two", "cases", ":", "1", ".", "On", "the", "original", "architecture", ",", "it", "is", "invalid", "...
[ "visium", "0", "0", "0", "0", "0", "0" ]
visium
gr5_hazard_avoidance
visium
Virtual ISA
GCC
18,471
158
1
[]
[ "<s>", "PPCTargetLowering", "::", "ConstraintType", "PPCTargetLowering", "::", "getConstraintType", "(", "const", "std", "::", "string", "&", "Constraint", ")", "const", "{", "if", "(", "Constraint", ".", "size", "(", ")", "==", "1", ")", "{", "switch", "(",...
[ "Given", "a", "constraint", "letter", ",", "return", "the", "type", "of", "constraint", "for", "this", "target", "." ]
[ "PowerPC", "PPC", "PPC", "1", "0" ]
PPCISelLowering (2)1
getConstraintType
PowerPC
CPU
LLVM
18,472
74
1
[]
[ "<s>", "bool", "AMDGPUAsmParser", "::", "ParseDirective", "(", "AsmToken", "DirectiveID", ")", "{", "StringRef", "IDVal", "=", "DirectiveID", ".", "getString", "(", ")", ";", "if", "(", "AMDGPU", "::", "IsaInfo", "::", "hasCodeObjectV3", "(", "&", "getSTI", ...
[ "ParseDirective", "-", "Parse", "a", "target", "specific", "assembler", "directive", "This", "method", "is", "deprecated", ",", "use", "'parseDirective", "'", "instead", "." ]
[ "AMDGPU", "AMDGPU", "AMDGPU::IsaInfo", "\".amdgcn_target\"", "\".amdhsa_kernel\"", "AMDGPU::HSAMD", "\".hsa_code_object_version\"", "\".hsa_code_object_isa\"", "\".amd_kernel_code_t\"", "\".amdgpu_hsa_kernel\"", "AMDGPU", "\".amd_amdgpu_isa\"", "AMDGPU::HSAMD" ]
AMDGPUAsmParser57
ParseDirective
AMDGPU
GPU
LLVM
18,473
176
1
[]
[ "<s>", "void", "AVRMCInstLower", "::", "lowerInstruction", "(", "const", "MachineInstr", "&", "MI", ",", "MCInst", "&", "OutMI", ")", "const", "{", "OutMI", ".", "setOpcode", "(", "MI", ".", "getOpcode", "(", ")", ")", ";", "for", "(", "MachineOperand", ...
[ "Lowers", "a", "MachineInstr", "into", "a", "MCInst", "." ]
[ "AVR", "AVR", "\"unknown operand type\"" ]
AVRMCInstLower
lowerInstruction
AVR
MPU
LLVM
18,474
292
1
[]
[ "<s>", "CountValue", "*", "HexagonHardwareLoops", "::", "getTripCount", "(", "MachineLoop", "*", "L", ")", "const", "{", "const", "MachineInstr", "*", "IV_Inst", "=", "getCanonicalInductionVariable", "(", "L", ")", ";", "if", "(", "IV_Inst", "==", "0", ")", ...
[ "The", "trip", "count", "of", "the", "original", "loop", "." ]
[ "Hexagon", "Hexagon", "0", "0", "2", "1", "3", "3", "1", "2", "\"IV Cmp Operand should be 0\"", "\"IV definition should occurs in loop\"", "2", "0", "1", "1", "0", "0", "\"Expecting register for init value\"", "Hexagon::TFRI", "1", "0", "0", "0" ]
HexagonHardwareLoops20
getTripCount
Hexagon
DSP
LLVM
18,475
383
1
[]
[ "<s>", "void", "MipsInstPrinter", "::", "printInst", "(", "const", "MCInst", "*", "MI", ",", "raw_ostream", "&", "O", ",", "StringRef", "Annot", ")", "{", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case",...
[ "Print", "the", "specified", "MCInst", "to", "the", "specified", "raw_ostream", "." ]
[ "Mips", "Mips", "Mips::RDHWR", "Mips::RDHWR64", "\"\\t.set\\tpush\\n\"", "\"\\t.set\\tmips32r2\\n\"", "Mips::RDHWR", "Mips::RDHWR64", "\"\\n\\t.set\\tpop\"" ]
MipsInstPrinter14
printInst
Mips
CPU
LLVM
18,476
93
1
[]
[ "<s>", "MachineInstr", "*", "X86InstrInfo", "::", "foldMemoryOperandImpl", "(", "MachineFunction", "&", "MF", ",", "MachineInstr", "*", "MI", ",", "const", "SmallVectorImpl", "<", "unsigned", ">", "&", "Ops", ",", "MachineInstr", "*", "LoadMI", ")", "const", "...
[ "foldMemoryOperand", "-", "Same", "as", "the", "previous", "version", "except", "it", "allows", "folding", "of", "any", "load", "and", "store", "from", "/", "to", "any", "address", ",", "not", "just", "from", "a", "specific", "stack", "slot", "." ]
[ "X86", "X86", "0", "X86::V_SET0", "X86::V_SETALLONES", "16", "2", "0", "0", "1", "1", "0", "X86::TEST8rr", "X86::CMP8ri", "X86::TEST16rr", "X86::CMP16ri", "X86::TEST32rr", "X86::CMP32ri", "X86::TEST64rr", "X86::CMP64ri32", "1", "0", "1", "X86", "X86::V_SET0", "X86::...
X86InstrInfo108
foldMemoryOperandImpl
X86
CPU
LLVM
18,477
505
1
[]
[ "<s>", "void", "PIC16InstrInfo", "::", "loadRegFromStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "unsigned", "DestReg", ",", "int", "FI", ",", "const", "TargetRegisterClass", "*", "RC", ")", "const", "{",...
[ "Load", "the", "specified", "register", "of", "the", "given", "register", "class", "from", "the", "specified", "stack", "frame", "index", "." ]
[ "PIC16", "PIC16", "6", "\"%s.tmp\"", "PIC16::GPRRegisterClass", "PIC16::movf", "1", "PIC16::FSR16RegisterClass", "0", "\"Don't know yet how to load an FSR16 from stack slot\"", "0", "\"Can't load this register from stack slot\"" ]
PIC16InstrInfo5
loadRegFromStackSlot
PIC16
MPU
LLVM
18,478
181
1
[]
[ "<s>", "static", "void", "nds32_emit_adjust_frame", "(", "rtx", "to_reg", ",", "rtx", "from_reg", ",", "int", "adjust_value", ")", "{", "rtx", "tmp_reg", ";", "rtx", "frame_adjust_insn", ";", "rtx", "adjust_value_rtx", "=", "GEN_INT", "(", "adjust_value", ")", ...
[ "Function", "that", "may", "creates", "more", "instructions", "for", "large", "value", "on", "adjusting", "stack", "pointer", ".", "In", "nds32", "target", ",", "'addi", "'", "can", "be", "used", "for", "stack", "pointer", "adjustment", "in", "prologue/epilogu...
[ "nds32", "0", "1" ]
nds32
nds32_emit_adjust_frame
nds32
CPU
GCC
18,479
144
1
[]
[ "<s>", "bool", "HexagonSubtarget", "::", "useAA", "(", ")", "const", "{", "if", "(", "OptLevel", "!=", "CodeGenOpt", "::", "None", ")", "return", "true", ";", "return", "false", ";", "}", "</s>" ]
[ "Enable", "use", "of", "alias", "analysis", "during", "code", "generation", "(", "during", "MI", "scheduling", ",", "DAGCombine", ",", "etc", ".", ")", "." ]
[ "Hexagon", "Hexagon" ]
HexagonSubtarget (2)1
useAA
Hexagon
DSP
LLVM
18,480
23
1
[]
[ "<s>", "ARMSubtarget", "::", "ARMSubtarget", "(", "const", "std", "::", "string", "&", "TT", ",", "const", "std", "::", "string", "&", "CPU", ",", "const", "std", "::", "string", "&", "FS", ")", ":", "ARMGenSubtargetInfo", "(", "TT", ",", "CPU", ",", ...
[ "This", "constructor", "initializes", "the", "data", "members", "to", "match", "that", "of", "the", "specified", "triple", "." ]
[ "ARM", "ARM", "ARM", "ARM", "ARM", "ARM", "ARM", "4", "ARM", "\"generic\"", "ARM", "ARM", "\",\"", "\"eabi\"", "ARM", "8", "5", "0" ]
ARMSubtarget36
ARMSubtarget
ARM
CPU
LLVM
18,481
465
1
[]
[ "<s>", "unsigned", "PatmosInstrInfo", "::", "isStoreToStackSlot", "(", "const", "MachineInstr", "&", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "Patmos", "::", "SWC", "||", "MI", ".", "getOp...
[ "isStoreToStackSlot", "-", "If", "the", "specified", "machine", "instruction", "is", "a", "direct", "store", "to", "a", "stack", "slot", ",", "return", "the", "virtual", "or", "physical", "register", "number", "of", "the", "source", "reg", "along", "with", "...
[ "Patmos", "Patmos", "Patmos::SWC", "Patmos::SHC", "Patmos::SBC", "2", "3", "3", "0", "2", "4", "0" ]
PatmosInstrInfo1
isStoreToStackSlot
Patmos
VLIW
LLVM
18,482
118
1
[]
[ "<s>", "static", "int", "mips_move_to_gpr_cost", "(", "reg_class_t", "from", ")", "{", "switch", "(", "from", ")", "{", "case", "M16_REGS", ":", "case", "GENERAL_REGS", ":", "return", "2", ";", "case", "ACC_REGS", ":", "return", "6", ";", "case", "FP_REGS"...
[ "Return", "the", "cost", "of", "moving", "a", "value", "from", "a", "register", "of", "class", "FROM", "to", "a", "GPR", ".", "Return", "0", "for", "classes", "that", "are", "unions", "of", "other", "classes", "handled", "by", "this", "function", "." ]
[ "mips", "2", "6", "4", "5", "0" ]
mips
mips_move_to_gpr_cost
mips
CPU
GCC
18,483
53
1
[]
[ "<s>", "static", "enum", "internal_test", "map_test_to_internal_test", "(", "enum", "rtx_code", "test_code", ")", "{", "enum", "internal_test", "test", "=", "ITEST_MAX", ";", "switch", "(", "test_code", ")", "{", "default", ":", "break", ";", "case", "EQ", ":"...
[ "Make", "normal", "rtx_code", "into", "something", "we", "can", "index", "from", "an", "array" ]
[ "xtensa" ]
xtensa
map_test_to_internal_test
xtensa
MPU
GCC
18,484
120
1
[]
[ "<s>", "bool", "X86TargetLowering", "::", "isFMAFasterThanFMulAndFAdd", "(", "const", "MachineFunction", "&", "MF", ",", "EVT", "VT", ")", "const", "{", "if", "(", "!", "Subtarget", ".", "hasAnyFMA", "(", ")", ")", "return", "false", ";", "VT", "=", "VT", ...
[ "Return", "true", "if", "an", "FMA", "operation", "is", "faster", "than", "a", "pair", "of", "fmul", "and", "fadd", "instructions", "." ]
[ "X86", "X86", "MVT::f16", "MVT::f32", "MVT::f64" ]
X86ISelLowering (2)5
isFMAFasterThanFMulAndFAdd
X86
CPU
LLVM
18,485
92
1
[]
[ "<s>", "int", "arc_output_addsi", "(", "rtx", "*", "operands", ",", "bool", "cond_p", ",", "bool", "output_p", ")", "{", "char", "format", "[", "35", "]", ";", "int", "match", "=", "operands_match_p", "(", "operands", "[", "0", "]", ",", "operands", "[...
[ "Emit", "code", "for", "an", "addsi3", "instruction", "with", "OPERANDS", ".", "COND_P", "indicates", "if", "this", "will", "use", "conditional", "execution", ".", "Return", "the", "length", "of", "the", "instruction", ".", "If", "OUTPUT_P", "is", "false", "...
[ "arc", "35", "0", "1", "0", "2", "2", "1", "2", "2", "0xbadc057", "0", "1", "0" ]
arc6
arc_output_addsi
arc
MPU
GCC
18,486
143
1
[]
[ "<s>", "static", "section", "*", "rs6000_xcoff_select_rtx_section", "(", "machine_mode", "mode", ",", "rtx", "x", ",", "unsigned", "HOST_WIDE_INT", "align", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "ASM_OUTPUT_SPECIAL_POOL_ENTRY_P", "(", "x", ",", "mode", ")", ")"...
[ "Select", "section", "for", "constant", "in", "constant", "pool", ".", "On", "RS/6000", ",", "all", "constants", "are", "in", "the", "private", "read-only", "data", "area", ".", "However", ",", "if", "this", "is", "being", "placed", "in", "the", "TOC", "...
[ "powerpcspe" ]
powerpcspe
rs6000_xcoff_select_rtx_section
powerpcspe
CPU
GCC
18,487
34
1
[]
[ "<s>", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", "\"Patmos Single-Path Info\"", ";", "}", "</s>" ]
[ "getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "." ]
[ "Patmos", "\"Patmos Single-Path Info\"" ]
PatmosSinglePathInfo
getPassName
Patmos
VLIW
LLVM
18,488
13
1
[]
[ "<s>", "static", "bool", "expand_vec_perm_movs", "(", "struct", "expand_vec_perm_d", "*", "d", ")", "{", "machine_mode", "vmode", "=", "d", "->", "vmode", ";", "unsigned", "i", ",", "nelt", "=", "d", "->", "nelt", ";", "rtx", "x", ";", "if", "(", "d", ...
[ "A", "subroutine", "of", "ix86_expand_vec_perm_builtin_1", ".", "Try", "to", "implement", "D", "using", "movss", "or", "movsd", "." ]
[ "i386", "0", "0", "0", "1", "0", "0", "1", "1" ]
i386-expand1
expand_vec_perm_movs
i386
CPU
GCC
18,489
224
1
[]
[ "<s>", "ScheduleDAGInstrs", "*", "createPostMachineScheduler", "(", "MachineSchedContext", "*", "C", ")", "const", "override", "{", "const", "AArch64Subtarget", "&", "ST", "=", "C", "->", "MF", "->", "getSubtarget", "<", "AArch64Subtarget", ">", "(", ")", ";", ...
[ "Similar", "to", "createMachineScheduler", "but", "used", "when", "postRA", "machine", "scheduling", "is", "enabled", "." ]
[ "AArch64", "AArch64", "AArch64", "AArch64", "AArch64" ]
AArch64TargetMachine41
createPostMachineScheduler
AArch64
CPU
LLVM
18,490
75
1
[]
[ "<s>", "void", "Mips16InstrInfo", "::", "adjustStackPtr", "(", "unsigned", "SP", ",", "int64_t", "Amount", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ")", "const", "{", "DebugLoc", "DL", "=", "I", "!=", "MBB", ".",...
[ "Adjust", "SP", "by", "Amount", "bytes", "." ]
[ "Mips", "Mips", "16", "Mips::AddiuSpImmX16" ]
Mips16InstrInfo21
adjustStackPtr
Mips
CPU
LLVM
18,491
87
1
[]
[ "<s>", "bool", "X86TargetLowering", "::", "lowerInterleavedLoad", "(", "LoadInst", "*", "LI", ",", "ArrayRef", "<", "ShuffleVectorInst", "*", ">", "Shuffles", ",", "ArrayRef", "<", "unsigned", ">", "Indices", ",", "unsigned", "Factor", ")", "const", "{", "asse...
[ "Lower", "interleaved", "load", "(", "s", ")", "into", "target", "specific", "instructions/intrinsics", "." ]
[ "X86", "X86", "2", "\"Invalid interleave factor\"", "\"Empty shufflevector input\"", "\"Unmatched number of shufflevectors and indices\"", "X86" ]
X86InterleavedAccess
lowerInterleavedLoad
X86
CPU
LLVM
18,492
109
1
[]
[ "<s>", "void", "PPCMCCodeEmitter", "::", "encodeInstruction", "(", "const", "MCInst", "&", "MI", ",", "raw_ostream", "&", "OS", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "{", "verif...
[ "Encode", "the", "given", "Inst", "to", "bytes", "and", "append", "to", "CB", "." ]
[ "PowerPC", "PPC", "support::endianness", "support::little", "support::big", "0", "4", "support::endian", "8", "support::endian", "32", "support::endian", "\"Invalid instruction size\"" ]
PPCMCCodeEmitter13
encodeInstruction
PowerPC
CPU
LLVM
18,493
159
1
[]
[ "<s>", "DecodeStatus", "Mips64Disassembler", "::", "getInstruction", "(", "MCInst", "&", "instr", ",", "uint64_t", "&", "Size", ",", "const", "MemoryObject", "&", "Region", ",", "uint64_t", "Address", ",", "raw_ostream", "&", "vStream", ",", "raw_ostream", "&", ...
[ "Returns", "the", "disassembly", "of", "a", "single", "instruction", "." ]
[ "Mips", "Mips", "Mips", "4", "Mips", "4" ]
MipsDisassembler23
getInstruction
Mips
CPU
LLVM
18,494
133
1
[]
[ "<s>", "MCDisassembler", "::", "DecodeStatus", "JVMDisassembler", "::", "getInstruction", "(", "MCInst", "&", "MI", ",", "uint64_t", "&", "Size", ",", "ArrayRef", "<", "uint8_t", ">", "Bytes", ",", "uint64_t", ",", "raw_ostream", "&", "OS", ",", "raw_ostream",...
[ "Returns", "the", "disassembly", "of", "a", "single", "instruction", "." ]
[ "JVM", "JVM" ]
JVMDisassembler
getInstruction
JVM
Virtual ISA
LLVM
18,495
39
1
[]
[ "<s>", "static", "void", "nvptx_file_end", "(", "void", ")", "{", "hash_table", "<", "tree_hasher", ">", "::", "iterator", "iter", ";", "tree", "decl", ";", "FOR_EACH_HASH_TABLE_ELEMENT", "(", "*", "needed_fndecls_htab", ",", "decl", ",", "tree", ",", "iter", ...
[ "Write", "out", "the", "function", "declarations", "we", "'ve", "collected", "." ]
[ "nvptx", "\"__nvptx_stacks\"", "\".extern .shared .u%d __nvptx_stacks[32];\\n\"", "\"__nvptx_uni\"", "\".extern .shared .u32 __nvptx_uni[32];\\n\"" ]
nvptx
nvptx_file_end
nvptx
GPU
GCC
18,496
160
1
[]
[ "<s>", "virtual", "const", "MipsRegisterInfo", "*", "getRegisterInfo", "(", ")", "const", "{", "return", "&", "InstrInfo", "->", "getRegisterInfo", "(", ")", ";", "}", "</s>" ]
[ "getRegisterInfo", "-", "TargetInstrInfo", "is", "a", "superset", "of", "MRegister", "info", "." ]
[ "Mips", "Mips" ]
MipsTargetMachine1
getRegisterInfo
Mips
CPU
LLVM
18,497
18
1
[]
[ "<s>", "static", "void", "nvptx_function_arg_advance", "(", "cumulative_args_t", "cum_v", ",", "machine_mode", "mode", ",", "const_tree", "type", "ATTRIBUTE_UNUSED", ",", "bool", "named", "ATTRIBUTE_UNUSED", ")", "{", "CUMULATIVE_ARGS", "*", "cum", "=", "get_cumulativ...
[ "Implement", "TARGET_FUNCTION_ARG_ADVANCE", "." ]
[ "nvptx", "2" ]
nvptx2
nvptx_function_arg_advance
nvptx
GPU
GCC
18,498
47
1
[]
[ "<s>", "bool", "PPCTargetLowering", "::", "allowsMisalignedMemoryAccesses", "(", "EVT", "VT", ",", "unsigned", ",", "unsigned", ",", "MachineMemOperand", "::", "Flags", ",", "bool", "*", "Fast", ")", "const", "{", "if", "(", "DisablePPCUnaligned", ")", "return",...
[ "Returns", "true", "if", "the", "target", "allows", "unaligned", "memory", "accesses", "of", "the", "specified", "type", "." ]
[ "PowerPC", "PPC", "PPC", "MVT::v2f64", "MVT::v2i64", "MVT::v4f32", "MVT::v4i32", "MVT::ppcf128" ]
PPCISelLowering103
allowsMisalignedMemoryAccesses
PowerPC
CPU
LLVM
18,499
124
1
[]