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>", "const", "MCFixupKindInfo", "&", "getFixupKindInfo", "(", "MCFixupKind", "Kind", ")", "const", "override", "{", "if", "(", "Kind", "<", "FirstTargetFixupKind", ")", "return", "MCAsmBackend", "::", "getFixupKindInfo", "(", "Kind", ")", ";", "switch", "(", ...
[ "Get", "information", "on", "a", "fixup", "kind", "." ]
[ "CAHP", "CAHP::fixup_cahp_hi6", "\"fixup_cahp_hi6\"", "0", "16", "0", "CAHP::fixup_cahp_lo10", "\"fixup_cahp_lo10\"", "0", "24", "0", "CAHP::fixup_cahp_pcrel_10", "\"fixup_cahp_pcrel_10\"", "0", "24", "CAHP::fixup_cahp_pcrel_11", "\"fixup_cahp_pcrel_11\"", "5", "11", "\"Invalid...
CAHPAsmBackend
getFixupKindInfo
CAHP
CPU
LLVM
24,800
142
1
[]
[ "<s>", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"Patmos Assembly Printer\"", ";", "}", "</s>" ]
[ "getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "." ]
[ "Patmos", "\"Patmos Assembly Printer\"" ]
PatmosAsmPrinter1
getPassName
Patmos
VLIW
LLVM
24,801
11
1
[]
[ "<s>", "static", "MCSymbol", "*", "GetSymbolFromOperand", "(", "const", "MachineOperand", "&", "MO", ",", "AsmPrinter", "&", "AP", ")", "{", "MCContext", "&", "Ctx", "=", "AP", ".", "OutContext", ";", "SmallString", "<", "128", ">", "Name", ";", "if", "(...
[ "Lower", "an", "MO_GlobalAddress", "or", "MO_ExternalSymbol", "operand", "to", "an", "MCSymbol", "." ]
[ "PowerPC", "128", "\"Isn't a symbol reference\"", "PPCII::MO_DARWIN_STUB", "PPCII::MO_NLP_FLAG", "PPCII::MO_DARWIN_STUB", "\"$stub\"", "5", "PPCII::MO_NLP_FLAG", "\"$non_lazy_ptr\"", "PPCII::MO_NLP_HIDDEN_FLAG", "0", "\"Extern symbol not handled yet\"" ]
PPCMCInstLower12
GetSymbolFromOperand
PowerPC
CPU
LLVM
24,802
419
1
[]
[ "<s>", "static", "void", "tilepro_asm_output_mi_thunk", "(", "FILE", "*", "file", ",", "tree", "thunk_fndecl", "ATTRIBUTE_UNUSED", ",", "HOST_WIDE_INT", "delta", ",", "HOST_WIDE_INT", "vcall_offset", ",", "tree", "function", ")", "{", "rtx", "this_rtx", ",", "fune...
[ "Implement", "TARGET_ASM_OUTPUT_MI_THUNK", "." ]
[ "tilepro", "1", "1", "0", "29", "1", "0", "1", "1", "1", "0" ]
tilepro2
tilepro_asm_output_mi_thunk
tilepro
VLIW
GCC
24,803
258
1
[]
[ "<s>", "void", "TPCAsmParser", "::", "flushPendingInstructions", "(", "MCStreamer", "&", "Out", ")", "{", "if", "(", "CurrentSlot", "!=", "SlotParser", "::", "Unknown", ")", "outputBundle", "(", "Out", ",", "SMLoc", "(", ")", ",", "true", ")", ";", "AC", ...
[ "Ensure", "that", "all", "previously", "parsed", "instructions", "have", "been", "emitted", "to", "the", "output", "streamer", ",", "if", "the", "target", "does", "not", "emit", "them", "immediately", "." ]
[ "TPC", "TPC", "TPC", "TPC", "TPC", "TPC", "TPC" ]
TPCAsmParser
flushPendingInstructions
TPC
Virtual ISA
LLVM
24,804
401
1
[]
[ "<s>", "static", "rtx", "riscv_unspec_offset_high", "(", "rtx", "temp", ",", "rtx", "addr", ",", "enum", "riscv_symbol_type", "symbol_type", ")", "{", "addr", "=", "gen_rtx_HIGH", "(", "Pmode", ",", "riscv_unspec_address", "(", "addr", ",", "symbol_type", ")", ...
[ "If", "riscv_unspec_address", "(", "ADDR", ",", "SYMBOL_TYPE", ")", "is", "a", "32-bit", "value", ",", "add", "the", "high", "part", "to", "BASE", "and", "return", "the", "result", ".", "Just", "return", "BASE", "otherwise", ".", "TEMP", "is", "as", "for...
[ "riscv" ]
riscv2
riscv_unspec_offset_high
riscv
CPU
GCC
24,805
38
1
[]
[ "<s>", "unsigned", "MipsConstantIslands", "::", "getOffsetOf", "(", "MachineInstr", "*", "MI", ")", "const", "{", "MachineBasicBlock", "*", "MBB", "=", "MI", "->", "getParent", "(", ")", ";", "unsigned", "Offset", "=", "BBInfo", "[", "MBB", "->", "getNumber"...
[ "getOffsetOf", "-", "Return", "the", "current", "offset", "of", "the", "specified", "machine", "instruction", "from", "the", "start", "of", "the", "function", "." ]
[ "Mips", "Mips", "\"Didn't find MI in its own basic block?\"" ]
MipsConstantIslandPass
getOffsetOf
Mips
CPU
LLVM
24,806
85
1
[]
[ "<s>", "bool", "AlphaFrameInfo", "::", "hasFP", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "return", "MFI", "->", "hasVarSizedObjects", "(", ")", ";...
[ "hasFP", "-", "Return", "true", "if", "the", "specified", "function", "should", "have", "a", "dedicated", "frame", "pointer", "register", "." ]
[ "Alpha", "Alpha" ]
AlphaFrameInfo
hasFP
Alpha
MPU
LLVM
24,807
31
1
[]
[ "<s>", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "SYSTEMZ_EXPAND_PSEUDO_NAME", ";", "}", "</s>" ]
[ "getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "." ]
[ "SystemZ" ]
SystemZExpandPseudo
getPassName
SystemZ
CPU
LLVM
24,808
11
1
[]
[ "<s>", "unsigned", "MipsRegisterInfo", "::", "getRARegister", "(", ")", "const", "{", "return", "Mips", "::", "RA", ";", "}", "</s>" ]
[ "This", "method", "should", "return", "the", "register", "where", "the", "return", "address", "can", "be", "found", "." ]
[ "Mips", "Mips", "Mips::RA" ]
MipsRegisterInfo14
getRARegister
Mips
CPU
LLVM
24,809
14
1
[]
[ "<s>", "unsigned", "ARMBaseInstrInfo", "::", "isStoreToStackSlot", "(", "const", "MachineInstr", "*", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", ...
[ "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", "...
[ "ARM", "ARM", "ARM::STRrs", "ARM::t2STRs", "1", "2", "3", "2", "0", "3", "0", "1", "0", "ARM::STRi12", "ARM::t2STRi12", "ARM::tSpill", "ARM::VSTRD", "ARM::VSTRS", "1", "2", "2", "0", "1", "0", "ARM::VST1q64Pseudo", "0", "2", "0", "0", "2", "ARM::VSTMQIA", ...
ARMBaseInstrInfo11
isStoreToStackSlot
ARM
CPU
LLVM
24,810
345
1
[]
[ "<s>", "static", "bool", "isF128SoftLibCall", "(", "const", "char", "*", "CallSym", ")", "{", "const", "char", "*", "const", "LibCalls", "[", "]", "=", "{", "\"__addtf3\"", ",", "\"__divtf3\"", ",", "\"__eqtf2\"", ",", "\"__extenddftf2\"", ",", "\"__extendsftf...
[ "This", "function", "returns", "true", "if", "CallSym", "is", "a", "long", "double", "emulation", "routine", "." ]
[ "Mips", "\"__addtf3\"", "\"__divtf3\"", "\"__eqtf2\"", "\"__extenddftf2\"", "\"__extendsftf2\"", "\"__fixtfdi\"", "\"__fixtfsi\"", "\"__fixtfti\"", "\"__fixunstfdi\"", "\"__fixunstfsi\"", "\"__fixunstfti\"", "\"__floatditf\"", "\"__floatsitf\"", "\"__floattitf\"", "\"__floatunditf\"", ...
MipsISelLowering (2)1
isF128SoftLibCall
Mips
CPU
LLVM
24,811
180
1
[]
[ "<s>", "SDValue", "AMDGPUTargetLowering", "::", "getSqrtEstimate", "(", "SDValue", "Operand", ",", "SelectionDAG", "&", "DAG", ",", "int", "Enabled", ",", "int", "&", "RefinementSteps", ",", "bool", "&", "UseOneConstNR", ",", "bool", "Reciprocal", ")", "const", ...
[ "Hooks", "for", "building", "estimates", "in", "place", "of", "slower", "divisions", "and", "square", "roots", "." ]
[ "AMDGPU", "AMDGPU", "MVT::f32", "0", "AMDGPUISD::RSQ" ]
AMDGPUISelLowering (2)1
getSqrtEstimate
AMDGPU
GPU
LLVM
24,812
76
1
[]
[ "<s>", "bool", "RISCVDAGToDAGISel", "::", "SelectInlineAsmMemoryOperand", "(", "const", "SDValue", "&", "Op", ",", "unsigned", "ConstraintID", ",", "std", "::", "vector", "<", "SDValue", ">", "&", "OutOps", ")", "{", "switch", "(", "ConstraintID", ")", "{", ...
[ "SelectInlineAsmMemoryOperand", "-", "Select", "the", "specified", "address", "as", "a", "target", "addressing", "mode", ",", "according", "to", "the", "specified", "constraint", "." ]
[ "RISCV", "RISCV" ]
RISCVISelDAGToDAG10
SelectInlineAsmMemoryOperand
RISCV
CPU
LLVM
24,813
57
1
[]
[ "<s>", "BitVector", "XCoreRegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "const", "TargetFrameLowering", "*", "TFI", "=", "MF", ".", "getTar...
[ "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", "...
[ "XCore", "XCore", "XCore::CP", "XCore::DP", "XCore::SP", "XCore::LR", "XCore::R10" ]
XCoreRegisterInfo
getReservedRegs
XCore
MPU
LLVM
24,814
95
1
[]
[ "<s>", "const", "uint32_t", "*", "SystemZRegisterInfo", "::", "getCallPreservedMask", "(", "const", "MachineFunction", "&", "MF", ",", "CallingConv", "::", "ID", "CC", ")", "const", "{", "const", "SystemZSubtarget", "&", "Subtarget", "=", "MF", ".", "getSubtarge...
[ "Return", "a", "mask", "of", "call-preserved", "registers", "for", "the", "given", "calling", "convention", "on", "the", "current", "function", "." ]
[ "SystemZ", "SystemZ", "SystemZ", "SystemZ", "SystemZ", "SystemZ", "SystemZ", "SystemZ" ]
SystemZRegisterInfo16
getCallPreservedMask
SystemZ
CPU
LLVM
24,815
92
1
[]
[ "<s>", "static", "void", "aarch64_output_mi_thunk", "(", "FILE", "*", "file", ",", "tree", "thunk", "ATTRIBUTE_UNUSED", ",", "HOST_WIDE_INT", "delta", ",", "HOST_WIDE_INT", "vcall_offset", ",", "tree", "function", ")", "{", "int", "this_regno", "=", "R0_REGNUM", ...
[ "Output", "code", "to", "add", "DELTA", "to", "the", "first", "argument", ",", "and", "then", "jump", "to", "FUNCTION", ".", "Used", "for", "C++", "multiple", "inheritance", "." ]
[ "aarch64", "1", "0", "1", "0", "0", "256", "256", "256", "4096", "1", "0", "1", "1", "1", "0" ]
aarch645
aarch64_output_mi_thunk
aarch64
CPU
GCC
24,816
414
1
[]
[ "<s>", "AtomicExpansionKind", "shouldExpandAtomicRMWInIR", "(", "AtomicRMWInst", "*", "AI", ")", "const", "override", "{", "return", "AtomicExpansionKind", "::", "LLSC", ";", "}", "</s>" ]
[ "Returns", "how", "the", "IR-level", "AtomicExpand", "pass", "should", "expand", "the", "given", "AtomicRMW", ",", "if", "at", "all", "." ]
[ "Hexagon" ]
HexagonISelLowering (2)
shouldExpandAtomicRMWInIR
Hexagon
DSP
LLVM
24,817
16
1
[]
[ "<s>", "MCSymbol", "*", "WebAssemblyMCInstLower", "::", "GetExternalSymbolSymbol", "(", "const", "MachineOperand", "&", "MO", ")", "const", "{", "const", "char", "*", "Name", "=", "MO", ".", "getSymbolName", "(", ")", ";", "auto", "*", "WasmSym", "=", "cast"...
[ "Return", "the", "MCSymbol", "for", "the", "specified", "ExternalSymbol", "." ]
[ "WebAssembly", "WebAssembly", "WebAssembly", "\"__stack_pointer\"", "0", "\"__tls_base\"", "0", "\"__memory_base\"", "0", "\"__table_base\"", "0", "\"__tls_size\"", "0", "\"__tls_align\"", "0", "\"__stack_pointer\"", "0", "\"__tls_base\"", "0", "wasm::WASM_SYMBOL_TYPE_GLOBAL", ...
WebAssemblyMCInstLower3
GetExternalSymbolSymbol
WebAssembly
Virtual ISA
LLVM
24,818
339
1
[]
[ "<s>", "static", "bool", "mips_near_type_p", "(", "const_tree", "type", ")", "{", "return", "lookup_attribute", "(", "\"near\"", ",", "TYPE_ATTRIBUTES", "(", "type", ")", ")", "!=", "NULL", ";", "}", "</s>" ]
[ "Predicates", "to", "test", "for", "presence", "of", "``", "near", "''", "and", "``", "far", "''", "/", "''", "long_call", "''", "attributes", "on", "the", "given", "TYPE", "." ]
[ "mips", "\"near\"" ]
mips4
mips_near_type_p
mips
CPU
GCC
24,819
22
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" ]
PPCLowerMASSVEntries1
runOnModule
PowerPC
CPU
LLVM
24,820
171
1
[]
[ "<s>", "ScheduleDAGInstrs", "*", "createPostMachineScheduler", "(", "MachineSchedContext", "*", "C", ")", "const", "override", "{", "llvm_unreachable", "(", "\"unimplemented\"", ")", ";", "}", "</s>" ]
[ "Similar", "to", "createMachineScheduler", "but", "used", "when", "postRA", "machine", "scheduling", "is", "enabled", "." ]
[ "Patmos", "\"unimplemented\"" ]
PatmosTargetMachine1
createPostMachineScheduler
Patmos
VLIW
LLVM
24,821
17
1
[]
[ "<s>", "void", "addDef", "(", "long", "pos", ")", "{", "defs", ".", "set", "(", "pos", ")", ";", "}", "</s>" ]
[ "Add", "a", "virtual", "register", "definition", "operand", "." ]
[ "Patmos" ]
RAInfo
addDef
Patmos
VLIW
LLVM
24,822
15
1
[]
[ "<s>", "static", "void", "visium_print_operand_address", "(", "FILE", "*", "file", ",", "machine_mode", "mode", ",", "rtx", "addr", ")", "{", "switch", "(", "GET_CODE", "(", "addr", ")", ")", "{", "case", "REG", ":", "case", "SUBREG", ":", "fprintf", "("...
[ "Implement", "TARGET_PRINT_OPERAND_ADDRESS", ".", "Output", "to", "stdio", "stream", "FILE", "the", "assembler", "syntax", "for", "an", "instruction", "operand", "that", "is", "a", "memory", "reference", "whose", "address", "is", "ADDR", "." ]
[ "visium", "\"(%s)\"", "0", "1", "2", "1", "\"(%s)\"", "\"illegal operand address (1)\"", "\"illegal operand address (2)\"", "\"illegal operand address (3)\"", "\"%LL%d\"", "\"illegal operand address (4)\"" ]
visium
visium_print_operand_address
visium
Virtual ISA
GCC
24,823
281
1
[]
[ "<s>", "Register", "LanaiTargetLowering", "::", "getRegisterByName", "(", "const", "char", "*", "RegName", ",", "LLT", ",", "const", "MachineFunction", "&", ")", "const", "{", "Register", "Reg", "=", "StringSwitch", "<", "unsigned", ">", "(", "RegName", ")", ...
[ "Return", "the", "register", "ID", "of", "the", "name", "passed", "in", "." ]
[ "Lanai", "Lanai", "\"pc\"", "Lanai::PC", "\"sp\"", "Lanai::SP", "\"fp\"", "Lanai::FP", "\"rr1\"", "Lanai::RR1", "\"r10\"", "Lanai::R10", "\"rr2\"", "Lanai::RR2", "\"r11\"", "Lanai::R11", "\"rca\"", "Lanai::RCA", "0", "\"Invalid register name global variable\"" ]
LanaiISelLowering
getRegisterByName
Lanai
CPU
LLVM
24,824
119
1
[]
[ "<s>", "static", "std", "::", "string", "getEdgeAttributes", "(", "NodeRef", ",", "ChildIteratorType", "E", ",", "GraphType", "*", ")", "{", "int", "EdgeVal", "=", "(", "*", "E", ".", "getCurrent", "(", ")", ")", ".", "getValue", "(", ")", ";", "return...
[ "If", "you", "want", "to", "override", "the", "dot", "attributes", "printed", "for", "a", "particular", "edge", ",", "override", "this", "method", "." ]
[ "X86", "0", "\"label = \"", "\"color = red, style = \\\"dashed\\\"\"" ]
X86LoadValueInjectionLoadHardening
getEdgeAttributes
X86
CPU
LLVM
24,825
48
1
[]
[ "<s>", "static", "void", "rs6000_density_test", "(", "rs6000_cost_data", "*", "data", ")", "{", "const", "int", "DENSITY_PCT_THRESHOLD", "=", "85", ";", "const", "int", "DENSITY_SIZE_THRESHOLD", "=", "70", ";", "const", "int", "DENSITY_PENALTY", "=", "10", ";", ...
[ "Test", "for", "likely", "overcommitment", "of", "vector", "hardware", "resources", ".", "If", "a", "loop", "iteration", "is", "relatively", "large", ",", "and", "too", "large", "a", "percentage", "of", "instructions", "in", "the", "loop", "are", "vectorized",...
[ "powerpcspe", "85", "70", "10", "0", "0", "100", "100", "100", "\"density %d%%, cost %d exceeds threshold, penalizing \"", "\"loop body cost by %d%%\"" ]
powerpcspe
rs6000_density_test
powerpcspe
CPU
GCC
24,826
229
1
[]
[ "<s>", "static", "void", "replace_constant_pool_ref", "(", "rtx", "*", "x", ",", "rtx", "ref", ",", "rtx", "offset", ")", "{", "int", "i", ",", "j", ";", "const", "char", "*", "fmt", ";", "gcc_assert", "(", "*", "x", "!=", "ref", ")", ";", "if", ...
[ "Replace", "every", "reference", "to", "the", "annotated", "literal", "pool", "symbol", "REF", "in", "X", "by", "its", "base", "plus", "OFFSET", "." ]
[ "s390", "1", "0", "0", "0", "1", "1", "0", "0", "1", "0", "0", "0", "0", "0", "1", "1", "1", "0", "0" ]
s3903
replace_constant_pool_ref
s390
MPU
GCC
24,827
317
1
[]
[ "<s>", "static", "bool", "branch_to_delay_slot_p", "(", "rtx_insn", "*", "insn", ")", "{", "rtx_insn", "*", "jump_insn", ";", "if", "(", "dbr_sequence_length", "(", ")", ")", "return", "FALSE", ";", "jump_insn", "=", "next_active_insn", "(", "JUMP_LABEL_AS_INSN"...
[ "Return", "TRUE", "if", "INSN", ",", "a", "jump", "insn", ",", "has", "an", "unfilled", "delay", "slot", "and", "it", "branches", "into", "the", "delay", "slot", ".", "Otherwise", ",", "return", "FALSE", "." ]
[ "pa", "0", "0" ]
pa
branch_to_delay_slot_p
pa
CPU
GCC
24,828
92
1
[]
[ "<s>", "static", "int", "mips_address_cost", "(", "rtx", "addr", ")", "{", "return", "mips_address_insns", "(", "addr", ",", "SImode", ")", ";", "}", "</s>" ]
[ "Provide", "the", "costs", "of", "an", "addressing", "mode", "that", "contains", "ADDR", ".", "If", "ADDR", "is", "not", "a", "valid", "address", ",", "its", "cost", "is", "irrelevant", "." ]
[ "mips" ]
mips3
mips_address_cost
mips
CPU
GCC
24,829
17
1
[]
[ "<s>", "bool", "GCNTTIImpl", "::", "getTgtMemIntrinsic", "(", "IntrinsicInst", "*", "Inst", ",", "MemIntrinsicInfo", "&", "Info", ")", "const", "{", "switch", "(", "Inst", "->", "getIntrinsicID", "(", ")", ")", "{", "case", "Intrinsic", "::", "amdgcn_atomic_in...
[ "Given", "an", "intrinsic", ",", "checks", "if", "on", "the", "target", "the", "intrinsic", "will", "need", "to", "map", "to", "a", "MemIntrinsicNode", "(", "touches", "memory", ")", "." ]
[ "AMDGPU", "Intrinsic::amdgcn_atomic_inc", "Intrinsic::amdgcn_atomic_dec", "Intrinsic::amdgcn_ds_fadd", "Intrinsic::amdgcn_ds_fmin", "Intrinsic::amdgcn_ds_fmax", "2", "4", "0" ]
AMDGPUTargetTransformInfo20
getTgtMemIntrinsic
AMDGPU
GPU
LLVM
24,830
178
1
[]
[ "<s>", "static", "bool", "csky_legitimate_constant_p", "(", "machine_mode", "mode", ",", "rtx", "x", ")", "{", "return", "(", "!", "csky_cannot_force_const_mem", "(", "mode", ",", "x", ")", "&&", "CONSTANT_P", "(", "x", ")", ")", ";", "}", "</s>" ]
[ "Implement", "TARGET_LEGITIMATE_CONSTANT_P", ".", "Returns", "nonzero", "if", "the", "constant", "value", "X", "is", "a", "legitimate", "general", "operand", ".", "It", "is", "given", "that", "X", "satisfies", "CONSTANT_P", "or", "is", "a", "CONST_DOUBLE", "." ]
[ "csky" ]
csky
csky_legitimate_constant_p
csky
CPU
GCC
24,831
28
1
[]
[ "<s>", "MachineBasicBlock", "*", "mprocTargetLowering", "::", "EmitInstrWithCustomInserter", "(", "MachineInstr", "*", "MI", ",", "MachineBasicBlock", "*", "BB", ")", "const", "{", "}", "</s>" ]
[ "This", "method", "should", "be", "implemented", "by", "targets", "that", "mark", "instructions", "with", "the", "'usesCustomInserter", "'", "flag", "." ]
[ "mproc", "mproc" ]
mprocISelLowering
EmitInstrWithCustomInserter
mproc
Virtual ISA
LLVM
24,832
17
1
[]
[ "<s>", "static", "HOST_WIDEST_INT", "mmix_intval", "(", "rtx", "x", ")", "{", "unsigned", "HOST_WIDEST_INT", "retval", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "CONST_INT", ")", "return", "INTVAL", "(", "x", ")", ";", "if", "(", "GET_CODE", "(", ...
[ "Return", "the", "bit-value", "for", "a", "const_int", "or", "const_double", "." ]
[ "mmix", "2", "2", "1", "2", "0", "32U", "1", "\"MMIX Internal: This is not a constant:\"" ]
mmix3
mmix_intval
mmix
CPU
GCC
24,833
227
1
[]
[ "<s>", "bool", "AMDGPUAAResult", "::", "pointsToConstantMemory", "(", "const", "MemoryLocation", "&", "Loc", ",", "AAQueryInfo", "&", "AAQI", ",", "bool", "OrLocal", ")", "{", "unsigned", "AS", "=", "Loc", ".", "Ptr", "->", "getType", "(", ")", "->", "getP...
[ "A", "convenience", "wrapper", "around", "the", "primary", "pointsToConstantMemory", "interface", "." ]
[ "AMDGPU", "AMDGPU", "AMDGPU", "AMDGPU", "AMDGPU", "AMDGPU", "AMDGPU", "AMDGPU", "AMDGPU", "AMDGPU", "AMDGPU", "AMDGPU", "AMDGPU", "AMDGPU" ]
AMDGPUAliasAnalysis1
pointsToConstantMemory
AMDGPU
GPU
LLVM
24,834
283
1
[]
[ "<s>", "const", "MCSymbolRefExpr", "*", "getSymbolExpr", "(", ")", "const", "{", "return", "SymExpr", ";", "}", "</s>" ]
[ "getOpcode", "-", "Get", "the", "kind", "of", "this", "expression", "." ]
[ "NVPTX" ]
NVPTXMCExpr (2)
getSymbolExpr
NVPTX
GPU
LLVM
24,835
12
1
[]
[ "<s>", "static", "void", "pru_compute_frame_layout", "(", "void", ")", "{", "int", "regno", ";", "HARD_REG_SET", "*", "save_mask", ";", "int", "total_size", ";", "int", "var_size", ";", "int", "out_args_size", ";", "int", "save_reg_size", ";", "gcc_assert", "(...
[ "Implement", "TARGET_COMPUTE_FRAME_LAYOUT", "." ]
[ "pru", "0", "0", "1" ]
pru
pru_compute_frame_layout
pru
CPU
GCC
24,836
192
1
[]
[ "<s>", "const", "MCPhysReg", "*", "RISCVRegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "auto", "&", "Subtarget", "=", "MF", "->", "getSubtarget", "<", "RISCVSubtarget", ">", "(", ")", ";", "if", "(",...
[ "Code", "Generation", "virtual", "methods", "..." ]
[ "RISCV", "RISCV", "RISCV", "\"interrupt\"", "\"Unrecognized ABI\"", "RISCVABI::ABI_ILP32", "RISCVABI::ABI_LP64", "RISCVABI::ABI_IL32PC64", "RISCVABI::ABI_L64PC128", "RISCVABI::ABI_ILP32F", "RISCVABI::ABI_LP64F", "RISCVABI::ABI_IL32PC64F", "RISCVABI::ABI_L64PC128F", "RISCVABI::ABI_ILP32D", ...
RISCVRegisterInfo17
getCalleeSavedRegs
RISCV
CPU
LLVM
24,837
206
1
[]
[ "<s>", "BlockSet", "&", "getBlocks", "(", ")", "{", "return", "Blocks", ";", "}", "</s>" ]
[ "Get", "a", "list", "of", "the", "basic", "blocks", "which", "make", "up", "this", "loop", "." ]
[ "WebAssembly" ]
WebAssemblyFixIrreducibleControlFlow1
getBlocks
WebAssembly
Virtual ISA
LLVM
24,838
10
1
[]
[ "<s>", "static", "void", "tilegx_function_arg_advance", "(", "cumulative_args_t", "cum_v", ",", "const", "function_arg_info", "&", "arg", ")", "{", "CUMULATIVE_ARGS", "*", "cum", "=", "get_cumulative_args", "(", "cum_v", ")", ";", "int", "byte_size", "=", "arg", ...
[ "Implement", "TARGET_FUNCTION_ARG_ADVANCE", "." ]
[ "tilegx", "1", "1" ]
tilegx
tilegx_function_arg_advance
tilegx
VLIW
GCC
24,839
99
1
[]
[ "<s>", "bool", "MOSLegalizerInfo", "::", "legalizeCustom", "(", "LegalizerHelper", "&", "Helper", ",", "MachineInstr", "&", "MI", ")", "const", "{", "MachineRegisterInfo", "&", "MRI", "=", "MI", ".", "getMF", "(", ")", "->", "getRegInfo", "(", ")", ";", "s...
[ "Called", "for", "instructions", "with", "the", "Custom", "LegalizationAction", "." ]
[ "MOS", "MOS", "\"Invalid opcode for custom legalization.\"" ]
MOSLegalizerInfo
legalizeCustom
MOS
MPU
LLVM
24,840
382
1
[]
[ "<s>", "rtx", "csky_return_addr", "(", "int", "count", ",", "rtx", "frame", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "count", "!=", "0", ")", "return", "NULL_RTX", ";", "return", "get_hard_reg_initial_val", "(", "Pmode", ",", "CSKY_LR_REGNUM", ")", ";", "}",...
[ "Return", "an", "RTX", "indicating", "where", "the", "return", "address", "to", "the", "calling", "function", "can", "be", "found", "." ]
[ "csky", "0" ]
csky
csky_return_addr
csky
CPU
GCC
24,841
29
1
[]
[ "<s>", "bool", "SparcAsmPrinter", "::", "isBlockOnlyReachableByFallthrough", "(", "const", "MachineBasicBlock", "*", "MBB", ")", "const", "{", "if", "(", "MBB", "->", "isLandingPad", "(", ")", "||", "MBB", "->", "pred_empty", "(", ")", ")", "return", "false", ...
[ "isBlockOnlyReachableByFallthough", "-", "Return", "true", "if", "the", "basic", "block", "has", "exactly", "one", "predecessor", "and", "the", "control", "transfer", "mechanism", "between", "the", "predecessor", "and", "this", "block", "is", "a", "fall-through", ...
[ "Sparc", "Sparc" ]
SparcAsmPrinter16
isBlockOnlyReachableByFallthrough
Sparc
CPU
LLVM
24,842
130
1
[]
[ "<s>", "void", "aarch64_init_fcmla_laneq_builtins", "(", "void", ")", "{", "unsigned", "int", "i", "=", "0", ";", "for", "(", "i", "=", "0", ";", "i", "<", "ARRAY_SIZE", "(", "aarch64_fcmla_lane_builtin_data", ")", ";", "++", "i", ")", "{", "aarch64_fcmla_...
[ "Due", "to", "the", "architecture", "not", "providing", "lane", "variant", "of", "the", "lane", "instructions", "for", "fcmla", "we", "ca", "n't", "use", "the", "standard", "simd", "builtin", "expansion", "code", ",", "but", "we", "still", "want", "the", "...
[ "aarch64", "0", "0" ]
aarch64-builtins6
aarch64_init_fcmla_laneq_builtins
aarch64
CPU
GCC
24,843
136
1
[]
[ "<s>", "SDValue", "ARCTargetLowering", "::", "LowerReturn", "(", "SDValue", "Chain", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "IsVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "OutputArg", ">", "&", "Outs", ",", "const", "SmallVect...
[ "This", "hook", "must", "be", "implemented", "to", "lower", "outgoing", "return", "values", ",", "described", "by", "the", "Outs", "array", ",", "into", "the", "specified", "DAG", "." ]
[ "ARC", "ARC", "ISD::OutputArg", "ARC", "16", "4", "ARC", "4", "1", "4", "0", "\"Can't return value from vararg function in memory\"", "MVT::i32", "ISD::TokenFactor", "MVT::Other", "0", "1", "0", "ARCISD::RET", "MVT::Other" ]
ARCISelLowering15
LowerReturn
ARC
MPU
LLVM
24,844
476
1
[]
[ "<s>", "void", "XCoreFrameLowering", "::", "processFunctionBeforeFrameFinalized", "(", "MachineFunction", "&", "MF", ",", "RegScavenger", "*", "RS", ")", "const", "{", "assert", "(", "RS", "&&", "\"requiresRegisterScavenging failed\"", ")", ";", "MachineFrameInfo", "*...
[ "processFunctionBeforeFrameFinalized", "-", "This", "method", "is", "called", "immediately", "before", "the", "specified", "function", "'s", "frame", "layout", "(", "MF.getFrameInfo", "(", ")", ")", "is", "finalized", "." ]
[ "XCore", "XCore", "\"requiresRegisterScavenging failed\"", "XCore::GRRegsRegClass", "XCore", "XCore" ]
XCoreFrameLowering (2)
processFunctionBeforeFrameFinalized
XCore
MPU
LLVM
24,845
133
1
[]
[ "<s>", "static", "bool", "aarch64_output_addr_const_extra", "(", "FILE", "*", "file", ",", "rtx", "x", ")", "{", "if", "(", "GET_CODE", "(", "x", ")", "==", "UNSPEC", "&&", "XINT", "(", "x", ",", "1", ")", "==", "UNSPEC_SALT_ADDR", ")", "{", "output_ad...
[ "Implement", "TARGET_ASM_OUTPUT_ADDR_CONST_EXTRA", "." ]
[ "aarch64", "1", "0", "0" ]
aarch641
aarch64_output_addr_const_extra
aarch64
CPU
GCC
24,846
53
1
[]
[ "<s>", "static", "bool", "sh_can_follow_jump", "(", "const", "rtx_insn", "*", "branch1", ",", "const", "rtx_insn", "*", "branch2", ")", "{", "if", "(", "TARGET_SH1", "&&", "flag_reorder_blocks_and_partition", "&&", "simplejump_p", "(", "branch2", ")", "&&", "CRO...
[ "Return", "true", "if", "it", "'s", "possible", "to", "redirect", "BRANCH1", "to", "the", "destination", "of", "an", "unconditional", "jump", "BRANCH2", ".", "We", "only", "want", "to", "do", "this", "if", "the", "resulting", "branch", "will", "have", "a",...
[ "sh", "0", "0", "256", "0", "256" ]
sh4
sh_can_follow_jump
sh
CPU
GCC
24,847
162
1
[]
[ "<s>", "int", "lm32_can_use_return", "(", "void", ")", "{", "if", "(", "!", "reload_completed", ")", "return", "0", ";", "if", "(", "df_regs_ever_live_p", "(", "RA_REGNUM", ")", "||", "crtl", "->", "profile", ")", "return", "0", ";", "if", "(", "lm32_com...
[ "Return", "nonzero", "if", "this", "function", "is", "known", "to", "have", "a", "null", "epilogue", ".", "This", "allows", "the", "optimizer", "to", "omit", "jumps", "to", "jumps", "if", "no", "stack", "was", "created", "." ]
[ "lm32", "0", "0", "0", "0", "1" ]
lm32
lm32_can_use_return
lm32
MPU
GCC
24,848
46
1
[]
[ "<s>", "static", "const", "char", "*", "gen_prefix", "(", "tree", "decl", ")", "{", "if", "(", "DECL_ONE_ONLY", "(", "decl", ")", ")", "return", "NULL", ";", "if", "(", "has_attr", "(", "\"section\"", ",", "decl", ")", ")", "return", "NULL", ";", "if...
[ "Generate", "a", "prefix", "for", "a", "section", "name", ",", "based", "upon", "the", "region", "into", "which", "the", "object", "should", "be", "placed", "." ]
[ "msp430", "\"section\"" ]
msp4304
gen_prefix
msp430
MPU
GCC
24,849
148
1
[]
[ "<s>", "void", "clear", "(", ")", "{", "Chain", ".", "clear", "(", ")", ";", "}", "</s>" ]
[ "Clear", "all", "timers", "in", "this", "group", "." ]
[ "Hexagon" ]
HexagonVectorLoopCarriedReuse
clear
Hexagon
DSP
LLVM
24,850
12
1
[]
[ "<s>", "static", "unsigned", "int", "insn_is_load_p", "(", "rtx", "insn", ")", "{", "rtx", "body", "=", "PATTERN", "(", "insn", ")", ";", "if", "(", "GET_CODE", "(", "body", ")", "==", "SET", ")", "{", "if", "(", "MEM_P", "(", "SET_SRC", "(", "body...
[ "Return", "1", "iff", "INSN", "is", "a", "load", "insn", ",", "including", "permuting", "loads", "that", "represent", "an", "lvxd2x", "instruction", ";", "else", "return", "0", "." ]
[ "rs6000", "1", "0", "1", "0", "1", "0", "0", "0", "0", "1", "0" ]
rs6000-p8swap
insn_is_load_p
rs6000
CPU
GCC
24,851
143
1
[]
[ "<s>", "void", "mips_output_external", "(", "FILE", "*", "file", ",", "tree", "decl", ",", "const", "char", "*", "name", ")", "{", "default_elf_asm_output_external", "(", "file", ",", "decl", ",", "name", ")", ";", "if", "(", "TREE_SYMBOL_REFERENCED", "(", ...
[ "When", "using", "assembler", "macros", ",", "keep", "track", "of", "all", "of", "small-data", "externs", "so", "that", "mips_file_end", "can", "emit", "the", "appropriate", "declarations", "for", "them", ".", "In", "most", "cases", "it", "would", "be", "saf...
[ "mips", "\"\\t.extern\\t\"", "\", \"", "\"\\n\"" ]
mips
mips_output_external
mips
CPU
GCC
24,852
81
1
[]
[ "<s>", "Value", "*", "ARMTargetLowering", "::", "emitStoreConditional", "(", "IRBuilder", "<", ">", "&", "Builder", ",", "Value", "*", "Val", ",", "Value", "*", "Addr", ",", "AtomicOrdering", "Ord", ")", "const", "{", "Module", "*", "M", "=", "Builder", ...
[ "Perform", "a", "store-conditional", "operation", "to", "Addr", "." ]
[ "ARM", "ARM", "64", "Intrinsic::ID", "Intrinsic::arm_stlexd", "Intrinsic::arm_strexd", "Intrinsic::getDeclaration", "\"lo\"", "32", "\"hi\"", "Intrinsic::ID", "Intrinsic::arm_stlex", "Intrinsic::arm_strex", "Intrinsic::getDeclaration", "0" ]
ARMISelLowering121
emitStoreConditional
ARM
CPU
LLVM
24,853
261
1
[]
[ "<s>", "bool", "AMDGPUTargetLowering", "::", "isCheapToSpeculateCttz", "(", ")", "const", "{", "return", "true", ";", "}", "</s>" ]
[ "Return", "true", "if", "it", "is", "cheap", "to", "speculate", "a", "call", "to", "intrinsic", "cttz", "." ]
[ "AMDGPU", "AMDGPU" ]
AMDGPUISelLowering (2)
isCheapToSpeculateCttz
AMDGPU
GPU
LLVM
24,854
12
1
[]
[ "<s>", "void", "ARMAsmBackend", "::", "applyFixup", "(", "const", "MCFixup", "&", "Fixup", ",", "char", "*", "Data", ",", "unsigned", "DataSize", ",", "uint64_t", "Value", ",", "bool", "IsPCRel", ")", "const", "{", "unsigned", "NumBytes", "=", "getFixupKindN...
[ "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", "." ]
[ "ARM", "ARM", "\"Invalid fixup offset!\"", "0", "1", "8", "0xff" ]
ARMAsmBackend52
applyFixup
ARM
CPU
LLVM
24,855
152
1
[]
[ "<s>", "bool", "AMDGPUTargetLowering", "::", "isTruncateFree", "(", "Type", "*", "Source", ",", "Type", "*", "Dest", ")", "const", "{", "return", "Dest", "->", "getPrimitiveSizeInBits", "(", ")", "<", "Source", "->", "getPrimitiveSizeInBits", "(", ")", "&&", ...
[ "Return", "true", "if", "it", "'s", "free", "to", "truncate", "a", "value", "of", "type", "Ty1", "to", "type", "Ty2", "." ]
[ "R600", "32", "0" ]
AMDGPUISelLowering100
isTruncateFree
R600
GPU
LLVM
24,856
41
1
[]
[ "<s>", "bool", "PPCPassConfig", "::", "addInstSelector", "(", ")", "{", "PM", "->", "add", "(", "createPPCISelDag", "(", "getPPCTargetMachine", "(", ")", ")", ")", ";", "return", "false", ";", "}", "</s>" ]
[ "addInstSelector", "-", "This", "method", "should", "install", "an", "instruction", "selector", "pass", ",", "which", "converts", "from", "LLVM", "code", "to", "machine", "instructions", "." ]
[ "PowerPC", "PPC", "PPC", "PPC" ]
PPCTargetMachine62
addInstSelector
PowerPC
CPU
LLVM
24,857
23
1
[]
[ "<s>", "static", "bool", "ix86_optab_supported_p", "(", "int", "op", ",", "machine_mode", "mode1", ",", "machine_mode", ",", "optimization_type", "opt_type", ")", "{", "switch", "(", "op", ")", "{", "case", "asin_optab", ":", "case", "acos_optab", ":", "case",...
[ "Implement", "the", "TARGET_OPTAB_SUPPORTED_P", "hook", "." ]
[ "i386" ]
i3865
ix86_optab_supported_p
i386
CPU
GCC
24,858
132
1
[]
[ "<s>", "bool", "mayNeedRelaxation", "(", "const", "MCInst", "&", "Inst", ")", "const", "override", "{", "return", "false", ";", "}", "</s>" ]
[ "Check", "whether", "the", "given", "instruction", "may", "need", "relaxation", "." ]
[ "SystemZ" ]
SystemZMCAsmBackend
mayNeedRelaxation
SystemZ
CPU
LLVM
24,859
15
1
[]
[ "<s>", "unsigned", "XCoreInstrInfo", "::", "insertBranch", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "*", "TBB", ",", "MachineBasicBlock", "*", "FBB", ",", "ArrayRef", "<", "MachineOperand", ">", "Cond", ",", "const", "DebugLoc", "&", "DL",...
[ "Insert", "branch", "code", "into", "the", "end", "of", "the", "specified", "MachineBasicBlock", "." ]
[ "XCore", "XCore", "\"insertBranch must not be told to insert a fallthrough\"", "2", "0", "\"Unexpected number of components!\"", "\"code size not handled\"", "XCore::BRFU_lu6", "XCore::CondCode", "0", "1", "1", "2", "\"Unexpected number of components!\"", "XCore::CondCode", "0", "1",...
XCoreInstrInfo18
insertBranch
XCore
MPU
LLVM
24,860
252
1
[]
[ "<s>", "bool", "PPCTargetLowering", "::", "SelectAddressRegReg", "(", "SDValue", "N", ",", "SDValue", "&", "Base", ",", "SDValue", "&", "Index", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "int16_t", "imm", "=", "0", ";", "if", "(", "N", ".", "...
[ "SelectAddressRegReg", "-", "Given", "the", "specified", "addressed", ",", "check", "to", "see", "if", "it", "can", "be", "more", "efficiently", "represented", "as", "[", "r+imm", "]", "." ]
[ "PowerPC", "PPC", "0", "ISD::ADD", "1", "1", "PPCISD::Lo", "0", "1", "ISD::OR", "1", "0", "1", "0", "0", "1" ]
PPCISelLowering
SelectAddressRegReg
PowerPC
CPU
LLVM
24,861
218
1
[]
[ "<s>", "unsigned", "SparcInstrInfo", "::", "insertBranch", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "*", "TBB", ",", "MachineBasicBlock", "*", "FBB", ",", "ArrayRef", "<", "MachineOperand", ">", "Cond", ",", "const", "DebugLoc", "&", "DL",...
[ "Insert", "branch", "code", "into", "the", "end", "of", "the", "specified", "MachineBasicBlock", "." ]
[ "Sparc", "Sparc", "\"insertBranch must not be told to insert a fallthrough\"", "1", "0", "\"Sparc branch conditions should have one component!\"", "\"code size not handled\"", "\"Unconditional branch with multiple successors!\"", "SP::BA", "1", "0", "SP::BCOND", "SP::FBCOND", "1", "SP::B...
SparcInstrInfo1
insertBranch
Sparc
CPU
LLVM
24,862
215
1
[]
[ "<s>", "void", "NVPTXAsmPrinter", "::", "emitHeader", "(", "Module", "&", "M", ",", "raw_ostream", "&", "O", ")", "{", "O", "<<", "\"//\\n\"", ";", "O", "<<", "\"// Generated by LLVM NVPTX Back-End\\n\"", ";", "O", "<<", "\"//\\n\"", ";", "O", "<<", "\"\\n\"...
[ "Emit", "the", "header", "for", "this", "unit", ",", "not", "including", "the", "initial", "length", "field", "." ]
[ "NVPTX", "NVPTX", "\"//\\n\"", "\"// Generated by LLVM NVPTX Back-End\\n\"", "\"//\\n\"", "\"\\n\"", "\".version 3.0\\n\"", "\".target \"", "NVPTX::NVCL", "\", texmode_independent\"", "NVPTX::CUDA", "\", map_f64_to_f32\"", "\", debug\"", "\"\\n\"", "\".address_size \"", "\"64\"", "\"...
NVPTXAsmPrinter14
emitHeader
NVPTX
GPU
LLVM
24,863
135
1
[]
[ "<s>", "MCSection", "*", "getSectionForConstant", "(", "const", "DataLayout", "&", "DL", ",", "SectionKind", "Kind", ",", "const", "Constant", "*", "C", ")", "const", "override", "{", "return", "ReadOnlySection", ";", "}", "</s>" ]
[ "Given", "a", "constant", "with", "the", "SectionKind", ",", "return", "a", "section", "that", "it", "should", "be", "placed", "in", "." ]
[ "WebAssembly" ]
WebAssemblyTargetObjectFile8
getSectionForConstant
WebAssembly
Virtual ISA
LLVM
24,864
24
1
[]
[ "<s>", "Register", "OutgoingValueHandler", "::", "extendRegister", "(", "Register", "ValReg", ",", "const", "CCValAssign", "&", "VA", ")", "{", "LLT", "LocTy", "{", "VA", ".", "getLocVT", "(", ")", "}", ";", "switch", "(", "VA", ".", "getLocInfo", "(", "...
[ "Extend", "a", "register", "to", "the", "location", "type", "given", "in", "VA", ",", "capped", "at", "extending", "to", "at", "most", "MaxSize", "bits", "." ]
[ "Mips", "\"unable to extend register\"" ]
MipsCallLowering10
extendRegister
Mips
CPU
LLVM
24,865
139
1
[]
[ "<s>", "Optional", "<", "Value", "*", ">", "GCNTTIImpl", "::", "simplifyDemandedVectorEltsIntrinsic", "(", "InstCombiner", "&", "IC", ",", "IntrinsicInst", "&", "II", ",", "APInt", "DemandedElts", ",", "APInt", "&", "UndefElts", ",", "APInt", "&", "UndefElts2", ...
[ "Can", "be", "used", "to", "implement", "target-specific", "instruction", "combining", "." ]
[ "AMDGPU", "Intrinsic::amdgcn_buffer_load", "Intrinsic::amdgcn_buffer_load_format", "Intrinsic::amdgcn_raw_buffer_load", "Intrinsic::amdgcn_raw_buffer_load_format", "Intrinsic::amdgcn_raw_tbuffer_load", "Intrinsic::amdgcn_s_buffer_load", "Intrinsic::amdgcn_struct_buffer_load", "Intrinsic::amdgcn_stru...
AMDGPUInstCombineIntrinsic (2)
simplifyDemandedVectorEltsIntrinsic
AMDGPU
GPU
LLVM
24,866
158
1
[]
[ "<s>", "bool", "AArch64InstrInfo", "::", "isFPRCopy", "(", "const", "MachineInstr", "&", "MI", ")", "const", "{", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "TargetOpcode", "::", "COPY", ":", "{", "...
[ "Does", "this", "instruction", "rename", "an", "FPR", "without", "modifying", "bits", "?" ]
[ "AArch64", "AArch64", "0", "AArch64::FPR64RegClass", "AArch64::FPR128RegClass", "AArch64::ORRv16i8", "1", "2", "3", "0", "\"invalid ORRv16i8 operands\"" ]
AArch64InstrInfo (2)
isFPRCopy
AArch64
CPU
LLVM
24,867
136
1
[]
[ "<s>", "bool", "ARMCodeEmitter", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "assert", "(", "(", "MF", ".", "getTarget", "(", ")", ".", "getRelocationModel", "(", ")", "!=", "Reloc", "::", "Default", "||", "MF", ".", "getTarg...
[ "runOnMachineFunction", "-", "Emit", "the", "function", "body", "." ]
[ "ARM", "ARM", "\"JIT relocation model must be set to static or default!\"", "ARM", "ARM", "ARM", "0", "ARM", "\"JITTing function '\"", "\"'\\n\"" ]
ARMCodeEmitter13
runOnMachineFunction
ARM
CPU
LLVM
24,868
307
1
[]
[ "<s>", "const", "MCPhysReg", "*", "SystemZRegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "static", "const", "MCPhysReg", "CalleeSavedRegs", "[", "]", "=", "{", "SystemZ", "::", "R6D", ",", "SystemZ", "...
[ "Code", "Generation", "virtual", "methods", "..." ]
[ "SystemZ", "SystemZ", "SystemZ::R6D", "SystemZ::R7D", "SystemZ::R8D", "SystemZ::R9D", "SystemZ::R10D", "SystemZ::R11D", "SystemZ::R12D", "SystemZ::R13D", "SystemZ::R14D", "SystemZ::R15D", "SystemZ::F8D", "SystemZ::F9D", "SystemZ::F10D", "SystemZ::F11D", "SystemZ::F12D", "SystemZ::F...
SystemZRegisterInfo25
getCalleeSavedRegs
SystemZ
CPU
LLVM
24,869
101
1
[]
[ "<s>", "bool", "AArch64InstrInfo", "::", "isAsCheapAsAMove", "(", "const", "MachineInstr", "&", "MI", ")", "const", "{", "if", "(", "!", "Subtarget", ".", "hasCustomCheapAsMoveHandling", "(", ")", ")", "return", "MI", ".", "isAsCheapAsAMove", "(", ")", ";", ...
[ "Return", "true", "if", "the", "instruction", "is", "as", "cheap", "as", "a", "move", "instruction", "." ]
[ "AArch64", "AArch64", "AArch64::ADDWri", "AArch64::ADDXri", "AArch64::SUBWri", "AArch64::SUBXri", "3", "0", "AArch64::ANDWri", "AArch64::ANDXri", "AArch64::EORWri", "AArch64::EORXri", "AArch64::ORRWri", "AArch64::ORRXri", "AArch64::ANDWrr", "AArch64::ANDXrr", "AArch64::BICWrr", "AA...
AArch64InstrInfo
isAsCheapAsAMove
AArch64
CPU
LLVM
24,870
308
1
[]
[ "<s>", "static", "inline", "tree", "def_builtin", "(", "HOST_WIDE_INT", "mask", ",", "const", "char", "*", "name", ",", "enum", "ix86_builtin_func_type", "tcode", ",", "enum", "ix86_builtins", "code", ")", "{", "tree", "decl", "=", "NULL_TREE", ";", "if", "(...
[ "Add", "a", "SPARC", "builtin", "function", "with", "NAME", ",", "ICODE", ",", "CODE", "and", "TYPE", ".", "Return", "the", "function", "decl", "or", "NULL_TREE", "if", "the", "builtin", "was", "not", "added", "." ]
[ "i386", "0", "0" ]
i3867
def_builtin
i386
CPU
GCC
24,871
273
1
[]
[ "<s>", "unsigned", "JVMInstrInfo", "::", "removeBranch", "(", "MachineBasicBlock", "&", "MBB", ",", "int", "*", "BytesRemoved", ")", "const", "{", "unsigned", "Count", "=", "0", ";", "for", "(", "auto", "ritr", "=", "MBB", ".", "instr_rbegin", "(", ")", ...
[ "Remove", "the", "branching", "code", "at", "the", "end", "of", "the", "specific", "MBB", "." ]
[ "JVM", "JVM", "0" ]
JVMInstrInfo
removeBranch
JVM
Virtual ISA
LLVM
24,872
75
1
[]
[ "<s>", "static", "HOST_WIDE_INT", "get_csky_jump_table_size", "(", "rtx", "insn", ")", "{", "if", "(", "JUMP_TABLES_IN_TEXT_SECTION", "||", "readonly_data_section", "==", "text_section", ")", "{", "rtx", "body", "=", "PATTERN", "(", "insn", ")", ";", "int", "elt...
[ "Compute", "the", "size", "of", "a", "vector", "jump", "table", "." ]
[ "csky", "1", "0", "1", "1", "1", "2", "4", "0" ]
csky
get_csky_jump_table_size
csky
CPU
GCC
24,873
115
1
[]
[ "<s>", "MVT", "::", "SimpleValueType", "MBlazeTargetLowering", "::", "getSetCCResultType", "(", "EVT", "VT", ")", "const", "{", "return", "MVT", "::", "i32", ";", "}", "</s>" ]
[ "Return", "the", "value", "type", "to", "use", "for", "ISD", ":", ":SETCC", "." ]
[ "MBlaze", "MVT::SimpleValueType", "MBlaze", "MVT::i32" ]
MBlazeISelLowering1
getSetCCResultType
MBlaze
MPU
LLVM
24,874
18
1
[]
[ "<s>", "const", "MCExpr", "*", "AArch64_MachoTargetObjectFile", "::", "getTTypeGlobalReference", "(", "const", "GlobalValue", "*", "GV", ",", "unsigned", "Encoding", ",", "const", "TargetMachine", "&", "TM", ",", "MachineModuleInfo", "*", "MMI", ",", "MCStreamer", ...
[ "The", "mach-o", "version", "of", "this", "method", "defaults", "to", "returning", "a", "stub", "reference", "." ]
[ "AArch64", "AArch64" ]
AArch64TargetObjectFile (2)
getTTypeGlobalReference
AArch64
CPU
LLVM
24,875
140
1
[]
[ "<s>", "bool", "SIRegisterInfo", "::", "requiresFrameIndexReplacementScavenging", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "return", "MF", ".", "getFrameInfo", "(", ")", ".", "hasStackObjects", "(", ")", "&&", "MF", ".", "getSubtarget", "<"...
[ "Returns", "true", "if", "the", "target", "requires", "using", "the", "RegScavenger", "directly", "for", "frame", "elimination", "despite", "using", "requiresFrameIndexScavenging", "." ]
[ "AMDGPU", "SI", "SI" ]
SIRegisterInfo101
requiresFrameIndexReplacementScavenging
AMDGPU
GPU
LLVM
24,876
50
1
[]
[ "<s>", "void", "X86AsmPrinter", "::", "EmitInstruction", "(", "const", "MachineInstr", "*", "MI", ")", "{", "X86MCInstLower", "MCInstLowering", "(", "Mang", ",", "*", "MF", ",", "*", "this", ")", ";", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")"...
[ "EmitInstruction", "-", "This", "callback", "is", "invoked", "when", "an", "instruction", "is", "emitted", ",", "to", "advance", "the", "hazard", "state", "." ]
[ "X86", "X86", "X86", "X86::Int_MemBarrier", "\"\\t#MEMBARRIER\"", "X86::EH_RETURN", "X86::EH_RETURN64", "0", "\"eh_return, addr: %\"", "X86", "X86::TAILJMPr", "X86::TAILJMPd", "X86::TAILJMPd64", "\"TAILCALL\"", "X86::TLS_addr32", "X86::TLS_addr64", "X86::TLS_base_addr32", "X86::TLS...
X86MCInstLower102
EmitInstruction
X86
CPU
LLVM
24,877
478
1
[]
[ "<s>", "bool", "constant_address_p", "(", "rtx", "x", ")", "{", "return", "CONSTANT_P", "(", "x", ")", "&&", "legitimate_address_p", "(", "Pmode", ",", "x", ",", "1", ")", ";", "}", "</s>" ]
[ "Determine", "if", "a", "given", "RTX", "is", "a", "valid", "constant", "address", "." ]
[ "i386", "1" ]
i3863
constant_address_p
i386
CPU
GCC
24,878
23
1
[]
[ "<s>", "bool", "isToken", "(", ")", "const", "override", "{", "return", "Kind", "==", "k_Token", ";", "}", "</s>" ]
[ "isToken", "-", "Is", "this", "a", "token", "operand", "?" ]
[ "TL45" ]
TL45AsmParser
isToken
TL45
MPU
LLVM
24,879
13
1
[]
[ "<s>", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"X86 insert wait instruction\"", ";", "}", "</s>" ]
[ "getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "." ]
[ "X86", "\"X86 insert wait instruction\"" ]
X86InsertWait
getPassName
X86
CPU
LLVM
24,880
11
1
[]
[ "<s>", "void", "HexagonAsmPrinter", "::", "EmitInstruction", "(", "const", "MachineInstr", "*", "MI", ")", "{", "MCInst", "MCB", "=", "HexagonMCInstrInfo", "::", "createBundle", "(", ")", ";", "const", "MCInstrInfo", "&", "MCII", "=", "*", "Subtarget", "->", ...
[ "EmitInstruction", "-", "This", "callback", "is", "invoked", "when", "an", "instruction", "is", "emitted", ",", "to", "advance", "the", "hazard", "state", "." ]
[ "Hexagon", "Hexagon", "Hexagon", "Hexagon", "Hexagon", "Hexagon", "Hexagon", "0" ]
HexagonAsmPrinter12
EmitInstruction
Hexagon
DSP
LLVM
24,881
187
1
[]
[ "<s>", "static", "void", "mips_emit_loadgp", "(", "void", ")", "{", "if", "(", "TARGET_ABICALLS", "&&", "TARGET_NEWABI", "&&", "cfun", "->", "machine", "->", "global_pointer", ">", "0", ")", "{", "rtx", "addr", ",", "offset", ",", "incoming_address", ";", ...
[ "If", "we", "'re", "generating", "n32", "or", "n64", "abicalls", ",", "emit", "instructions", "to", "set", "up", "the", "global", "pointer", "." ]
[ "mips", "0", "0" ]
mips3
mips_emit_loadgp
mips
CPU
GCC
24,882
83
1
[]
[ "<s>", "static", "bool", "flow_dependent_p", "(", "rtx_insn", "*", "insn", ",", "rtx_insn", "*", "dep_insn", ")", "{", "rtx", "tmp", "=", "PATTERN", "(", "insn", ")", ";", "note_stores", "(", "dep_insn", ",", "flow_dependent_p_1", ",", "&", "tmp", ")", "...
[ "Check", "if", "INSN", "is", "flow-dependent", "on", "DEP_INSN", ".", "Can", "also", "be", "used", "to", "check", "if", "DEP_INSN", "is", "anti-flow", "dependent", "on", "INSN", "." ]
[ "sh" ]
sh
flow_dependent_p
sh
CPU
GCC
24,883
37
1
[]
[ "<s>", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"PULP Hardware Loops\"", ";", "}", "</s>" ]
[ "getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "." ]
[ "RI5CY", "\"PULP Hardware Loops\"" ]
PULPHardwareLoops
getPassName
RI5CY
CPU
LLVM
24,884
11
1
[]
[ "<s>", "static", "void", "x86_print_call_or_nop", "(", "FILE", "*", "file", ",", "const", "char", "*", "target", ")", "{", "if", "(", "flag_nop_mcount", "||", "!", "strcmp", "(", "target", ",", "\"nop\"", ")", ")", "fprintf", "(", "file", ",", "\"1:\"", ...
[ "Print", "call", "to", "TARGET", "to", "FILE", "." ]
[ "i386", "\"nop\"", "\"1:\"", "\"0x0f, 0x1f, 0x44, 0x00, 0x00\\n\"", "\"1:\\tcall\\t%s\\n\"" ]
i386
x86_print_call_or_nop
i386
CPU
GCC
24,885
46
1
[]
[ "<s>", "HOST_WIDE_INT", "ia64_initial_elimination_offset", "(", "int", "from", ",", "int", "to", ")", "{", "HOST_WIDE_INT", "offset", ";", "ia64_compute_frame_size", "(", "get_frame_size", "(", ")", ")", ";", "switch", "(", "from", ")", "{", "case", "FRAME_POINT...
[ "Compute", "the", "initial", "difference", "between", "the", "specified", "pair", "of", "registers", "." ]
[ "ia64", "16", "0", "16", "16", "16" ]
ia643
ia64_initial_elimination_offset
ia64
CPU
GCC
24,886
148
1
[]
[ "<s>", "DecodeStatus", "ECLairDisassembler", "::", "getInstruction", "(", "MCInst", "&", "MI", ",", "uint64_t", "&", "Size", ",", "ArrayRef", "<", "uint8_t", ">", "Bytes", ",", "uint64_t", "Address", ",", "raw_ostream", "&", "OS", ",", "raw_ostream", "&", "C...
[ "Returns", "the", "disassembly", "of", "a", "single", "instruction", "." ]
[ "ECLair", "ECLair", "support::endian", "support::endianness", "support::endian", "1", "16", "3", "support::endian", "2", "support::endian", "support::endianness", "1", "0" ]
ECLairDisassembler
getInstruction
ECLair
MPU
LLVM
24,887
232
1
[]
[ "<s>", "void", "MipsPassConfig", "::", "addIRPasses", "(", ")", "{", "TargetPassConfig", "::", "addIRPasses", "(", ")", ";", "addPass", "(", "createAtomicExpandPass", "(", "&", "getMipsTargetMachine", "(", ")", ")", ")", ";", "if", "(", "getMipsSubtarget", "("...
[ "Add", "common", "target", "configurable", "passes", "that", "perform", "LLVM", "IR", "to", "IR", "transforms", "following", "machine", "independent", "optimization", "." ]
[ "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips" ]
MipsTargetMachine28
addIRPasses
Mips
CPU
LLVM
24,888
65
1
[]
[ "<s>", "void", "DigitalTargetObjectFile", "::", "Initialize", "(", "MCContext", "&", "Ctx", ",", "const", "TargetMachine", "&", "TM", ")", "{", "TargetLoweringObjectFileELF", "::", "Initialize", "(", "Ctx", ",", "TM", ")", ";", "InitializeELF", "(", "TM", ".",...
[ "This", "method", "must", "be", "called", "before", "any", "actual", "lowering", "is", "done", "." ]
[ "Digital", "\".sdata\"", "\".sbss\"" ]
DigitalTargetObjectFile
Initialize
Digital
CPU
LLVM
24,889
95
1
[]
[ "<s>", "void", "X86TargetLowering", "::", "computeKnownBitsForTargetNode", "(", "const", "SDValue", "Op", ",", "APInt", "&", "KnownZero", ",", "APInt", "&", "KnownOne", ",", "const", "SelectionDAG", "&", "DAG", ",", "unsigned", "Depth", ")", "const", "{", "uns...
[ "Determine", "which", "of", "the", "bits", "specified", "in", "Mask", "are", "known", "to", "be", "either", "zero", "or", "one", "and", "return", "them", "in", "the", "KnownZero/KnownOne", "bitsets", "." ]
[ "X86", "X86", "ISD::BUILTIN_OP_END", "ISD::INTRINSIC_WO_CHAIN", "ISD::INTRINSIC_W_CHAIN", "ISD::INTRINSIC_VOID", "\"Should use MaskedValueIsZero if you don't know whether Op\"", "\" is a target node!\"", "0", "X86ISD::ADD", "X86ISD::SUB", "X86ISD::ADC", "X86ISD::SBB", "X86ISD::SMUL", "X8...
X86ISelLowering236
computeKnownBitsForTargetNode
X86
CPU
LLVM
24,890
357
1
[]
[ "<s>", "static", "unsigned", "riscv_pass_aggregate_in_fpr_pair_p", "(", "const_tree", "type", ",", "riscv_aggregate_field", "fields", "[", "2", "]", ")", "{", "static", "int", "warned", "=", "0", ";", "int", "n_old", "=", "riscv_flatten_aggregate_argument", "(", "...
[ "See", "whether", "TYPE", "is", "a", "record", "whose", "fields", "should", "be", "returned", "in", "one", "or", "two", "floating-point", "registers", ".", "If", "so", ",", "populate", "FIELDS", "accordingly", "." ]
[ "riscv", "2", "0", "0", "1", "0", "1", "0", "\"ABI for flattened struct with zero-length \"", "\"bit-fields changed in GCC 10\"", "1", "0", "0" ]
riscv
riscv_pass_aggregate_in_fpr_pair_p
riscv
CPU
GCC
24,891
154
1
[]
[ "<s>", "unsigned", "getNumFixupKinds", "(", ")", "const", "{", "return", "1", ";", "}", "</s>" ]
[ "Get", "the", "number", "of", "target", "specific", "fixup", "kinds", "." ]
[ "BPF", "1" ]
BPFAsmBackend27
getNumFixupKinds
BPF
Virtual ISA
LLVM
24,892
10
1
[]
[ "<s>", "bool", "isMem", "(", ")", "const", "{", "return", "Kind", "==", "Memory", ";", "}", "</s>" ]
[ "isMem", "-", "Is", "this", "a", "memory", "operand", "?" ]
[ "Patmos" ]
PatmosAsmParser
isMem
Patmos
VLIW
LLVM
24,893
12
1
[]
[ "<s>", "bool", "HSAILTargetLowering", "::", "isDesirableToTransformToIntegerOp", "(", "unsigned", "Opc", ",", "EVT", "VT", ")", "const", "{", "return", "(", "Opc", "==", "ISD", "::", "LOAD", "||", "Opc", "==", "ISD", "::", "STORE", ")", "&&", "(", "VT", ...
[ "Return", "true", "if", "it", "is", "profitable", "for", "dag", "combiner", "to", "transform", "a", "floating", "point", "op", "of", "specified", "opcode", "to", "a", "equivalent", "op", "of", "an", "integer", "type", "." ]
[ "HSAIL", "HSAIL", "ISD::LOAD", "ISD::STORE", "MVT::f32", "MVT::f64" ]
HSAILISelLowering
isDesirableToTransformToIntegerOp
HSAIL
Virtual ISA
LLVM
24,894
51
1
[]
[ "<s>", "bool", "evaluateBranch", "(", "const", "MCInst", "&", "Inst", ",", "uint64_t", "Addr", ",", "uint64_t", "Size", ",", "uint64_t", "&", "Target", ")", "const", "override", "{", "unsigned", "OpId", ";", "switch", "(", "Inst", ".", "getOpcode", "(", ...
[ "Given", "a", "branch", "instruction", "try", "to", "get", "the", "address", "the", "branch", "targets", "." ]
[ "ARM", "0", "ARM::t2WLS", "ARM::t2LEUpdate", "2", "ARM::t2LE", "1", "4" ]
ARMMCTargetDesc11
evaluateBranch
ARM
CPU
LLVM
24,895
117
1
[]
[ "<s>", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"SPIRV OCL Regularizer\"", ";", "}", "</s>" ]
[ "getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "." ]
[ "SPIRV", "\"SPIRV OCL Regularizer\"" ]
SPIRVOCLRegularizer
getPassName
SPIRV
Virtual ISA
LLVM
24,896
11
1
[]
[ "<s>", "EVT", "getOptimalMemOpType", "(", "uint64_t", "Size", ",", "unsigned", "DstAlign", ",", "unsigned", "SrcAlign", ",", "bool", "IsMemset", ",", "bool", "ZeroMemset", ",", "bool", "MemcpyStrSrc", ",", "const", "AttributeList", "&", "FuncAttributes", ")", "c...
[ "It", "returns", "EVT", ":", ":Other", "if", "the", "type", "should", "be", "determined", "using", "generic", "target-independent", "logic", "." ]
[ "BPF", "8", "MVT::i64", "MVT::i32" ]
BPFISelLowering23
getOptimalMemOpType
BPF
Virtual ISA
LLVM
24,897
43
1
[]
[ "<s>", "int", "AArch64FrameLowering", "::", "getFrameIndexReference", "(", "const", "MachineFunction", "&", "MF", ",", "int", "FI", ",", "Register", "&", "FrameReg", ")", "const", "{", "return", "resolveFrameIndexReference", "(", "MF", ",", "FI", ",", "FrameReg"...
[ "getFrameIndexReference", "-", "This", "method", "should", "return", "the", "base", "register", "and", "offset", "used", "to", "reference", "a", "frame", "index", "location", "." ]
[ "AArch64", "AArch64" ]
AArch64FrameLowering100
getFrameIndexReference
AArch64
CPU
LLVM
24,898
49
1
[]
[ "<s>", "TargetLowering", "::", "AtomicExpansionKind", "PPCTargetLowering", "::", "shouldExpandAtomicRMWInIR", "(", "AtomicRMWInst", "*", "AI", ")", "const", "{", "unsigned", "Size", "=", "AI", "->", "getType", "(", ")", "->", "getPrimitiveSizeInBits", "(", ")", ";...
[ "Returns", "how", "the", "IR-level", "AtomicExpand", "pass", "should", "expand", "the", "given", "AtomicRMW", ",", "if", "at", "all", "." ]
[ "PowerPC", "PPC", "128" ]
PPCISelLowering83
shouldExpandAtomicRMWInIR
PowerPC
CPU
LLVM
24,899
50
1
[]