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", "AVRFrameLowering", "::", "emitEpilogue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "CallingConv", "::", "ID", "CallConv", "=", "MF", ".", "getFunction", "(", ")", "->", "getCallingConv", "(", ...
[ "Insert", "epilog", "code", "into", "the", "function", "." ]
[ "AVR", "AVR", "AVR", "AVR", "\"Can only insert epilog into returning blocks\"", "AVR", "AVR", "AVR", "AVR", "AVR", "AVR::POPRd", "AVR::R0", "AVR::OUTARr", "0x3f", "AVR::R0", "AVR::POPWRd", "AVR::R1R0", "AVR::POPRd", "AVR::POPWRd", "6", "AVR::ADIWRdK", "AVR::SUBIWRdK", "AV...
AVRFrameLowering12
emitEpilogue
AVR
MPU
LLVM
21,500
437
1
[]
[ "<s>", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "override", "{", "AU", ".", "addRequired", "<", "AssumptionCacheTracker", ">", "(", ")", ";", "AU", ".", "addRequired", "<", "LegacyDivergenceAnalysis", ">", "(", ")", ";", "AU...
[ "getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "." ]
[ "AMDGPU" ]
AMDGPUCodeGenPrepare (2)
getAnalysisUsage
AMDGPU
GPU
LLVM
21,501
35
1
[]
[ "<s>", "bool", "fusion_gpr_load_p", "(", "rtx", "addis_reg", ",", "rtx", "addis_value", ",", "rtx", "target", ",", "rtx", "mem", ")", "{", "rtx", "addr", ";", "rtx", "base_reg", ";", "if", "(", "!", "base_reg_operand", "(", "addis_reg", ",", "GET_MODE", ...
[ "Return", "true", "if", "the", "peephole2", "can", "combine", "a", "load", "involving", "a", "combination", "of", "an", "addis", "instruction", "and", "a", "load", "with", "an", "offset", "that", "can", "be", "fused", "together", "on", "a", "power8", "." ]
[ "powerpcspe", "0", "0", "2", "0" ]
powerpcspe
fusion_gpr_load_p
powerpcspe
CPU
GCC
21,502
231
1
[]
[ "<s>", "bool", "requiresRegisterScavenging", "(", "const", "MachineFunction", "&", "MF", ")", "const", "override", "{", "return", "true", ";", "}", "</s>" ]
[ "Returns", "true", "if", "the", "target", "requires", "(", "and", "can", "make", "use", "of", ")", "the", "register", "scavenger", "." ]
[ "RISCV" ]
RISCVRegisterInfo (2)
requiresRegisterScavenging
RISCV
CPU
LLVM
21,503
15
1
[]
[ "<s>", "SDValue", "MipsTargetLowering", "::", "LowerCallResult", "(", "SDValue", "Chain", ",", "SDValue", "InFlag", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "isVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "InputArg", ">", "&", "I...
[ "LowerCallResult", "-", "Lower", "the", "result", "values", "of", "an", "ISD", ":", ":CALL", "into", "the", "appropriate", "copies", "out", "of", "appropriate", "physical", "registers", "." ]
[ "Mips", "Mips", "ISD::InputArg", "16", "Mips", "0", "1", "2", "0" ]
MipsISelLowering115
LowerCallResult
Mips
CPU
LLVM
21,504
163
1
[]
[ "<s>", "bool", "NVPTXPassConfig", "::", "addInstSelector", "(", ")", "{", "const", "NVPTXSubtarget", "&", "ST", "=", "getTM", "<", "NVPTXTargetMachine", ">", "(", ")", ".", "getSubtarget", "<", "NVPTXSubtarget", ">", "(", ")", ";", "addPass", "(", "createLow...
[ "addInstSelector", "-", "This", "method", "should", "install", "an", "instruction", "selector", "pass", ",", "which", "converts", "from", "LLVM", "code", "to", "machine", "instructions", "." ]
[ "NVPTX", "NVPTX", "NVPTX", "NVPTX", "NVPTX", "NVPTX", "NVPTX", "NVPTX" ]
NVPTXTargetMachine1
addInstSelector
NVPTX
GPU
LLVM
21,505
74
1
[]
[ "<s>", "void", "Mips16FrameLowering", "::", "eliminateCallFramePseudoInstr", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ")", "const", "{", "if", "(", "!", "hasReservedCallFrame", "(", "...
[ "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", ")", "." ]
[ "Mips", "Mips", "0", "Mips::ADJCALLSTACKDOWN", "Mips", "Mips", "Mips::SP" ]
Mips16FrameLowering10
eliminateCallFramePseudoInstr
Mips
CPU
LLVM
21,506
104
1
[]
[ "<s>", "static", "bool", "ia64_vectorize_vec_perm_const_ok", "(", "machine_mode", "vmode", ",", "const", "unsigned", "char", "*", "sel", ")", "{", "struct", "expand_vec_perm_d", "d", ";", "unsigned", "int", "i", ",", "nelt", ",", "which", ";", "bool", "ret", ...
[ "Implement", "targetm.vectorize.vec_perm_const_ok", "." ]
[ "ia64", "0", "2", "1", "2", "2", "0", "3", "1", "2", "3" ]
ia644
ia64_vectorize_vec_perm_const_ok
ia64
CPU
GCC
21,507
228
1
[]
[ "<s>", "bool", "FPGATTIImpl", "::", "hasBranchDivergence", "(", ")", "{", "return", "true", ";", "}", "</s>" ]
[ "Return", "true", "if", "branch", "divergence", "exists", "." ]
[ "FPGA", "FPGA" ]
FPGATargetTransformInfo
hasBranchDivergence
FPGA
CPU
LLVM
21,508
11
1
[]
[ "<s>", "void", "emitPrologue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "override", "{", "}", "</s>" ]
[ "emitProlog/emitEpilog", "-", "These", "methods", "insert", "prolog", "and", "epilog", "code", "into", "the", "function", "." ]
[ "AMDGPU" ]
R600FrameLowering
emitPrologue
AMDGPU
GPU
LLVM
21,509
15
1
[]
[ "<s>", "const", "TargetRegisterInfo", "&", "getRegisterInfo", "(", ")", "const", "{", "return", "TRI", ";", "}", "</s>" ]
[ "getRegisterInfo", "-", "TargetInstrInfo", "is", "a", "superset", "of", "MRegister", "info", "." ]
[ "AAP" ]
AAPInstrInfo
getRegisterInfo
AAP
MPU
LLVM
21,510
12
1
[]
[ "<s>", "unsigned", "F2003fInstrInfo", "::", "removeBranch", "(", "MachineBasicBlock", "&", "MBB", ",", "int", "*", "BytesRemoved", ")", "const", "{", "assert", "(", "!", "BytesRemoved", "&&", "\"code size not handled\"", ")", ";", "MachineBasicBlock", "::", "itera...
[ "Remove", "the", "branching", "code", "at", "the", "end", "of", "the", "specific", "MBB", "." ]
[ "F2003f", "F2003f", "\"code size not handled\"", "0" ]
F2003fInstrInfo
removeBranch
F2003f
CPU
LLVM
21,511
96
1
[]
[ "<s>", "bool", "AMDGPUPassConfig", "::", "addGCPasses", "(", ")", "{", "return", "false", ";", "}", "</s>" ]
[ "addGCPasses", "-", "Add", "late", "codegen", "passes", "that", "analyze", "code", "for", "garbage", "collection", "." ]
[ "AMDGPU", "AMDGPU" ]
AMDGPUTargetMachine (2)
addGCPasses
AMDGPU
GPU
LLVM
21,512
11
1
[]
[ "<s>", "void", "ARMTargetLowering", "::", "ReplaceNodeResults", "(", "SDNode", "*", "N", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "Results", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "SDValue", "Res", ";", "switch", "(", "N", "->", "getO...
[ "ReplaceNodeResults", "-", "Replace", "the", "results", "of", "node", "with", "an", "illegal", "result", "type", "with", "new", "values", "built", "out", "of", "custom", "code", "." ]
[ "ARM", "ARM", "\"Don't know how to custom expand this!\"", "ISD::BITCAST", "ISD::SIGN_EXTEND", "ISD::ZERO_EXTEND", "ISD::SRL", "ISD::SRA", "ISD::READCYCLECOUNTER", "ISD::ATOMIC_LOAD_ADD", "ARMISD::ATOMADD64_DAG", "ISD::ATOMIC_LOAD_AND", "ARMISD::ATOMAND64_DAG", "ISD::ATOMIC_LOAD_NAND", "...
ARMISelLowering (2)1
ReplaceNodeResults
ARM
CPU
LLVM
21,513
376
1
[]
[ "<s>", "void", "HexagonInstrInfo", "::", "immediateExtend", "(", "MachineInstr", "&", "MI", ")", "const", "{", "assert", "(", "(", "isExtendable", "(", "MI", ")", "||", "isConstExtended", "(", "MI", ")", ")", "&&", "\"Instruction must be extendable\"", ")", ";...
[ "immediateExtend", "-", "Changes", "the", "instruction", "in", "place", "to", "one", "using", "an", "immediate", "extender", "." ]
[ "Hexagon", "Hexagon", "\"Instruction must be extendable\"", "\"Branch with unknown extendable field type\"", "HexagonII::HMOTF_ConstExtended" ]
HexagonInstrInfo (2)2
immediateExtend
Hexagon
DSP
LLVM
21,514
76
1
[]
[ "<s>", "MCSymbol", "*", "AArch64AsmPrinter", "::", "GetCPISymbol", "(", "unsigned", "CPID", ")", "const", "{", "if", "(", "getDataLayout", "(", ")", ".", "getLinkerPrivateGlobalPrefix", "(", ")", "[", "0", "]", ")", "return", "OutContext", ".", "GetOrCreateSym...
[ "Return", "the", "symbol", "for", "the", "specified", "constant", "pool", "entry", "." ]
[ "AArch64", "AArch64", "0", "\"CPI\"", "\"_\"", "\"CPI\"", "\"_\"" ]
AArch64AsmPrinter2
GetCPISymbol
AArch64
CPU
LLVM
21,515
91
1
[]
[ "<s>", "void", "GCNPassConfig", "::", "addPreEmitPass", "(", ")", "{", "addPass", "(", "createSIMemoryLegalizerPass", "(", ")", ")", ";", "addPass", "(", "createSIInsertWaitcntsPass", "(", ")", ")", ";", "addPass", "(", "createSIModeRegisterPass", "(", ")", ")",...
[ "This", "pass", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "machine", "code", "is", "emitted", "." ]
[ "AMDGPU", "SI", "SI", "SI", "SI", "SI", "SI" ]
AMDGPUTargetMachine1
addPreEmitPass
AMDGPU
GPU
LLVM
21,516
79
1
[]
[ "<s>", "bool", "isMicroMips", "(", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "{", "return", "STI", ".", "getFeatureBits", "(", ")", "&", "Mips", "::", "FeatureMicroMips", ";", "}", "</s>" ]
[ "Check", "whether", "a", "given", "symbol", "has", "been", "flagged", "with", "MICROMIPS", "flag", "." ]
[ "Mips", "Mips", "Mips::FeatureMicroMips" ]
MipsMCCodeEmitter20
isMicroMips
Mips
CPU
LLVM
21,517
22
1
[]
[ "<s>", "bool", "Z80PassConfig", "::", "addPreISel", "(", ")", "{", "return", "false", ";", "}", "</s>" ]
[ "{", "{", "@", "For", "GlobalISel" ]
[ "Z80", "Z80" ]
Z80TargetMachine (3)
addPreISel
Z80
MPU
LLVM
21,518
11
1
[]
[ "<s>", "unsigned", "MBlazeRegisterInfo", "::", "getPICCallReg", "(", ")", "{", "return", "MBlaze", "::", "R20", ";", "}", "</s>" ]
[ "Get", "PIC", "indirect", "call", "register", "." ]
[ "MBlaze", "MBlaze", "MBlaze::R20" ]
MBlazeRegisterInfo
getPICCallReg
MBlaze
MPU
LLVM
21,519
13
1
[]
[ "<s>", "void", "SIRegisterInfo", "::", "resolveFrameIndex", "(", "MachineInstr", "&", "MI", ",", "unsigned", "BaseReg", ",", "int64_t", "Offset", ")", "const", "{", "MachineBasicBlock", "*", "MBB", "=", "MI", ".", "getParent", "(", ")", ";", "MachineFunction",...
[ "Resolve", "a", "frame", "index", "operand", "of", "an", "instruction", "to", "reference", "the", "indicated", "base", "register", "plus", "offset", "instead", "." ]
[ "AMDGPU", "SI", "AMDGPU", "AMDGPU", "SI", "SI", "\"should not see multiple frame indices\"", "AMDGPU::OpName", "\"frame index must be address operand\"", "AMDGPU::OpName", "12", "AMDGPU::VGPR_32RegClass", "0", "\"Non-zero offset expected\"", "AMDGPU::SReg_64RegClass", "AMDGPU::V_ADD_I3...
SIRegisterInfo69
resolveFrameIndex
AMDGPU
GPU
LLVM
21,520
319
1
[]
[ "<s>", "const", "DataLayout", "*", "getDataLayout", "(", ")", "const", "override", "{", "return", "&", "DL", ";", "}", "</s>" ]
[ "Return", "the", "DataLayout", "associated", "with", "the", "module", "this", "SCEV", "instance", "is", "operating", "on", "." ]
[ "Hexagon" ]
HexagonSubtarget36
getDataLayout
Hexagon
DSP
LLVM
21,521
14
1
[]
[ "<s>", "int", "xtensa_emit_move_sequence", "(", "rtx", "*", "operands", ",", "machine_mode", "mode", ")", "{", "rtx", "src", "=", "operands", "[", "1", "]", ";", "if", "(", "CONSTANT_P", "(", "src", ")", "&&", "(", "GET_CODE", "(", "src", ")", "!=", ...
[ "Emit", "insns", "to", "move", "operands", "[", "1", "]", "into", "operands", "[", "0", "]", ".", "Return", "1", "if", "we", "have", "written", "out", "everything", "that", "needs", "to", "be", "done", "to", "do", "the", "move", ".", "Otherwise", ","...
[ "xtensa", "1", "0", "0", "0", "1", "0", "0", "1", "1", "0", "1", "1", "1", "1", "1", "1", "0", "0", "1", "1", "0" ]
xtensa4
xtensa_emit_move_sequence
xtensa
MPU
GCC
21,522
332
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...
AlphaCodeEmitter3
getMachineOpValue
Alpha
MPU
LLVM
21,523
442
1
[]
[ "<s>", "static", "rtx", "mips16e_build_save_restore", "(", "bool", "restore_p", ",", "unsigned", "int", "*", "mask_ptr", ",", "HOST_WIDE_INT", "*", "offset_ptr", ",", "unsigned", "int", "nargs", ",", "HOST_WIDE_INT", "size", ")", "{", "rtx", "pattern", ",", "s...
[ "Return", "RTL", "for", "a", "MIPS16e", "SAVE", "or", "RESTORE", "instruction", ";", "RESTORE_P", "says", "which", ".", "The", "instruction", "must", ":", "-", "Allocate", "or", "deallocate", "SIZE", "bytes", "in", "total", ";", "SIZE", "is", "known", "to"...
[ "mips", "0", "1", "0", "0", "1", "0", "0", "0", "0", "0", "0", "1", "0" ]
mips4
mips16e_build_save_restore
mips
CPU
GCC
21,524
317
1
[]
[ "<s>", "unsigned", "getEUsPerCU", "(", ")", "const", "{", "return", "AMDGPU", "::", "IsaInfo", "::", "getEUsPerCU", "(", "this", ")", ";", "}", "</s>" ]
[ "Number", "of", "SIMDs/EUs", "(", "execution", "units", ")", "per", "``", "CU", "''", "(", "``", "compute", "unit", "''", ")", ",", "where", "the", "``", "CU", "''", "is", "the", "unit", "onto", "which", "workgroups", "are", "mapped", "." ]
[ "AMDGPU", "AMDGPU::IsaInfo" ]
AMDGPUSubtarget101
getEUsPerCU
AMDGPU
GPU
LLVM
21,525
17
1
[]
[ "<s>", "bool", "SystemZPostRewrite", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "TII", "=", "static_cast", "<", "const", "SystemZInstrInfo", "*", ">", "(", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo", "(", ")", ")...
[ "runOnMachineFunction", "-", "Emit", "the", "function", "body", "." ]
[ "SystemZ", "SystemZ", "SystemZ" ]
SystemZPostRewrite
runOnMachineFunction
SystemZ
CPU
LLVM
21,526
54
1
[]
[ "<s>", "void", "WebAssemblyPassConfig", "::", "addPreEmitPass", "(", ")", "{", "TargetPassConfig", "::", "addPreEmitPass", "(", ")", ";", "addPass", "(", "createWebAssemblyNullifyDebugValueLists", "(", ")", ")", ";", "addPass", "(", "createWebAssemblyFixIrreducibleContr...
[ "This", "pass", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "machine", "code", "is", "emitted", "." ]
[ "WebAssembly", "WebAssembly", "WebAssembly", "WebAssembly", "WebAssembly", "WebAssembly", "WebAssembly", "WebAssembly", "WebAssembly", "WebAssembly", "WebAssembly", "WebAssembly", "WebAssembly", "WebAssembly", "WebAssembly", "WebAssembly", "WebAssembly", "WebAssembly" ]
WebAssemblyTargetMachine25
addPreEmitPass
WebAssembly
Virtual ISA
LLVM
21,527
170
1
[]
[ "<s>", "bool", "aarch64_mov128_immediate", "(", "rtx", "imm", ")", "{", "if", "(", "CONST_INT_P", "(", "imm", ")", ")", "return", "true", ";", "gcc_assert", "(", "CONST_WIDE_INT_NUNITS", "(", "imm", ")", "==", "2", ")", ";", "rtx", "lo", "=", "GEN_INT", ...
[ "Return", "whether", "imm", "is", "a", "128-bit", "immediate", "which", "is", "simple", "enough", "to", "expand", "inline", "." ]
[ "aarch64", "2", "0", "1", "4" ]
aarch641
aarch64_mov128_immediate
aarch64
CPU
GCC
21,528
79
1
[]
[ "<s>", "bool", "fixupNeedsRelaxation", "(", "const", "MCFixup", "&", "Fixup", ",", "uint64_t", "Value", ",", "const", "MCRelaxableFragment", "*", "DF", ",", "const", "MCAsmLayout", "&", "Layout", ")", "const", "override", "{", "llvm_unreachable", "(", "\"RelaxIn...
[ "Simple", "predicate", "for", "targets", "where", "!", "Resolved", "implies", "requiring", "relaxation", "." ]
[ "SNES", "\"RelaxInstruction() unimplemented\"" ]
SNESAsmBackend
fixupNeedsRelaxation
SNES
DSP
LLVM
21,529
33
1
[]
[ "<s>", "static", "reg_class_t", "mips_ira_change_pseudo_allocno_class", "(", "int", "regno", ",", "reg_class_t", "allocno_class", ",", "reg_class_t", "best_class", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "INTEGRAL_MODE_P", "(", "PSEUDO_REGNO_MODE", "(", "regno", ")", ...
[ "Implement", "TARGET_IRA_CHANGE_PSEUDO_ALLOCNO_CLASS", "." ]
[ "mips" ]
mips
mips_ira_change_pseudo_allocno_class
mips
CPU
GCC
21,530
36
1
[]
[ "<s>", "static", "unsigned", "int", "ix86_minimum_incoming_stack_boundary", "(", "bool", "sibcall", ")", "{", "unsigned", "int", "incoming_stack_boundary", ";", "if", "(", "ix86_user_incoming_stack_boundary", ")", "incoming_stack_boundary", "=", "ix86_user_incoming_stack_boun...
[ "Return", "minimum", "incoming", "stack", "alignment", "." ]
[ "i386", "128" ]
i3865
ix86_minimum_incoming_stack_boundary
i386
CPU
GCC
21,531
113
1
[]
[ "<s>", "static", "bool", "ix86_addr_space_zero_address_valid", "(", "addr_space_t", "as", ")", "{", "return", "as", "!=", "ADDR_SPACE_GENERIC", ";", "}", "</s>" ]
[ "All", "use", "of", "segmentation", "is", "assumed", "to", "make", "address", "0", "valid", "." ]
[ "i386" ]
i386
ix86_addr_space_zero_address_valid
i386
CPU
GCC
21,532
14
1
[]
[ "<s>", "virtual", "unsigned", "int", "execute", "(", "function", "*", ")", "{", "return", "visium_reorg", "(", ")", ";", "}", "</s>" ]
[ "Main", "entry", "point", "for", "this", "pass", "." ]
[ "visium" ]
visium
execute
visium
Virtual ISA
GCC
21,533
15
1
[]
[ "<s>", "MCObjectWriter", "*", "RISCVAsmBackend", "::", "createObjectWriter", "(", "raw_pwrite_stream", "&", "OS", ")", "const", "{", "return", "createRISCVELFObjectWriter", "(", "OS", ",", "OSABI", ",", "Is64Bit", ")", ";", "}", "</s>" ]
[ "Create", "a", "new", "MCObjectWriter", "instance", "for", "use", "by", "the", "assembler", "backend", "to", "emit", "the", "final", "object", "file", "." ]
[ "RISCV", "RISCV", "RISCV" ]
RISCVAsmBackend10
createObjectWriter
RISCV
CPU
LLVM
21,534
23
1
[]
[ "<s>", "bool", "AMDGPUCtorDtorLowering", "::", "runOnModule", "(", "Module", "&", "M", ")", "{", "bool", "Modified", "=", "false", ";", "Modified", "|=", "createInitOrFiniKernel", "(", "M", ",", "M", ".", "getGlobalVariable", "(", "\"llvm.global_ctors\"", ")", ...
[ "runOnModule", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "process", "the", "module", "being", "operated", "on", "." ]
[ "AMDGPU", "AMDGPU", "\"llvm.global_ctors\"", "\"llvm.global_dtors\"" ]
AMDGPUCtorDtorLowering
runOnModule
AMDGPU
GPU
LLVM
21,535
51
1
[]
[ "<s>", "bool", "X86TTIImpl", "::", "areInlineCompatible", "(", "const", "Function", "*", "Caller", ",", "const", "Function", "*", "Callee", ")", "const", "{", "const", "TargetMachine", "&", "TM", "=", "getTLI", "(", ")", "->", "getTargetMachine", "(", ")", ...
[ "Determine", "whether", "a", "callee", "with", "the", "given", "TLI", "can", "be", "inlined", "into", "caller", "with", "this", "TLI", ",", "based", "on", "'nobuiltin", "'", "attributes", "." ]
[ "X86", "X86" ]
X86TargetTransformInfo (2)
areInlineCompatible
X86
CPU
LLVM
21,536
74
1
[]
[ "<s>", "void", "VideoCore4FrameLowering", "::", "emitEpilogue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "VideoCore4InstrIn...
[ "Insert", "epilog", "code", "into", "the", "function", "." ]
[ "VideoCore4", "VideoCore4", "VideoCore4", "VideoCore4", "VideoCore4", "VideoCore4", "VideoCore4::RET", "\"can only insert epilog into returning blocks\"", "4" ]
VideoCore4FrameLowering
emitEpilogue
VideoCore4
DSP
LLVM
21,537
166
1
[]
[ "<s>", "void", "ix86_split_copysign_var", "(", "rtx", "operands", "[", "]", ")", "{", "machine_mode", "mode", ",", "vmode", ";", "rtx", "dest", ",", "scratch", ",", "op0", ",", "op1", ",", "mask", ",", "nmask", ",", "x", ";", "dest", "=", "operands", ...
[ "Deconstruct", "a", "copysign", "operation", "into", "bit", "masks", ".", "Operand", "0", "is", "variable", ",", "so", "we", "have", "to", "do", "two", "masks", "." ]
[ "i386", "0", "1", "2", "3", "4", "5", "0", "0", "0", "0" ]
i3865
ix86_split_copysign_var
i386
CPU
GCC
21,538
397
1
[]
[ "<s>", "void", "BPFTargetLowering", "::", "ReplaceNodeResults", "(", "SDNode", "*", "N", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "Results", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "const", "char", "*", "err_msg", ";", "uint32_t", "Opcod...
[ "ReplaceNodeResults", "-", "Replace", "the", "results", "of", "node", "with", "an", "illegal", "result", "type", "with", "new", "values", "built", "out", "of", "custom", "code", "." ]
[ "BPF", "BPF", "\"Unhandled custom legalization\"", "ISD::ATOMIC_LOAD_ADD", "ISD::ATOMIC_LOAD_AND", "ISD::ATOMIC_LOAD_OR", "ISD::ATOMIC_LOAD_XOR", "ISD::ATOMIC_SWAP", "ISD::ATOMIC_CMP_SWAP_WITH_SUCCESS", "ISD::ATOMIC_LOAD_ADD", "\"Unsupported atomic operations, please use 32/64 bit version\"", ...
BPFISelLowering1
ReplaceNodeResults
BPF
Virtual ISA
LLVM
21,539
116
1
[]
[ "<s>", "static", "rtx", "mips_expand_builtin", "(", "tree", "exp", ",", "rtx", "target", ",", "rtx", "subtarget", "ATTRIBUTE_UNUSED", ",", "machine_mode", "mode", ",", "int", "ignore", ")", "{", "tree", "fndecl", ";", "unsigned", "int", "fcode", ",", "avail"...
[ "Expand", "builtin", "functions", ".", "This", "is", "called", "from", "TARGET_EXPAND_BUILTIN", "." ]
[ "mips", "0", "0", "\"built-in function %qE not supported for MIPS16\"" ]
mips6
mips_expand_builtin
mips
CPU
GCC
21,540
255
1
[]
[ "<s>", "static", "rtx", "Fpa", "(", "rtx", "par", ")", "{", "int", "len", "=", "XVECLEN", "(", "par", ",", "0", ")", ";", "int", "i", ";", "for", "(", "i", "=", "0", ";", "i", "<", "len", ";", "i", "++", ")", "RTX_FRAME_RELATED_P", "(", "XVEC...
[ "Mark", "all", "the", "subexpressions", "of", "the", "PARALLEL", "rtx", "PAR", "as", "frame-related", ".", "Return", "PAR", ".", "dwarf2out.cc", ":", "dwarf2out_frame_debug_expr", "ignores", "sub-expressions", "of", "a", "PARALLEL", "rtx", "other", "than", "the", ...
[ "h8300", "0", "0", "0", "1" ]
h8300
Fpa
h8300
MPU
GCC
21,541
52
1
[]
[ "<s>", "TargetTransformInfo", "BPFTargetMachine", "::", "getTargetTransformInfo", "(", "const", "Function", "&", "F", ")", "{", "return", "TargetTransformInfo", "(", "BPFTTIImpl", "(", "this", ",", "F", ")", ")", ";", "}", "</s>" ]
[ "Get", "a", "TargetTransformInfo", "implementation", "for", "the", "target", "." ]
[ "BPF", "BPF", "BPF" ]
BPFTargetMachine
getTargetTransformInfo
BPF
Virtual ISA
LLVM
21,542
23
1
[]
[ "<s>", "bool", "AArch64AddressTypePromotion", "::", "runOnFunction", "(", "Function", "&", "F", ")", "{", "if", "(", "skipFunction", "(", "F", ")", ")", "return", "false", ";", "if", "(", "F", ".", "isDeclaration", "(", ")", ")", "return", "false", ";", ...
[ "runOnFunction", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "do", "the", "per-function", "processing", "of", "the", "pass", "." ]
[ "AArch64", "AArch64", "\"*** \"", "\": \"" ]
AArch64AddressTypePromotion2
runOnFunction
AArch64
CPU
LLVM
21,543
87
1
[]
[ "<s>", "const", "TargetRegisterClass", "*", "AVRRegisterInfo", "::", "getPointerRegClass", "(", "const", "MachineFunction", "&", "MF", ",", "unsigned", "Kind", ")", "const", "{", "return", "&", "AVR", "::", "PTRDISPREGSRegClass", ";", "}", "</s>" ]
[ "getPointerRegClass", "-", "Returns", "a", "TargetRegisterClass", "used", "for", "pointer", "values", "." ]
[ "AVR", "AVR", "AVR::PTRDISPREGSRegClass" ]
AVRRegisterInfo
getPointerRegClass
AVR
MPU
LLVM
21,544
24
1
[]
[ "<s>", "MachineBasicBlock", "::", "iterator", "X86FrameLowering", "::", "eliminateCallFramePseudoInstr", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ")", "const", "{", "bool", "reserveCallFr...
[ "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", ")", "." ]
[ "X86", "X86", "0", "0", "X86", "0" ]
X86FrameLowering (2)2
eliminateCallFramePseudoInstr
X86
CPU
LLVM
21,545
488
1
[]
[ "<s>", "bool", "XCoreInstrInfo", "::", "restoreCalleeSavedRegisters", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "const", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", ",", "const", "TargetRegiste...
[ "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...
[ "XCore", "XCore", "\"loadRegFromStackSlot didn't insert any code!\"" ]
XCoreInstrInfo11
restoreCalleeSavedRegisters
XCore
MPU
LLVM
21,546
172
1
[]
[ "<s>", "bool", "TVMMoveMaterializable", "::", "processInstruction", "(", "MachineInstr", "&", "MI", ")", "{", "bool", "Changed", "=", "false", ";", "auto", "Uses", "=", "reverse", "(", "MI", ".", "uses", "(", ")", ")", ";", "MachineInstr", "*", "InsertBefo...
[ "Process", "a", "single", "instruction", "and", "collect", "debug", "info", "anchors", "." ]
[ "TVM", "TVM", "TVM::isArgument", "TVM::isArgument", "TVM::isConstInt", "1", "0", "TVM::I257RegClass", "TVM::CONST_I257" ]
TVMMoveMaterializable
processInstruction
TVM
Virtual ISA
LLVM
21,547
289
1
[]
[ "<s>", "static", "rtx", "sh_function_arg", "(", "cumulative_args_t", "ca_v", ",", "machine_mode", "mode", ",", "const_tree", "type", ",", "bool", "named", ")", "{", "CUMULATIVE_ARGS", "*", "ca", "=", "get_cumulative_args", "(", "ca_v", ")", ";", "if", "(", "...
[ "Define", "where", "to", "put", "the", "arguments", "to", "a", "function", ".", "Value", "is", "zero", "to", "push", "the", "argument", "on", "the", "stack", ",", "or", "a", "hard", "register", "in", "which", "to", "store", "the", "argument", ".", "MOD...
[ "sh", "1", "1", "1", "1", "4", "2" ]
sh6
sh_function_arg
sh
CPU
GCC
21,548
261
1
[]
[ "<s>", "static", "void", "pa_output_function_epilogue", "(", "FILE", "*", "file", ",", "HOST_WIDE_INT", "size", "ATTRIBUTE_UNUSED", ")", "{", "rtx", "insn", "=", "get_last_insn", "(", ")", ";", "last_address", "=", "0", ";", "if", "(", "GET_CODE", "(", "insn...
[ "This", "function", "generates", "the", "assembly", "code", "for", "function", "exit", ".", "Args", "are", "as", "for", "output_function_prologue", "(", ")", ".", "The", "function", "epilogue", "should", "not", "depend", "on", "the", "current", "stack", "point...
[ "pa", "0", "0", "0", "\"\\tnop\\n\"", "4", "\"\\t.EXIT\\n\\t.PROCEND\\n\"", "1", "1" ]
pa3
pa_output_function_epilogue
pa
CPU
GCC
21,549
185
1
[]
[ "<s>", "unsigned", "MipsTargetLowering", "::", "getVectorTypeBreakdownForCallingConv", "(", "LLVMContext", "&", "Context", ",", "CallingConv", "::", "ID", "CC", ",", "EVT", "VT", ",", "EVT", "&", "IntermediateVT", ",", "unsigned", "&", "NumIntermediates", ",", "MV...
[ "Certain", "targets", "such", "as", "MIPS", "require", "that", "some", "types", "such", "as", "vectors", "are", "always", "broken", "down", "into", "scalars", "in", "some", "contexts", "." ]
[ "Mips", "Mips" ]
MipsISelLowering111
getVectorTypeBreakdownForCallingConv
Mips
CPU
LLVM
21,550
85
1
[]
[ "<s>", "static", "bool", "rs6000_expand_vec_perm_const_1", "(", "rtx", "target", ",", "rtx", "op0", ",", "rtx", "op1", ",", "unsigned", "char", "perm0", ",", "unsigned", "char", "perm1", ")", "{", "rtx", "x", ";", "if", "(", "(", "perm0", "&", "2", ")"...
[ "Expand", "a", "Paired", "Single", "or", "VSX", "Permute", "Doubleword", "constant", "permutation", ".", "Return", "true", "if", "we", "match", "an", "efficient", "implementation", "." ]
[ "rs6000", "2", "2", "2", "1", "1", "2", "2", "2", "2", "2", "2", "0", "2", "4", "2" ]
rs6000
rs6000_expand_vec_perm_const_1
rs6000
CPU
GCC
21,551
239
1
[]
[ "<s>", "void", "dimode_scalar_chain", "::", "convert_registers", "(", ")", "{", "bitmap_iterator", "bi", ";", "unsigned", "id", ";", "EXECUTE_IF_SET_IN_BITMAP", "(", "defs", ",", "0", ",", "id", ",", "bi", ")", "convert_reg", "(", "id", ")", ";", "EXECUTE_IF...
[ "Generate", "copies", "from", "defs", "used", "by", "the", "chain", "but", "not", "defined", "therein", ".", "Also", "populates", "defs_map", "which", "is", "used", "later", "by", "convert_insn", "." ]
[ "i386", "0", "0" ]
i3866
convert_registers
i386
CPU
GCC
21,552
46
1
[]
[ "<s>", "void", "spu_expand_atomic_op", "(", "enum", "rtx_code", "code", ",", "rtx", "mem", ",", "rtx", "val", ",", "rtx", "orig_before", ",", "rtx", "orig_after", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "mem", ")", ";", "rtx", "before", "...
[ "Expand", "an", "atomic", "fetch-and-operate", "pattern", ".", "CODE", "is", "the", "binary", "operation", "to", "perform", ".", "MEM", "is", "the", "memory", "on", "which", "to", "operate", ".", "VAL", "is", "the", "second", "operand", "of", "the", "binar...
[ "spu", "1", "1", "1" ]
spu1
spu_expand_atomic_op
spu
MPU
GCC
21,553
145
1
[]
[ "<s>", "int", "VEFrameLowering", "::", "getFrameIndexReference", "(", "const", "MachineFunction", "&", "MF", ",", "int", "FI", ",", "unsigned", "&", "FrameReg", ")", "const", "{", "const", "VESubtarget", "&", "Subtarget", "=", "MF", ".", "getSubtarget", "<", ...
[ "getFrameIndexReference", "-", "This", "method", "should", "return", "the", "base", "register", "and", "offset", "used", "to", "reference", "a", "frame", "index", "location", "." ]
[ "VE", "VE", "VE", "VE", "VE", "VE", "VE", "VE::SX11" ]
VEFrameLowering3
getFrameIndexReference
VE
CPU
LLVM
21,554
177
1
[]
[ "<s>", "BitVector", "MOSRegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "TargetFrameLowering", "*", "TFI", "=", "getFrameLowering", "(", "MF", ")", ";", "BitVector", "Reserved", "=", "this", "->", ...
[ "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", "...
[ "MOS", "MOS" ]
MOSRegisterInfo
getReservedRegs
MOS
MPU
LLVM
21,555
53
1
[]
[ "<s>", "static", "void", "predict_jump", "(", "int", "prob", ")", "{", "rtx", "insn", "=", "get_last_insn", "(", ")", ";", "gcc_assert", "(", "JUMP_P", "(", "insn", ")", ")", ";", "add_int_reg_note", "(", "insn", ",", "REG_BR_PROB", ",", "prob", ")", "...
[ "Predict", "just", "emitted", "jump", "instruction", "to", "be", "taken", "with", "probability", "PROB", "." ]
[ "i386" ]
i3864
predict_jump
i386
CPU
GCC
21,556
33
1
[]
[ "<s>", "static", "void", "avr_print_operand_address", "(", "FILE", "*", "file", ",", "machine_mode", ",", "rtx", "addr", ")", "{", "switch", "(", "GET_CODE", "(", "addr", ")", ")", "{", "case", "REG", ":", "fprintf", "(", "file", ",", "ptrreg_to_str", "(...
[ "Output", "ADDR", "to", "FILE", "as", "address", "." ]
[ "avr", "\"-%s\"", "0", "\"%s+\"", "0", "0", "1", "\"gs(\"", "0", "\"+\"", "\")\"", "2", "1", "0", "\"pointer offset from symbol maybe incorrect\"", "\"\\n\"", "\"gs(\"", "\")\"" ]
avr5
avr_print_operand_address
avr
MPU
GCC
21,557
257
1
[]
[ "<s>", "int", "ix86_data_alignment", "(", "tree", "type", ",", "int", "align", ")", "{", "if", "(", "AGGREGATE_TYPE_P", "(", "type", ")", "&&", "TYPE_SIZE", "(", "type", ")", "&&", "TREE_CODE", "(", "TYPE_SIZE", "(", "type", ")", ")", "==", "INTEGER_CST"...
[ "Compute", "the", "alignment", "for", "a", "static", "variable", ".", "TYPE", "is", "the", "data", "type", ",", "and", "ALIGN", "is", "the", "alignment", "that", "the", "object", "would", "ordinarily", "have", ".", "The", "value", "of", "this", "function",...
[ "i386", "256", "256", "256", "128", "128", "128", "64", "64", "128", "128", "64", "64", "128", "128", "64", "64", "128", "128", "64", "64", "128", "128" ]
i3863
ix86_data_alignment
i386
CPU
GCC
21,558
343
1
[]
[ "<s>", "void", "EmitInstruction", "(", "const", "MachineInstr", "*", "MI", ")", "{", "printInstruction", "(", "MI", ")", ";", "OutStreamer", ".", "AddBlankLine", "(", ")", ";", "}", "</s>" ]
[ "EmitInstruction", "-", "This", "callback", "is", "invoked", "when", "an", "instruction", "is", "emitted", ",", "to", "advance", "the", "hazard", "state", "." ]
[ "Mips" ]
MipsAsmPrinter54
EmitInstruction
Mips
CPU
LLVM
21,559
21
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" ]
ARMSubtarget12
ARMSubtarget
ARM
CPU
LLVM
21,560
428
1
[]
[ "<s>", "void", "X86InstrInfo", "::", "insertSelect", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "DebugLoc", "DL", ",", "unsigned", "DstReg", ",", "const", "SmallVectorImpl", "<", "MachineOperand", ">", "&", "Cond"...
[ "Insert", "a", "select", "instruction", "into", "MBB", "before", "I", "that", "will", "copy", "TrueReg", "to", "DstReg", "when", "Cond", "is", "true", ",", "and", "FalseReg", "to", "DstReg", "when", "Cond", "is", "false", "." ]
[ "X86", "X86", "1", "\"Invalid Cond array\"", "X86::CondCode", "0", "8" ]
X86InstrInfo47
insertSelect
X86
CPU
LLVM
21,561
123
1
[]
[ "<s>", "static", "const", "char", "*", "shift_op", "(", "rtx", "op", ",", "HOST_WIDE_INT", "*", "amountp", ")", "{", "const", "char", "*", "mnem", ";", "enum", "rtx_code", "code", "=", "GET_CODE", "(", "op", ")", ";", "switch", "(", "code", ")", "{",...
[ "Ensure", "valid", "constant", "shifts", "and", "return", "the", "appropriate", "shift", "mnemonic", "for", "the", "operation", "code", ".", "The", "returned", "result", "should", "not", "be", "overwritten", ".", "OP", "is", "the", "rtx", "code", "of", "the"...
[ "arm", "1", "\"invalid shift operand\"", "32", "1", "\"ror\"", "1", "1", "1", "1", "\"invalid shift operand\"", "1", "\"invalid shift operand\"", "1", "0xFFFFFFFF", "1", "\"invalid shift operand\"", "0", "31", "\"invalid shift operand\"", "31", "31", "\"lsr\"", "32", ...
arm
shift_op
arm
CPU
GCC
21,562
321
1
[]
[ "<s>", "static", "bool", "ix86_expand_vector_init_duplicate", "(", "bool", "mmx_ok", ",", "enum", "machine_mode", "mode", ",", "rtx", "target", ",", "rtx", "val", ")", "{", "enum", "machine_mode", "smode", ",", "wsmode", ",", "wvmode", ";", "rtx", "x", ";", ...
[ "A", "subroutine", "of", "ix86_expand_vector_init", ".", "Store", "into", "TARGET", "a", "vector", "with", "all", "elements", "equal", "to", "VAR", ".", "Return", "true", "if", "successful", "." ]
[ "i386", "1", "1" ]
i3863
ix86_expand_vector_init_duplicate
i386
CPU
GCC
21,563
346
1
[]
[ "<s>", "MVT", "getScalarShiftAmountTy", "(", "const", "DataLayout", "&", ",", "EVT", ")", "const", "override", "{", "return", "MVT", "::", "i8", ";", "}", "</s>" ]
[ "Return", "the", "type", "to", "use", "for", "a", "scalar", "shift", "opcode", ",", "given", "the", "shifted", "amount", "type", "." ]
[ "Z80", "MVT::i8" ]
Z80ISelLowering1
getScalarShiftAmountTy
Z80
MPU
LLVM
21,564
18
1
[]
[ "<s>", "ArrayRef", "<", "std", "::", "pair", "<", "unsigned", ",", "const", "char", "*", ">>", "PPCInstrInfo", "::", "getSerializableBitmaskMachineOperandTargetFlags", "(", ")", "const", "{", "using", "namespace", "PPCII", ";", "static", "const", "std", "::", ...
[ "Return", "an", "array", "that", "contains", "the", "bitmask", "target", "flag", "values", "and", "their", "names", "." ]
[ "PowerPC", "PPC", "PPC", "\"ppc-plt\"", "\"ppc-pic\"", "\"ppc-pcrel\"", "\"ppc-got\"", "\"ppc-opt-pcrel\"", "\"ppc-tlsgd\"", "\"ppc-tlsld\"", "\"ppc-tprel\"", "\"ppc-tlsgdm\"", "\"ppc-got-tlsgd-pcrel\"", "\"ppc-got-tlsld-pcrel\"", "\"ppc-got-tprel-pcrel\"" ]
PPCInstrInfo
getSerializableBitmaskMachineOperandTargetFlags
PowerPC
CPU
LLVM
21,565
120
1
[]
[ "<s>", "static", "int", "symbolic_expression_p", "(", "rtx", "x", ")", "{", "if", "(", "GET_CODE", "(", "x", ")", "==", "SYMBOL_REF", ")", "return", "1", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "CONST", ")", "return", "symbolic_expression_p", ...
[ "Return", "1", "if", "X", "contains", "a", "symbolic", "expression", ".", "We", "know", "these", "expressions", "will", "have", "one", "of", "a", "few", "well", "defined", "forms", ",", "so", "we", "need", "only", "check", "those", "forms", "." ]
[ "iq2000", "1", "0", "0", "0", "1", "0" ]
iq20002
symbolic_expression_p
iq2000
CPU
GCC
21,566
92
1
[]
[ "<s>", "bool", "DXILTranslateMetadata", "::", "runOnModule", "(", "Module", "&", "M", ")", "{", "if", "(", "MDNode", "*", "ValVerMD", "=", "cast_or_null", "<", "MDNode", ">", "(", "M", ".", "getModuleFlag", "(", "ValVerKey", ")", ")", ")", "{", "auto", ...
[ "runOnModule", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "process", "the", "module", "being", "operated", "on", "." ]
[ "DirectX", "DXIL", "DXIL", "DXIL" ]
DXILTranslateMetadata
runOnModule
DirectX
Virtual ISA
LLVM
21,567
68
1
[]
[ "<s>", "int", "NVPTXTTIImpl", "::", "getArithmeticInstrCost", "(", "unsigned", "Opcode", ",", "Type", "*", "Ty", ",", "TTI", "::", "OperandValueKind", "Opd1Info", ",", "TTI", "::", "OperandValueKind", "Opd2Info", ",", "TTI", "::", "OperandValueProperties", "Opd1Pr...
[ "This", "is", "an", "approximation", "of", "reciprocal", "throughput", "of", "a", "math/logic", "op", "." ]
[ "NVPTX", "NVPTX", "ISD::ADD", "ISD::MUL", "ISD::XOR", "ISD::OR", "ISD::AND", "MVT::i64", "2" ]
NVPTXTargetTransformInfo1
getArithmeticInstrCost
NVPTX
GPU
LLVM
21,568
164
1
[]
[ "<s>", "SDValue", "SparcTargetLowering", "::", "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", "." ]
[ "Sparc", "Sparc", "ISD::OutputArg", "16", "Sparc", "0", "0", "\"Can only return in registers!\"", "1", "8", "Sparc", "Sparc", "\"sret virtual register not created in the entry block\"", "SP::I0", "1", "SP::I0", "12", "MVT::i32", "SPISD::RET_FLAG", "MVT::Other", "SPISD::RET_FL...
SparcISelLowering77
LowerReturn
Sparc
CPU
LLVM
21,569
421
1
[]
[ "<s>", "bool", "X86InstrInfo", "::", "restoreCalleeSavedRegisters", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "const", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", ",", "const", "TargetRegisterI...
[ "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", "X86", "X86::POP64r", "X86::POP32r", "0", "X86::VR128RegClass" ]
X86InstrInfo41
restoreCalleeSavedRegisters
X86
CPU
LLVM
21,570
237
1
[]
[ "<s>", "static", "int", "sh_round_reg", "(", "const", "CUMULATIVE_ARGS", "&", "cum", ",", "machine_mode", "mode", ")", "{", "return", "(", "(", "(", "TARGET_ALIGN_DOUBLE", "||", "(", "(", "TARGET_SH4", "||", "TARGET_SH2A_DOUBLE", ")", "&&", "(", "mode", "=="...
[ "Round", "a", "register", "number", "up", "to", "a", "proper", "boundary", "for", "an", "arg", "of", "mode", "MODE", ".", "The", "SH", "does", "n't", "care", "about", "double", "alignment", ",", "so", "we", "only", "round", "doubles", "to", "even", "re...
[ "sh", "1" ]
sh4
sh_round_reg
sh
CPU
GCC
21,571
108
1
[]
[ "<s>", "int", "mmix_valid_comparison", "(", "RTX_CODE", "code", ",", "enum", "machine_mode", "mode", ",", "rtx", "op", ")", "{", "if", "(", "mode", "==", "VOIDmode", "&&", "op", "!=", "NULL_RTX", ")", "mode", "=", "GET_MODE", "(", "op", ")", ";", "if",...
[ "Returns", "zero", "if", "code", "and", "mode", "is", "not", "a", "valid", "condition", "from", "a", "compare-type", "insn", ".", "Nonzero", "if", "it", "is", ".", "The", "parameter", "op", ",", "if", "non-NULL", ",", "is", "the", "comparison", "of", "...
[ "mmix", "1", "1", "1", "1", "0" ]
mmix3
mmix_valid_comparison
mmix
CPU
GCC
21,572
127
1
[]
[ "<s>", "void", "print", "(", "raw_ostream", "&", "OS", ")", "const", "override", "{", "switch", "(", "Kind", ")", "{", "case", "Register", ":", "OS", "<<", "\"<register \"", "<<", "getReg", "(", ")", "<<", "\" mods: \"", "<<", "Reg", ".", "Modifiers", ...
[ "print", "-", "Print", "a", "debug", "representation", "of", "the", "operand", "to", "the", "given", "stream", "." ]
[ "AMDGPU", "\"<register \"", "\" mods: \"", "\" type: \"", "\" mods: \"", "\"<expr \"" ]
AMDGPUAsmParser52
print
AMDGPU
GPU
LLVM
21,573
113
1
[]
[ "<s>", "bool", "SIInstrInfo", "::", "isInlineConstant", "(", "const", "MachineOperand", "&", "MO", ",", "uint8_t", "OperandType", ")", "const", "{", "if", "(", "!", "MO", ".", "isImm", "(", ")", "||", "OperandType", "<", "MCOI", "::", "OPERAND_FIRST_TARGET",...
[ "returns", "true", "if", "the", "operand", "OpIdx", "in", "MI", "is", "a", "valid", "inline", "immediate", "." ]
[ "AMDGPU", "SI", "32", "AMDGPU::isInlinableLiteral32", "64", "AMDGPU::isInlinableLiteral64", "16", "16", "16", "AMDGPU::isInlinableLiteral16", "\"invalid bitwidth\"" ]
SIInstrInfo145
isInlineConstant
AMDGPU
GPU
LLVM
21,574
175
1
[]
[ "<s>", "void", "applyFixup", "(", "const", "MCFixup", "&", "Fixup", ",", "char", "*", "Data", ",", "unsigned", "DataSize", ",", "uint64_t", "Value", ")", "const", "{", "MCFixupKind", "Kind", "=", "Fixup", ".", "getKind", "(", ")", ";", "Value", "=", "a...
[ "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", "." ]
[ "Mips", "7", "8", "Mips::fixup_Mips_16", "2", "Mips::fixup_Mips_64", "8", "4", "0", "0", "1", "8", "1", "64", "0", "1", "8", "0xff" ]
MipsAsmBackend11
applyFixup
Mips
CPU
LLVM
21,575
260
1
[]
[ "<s>", "const", "MCPhysReg", "*", "PPCRegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "const", "PPCSubtarget", "&", "Subtarget", "=", "MF", "->", "getSubtarget", "<", "PPCSubtarget", ">", "(", ")", ";",...
[ "Code", "Generation", "virtual", "methods", "..." ]
[ "PowerPC", "PPC", "PPC", "PPC", "PPC", "PPC", "PPC::X2", "PPC", "PPC", "PPC", "PPC", "PPC", "PPC" ]
PPCRegisterInfo10
getCalleeSavedRegs
PowerPC
CPU
LLVM
21,576
253
1
[]
[ "<s>", "bool", "isIntrinsic", "(", ")", "const", "{", "return", "(", "Attributes", "&", "Intrinsic", ")", "!=", "0", ";", "}", "</s>" ]
[ "Returns", "true", "iff", "the", "group", "of", "FMA", "opcodes", "holds", "intrinsic", "opcodes", "." ]
[ "X86", "0" ]
X86InstrFMA3Info11
isIntrinsic
X86
CPU
LLVM
21,577
16
1
[]
[ "<s>", "bool", "WebAssemblySetP2AlignOperands", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "LLVM_DEBUG", "(", "{", "dbgs", "(", ")", "<<", "\"********** Set p2align Operands **********\\n\"", "<<", "\"********** Function: \"", "<<", "MF", ...
[ "runOnMachineFunction", "-", "Emit", "the", "function", "body", "." ]
[ "WebAssembly", "WebAssembly", "\"********** Set p2align Operands **********\\n\"", "\"********** Function: \"", "WebAssembly::LOAD_I32", "WebAssembly::LOAD_I64", "WebAssembly::LOAD_F32", "WebAssembly::LOAD_F64", "WebAssembly::LOAD8_S_I32", "WebAssembly::LOAD8_U_I32", "WebAssembly::LOAD16_S_I32",...
WebAssemblySetP2AlignOperands9
runOnMachineFunction
WebAssembly
Virtual ISA
LLVM
21,578
247
1
[]
[ "<s>", "bool", "PPCLowerMASSVEntries", "::", "runOnModule", "(", "Module", "&", "M", ")", "{", "bool", "Changed", "=", "false", ";", "auto", "*", "TPC", "=", "getAnalysisIfAvailable", "<", "TargetPassConfig", ">", "(", ")", ";", "if", "(", "!", "TPC", ")...
[ "runOnModule", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "process", "the", "module", "being", "operated", "on", "." ]
[ "PowerPC", "PPC", "PPC", "PPC", "4", "PPC" ]
PPCLowerMASSVEntries
runOnModule
PowerPC
CPU
LLVM
21,579
183
1
[]
[ "<s>", "unsigned", "RISCVInstrInfo", "::", "isStoreToStackSlot", "(", "const", "MachineInstr", "*", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "return", "isSimpleMove", "(", "MI", ",", "FrameIndex", ",", "RISCVII", "::", "SimpleStore", ")", ";", ...
[ "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", "...
[ "RISCV", "RISCV", "RISCVII::SimpleStore" ]
RISCVInstrInfo (2)1
isStoreToStackSlot
RISCV
CPU
LLVM
21,580
29
1
[]
[ "<s>", "static", "void", "aarch64_option_print", "(", "FILE", "*", "file", ",", "int", "indent", ",", "struct", "cl_target_option", "*", "ptr", ")", "{", "const", "struct", "processor", "*", "cpu", "=", "aarch64_get_tune_cpu", "(", "ptr", "->", "x_explicit_tun...
[ "Implement", "TARGET_OPTION_PRINT", "." ]
[ "aarch64", "\"%*sselected tune = %s\\n\"", "\"\"", "\"%*sselected arch = %s%s\\n\"", "\"\"" ]
aarch64
aarch64_option_print
aarch64
CPU
GCC
21,581
101
1
[]
[ "<s>", "static", "rtx", "frame_emit_store", "(", "int", "regno", ",", "int", "regno_note", ",", "rtx", "addr", ",", "rtx", "cfa", ",", "int", "cfa_offset", ")", "{", "rtx", "reg", "=", "gen_rtx_REG", "(", "Pmode", ",", "regno", ")", ";", "rtx", "mem", ...
[ "Emit", "a", "store", "in", "the", "stack", "frame", "to", "save", "REGNO", "at", "address", "ADDR", ",", "and", "emit", "the", "corresponding", "REG_CFA_OFFSET", "note", "described", "by", "CFA", "and", "CFA_OFFSET", ".", "Return", "the", "emitted", "insn",...
[ "tilepro" ]
tilepro
frame_emit_store
tilepro
VLIW
GCC
21,582
111
1
[]
[ "<s>", "Value", "*", "PPCTargetLowering", "::", "emitMaskedAtomicRMWIntrinsic", "(", "IRBuilderBase", "&", "Builder", ",", "AtomicRMWInst", "*", "AI", ",", "Value", "*", "AlignedAddr", ",", "Value", "*", "Incr", ",", "Value", "*", "Mask", ",", "Value", "*", ...
[ "Perform", "a", "masked", "atomicrmw", "using", "a", "target-specific", "intrinsic", "." ]
[ "PowerPC", "PPC", "\"Only support quadword now\"", "128", "Intrinsic::getDeclaration", "\"incr_lo\"", "64", "\"incr_hi\"", "0", "\"lo\"", "1", "\"hi\"", "\"lo64\"", "\"hi64\"", "64", "\"val64\"" ]
PPCISelLowering83
emitMaskedAtomicRMWIntrinsic
PowerPC
CPU
LLVM
21,583
279
1
[]
[ "<s>", "inline", "bool", "function_base", "::", "apply_tail_policy_p", "(", ")", "const", "{", "return", "true", ";", "}", "</s>" ]
[ "We", "choose", "to", "apply", "tail", "policy", "operand", "by", "default", "since", "most", "of", "the", "intrinsics", "has", "tail", "policy", "operand", "." ]
[ "riscv" ]
riscv-vector-builtins
apply_tail_policy_p
riscv
CPU
GCC
21,584
13
1
[]
[ "<s>", "static", "void", "pru_elf_asm_constructor", "(", "rtx", "symbol", ",", "int", "priority", ")", "{", "char", "buf", "[", "23", "]", ";", "section", "*", "s", ";", "if", "(", "priority", "==", "DEFAULT_INIT_PRIORITY", ")", "snprintf", "(", "buf", "...
[ "Implement", "TARGET_ASM_CONSTRUCTOR", "." ]
[ "pru", "23", "\".init_array\"", "\".init_array.%.5u\"" ]
pru
pru_elf_asm_constructor
pru
CPU
GCC
21,585
82
1
[]
[ "<s>", "static", "rtx", "s390_emit_ccraw_jump", "(", "HOST_WIDE_INT", "mask", ",", "enum", "rtx_code", "comparison", ",", "rtx", "label", ")", "{", "rtx", "temp", ";", "gcc_assert", "(", "comparison", "==", "EQ", "||", "comparison", "==", "NE", ")", ";", "...
[ "Emit", "a", "conditional", "jump", "to", "LABEL", "for", "condition", "code", "mask", "MASK", "using", "comparsion", "operator", "COMPARISON", ".", "Return", "the", "emitted", "jump", "insn", "." ]
[ "s390", "0", "15" ]
s3905
s390_emit_ccraw_jump
s390
MPU
GCC
21,586
95
1
[]
[ "<s>", "Register", "ARCRegisterInfo", "::", "getFrameRegister", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "ARCFrameLowering", "*", "TFI", "=", "getFrameLowering", "(", "MF", ")", ";", "return", "TFI", "->", "hasFP", "(", "MF", "...
[ "Debug", "information", "queries", "." ]
[ "ARC", "ARC", "ARC", "ARC::FP", "ARC::SP" ]
ARCRegisterInfo
getFrameRegister
ARC
MPU
LLVM
21,587
39
1
[]
[ "<s>", "rtx", "expand", "(", "function_expander", "&", "e", ")", "const", "OVERRIDE", "{", "for", "(", "unsigned", "int", "i", "=", "0", ";", "i", "<", "2", ";", "++", "i", ")", "e", ".", "args", "[", "i", "]", "=", "e", ".", "convert_to_pmode", ...
[ "Expand", "the", "call", "and", "return", "its", "lhs", "." ]
[ "aarch64", "0", "2", "0" ]
aarch64-sve-builtins-sve2
expand
aarch64
CPU
GCC
21,588
65
1
[]
[ "<s>", "bool", "X86TargetLowering", "::", "isIntDivCheap", "(", "EVT", "VT", ",", "AttributeList", "Attr", ")", "const", "{", "bool", "OptSize", "=", "Attr", ".", "hasFnAttribute", "(", "Attribute", "::", "MinSize", ")", ";", "return", "OptSize", "&&", "!", ...
[ "Return", "true", "if", "integer", "divide", "is", "usually", "cheaper", "than", "a", "sequence", "of", "several", "shifts", ",", "adds", ",", "and", "multiplies", "for", "this", "target", "." ]
[ "X86", "X86" ]
X86ISelLowering101
isIntDivCheap
X86
CPU
LLVM
21,589
36
1
[]
[ "<s>", "unsigned", "X86AsmParser", "::", "checkTargetMatchPredicate", "(", "MCInst", "&", "Inst", ")", "{", "unsigned", "Opc", "=", "Inst", ".", "getOpcode", "(", ")", ";", "const", "MCInstrDesc", "&", "MCID", "=", "MII", ".", "get", "(", "Opc", ")", ";"...
[ "checkTargetMatchPredicate", "-", "Validate", "the", "instruction", "match", "against", "any", "complex", "target", "predicates", "not", "expressible", "via", "match", "classes", "." ]
[ "X86", "X86", "X86II::EncodingMask", "X86II::EVEX", "X86II::EncodingMask", "X86II::VEX", "X86::VCVTSD2SIZrm_Int", "X86::VCVTSD2SI64Zrm_Int", "X86::VCVTSS2SIZrm_Int", "X86::VCVTSS2SI64Zrm_Int", "X86::VCVTTSD2SIZrm", "X86::VCVTTSD2SIZrm_Int", "X86::VCVTTSD2SI64Zrm", "X86::VCVTTSD2SI64Zrm_Int...
X86AsmParser108
checkTargetMatchPredicate
X86
CPU
LLVM
21,590
162
1
[]
[ "<s>", "static", "void", "avr_output_bss_section_asm_op", "(", "const", "char", "*", "data", ")", "{", "avr_need_clear_bss_p", "=", "true", ";", "output_section_asm_op", "(", "data", ")", ";", "}", "</s>" ]
[ "Unnamed", "section", "callback", "for", "bss_section", "to", "track", "need", "of", "__do_clear_bss", "." ]
[ "avr" ]
avr
avr_output_bss_section_asm_op
avr
MPU
GCC
21,591
20
1
[]
[ "<s>", "static", "bool", "riscv_valid_offset_p", "(", "rtx", "x", ",", "machine_mode", "mode", ")", "{", "if", "(", "!", "const_arith_operand", "(", "x", ",", "Pmode", ")", ")", "return", "false", ";", "if", "(", "GET_MODE_SIZE", "(", "mode", ")", ">", ...
[ "Return", "true", "if", ",", "for", "every", "base", "register", "BASE_REG", ",", "(", "plus", "BASE_REG", "X", ")", "can", "address", "a", "value", "of", "mode", "MODE", "." ]
[ "riscv" ]
riscv
riscv_valid_offset_p
riscv
CPU
GCC
21,592
56
1
[]
[ "<s>", "void", "AMDGPUHSATargetObjectFile", "::", "Initialize", "(", "MCContext", "&", "Ctx", ",", "const", "TargetMachine", "&", "TM", ")", "{", "TargetLoweringObjectFileELF", "::", "Initialize", "(", "Ctx", ",", "TM", ")", ";", "InitializeELF", "(", "TM", "....
[ "This", "method", "must", "be", "called", "before", "any", "actual", "lowering", "is", "done", "." ]
[ "AMDGPU", "AMDGPU", "AMDGPU::getHSATextSection", "AMDGPU::getHSADataGlobalAgentSection", "AMDGPU::getHSADataGlobalProgramSection", "AMDGPU::getHSARodataReadonlyAgentSection" ]
AMDGPUTargetObjectFile3
Initialize
AMDGPU
GPU
LLVM
21,593
70
1
[]
[ "<s>", "const", "NVPTXSubtarget", "*", "getSubtargetImpl", "(", ")", "const", "override", "{", "return", "&", "Subtarget", ";", "}", "</s>" ]
[ "Virtual", "method", "implemented", "by", "subclasses", "that", "returns", "a", "reference", "to", "that", "target", "'s", "TargetSubtargetInfo-derived", "member", "variable", "." ]
[ "NVPTX", "NVPTX" ]
NVPTXTargetMachine
getSubtargetImpl
NVPTX
GPU
LLVM
21,594
14
1
[]
[ "<s>", "int", "HexagonMCInstrInfo", "::", "getMinValue", "(", "MCInstrInfo", "const", "&", "MCII", ",", "MCInst", "const", "&", "MCI", ")", "{", "assert", "(", "HexagonMCInstrInfo", "::", "isExtendable", "(", "MCII", ",", "MCI", ")", "||", "HexagonMCInstrInfo"...
[ "Return", "the", "minimal", "unsigned", "value", "possible", "given", "these", "KnownBits", "." ]
[ "Hexagon", "Hexagon", "Hexagon", "Hexagon", "Hexagon", "1", "Hexagon", "1", "0" ]
HexagonMCInstrInfo (2)1
getMinValue
Hexagon
DSP
LLVM
21,595
71
1
[]
[ "<s>", "MachineInstr", "*", "ARMBaseInstrInfo", "::", "duplicate", "(", "MachineInstr", "*", "Orig", ",", "MachineFunction", "&", "MF", ")", "const", "{", "MachineInstr", "*", "MI", "=", "TargetInstrInfo", "::", "duplicate", "(", "Orig", ",", "MF", ")", ";",...
[ "Clones", "instruction", "or", "the", "whole", "instruction", "bundle", "Orig", "and", "insert", "into", "MBB", "before", "InsertBefore", "." ]
[ "ARM", "ARM", "ARM::tLDRpci_pic", "ARM::t2LDRpci_pic", "1", "1", "2" ]
ARMBaseInstrInfo (2)
duplicate
ARM
CPU
LLVM
21,596
105
1
[]
[ "<s>", "bool", "SIInstrInfo", "::", "isReallyTriviallyReMaterializable", "(", "const", "MachineInstr", "*", "MI", ",", "AliasAnalysis", "*", "AA", ")", "const", "{", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "case", "AMDGPU", "::", "V_MOV_B...
[ "For", "instructions", "with", "opcodes", "for", "which", "the", "M_REMATERIALIZABLE", "flag", "is", "set", ",", "this", "hook", "lets", "the", "target", "specify", "whether", "the", "instruction", "is", "actually", "trivially", "rematerializable", ",", "taking", ...
[ "AMDGPU", "SI", "AMDGPU::V_MOV_B32_e32", "AMDGPU::V_MOV_B32_e64", "AMDGPU::V_MOV_B64_PSEUDO" ]
SIInstrInfo (3)
isReallyTriviallyReMaterializable
AMDGPU
GPU
LLVM
21,597
50
1
[]
[ "<s>", "bool", "alpha_emit_setcc", "(", "rtx", "operands", "[", "]", ",", "machine_mode", "cmp_mode", ")", "{", "enum", "rtx_code", "cmp_code", ";", "enum", "rtx_code", "code", "=", "GET_CODE", "(", "operands", "[", "1", "]", ")", ";", "rtx", "op0", "=",...
[ "Certain", "simplifications", "can", "be", "done", "to", "make", "invalid", "setcc", "operations", "valid", ".", "Return", "the", "final", "comparison", ",", "or", "NULL", "if", "we", "ca", "n't", "work", "." ]
[ "alpha", "1", "2", "3", "0", "0" ]
alpha
alpha_emit_setcc
alpha
MPU
GCC
21,598
348
1
[]
[ "<s>", "int", "dimode_scalar_chain", "::", "vector_const_cost", "(", "rtx", "exp", ")", "{", "gcc_assert", "(", "CONST_INT_P", "(", "exp", ")", ")", ";", "if", "(", "standard_sse_constant_p", "(", "exp", ",", "V2DImode", ")", ")", "return", "COSTS_N_INSNS", ...
[ "Return", "a", "cost", "of", "building", "a", "vector", "costant", "instead", "of", "using", "a", "scalar", "one", "." ]
[ "i386", "1", "1" ]
i3866
vector_const_cost
i386
CPU
GCC
21,599
41
1
[]