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", "pop", "(", "int", "rn", ")", "{", "rtx", "x", ",", "sp_reg", ",", "reg", ";", "if", "(", "rn", "==", "FPUL_REG", ")", "x", "=", "gen_pop_fpul", "(", ")", ";", "else", "if", "(", "rn", "==", "FPSCR_REG", ")", "x", "=", ...
[ "Output", "RTL", "to", "pop", "register", "RN", "from", "the", "stack", "." ]
[ "sh", "1", "0", "0", "1" ]
sh4
pop
sh
CPU
GCC
19,000
239
1
[]
[ "<s>", "static", "void", "c6x_asm_init_sections", "(", "void", ")", "{", "exception_section", "=", "get_unnamed_section", "(", "0", ",", "output_section_asm_op", ",", "\"\\t.handlerdata\"", ")", ";", "}", "</s>" ]
[ "Use", "a", "special", "assembly", "directive", "rather", "than", "a", "regular", "setion", "for", "unwind", "table", "data", "." ]
[ "c6x", "0", "\"\\t.handlerdata\"" ]
c6x
c6x_asm_init_sections
c6x
VLIW
GCC
19,001
19
1
[]
[ "<s>", "bool", "HexagonInstrInfo", "::", "analyzeCompare", "(", "const", "MachineInstr", "&", "MI", ",", "unsigned", "&", "SrcReg", ",", "unsigned", "&", "SrcReg2", ",", "int", "&", "Mask", ",", "int", "&", "Value", ")", "const", "{", "unsigned", "Opc", ...
[ "analyzeCompare", "-", "For", "a", "comparison", "instruction", ",", "return", "the", "source", "registers", "in", "SrcReg", "and", "SrcReg2", "if", "having", "two", "register", "operands", ",", "and", "the", "value", "it", "compares", "against", "in", "CmpVal...
[ "Hexagon", "Hexagon", "Hexagon::C2_cmpeq", "Hexagon::C2_cmpeqp", "Hexagon::C2_cmpgt", "Hexagon::C2_cmpgtp", "Hexagon::C2_cmpgtu", "Hexagon::C2_cmpgtup", "Hexagon::C4_cmpneq", "Hexagon::C4_cmplte", "Hexagon::C4_cmplteu", "Hexagon::C2_cmpeqi", "Hexagon::C2_cmpgti", "Hexagon::C2_cmpgtui", "...
HexagonInstrInfo (2)2
analyzeCompare
Hexagon
DSP
LLVM
19,002
443
1
[]
[ "<s>", "virtual", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "{", "AU", ".", "addRequired", "<", "MachineDominatorTree", ">", "(", ")", ";", "AU", ".", "addRequired", "<", "MachineLoopInfo", ">", "(", ")", ";", "MachineFunctio...
[ "getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "." ]
[ "Hexagon" ]
HexagonHardwareLoops11
getAnalysisUsage
Hexagon
DSP
LLVM
19,003
36
1
[]
[ "<s>", "const", "char", "*", "nios2_fpu_insn_asm", "(", "enum", "n2fpu_code", "code", ")", "{", "static", "char", "buf", "[", "256", "]", ";", "const", "char", "*", "op1", ",", "*", "op2", ",", "*", "op3", ";", "int", "ln", "=", "256", ",", "n", ...
[ "Emit", "assembly", "of", "custom", "FPU", "instructions", "." ]
[ "nios2", "256", "256", "0", "8", "3", "\"custom\\t%d, zero, %%1, %%D1 # fwrx %%1\\n\\t\"", "\"zero\"", "\"%0\"", "1", "\"%D0\"", "\"%0\"", "\"%1\"", "2", "\"zero\"", "\"%2\"", "\"zero\"", "\"%0\"", "\"%D0\"", "1", "\"%D0\"", "\"%0\"", "2", "\"%1\"", "\"%2\"", "2", ...
nios2
nios2_fpu_insn_asm
nios2
MPU
GCC
19,004
403
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", "4", "ARM", "\"generic\"", "ARM", "ARM", "\",\"", "\"eabi\"", "ARM", "8", "5", "0" ]
ARMSubtarget29
ARMSubtarget
ARM
CPU
LLVM
19,005
443
1
[]
[ "<s>", "const", "char", "*", "MBlazeTargetLowering", "::", "getTargetNodeName", "(", "unsigned", "Opcode", ")", "const", "{", "switch", "(", "Opcode", ")", "{", "case", "MBlazeISD", "::", "JmpLink", ":", "return", "\"MBlazeISD::JmpLink\"", ";", "case", "MBlazeIS...
[ "getTargetNodeName", "-", "This", "method", "returns", "the", "name", "of", "a", "target", "specific" ]
[ "MBlaze", "MBlaze", "MBlazeISD::JmpLink", "\"MBlazeISD::JmpLink\"", "MBlazeISD::GPRel", "\"MBlazeISD::GPRel\"", "MBlazeISD::Wrap", "\"MBlazeISD::Wrap\"", "MBlazeISD::ICmp", "\"MBlazeISD::ICmp\"", "MBlazeISD::Ret", "\"MBlazeISD::Ret\"", "MBlazeISD::Select_CC", "\"MBlazeISD::Select_CC\"" ]
MBlazeISelLowering
getTargetNodeName
MBlaze
MPU
LLVM
19,006
72
1
[]
[ "<s>", "void", "AArch64ConditionalCompares", "::", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "{", "AU", ".", "addRequired", "<", "MachineBranchProbabilityInfo", ">", "(", ")", ";", "AU", ".", "addRequired", "<", "MachineDominatorTree", ">"...
[ "getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "." ]
[ "AArch64", "AArch64" ]
AArch64ConditionalCompares (2)
getAnalysisUsage
AArch64
CPU
LLVM
19,007
82
1
[]
[ "<s>", "void", "SPIRVMCCodeEmitter", "::", "encodeInstruction", "(", "const", "MCInst", "&", "MI", ",", "raw_ostream", "&", "OS", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "{", "aut...
[ "Encode", "the", "given", "Inst", "to", "bytes", "and", "append", "to", "CB", "." ]
[ "SPIRV", "SPIRV", "support::little", "1", "16" ]
SPIRVMCCodeEmitter
encodeInstruction
SPIRV
Virtual ISA
LLVM
19,008
129
1
[]
[ "<s>", "void", "aarch64_split_atomic_op", "(", "enum", "rtx_code", "code", ",", "rtx", "old_out", ",", "rtx", "new_out", ",", "rtx", "mem", ",", "rtx", "value", ",", "rtx", "model_rtx", ",", "rtx", "cond", ")", "{", "gcc_assert", "(", "epilogue_completed", ...
[ "Split", "an", "atomic", "operation", "." ]
[ "aarch64", "0" ]
aarch64
aarch64_split_atomic_op
aarch64
CPU
GCC
19,009
380
1
[]
[ "<s>", "Register", "getGlobalBaseReg", "(", ")", "const", "{", "return", "GlobalBaseReg", ";", "}", "</s>" ]
[ "getGlobalBaseReg", "-", "Return", "a", "virtual", "register", "initialized", "with", "the", "the", "global", "base", "register", "value", "." ]
[ "CSKY" ]
CSKYMachineFunctionInfo
getGlobalBaseReg
CSKY
CPU
LLVM
19,010
10
1
[]
[ "<s>", "const", "TargetRegisterClass", "*", "SystemZRegisterInfo", "::", "getCrossCopyRegClass", "(", "const", "TargetRegisterClass", "*", "RC", ")", "const", "{", "if", "(", "RC", "==", "&", "SystemZ", "::", "CCRRegClass", ")", "return", "&", "SystemZ", "::", ...
[ "getCrossCopyRegClass", "-", "Returns", "a", "legal", "register", "class", "to", "copy", "a", "register", "in", "the", "specified", "class", "to", "or", "from", "." ]
[ "SystemZ", "SystemZ", "SystemZ::CCRRegClass", "SystemZ::GR32BitRegClass" ]
SystemZRegisterInfo10
getCrossCopyRegClass
SystemZ
CPU
LLVM
19,011
33
1
[]
[ "<s>", "bool", "AMDGPUPassConfig", "::", "addPreISel", "(", ")", "{", "const", "AMDGPUSubtarget", "&", "ST", "=", "TM", "->", "getSubtarget", "<", "AMDGPUSubtarget", ">", "(", ")", ";", "addPass", "(", "createFlattenCFGPass", "(", ")", ")", ";", "if", "(",...
[ "{", "{", "@", "For", "GlobalISel" ]
[ "R600", "SI", "SI" ]
AMDGPUTargetMachine76
addPreISel
R600
GPU
LLVM
19,012
102
1
[]
[ "<s>", "DFAPacketizer", "*", "Tile64InstrInfo", "::", "CreateTargetScheduleState", "(", "const", "TargetMachine", "*", "TM", ",", "const", "ScheduleDAG", "*", "DAG", ")", "const", "{", "const", "InstrItineraryData", "*", "II", "=", "TM", "->", "getInstrItineraryDa...
[ "Create", "machine", "specific", "model", "for", "scheduling", "." ]
[ "Tile64" ]
Tile64InstrInfo
CreateTargetScheduleState
Tile64
VLIW
LLVM
19,013
45
1
[]
[ "<s>", "bool", "NyuziAsmPrinter", "::", "PrintAsmMemoryOperand", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpNum", ",", "unsigned", "AsmVariant", ",", "const", "char", "*", "ExtraCode", ",", "raw_ostream", "&", "O", ")", "{", "const", "Machine...
[ "Print", "the", "specified", "operand", "of", "MI", ",", "an", "INLINEASM", "instruction", ",", "using", "the", "specified", "assembler", "variant", "as", "an", "address", "." ]
[ "Nyuzi", "Nyuzi", "\"unexpected inline asm memory operand\"", "\"(\"", "Nyuzi", "\")\"" ]
NyuziAsmPrinter
PrintAsmMemoryOperand
Nyuzi
GPU
LLVM
19,014
70
1
[]
[ "<s>", "bool", "HexagonInstrInfo", "::", "PredicateInstruction", "(", "MachineInstr", "*", "MI", ",", "const", "SmallVectorImpl", "<", "MachineOperand", ">", "&", "Cond", ")", "const", "{", "if", "(", "Cond", ".", "empty", "(", ")", "||", "isEndLoopN", "(", ...
[ "Convert", "the", "instruction", "into", "a", "predicated", "instruction", "." ]
[ "Hexagon", "Hexagon", "0", "\"\\nCannot predicate:\"", "\"Expected predicable instruction\"", "0", "1", "0" ]
HexagonInstrInfo64
PredicateInstruction
Hexagon
DSP
LLVM
19,015
364
1
[]
[ "<s>", "const", "SparcSubtarget", "*", "SparcTargetMachine", "::", "getSubtargetImpl", "(", "const", "Function", "&", "F", ")", "const", "{", "Attribute", "CPUAttr", "=", "F", ".", "getFnAttribute", "(", "\"target-cpu\"", ")", ";", "Attribute", "FSAttr", "=", ...
[ "Virtual", "method", "implemented", "by", "subclasses", "that", "returns", "a", "reference", "to", "that", "target", "'s", "TargetSubtargetInfo-derived", "member", "variable", "." ]
[ "Sparc", "Sparc", "Sparc", "\"target-cpu\"", "\"target-features\"", "\"use-soft-float\"", "\"use-soft-float\"", "\"true\"", "\"+soft-float\"", "\",+soft-float\"", "Sparc" ]
SparcTargetMachine16
getSubtargetImpl
Sparc
CPU
LLVM
19,016
181
1
[]
[ "<s>", "bool", "X86InsertPrefetch", "::", "doInitialization", "(", "Module", "&", "M", ")", "{", "if", "(", "Filename", ".", "empty", "(", ")", ")", "return", "false", ";", "LLVMContext", "&", "Ctx", "=", "M", ".", "getContext", "(", ")", ";", "ErrorOr...
[ "Set", "up", "the", "AsmPrinter", "when", "we", "are", "working", "on", "a", "new", "module", "." ]
[ "X86", "X86", "\"Could not open profile: \"" ]
X86InsertPrefetch (2)
doInitialization
X86
CPU
LLVM
19,017
120
1
[]
[ "<s>", "MachineBasicBlock", "::", "iterator", "X86InstrInfo", "::", "insertOutlinedCall", "(", "Module", "&", "M", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "&", "It", ",", "MachineFunction", "&", "MF", ",", "const", "outl...
[ "Insert", "a", "call", "to", "an", "outlined", "function", "into", "the", "program", "." ]
[ "X86", "X86", "X86::TAILJMPd64", "X86::CALL64pcrel32" ]
X86InstrInfo (2)3
insertOutlinedCall
X86
CPU
LLVM
19,018
129
1
[]
[ "<s>", "const", "AArch64GNULDBackend", "&", "getTarget", "(", ")", "const", "{", "return", "m_Target", ";", "}", "</s>" ]
[ "getTarget", "-", "Return", "the", "target", "machine", "this", "machine", "code", "is", "compiled", "with" ]
[ "AArch64", "AArch64" ]
AArch64Relocator
getTarget
AArch64
CPU
LLVM
19,019
12
1
[]
[ "<s>", "static", "void", "core2i7_dfa_post_advance_cycle", "(", "void", ")", "{", "ix86_first_cycle_multipass_data_t", "data", "=", "ix86_first_cycle_multipass_data", ";", "gcc_assert", "(", "data", "->", "ifetch_block_n_insns", "<=", "core2i7_ifetch_block_max_insns", ")", ...
[ "Advancing", "the", "cycle", ";", "reset", "ifetch", "block", "counts", "." ]
[ "i386", "0", "0" ]
i3864
core2i7_dfa_post_advance_cycle
i386
CPU
GCC
19,020
34
1
[]
[ "<s>", "static", "std", "::", "unique_ptr", "<", "FISCOperand", ">", "CreateReg", "(", "unsigned", "RegNum", ",", "SMLoc", "S", ",", "SMLoc", "E", ")", "{", "auto", "Op", "=", "make_unique", "<", "FISCOperand", ">", "(", "k_Register", ")", ";", "Op", "...
[ "CreateReg", "-", "Allocate", "a", "single", "virtual", "register", "for", "the", "given", "type", "." ]
[ "FISC", "FISC", "FISC" ]
FISCAsmParser
CreateReg
FISC
CPU
LLVM
19,021
54
1
[]
[ "<s>", "SDValue", "AArch64TargetLowering", "::", "getRecipEstimate", "(", "SDValue", "Operand", ",", "SelectionDAG", "&", "DAG", ",", "int", "Enabled", ",", "int", "&", "ExtraSteps", ")", "const", "{", "if", "(", "Enabled", "==", "ReciprocalEstimate", "::", "E...
[ "Return", "a", "reciprocal", "estimate", "value", "for", "the", "input", "operand", "." ]
[ "AArch64", "AArch64", "AArch64ISD::FRECPE", "0", "AArch64ISD::FRECPS", "ISD::FMUL", "0" ]
AArch64ISelLowering (2)2
getRecipEstimate
AArch64
CPU
LLVM
19,022
148
1
[]
[ "<s>", "static", "void", "cris_operand_lossage", "(", "const", "char", "*", "msgid", ",", "rtx", "op", ")", "{", "debug_rtx", "(", "op", ")", ";", "output_operand_lossage", "(", "\"%s\"", ",", "msgid", ")", ";", "}", "</s>" ]
[ "Emit", "an", "error", "message", "when", "we", "'re", "in", "an", "asm", ",", "and", "a", "fatal", "error", "for", "``", "normal", "''", "insns", ".", "Formatted", "output", "is", "n't", "easily", "implemented", ",", "since", "we", "use", "output_operan...
[ "cris", "\"%s\"" ]
cris
cris_operand_lossage
cris
MPU
GCC
19,023
26
1
[]
[ "<s>", "SDValue", "AArch64SelectionDAGInfo", "::", "EmitTargetCodeForMemset", "(", "SelectionDAG", "&", "DAG", ",", "const", "SDLoc", "&", "dl", ",", "SDValue", "Chain", ",", "SDValue", "Dst", ",", "SDValue", "Src", ",", "SDValue", "Size", ",", "unsigned", "Al...
[ "Emit", "target-specific", "code", "that", "performs", "a", "memset", "." ]
[ "AArch64", "AArch64", "AArch64", "AArch64", "256", "AArch64" ]
AArch64SelectionDAGInfo
EmitTargetCodeForMemset
AArch64
CPU
LLVM
19,024
303
1
[]
[ "<s>", "virtual", "void", "print", "(", "raw_ostream", "&", "O", ")", "const", "{", "switch", "(", "Kind", ")", "{", "case", "k_Token", ":", "O", "<<", "\"Token: \\\"\"", "<<", "getToken", "(", ")", "<<", "\"\\\"\"", ";", "break", ";", "case", "k_Regis...
[ "print", "-", "Print", "a", "debug", "representation", "of", "the", "operand", "to", "the", "given", "stream", "." ]
[ "AVR", "\"Token: \\\"\"", "\"\\\"\"", "\"Register: \"", "\"Immediate: \\\"\"", "\"\\\"\"", "\"Memri: \\\"\"", "\"\\\"\"", "\"\\n\"" ]
AVRAsmParser
print
AVR
MPU
LLVM
19,025
89
1
[]
[ "<s>", "rtx", "ix86_build_const_vector", "(", "machine_mode", "mode", ",", "bool", "vect", ",", "rtx", "value", ")", "{", "int", "i", ",", "n_elt", ";", "rtvec", "v", ";", "machine_mode", "scalar_mode", ";", "switch", "(", "mode", ")", "{", "case", "V64Q...
[ "A", "subroutine", "of", "ix86_build_signbit_mask", ".", "If", "VECT", "is", "true", ",", "then", "replicate", "the", "value", "for", "all", "elements", "of", "the", "vector", "register", "." ]
[ "i386", "0", "1" ]
i3864
ix86_build_const_vector
i386
CPU
GCC
19,026
163
1
[]
[ "<s>", "static", "void", "epiphany_print_operand_address", "(", "FILE", "*", "file", ",", "machine_mode", ",", "rtx", "addr", ")", "{", "rtx", "base", ",", "index", "=", "0", ";", "int", "offset", "=", "0", ";", "switch", "(", "GET_CODE", "(", "addr", ...
[ "Print", "a", "memory", "address", "as", "an", "operand", "to", "reference", "that", "memory", "location", "." ]
[ "epiphany", "0", "0", "0", "0", "0", "1", "1", "1", "0", "0", "1", "0", "\",%s%d\"", "\",%s\"" ]
epiphany
epiphany_print_operand_address
epiphany
MPU
GCC
19,027
317
1
[]
[ "<s>", "bool", "PPCFrameLowering", "::", "spillCalleeSavedRegisters", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "ArrayRef", "<", "CalleeSavedInfo", ">", "CSI", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", ...
[ "spillCalleeSavedRegisters", "-", "Issues", "instruction", "(", "s", ")", "to", "spill", "all", "callee", "saved", "registers", "and", "returns", "true", "if", "it", "is", "n't", "possible", "/", "profitable", "to", "do", "so", "by", "issuing", "a", "series"...
[ "PowerPC", "PPC", "PPC", "PPC", "PPC", "0", "PPC::VRSAVE", "PPC::CR2", "PPC::CR4", "PPC::X2", "PPC::R2", "PPC", "PPC", "PPC::MFCR", "PPC::R12", "PPC::STW", "PPC::R12", "PPC::MTVSRD" ]
PPCFrameLowering3
spillCalleeSavedRegisters
PowerPC
CPU
LLVM
19,028
508
1
[]
[ "<s>", "MachineRegisterInfo", "&", "getRegInfo", "(", "Block", "&", "MBB", ")", "{", "return", "MBB", ".", "getParent", "(", ")", "->", "getRegInfo", "(", ")", ";", "}", "</s>" ]
[ "getRegInfo", "-", "Return", "information", "about", "the", "registers", "currently", "in", "use", "." ]
[ "SNES" ]
SNESExpandPseudoInsts
getRegInfo
SNES
DSP
LLVM
19,029
21
1
[]
[ "<s>", "DecodeStatus", "OR1KDisassembler", "::", "getInstruction", "(", "MCInst", "&", "instr", ",", "uint64_t", "&", "Size", ",", "const", "MemoryObject", "&", "Region", ",", "uint64_t", "Address", ",", "raw_ostream", "&", "vStream", ",", "raw_ostream", "&", ...
[ "Returns", "the", "disassembly", "of", "a", "single", "instruction", "." ]
[ "OR1K", "OR1K", "OR1K", "4" ]
OR1KDisassembler
getInstruction
OR1K
CPU
LLVM
19,030
101
1
[]
[ "<s>", "bool", "X86FrameLowering", "::", "canUseAsEpilogue", "(", "const", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "assert", "(", "MBB", ".", "getParent", "(", ")", "&&", "\"Block is not attached to a function!\"", ")", ";", "if", "(", "MBB", ".", ...
[ "Check", "whether", "or", "not", "the", "given", "MBB", "can", "be", "used", "as", "a", "epilogue", "for", "the", "target", "." ]
[ "X86", "X86", "\"Block is not attached to a function!\"", "X86" ]
X86FrameLowering81
canUseAsEpilogue
X86
CPU
LLVM
19,031
82
1
[]
[ "<s>", "void", "ARMPassConfig", "::", "addPreEmitPass", "(", ")", "{", "addPass", "(", "createThumb2SizeReductionPass", "(", ")", ")", ";", "addPass", "(", "createUnpackMachineBundles", "(", "[", "this", "]", "(", "const", "Function", "&", "F", ")", "{", "re...
[ "This", "pass", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "machine", "code", "is", "emitted", "." ]
[ "ARM", "ARM", "ARM", "ARM", "ARM" ]
ARMTargetMachine (2)1
addPreEmitPass
ARM
CPU
LLVM
19,032
74
1
[]
[ "<s>", "unsigned", "CFStack", "::", "getLoopDepth", "(", ")", "{", "return", "LoopStack", ".", "size", "(", ")", ";", "}", "</s>" ]
[ "Return", "the", "loop", "nesting", "level", "of", "the", "specified", "block", "." ]
[ "R600" ]
R600ControlFlowFinalizer
getLoopDepth
R600
GPU
LLVM
19,033
15
1
[]
[ "<s>", "ARCTargetMachine", "::", "ARCTargetMachine", "(", "const", "Target", "&", "T", ",", "const", "Triple", "&", "TT", ",", "StringRef", "CPU", ",", "StringRef", "FS", ",", "const", "TargetOptions", "&", "Options", ",", "Optional", "<", "Reloc", "::", "...
[ "ARCTargetMachine", "ctor", "-", "Create", "an", "ILP32", "architecture", "model", "." ]
[ "ARC", "ARC", "ARC", "\"e-m:e-p:32:32-i1:8:32-i8:8:32-i16:16:32-i32:32:32-\"", "\"f32:32:32-i64:32-f64:32-a:0:32-n32\"" ]
ARCTargetMachine
ARCTargetMachine
ARC
MPU
LLVM
19,034
111
1
[]
[ "<s>", "int", "m32c_hard_regno_ok", "(", "int", "regno", ",", "machine_mode", "mode", ")", "{", "return", "m32c_hard_regno_nregs_1", "(", "regno", ",", "mode", ")", "!=", "0", ";", "}", "</s>" ]
[ "Implements", "HARD_REGNO_MODE_OK", ".", "The", "above", "function", "does", "the", "work", "already", ";", "just", "test", "its", "return", "value", "." ]
[ "m32c", "0" ]
m32c3
m32c_hard_regno_ok
m32c
MPU
GCC
19,035
21
1
[]
[ "<s>", "void", "AMDGPUPassConfig", "::", "addPreSched2", "(", ")", "{", "const", "AMDGPUSubtarget", "&", "ST", "=", "TM", "->", "getSubtarget", "<", "AMDGPUSubtarget", ">", "(", ")", ";", "if", "(", "ST", ".", "getGeneration", "(", ")", "<=", "AMDGPUSubtar...
[ "This", "method", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "after", "prolog-epilog", "insertion", "and", "before", "the", "second", "instruction", "scheduling", "pass", "." ]
[ "R600", "SI" ]
AMDGPUTargetMachine35
addPreSched2
R600
GPU
LLVM
19,036
107
1
[]
[ "<s>", "SDValue", "LanaiTargetLowering", "::", "LowerReturn", "(", "SDValue", "Chain", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "IsVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "OutputArg", ">", "&", "Outs", ",", "const", "SmallVe...
[ "This", "hook", "must", "be", "implemented", "to", "lower", "outgoing", "return", "values", ",", "described", "by", "the", "Outs", "array", ",", "into", "the", "specified", "DAG", "." ]
[ "Lanai", "Lanai", "ISD::OutputArg", "16", "Lanai", "4", "1", "0", "\"Can only return in registers!\"", "1", "Lanai", "Lanai", "Lanai", "Lanai", "\"SRetReturnReg should have been set in LowerFormalArguments().\"", "Lanai::RV", "1", "Lanai::RV", "0", "LanaiISD::RET_FLAG", "MVT:...
LanaiISelLowering12
LowerReturn
Lanai
CPU
LLVM
19,037
389
1
[]
[ "<s>", "BitVector", "LC2200RegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "static", "const", "MCPhysReg", "ReservedGPR32", "[", "]", "=", "{", "LC2200", "::", "zero", ",", "LC2200", "::", "sp", ",", "LC...
[ "getReservedRegs", "-", "Returns", "a", "bitset", "indexed", "by", "physical", "register", "number", "indicating", "if", "a", "register", "is", "a", "special", "register", "that", "has", "particular", "uses", "and", "should", "be", "considered", "unavailable", "...
[ "LC2200", "LC2200", "LC2200::zero", "LC2200::sp", "LC2200::fp", "LC2200::pc" ]
LC2200RegisterInfo
getReservedRegs
LC2200
CPU
LLVM
19,038
66
1
[]
[ "<s>", "static", "void", "tilepro_asm_trampoline_template", "(", "FILE", "*", "file", ")", "{", "fprintf", "(", "file", ",", "\"\\tlnk r10\\n\"", ")", ";", "fprintf", "(", "file", ",", "\"\\taddi r10, r10, 32\\n\"", ")", ";", "fprintf", "(", "file", ",", "\...
[ "Implement", "TARGET_ASM_TRAMPOLINE_TEMPLATE", "." ]
[ "tilepro", "\"\\tlnk r10\\n\"", "\"\\taddi r10, r10, 32\\n\"", "\"\\tlwadd r11, r10, %d\\n\"", "\"\\tlw r10, r10\\n\"", "\"\\tjr r11\\n\"", "\"\\t.word 0 # <function address>\\n\"", "\"\\t.word 0 # <static chain value>\\n\"" ]
tilepro
tilepro_asm_trampoline_template
tilepro
VLIW
GCC
19,039
64
1
[]
[ "<s>", "const", "Cpu0InstrInfo", "*", "getInstrInfo", "(", ")", "const", "override", "{", "return", "&", "InstrInfo", ";", "}", "</s>" ]
[ "TargetInstrInfo", "getter", "." ]
[ "Cpu0", "Cpu0" ]
Cpu0Subtarget3
getInstrInfo
Cpu0
CPU
LLVM
19,040
14
1
[]
[ "<s>", "void", "AMDGPUAsmBackend", "::", "applyFixup", "(", "const", "MCFixup", "&", "Fixup", ",", "char", "*", "Data", ",", "unsigned", "DataSize", ",", "uint64_t", "Value", ",", "bool", "IsPCRel", ")", "const", "{", "switch", "(", "(", "unsigned", ")", ...
[ "Apply", "the", "Value", "for", "given", "Fixup", "into", "the", "provided", "data", "fragment", ",", "at", "the", "offset", "specified", "by", "the", "fixup", "and", "following", "the", "fixup", "kind", "as", "appropriate", "." ]
[ "AMDGPU", "AMDGPU", "AMDGPU::fixup_si_sopp_br", "4", "4", "AMDGPU::fixup_si_rodata", "AMDGPU::fixup_si_end_of_text", "4", "\"Invalid fixup offset!\"", "0", "8", "0xff" ]
AMDGPUAsmBackend
applyFixup
AMDGPU
GPU
LLVM
19,041
240
1
[]
[ "<s>", "unsigned", "HOST_WIDE_INT", "aarch64_and_split_imm1", "(", "HOST_WIDE_INT", "val_in", ")", "{", "int", "lowest_bit_set", "=", "ctz_hwi", "(", "val_in", ")", ";", "int", "highest_bit_set", "=", "floor_log2", "(", "val_in", ")", ";", "gcc_assert", "(", "va...
[ "Create", "mask", "of", "ones", ",", "covering", "the", "lowest", "to", "highest", "bits", "set", "in", "VAL_IN", ".", "Assumed", "precondition", ":", "VAL_IN", "Is", "not", "zero", "." ]
[ "aarch64", "0", "2" ]
aarch64
aarch64_and_split_imm1
aarch64
CPU
GCC
19,042
50
1
[]
[ "<s>", "void", "CSKYFrameLowering", "::", "emitEpilogue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "CSKYMachineFunctionInfo", "*", "CFI", "=", "MF", ".", "getInfo", "<", "CSKYMachineFunctionInfo", ">", "(", ")",...
[ "Insert", "epilog", "code", "into", "the", "function", "." ]
[ "CSKY", "CSKY", "CSKY", "CSKY", "CSKY::R14", "CSKY" ]
CSKYFrameLowering1
emitEpilogue
CSKY
CPU
LLVM
19,043
292
1
[]
[ "<s>", "static", "void", "rs6000_eliminate_indexed_memrefs", "(", "rtx", "operands", "[", "2", "]", ")", "{", "if", "(", "reload_in_progress", ")", "return", ";", "if", "(", "GET_CODE", "(", "operands", "[", "0", "]", ")", "==", "MEM", "&&", "GET_CODE", ...
[ "Helper", "for", "the", "following", ".", "Get", "rid", "of", "[", "r+r", "]", "memory", "refs", "in", "cases", "where", "it", "wo", "n't", "work", "(", "TImode", ",", "TFmode", ")", "." ]
[ "rs6000", "2", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "1", "1", "0", "1", "0", "1", "1", "1", "1", "0" ]
rs60004
rs6000_eliminate_indexed_memrefs
rs6000
CPU
GCC
19,044
172
1
[]
[ "<s>", "static", "HOST_WIDE_INT", "aarch64_simd_vector_alignment", "(", "const_tree", "type", ")", "{", "if", "(", "TREE_CODE", "(", "TYPE_SIZE", "(", "type", ")", ")", "!=", "INTEGER_CST", ")", "return", "GET_MODE_CLASS", "(", "TYPE_MODE", "(", "type", ")", "...
[ "Implement", "target", "hook", "TARGET_VECTOR_ALIGNMENT", ".", "The", "AAPCS64", "sets", "the", "maximum", "alignment", "of", "a", "vector", "to", "128", "bits", "." ]
[ "aarch64", "16", "128", "128" ]
aarch646
aarch64_simd_vector_alignment
aarch64
CPU
GCC
19,045
58
1
[]
[ "<s>", "bool", "aarch64_modes_tieable_p", "(", "machine_mode", "mode1", ",", "machine_mode", "mode2", ")", "{", "if", "(", "GET_MODE_CLASS", "(", "mode1", ")", "==", "GET_MODE_CLASS", "(", "mode2", ")", ")", "return", "true", ";", "if", "(", "TARGET_SIMD", "...
[ "Implement", "MODES_TIEABLE_P", ".", "In", "principle", "we", "should", "always", "return", "true", ".", "However", "due", "to", "issues", "with", "register", "allocation", "it", "is", "preferable", "to", "avoid", "tieing", "integer", "scalar", "and", "FP", "s...
[ "aarch64" ]
aarch642
aarch64_modes_tieable_p
aarch64
CPU
GCC
19,046
46
1
[]
[ "<s>", "const", "char", "*", "ix86_output_indirect_function_return", "(", "rtx", "ret_op", ")", "{", "if", "(", "cfun", "->", "machine", "->", "function_return_type", "!=", "indirect_branch_keep", ")", "{", "char", "thunk_name", "[", "32", "]", ";", "enum", "i...
[ "Output", "indirect", "function", "return", ".", "RET_OP", "is", "the", "function", "return", "target", "." ]
[ "i386", "32", "\"\\tjmp\\t\"", "\"%!jmp\\t%A0\"", "\"\\tint3\\n\"", "\"\"" ]
i386
ix86_output_indirect_function_return
i386
CPU
GCC
19,047
160
1
[]
[ "<s>", "bool", "aarch64_sve_ldnf1_operand_p", "(", "rtx", "op", ")", "{", "struct", "aarch64_address_info", "addr", ";", "return", "(", "MEM_P", "(", "op", ")", "&&", "aarch64_classify_address", "(", "&", "addr", ",", "XEXP", "(", "op", ",", "0", ")", ",",...
[ "Return", "true", "if", "OP", "is", "a", "valid", "MEM", "operand", "for", "an", "SVE", "LDNF1", "instruction", "." ]
[ "aarch64", "0" ]
aarch64
aarch64_sve_ldnf1_operand_p
aarch64
CPU
GCC
19,048
46
1
[]
[ "<s>", "unsigned", "X86TargetLowering", "::", "getByValTypeAlignment", "(", "Type", "*", "Ty", ")", "const", "{", "if", "(", "Subtarget", "->", "is64Bit", "(", ")", ")", "{", "unsigned", "TyAlign", "=", "TD", "->", "getABITypeAlignment", "(", "Ty", ")", ";...
[ "Return", "the", "desired", "alignment", "for", "ByVal", "aggregate", "function", "arguments", "in", "the", "caller", "parameter", "area", "." ]
[ "X86", "X86", "8", "8", "4" ]
X86ISelLowering (2)
getByValTypeAlignment
X86
CPU
LLVM
19,049
67
1
[]
[ "<s>", "void", "AArch64RegisterInfo", "::", "materializeFrameBaseRegister", "(", "MachineBasicBlock", "*", "MBB", ",", "unsigned", "BaseReg", ",", "int", "FrameIdx", ",", "int64_t", "Offset", ")", "const", "{", "MachineBasicBlock", "::", "iterator", "Ins", "=", "M...
[ "Insert", "defining", "instruction", "(", "s", ")", "for", "a", "pointer", "to", "FrameIdx", "before", "insertion", "point", "I", "." ]
[ "AArch64", "AArch64", "AArch64", "AArch64", "AArch64::ADDXri", "0", "AArch64_AM::getShifterImm", "AArch64_AM::LSL", "0" ]
AArch64RegisterInfo (2)
materializeFrameBaseRegister
AArch64
CPU
LLVM
19,050
174
1
[]
[ "<s>", "static", "rtx", "rs6000_finish_function_arg", "(", "machine_mode", "mode", ",", "rtx", "*", "rvec", ",", "int", "k", ")", "{", "gcc_assert", "(", "k", ">=", "1", ")", ";", "if", "(", "k", "==", "1", ")", "{", "if", "(", "XEXP", "(", "rvec",...
[ "RVEC", "is", "a", "vector", "of", "K", "components", "of", "an", "argument", "of", "mode", "MODE", ".", "Construct", "the", "final", "function_arg", "return", "value", "from", "it", "." ]
[ "powerpcspe", "1", "1", "0", "0", "0", "0", "0", "0" ]
powerpcspe
rs6000_finish_function_arg
powerpcspe
CPU
GCC
19,051
89
1
[]
[ "<s>", "bool", "JVMLoadStoreEliminationOpt", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MFN", ")", "{", "MF", "=", "&", "MFN", ";", "TII", "=", "static_cast", "<", "const", "JVMInstrInfo", "*", ">", "(", "MF", "->", "getSubtarget", "(", ")",...
[ "runOnMachineFunction", "-", "Emit", "the", "function", "body", "." ]
[ "JVM", "JVM", "JVM", "JVM", "\"\\n******** JVM Load/Store Elimination Optimization ********\\n\"" ]
JVMLoadStoreEliminationOpt
runOnMachineFunction
JVM
Virtual ISA
LLVM
19,052
96
1
[]
[ "<s>", "int", "alpha_split_conditional_move", "(", "enum", "rtx_code", "code", ",", "rtx", "dest", ",", "rtx", "cond", ",", "rtx", "t_rtx", ",", "rtx", "f_rtx", ")", "{", "HOST_WIDE_INT", "t", ",", "f", ",", "diff", ";", "enum", "machine_mode", "mode", "...
[ "Simplify", "a", "conditional", "move", "of", "two", "constants", "into", "a", "setcc", "with", "arithmetic", ".", "This", "is", "done", "with", "a", "splitter", "since", "combine", "would", "just", "undo", "the", "work", "if", "done", "during", "code", "g...
[ "alpha", "0", "0", "0", "8", "0", "1", "1", "4", "8", "1", "0", "0", "1" ]
alpha3
alpha_split_conditional_move
alpha
MPU
GCC
19,053
445
1
[]
[ "<s>", "bool", "SystemZAsmParser", "::", "ParseInstruction", "(", "ParseInstructionInfo", "&", "Info", ",", "StringRef", "Name", ",", "SMLoc", "NameLoc", ",", "SmallVectorImpl", "<", "MCParsedAsmOperand", "*", ">", "&", "Operands", ")", "{", "Operands", ".", "pu...
[ "ParseInstruction", "-", "Parse", "one", "assembly", "instruction", "." ]
[ "SystemZ", "SystemZ", "SystemZ", "\"unexpected token in argument list\"" ]
SystemZAsmParser10
ParseInstruction
SystemZ
CPU
LLVM
19,054
164
1
[]
[ "<s>", "static", "int", "get_vsel_insn", "(", "enum", "machine_mode", "mode", ")", "{", "switch", "(", "mode", ")", "{", "case", "V4SImode", ":", "return", "UNSPEC_VSEL4SI", ";", "break", ";", "case", "V4SFmode", ":", "return", "UNSPEC_VSEL4SF", ";", "break"...
[ "Return", "vector", "select", "instruction", "for", "MODE", ".", "Return", "INSN_NOT_AVAILABLE", ",", "if", "valid", "insn", "doesn", "exist", "for", "given", "mode", "." ]
[ "rs6000" ]
rs60003
get_vsel_insn
rs6000
CPU
GCC
19,055
58
1
[]
[ "<s>", "struct", "xstormy16_stack_layout", "xstormy16_compute_stack_layout", "(", "void", ")", "{", "struct", "xstormy16_stack_layout", "layout", ";", "int", "regno", ";", "const", "int", "ifun", "=", "xstormy16_interrupt_function_p", "(", ")", ";", "layout", ".", "...
[ "Compute", "the", "stack", "layout", "." ]
[ "stormy16", "0", "0", "0", "2048", "1", "2048", "2048" ]
stormy163
xstormy16_compute_stack_layout
stormy16
CPU
GCC
19,056
194
1
[]
[ "<s>", "bool", "X86TargetLowering", "::", "shouldReduceLoadWidth", "(", "SDNode", "*", "Load", ",", "ISD", "::", "LoadExtType", "ExtTy", ",", "EVT", "NewVT", ")", "const", "{", "SDValue", "BasePtr", "=", "cast", "<", "LoadSDNode", ">", "(", "Load", ")", "-...
[ "Return", "true", "if", "we", "believe", "it", "is", "correct", "and", "profitable", "to", "reduce", "the", "load", "node", "to", "a", "smaller", "type", "." ]
[ "X86", "X86", "ISD::LoadExtType", "X86ISD::WrapperRIP", "0", "X86II::MO_GOTTPOFF", "0", "0", "ISD::EXTRACT_SUBVECTOR", "ISD::STORE" ]
X86ISelLowering108
shouldReduceLoadWidth
X86
CPU
LLVM
19,057
199
1
[]
[ "<s>", "void", "rs6000_secondary_reload_gpr", "(", "rtx", "reg", ",", "rtx", "mem", ",", "rtx", "scratch", ",", "bool", "store_p", ")", "{", "int", "regno", "=", "true_regnum", "(", "reg", ")", ";", "enum", "reg_class", "rclass", ";", "rtx", "addr", ";",...
[ "Convert", "reloads", "involving", "64-bit", "gprs", "and", "misaligned", "offset", "addressing", ",", "or", "multiple", "32-bit", "gprs", "and", "offsets", "that", "are", "too", "large", ",", "to", "use", "indirect", "addressing", "." ]
[ "rs6000", "\"\\nrs6000_secondary_reload_gpr, type = %s\\n\"", "\"store\"", "\"load\"", "\"reg:\\n\"", "\"mem:\\n\"", "\"scratch:\\n\"", "0", "0", "0", "1", "1", "0", "0", "0", "0", "1" ]
rs60005
rs6000_secondary_reload_gpr
rs6000
CPU
GCC
19,058
296
1
[]
[ "<s>", "bool", "AArch64LoadStoreOpt", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "Fn", ")", "{", "if", "(", "skipFunction", "(", "*", "Fn", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "Subtarget", "=", "&", "static_cast", ...
[ "runOnMachineFunction", "-", "Emit", "the", "function", "body", "." ]
[ "AArch64", "AArch64", "AArch64", "AArch64" ]
AArch64LoadStoreOptimizer17
runOnMachineFunction
AArch64
CPU
LLVM
19,059
124
1
[]
[ "<s>", "bool", "mayNeedRelaxation", "(", "const", "MCInst", "&", "Inst", ")", "const", "override", "{", "return", "false", ";", "}", "</s>" ]
[ "Check", "whether", "the", "given", "instruction", "may", "need", "relaxation", "." ]
[ "OR1K" ]
OR1KAsmBackend1
mayNeedRelaxation
OR1K
CPU
LLVM
19,060
15
1
[]
[ "<s>", "void", "function_arg_advance", "(", "CUMULATIVE_ARGS", "*", "cum", ",", "enum", "machine_mode", "mode", ",", "tree", "type", ",", "int", "named", ")", "{", "struct", "mips_arg_info", "info", ";", "mips_arg_info", "(", "cum", ",", "mode", ",", "type",...
[ "Handle", "the", "FUNCTION_ARG_ADVANCE", "macro", ".", "Update", "the", "data", "in", "CUM", "to", "advance", "over", "an", "argument", "of", "mode", "MODE", "and", "data", "type", "TYPE", ".", "TYPE", "is", "null", "for", "libcalls", "where", "that", "inf...
[ "mips", "2", "1", "2", "1", "2", "0", "0" ]
mips3
function_arg_advance
mips
CPU
GCC
19,061
151
1
[]
[ "<s>", "AlphaTargetLowering", "::", "ConstraintType", "AlphaTargetLowering", "::", "getConstraintType", "(", "const", "std", "::", "string", "&", "Constraint", ")", "const", "{", "if", "(", "Constraint", ".", "size", "(", ")", "==", "1", ")", "{", "switch", ...
[ "Given", "a", "constraint", "letter", ",", "return", "the", "type", "of", "constraint", "for", "this", "target", "." ]
[ "Alpha", "Alpha", "Alpha", "1", "0" ]
AlphaISelLowering1
getConstraintType
Alpha
MPU
LLVM
19,062
59
1
[]
[ "<s>", "static", "std", "::", "string", "toString", "(", "const", "APFloat", "&", "FP", ")", "{", "if", "(", "FP", ".", "isNaN", "(", ")", "&&", "!", "FP", ".", "bitwiseIsEqual", "(", "APFloat", "::", "getQNaN", "(", "FP", ".", "getSemantics", "(", ...
[ "Convert", "to", "a", "decimal", "representation", "in", "a", "string", "." ]
[ "WebAssembly", "\"-\"", "\"\"", "\"nan:0x\"", "32", "0x007fffff", "0x000fffffffffffff", "128", "0", "0" ]
WebAssemblyInstPrinter1
toString
WebAssembly
Virtual ISA
LLVM
19,063
170
1
[]
[ "<s>", "SDValue", "WebAssemblyTargetLowering", "::", "LowerOperation", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"unimplemente...
[ "LowerOperation", "-", "Provide", "custom", "lowering", "hooks", "for", "some", "operations", "." ]
[ "WebAssembly", "WebAssembly", "\"unimplemented operation lowering\"", "ISD::GlobalAddress" ]
WebAssemblyISelLowering57
LowerOperation
WebAssembly
Virtual ISA
LLVM
19,064
50
1
[]
[ "<s>", "static", "int", "ia64_arg_partial_bytes", "(", "cumulative_args_t", "cum_v", ",", "machine_mode", "mode", ",", "tree", "type", ",", "bool", "named", "ATTRIBUTE_UNUSED", ")", "{", "CUMULATIVE_ARGS", "*", "cum", "=", "get_cumulative_args", "(", "cum_v", ")",...
[ "Return", "number", "of", "bytes", ",", "at", "the", "beginning", "of", "the", "argument", ",", "that", "must", "be", "put", "in", "registers", ".", "0", "is", "the", "argument", "is", "entirely", "in", "registers", "or", "entirely", "in", "memory", "." ...
[ "ia64", "0", "0" ]
ia644
ia64_arg_partial_bytes
ia64
CPU
GCC
19,065
91
1
[]
[ "<s>", "static", "tree", "aarch64_build_builtin_va_list", "(", "void", ")", "{", "tree", "va_list_name", ";", "tree", "f_stack", ",", "f_grtop", ",", "f_vrtop", ",", "f_groff", ",", "f_vroff", ";", "va_list_type", "=", "lang_hooks", ".", "types", ".", "make_ty...
[ "Implement", "TARGET_BUILD_BUILTIN_VA_LIST", ".", "Return", "the", "type", "to", "use", "as", "__builtin_va_list", ".", "AAPCS64", "\\S", "7.1.4", "requires", "that", "va_list", "be", "a", "typedef", "for", "a", "type", "defined", "as", ":", "struct", "__va_list...
[ "aarch64", "\"__va_list\"", "1", "\"__stack\"", "\"__gr_top\"", "\"__vr_top\"", "\"__gr_offs\"", "\"__vr_offs\"", "1", "1", "1", "1", "1" ]
aarch64
aarch64_build_builtin_va_list
aarch64
CPU
GCC
19,066
271
1
[]
[ "<s>", "virtual", "bool", "addPreSched2", "(", ")", "{", "addPass", "(", "createPatmosPMLProfileImport", "(", "getPatmosTargetMachine", "(", ")", ")", ")", ";", "if", "(", "PatmosSinglePathInfo", "::", "isEnabled", "(", ")", ")", "{", "addPass", "(", "createPa...
[ "This", "method", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "after", "prolog-epilog", "insertion", "and", "before", "the", "second", "instruction", "scheduling", "pass", "." ]
[ "Patmos", "Patmos", "Patmos", "Patmos", "Patmos", "Patmos", "Patmos", "Patmos", "Patmos", "Patmos", "Patmos", "Patmos", "Patmos", "Patmos", "Patmos" ]
PatmosTargetMachine
addPreSched2
Patmos
VLIW
LLVM
19,067
144
1
[]
[ "<s>", "static", "int", "sh_pr_n_sets", "(", "void", ")", "{", "return", "DF_REG_DEF_COUNT", "(", "PR_REG", ")", ";", "}", "</s>" ]
[ "For", "use", "by", "ALLOCATE_INITIAL_VALUE", ".", "Note", "that", "sh.md", "contains", "some", "'special", "function", "'", "patterns", "(", "type", "sfunc", ")", "that", "clobber", "pr", ",", "but", "that", "do", "not", "look", "like", "function", "calls",...
[ "sh" ]
sh
sh_pr_n_sets
sh
CPU
GCC
19,068
14
1
[]
[ "<s>", "bool", "RISCVGatherScatterLowering", "::", "runOnFunction", "(", "Function", "&", "F", ")", "{", "if", "(", "skipFunction", "(", "F", ")", ")", "return", "false", ";", "auto", "&", "TPC", "=", "getAnalysis", "<", "TargetPassConfig", ">", "(", ")", ...
[ "runOnFunction", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "do", "the", "per-function", "processing", "of", "the", "pass", "." ]
[ "RISCV", "RISCV", "RISCV", "RISCV", "4", "4", "Intrinsic::masked_gather", "Intrinsic::masked_scatter", "0", "0", "1", "0", "1", "2" ]
RISCVGatherScatterLowering3
runOnFunction
RISCV
CPU
LLVM
19,069
356
1
[]
[ "<s>", "UPTSubtarget", "&", "UPTSubtarget", "::", "initializeSubtargetDependencies", "(", "StringRef", "CPU", ",", "StringRef", "FS", ")", "{", "std", "::", "string", "CPUName", "=", "CPU", ";", "if", "(", "CPUName", ".", "empty", "(", ")", ")", "CPUName", ...
[ "initializeSubtargetDependencies", "-", "Initializes", "using", "a", "CPU", ",", "a", "TuneCPU", ",", "and", "feature", "string", "so", "that", "we", "can", "use", "initializer", "lists", "for", "subtarget", "initialization", "." ]
[ "UPT", "UPT", "UPT", "\"generic-upt\"" ]
UPTSubtarget
initializeSubtargetDependencies
UPT
CPU
LLVM
19,070
44
1
[]
[ "<s>", "void", "PPCInstPrinter", "::", "printInst", "(", "const", "MCInst", "*", "MI", ",", "raw_ostream", "&", "O", ",", "StringRef", "Annot", ")", "{", "if", "(", "MI", "->", "getOpcode", "(", ")", "==", "PPC", "::", "RLWINM", ")", "{", "unsigned", ...
[ "Print", "the", "specified", "MCInst", "to", "the", "specified", "raw_ostream", "." ]
[ "PowerPC", "PPC", "PPC::RLWINM", "2", "3", "4", "31", "0", "31", "\"\\tslwi \"", "31", "32", "31", "\"\\tsrwi \"", "32", "0", "\", \"", "1", "\", \"", "PPC::OR", "PPC::OR8", "1", "2", "\"\\tmr \"", "0", "\", \"", "1", "PPC::RLDICR", "2", "3", "63", "\"\\...
PPCInstPrinter1
printInst
PowerPC
CPU
LLVM
19,071
388
1
[]
[ "<s>", "unsigned", "getExceptionSelectorRegister", "(", "const", "Constant", "*", "PersonalityFn", ")", "const", "override", "{", "return", "AArch64", "::", "X1", ";", "}", "</s>" ]
[ "If", "a", "physical", "register", ",", "this", "returns", "the", "register", "that", "receives", "the", "exception", "typeid", "on", "entry", "to", "a", "landing", "pad", "." ]
[ "AArch64", "AArch64::X1" ]
AArch64ISelLowering (2)
getExceptionSelectorRegister
AArch64
CPU
LLVM
19,072
17
1
[]
[ "<s>", "void", "WebAssemblyTargetAsmStreamer", "::", "emitImportName", "(", "const", "MCSymbolWasm", "*", "Sym", ",", "StringRef", "ImportName", ")", "{", "OS", "<<", "\"\\t.import_name\\t\"", "<<", "Sym", "->", "getName", "(", ")", "<<", "\", \"", "<<", "Import...
[ ".import_name" ]
[ "WebAssembly", "WebAssembly", "\"\\t.import_name\\t\"", "\", \"" ]
WebAssemblyTargetStreamer12
emitImportName
WebAssembly
Virtual ISA
LLVM
19,073
31
1
[]
[ "<s>", "bool", "BlackfinTargetLowering", "::", "isOffsetFoldingLegal", "(", "const", "GlobalAddressSDNode", "*", "GA", ")", "const", "{", "return", "false", ";", "}", "</s>" ]
[ "Return", "true", "if", "folding", "a", "constant", "offset", "with", "the", "given", "GlobalAddress", "is", "legal", "." ]
[ "Blackfin" ]
BlackfinISelLowering
isOffsetFoldingLegal
Blackfin
DSP
LLVM
19,074
16
1
[]
[ "<s>", "Value", "*", "AArch64TargetLowering", "::", "getIRStackGuard", "(", "IRBuilder", "<", ">", "&", "IRB", ")", "const", "{", "if", "(", "!", "Subtarget", "->", "isTargetAndroid", "(", ")", ")", "return", "TargetLowering", "::", "getIRStackGuard", "(", "...
[ "If", "the", "target", "has", "a", "standard", "location", "for", "the", "stack", "protector", "cookie", ",", "returns", "the", "address", "of", "that", "location", "." ]
[ "AArch64", "AArch64", "0x28", "Intrinsic::getDeclaration", "Intrinsic::thread_pointer", "0" ]
AArch64ISelLowering (2)
getIRStackGuard
AArch64
CPU
LLVM
19,075
107
1
[]
[ "<s>", "void", "LC2200AsmBackend", "::", "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", "." ]
[ "LC2200", "LC2200", "1" ]
LC2200AsmBackend
applyFixup
LC2200
CPU
LLVM
19,076
46
1
[]
[ "<s>", "static", "bool", "rs6000_reg_live_or_pic_offset_p", "(", "int", "reg", ")", "{", "return", "(", "(", "(", "crtl", "->", "calls_eh_return", "||", "df_regs_ever_live_p", "(", "reg", ")", ")", "&&", "(", "!", "call_used_regs", "[", "reg", "]", "||", "...
[ "Determine", "whether", "the", "gp", "REG", "is", "really", "used", "." ]
[ "rs6000", "0" ]
rs60004
rs6000_reg_live_or_pic_offset_p
rs6000
CPU
GCC
19,077
75
1
[]
[ "<s>", "TargetPassConfig", "*", "LC3bTargetMachine", "::", "createPassConfig", "(", "PassManagerBase", "&", "PM", ")", "{", "return", "new", "LC3bPassConfig", "(", "this", ",", "PM", ")", ";", "}", "</s>" ]
[ "Create", "a", "pass", "configuration", "object", "to", "be", "used", "by", "addPassToEmitX", "methods", "for", "generating", "a", "pipeline", "of", "CodeGen", "passes", "." ]
[ "LC3b", "LC3b", "LC3b" ]
LC3bTargetMachine
createPassConfig
LC3b
CPU
LLVM
19,078
21
1
[]
[ "<s>", "unsigned", "X86InstrInfo", "::", "isLoadFromStackSlotPostFE", "(", "const", "MachineInstr", "&", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "unsigned", "Dummy", ";", "if", "(", "isFrameLoadOpcode", "(", "MI", ".", "getOpcode", "(", ")", ...
[ "isLoadFromStackSlotPostFE", "-", "Check", "for", "post-frame", "ptr", "elimination", "stack", "locations", "as", "well", "." ]
[ "X86", "X86", "0" ]
X86InstrInfo
isLoadFromStackSlotPostFE
X86
CPU
LLVM
19,079
72
1
[]
[ "<s>", "static", "rtx", "m68k_call_tls_get_addr", "(", "rtx", "x", ",", "rtx", "eqv", ",", "enum", "m68k_reloc", "reloc", ")", "{", "rtx", "a0", ";", "rtx_insn", "*", "insns", ";", "rtx", "dest", ";", "start_sequence", "(", ")", ";", "x", "=", "m68k_wr...
[ "Emit", "instruction", "sequence", "that", "calls", "__tls_get_addr", ".", "X", "is", "the", "TLS", "symbol", "we", "are", "referencing", "and", "RELOC", "is", "the", "symbol", "type", "to", "use", "(", "either", "TLSGD", "or", "TLSLDM", ")", ".", "EQV", ...
[ "m68k", "1" ]
m68k4
m68k_call_tls_get_addr
m68k
MPU
GCC
19,080
112
1
[]
[ "<s>", "bool", "SITargetLowering", "::", "allowsMisalignedMemoryAccesses", "(", "EVT", "VT", ",", "unsigned", "AddrSpace", ",", "unsigned", "Align", ",", "bool", "*", "IsFast", ")", "const", "{", "if", "(", "IsFast", ")", "*", "IsFast", "=", "false", ";", ...
[ "Returns", "true", "if", "the", "target", "allows", "unaligned", "memory", "accesses", "of", "the", "specified", "type", "." ]
[ "AMDGPU", "SI", "MVT::Other", "MVT::Other", "1024", "16", "AMDGPU", "AMDGPU", "4", "0", "AMDGPU", "AMDGPU", "AMDGPU", "AMDGPU", "4", "0", "MVT::i32", "MVT::i32", "4", "0" ]
SIISelLowering17
allowsMisalignedMemoryAccesses
AMDGPU
GPU
LLVM
19,081
219
1
[]
[ "<s>", "SDValue", "SPUTargetLowering", "::", "LowerOperation", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "{", "unsigned", "Opc", "=", "(", "unsigned", ")", "Op", ".", "getOpcode", "(", ")", ";", "EVT", "VT", "=", "Op", ".", "getValueTyp...
[ "LowerOperation", "-", "Provide", "custom", "lowering", "hooks", "for", "some", "operations", "." ]
[ "CellSPU", "SPU", "\"SPUTargetLowering::LowerOperation(): need to lower this!\\n\"", "\"Op.getOpcode() = \"", "\"\\n\"", "\"*Op.getNode():\\n\"", "0", "ISD::LOAD", "ISD::EXTLOAD", "ISD::SEXTLOAD", "ISD::ZEXTLOAD", "SPU", "ISD::STORE", "SPU", "ISD::ConstantPool", "SPU", "ISD::GlobalAd...
SPUISelLowering8
LowerOperation
CellSPU
MPU
LLVM
19,082
478
1
[]
[ "<s>", "static", "void", "ix86_emit_restore_regs_using_mov", "(", "rtx", "pointer", ",", "HOST_WIDE_INT", "offset", ",", "int", "maybe_eh_return", ")", "{", "int", "regno", ";", "rtx", "base_address", "=", "gen_rtx_MEM", "(", "Pmode", ",", "pointer", ")", ";", ...
[ "Emit", "code", "to", "restore", "saved", "registers", "using", "MOV", "insns", ".", "First", "register", "is", "restored", "from", "POINTER", "+", "OFFSET", "." ]
[ "i386", "0", "3", "0" ]
i3863
ix86_emit_restore_regs_using_mov
i386
CPU
GCC
19,083
139
1
[]
[ "<s>", "void", "AMDGPUDAGToDAGISel", "::", "PreprocessISelDAG", "(", ")", "{", "MachineFrameInfo", "&", "MFI", "=", "CurDAG", "->", "getMachineFunction", "(", ")", ".", "getFrameInfo", "(", ")", ";", "for", "(", "int", "I", "=", "MFI", ".", "getObjectIndexBe...
[ "PreprocessISelDAG", "-", "This", "hook", "allows", "targets", "to", "hack", "on", "the", "graph", "before", "instruction", "selection", "starts", "." ]
[ "AMDGPU", "AMDGPU", "MVT::i32", "ISD::AssertZext", "0", "ISD::STORE", "2", "1", "8", "0", "AMDGPU::V_MOV_B32_e32", "MVT::i32", "0" ]
AMDGPUISelDAGToDAG82
PreprocessISelDAG
AMDGPU
GPU
LLVM
19,084
333
1
[]
[ "<s>", "static", "int", "rename_dest", "(", "tag_insn_info", "*", "insn_info", ",", "tag_map_t", "&", "tag_map", ")", "{", "struct", "du_chain", "*", "chain", "=", "NULL", ";", "du_head_p", "head", "=", "NULL", ";", "int", "i", ";", "unsigned", "dest_regno...
[ "Go", "through", "the", "def/use", "chains", "for", "the", "register", "and", "find", "the", "chain", "for", "this", "insn", "to", "rename", ".", "The", "function", "returns", "the", "hard", "register", "number", "in", "case", "of", "a", "successful", "ren...
[ "aarch64", "1", "0", "1" ]
falkor-tag-collision-avoidance
rename_dest
aarch64
CPU
GCC
19,085
167
1
[]
[ "<s>", "static", "bool", "avr_return_in_memory", "(", "tree", "type", ",", "tree", "fntype", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "TYPE_MODE", "(", "type", ")", "==", "BLKmode", ")", "{", "HOST_WIDE_INT", "size", "=", "int_size_in_bytes", "(", "type", ")...
[ "Worker", "function", "for", "TARGET_RETURN_IN_MEMORY", "." ]
[ "avr", "1", "8" ]
avr3
avr_return_in_memory
avr
MPU
GCC
19,086
48
1
[]
[ "<s>", "bool", "MipsAsmPrinter", "::", "PrintAsmMemoryOperand", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpNum", ",", "unsigned", "AsmVariant", ",", "const", "char", "*", "ExtraCode", ",", "raw_ostream", "&", "O", ")", "{", "assert", "(", "...
[ "Print", "the", "specified", "operand", "of", "MI", ",", "an", "INLINEASM", "instruction", ",", "using", "the", "specified", "assembler", "variant", "as", "an", "address", "." ]
[ "Mips", "Mips", "1", "\"Insufficient operands\"", "1", "\"Unexpected base pointer for inline asm memory operand.\"", "\"Unexpected offset for inline asm memory operand.\"", "0", "4", "4", "4", "\"($\"", "Mips", "\")\"" ]
MipsAsmPrinter25
PrintAsmMemoryOperand
Mips
CPU
LLVM
19,087
185
1
[]
[ "<s>", "void", "Thumb1InstrInfo", "::", "loadRegFromStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "unsigned", "DestReg", ",", "int", "FI", ",", "const", "TargetRegisterClass", "*", "RC", ",", "const", "Ta...
[ "Load", "the", "specified", "register", "of", "the", "given", "register", "class", "from", "the", "specified", "stack", "frame", "index", "." ]
[ "ARM", "ARM::tGPRRegisterClass", "ARM", "\"Unknown regclass!\"", "ARM::tGPRRegisterClass", "ARM", "ARM::tLDRspi", "0" ]
Thumb1InstrInfo4
loadRegFromStackSlot
ARM
CPU
LLVM
19,088
197
1
[]
[ "<s>", "void", "rvexTargetObjectFile", "::", "Initialize", "(", "MCContext", "&", "Ctx", ",", "const", "TargetMachine", "&", "TM", ")", "{", "TargetLoweringObjectFileELF", "::", "Initialize", "(", "Ctx", ",", "TM", ")", ";", "SmallDataSection", "=", "getContext"...
[ "This", "method", "must", "be", "called", "before", "any", "actual", "lowering", "is", "done", "." ]
[ "rvex", "rvex", "\".sdata\"", "\".sbss\"" ]
rvexTargetObjectFile
Initialize
rvex
VLIW
LLVM
19,089
83
1
[]
[ "<s>", "bool", "MipsAsmParser", "::", "processInstruction", "(", "MCInst", "&", "Inst", ",", "SMLoc", "IDLoc", ",", "SmallVectorImpl", "<", "MCInst", ">", "&", "Instructions", ")", "{", "const", "MCInstrDesc", "&", "MCID", "=", "getInstDesc", "(", "Inst", "....
[ "Process", "a", "single", "instruction", "and", "collect", "debug", "info", "anchors", "." ]
[ "Mips", "Mips", "Mips::SLL", "Mips::ZERO", "Mips::ZERO", "0", "0", "32768", "32767" ]
MipsAsmParser64
processInstruction
Mips
CPU
LLVM
19,090
405
1
[]
[ "<s>", "void", "fr30_expand_epilogue", "(", "void", ")", "{", "int", "regno", ";", "gcc_assert", "(", "current_frame_info", ".", "initialised", ")", ";", "if", "(", "current_frame_info", ".", "frame_size", ">", "0", ")", "{", "if", "(", "current_frame_info", ...
[ "Called", "after", "register", "allocation", "to", "add", "any", "instructions", "needed", "for", "the", "epilogue", ".", "Using", "an", "epilogue", "insn", "is", "favored", "compared", "to", "putting", "all", "of", "the", "instructions", "in", "output_function_...
[ "fr30", "0", "0", "508", "0", "1" ]
fr30
fr30_expand_epilogue
fr30
DSP
GCC
19,091
213
1
[]
[ "<s>", "static", "parallel", "*", "nvptx_discover_pars", "(", "bb_insn_map_t", "*", "map", ")", "{", "basic_block", "block", ";", "block", "=", "EXIT_BLOCK_PTR_FOR_FN", "(", "cfun", ")", ";", "block", "->", "flags", "|=", "BB_VISITED", ";", "block", "=", "EN...
[ "See", "also", "'gcc/omp-oacc-neuter-broadcast.cc", ":", "omp_sese_discover_pars", "'", "." ]
[ "nvptx", "0", "\"\\nLoops\\n\"", "0", "\"\\n\"" ]
nvptx
nvptx_discover_pars
nvptx
GPU
GCC
19,092
84
1
[]
[ "<s>", "static", "bool", "dep_between_memop_and_curr", "(", "rtx", "memop", ")", "{", "rtx", "load_reg", ";", "int", "opno", ";", "gcc_assert", "(", "GET_CODE", "(", "memop", ")", "==", "SET", ")", ";", "if", "(", "!", "REG_P", "(", "SET_DEST", "(", "m...
[ "Check", "if", "there", "is", "a", "register", "dependency", "between", "a", "load", "and", "the", "insn", "for", "which", "we", "hold", "recog_data", "." ]
[ "aarch64", "1" ]
aarch64
dep_between_memop_and_curr
aarch64
CPU
GCC
19,093
93
1
[]
[ "<s>", "int", "hard_regno_mode_ok", "(", "int", "regno", ",", "enum", "machine_mode", "mode", ")", "{", "enum", "reg_class", "class", "=", "REGNO_REG_CLASS", "(", "regno", ")", ";", "if", "(", "mode", "==", "CCmode", ")", "return", "0", ";", "if", "(", ...
[ "Value", "is", "1", "if", "hard", "register", "REGNO", "can", "hold", "a", "value", "of", "machine-mode", "MODE", "." ]
[ "bfin", "0", "1" ]
bfin2
hard_regno_mode_ok
bfin
DSP
GCC
19,094
98
1
[]
[ "<s>", "bool", "ARM64CollectLOH", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "const", "TargetMachine", "&", "TM", "=", "MF", ".", "getTarget", "(", ")", ";", "const", "TargetRegisterInfo", "*", "TRI", "=", "TM", ".", "getRegis...
[ "runOnMachineFunction", "-", "Emit", "the", "function", "body", "." ]
[ "ARM64", "ARM64", "ARM64", "ARM64", "ARM64", "ARM64", "\"No MachineFunctionInfo for this function!\"", "\"Looking for LOH in \"", "ARM64", "ARM64", "ARM64::COPY", "\"ADRP reaching defs\\n\"", "ARM64", "\"All reaching defs\\n\"", "ARM64" ]
ARM64CollectLOH
runOnMachineFunction
ARM64
CPU
LLVM
19,095
342
1
[]
[ "<s>", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"Remove sign extends\"", ";", "}", "</s>" ]
[ "getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "." ]
[ "Hexagon", "\"Remove sign extends\"" ]
HexagonOptimizeSZextends (2)
getPassName
Hexagon
DSP
LLVM
19,096
11
1
[]
[ "<s>", "void", "ARMConstantIslands", "::", "verify", "(", ")", "{", "assert", "(", "std", "::", "is_sorted", "(", "MF", "->", "begin", "(", ")", ",", "MF", "->", "end", "(", ")", ",", "[", "this", "]", "(", "const", "MachineBasicBlock", "&", "LHS", ...
[ "Check", "if", "this", "register", "bank", "is", "valid", "." ]
[ "ARM", "ARM", "\"Verifying \"", "\" CP users.\\n\"", "0", "2", "\"OK\\n\"", "\"Out of range.\\n\"", "\"Constant pool entry out of range!\"" ]
ARMConstantIslandPass
verify
ARM
CPU
LLVM
19,097
199
1
[]
[ "<s>", "static", "bool", "reg_used_in_mem_p", "(", "int", "regno", ",", "rtx", "x", ")", "{", "enum", "rtx_code", "code", "=", "GET_CODE", "(", "x", ")", ";", "int", "i", ",", "j", ";", "const", "char", "*", "fmt", ";", "if", "(", "code", "==", "...
[ "Returns", "true", "if", "register", "REGNO", "is", "used", "for", "forming", "a", "memory", "address", "in", "expression", "X", "." ]
[ "s390", "1", "0", "0", "1", "0", "1", "0", "0" ]
s3903
reg_used_in_mem_p
s390
MPU
GCC
19,098
203
1
[]
[ "<s>", "bool", "RISCVMergeBaseOffsetOpt", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "Fn", ")", "{", "if", "(", "skipFunction", "(", "Fn", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "ST", "=", "&", "Fn", ".", "getSubtar...
[ "runOnMachineFunction", "-", "Emit", "the", "function", "body", "." ]
[ "RISCV", "RISCV", "RISCV", "\"MBB: \"", "\"\\n\"", "\" Found lowered global address with one use: \"", "2", "\"\\n\"" ]
RISCVMergeBaseOffset4
runOnMachineFunction
RISCV
CPU
LLVM
19,099
162
1
[]