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>", "void", "RISCVAsmPrinter", "::", "emitStartOfAsmFile", "(", "Module", "&", "M", ")", "{", "if", "(", "TM", ".", "getTargetTriple", "(", ")", ".", "isOSBinFormatELF", "(", ")", ")", "emitAttributes", "(", ")", ";", "}", "</s>" ]
[ "This", "virtual", "method", "can", "be", "overridden", "by", "targets", "that", "want", "to", "emit", "something", "at", "the", "start", "of", "their", "file", "." ]
[ "RI5CY", "RISCV" ]
RISCVAsmPrinter
emitStartOfAsmFile
RI5CY
CPU
LLVM
1,000
27
1
[]
[ "<s>", "SDValue", "LanaiSelectionDAGInfo", "::", "EmitTargetCodeForMemcpy", "(", "SelectionDAG", "&", "DAG", ",", "const", "SDLoc", "&", "dl", ",", "SDValue", "Chain", ",", "SDValue", "Dst", ",", "SDValue", "Src", ",", "SDValue", "Size", ",", "unsigned", "Alig...
[ "Emit", "target-specific", "code", "that", "performs", "a", "memcpy", "." ]
[ "Lanai", "Lanai" ]
LanaiSelectionDAGInfo8
EmitTargetCodeForMemcpy
Lanai
CPU
LLVM
1,001
71
1
[]
[ "<s>", "bool", "fixupNeedsRelaxation", "(", "const", "MCFixup", "&", "Fixup", ",", "uint64_t", "Value", ",", "const", "MCInstFragment", "*", "DF", ",", "const", "MCAsmLayout", "&", "Layout", ")", "const", "{", "llvm_unreachable", "(", "\"RelaxInstruction() is not ...
[ "Simple", "predicate", "for", "targets", "where", "!", "Resolved", "implies", "requiring", "relaxation", "." ]
[ "TOY", "\"RelaxInstruction() is not implemented yet\"" ]
TOYAsmBackend
fixupNeedsRelaxation
TOY
CPU
LLVM
1,002
29
1
[]
[ "<s>", "void", "X86FrameLowering", "::", "emitStackProbe", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MBBI", ",", "const", "DebugLoc", "&", "DL", ",", "bool", "InProlog", ")", "const", ...
[ "Emit", "target", "stack", "probe", "code", "." ]
[ "X86", "X86", "X86", "X86", "X86::STACKALLOC_W_PROBING", "0" ]
X86FrameLowering1
emitStackProbe
X86
CPU
LLVM
1,003
114
1
[]
[ "<s>", "static", "void", "*", "device_malloc", "(", "size_t", "size", ",", "hsa_region_t", "region", ")", "{", "void", "*", "result", ";", "XHSA", "(", "hsa_fns", ".", "hsa_memory_allocate_fn", "(", "region", ",", "size", ",", "&", "result", ")", ",", "\...
[ "Allocate", "some", "device", "memory", "from", "the", "kernargs", "region", ".", "The", "returned", "address", "will", "be", "32-bit", "(", "with", "excess", "zeroed", "on", "64-bit", "host", ")", ",", "and", "accessible", "via", "the", "same", "address", ...
[ "gcn", "\"Allocate device memory\"" ]
gcn-run
device_malloc
gcn
GPU
GCC
1,004
37
1
[]
[ "<s>", "SDValue", "PPCTargetLowering", "::", "LowerOperation", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "{", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "assert", "(", "0", "&&", "\"Wasn't expecting to be abl...
[ "LowerOperation", "-", "Provide", "custom", "lowering", "hooks", "for", "some", "operations", "." ]
[ "PowerPC", "PPC", "0", "\"Wasn't expecting to be able to lower this!\"", "ISD::ConstantPool", "ISD::GlobalAddress", "ISD::GlobalTLSAddress", "ISD::JumpTable", "ISD::SETCC", "ISD::TRAMPOLINE", "ISD::VASTART", "PPC", "ISD::VAARG", "PPC", "ISD::FORMAL_ARGUMENTS", "PPC", "ISD::CALL", "...
PPCISelLowering123
LowerOperation
PowerPC
CPU
LLVM
1,005
439
1
[]
[ "<s>", "std", "::", "unique_ptr", "<", "SICacheControl", ">", "SICacheControl", "::", "create", "(", "const", "SISubtarget", "&", "ST", ")", "{", "AMDGPUSubtarget", "::", "Generation", "Generation", "=", "ST", ".", "getGeneration", "(", ")", ";", "if", "(", ...
[ "This", "creates", "an", "identified", "struct", "." ]
[ "AMDGPU", "SI", "SI", "SI", "AMDGPU", "AMDGPU", "SI", "SI" ]
SIMemoryLegalizer21
create
AMDGPU
GPU
LLVM
1,006
54
1
[]
[ "<s>", "void", "arm_load_pic_register", "(", "unsigned", "long", "saved_regs", "ATTRIBUTE_UNUSED", ",", "rtx", "pic_reg", ")", "{", "rtx", "l1", ",", "labelno", ",", "pic_tmp", ",", "pic_rtx", ";", "if", "(", "crtl", "->", "uses_pic_offset_table", "==", "0", ...
[ "Generate", "code", "to", "load", "the", "PIC", "register", ".", "In", "thumb", "mode", "SCRATCH", "is", "a", "low", "register", "." ]
[ "arm", "0", "1", "8", "4", "1" ]
arm8
arm_load_pic_register
arm
CPU
GCC
1,007
351
1
[]
[ "<s>", "std", "::", "pair", "<", "unsigned", ",", "unsigned", ">", "MOSInstrInfo", "::", "decomposeMachineOperandsTargetFlags", "(", "unsigned", "TF", ")", "const", "{", "return", "std", "::", "make_pair", "(", "TF", ",", "0u", ")", ";", "}", "</s>" ]
[ "Decompose", "the", "machine", "operand", "'s", "target", "flags", "into", "two", "values", "-", "the", "direct", "target", "flag", "value", "and", "any", "of", "bit", "flags", "that", "are", "applied", "." ]
[ "MOS", "MOS", "0u" ]
MOSInstrInfo
decomposeMachineOperandsTargetFlags
MOS
MPU
LLVM
1,008
28
1
[]
[ "<s>", "bool", "M68kPassConfig", "::", "addGlobalInstructionSelect", "(", ")", "{", "addPass", "(", "new", "InstructionSelect", "(", ")", ")", ";", "return", "false", ";", "}", "</s>" ]
[ "This", "method", "should", "install", "a", "(", "global", ")", "instruction", "selector", "pass", ",", "which", "converts", "possibly", "generic", "instructions", "to", "fully", "target-specific", "instructions", ",", "thereby", "constraining", "all", "generic", ...
[ "M68k", "M68k" ]
M68kTargetMachine
addGlobalInstructionSelect
M68k
MPU
LLVM
1,009
19
1
[]
[ "<s>", "static", "void", "load_reg", "(", "int", "reg", ",", "HOST_WIDE_INT", "disp", ",", "int", "base", ")", "{", "rtx", "dest", "=", "gen_rtx_REG", "(", "word_mode", ",", "reg", ")", ";", "rtx", "basereg", "=", "gen_rtx_REG", "(", "Pmode", ",", "bas...
[ "Emit", "RTL", "to", "load", "REG", "from", "the", "memory", "location", "specified", "by", "BASE+DISP", ".", "Handle", "case", "where", "DISP", ">", "8k", "by", "using", "the", "add_high_const", "patterns", "." ]
[ "pa", "1", "1" ]
pa
load_reg
pa
CPU
GCC
1,010
213
1
[]
[ "<s>", "static", "void", "frv_registers_update", "(", "rtx", "x", ")", "{", "regstate_t", "flags", ";", "flags", "=", "REGSTATE_MODIFIED", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "COND_EXEC", ")", "{", "flags", "|=", "frv_cond_flags", "(", "XEXP",...
[ "Update", "the", "register", "state", "information", "for", "an", "instruction", "whose", "body", "is", "X", "." ]
[ "frv", "0", "1" ]
frv2
frv_registers_update
frv
VLIW
GCC
1,011
58
1
[]
[ "<s>", "void", "i386_pe_encode_section_info", "(", "tree", "decl", ",", "rtx", "rtl", ",", "int", "first", ")", "{", "default_encode_section_info", "(", "decl", ",", "rtl", ",", "first", ")", ";", "if", "(", "first", "&&", "TREE_CODE", "(", "decl", ")", ...
[ "Cover", "function", "to", "implement", "ENCODE_SECTION_INFO", "." ]
[ "i386", "\"stdcall\"", "\"fastcall\"", "0", "0", "0", "0", "0", "0", "0", "0", "0" ]
winnt3
i386_pe_encode_section_info
i386
CPU
GCC
1,012
252
1
[]
[ "<s>", "bool", "AArch64TargetLowering", "::", "preferIncOfAddToSubOfNot", "(", "EVT", "VT", ")", "const", "{", "return", "VT", ".", "isScalarInteger", "(", ")", ";", "}", "</s>" ]
[ "These", "two", "forms", "are", "equivalent", ":", "sub", "y", ",", "(", "xor", "x", ",", "-1", ")", "add", "(", "add", "x", ",", "1", ")", ",", "y", "The", "variant", "with", "two", "add", "'s", "is", "IR-canonical", "." ]
[ "AArch64", "AArch64" ]
AArch64ISelLowering (2)2
preferIncOfAddToSubOfNot
AArch64
CPU
LLVM
1,013
18
1
[]
[ "<s>", "MachineBasicBlock", "*", "M68kTargetLowering", "::", "EmitInstrWithCustomInserter", "(", "MachineInstr", "&", "MI", ",", "MachineBasicBlock", "*", "BB", ")", "const", "{", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "llvm...
[ "This", "method", "should", "be", "implemented", "by", "targets", "that", "mark", "instructions", "with", "the", "'usesCustomInserter", "'", "flag", "." ]
[ "M68k", "M68k", "\"Unexpected instr type to insert\"", "M68k::CMOV8d", "M68k::CMOV16d", "M68k::CMOV32r", "M68k::SALLOCA" ]
M68kISelLowering
EmitInstrWithCustomInserter
M68k
MPU
LLVM
1,014
70
1
[]
[ "<s>", "const", "char", "*", "getPassName", "(", ")", "const", "override", "{", "return", "\"SI Type Rewriter\"", ";", "}", "</s>" ]
[ "getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "." ]
[ "R600", "\"SI Type Rewriter\"" ]
SITypeRewriter
getPassName
R600
GPU
LLVM
1,015
13
1
[]
[ "<s>", "static", "int", "unspec_sqrdcmlah", "(", "int", "rot", ")", "{", "switch", "(", "rot", ")", "{", "case", "0", ":", "return", "UNSPEC_SQRDCMLAH", ";", "case", "90", ":", "return", "UNSPEC_SQRDCMLAH90", ";", "case", "180", ":", "return", "UNSPEC_SQRD...
[ "Return", "the", "UNSPEC_SQRDCMLAH", "*", "unspec", "for", "rotation", "amount", "ROT", "." ]
[ "aarch64", "0", "90", "180", "270" ]
aarch64-sve-builtins-sve2
unspec_sqrdcmlah
aarch64
CPU
GCC
1,016
45
1
[]
[ "<s>", "static", "bool", "conditions_opposite_p", "(", "rtx", "cond1", ",", "rtx", "cond2", ")", "{", "return", "(", "rtx_equal_p", "(", "XEXP", "(", "cond1", ",", "0", ")", ",", "XEXP", "(", "cond2", ",", "0", ")", ")", "&&", "rtx_equal_p", "(", "XE...
[ "Return", "true", "iff", "COND1", "and", "COND2", "are", "exactly", "opposite", "conditions", "one", "of", "them", "NE", "and", "the", "other", "EQ", "." ]
[ "c6x", "0", "0", "1", "1" ]
c6x
conditions_opposite_p
c6x
VLIW
GCC
1,017
62
1
[]
[ "<s>", "StackOffset", "AArch64FrameLowering", "::", "getFrameIndexReference", "(", "const", "MachineFunction", "&", "MF", ",", "int", "FI", ",", "Register", "&", "FrameReg", ")", "const", "{", "return", "resolveFrameIndexReference", "(", "MF", ",", "FI", ",", "F...
[ "getFrameIndexReference", "-", "This", "method", "should", "return", "the", "base", "register", "and", "offset", "used", "to", "reference", "a", "frame", "index", "location", "." ]
[ "AArch64", "AArch64" ]
AArch64FrameLowering (2)1
getFrameIndexReference
AArch64
CPU
LLVM
1,018
45
1
[]
[ "<s>", "bool", "isReg", "(", ")", "const", "override", "{", "return", "Kind", "==", "Register", "&&", "Reg", ".", "Modifiers", "==", "-", "1", ";", "}", "</s>" ]
[ "isReg", "-", "Is", "this", "a", "register", "operand", "?" ]
[ "AMDGPU", "1" ]
AMDGPUAsmParser (2)
isReg
AMDGPU
GPU
LLVM
1,019
20
1
[]
[ "<s>", "virtual", "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "MachineFrameInfo", "*", "FFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "MachineRegisterInfo", "&", "RI", "=", "MF", ".", "getRegInfo", "(", ")", ";", "un...
[ "runOnMachineFunction", "-", "Emit", "the", "function", "body", "." ]
[ "X86" ]
X86RegisterInfo41
runOnMachineFunction
X86
CPU
LLVM
1,020
101
1
[]
[ "<s>", "TargetPassConfig", "*", "AZPRTargetMachine", "::", "createPassConfig", "(", "PassManagerBase", "&", "PM", ")", "{", "return", "new", "AZPRPassConfig", "(", "this", ",", "PM", ")", ";", "}", "</s>" ]
[ "Create", "a", "pass", "configuration", "object", "to", "be", "used", "by", "addPassToEmitX", "methods", "for", "generating", "a", "pipeline", "of", "CodeGen", "passes", "." ]
[ "AZPR", "AZPR", "AZPR" ]
AZPRTargetMachine
createPassConfig
AZPR
CPU
LLVM
1,021
21
1
[]
[ "<s>", "FunctionPass", "*", "TVMPassConfig", "::", "createTargetRegisterAllocator", "(", "bool", ")", "{", "return", "nullptr", ";", "}", "</s>" ]
[ "createTargetRegisterAllocator", "-", "Create", "the", "register", "allocator", "pass", "for", "this", "target", "at", "the", "current", "optimization", "level", "." ]
[ "TVM", "TVM" ]
TVMTargetMachine
createTargetRegisterAllocator
TVM
Virtual ISA
LLVM
1,022
13
1
[]
[ "<s>", "void", "NVPTXFrameLowering", "::", "emitPrologue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "if", "(", "MF", ".", "getFrameInfo", "(", ")", "->", "hasStackObjects", "(", ")", ")", "{", "assert", "(...
[ "emitProlog/emitEpilog", "-", "These", "methods", "insert", "prolog", "and", "epilog", "code", "into", "the", "function", "." ]
[ "NVPTX", "NVPTX", "\"Shrink-wrapping not yet supported\"", "NVPTX", "NVPTX::cvta_local_yes_64", "NVPTX::cvta_local_yes", "NVPTX::MOV_DEPOT_ADDR_64", "NVPTX::MOV_DEPOT_ADDR", "NVPTX::VRFrame", "NVPTX::VRFrame", "NVPTX::VRFrameLocal", "NVPTX::VRFrameLocal" ]
NVPTXFrameLowering19
emitPrologue
NVPTX
GPU
LLVM
1,023
212
1
[]
[ "<s>", "machine_mode", "nvptx_underlying_object_mode", "(", "rtx", "obj", ")", "{", "if", "(", "GET_CODE", "(", "obj", ")", "==", "SUBREG", ")", "obj", "=", "SUBREG_REG", "(", "obj", ")", ";", "machine_mode", "mode", "=", "GET_MODE", "(", "obj", ")", ";"...
[ "Return", "the", "mode", "to", "be", "used", "when", "declaring", "a", "ptx", "object", "for", "OBJ", ".", "For", "objects", "with", "subparts", "such", "as", "complex", "modes", "this", "is", "the", "mode", "of", "the", "subpart", "." ]
[ "nvptx" ]
nvptx2
nvptx_underlying_object_mode
nvptx
GPU
GCC
1,024
57
1
[]
[ "<s>", "SDValue", "AMDGPUTargetLowering", "::", "LowerOperation", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "Op", "->", "print", "(", "errs", "(", ...
[ "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::UDIVREM", "ISD::SDIVREM", "ISD::FREM", "ISD::FCEIL", "ISD::FTRUNC", "ISD::FRINT", "ISD::FNEARBYINT", ...
AMDGPUISelLowering31
LowerOperation
AMDGPU
GPU
LLVM
1,025
363
1
[]
[ "<s>", "void", "dump", "(", ")", "{", "errs", "(", ")", "<<", "\"rriCoreISelAddressMode \"", "<<", "this", "<<", "'\\n'", ";", "if", "(", "BaseType", "==", "RegBase", "&&", "Base", ".", "Reg", ".", "getNode", "(", ")", "!=", "nullptr", ")", "{", "err...
[ "Dump", "the", "plan", "to", "stderr", "(", "for", "debugging", ")", "." ]
[ "TriCore", "\"rriCoreISelAddressMode \"", "\"Base.Reg \"", "\" Base.FrameIndex \"", "\" Disp \"", "\"GV \"", "\" CP \"", "\" Align\"", "\"ES \"", "1", "\" JT\"", "\" Align\"" ]
TriCoreISelDAGToDAG (2)
dump
TriCore
MPU
LLVM
1,026
173
1
[]
[ "<s>", "void", "alpha_split_atomic_exchange", "(", "rtx", "operands", "[", "]", ")", "{", "rtx", "retval", ",", "mem", ",", "val", ",", "scratch", ";", "enum", "memmodel", "model", ";", "machine_mode", "mode", ";", "rtx", "label", ",", "x", ",", "cond", ...
[ "Expand", "an", "atomic", "exchange", "operation", "." ]
[ "alpha", "0", "1", "2", "3", "4", "0" ]
alpha
alpha_split_atomic_exchange
alpha
MPU
GCC
1,027
173
1
[]
[ "<s>", "bool", "m68k_legitimate_address_p", "(", "machine_mode", "mode", ",", "rtx", "x", ",", "bool", "strict_p", ")", "{", "struct", "m68k_address", "address", ";", "return", "m68k_decompose_address", "(", "mode", ",", "x", ",", "strict_p", ",", "&", "addres...
[ "Return", "true", "if", "X", "is", "a", "legitimate", "address", "for", "values", "of", "mode", "MODE", ".", "STRICT_P", "says", "whether", "strict", "checking", "is", "needed", "." ]
[ "m68k" ]
m68k
m68k_legitimate_address_p
m68k
MPU
GCC
1,028
31
1
[]
[ "<s>", "void", "GCNPassConfig", "::", "addOptimizedRegAlloc", "(", "FunctionPass", "*", "RegAllocPass", ")", "{", "insertPass", "(", "&", "MachineSchedulerID", ",", "&", "SIFixControlFlowLiveIntervalsID", ")", ";", "insertPass", "(", "&", "RenameIndependentSubregsID", ...
[ "addOptimizedRegAlloc", "-", "Add", "passes", "related", "to", "register", "allocation", "." ]
[ "AMDGPU", "SI", "SI" ]
AMDGPUTargetMachine84
addOptimizedRegAlloc
AMDGPU
GPU
LLVM
1,029
36
1
[]
[ "<s>", "static", "ia64_addr_area", "ia64_get_addr_area", "(", "tree", "decl", ")", "{", "tree", "model_attr", ";", "model_attr", "=", "lookup_attribute", "(", "\"model\"", ",", "DECL_ATTRIBUTES", "(", "decl", ")", ")", ";", "if", "(", "model_attr", ")", "{", ...
[ "Retrieve", "the", "address", "area", "that", "has", "been", "chosen", "for", "the", "given", "decl", "." ]
[ "ia64", "\"model\"" ]
ia64
ia64_get_addr_area
ia64
CPU
GCC
1,030
63
1
[]
[ "<s>", "bool", "X86TargetLowering", "::", "isNoopAddrSpaceCast", "(", "unsigned", "SrcAS", ",", "unsigned", "DestAS", ")", "const", "{", "assert", "(", "SrcAS", "!=", "DestAS", "&&", "\"Expected different address spaces!\"", ")", ";", "const", "TargetMachine", "&", ...
[ "Returns", "true", "if", "a", "cast", "between", "SrcAS", "and", "DestAS", "is", "a", "noop", "." ]
[ "X86", "X86", "\"Expected different address spaces!\"", "256", "256" ]
X86ISelLowering (2)6
isNoopAddrSpaceCast
X86
CPU
LLVM
1,031
60
1
[]
[ "<s>", "unsigned", "AlphaCodeEmitter", "::", "getMachineOpValue", "(", "const", "MachineInstr", "&", "MI", ",", "const", "MachineOperand", "&", "MO", ")", "{", "unsigned", "rv", "=", "0", ";", "if", "(", "MO", ".", "isReg", "(", ")", ")", "{", "rv", "=...
[ "getMachineOpValue", "-", "Return", "binary", "encoding", "of", "operand", "." ]
[ "Alpha", "Alpha", "0", "Alpha", "\" is a relocated op for \"", "\"\\n\"", "0", "0", "Alpha::BSR", "Alpha::reloc_bsr", "Alpha::LDLr", "Alpha::LDQr", "Alpha::LDBUr", "Alpha::LDWUr", "Alpha::LDSr", "Alpha::LDTr", "Alpha::LDAr", "Alpha::STQr", "Alpha::STLr", "Alpha::STWr", "Alpha...
AlphaCodeEmitter
getMachineOpValue
Alpha
MPU
LLVM
1,032
456
1
[]
[ "<s>", "void", "ARMTargetLowering", "::", "HandleByVal", "(", "CCState", "*", "State", ",", "unsigned", "&", "Size", ",", "unsigned", "Align", ")", "const", "{", "assert", "(", "(", "State", "->", "getCallOrPrologue", "(", ")", "==", "Prologue", "||", "Sta...
[ "Target-specific", "cleanup", "for", "formal", "ByVal", "parameters", "." ]
[ "ARM", "ARM", "\"unhandled ParmContext\"", "4U", "4", "ARM::R4", "0", "4", "ARM::R4", "0", "4", "ARM::R4", "1", "0" ]
ARMISelLowering (2)2
HandleByVal
ARM
CPU
LLVM
1,033
241
1
[]
[ "<s>", "static", "bool", "mips_near_type_p", "(", "const_tree", "type", ")", "{", "return", "(", "lookup_attribute", "(", "\"short_call\"", ",", "TYPE_ATTRIBUTES", "(", "type", ")", ")", "!=", "NULL", "||", "lookup_attribute", "(", "\"near\"", ",", "TYPE_ATTRIBU...
[ "Predicates", "to", "test", "for", "presence", "of", "``", "near", "''", "and", "``", "far", "''", "/", "''", "long_call", "''", "attributes", "on", "the", "given", "TYPE", "." ]
[ "mips", "\"short_call\"", "\"near\"" ]
mips
mips_near_type_p
mips
CPU
GCC
1,034
36
1
[]
[ "<s>", "static", "void", "emit_final_str_compare_gpr", "(", "rtx", "str1", ",", "rtx", "str2", ",", "rtx", "result", ")", "{", "machine_mode", "m", "=", "GET_MODE", "(", "str1", ")", ";", "rtx", "rot_amt", "=", "gen_reg_rtx", "(", "m", ")", ";", "rtx", ...
[ "Generate", "the", "final", "sequence", "that", "identifies", "the", "differing", "byte", "and", "generates", "the", "final", "result", ",", "taking", "into", "account", "zero", "bytes", ":", "cntlzd", "get", "bit", "of", "first", "zero/diff", "byte", "addi", ...
[ "rs6000", "8", "0xff", "0xff", "8", "0xff", "0xff" ]
rs6000-string
emit_final_str_compare_gpr
rs6000
CPU
GCC
1,035
289
1
[]
[ "<s>", "void", "AArch64WinCOFFStreamer", "::", "finishImpl", "(", ")", "{", "emitFrames", "(", "nullptr", ")", ";", "emitWindowsUnwindTables", "(", ")", ";", "MCWinCOFFStreamer", "::", "finishImpl", "(", ")", ";", "}", "</s>" ]
[ "Streamer", "specific", "finalization", "." ]
[ "AArch64", "AArch64" ]
AArch64WinCOFFStreamer5
finishImpl
AArch64
CPU
LLVM
1,036
23
1
[]
[ "<s>", "void", "R600TTIImpl", "::", "getPeelingPreferences", "(", "Loop", "*", "L", ",", "ScalarEvolution", "&", "SE", ",", "TTI", "::", "PeelingPreferences", "&", "PP", ")", "{", "CommonTTI", ".", "getPeelingPreferences", "(", "L", ",", "SE", ",", "PP", "...
[ "Get", "target-customized", "preferences", "for", "the", "generic", "loop", "peeling", "transformation", "." ]
[ "AMDGPU", "R600" ]
AMDGPUTargetTransformInfo2
getPeelingPreferences
AMDGPU
GPU
LLVM
1,037
32
1
[]
[ "<s>", "virtual", "void", "*", "getAdjustedAnalysisPointer", "(", "const", "void", "*", "ID", ")", "{", "if", "(", "ID", "==", "&", "TargetTransformInfo", "::", "ID", ")", "return", "(", "TargetTransformInfo", "*", ")", "this", ";", "return", "this", ";", ...
[ "getAdjustedAnalysisPointer", "-", "This", "method", "is", "used", "when", "a", "pass", "implements", "an", "analysis", "interface", "through", "multiple", "inheritance", "." ]
[ "X86" ]
X86TargetTransformInfo113
getAdjustedAnalysisPointer
X86
CPU
LLVM
1,038
31
1
[]
[ "<s>", "void", "X86AsmPrinter", "::", "emitEndOfAsmFile", "(", "Module", "&", "M", ")", "{", "const", "Triple", "&", "TT", "=", "TM", ".", "getTargetTriple", "(", ")", ";", "emitAsanMemaccessSymbols", "(", "M", ")", ";", "if", "(", "TT", ".", "isOSBinFor...
[ "This", "virtual", "method", "can", "be", "overridden", "by", "targets", "that", "want", "to", "emit", "something", "at", "the", "end", "of", "their", "file", "." ]
[ "X86", "X86", "\"__fltused\"", "\"_fltused\"" ]
X86AsmPrinter20
emitEndOfAsmFile
X86
CPU
LLVM
1,039
156
1
[]
[ "<s>", "static", "unsigned", "long", "get_csky_isr_type", "(", "tree", "argument", ")", "{", "const", "isr_attribute_entry", "*", "ptr", ";", "const", "char", "*", "arg", ";", "if", "(", "argument", "==", "NULL_TREE", ")", "return", "CSKY_FT_ISR", ";", "if",...
[ "Return", "the", "function", "type", "of", "the", "current", "function", ",", "if", "it", "has", "not", "been", "determined", ",", "return", "CSKY_FT_UNKNOWN", "." ]
[ "csky", "0" ]
csky
get_csky_isr_type
csky
CPU
GCC
1,040
97
1
[]
[ "<s>", "static", "unsigned", "int", "ATTRIBUTE_UNUSED", "x86_64_elf_section_type_flags", "(", "tree", "decl", ",", "const", "char", "*", "name", ",", "int", "reloc", ")", "{", "unsigned", "int", "flags", "=", "default_section_type_flags", "(", "decl", ",", "name...
[ "Select", "a", "set", "of", "attributes", "for", "section", "NAME", "based", "on", "the", "properties", "of", "DECL", "and", "whether", "or", "not", "RELOC", "indicates", "that", "DECL", "'s", "initializer", "might", "contain", "runtime", "relocations", "." ]
[ "i386", "\".ldata.rel.ro\"", "0", "\".ldata.rel.ro.local\"", "0", "\".lbss\"", "0", "\".lbss.\"", "5", "0", "\".gnu.linkonce.lb.\"", "16", "0" ]
i3864
x86_64_elf_section_type_flags
i386
CPU
GCC
1,041
102
1
[]
[ "<s>", "Register", "NVPTXRegisterInfo", "::", "getFrameRegister", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "return", "NVPTX", "::", "VRFrame", ";", "}", "</s>" ]
[ "Debug", "information", "queries", "." ]
[ "NVPTX", "NVPTX", "NVPTX::VRFrame" ]
NVPTXRegisterInfo14
getFrameRegister
NVPTX
GPU
LLVM
1,042
18
1
[]
[ "<s>", "opt_machine_mode", "aarch64_full_sve_mode", "(", "scalar_mode", "mode", ")", "{", "switch", "(", "mode", ")", "{", "case", "E_DFmode", ":", "return", "VNx2DFmode", ";", "case", "E_SFmode", ":", "return", "VNx4SFmode", ";", "case", "E_HFmode", ":", "ret...
[ "Return", "the", "full-width", "SVE", "vector", "mode", "for", "element", "mode", "MODE", ",", "if", "one", "exists", "." ]
[ "aarch64" ]
aarch64
aarch64_full_sve_mode
aarch64
CPU
GCC
1,043
69
1
[]
[ "<s>", "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "override", "{", "Subtarget", "=", "&", "MF", ".", "getSubtarget", "<", "SystemZSubtarget", ">", "(", ")", ";", "return", "SelectionDAGISel", "::", "runOnMachineFunction", "(", "MF", ...
[ "runOnMachineFunction", "-", "Emit", "the", "function", "body", "." ]
[ "SystemZ", "SystemZ" ]
SystemZISelDAGToDAG (2)
runOnMachineFunction
SystemZ
CPU
LLVM
1,044
30
1
[]
[ "<s>", "void", "assignValueToReg", "(", "Register", "ValVReg", ",", "Register", "PhysReg", ",", "CCValAssign", "&", "VA", ")", "override", "{", "MIB", ".", "addUse", "(", "PhysReg", ",", "RegState", "::", "Implicit", ")", ";", "Register", "ExtReg", "=", "e...
[ "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", "." ]
[ "AMDGPU" ]
AMDGPUCallLowering21
assignValueToReg
AMDGPU
GPU
LLVM
1,045
46
1
[]
[ "<s>", "unsigned", "ARMFastISel", "::", "constrainOperandRegClass", "(", "const", "MCInstrDesc", "&", "II", ",", "unsigned", "Op", ",", "unsigned", "OpNum", ")", "{", "if", "(", "TargetRegisterInfo", "::", "isVirtualRegister", "(", "Op", ")", ")", "{", "const"...
[ "Try", "to", "constrain", "Op", "so", "that", "it", "is", "usable", "by", "argument", "OpNum", "of", "the", "provided", "MCInstrDesc", "." ]
[ "ARM", "ARM" ]
ARMFastISel63
constrainOperandRegClass
ARM
CPU
LLVM
1,046
112
1
[]
[ "<s>", "void", "VEInstPrinter", "::", "printInst", "(", "const", "MCInst", "*", "MI", ",", "uint64_t", "Address", ",", "StringRef", "Annot", ",", "const", "MCSubtargetInfo", "&", "STI", ",", "raw_ostream", "&", "OS", ")", "{", "if", "(", "!", "printAliasIn...
[ "Print", "the", "specified", "MCInst", "to", "the", "specified", "raw_ostream", "." ]
[ "VE", "VE" ]
VEInstPrinter1
printInst
VE
CPU
LLVM
1,047
57
1
[]
[ "<s>", "void", "arm_lang_object_attributes_init", "(", "void", ")", "{", "arm_lang_output_object_attributes_hook", "=", "arm_output_c_attributes", ";", "}", "</s>" ]
[ "Setup", "so", "that", "common", "code", "calls", "arm_output_c_attributes", "." ]
[ "arm" ]
arm-c
arm_lang_object_attributes_init
arm
CPU
GCC
1,048
11
1
[]
[ "<s>", "unsigned", "getGlobalBaseReg", "(", ")", "const", "{", "return", "GlobalBaseReg", ";", "}", "</s>" ]
[ "getGlobalBaseReg", "-", "Return", "a", "virtual", "register", "initialized", "with", "the", "the", "global", "base", "register", "value", "." ]
[ "Alpha" ]
AlphaMachineFunctionInfo
getGlobalBaseReg
Alpha
MPU
LLVM
1,049
10
1
[]
[ "<s>", "const", "LegalizerInfo", "*", "getLegalizerInfo", "(", ")", "const", "override", "{", "return", "Legalizer", ".", "get", "(", ")", ";", "}", "</s>" ]
[ "Expose", "LegalizerInfo", "so", "the", "clients", "can", "re-use", "." ]
[ "AMDGPU" ]
AMDGPUSubtarget
getLegalizerInfo
AMDGPU
GPU
LLVM
1,050
17
1
[]
[ "<s>", "static", "tree", "ix86_stack_protect_guard", "(", "void", ")", "{", "if", "(", "TARGET_SSP_TLS_GUARD", ")", "return", "NULL_TREE", ";", "return", "default_stack_protect_guard", "(", ")", ";", "}", "</s>" ]
[ "If", "using", "TLS", "guards", ",", "do", "n't", "waste", "time", "creating", "and", "expanding", "__stack_chk_guard", "decl", "and", "MEM", "as", "we", "are", "going", "to", "ignore", "it", "." ]
[ "i386" ]
i3866
ix86_stack_protect_guard
i386
CPU
GCC
1,051
20
1
[]
[ "<s>", "int", "v9_regcmp_p", "(", "enum", "rtx_code", "code", ")", "{", "return", "(", "code", "==", "EQ", "||", "code", "==", "NE", "||", "code", "==", "GE", "||", "code", "==", "LT", "||", "code", "==", "LE", "||", "code", "==", "GT", ")", ";",...
[ "Nonzero", "if", "CODE", ",", "a", "comparison", ",", "is", "suitable", "for", "use", "in", "v9", "conditional", "move", "or", "branch", "on", "register", "contents", "instructions", "." ]
[ "sparc" ]
sparc
v9_regcmp_p
sparc
CPU
GCC
1,052
36
1
[]
[ "<s>", "bool", "nds32_n10_ex_to_ex_p", "(", "rtx_insn", "*", "producer", ",", "rtx_insn", "*", "consumer", ")", "{", "gcc_assert", "(", "get_attr_type", "(", "producer", ")", "==", "TYPE_FLOAD", "||", "get_attr_type", "(", "producer", ")", "==", "TYPE_FSTORE", ...
[ "Check", "dependencies", "from", "EX", "to", "EX", "(", "ADDR_OUT", "-", ">", "ADDR_IN", ")", "." ]
[ "nds32" ]
nds32-pipelines-auxiliary
nds32_n10_ex_to_ex_p
nds32
CPU
GCC
1,053
72
1
[]
[ "<s>", "bool", "ARMCodeGenPrepare", "::", "runOnFunction", "(", "Function", "&", "F", ")", "{", "if", "(", "skipFunction", "(", "F", ")", "||", "DisableCGP", ")", "return", "false", ";", "auto", "*", "TPC", "=", "&", "getAnalysis", "<", "TargetPassConfig",...
[ "runOnFunction", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "do", "the", "per-function", "processing", "of", "the", "pass", "." ]
[ "ARM", "ARM", "ARM", "\"ARM CGP: Running on \"", "\"\\n\"", "0", "\"ARM CGP: Searching from: \"", "\"\\n\"", "0", "\"Broken function after type promotion\"", "\"After ARMCodeGenPrepare: \"", "\"\\n\"" ]
ARMCodeGenPrepare1
runOnFunction
ARM
CPU
LLVM
1,054
312
1
[]
[ "<s>", "void", "AMDGPUAsmPrinter", "::", "emitFunctionBodyStart", "(", ")", "{", "const", "SIMachineFunctionInfo", "&", "MFI", "=", "*", "MF", "->", "getInfo", "<", "SIMachineFunctionInfo", ">", "(", ")", ";", "const", "GCNSubtarget", "&", "STM", "=", "MF", ...
[ "Targets", "can", "override", "this", "to", "emit", "stuff", "before", "the", "first", "basic", "block", "in", "the", "function", "." ]
[ "AMDGPU", "AMDGPU", "SI", "SI", "\"xnack setting of '\"", "\"' function does not match module xnack setting\"", "\"sramecc setting of '\"", "\"' function does not match module sramecc setting\"", "AMDGPU" ]
AMDGPUAsmPrinter
emitFunctionBodyStart
AMDGPU
GPU
LLVM
1,055
303
1
[]
[ "<s>", "bool", "ix86_avoid_lea_for_addr", "(", "rtx_insn", "*", "insn", ",", "rtx", "operands", "[", "]", ")", "{", "unsigned", "int", "regno0", ",", "regno1", ",", "regno2", ";", "int", "split_cost", ";", "struct", "ix86_address", "parts", ";", "int", "ok...
[ "Return", "true", "if", "we", "need", "to", "split", "lea", "into", "a", "sequence", "of", "instructions", "to", "avoid", "AGU", "stalls", "during", "peephole2", "." ]
[ "i386", "1", "1", "1", "0", "1", "1", "2", "0", "1", "0", "1", "1", "1", "1", "4", "1", "1", "1" ]
i386
ix86_avoid_lea_for_addr
i386
CPU
GCC
1,056
370
1
[]
[ "<s>", "SDValue", "X86TargetLowering", "::", "BuildSDIVPow2", "(", "SDNode", "*", "N", ",", "const", "APInt", "&", "Divisor", ",", "SelectionDAG", "&", "DAG", ",", "SmallVectorImpl", "<", "SDNode", "*", ">", "&", "Created", ")", "const", "{", "AttributeList"...
[ "Targets", "may", "override", "this", "function", "to", "provide", "custom", "SDIV", "lowering", "for", "power-of-2", "denominators", "." ]
[ "X86", "X86", "0", "0", "\"Unexpected divisor!\"", "0", "MVT::i16", "MVT::i32", "MVT::i64", "1", "0", "0", "MVT::i8", "ISD::SETLT", "ISD::ADD", "ISD::SELECT", "ISD::SRA", "MVT::i8", "ISD::SUB" ]
X86ISelLowering (2)5
BuildSDIVPow2
X86
CPU
LLVM
1,057
396
1
[]
[ "<s>", "unsigned", "SystemZInstrInfo", "::", "isStoreToStackSlot", "(", "const", "MachineInstr", "&", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "return", "isSimpleMove", "(", "MI", ",", "FrameIndex", ",", "SystemZII", "::", "SimpleBDXStore", ")", ...
[ "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", "...
[ "SystemZ", "SystemZ", "SystemZII::SimpleBDXStore" ]
SystemZInstrInfo (2)2
isStoreToStackSlot
SystemZ
CPU
LLVM
1,058
29
1
[]
[ "<s>", "bool", "SIWholeQuadMode", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "MF", ".", "getFunction", "(", ")", "->", "getCallingConv", "(", ")", "!=", "CallingConv", "::", "AMDGPU_PS", ")", "return", "false", ";",...
[ "runOnMachineFunction", "-", "Emit", "the", "function", "body", "." ]
[ "AMDGPU", "SI", "AMDGPU", "SI", "SI", "AMDGPU::EXEC", "0", "AMDGPU::SReg_64RegClass", "AMDGPU::COPY", "AMDGPU::EXEC", "AMDGPU::S_WQM_B64", "AMDGPU::EXEC", "AMDGPU::EXEC" ]
SIWholeQuadMode42
runOnMachineFunction
AMDGPU
GPU
LLVM
1,059
296
1
[]
[ "<s>", "bool", "NVPTXPrologEpilogPass", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "const", "TargetSubtargetInfo", "&", "STI", "=", "MF", ".", "getSubtarget", "(", ")", ";", "const", "TargetFrameLowering", "&", "TFI", "=", "*", ...
[ "runOnMachineFunction", "-", "Emit", "the", "function", "body", "." ]
[ "NVPTX", "NVPTX", "0", "0", "\"Frame indices can only appear as the first \"", "\"operand of a DBG_VALUE machine instruction\"", "0", "0", "0", "3", "0" ]
NVPTXPrologEpilogPass15
runOnMachineFunction
NVPTX
GPU
LLVM
1,060
303
1
[]
[ "<s>", "static", "void", "mips_legitimize_const_move", "(", "machine_mode", "mode", ",", "rtx", "dest", ",", "rtx", "src", ")", "{", "rtx", "base", ",", "offset", ";", "if", "(", "splittable_const_int_operand", "(", "src", ",", "mode", ")", ")", "{", "mips...
[ "Subroutine", "of", "mips_legitimize_move", ".", "Move", "constant", "SRC", "into", "register", "DEST", "given", "that", "SRC", "satisfies", "immediate_operand", "but", "does", "n't", "satisfy", "move_operand", "." ]
[ "mips", "0", "0" ]
mips4
mips_legitimize_const_move
mips
CPU
GCC
1,061
201
1
[]
[ "<s>", "bool", "X86FrameLowering", "::", "restoreCalleeSavedRegisters", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "const", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", ",", "const", "TargetRegis...
[ "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...
[ "X86", "X86", "X86::CATCHRET", "0", "X86::GR64RegClass", "X86::GR32RegClass", "X86::POP64r", "X86::POP32r", "0", "X86::GR64RegClass", "X86::GR32RegClass" ]
X86FrameLowering8
restoreCalleeSavedRegisters
X86
CPU
LLVM
1,062
345
1
[]
[ "<s>", "bool", "usesFunctionDescriptors", "(", ")", "const", "{", "return", "isAIXABI", "(", ")", "||", "(", "is64BitELFABI", "(", ")", "&&", "!", "isELFv2ABI", "(", ")", ")", ";", "}", "</s>" ]
[ "True", "if", "the", "ABI", "is", "descriptor", "based", "." ]
[ "PowerPC" ]
PPCSubtarget12
usesFunctionDescriptors
PowerPC
CPU
LLVM
1,063
23
1
[]
[ "<s>", "SDValue", "MSP430TargetLowering", "::", "LowerCall", "(", "TargetLowering", "::", "CallLoweringInfo", "&", "CLI", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "InVals", ")", "const", "{", "SelectionDAG", "&", "DAG", "=", "CLI", ".", "DAG", ";", ...
[ "This", "hook", "must", "be", "implemented", "to", "lower", "calls", "into", "the", "specified", "DAG", "." ]
[ "MSP430", "MSP430", "ISD::OutputArg", "ISD::InputArg", "\"Unsupported calling convention\"", "MSP430", "MSP430", "\"ISRs cannot be called directly\"" ]
MSP430ISelLowering41
LowerCall
MSP430
MPU
LLVM
1,064
180
1
[]
[ "<s>", "void", "MBlazeInstPrinter", "::", "printInst", "(", "const", "MCInst", "*", "MI", ",", "raw_ostream", "&", "O", ",", "StringRef", "Annot", ")", "{", "printInstruction", "(", "MI", ",", "O", ")", ";", "printAnnotation", "(", "O", ",", "Annot", ")"...
[ "Print", "the", "specified", "MCInst", "to", "the", "specified", "raw_ostream", "." ]
[ "MBlaze", "MBlaze" ]
MBlazeInstPrinter
printInst
MBlaze
MPU
LLVM
1,065
33
1
[]
[ "<s>", "void", "ARMAsmBackend", "::", "relaxInstruction", "(", "const", "MCInst", "&", "Inst", ",", "const", "MCSubtargetInfo", "&", "STI", ",", "MCInst", "&", "Res", ")", "const", "{", "unsigned", "RelaxedOp", "=", "getRelaxedOpcode", "(", "Inst", ".", "get...
[ "Relax", "the", "instruction", "in", "the", "given", "fragment", "to", "the", "next", "wider", "instruction", "." ]
[ "ARM", "ARM", "256", "\"\\n\"", "\"unexpected instruction to relax: \"", "ARM::tCBZ", "ARM::tCBNZ", "ARM::tHINT", "0", "14", "0" ]
ARMAsmBackend11
relaxInstruction
ARM
CPU
LLVM
1,066
168
1
[]
[ "<s>", "SDValue", "SystemZTargetLowering", "::", "PerformDAGCombine", "(", "SDNode", "*", "N", ",", "DAGCombinerInfo", "&", "DCI", ")", "const", "{", "switch", "(", "N", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "ISD", ...
[ "This", "method", "will", "be", "invoked", "for", "all", "target", "nodes", "and", "for", "any", "target-independent", "nodes", "that", "the", "target", "has", "registered", "with", "invoke", "it", "for", "." ]
[ "SystemZ", "SystemZ", "ISD::ZERO_EXTEND", "ISD::SIGN_EXTEND", "ISD::SIGN_EXTEND_INREG", "SystemZISD::MERGE_HIGH", "SystemZISD::MERGE_LOW", "ISD::STORE", "ISD::EXTRACT_VECTOR_ELT", "SystemZISD::JOIN_DWORDS", "ISD::FP_ROUND", "ISD::BSWAP", "ISD::SHL", "ISD::SRA", "ISD::SRL", "ISD::ROTL",...
SystemZISelLowering121
PerformDAGCombine
SystemZ
CPU
LLVM
1,067
211
1
[]
[ "<s>", "static", "int", "rs6000_arg_partial_bytes", "(", "cumulative_args_t", "cum_v", ",", "machine_mode", "mode", ",", "tree", "type", ",", "bool", "named", ")", "{", "CUMULATIVE_ARGS", "*", "cum", "=", "get_cumulative_args", "(", "cum_v", ")", ";", "bool", ...
[ "For", "an", "arg", "passed", "partly", "in", "registers", "and", "partly", "in", "memory", ",", "this", "is", "the", "number", "of", "bytes", "passed", "in", "registers", ".", "For", "args", "passed", "entirely", "in", "registers", "or", "entirely", "in",...
[ "rs6000", "0", "0", "0", "1", "1", "16", "0", "7", "3", "0", "0", "1", "1", "8", "4", "8", "4", "8", "0", "\"rs6000_arg_partial_bytes: %d\\n\"" ]
rs60004
rs6000_arg_partial_bytes
rs6000
CPU
GCC
1,068
339
1
[]
[ "<s>", "bool", "WebAssemblyPrepareForLiveIntervals", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "LLVM_DEBUG", "(", "{", "dbgs", "(", ")", "<<", "\"********** Prepare For LiveIntervals **********\\n\"", "<<", "\"********** Function: \"", "<<",...
[ "runOnMachineFunction", "-", "Emit", "the", "function", "body", "." ]
[ "WebAssembly", "WebAssembly", "\"********** Prepare For LiveIntervals **********\\n\"", "\"********** Function: \"", "WebAssembly", "\"LiveIntervals shouldn't be active yet!\"", "0", "WebAssembly::IMPLICIT_DEF", "WebAssembly::isArgument" ]
WebAssemblyPrepareForLiveIntervals16
runOnMachineFunction
WebAssembly
Virtual ISA
LLVM
1,069
268
1
[]
[ "<s>", "void", "MBlazeRegisterInfo", "::", "eliminateCallFramePseudoInstr", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ")", "const", "{", "MBB", ".", "erase", "(", "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", ")", "." ]
[ "MBlaze", "MBlaze" ]
MBlazeRegisterInfo12
eliminateCallFramePseudoInstr
MBlaze
MPU
LLVM
1,070
28
1
[]
[ "<s>", "bool", "ba_p", "(", "rtx", "op", ",", "bool", "strict", ")", "{", "return", "(", "GET_CODE", "(", "op", ")", "==", "MEM", "&&", "inside_ba_p", "(", "XEXP", "(", "op", ",", "0", ")", ",", "strict", ")", ")", "||", "(", "reload_in_progress", ...
[ "Also", "accept", "(", "MEM", "(", "PLUS", "(", "pseudo", ")", "CONST_INT", ")", ")", ",", "since", "the", "pseudo", "will", "always", "be", "allocated", "to", "a", "PTR", "reg", "." ]
[ "z8k", "0", "0", "0", "0", "0", "1", "0", "1", "0x1", "0" ]
z8k
ba_p
z8k
MPU
GCC
1,071
136
1
[]
[ "<s>", "void", "NVPTXFrameLowering", "::", "emitEpilogue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "}", "</s>" ]
[ "Insert", "epilog", "code", "into", "the", "function", "." ]
[ "NVPTX", "NVPTX" ]
NVPTXFrameLowering22
emitEpilogue
NVPTX
GPU
LLVM
1,072
16
1
[]
[ "<s>", "static", "bool", "matchBitfieldExtractFromSExtInReg", "(", "MachineInstr", "&", "MI", ",", "MachineRegisterInfo", "&", "MRI", ",", "std", "::", "function", "<", "void", "(", "MachineIRBuilder", "&", ")", ">", "&", "MatchInfo", ")", "{", "assert", "(", ...
[ "Form", "a", "G_SBFX", "from", "a", "G_SEXT_INREG", "fed", "by", "a", "right", "shift", "." ]
[ "AArch64", "0", "1", "2", "32", "64", "\"Unexpected type for G_SEXT_INREG?\"", "0" ]
AArch64PostLegalizerCombiner11
matchBitfieldExtractFromSExtInReg
AArch64
CPU
LLVM
1,073
248
1
[]
[ "<s>", "static", "bool", "is_branch", "(", "rtx", "insn", ")", "{", "return", "(", "CALL_P", "(", "insn", ")", "||", "JUMP_P", "(", "insn", ")", ")", ";", "}", "</s>" ]
[ "Return", "true", "if", "insn", "is", "a", "branch", "instruction", "." ]
[ "i386" ]
i3864
is_branch
i386
CPU
GCC
1,074
22
1
[]
[ "<s>", "void", "AArch64AsmBackend", "::", "applyFixup", "(", "const", "MCAssembler", "&", "Asm", ",", "const", "MCFixup", "&", "Fixup", ",", "const", "MCValue", "&", "Target", ",", "MutableArrayRef", "<", "char", ">", "Data", ",", "uint64_t", "Value", ",", ...
[ "Apply", "the", "Value", "for", "given", "Fixup", "into", "the", "provided", "data", "fragment", ",", "at", "the", "offset", "specified", "by", "the", "fixup", "and", "following", "the", "fixup", "kind", "as", "appropriate", "." ]
[ "AArch64", "AArch64", "\"Invalid fixup offset!\"", "0", "0", "8", "0xff", "\"Invalid fixup size!\"", "\"Invalid fixup size!\"", "0", "1", "8", "0xff" ]
AArch64AsmBackend33
applyFixup
AArch64
CPU
LLVM
1,075
251
1
[]
[ "<s>", "rtx", "sparc_legitimize_reload_address", "(", "rtx", "x", ",", "machine_mode", "mode", ",", "int", "opnum", ",", "int", "type", ",", "int", "ind_levels", "ATTRIBUTE_UNUSED", ",", "int", "*", "win", ")", "{", "if", "(", "CONSTANT_P", "(", "x", ")", ...
[ "SPARC", "implementation", "of", "LEGITIMIZE_RELOAD_ADDRESS", ".", "Returns", "a", "value", "to", "replace", "the", "input", "X", ",", "or", "the", "original", "X", "if", "no", "replacement", "is", "called", "for", ".", "The", "output", "parameter", "*", "WI...
[ "sparc", "0", "0", "0", "0", "1", "0", "0", "0", "0", "0", "1", "0" ]
sparc
sparc_legitimize_reload_address
sparc
CPU
GCC
1,076
241
1
[]
[ "<s>", "bool", "mep_vliw_jmp_match", "(", "rtx", "tgt", ")", "{", "bool", "src_vliw", "=", "mep_vliw_function_p", "(", "cfun", "->", "decl", ")", ";", "bool", "tgt_vliw", "=", "INTVAL", "(", "tgt", ")", ";", "if", "(", "mep_section_tag", "(", "DECL_RTL", ...
[ "Like", "the", "above", ",", "but", "also", "test", "for", "near/far", "mismatches", "." ]
[ "mep" ]
mep
mep_vliw_jmp_match
mep
CPU
GCC
1,077
48
1
[]
[ "<s>", "bool", "TOYPassConfig", "::", "addInstSelector", "(", ")", "{", "addPass", "(", "createTOYISelDag", "(", "getTOYTargetMachine", "(", ")", ")", ")", ";", "return", "false", ";", "}", "</s>" ]
[ "addInstSelector", "-", "This", "method", "should", "install", "an", "instruction", "selector", "pass", ",", "which", "converts", "from", "LLVM", "code", "to", "machine", "instructions", "." ]
[ "TOY", "TOY", "TOY", "TOY" ]
TOYTargetMachine
addInstSelector
TOY
CPU
LLVM
1,078
21
1
[]
[ "<s>", "bool", "SparcAsmPrinter", "::", "PrintAsmOperand", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpNo", ",", "unsigned", "AsmVariant", ",", "const", "char", "*", "ExtraCode", ",", "raw_ostream", "&", "O", ")", "{", "if", "(", "ExtraCode"...
[ "PrintAsmOperand", "-", "Print", "out", "an", "operand", "for", "an", "inline", "asm", "expression", "." ]
[ "Sparc", "Sparc", "0", "1", "0", "0" ]
SparcAsmPrinter30
PrintAsmOperand
Sparc
CPU
LLVM
1,079
81
1
[]
[ "<s>", "SDValue", "NVPTXTargetLowering", "::", "PerformDAGCombine", "(", "SDNode", "*", "N", ",", "DAGCombinerInfo", "&", "DCI", ")", "const", "{", "CodeGenOpt", "::", "Level", "OptLevel", "=", "getTargetMachine", "(", ")", ".", "getOptLevel", "(", ")", ";", ...
[ "This", "method", "will", "be", "invoked", "for", "all", "target", "nodes", "and", "for", "any", "target-independent", "nodes", "that", "the", "target", "has", "registered", "with", "invoke", "it", "for", "." ]
[ "NVPTX", "NVPTX", "ISD::ADD", "ISD::FADD", "ISD::MUL", "ISD::SHL", "ISD::AND", "ISD::SELECT", "ISD::UREM", "ISD::SREM" ]
NVPTXISelLowering21
PerformDAGCombine
NVPTX
GPU
LLVM
1,080
146
1
[]
[ "<s>", "void", "WebAssemblyFrameLowering", "::", "emitEpilogue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "uint64_t", "StackSize", "=", "MF", ".", "getFrameInfo", "(", ")", "->", "getStackSize", "(", ")", ";",...
[ "Insert", "epilog", "code", "into", "the", "function", "." ]
[ "WebAssembly", "WebAssembly", "WebAssembly", "WebAssembly::I32RegClass", "WebAssembly::CONST_I32", "\"__stack_pointer\"", "WebAssembly::ADD_I32", "WebAssembly::SP32", "WebAssembly::SP32", "WebAssembly::CONST_I32", "4", "4", "WebAssembly::STORE_I32", "WebAssembly::SP32", "0", "2", "We...
WebAssemblyFrameLowering22
emitEpilogue
WebAssembly
Virtual ISA
LLVM
1,081
273
1
[]
[ "<s>", "unsigned", "getRsaSize", "(", "void", ")", "const", "{", "return", "176", ";", "}", "</s>" ]
[ "Get", "the", "size", "of", "RSA", ",", "return", "address", ",", "and", "frame", "pointer", "as", "described", "in", "VEFrameLowering.cpp", "." ]
[ "VE", "176" ]
VESubtarget5
getRsaSize
VE
CPU
LLVM
1,082
11
1
[]
[ "<s>", "void", "function_builder", "::", "append_name", "(", "const", "char", "*", "name", ")", "{", "obstack_grow", "(", "&", "m_string_obstack", ",", "name", ",", "strlen", "(", "name", ")", ")", ";", "}", "</s>" ]
[ "Add", "NAME", "to", "the", "end", "of", "the", "function", "name", "being", "built", "." ]
[ "riscv" ]
riscv-vector-builtins
append_name
riscv
CPU
GCC
1,083
25
1
[]
[ "<s>", "bool", "AArch64InstrInfo", "::", "optimizeCompareInstr", "(", "MachineInstr", "&", "CmpInstr", ",", "unsigned", "SrcReg", ",", "unsigned", "SrcReg2", ",", "int", "CmpMask", ",", "int", "CmpValue", ",", "const", "MachineRegisterInfo", "*", "MRI", ")", "co...
[ "optimizeCompareInstr", "-", "Check", "if", "there", "exists", "an", "earlier", "instruction", "that", "operates", "on", "the", "same", "source", "operands", "and", "sets", "flags", "in", "the", "same", "way", "as", "Compare", ";", "remove", "Compare", "if", ...
[ "AArch64", "AArch64", "AArch64::NZCV", "1", "AArch64::WZR", "AArch64::XZR", "\"Some operands reg class are incompatible!\"", "0", "1", "\"CmpValue must be 0 or 1!\"", "0", "0", "0" ]
AArch64InstrInfo109
optimizeCompareInstr
AArch64
CPU
LLVM
1,084
230
1
[]
[ "<s>", "void", "X86IntelInstPrinter", "::", "printPCRelImm", "(", "const", "MCInst", "*", "MI", ",", "unsigned", "OpNo", ",", "raw_ostream", "&", "O", ")", "{", "const", "MCOperand", "&", "Op", "=", "MI", "->", "getOperand", "(", "OpNo", ")", ";", "if", ...
[ "value", "(", "e.g", "." ]
[ "X86", "X86", "\"unknown pcrel immediate operand\"" ]
X86IntelInstPrinter (2)
printPCRelImm
X86
CPU
LLVM
1,085
119
1
[]
[ "<s>", "static", "struct", "machine_function", "*", "arc_init_machine_status", "(", "void", ")", "{", "struct", "machine_function", "*", "machine", ";", "machine", "=", "ggc_cleared_alloc", "<", "machine_function", ">", "(", ")", ";", "machine", "->", "fn_type", ...
[ "The", "usual", ";", "we", "set", "up", "our", "machine_function", "data", "." ]
[ "arc" ]
arc
arc_init_machine_status
arc
MPU
GCC
1,086
33
1
[]
[ "<s>", "void", "SIInstrInfo", "::", "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", "." ]
[ "R600", "SI", "SI", "SI", "0", "0", "4", "0" ]
SIInstrInfo16
storeRegToStackSlot
R600
GPU
LLVM
1,087
268
1
[]
[ "<s>", "void", "PatmosAsmPrinter", "::", "emitBasicBlockEnd", "(", "const", "MachineBasicBlock", "&", "MBB", ")", "{", "if", "(", "&", "MBB", ".", "getParent", "(", ")", "->", "back", "(", ")", "==", "&", "MBB", ")", "return", ";", "const", "MachineBasic...
[ "Targets", "can", "override", "this", "to", "emit", "stuff", "at", "the", "end", "of", "a", "basic", "block", "." ]
[ "Patmos", "Patmos" ]
PatmosAsmPrinter1
emitBasicBlockEnd
Patmos
VLIW
LLVM
1,088
62
1
[]
[ "<s>", "int", "scalar_chain", "::", "convert", "(", ")", "{", "bitmap_iterator", "bi", ";", "unsigned", "id", ";", "int", "converted_insns", "=", "0", ";", "if", "(", "!", "dbg_cnt", "(", "stv_conversion", ")", ")", "return", "0", ";", "if", "(", "dump...
[ "Convert", "whole", "chain", "creating", "required", "register", "conversions", "and", "copies", "." ]
[ "i386", "0", "0", "\"Converting chain #%d...\\n\"", "0" ]
i386-features1
convert
i386
CPU
GCC
1,089
86
1
[]
[ "<s>", "bool", "SIInstrInfo", "::", "isLegalFLATOffset", "(", "int64_t", "Offset", ",", "unsigned", "AddrSpace", ",", "bool", "Signed", ")", "const", "{", "if", "(", "!", "ST", ".", "hasFlatInstOffsets", "(", ")", ")", "return", "false", ";", "if", "(", ...
[ "Returns", "if", "Offset", "is", "legal", "for", "the", "subtarget", "as", "the", "offset", "to", "a", "FLAT", "encoded", "instruction", "." ]
[ "AMDGPU", "SI", "AMDGPU", "AMDGPU", "12", "11", "13", "12" ]
SIInstrInfo111
isLegalFLATOffset
AMDGPU
GPU
LLVM
1,090
96
1
[]
[ "<s>", "bool", "PPCTargetLowering", "::", "decomposeMulByConstant", "(", "LLVMContext", "&", "Context", ",", "EVT", "VT", ",", "SDValue", "C", ")", "const", "{", "if", "(", "!", "VT", ".", "isScalarInteger", "(", ")", ")", "return", "false", ";", "if", "...
[ "Return", "true", "if", "it", "is", "profitable", "to", "transform", "an", "integer", "multiplication-by-constant", "into", "simpler", "operations", "like", "shifts", "and", "adds", "." ]
[ "PowerPC", "PPC", "64", "16", "1", "1", "1", "1" ]
PPCISelLowering109
decomposeMulByConstant
PowerPC
CPU
LLVM
1,091
152
1
[]
[ "<s>", "static", "void", "parse_mrgf_banked_regs_option", "(", "const", "char", "*", "arg", ")", "{", "long", "int", "val", ";", "char", "*", "end_ptr", ";", "errno", "=", "0", ";", "val", "=", "strtol", "(", "arg", ",", "&", "end_ptr", ",", "10", ")...
[ "Parse", "-mrgf-banked-regs=NUM", "option", "string", ".", "Valid", "values", "for", "NUM", "are", "4", ",", "8", ",", "16", ",", "or", "32", "." ]
[ "arc", "0", "10", "0", "0", "4", "8", "16", "32", "\"invalid number in -mrgf-banked-regs=%s \"", "\"valid values are 0, 4, 8, 16, or 32\"" ]
arc7
parse_mrgf_banked_regs_option
arc
MPU
GCC
1,092
92
1
[]
[ "<s>", "bool", "match", "(", "MachineInstr", "*", "&", "Instr", ",", "unsigned", "int", "Opcode", ",", "ArgsT", "...", "Args", ")", "{", "Instr", "=", "match", "(", "Opcode", ",", "Args", "...", ")", ";", "return", "Instr", "!=", "nullptr", ";", "}",...
[ "matches", "-", "Match", "the", "regex", "against", "a", "given", "String", "." ]
[ "TVM" ]
TVMMachineInstrMatcher
match
TVM
Virtual ISA
LLVM
1,093
33
1
[]
[ "<s>", "void", "emitThumbFunc", "(", "MCSymbol", "*", "Func", ")", "override", "{", "getAssembler", "(", ")", ".", "setIsThumbFunc", "(", "Func", ")", ";", "emitSymbolAttribute", "(", "Func", ",", "MCSA_ELF_TypeFunction", ")", ";", "}", "</s>" ]
[ "Note", "in", "the", "output", "that", "the", "specified", "Func", "is", "a", "Thumb", "mode", "function", "(", "ARM", "target", "only", ")", "." ]
[ "ARM" ]
ARMELFStreamer22
emitThumbFunc
ARM
CPU
LLVM
1,094
26
1
[]
[ "<s>", "CCAssignFn", "*", "AArch64TargetLowering", "::", "CCAssignFnForCall", "(", "CallingConv", "::", "ID", "CC", ",", "bool", "IsVarArg", ")", "const", "{", "switch", "(", "CC", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unsupported calling conventio...
[ "Selects", "the", "correct", "CCAssignFn", "for", "a", "given", "CallingConvention", "value", "." ]
[ "AArch64", "AArch64", "\"Unsupported calling convention.\"", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64" ]
AArch64ISelLowering19
CCAssignFnForCall
AArch64
CPU
LLVM
1,095
80
1
[]
[ "<s>", "void", "NVPTXRegisterInfo", "::", "eliminateCallFramePseudoInstr", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ")", "const", "{", "MBB", ".", "erase", "(", "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", ")", "." ]
[ "NVPTX", "NVPTX" ]
NVPTXRegisterInfo22
eliminateCallFramePseudoInstr
NVPTX
GPU
LLVM
1,096
28
1
[]
[ "<s>", "const", "char", "*", "output_fix_trunc", "(", "rtx_insn", "*", "insn", ",", "rtx", "*", "operands", ",", "bool", "fisttp", ")", "{", "bool", "stack_top_dies", "=", "find_regno_note", "(", "insn", ",", "REG_DEAD", ",", "FIRST_STACK_REG", ")", ";", "...
[ "Output", "code", "for", "INSN", "to", "convert", "a", "float", "to", "a", "signed", "int", ".", "OPERANDS", "are", "the", "insn", "operands", ".", "The", "output", "may", "be", "[", "HSD", "]", "Imode", "and", "the", "input", "operand", "may", "be", ...
[ "i386", "0", "40", "\"fld\\t%y1\"", "1", "0", "1", "\"fisttp%Z0\\t%0\"", "\"fist\"", "\"fldcw\\t%3\"", "\"p%Z0\\t%0\"", "\"fldcw\\t%2\"", "\"\"" ]
i386
output_fix_trunc
i386
CPU
GCC
1,097
184
1
[]
[ "<s>", "static", "void", "mips_move_integer", "(", "rtx", "dest", ",", "unsigned", "HOST_WIDE_INT", "value", ")", "{", "struct", "mips_integer_op", "codes", "[", "MIPS_MAX_INTEGER_OPS", "]", ";", "enum", "machine_mode", "mode", ";", "unsigned", "int", "i", ",", ...
[ "Move", "VALUE", "into", "register", "DEST", "." ]
[ "mips", "0", "1" ]
mips3
mips_move_integer
mips
CPU
GCC
1,098
139
1
[]
[ "<s>", "void", "SIWholeQuadMode", "::", "processBlock", "(", "MachineBasicBlock", "&", "MBB", ",", "unsigned", "LiveMaskReg", ",", "bool", "isEntry", ")", "{", "auto", "BII", "=", "Blocks", ".", "find", "(", "&", "MBB", ")", ";", "if", "(", "BII", "==", ...
[ "processBlock", "-", "If", "there", "are", "any", "predecessors", "whose", "control", "can", "be", "threaded", "through", "to", "a", "successor", ",", "transform", "them", "now", "." ]
[ "AMDGPU", "SI", "0", "1", "0", "0", "0", "0", "AMDGPU::SReg_64RegClass", "0", "0", "AMDGPU::SI_ELSE", "3", "1", "0", "0" ]
SIWholeQuadMode31
processBlock
AMDGPU
GPU
LLVM
1,099
488
1
[]