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>", "virtual", "bool", "writeNopData", "(", "uint64_t", "Count", ",", "MCObjectWriter", "*", "OW", ")", "const", "{", "return", "true", ";", "}", "</s>" ]
[ "Write", "an", "(", "optimal", ")", "nop", "sequence", "of", "Count", "bytes", "to", "the", "given", "output", "." ]
[ "R600" ]
AMDGPUAsmBackend16
writeNopData
R600
GPU
LLVM
8,500
17
1
[]
[ "<s>", "Register", "HexagonRegisterInfo", "::", "getFrameRegister", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "HexagonFrameLowering", "*", "TFI", "=", "getFrameLowering", "(", "MF", ")", ";", "if", "(", "TFI", "->", "hasFP", "(", ...
[ "Debug", "information", "queries", "." ]
[ "Hexagon", "Hexagon", "Hexagon" ]
HexagonRegisterInfo2
getFrameRegister
Hexagon
DSP
LLVM
8,501
42
1
[]
[ "<s>", "static", "void", "loongarch_emit_probe_stack_range", "(", "HOST_WIDE_INT", "first", ",", "HOST_WIDE_INT", "size", ")", "{", "HOST_WIDE_INT", "rounded_size", ";", "HOST_WIDE_INT", "interval", ";", "if", "(", "flag_stack_clash_protection", ")", "interval", "=", ...
[ "Emit", "code", "to", "probe", "a", "range", "of", "stack", "addresses", "from", "FIRST", "to", "FIRST+SIZE", ",", "inclusive", ".", "These", "are", "offsets", "from", "the", "current", "stack", "pointer", "." ]
[ "loongarch", "16384", "0", "0", "2048" ]
loongarch1
loongarch_emit_probe_stack_range
loongarch
CPU
GCC
8,502
346
1
[]
[ "<s>", "static", "bool", "riscv_valid_lo_sum_p", "(", "enum", "riscv_symbol_type", "sym_type", ",", "machine_mode", "mode", ",", "rtx", "x", ")", "{", "int", "align", ",", "size", ";", "if", "(", "riscv_symbol_insns", "(", "sym_type", ")", "==", "0", ")", ...
[ "Return", "true", "if", "a", "LO_SUM", "can", "address", "a", "value", "of", "mode", "MODE", "when", "the", "LO_SUM", "symbol", "has", "type", "SYM_TYPE", "." ]
[ "riscv", "0", "1", "2" ]
riscv
riscv_valid_lo_sum_p
riscv
CPU
GCC
8,503
166
1
[]
[ "<s>", "static", "void", "aarch64_pushwb_single_reg", "(", "machine_mode", "mode", ",", "unsigned", "regno", ",", "HOST_WIDE_INT", "adjustment", ")", "{", "rtx", "base_rtx", "=", "stack_pointer_rtx", ";", "rtx", "insn", ",", "reg", ",", "mem", ";", "reg", "=",...
[ "Push", "the", "register", "number", "REGNO", "of", "mode", "MODE", "to", "the", "stack", "with", "write-back", "adjusting", "the", "stack", "by", "ADJUSTMENT", "." ]
[ "aarch64", "1" ]
aarch642
aarch64_pushwb_single_reg
aarch64
CPU
GCC
8,504
80
1
[]
[ "<s>", "bool", "PPCDarwinAsmPrinter", "::", "doFinalization", "(", "Module", "&", "M", ")", "{", "bool", "isPPC64", "=", "getDataLayout", "(", ")", ".", "getPointerSizeInBits", "(", ")", "==", "64", ";", "const", "TargetLoweringObjectFileMachO", "&", "TLOFMacho"...
[ "doFinalization", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "do", "any", "necessary", "clean", "up", "after", "all", "passes", "have", "run", "." ]
[ "PowerPC", "PPC", "PPC", "64", "\"$non_lazy_ptr\"", "PPC", "3", "2", "0", "0", "PPC", "8", "4", "PPC", "8", "4" ]
PPCAsmPrinter100
doFinalization
PowerPC
CPU
LLVM
8,505
306
1
[]
[ "<s>", "SDValue", "XCoreTargetLowering", "::", "LowerCall", "(", "TargetLowering", "::", "CallLoweringInfo", "&", "CLI", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "InVals", ")", "const", "{", "SelectionDAG", "&", "DAG", "=", "CLI", ".", "DAG", ";", "...
[ "This", "hook", "must", "be", "implemented", "to", "lower", "calls", "into", "the", "specified", "DAG", "." ]
[ "XCore", "XCore", "ISD::OutputArg", "32", "32", "ISD::InputArg", "32", "\"Unsupported calling convention\"" ]
XCoreISelLowering1
LowerCall
XCore
MPU
LLVM
8,506
171
1
[]
[ "<s>", "bool", "X86AvoidTrailingCallPass", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "const", "X86Subtarget", "&", "STI", "=", "MF", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ";", "const", "X86InstrInfo", "&", "T...
[ "runOnMachineFunction", "-", "Emit", "the", "function", "body", "." ]
[ "X86", "X86", "X86", "X86", "X86", "\"pass only runs on Win64\"", "\"inserting int3 after trailing call instruction:\\n\"", "\"inserting int3 in trailing empty MBB:\\n\"", "X86::INT3" ]
X86AvoidTrailingCall4
runOnMachineFunction
X86
CPU
LLVM
8,507
255
1
[]
[ "<s>", "static", "bool", "xtensa_hard_regno_mode_ok", "(", "unsigned", "int", "regno", ",", "machine_mode", "mode", ")", "{", "return", "xtensa_hard_regno_mode_ok_p", "[", "mode", "]", "[", "regno", "]", ";", "}", "</s>" ]
[ "Implement", "TARGET_HARD_REGNO_MODE_OK", "." ]
[ "xtensa" ]
xtensa
xtensa_hard_regno_mode_ok
xtensa
MPU
GCC
8,508
22
1
[]
[ "<s>", "bool", "ARMLegalizerInfo", "::", "legalizeCustom", "(", "MachineInstr", "&", "MI", ",", "MachineRegisterInfo", "&", "MRI", ",", "MachineIRBuilder", "&", "MIRBuilder", ")", "const", "{", "using", "namespace", "TargetOpcode", ";", "switch", "(", "MI", ".",...
[ "Called", "for", "instructions", "with", "the", "Custom", "LegalizationAction", "." ]
[ "ARM", "ARM", "0", "16", "8", "0", "32", "\"Couldn't find widened instruction\"", "\"Unexpected widened instruction\"", "0", "32", "\"Unexpected type for the widened instruction\"", "0", "32", "1", "2", "32" ]
ARMLegalizerInfo3
legalizeCustom
ARM
CPU
LLVM
8,509
493
1
[]
[ "<s>", "static", "reg_class_t", "pdp11_secondary_reload", "(", "bool", "in_p", "ATTRIBUTE_UNUSED", ",", "rtx", "x", ",", "reg_class_t", "reload_class", ",", "machine_mode", "reload_mode", "ATTRIBUTE_UNUSED", ",", "secondary_reload_info", "*", "sri", "ATTRIBUTE_UNUSED", ...
[ "TARGET_SECONDARY_RELOAD", ".", "FPU", "registers", "AC4", "and", "AC5", "(", "class", "NO_LOAD_FPU_REGS", ")", "require", "an", "intermediate", "register", "(", "AC0-AC3", ":", "LOAD_FPU_REGS", ")", ".", "Everything", "else", "can", "be", "loade/stored", "directl...
[ "pdp11" ]
pdp11
pdp11_secondary_reload
pdp11
MPU
GCC
8,510
54
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_ordered_add", "Intrinsic::amdgcn_ds_ordered_swap", "Intrinsic::amdgcn_ds_fadd", "Intrinsic::amdgcn_ds_fmin", "Intrinsic::amdgcn_ds_fmax", "2", "4", "0" ]
AMDGPUTargetTransformInfo (2)1
getTgtMemIntrinsic
AMDGPU
GPU
LLVM
8,511
188
1
[]
[ "<s>", "virtual", "int", "getOperandLatency", "(", "const", "InstrItineraryData", "*", "ItinData", ",", "SDNode", "*", "DefNode", ",", "unsigned", "DefIdx", ",", "SDNode", "*", "UseNode", ",", "unsigned", "UseIdx", ")", "const", "{", "return", "PPCGenInstrInfo",...
[ "Compute", "and", "return", "the", "use", "operand", "latency", "of", "a", "given", "pair", "of", "def", "and", "use", "." ]
[ "PowerPC", "PPC" ]
PPCInstrInfo40
getOperandLatency
PowerPC
CPU
LLVM
8,512
42
1
[]
[ "<s>", "bool", "PPCTargetMachine", "::", "addPreEmitPass", "(", "PassManagerBase", "&", "PM", ")", "{", "PM", ".", "add", "(", "createPPCBranchSelectionPass", "(", ")", ")", ";", "return", "false", ";", "}", "</s>" ]
[ "This", "pass", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "machine", "code", "is", "emitted", "." ]
[ "PowerPC", "PPC", "PPC" ]
PPCTargetMachine64
addPreEmitPass
PowerPC
CPU
LLVM
8,513
23
1
[]
[ "<s>", "static", "bool", "tilepro_pass_by_reference", "(", "cumulative_args_t", "cum", "ATTRIBUTE_UNUSED", ",", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ",", "const_tree", "type", ",", "bool", "named", "ATTRIBUTE_UNUSED", ")", "{", "return", "(", "type", "&&", "T...
[ "Implement", "TARGET_PASS_BY_REFERENCE", ".", "Variable", "sized", "types", "are", "passed", "by", "reference", "." ]
[ "tilepro" ]
tilepro2
tilepro_pass_by_reference
tilepro
VLIW
GCC
8,514
41
1
[]
[ "<s>", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"WebAssembly Optimize Returned\"", ";", "}", "</s>" ]
[ "getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "." ]
[ "WebAssembly", "\"WebAssembly Optimize Returned\"" ]
WebAssemblyOptimizeReturned
getPassName
WebAssembly
Virtual ISA
LLVM
8,515
11
1
[]
[ "<s>", "bool", "Thumb2SizeReduce", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "PredicateFtor", "&&", "!", "PredicateFtor", "(", "MF", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "STI", "=", "&"...
[ "runOnMachineFunction", "-", "Emit", "the", "function", "body", "." ]
[ "ARM", "ARM" ]
Thumb2SizeReduction18
runOnMachineFunction
ARM
CPU
LLVM
8,516
179
1
[]
[ "<s>", "MachineInstr", "*", "RISCVInstrInfo", "::", "convertToThreeAddress", "(", "MachineFunction", "::", "iterator", "&", "MBB", ",", "MachineInstr", "&", "MI", ",", "LiveVariables", "*", "LV", ")", "const", "{", "switch", "(", "MI", ".", "getOpcode", "(", ...
[ "convertToThreeAddress", "-", "This", "method", "must", "be", "implemented", "by", "targets", "that", "set", "the", "M_CONVERTIBLE_TO_3_ADDR", "flag", "." ]
[ "RISCV", "RISCV", "\"Unexpected opcode\"", "0", "1", "2", "3", "4", "1" ]
RISCVInstrInfo12
convertToThreeAddress
RISCV
CPU
LLVM
8,517
276
1
[]
[ "<s>", "unsigned", "getReg", "(", ")", "const", "{", "assert", "(", "Kind", "==", "k_Register", "&&", "\"Invalid access!\"", ")", ";", "return", "Reg", ".", "RegNum", ";", "}", "</s>" ]
[ "Returns", "the", "register", "associated", "with", "this", "edge", "." ]
[ "ARM64", "\"Invalid access!\"" ]
ARM64AsmParser
getReg
ARM64
CPU
LLVM
8,518
21
1
[]
[ "<s>", "unsigned", "OR1KRegisterInfo", "::", "getFrameRegister", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "TargetFrameLowering", "*", "TFI", "=", "MF", ".", "getTarget", "(", ")", ".", "getFrameLowering", "(", ")", ";", "return",...
[ "Debug", "information", "queries", "." ]
[ "OR1K", "OR1K", "OR1K::R2", "OR1K::R1" ]
OR1KRegisterInfo
getFrameRegister
OR1K
CPU
LLVM
8,519
44
1
[]
[ "<s>", "bool", "ARCompactFrameLowering", "::", "hasFP", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "return", "(", "DisableFramePointerElim", "(", "MF", ")", "||", "MF", ".", "getFrameInfo", "(", ")", "->", "hasVarSizedObjects", "(", ")", ...
[ "hasFP", "-", "Return", "true", "if", "the", "specified", "function", "should", "have", "a", "dedicated", "frame", "pointer", "register", "." ]
[ "ARCompact", "ARC" ]
ARCompactFrameLowering
hasFP
ARCompact
MPU
LLVM
8,520
31
1
[]
[ "<s>", "void", "mt_final_prescan_insn", "(", "rtx", "insn", ",", "rtx", "*", "opvec", "ATTRIBUTE_UNUSED", ",", "int", "noperands", "ATTRIBUTE_UNUSED", ")", "{", "rtx", "prev_i", ";", "enum", "attr_type", "prev_attr", ";", "mt_nops_required", "=", "0", ";", "mt...
[ "The", "following", "determines", "the", "number", "of", "nops", "that", "need", "to", "be", "inserted", "between", "the", "previous", "instructions", "and", "current", "instruction", "to", "avoid", "pipeline", "hazards", "on", "the", "mt", "processor", ".", "...
[ "mt", "0", "\"\"", "1", "\"consecutive mem ops\"", "1", "\"load->arith dependency delay\"", "1", "\"arith->branch dependency delay\"", "2", "1", "\"load->branch dependency delay\"", "\"mt_final_prescan_insn, invalid insn #1\"" ]
mt
mt_final_prescan_insn
mt
CPU
GCC
8,521
277
1
[]
[ "<s>", "static", "void", "frv_optimize_membar_local", "(", "basic_block", "bb", ",", "struct", "frv_io", "*", "next_io", ",", "rtx_insn", "*", "*", "last_membar", ")", "{", "HARD_REG_SET", "used_regs", ";", "rtx", "next_membar", ",", "set", ";", "rtx_insn", "*...
[ "Go", "through", "block", "BB", "looking", "for", "membars", "to", "remove", ".", "There", "are", "two", "cases", "where", "intra-block", "analysis", "is", "enough", ":", "-", "a", "membar", "is", "redundant", "if", "it", "occurs", "between", "two", "conse...
[ "frv", "0", "0", "0", "\";; [Local] Removing membar %d since order\"", "\" of accesses is guaranteed\\n\"", "0", "0", "0", "0", "0", "\";; [Local] Removing membar %d since the target\"", "\" of %d is used before the I/O operation\\n\"", "0", "0" ]
frv3
frv_optimize_membar_local
frv
VLIW
GCC
8,522
457
1
[]
[ "<s>", "static", "HOST_WIDE_INT", "pa_starting_frame_offset", "(", "void", ")", "{", "return", "8", ";", "}", "</s>" ]
[ "Implement", "TARGET_STARTING_FRAME_OFFSET", ".", "On", "the", "32-bit", "ports", ",", "we", "reserve", "one", "slot", "for", "the", "previous", "frame", "pointer", "and", "one", "fill", "slot", ".", "The", "fill", "slot", "is", "for", "compatibility", "with",...
[ "pa", "8" ]
pa
pa_starting_frame_offset
pa
CPU
GCC
8,523
11
1
[]
[ "<s>", "void", "P2DAGToDAGISel", "::", "Select", "(", "SDNode", "*", "N", ")", "{", "LLVM_DEBUG", "(", "errs", "(", ")", "<<", "\"<-------->\\n\"", ")", ";", "LLVM_DEBUG", "(", "errs", "(", ")", "<<", "\"Selecting: \"", ";", "N", "->", "dump", "(", "Cu...
[ "Main", "hook", "for", "targets", "to", "transform", "nodes", "into", "machine", "nodes", "." ]
[ "P2", "P2", "\"<-------->\\n\"", "\"Selecting: \"", "\"\\n\"", "\"== \"", "\"\\n\"", "1", "ISD::FrameIndex", "\"frame index node is being selected\\n\"", "P2::FRMIDX", "ISD::SMUL_LOHI", "ISD::UMUL_LOHI", "\"Done selecting, chose \"" ]
P2ISelDAGToDAG
Select
P2
MPU
LLVM
8,524
226
1
[]
[ "<s>", "unsigned", "ARMBaseInstrInfo", "::", "isLoadFromStackSlotPostFE", "(", "const", "MachineInstr", "&", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "SmallVector", "<", "const", "MachineMemOperand", "*", ",", "1", ">", "Accesses", ";", "if", "(...
[ "isLoadFromStackSlotPostFE", "-", "Check", "for", "post-frame", "ptr", "elimination", "stack", "locations", "as", "well", "." ]
[ "ARM", "ARM", "1", "1" ]
ARMBaseInstrInfo10
isLoadFromStackSlotPostFE
ARM
CPU
LLVM
8,525
80
1
[]
[ "<s>", "bool", "isReg", "(", ")", "const", "override", "{", "return", "Kind", "==", "Register", ";", "}", "</s>" ]
[ "isReg", "-", "Is", "this", "a", "register", "operand", "?" ]
[ "RV16K" ]
RV16KAsmParser
isReg
RV16K
Virtual ISA
LLVM
8,526
13
1
[]
[ "<s>", "rtx", "pa_maybe_emit_compare_and_swap_exchange_loop", "(", "rtx", "target", ",", "rtx", "mem", ",", "rtx", "val", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "mem", ")", ";", "if", "(", "can_compare_and_swap_p", "(", "mode", ",", "true", ...
[ "This", "function", "tries", "to", "implement", "an", "atomic", "exchange", "operation", "using", "a", "compare_and_swap", "loop", ".", "VAL", "is", "written", "to", "*", "MEM", ".", "The", "previous", "contents", "of", "*", "MEM", "are", "returned", ",", ...
[ "pa" ]
pa
pa_maybe_emit_compare_and_swap_exchange_loop
pa
CPU
GCC
8,527
72
1
[]
[ "<s>", "static", "void", "arc_file_start", "(", "void", ")", "{", "default_file_start", "(", ")", ";", "fprintf", "(", "asm_out_file", ",", "\"\\t.cpu %s\\n\"", ",", "arc_cpu_string", ")", ";", "}", "</s>" ]
[ "Set", "the", "cpu", "type", "and", "print", "out", "other", "fancy", "things", ",", "at", "the", "top", "of", "the", "file", "." ]
[ "arc", "\"\\t.cpu %s\\n\"" ]
arc3
arc_file_start
arc
MPU
GCC
8,528
21
1
[]
[ "<s>", "bool", "SNESAsmBackend", "::", "shouldForceRelocation", "(", "const", "MCAssembler", "&", "Asm", ",", "const", "MCFixup", "&", "Fixup", ",", "const", "MCValue", "&", "Target", ")", "{", "switch", "(", "(", "unsigned", ")", "Fixup", ".", "getKind", ...
[ "Hook", "to", "check", "if", "a", "relocation", "is", "needed", "for", "some", "target", "specific", "reason", "." ]
[ "SNES", "SNES", "SNES::fixup_7_pcrel", "SNES::fixup_13_pcrel", "SNES::fixup_call" ]
SNESAsmBackend
shouldForceRelocation
SNES
DSP
LLVM
8,529
58
1
[]
[ "<s>", "BitVector", "AVRRegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "Reserved", ".", "set", "(", "AVR", "::", "R0", ")", ";", "Reserv...
[ "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", "...
[ "AVR", "AVR", "AVR::R0", "AVR::R1", "AVR::R1R0", "AVR::SPL", "AVR::SPH", "AVR::SP", "AVR::R28", "AVR::R29", "AVR::R29R28" ]
AVRRegisterInfo1
getReservedRegs
AVR
MPU
LLVM
8,530
105
1
[]
[ "<s>", "static", "void", "union_defs", "(", "swap_web_entry", "*", "insn_entry", ",", "rtx", "insn", ",", "df_ref", "use", ")", "{", "struct", "df_link", "*", "link", "=", "DF_REF_CHAIN", "(", "use", ")", ";", "if", "(", "!", "link", ")", "insn_entry", ...
[ "Union", "INSN", "with", "all", "insns", "containing", "definitions", "that", "reach", "USE", ".", "Detect", "whether", "USE", "is", "live-in", "to", "the", "current", "function", "." ]
[ "powerpcspe", "1", "1" ]
powerpcspe
union_defs
powerpcspe
CPU
GCC
8,531
117
1
[]
[ "<s>", "void", "init_cumulative_args", "(", "CUMULATIVE_ARGS", "*", "cum", ",", "tree", "fntype", ",", "rtx", "libname", ",", "tree", "fndecl", "ATTRIBUTE_UNUSED", ")", "{", "cum", "->", "nregs", "=", "18", ";", "cum", "->", "regno", "=", "FIRST_CUM_REG", ...
[ "Handle", "the", "INIT_CUMULATIVE_ARGS", "macro", ".", "Initialize", "a", "variable", "CUM", "of", "type", "CUMULATIVE_ARGS", "for", "a", "call", "to", "a", "function", "whose", "data", "type", "is", "FNTYPE", ".", "For", "a", "library", "call", ",", "FNTYPE...
[ "avr", "18", "0", "0" ]
avr3
init_cumulative_args
avr
MPU
GCC
8,532
77
1
[]
[ "<s>", "bool", "DetectRoundChange", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "Subtarget", "=", "&", "MF", ".", "getSubtarget", "<", "SparcSubtarget", ">", "(", ")", ";", "bool", "Modified", "=", "false", ";", "for", "(", "...
[ "runOnMachineFunction", "-", "Emit", "the", "function", "body", "." ]
[ "Sparc", "Sparc", "SP::CALL", "0", "0", "\"fesetround\"", "0", "\"Error: You are using the detectroundchange \"", "\"option to detect rounding changes that will \"", "\"cause LEON errata. The only way to fix this \"", "\"is to remove the call to fesetround from \"", "\"the source code.\\n\"" ]
LeonPasses4
runOnMachineFunction
Sparc
CPU
LLVM
8,533
185
1
[]
[ "<s>", "static", "bool", "rs6000_member_type_forces_blk", "(", "const_tree", "field", ",", "machine_mode", "mode", ")", "{", "return", "(", "(", "TARGET_SPE", "&&", "TREE_CODE", "(", "TREE_TYPE", "(", "field", ")", ")", "==", "VECTOR_TYPE", ")", "||", "(", "...
[ "Return", "true", "if", "a", "structure", ",", "union", "or", "array", "containing", "FIELD", "should", "be", "accessed", "using", "`", "BLKMODE", "'", ".", "For", "the", "SPE", ",", "simd", "types", "are", "V2SI", ",", "and", "gcc", "can", "be", "temp...
[ "powerpcspe" ]
powerpcspe
rs6000_member_type_forces_blk
powerpcspe
CPU
GCC
8,534
37
1
[]
[ "<s>", "static", "int", "const_int_cost", "(", "rtx", "constant", ")", "{", "switch", "(", "const_method", "(", "constant", ")", ")", "{", "case", "MOVQ", ":", "return", "0", ";", "case", "MVZ", ":", "case", "MVS", ":", "case", "NOTB", ":", "case", "...
[ "Return", "the", "cost", "of", "moving", "constant", "I", "into", "a", "data", "register", "." ]
[ "m68k", "0", "1", "2" ]
m68k3
const_int_cost
m68k
MPU
GCC
8,535
57
1
[]
[ "<s>", "bool", "mayNeedRelaxation", "(", "const", "MCInst", "&", "Inst", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "override", "{", "return", "false", ";", "}", "</s>" ]
[ "Check", "whether", "the", "given", "instruction", "may", "need", "relaxation", "." ]
[ "Nyuzi" ]
NyuziAsmBackend
mayNeedRelaxation
Nyuzi
GPU
LLVM
8,536
20
1
[]
[ "<s>", "static", "reg_class_t", "sparc_preferred_reload_class", "(", "rtx", "x", ",", "reg_class_t", "rclass", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "x", ")", ";", "if", "(", "CONSTANT_P", "(", "x", ")", ")", "{", "if", "(", "FP_REG_CLASS...
[ "Implement", "TARGET_PREFERRED_RELOAD_CLASS", ":", "-", "We", "ca", "n't", "load", "constants", "into", "FP", "registers", ".", "-", "We", "ca", "n't", "load", "FP", "constants", "into", "integer", "registers", "when", "soft-float", ",", "because", "there", "i...
[ "sparc" ]
sparc
sparc_preferred_reload_class
sparc
CPU
GCC
8,537
172
1
[]
[ "<s>", "bool", "isToken", "(", ")", "const", "override", "{", "return", "Kind", "==", "k_Token", ";", "}", "</s>" ]
[ "isToken", "-", "Is", "this", "a", "token", "operand", "?" ]
[ "Cpu0" ]
Cpu0AsmParser
isToken
Cpu0
CPU
LLVM
8,538
13
1
[]
[ "<s>", "bool", "TPCSubregInitElimination", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "Func", ")", "{", "if", "(", "!", "EnableTPCSubregInitElimination", ")", "return", "false", ";", "MF", "=", "&", "Func", ";", "MRI", "=", "&", "MF", "->", "...
[ "runOnMachineFunction", "-", "Emit", "the", "function", "body", "." ]
[ "TPC", "TPC", "TPC", "TPC" ]
TPCSubregInitElimination
runOnMachineFunction
TPC
Virtual ISA
LLVM
8,539
123
1
[]
[ "<s>", "int", "arm_no_early_alu_shift_dep", "(", "rtx", "producer", ",", "rtx", "consumer", ")", "{", "rtx", "value", ",", "op", ";", "rtx", "early_op", ";", "if", "(", "!", "arm_get_set_operands", "(", "producer", ",", "consumer", ",", "&", "value", ",", ...
[ "Return", "nonzero", "if", "the", "CONSUMER", "instruction", "(", "an", "ALU", "op", ")", "does", "not", "have", "an", "early", "register", "shift", "value", "or", "amount", "dependency", "on", "the", "result", "of", "PRODUCER", "." ]
[ "arm", "0", "0" ]
aarch-common
arm_no_early_alu_shift_dep
arm
CPU
GCC
8,540
61
1
[]
[ "<s>", "void", "X86PassConfig", "::", "addPreEmitPass", "(", ")", "{", "addPass", "(", "createCookieSetterPass", "(", ")", ")", ";", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "addPass", "(", "createExecutionDependencyFixPass", ...
[ "This", "pass", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "machine", "code", "is", "emitted", "." ]
[ "X86", "X86", "X86::VR128RegClass", "X86", "X86", "X86", "X86" ]
X86TargetMachine115
addPreEmitPass
X86
CPU
LLVM
8,541
112
1
[]
[ "<s>", "bool", "AlphaAsmPrinter", "::", "PrintAsmOperand", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpNo", ",", "unsigned", "AsmVariant", ",", "const", "char", "*", "ExtraCode", ",", "raw_ostream", "&", "O", ")", "{", "printOperand", "(", "...
[ "PrintAsmOperand", "-", "Print", "out", "an", "operand", "for", "an", "inline", "asm", "expression", "." ]
[ "Alpha", "Alpha" ]
AlphaAsmPrinter
PrintAsmOperand
Alpha
MPU
LLVM
8,542
39
1
[]
[ "<s>", "static", "void", "nvptx_record_offload_symbol", "(", "tree", "decl", ")", "{", "switch", "(", "TREE_CODE", "(", "decl", ")", ")", "{", "case", "VAR_DECL", ":", "fprintf", "(", "asm_out_file", ",", "\"//:VAR_MAP \\\"%s\\\"\\n\"", ",", "IDENTIFIER_POINTER", ...
[ "Record", "a", "symbol", "for", "mkoffload", "to", "enter", "into", "the", "mapping", "table", "." ]
[ "nvptx", "\"//:VAR_MAP \\\"%s\\\"\\n\"", "\"//:FUNC_MAP \\\"%s\\\"\"", "\", %#x\"", "\"\\n\"" ]
nvptx
nvptx_record_offload_symbol
nvptx
GPU
GCC
8,543
136
1
[]
[ "<s>", "bool", "HexagonDAGToDAGISel", "::", "SelectInlineAsmMemoryOperand", "(", "const", "SDValue", "&", "Op", ",", "char", "ConstraintCode", ",", "std", "::", "vector", "<", "SDValue", ">", "&", "OutOps", ")", "{", "SDValue", "Op0", ",", "Op1", ";", "switc...
[ "SelectInlineAsmMemoryOperand", "-", "Select", "the", "specified", "address", "as", "a", "target", "addressing", "mode", ",", "according", "to", "the", "specified", "constraint", "." ]
[ "Hexagon", "Hexagon" ]
HexagonISelDAGToDAG13
SelectInlineAsmMemoryOperand
Hexagon
DSP
LLVM
8,544
89
1
[]
[ "<s>", "static", "char", "*", "detect_caches_linux", "(", "void", ")", "{", "unsigned", "l1_sizekb", ",", "l1_line", ",", "l1_assoc", ",", "l2_sizekb", ";", "const", "char", "*", "platform", ";", "platform", "=", "elf_platform", "(", ")", ";", "if", "(", ...
[ "Returns", "the", "description", "of", "caches", "on", "Linux", "." ]
[ "powerpcspe", "128", "5", "64", "32", "32", "0", "512" ]
driver-powerpcspe
detect_caches_linux
powerpcspe
CPU
GCC
8,545
92
1
[]
[ "<s>", "MCSymbol", "*", "WebAssemblyMCInstLower", "::", "GetExternalSymbolSymbol", "(", "const", "MachineOperand", "&", "MO", ")", "const", "{", "const", "char", "*", "Name", "=", "MO", ".", "getSymbolName", "(", ")", ";", "MCSymbolWasm", "*", "WasmSym", "=", ...
[ "Return", "the", "MCSymbol", "for", "the", "specified", "ExternalSymbol", "." ]
[ "WebAssembly", "WebAssembly", "WebAssembly", "\"__stack_pointer\"", "0", "wasm::WASM_SYMBOL_TYPE_GLOBAL", "wasm::WasmGlobalType", "wasm::WASM_TYPE_I64", "wasm::WASM_TYPE_I32", "wasm::ValType", "4", "wasm::ValType", "4", "\"__cpp_exception\"", "0", "wasm::WASM_SYMBOL_TYPE_EVENT", "was...
WebAssemblyMCInstLower (2)1
GetExternalSymbolSymbol
WebAssembly
Virtual ISA
LLVM
8,546
273
1
[]
[ "<s>", "const", "char", "*", "TeakTargetLowering", "::", "getTargetNodeName", "(", "unsigned", "Opcode", ")", "const", "{", "switch", "(", "Opcode", ")", "{", "default", ":", "return", "NULL", ";", "case", "TeakISD", "::", "RET_FLAG", ":", "return", "\"RetFl...
[ "getTargetNodeName", "-", "This", "method", "returns", "the", "name", "of", "a", "target", "specific" ]
[ "Teak", "Teak", "TeakISD::RET_FLAG", "\"RetFlag\"", "TeakISD::LOAD_SYM", "\"LOAD_SYM\"", "TeakISD::MOVEi32", "\"MOVEi32\"", "TeakISD::CALL", "\"CALL\"" ]
TeakISelLowering
getTargetNodeName
Teak
DSP
LLVM
8,547
56
1
[]
[ "<s>", "const", "char", "*", "output_move_single", "(", "rtx", "*", "operands", ")", "{", "rtx", "dst", "=", "operands", "[", "0", "]", ";", "rtx", "src", "=", "operands", "[", "1", "]", ";", "if", "(", "REG_P", "(", "dst", ")", ")", "{", "if", ...
[ "Return", "appropriate", "code", "to", "load", "up", "a", "1", ",", "2", ",", "or", "4", "integer/floating", "point", "value", "." ]
[ "v850", "0", "1", "\"mov %1,%0\"", "\"mov %1,%0\"", "\"movea %1,%.,%0\"", "\"movhi hi0(%1),%.,%0\"", "\"mov %1,%0\"", "\"movhi hi(%1),%.,%0\\n\\tmovea lo(%1),%0,%0\"", "\"mov %F1,%0\"", "\"movea %F1,%.,%0\"", "\"movhi hi0(%F1),%.,%0\"", "\"mov %F1,%0\"", "\"movhi hi(%F1),%.,%0\\n\\tmovea l...
v8504
output_move_single
v850
MPU
GCC
8,548
386
1
[]
[ "<s>", "static", "void", "alpha_output_mi_thunk_osf", "(", "FILE", "*", "file", ",", "tree", "thunk_fndecl", "ATTRIBUTE_UNUSED", ",", "HOST_WIDE_INT", "delta", ",", "HOST_WIDE_INT", "vcall_offset", ",", "tree", "function", ")", "{", "const", "char", "*", "fnname",...
[ "Emit", "a", "tail", "call", "to", "FUNCTION", "after", "adjusting", "THIS", "by", "DELTA", ".", "In", "order", "to", "avoid", "the", "hordes", "of", "differences", "between", "generated", "code", "with", "and", "without", "TARGET_EXPLICIT_RELOCS", ",", "and",...
[ "alpha", "17", "16", "0xffff", "0x8000", "0x8000", "0xffffffff", "0x80000000", "0x80000000", "0", "0", "0xffff", "0x8000", "0x8000", "0xffffffff", "0x80000000", "0x80000000", "1", "0", "1", "0", "1", "1", "1" ]
alpha
alpha_output_mi_thunk_osf
alpha
MPU
GCC
8,549
488
1
[]
[ "<s>", "static", "MCAsmInfo", "*", "createMCAsmInfo", "(", "const", "MCRegisterInfo", "&", ",", "const", "Triple", "&", "TT", ",", "const", "MCTargetOptions", "&", "Options", ")", "{", "return", "new", "WebAssemblyMCAsmInfo", "(", "TT", ",", "Options", ")", ...
[ "createMCAsmInfo", "-", "Create", "a", "MCAsmInfo", "implementation", "for", "the", "specified", "target", "triple", "." ]
[ "WebAssembly", "WebAssembly" ]
WebAssemblyMCTargetDesc10
createMCAsmInfo
WebAssembly
Virtual ISA
LLVM
8,550
30
1
[]
[ "<s>", "void", "arc_initialize_trampoline", "(", "rtx", "tramp", "ATTRIBUTE_UNUSED", ",", "rtx", "fnaddr", "ATTRIBUTE_UNUSED", ",", "rtx", "cxt", "ATTRIBUTE_UNUSED", ")", "{", "}", "</s>" ]
[ "With", "potentially", "multiple", "shared", "objects", "loaded", ",", "and", "multiple", "stacks", "present", "for", "multiple", "thereds", "where", "trampolines", "might", "reside", ",", "a", "simple", "range", "check", "will", "likely", "not", "suffice", "for...
[ "arc" ]
arc3
arc_initialize_trampoline
arc
MPU
GCC
8,551
17
1
[]
[ "<s>", "pa_asm_output_aligned_local", "(", "FILE", ",", "NAME", ",", "SIZE", ",", "ALIGN", ")", "{", "rtx", "addr", "=", "ADDR", ";", "\\", "switch", "(", "GET_CODE", "(", "addr", ")", ")", "\\", "{", "\\", "case", "REG", ":", "\\", "fprintf", "(", ...
[ "We", "ca", "n't", "use", ".comm", "for", "local", "common", "storage", "as", "the", "SOM", "linker", "effectively", "treats", "the", "symbol", "as", "universal", "and", "uses", "the", "same", "storage", "for", "local", "symbols", "with", "the", "same", "n...
[ "pa", "\"0(%s)\"", "1", "\"%d(%s)\"", "1", "0", "1", "\"R'\"", "0", "\"RR'\"", "\"RT'\"", "1", "0", "\"(\"", "0", "0", "\")\"", "\"(%%r0)\"" ]
pa
pa_asm_output_aligned_local
pa
CPU
GCC
8,552
243
1
[]
[ "<s>", "void", "PPCPassConfig", "::", "addIRPasses", "(", ")", "{", "if", "(", "TM", "->", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "addPass", "(", "createPPCBoolRetToIntPass", "(", ")", ")", ";", "addPass", "(", "createAtomicExpandPas...
[ "Add", "common", "target", "configurable", "passes", "that", "perform", "LLVM", "IR", "to", "IR", "transforms", "following", "machine", "independent", "optimization", "." ]
[ "PowerPC", "PPC", "PPC", "PPC", "0" ]
PPCTargetMachine11
addIRPasses
PowerPC
CPU
LLVM
8,553
135
1
[]
[ "<s>", "static", "void", "determineFrameLayout", "(", "MachineFunction", "&", "MF", ")", "{", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "MBlazeFunctionInfo", "*", "MBlazeFI", "=", "MF", ".", "getInfo", "<", "MBlazeFunctionI...
[ "Determine", "the", "frame", "layout", "but", "do", "not", "update", "the", "machine", "function", "." ]
[ "MBlaze", "MBlaze", "MBlaze", "MBlaze", "MBlaze", "MBlaze", "\"Original Frame Size: \"", "\"\\n\"", "1", "\"Aligned Frame Size: \"", "\"\\n\"" ]
MBlazeFrameLowering
determineFrameLayout
MBlaze
MPU
LLVM
8,554
124
1
[]
[ "<s>", "void", "xstormy16_output_addr_vec", "(", "FILE", "*", "file", ",", "rtx", "label", "ATTRIBUTE_UNUSED", ",", "rtx", "table", ")", "{", "int", "vlen", ",", "idx", ";", "switch_to_section", "(", "current_function_section", "(", ")", ")", ";", "vlen", "=...
[ "Output", "an", "ADDR_VEC", ".", "It", "is", "output", "as", "a", "sequence", "of", "'jmpf", "'", "instructions", ",", "without", "label", "or", "alignment", "or", "any", "other", "special", "constructs", ".", "We", "know", "that", "the", "previous", "inst...
[ "stormy16", "0", "0", "\"\\tjmpf \"", "0", "0" ]
stormy16
xstormy16_output_addr_vec
stormy16
CPU
GCC
8,555
83
1
[]
[ "<s>", "void", "rl78_setup_peep_movhi", "(", "rtx", "*", "operands", ")", "{", "int", "i", ";", "for", "(", "i", "=", "0", ";", "i", "<", "2", ";", "i", "++", ")", "{", "switch", "(", "GET_CODE", "(", "operands", "[", "i", "]", ")", ")", "{", ...
[ "Likewise", ",", "when", "a", "peephole", "is", "activated", ",", "this", "function", "helps", "compute", "the", "new", "operands", "." ]
[ "rl78", "0", "2", "4", "4", "0xff", "2", "256", "4", "0" ]
rl78
rl78_setup_peep_movhi
rl78
MPU
GCC
8,556
136
1
[]
[ "<s>", "bool", "HexagonOptimizeSZextends", "::", "runOnFunction", "(", "Function", "&", "F", ")", "{", "if", "(", "skipFunction", "(", "F", ")", ")", "return", "false", ";", "unsigned", "Idx", "=", "1", ";", "for", "(", "auto", "&", "Arg", ":", "F", ...
[ "runOnFunction", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "do", "the", "per-function", "processing", "of", "the", "pass", "." ]
[ "Hexagon", "Hexagon", "1", "1", "16", "0", "0", "1", "16" ]
HexagonOptimizeSZextends (2)
runOnFunction
Hexagon
DSP
LLVM
8,557
493
1
[]
[ "<s>", "SDValue", "AArch64TargetLowering", "::", "getRecipEstimate", "(", "SDValue", "Operand", ",", "SelectionDAG", "&", "DAG", ",", "int", "Enabled", ",", "int", "&", "ExtraSteps", ")", "const", "{", "if", "(", "Enabled", "==", "ReciprocalEstimate", "::", "E...
[ "Return", "a", "reciprocal", "estimate", "value", "for", "the", "input", "operand", "." ]
[ "AArch64", "AArch64", "AArch64ISD::FRECPE", "0", "AArch64ISD::FRECPS", "ISD::FMUL", "0" ]
AArch64ISelLowering105
getRecipEstimate
AArch64
CPU
LLVM
8,558
148
1
[]
[ "<s>", "bool", "ARMTTIImpl", "::", "isLegalMaskedGather", "(", "Type", "*", "Ty", ",", "MaybeAlign", "Alignment", ")", "{", "if", "(", "!", "EnableMaskedGatherScatters", "||", "!", "ST", "->", "hasMVEIntegerOps", "(", ")", ")", "return", "false", ";", "if", ...
[ "Return", "true", "if", "the", "target", "supports", "masked", "gather", "." ]
[ "ARM", "ARM", "32", "4", "16", "2", "8" ]
ARMTargetTransformInfo1
isLegalMaskedGather
ARM
CPU
LLVM
8,559
90
1
[]
[ "<s>", "OperandMatchResultTy", "LoongArchAsmParser", "::", "tryParseRegister", "(", "unsigned", "&", "RegNo", ",", "SMLoc", "&", "StartLoc", ",", "SMLoc", "&", "EndLoc", ")", "{", "llvm_unreachable", "(", "\"Unimplemented function.\"", ")", ";", "}", "</s>" ]
[ "tryParseRegister", "-", "parse", "one", "register", "if", "possible" ]
[ "LoongArch", "LoongArch", "\"Unimplemented function.\"" ]
LoongArchAsmParser
tryParseRegister
LoongArch
CPU
LLVM
8,560
24
1
[]
[ "<s>", "void", "tilepro_init_expanders", "(", "void", ")", "{", "init_machine_status", "=", "tilepro_init_machine_status", ";", "if", "(", "cfun", "&&", "cfun", "->", "machine", "&&", "flag_pic", ")", "{", "static", "int", "label_num", "=", "0", ";", "char", ...
[ "Do", "anything", "needed", "before", "RTL", "is", "emitted", "for", "each", "function", "." ]
[ "tilepro", "0", "32", "\"L_PICLNK\"" ]
tilepro
tilepro_init_expanders
tilepro
VLIW
GCC
8,561
96
1
[]
[ "<s>", "tree", "function_resolver", "::", "resolve_uniform_opt_n", "(", "unsigned", "int", "nops", ")", "{", "unsigned", "int", "i", ",", "nargs", ";", "type_suffix_index", "type", ";", "if", "(", "!", "check_gp_argument", "(", "nops", ",", "i", ",", "nargs"...
[ "Resolve", "a", "(", "possibly", "predicated", ")", "function", "that", "offers", "a", "choice", "between", "taking", ":", "-", "NOPS", "like-typed", "vector", "arguments", "or", "-", "NOPS", "-", "1", "like-typed", "vector", "arguments", "followed", "by", "...
[ "aarch64", "1" ]
aarch64-sve-builtins
resolve_uniform_opt_n
aarch64
CPU
GCC
8,562
88
1
[]
[ "<s>", "virtual", "const", "mprocInstrInfo", "*", "getInstrInfo", "(", ")", "const", "{", "return", "&", "InstrInfo", ";", "}", "</s>" ]
[ "TargetInstrInfo", "getter", "." ]
[ "mproc", "mproc" ]
mprocTargetMachine
getInstrInfo
mproc
Virtual ISA
LLVM
8,563
14
1
[]
[ "<s>", "static", "void", "unicosmk_output_deferred_case_vectors", "(", "FILE", "*", "file", ")", "{", "struct", "machine_function", "*", "machine", "=", "cfun", "->", "machine", ";", "rtx", "t", ";", "if", "(", "machine", "->", "addr_list", "==", "NULL_RTX", ...
[ "Output", "current", "function", "'s", "deferred", "case", "vectors", "." ]
[ "alpha", "1", "0" ]
alpha3
unicosmk_output_deferred_case_vectors
alpha
MPU
GCC
8,564
67
1
[]
[ "<s>", "virtual", "unsigned", "int", "execute", "(", "function", "*", "fun", ")", "{", "return", "pcrel_opt_pass", "(", "fun", ")", ";", "}", "</s>" ]
[ "Main", "entry", "point", "for", "this", "pass", "." ]
[ "rs6000" ]
rs6000-pcrel-opt
execute
rs6000
CPU
GCC
8,565
17
1
[]
[ "<s>", "static", "bool", "classof", "(", "const", "MCExpr", "*", "E", ")", "{", "return", "E", "->", "getKind", "(", ")", "==", "MCExpr", "::", "Target", ";", "}", "</s>" ]
[ "Methods", "for", "support", "type", "inquiry", "through", "isa", ",", "cast", ",", "and", "dyn_cast", ":" ]
[ "MCS51" ]
MCS51MCExpr
classof
MCS51
MPU
LLVM
8,566
22
1
[]
[ "<s>", "static", "bool", "riscv_int_order_operand_ok_p", "(", "enum", "rtx_code", "code", ",", "rtx", "cmp1", ")", "{", "switch", "(", "code", ")", "{", "case", "GT", ":", "case", "GTU", ":", "return", "reg_or_0_operand", "(", "cmp1", ",", "VOIDmode", ")",...
[ "Return", "true", "if", "CMP1", "is", "a", "suitable", "second", "operand", "for", "integer", "ordering", "test", "CODE", ".", "See", "also", "the", "*", "sCC", "patterns", "in", "riscv.md", "." ]
[ "riscv" ]
riscv
riscv_int_order_operand_ok_p
riscv
CPU
GCC
8,567
86
1
[]
[ "<s>", "SMLoc", "getStartLoc", "(", ")", "const", "{", "return", "StartLoc", ";", "}", "</s>" ]
[ "getStartLoc", "-", "Get", "the", "location", "of", "the", "first", "token", "of", "this", "operand", "." ]
[ "FISC" ]
FISCAsmParser
getStartLoc
FISC
CPU
LLVM
8,568
10
1
[]
[ "<s>", "void", "MipsTargetObjectFile", "::", "Initialize", "(", "MCContext", "&", "Ctx", ",", "const", "TargetMachine", "&", "TM", ")", "{", "TargetLoweringObjectFileELF", "::", "Initialize", "(", "Ctx", ",", "TM", ")", ";", "SmallDataSection", "=", "getContext"...
[ "This", "method", "must", "be", "called", "before", "any", "actual", "lowering", "is", "done", "." ]
[ "Mips", "Mips", "\".sdata\"", "\".sbss\"" ]
MipsTargetObjectFile13
Initialize
Mips
CPU
LLVM
8,569
83
1
[]
[ "<s>", "void", "SystemZELFFrameLowering", "::", "processFunctionBeforeFrameFinalized", "(", "MachineFunction", "&", "MF", ",", "RegScavenger", "*", "RS", ")", "const", "{", "MachineFrameInfo", "&", "MFFrame", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "SystemZ...
[ "processFunctionBeforeFrameFinalized", "-", "This", "method", "is", "called", "immediately", "before", "the", "specified", "function", "'s", "frame", "layout", "(", "MF.getFrameInfo", "(", ")", ")", "is", "finalized", "." ]
[ "SystemZ", "SystemZ", "SystemZ", "SystemZ", "\"backchain\"", "SystemZMC::ELFCallFrameSize", "0", "0", "0", "12", "8", "8", "8", "8", "SystemZ::R6D", "SystemZ::R6D", "SystemZ::R6D" ]
SystemZFrameLowering10
processFunctionBeforeFrameFinalized
SystemZ
CPU
LLVM
8,570
266
1
[]
[ "<s>", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "override", "{", "AU", ".", "addRequired", "<", "AssumptionCacheTracker", ">", "(", ")", ";", "AU", ".", "addRequired", "<", "LegacyDivergenceAnalysis", ">", "(", ")", ";", "if...
[ "getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "." ]
[ "AMDGPU" ]
AMDGPUCodeGenPrepare1
getAnalysisUsage
AMDGPU
GPU
LLVM
8,571
40
1
[]
[ "<s>", "MipsSubtarget", "::", "MipsSubtarget", "(", "const", "Triple", "&", "TT", ",", "StringRef", "CPU", ",", "StringRef", "FS", ",", "bool", "little", ",", "const", "MipsTargetMachine", "&", "TM", ")", ":", "MipsGenSubtargetInfo", "(", "TT", ",", "CPU", ...
[ "This", "constructor", "initializes", "the", "data", "members", "to", "match", "that", "of", "the", "specified", "triple", "." ]
[ "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "\"Code generation for MIPS-I is not...
MipsSubtarget64
MipsSubtarget
Mips
CPU
LLVM
8,572
485
1
[]
[ "<s>", "static", "void", "mn10300_encode_section_info", "(", "tree", "decl", ",", "rtx", "rtl", ",", "int", "first", ")", "{", "rtx", "symbol", ";", "default_encode_section_info", "(", "decl", ",", "rtl", ",", "first", ")", ";", "if", "(", "!", "MEM_P", ...
[ "If", "using", "PIC", ",", "mark", "a", "SYMBOL_REF", "for", "a", "non-global", "symbol", "so", "that", "we", "may", "access", "it", "using", "GOTOFF", "instead", "of", "GOT", "." ]
[ "mn10300", "0" ]
mn10300
mn10300_encode_section_info
mn10300
MPU
GCC
8,573
76
1
[]
[ "<s>", "int", "hard_regno_mode_ok", "(", "int", "regno", ",", "machine_mode", "mode", ")", "{", "if", "(", "GET_MODE_SIZE", "(", "mode", ")", ">", "UNITS_PER_WORD", ")", "return", "(", "regno", "&", "1", ")", "==", "0", "&&", "GPR_P", "(", "regno", ")"...
[ "Value", "is", "1", "if", "hard", "register", "REGNO", "can", "hold", "a", "value", "of", "machine-mode", "MODE", "." ]
[ "epiphany", "1", "0", "1" ]
epiphany2
hard_regno_mode_ok
epiphany
MPU
GCC
8,574
38
1
[]
[ "<s>", "void", "addExpr", "(", "MCInst", "&", "Inst", ",", "const", "MCExpr", "*", "Expr", ")", "const", "{", "if", "(", "Expr", "==", "0", ")", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "0", ")", ")", ";", "else", "if", ...
[ "Add", "a", "new", "MCExpr", "operand", "." ]
[ "RISCV", "0", "0" ]
RISCVAsmParser (2)1
addExpr
RISCV
CPU
LLVM
8,575
78
1
[]
[ "<s>", "virtual", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"Cpu0 Assembly Printer\"", ";", "}", "</s>" ]
[ "getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "." ]
[ "Cpu0", "\"Cpu0 Assembly Printer\"" ]
Cpu0AsmPrinter
getPassName
Cpu0
CPU
LLVM
8,576
12
1
[]
[ "<s>", "bool", "ARMBaseInstrInfo", "::", "expandPostRAPseudo", "(", "MachineInstr", "&", "MI", ")", "const", "{", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "TargetOpcode", "::", "LOAD_STACK_GUARD", ")", "{", "expandLoadStackGuard", "(", "MI", ")", "...
[ "This", "function", "is", "called", "for", "all", "pseudo", "instructions", "that", "remain", "after", "register", "allocation", "." ]
[ "ARM", "ARM", "ARM::MEMCPY", "0", "1", "ARM::SPRRegClass", "ARM::ssub_0", "ARM::DPRRegClass", "ARM::ssub_0", "ARM::DPRRegClass", "0", "\"widening: \"", "1", "ARM::VMOVD", "0", "1", "ARMCC::AL", "1", "1", "1", "\"replaced by: \"" ]
ARMBaseInstrInfo70
expandPostRAPseudo
ARM
CPU
LLVM
8,577
410
1
[]
[ "<s>", "bool", "nonpic_symbol_mentioned_p", "(", "rtx", "x", ")", "{", "if", "(", "GET_CODE", "(", "x", ")", "==", "SYMBOL_REF", "||", "GET_CODE", "(", "x", ")", "==", "LABEL_REF", "||", "GET_CODE", "(", "x", ")", "==", "PC", ")", "return", "true", "...
[ "Return", "TRUE", "if", "X", "references", "a", "SYMBOL_REF", "or", "LABEL_REF", "whose", "symbol", "is", "n't", "protected", "by", "a", "PIC", "unspec", "." ]
[ "sh", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "1", "0", "1", "0" ]
sh
nonpic_symbol_mentioned_p
sh
CPU
GCC
8,578
289
1
[]
[ "<s>", "static", "bool", "vspltis_constant", "(", "rtx", "op", ",", "unsigned", "step", ",", "unsigned", "copies", ")", "{", "enum", "machine_mode", "mode", "=", "GET_MODE", "(", "op", ")", ";", "enum", "machine_mode", "inner", "=", "GET_MODE_INNER", "(", ...
[ "Return", "true", "if", "OP", "can", "be", "synthesized", "with", "a", "particular", "vspltisb", ",", "vspltish", "or", "vspltisw", "instruction", ".", "OP", "is", "a", "CONST_VECTOR", ".", "Which", "instruction", "is", "used", "depends", "on", "STEP", "and"...
[ "rs6000", "1", "0", "0", "1", "2", "2", "2", "0", "1", "1", "0", "1", "1", "1", "0" ]
rs60003
vspltis_constant
rs6000
CPU
GCC
8,579
259
1
[]
[ "<s>", "static", "inline", "void", "s390_indirect_branch_attrvalue", "(", "tree", "attr", ",", "enum", "indirect_branch", "*", "val", ")", "{", "const", "char", "*", "str", "=", "TREE_STRING_POINTER", "(", "TREE_VALUE", "(", "TREE_VALUE", "(", "attr", ")", ")"...
[ "Set", "VAL", "to", "correct", "enum", "value", "according", "to", "the", "indirect-branch", "or", "function-return", "attribute", "in", "ATTR", "." ]
[ "s390", "\"keep\"", "0", "\"thunk\"", "0", "\"thunk-inline\"", "0", "\"thunk-extern\"", "0" ]
s390
s390_indirect_branch_attrvalue
s390
MPU
GCC
8,580
98
1
[]
[ "<s>", "static", "void", "or1k_print_operand", "(", "FILE", "*", "file", ",", "rtx", "x", ",", "int", "code", ")", "{", "rtx", "operand", "=", "x", ";", "switch", "(", "code", ")", "{", "case", "'#'", ":", "if", "(", "final_sequence", "==", "NULL", ...
[ "Worker", "for", "TARGET_PRINT_OPERAND", ".", "Print", "operand", "X", ",", "an", "RTX", ",", "to", "the", "file", "FILE", ".", "The", "output", "is", "formed", "as", "expected", "by", "the", "OpenRISC", "assember", ".", "CODE", "is", "the", "letter", "f...
[ "or1k", "\"\\n\\t l.nop\\n\"", "\"%s\"", "\"r0\"", "\"invalid %%r value\"", "\"%s\"", "1", "\"invalid %%H value\"", "0", "0", "0", "\"plt\"", "0", "31", "\"internal error: bad register: %d\"", "\"%s\"", "0", "0", "\"unexpected operand: %d\"", "\"unknown operand letter: '%c'\"" ...
or1k2
or1k_print_operand
or1k
CPU
GCC
8,581
330
1
[]
[ "<s>", "unsigned", "SIInstrInfo", "::", "readlaneVGPRToSGPR", "(", "unsigned", "SrcReg", ",", "MachineInstr", "&", "UseMI", ",", "MachineRegisterInfo", "&", "MRI", ")", "const", "{", "const", "TargetRegisterClass", "*", "VRC", "=", "MRI", ".", "getRegClass", "("...
[ "Copy", "a", "value", "from", "a", "VGPR", "(", "SrcReg", ")", "to", "SGPR", "." ]
[ "AMDGPU", "SI", "32", "1", "AMDGPU::V_READFIRSTLANE_B32", "8", "0", "AMDGPU::SGPR_32RegClass", "AMDGPU::V_READFIRSTLANE_B32", "0", "AMDGPU::REG_SEQUENCE", "0" ]
SIInstrInfo131
readlaneVGPRToSGPR
AMDGPU
GPU
LLVM
8,582
331
1
[]
[ "<s>", "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "override", "{", "const", "M68kSubtarget", "&", "STI", "=", "MF", ".", "getSubtarget", "<", "M68kSubtarget", ">", "(", ")", ";", "M68kMachineFunctionInfo", "*", "MxFI", "=", "MF", ...
[ "runOnMachineFunction", "-", "Emit", "the", "function", "body", "." ]
[ "M68k", "M68k", "M68k", "M68k", "M68k", "0", "M68k", "M68k::LEA32q", "\"_GLOBAL_OFFSET_TABLE_\"", "M68kII::MO_GOTPCREL" ]
M68kInstrInfo (2)
runOnMachineFunction
M68k
MPU
LLVM
8,583
129
1
[]
[ "<s>", "void", "RV16KPassConfig", "::", "addPreEmitPass2", "(", ")", "{", "addPass", "(", "createRV16KExpandPseudoPass", "(", ")", ",", "false", ",", "true", ")", ";", "}", "</s>" ]
[ "Targets", "may", "add", "passes", "immediately", "before", "machine", "code", "is", "emitted", "in", "this", "callback", "." ]
[ "RV16K", "RV16K", "RV16K" ]
RV16KTargetMachine
addPreEmitPass2
RV16K
Virtual ISA
LLVM
8,584
19
1
[]
[ "<s>", "inline", "bool", "vgpr_1reg_mode_p", "(", "machine_mode", "mode", ")", "{", "return", "(", "mode", "==", "SImode", "||", "mode", "==", "SFmode", "||", "mode", "==", "HImode", "||", "mode", "==", "QImode", "||", "mode", "==", "V64QImode", "||", "m...
[ "Return", "true", "if", "MODE", "is", "valid", "for", "1", "VGPR", "register", "." ]
[ "gcn" ]
gcn-protos
vgpr_1reg_mode_p
gcn
GPU
GCC
8,585
52
1
[]
[ "<s>", "Optional", "<", "MCFixupKind", ">", "ARMAsmBackend", "::", "getFixupKind", "(", "StringRef", "Name", ")", "const", "{", "if", "(", "!", "STI", ".", "getTargetTriple", "(", ")", ".", "isOSBinFormatELF", "(", ")", ")", "return", "None", ";", "unsigne...
[ "getFixupKind", "-", "Get", "the", "fixup", "kind", "of", "this", "expression", "." ]
[ "ARM", "ARM", "\"BFD_RELOC_NONE\"", "ARM", "\"BFD_RELOC_8\"", "ARM", "\"BFD_RELOC_16\"", "ARM", "\"BFD_RELOC_32\"", "ARM", "1u", "1u" ]
ARMAsmBackend35
getFixupKind
ARM
CPU
LLVM
8,586
106
1
[]
[ "<s>", "bool", "AArch64MIPeepholeOpt", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "skipFunction", "(", "MF", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "TII", "=", "static_cast", "<", "const", ...
[ "runOnMachineFunction", "-", "Emit", "the", "function", "body", "." ]
[ "AArch64", "AArch64", "AArch64", "AArch64", "\"Expected to be run on SSA form!\"", "8", "AArch64::ANDWrr", "AArch64::ANDWri", "AArch64::ANDXrr", "AArch64::ANDXri", "AArch64::ORRWrs", "AArch64::ADDWrr", "AArch64::ADDWri", "AArch64::SUBWri", "AArch64::SUBWrr", "AArch64::SUBWri", "AArch...
AArch64MIPeepholeOpt1
runOnMachineFunction
AArch64
CPU
LLVM
8,587
486
1
[]
[ "<s>", "static", "void", "csky_setup_incoming_varargs", "(", "cumulative_args_t", "pcum_v", ",", "const", "function_arg_info", "&", "arg", ",", "int", "*", "pretend_size", ",", "int", "second_time", "ATTRIBUTE_UNUSED", ")", "{", "CUMULATIVE_ARGS", "*", "pcum", "=", ...
[ "Implement", "TARGET_SETUP_INCOMING_VARARGS", ".", "On", "C-Sky", "the", "copy", "from", "the", "argument", "registers", "to", "the", "stack", "is", "emitted", "by", "the", "prologue", "hooks", ",", "so", "here", "we", "just", "have", "to", "note", "how", "m...
[ "csky", "1" ]
csky1
csky_setup_incoming_varargs
csky
CPU
GCC
8,588
96
1
[]
[ "<s>", "bool", "AArch64AsmPrinter", "::", "PrintAsmMemoryOperand", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpNum", ",", "const", "char", "*", "ExtraCode", ",", "raw_ostream", "&", "O", ")", "{", "if", "(", "ExtraCode", "&&", "ExtraCode", "...
[ "Print", "the", "specified", "operand", "of", "MI", ",", "an", "INLINEASM", "instruction", ",", "using", "the", "specified", "assembler", "variant", "as", "an", "address", "." ]
[ "AArch64", "AArch64", "0", "0", "\"unexpected inline asm memory operand\"", "\"[\"", "AArch64", "\"]\"" ]
AArch64AsmPrinter1
PrintAsmMemoryOperand
AArch64
CPU
LLVM
8,589
86
1
[]
[ "<s>", "void", "SystemZPostRASchedStrategy", "::", "leaveMBB", "(", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"+++ Leaving \"", "<<", "printMBBReference", "(", "*", "MBB", ")", "<<", "\"\\n\"", ";", ")", ";", "advanceTo", "(", "MBB", "->", "getFirs...
[ "Tell", "the", "strategy", "that", "current", "MBB", "is", "done", "." ]
[ "SystemZ", "SystemZ", "\"+++ Leaving \"", "\"\\n\"" ]
SystemZMachineScheduler14
leaveMBB
SystemZ
CPU
LLVM
8,590
35
1
[]
[ "<s>", "bool", "addPreISel", "(", ")", "override", "{", "addPass", "(", "createFlattenCFGPass", "(", ")", ")", ";", "addPass", "(", "createStructurizeCFGPass", "(", ")", ")", ";", "return", "false", ";", "}", "</s>" ]
[ "{", "{", "@", "For", "GlobalISel" ]
[ "TGSI" ]
TGSITargetMachine
addPreISel
TGSI
Virtual ISA
LLVM
8,591
24
1
[]
[ "<s>", "void", "relaxInstruction", "(", "const", "MCInst", "&", "Inst", ",", "MCInst", "&", "Res", ")", "const", "{", "}", "</s>" ]
[ "Relax", "the", "instruction", "in", "the", "given", "fragment", "to", "the", "next", "wider", "instruction", "." ]
[ "Patmos" ]
PatmosAsmBackend
relaxInstruction
Patmos
VLIW
LLVM
8,592
15
1
[]
[ "<s>", "void", "relaxInstruction", "(", "const", "MCInst", "&", "Inst", ",", "MCInst", "&", "Res", ")", "const", "override", "{", "assert", "(", "0", "&&", "\"relaxInstruction() unimplemented\"", ")", ";", "}", "</s>" ]
[ "Relax", "the", "instruction", "in", "the", "given", "fragment", "to", "the", "next", "wider", "instruction", "." ]
[ "Sparc", "0", "\"relaxInstruction() unimplemented\"" ]
SparcAsmBackend22
relaxInstruction
Sparc
CPU
LLVM
8,593
23
1
[]
[ "<s>", "bool", "isToken", "(", ")", "const", "{", "return", "Kind", "==", "k_Token", ";", "}", "</s>" ]
[ "isToken", "-", "Is", "this", "a", "token", "operand", "?" ]
[ "Mips" ]
MipsAsmParser102
isToken
Mips
CPU
LLVM
8,594
12
1
[]
[ "<s>", "static", "AMDGPUOperand", "::", "Ptr", "CreateReg", "(", "const", "AMDGPUAsmParser", "*", "AsmParser", ",", "unsigned", "RegNo", ",", "SMLoc", "S", ",", "SMLoc", "E", ",", "bool", "ForceVOP3", ")", "{", "auto", "Op", "=", "llvm", "::", "make_unique...
[ "CreateReg", "-", "Allocate", "a", "single", "virtual", "register", "for", "the", "given", "type", "." ]
[ "AMDGPU", "AMDGPU", "AMDGPU", "AMDGPU" ]
AMDGPUAsmParser14
CreateReg
AMDGPU
GPU
LLVM
8,595
81
1
[]
[ "<s>", "bool", "SIInsertWaits", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "bool", "Changes", "=", "false", ";", "TII", "=", "static_cast", "<", "const", "SIInstrInfo", "*", ">", "(", "MF", ".", "getSubtarget", "(", ")", "."...
[ "runOnMachineFunction", "-", "Emit", "the", "function", "body", "." ]
[ "AMDGPU", "SI", "SI", "SI", "AMDGPU", "AMDGPU", "SI", "0", "0", "AMDGPU", "AMDGPU::VCC", "\"Inserting vccz bug work-around before: \"", "AMDGPU::S_MOV_B64", "AMDGPU::VCC", "AMDGPU::VCC", "AMDGPU::S_BARRIER", "AMDGPU::S_ENDPGM" ]
SIInsertWaits6
runOnMachineFunction
AMDGPU
GPU
LLVM
8,596
447
1
[]
[ "<s>", "static", "struct", "bundle_state", "*", "get_free_bundle_state", "(", "void", ")", "{", "struct", "bundle_state", "*", "result", ";", "if", "(", "free_bundle_state_chain", "!=", "NULL", ")", "{", "result", "=", "free_bundle_state_chain", ";", "free_bundle_...
[ "The", "following", "function", "returns", "a", "free", "bundle", "state", "." ]
[ "ia64" ]
ia64
get_free_bundle_state
ia64
CPU
GCC
8,597
73
1
[]
[ "<s>", "bool", "Z80AsmBackend", "::", "mayNeedRelaxation", "(", "const", "MCInst", "&", "Inst", ")", "const", "{", "llvm_unreachable", "(", "\"Unimplemented\"", ")", ";", "}", "</s>" ]
[ "Check", "whether", "the", "given", "instruction", "may", "need", "relaxation", "." ]
[ "Z80", "Z80", "\"Unimplemented\"" ]
Z80AsmBackend1
mayNeedRelaxation
Z80
MPU
LLVM
8,598
18
1
[]
[ "<s>", "std", "::", "pair", "<", "InstructionCost", ",", "MVT", ">", "SITargetLowering", "::", "getTypeLegalizationCost", "(", "const", "DataLayout", "&", "DL", ",", "Type", "*", "Ty", ")", "const", "{", "std", "::", "pair", "<", "InstructionCost", ",", "M...
[ "Estimate", "the", "cost", "of", "type-legalization", "and", "the", "legalized", "type", "." ]
[ "AMDGPU", "SI", "256", "255", "256" ]
SIISelLowering12
getTypeLegalizationCost
AMDGPU
GPU
LLVM
8,599
77
1
[]