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>", "bool", "MipsPreLegalizerCombiner", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "MF", ".", "getProperties", "(", ")", ".", "hasProperty", "(", "MachineFunctionProperties", "::", "Property", "::", "FailedISel", ")", ...
[ "runOnMachineFunction", "-", "Emit", "the", "function", "body", "." ]
[ "Mips", "Mips", "Mips" ]
MipsPreLegalizerCombiner1
runOnMachineFunction
Mips
CPU
LLVM
26,400
62
1
[]
[ "<s>", "bool", "AArch64InstrInfo", "::", "isWhileOpcode", "(", "unsigned", "Opc", ")", "const", "{", "return", "get", "(", "Opc", ")", ".", "TSFlags", "&", "AArch64", "::", "InstrFlagIsWhile", ";", "}", "</s>" ]
[ "Returns", "true", "if", "the", "opcode", "is", "for", "an", "SVE", "WHILE", "#", "#", "instruction", "." ]
[ "AArch64", "AArch64", "AArch64::InstrFlagIsWhile" ]
AArch64InstrInfo105
isWhileOpcode
AArch64
CPU
LLVM
26,401
23
1
[]
[ "<s>", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "override", "{", "AU", ".", "setPreservesCFG", "(", ")", ";", "AU", ".", "addRequired", "<", "AAResultsWrapperPass", ">", "(", ")", ";", "MachineFunctionPass", "::", "getAnalysis...
[ "getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "." ]
[ "AMDGPU" ]
SILoadStoreOptimizer
getAnalysisUsage
AMDGPU
GPU
LLVM
26,402
33
1
[]
[ "<s>", "bool", "IA64AsmPrinter", "::", "doInitialization", "(", "Module", "&", "M", ")", "{", "bool", "Result", "=", "AsmPrinter", "::", "doInitialization", "(", "M", ")", ";", "O", "<<", "\"\\n.ident \\\"LLVM-ia64\\\"\\n\\n\"", "<<", "\"\\t.psr lsb\\n\"", "<<"...
[ "Set", "up", "the", "AsmPrinter", "when", "we", "are", "working", "on", "a", "new", "module", "." ]
[ "IA64", "IA64", "\"\\n.ident \\\"LLVM-ia64\\\"\\n\\n\"", "\"\\t.psr lsb\\n\"", "\"\\t.radix C\\n\"", "\"\\t.psr abi64\\n\"" ]
IA64AsmPrinter
doInitialization
IA64
CPU
LLVM
26,403
34
1
[]
[ "<s>", "static", "rtx", "alpha_lookup_xfloating_lib_func", "(", "enum", "rtx_code", "code", ")", "{", "struct", "xfloating_op", "*", "ops", "=", "xfloating_ops", ";", "long", "n", "=", "ARRAY_SIZE", "(", "xfloating_ops", ")", ";", "long", "i", ";", "gcc_assert...
[ "Look", "up", "the", "function", "X_floating", "library", "function", "name", "for", "the", "given", "operation", "." ]
[ "alpha", "0" ]
alpha
alpha_lookup_xfloating_lib_func
alpha
MPU
GCC
26,404
128
1
[]
[ "<s>", "static", "bool", "bpf_frame_pointer_required", "(", "void", ")", "{", "return", "true", ";", "}", "</s>" ]
[ "Return", "true", "if", "a", "function", "must", "have", "and", "use", "a", "frame", "pointer", "." ]
[ "bpf" ]
bpf
bpf_frame_pointer_required
bpf
Virtual ISA
GCC
26,405
11
1
[]
[ "<s>", "SDNode", "*", "X86DAGToDAGISel", "::", "getGlobalBaseReg", "(", ")", "{", "unsigned", "GlobalBaseReg", "=", "getInstrInfo", "(", ")", "->", "getGlobalBaseReg", "(", "MF", ")", ";", "auto", "&", "DL", "=", "MF", "->", "getDataLayout", "(", ")", ";",...
[ "getGlobalBaseReg", "-", "Return", "a", "virtual", "register", "initialized", "with", "the", "the", "global", "base", "register", "value", "." ]
[ "X86", "X86" ]
X86ISelDAGToDAG (2)
getGlobalBaseReg
X86
CPU
LLVM
26,406
50
1
[]
[ "<s>", "bool", "legitimate_reload_constant_p", "(", "rtx", "op", ")", "{", "if", "(", "GET_CODE", "(", "op", ")", "==", "CONST_INT", "&&", "DISP_IN_RANGE", "(", "INTVAL", "(", "op", ")", ")", ")", "return", "true", ";", "if", "(", "GET_CODE", "(", "op"...
[ "Returns", "true", "if", "the", "constant", "value", "OP", "is", "a", "legitimate", "general", "operand", "during", "and", "after", "reload", ".", "The", "difference", "to", "legitimate_constant_p", "is", "that", "this", "function", "will", "not", "accept", "a...
[ "s390", "0", "0", "0", "0", "0", "0", "1", "0" ]
s3905
legitimate_reload_constant_p
s390
MPU
GCC
26,407
271
1
[]
[ "<s>", "static", "void", "rs6000_do_expand_vec_perm", "(", "rtx", "target", ",", "rtx", "op0", ",", "rtx", "op1", ",", "machine_mode", "vmode", ",", "const", "vec_perm_builder", "&", "perm", ")", "{", "rtx", "x", "=", "expand_vec_perm_const", "(", "vmode", "...
[ "A", "subroutine", "for", "rs6000_expand_extract_even", "&", "rs6000_expand_interleave", "." ]
[ "powerpcspe" ]
powerpcspe
rs6000_do_expand_vec_perm
powerpcspe
CPU
GCC
26,408
54
1
[]
[ "<s>", "static", "void", "write_init_bif_table", "(", "void", ")", "{", "for", "(", "int", "i", "=", "0", ";", "i", "<=", "curr_bif", ";", "i", "++", ")", "{", "fprintf", "(", "init_file", ",", "\" rs6000_builtin_info[RS6000_BIF_%s].fntype\"", "\"\\n = %s;...
[ "Write", "code", "to", "initialize", "the", "built-in", "function", "table", "." ]
[ "rs6000", "0", "\" rs6000_builtin_info[RS6000_BIF_%s].fntype\"", "\"\\n = %s;\\n\"", "\"tf\"", "\"sd\"", "\"dd\"", "\"td\"", "\" if (float128_type_node)\\n\"", "\" {\\n\"", "\" if (dfloat64_type_node)\\n\"", "\" {\\n\"", "\" rs6000_builtin_decls[(int)RS6000_BIF_%s] = t\\n\"", ...
rs6000-gen-builtins
write_init_bif_table
rs6000
CPU
GCC
26,409
400
1
[]
[ "<s>", "const", "uint32_t", "*", "AArch64RegisterInfo", "::", "getCallPreservedMask", "(", "const", "MachineFunction", "&", "MF", ",", "CallingConv", "::", "ID", "CC", ")", "const", "{", "bool", "SCS", "=", "MF", ".", "getFunction", "(", ")", ".", "hasFnAttr...
[ "Return", "a", "mask", "of", "call-preserved", "registers", "for", "the", "given", "calling", "convention", "on", "the", "current", "function", "." ]
[ "AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64" ]
AArch64RegisterInfo18
getCallPreservedMask
AArch64
CPU
LLVM
26,410
147
1
[]
[ "<s>", "void", "setFunction", "(", "Function", "&", "Func", ")", "{", "F", "=", "&", "Func", ";", "}", "</s>" ]
[ "Initialize", "data", "structures", "for", "specified", "new", "function", "." ]
[ "JVM" ]
JVMX2Java
setFunction
JVM
Virtual ISA
LLVM
26,411
14
1
[]
[ "<s>", "void", "alpha_split_atomic_exchange", "(", "rtx", "operands", "[", "]", ")", "{", "rtx", "retval", ",", "mem", ",", "val", ",", "scratch", ";", "enum", "memmodel", "model", ";", "machine_mode", "mode", ";", "rtx", "label", ",", "x", ",", "cond", ...
[ "Expand", "an", "atomic", "exchange", "operation", "." ]
[ "alpha", "0", "1", "2", "3", "4", "0" ]
alpha4
alpha_split_atomic_exchange
alpha
MPU
GCC
26,412
167
1
[]
[ "<s>", "void", "loongarch_expand_prologue", "(", "void", ")", "{", "struct", "loongarch_frame_info", "*", "frame", "=", "&", "cfun", "->", "machine", "->", "frame", ";", "HOST_WIDE_INT", "size", "=", "frame", "->", "total_size", ";", "HOST_WIDE_INT", "tmp", ";...
[ "Expand", "the", "``", "prologue", "''", "pattern", "." ]
[ "loongarch", "0", "0", "1", "1", "0", "1" ]
loongarch
loongarch_expand_prologue
loongarch
CPU
GCC
26,413
314
1
[]
[ "<s>", "void", "RISCVDAGToDAGISel", "::", "PostprocessISelDAG", "(", ")", "{", "doPeepholeLoadStoreADDI", "(", ")", ";", "}", "</s>" ]
[ "PostprocessISelDAG", "(", ")", "-", "This", "hook", "allows", "the", "target", "to", "hack", "on", "the", "graph", "right", "after", "selection", "." ]
[ "RISCV", "RISCV" ]
RISCVISelDAGToDAG1
PostprocessISelDAG
RISCV
CPU
LLVM
26,414
12
1
[]
[ "<s>", "MachineBasicBlock", "*", "HexagonTargetLowering", "::", "EmitInstrWithCustomInserter", "(", "MachineInstr", "*", "MI", ",", "MachineBasicBlock", "*", "BB", ")", "const", "{", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "case", "Hexagon", ...
[ "This", "method", "should", "be", "implemented", "by", "targets", "that", "mark", "instructions", "with", "the", "'usesCustomInserter", "'", "flag", "." ]
[ "Hexagon", "Hexagon", "Hexagon::ALLOCA", "Hexagon", "\"Unexpected instr type to insert\"" ]
HexagonISelLowering
EmitInstrWithCustomInserter
Hexagon
DSP
LLVM
26,415
74
1
[]
[ "<s>", "void", "VERegisterInfo", "::", "eliminateFrameIndex", "(", "MachineBasicBlock", "::", "iterator", "II", ",", "int", "SPAdj", ",", "unsigned", "FIOperandNum", ",", "RegScavenger", "*", "RS", ")", "const", "{", "assert", "(", "SPAdj", "==", "0", "&&", ...
[ "This", "method", "must", "be", "overriden", "to", "eliminate", "abstract", "frame", "indices", "from", "instructions", "which", "may", "use", "them", "." ]
[ "VE", "VE", "0", "\"Unexpected\"", "VE", "2", "VE::STQrii", "3", "VE::sub_even", "VE::sub_odd", "VE::STrii", "0", "0", "0", "VE::STrii", "3", "8", "VE::LDQrii", "0", "VE::sub_even", "VE::sub_odd", "VE::LDrii", "0", "0", "1", "VE::LDrii", "0", "8" ]
VERegisterInfo
eliminateFrameIndex
VE
CPU
LLVM
26,416
466
1
[]
[ "<s>", "void", "GCNHazardRecognizer", "::", "AdvanceCycle", "(", ")", "{", "if", "(", "!", "CurrCycleInstr", ")", "return", ";", "unsigned", "NumWaitStates", "=", "TII", ".", "getNumWaitStates", "(", "*", "CurrCycleInstr", ")", ";", "EmittedInstrs", ".", "push...
[ "AdvanceCycle", "-", "This", "callback", "is", "invoked", "whenever", "the", "next", "top-down", "instruction", "to", "be", "scheduled", "can", "not", "issue", "in", "the", "current", "cycle", ",", "either", "because", "of", "latency", "or", "resource", "confl...
[ "AMDGPU", "1" ]
GCNHazardRecognizer10
AdvanceCycle
AMDGPU
GPU
LLVM
26,417
82
1
[]
[ "<s>", "unsigned", "SICFunctionInfo", "::", "getGlobalBaseReg", "(", ")", "{", "return", "GlobalBaseReg", "=", "SIC", "::", "B", ";", "}", "</s>" ]
[ "getGlobalBaseReg", "-", "Return", "a", "virtual", "register", "initialized", "with", "the", "the", "global", "base", "register", "value", "." ]
[ "SIC", "SIC", "SIC::B" ]
SICMachineFunction
getGlobalBaseReg
SIC
CPU
LLVM
26,418
15
1
[]
[ "<s>", "machine_mode", "loongarch_hard_regno_caller_save_mode", "(", "unsigned", "int", "regno", ",", "unsigned", "int", "nregs", ",", "machine_mode", "mode", ")", "{", "if", "(", "mode", "==", "VOIDmode", ")", "return", "choose_hard_reg_mode", "(", "regno", ",", ...
[ "Implement", "HARD_REGNO_CALLER_SAVE_MODE", "." ]
[ "loongarch" ]
loongarch
loongarch_hard_regno_caller_save_mode
loongarch
CPU
GCC
26,419
36
1
[]
[ "<s>", "static", "int", "ia64_sched_reorder", "(", "FILE", "*", "dump", ",", "int", "sched_verbose", ",", "rtx_insn", "*", "*", "ready", ",", "int", "*", "pn_ready", ",", "int", "clock_var", ")", "{", "return", "ia64_dfa_sched_reorder", "(", "dump", ",", "...
[ "We", "are", "about", "to", "being", "issuing", "insns", "for", "this", "clock", "cycle", ".", "Override", "the", "default", "sort", "algorithm", "to", "better", "slot", "instructions", "." ]
[ "ia64", "0" ]
ia64
ia64_sched_reorder
ia64
CPU
GCC
26,420
41
1
[]
[ "<s>", "bool", "SystemZFrameLowering", "::", "hasFP", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "return", "(", "MF", ".", "getTarget", "(", ")", ".", "Options", ".", "DisableFramePointerElim", "(", "MF", ")", "||", "MF", ".", "getFrame...
[ "hasFP", "-", "Return", "true", "if", "the", "specified", "function", "should", "have", "a", "dedicated", "frame", "pointer", "register", "." ]
[ "SystemZ", "SystemZ", "SystemZ" ]
SystemZFrameLowering (2)
hasFP
SystemZ
CPU
LLVM
26,421
52
1
[]
[ "<s>", "bool", "mayNeedRelaxation", "(", "const", "MCInst", "&", "Inst", ")", "const", "override", "{", "return", "false", ";", "}", "</s>" ]
[ "Check", "whether", "the", "given", "instruction", "may", "need", "relaxation", "." ]
[ "FISC" ]
FISCAsmBackend
mayNeedRelaxation
FISC
CPU
LLVM
26,422
15
1
[]
[ "<s>", "void", "MipsInstrInfo", "::", "insertNoop", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ")", "const", "{", "DebugLoc", "DL", ";", "BuildMI", "(", "MBB", ",", "MI", ",", "DL", ",", "get", "(", "Mips", ":...
[ "Insert", "a", "noop", "into", "the", "instruction", "stream", "at", "the", "specified", "point", "." ]
[ "Mips", "Mips", "Mips::NOP" ]
MipsInstrInfo (2)
insertNoop
Mips
CPU
LLVM
26,423
36
1
[]
[ "<s>", "bool", "PTXInstrInfo", "::", "isPredicated", "(", "const", "MachineInstr", "*", "MI", ")", "const", "{", "int", "i", "=", "MI", "->", "findFirstPredOperandIdx", "(", ")", ";", "return", "i", "!=", "-", "1", "&&", "MI", "->", "getOperand", "(", ...
[ "Returns", "true", "if", "the", "instruction", "is", "already", "predicated", "." ]
[ "PTX", "PTX", "1", "PTX::NoRegister" ]
PTXInstrInfo3
isPredicated
PTX
GPU
LLVM
26,424
43
1
[]
[ "<s>", "static", "MCSymbol", "*", "GetSymbolFromOperand", "(", "const", "MachineOperand", "&", "MO", ",", "AsmPrinter", "&", "AP", ")", "{", "const", "TargetMachine", "&", "TM", "=", "AP", ".", "TM", ";", "Mangler", "*", "Mang", "=", "AP", ".", "Mang", ...
[ "Lower", "an", "MO_GlobalAddress", "or", "MO_ExternalSymbol", "operand", "to", "an", "MCSymbol", "." ]
[ "PowerPC", "128", "PPCII::MO_PLT_OR_STUB", "\"$stub\"", "PPCII::MO_NLP_FLAG", "\"$non_lazy_ptr\"", "\"Isn't a symbol reference\"", "PPCII::MO_PLT_OR_STUB", "PPCII::MO_NLP_FLAG", "PPCII::MO_NLP_HIDDEN_FLAG", "\"Extern symbol not handled yet\"" ]
PPCMCInstLower49
GetSymbolFromOperand
PowerPC
CPU
LLVM
26,425
468
1
[]
[ "<s>", "bool", "SITargetLowering", "::", "getAddrModeArguments", "(", "IntrinsicInst", "*", "II", ",", "SmallVectorImpl", "<", "Value", "*", ">", "&", "Ops", ",", "Type", "*", "&", "AccessTy", ")", "const", "{", "switch", "(", "II", "->", "getIntrinsicID", ...
[ "CodeGenPrepare", "sinks", "address", "calculations", "into", "the", "same", "BB", "as", "Load/Store", "instructions", "reading", "the", "address", "." ]
[ "AMDGPU", "SI", "Intrinsic::amdgcn_atomic_inc", "Intrinsic::amdgcn_atomic_dec", "Intrinsic::amdgcn_ds_ordered_add", "Intrinsic::amdgcn_ds_ordered_swap", "Intrinsic::amdgcn_ds_append", "Intrinsic::amdgcn_ds_consume", "Intrinsic::amdgcn_ds_fadd", "Intrinsic::amdgcn_ds_fmin", "Intrinsic::amdgcn_ds_...
SIISelLowering120
getAddrModeArguments
AMDGPU
GPU
LLVM
26,426
126
1
[]
[ "<s>", "SMLoc", "getEndLoc", "(", ")", "const", "override", "{", "return", "EndLoc", ";", "}", "</s>" ]
[ "getEndLoc", "-", "Get", "the", "location", "of", "the", "last", "token", "of", "this", "operand", "." ]
[ "R600" ]
AMDGPUAsmParser18
getEndLoc
R600
GPU
LLVM
26,427
11
1
[]
[ "<s>", "static", "unsigned", "int", "mips_machine_reorg2", "(", "void", ")", "{", "mips_reorg_process_insns", "(", ")", ";", "if", "(", "!", "TARGET_MIPS16", "&&", "TARGET_EXPLICIT_RELOCS", "&&", "TUNE_MIPS4130", "&&", "TARGET_VR4130_ALIGN", ")", "vr4130_align_insns",...
[ "We", "use", "a", "machine", "specific", "pass", "to", "do", "a", "second", "machine", "dependent", "reorg", "pass", "after", "delay", "branch", "scheduling", "." ]
[ "mips", "0" ]
mips
mips_machine_reorg2
mips
CPU
GCC
26,428
49
1
[]
[ "<s>", "static", "bool", "arc_use_by_pieces_infrastructure_p", "(", "unsigned", "HOST_WIDE_INT", "size", ",", "unsigned", "int", "align", ",", "enum", "by_pieces_operation", "op", ",", "bool", "speed_p", ")", "{", "if", "(", "op", "==", "MOVE_BY_PIECES", ")", "r...
[ "Implement", "TARGET_USE_BY_PIECES_INFRASTRUCTURE_P", "." ]
[ "arc" ]
arc
arc_use_by_pieces_infrastructure_p
arc
MPU
GCC
26,429
42
1
[]
[ "<s>", "enum", "aarch64_symbol_type", "aarch64_classify_symbol", "(", "rtx", "x", ",", "rtx", "offset", ",", "enum", "aarch64_symbol_context", "context", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "GET_CODE", "(", "x", ")", "==", "LABEL_REF", ")", "{", "switch", ...
[ "Return", "the", "method", "that", "should", "be", "used", "to", "access", "SYMBOL_REF", "or", "LABEL_REF", "X", "." ]
[ "aarch64", "1048575", "1048575", "4294967263", "4294967264" ]
aarch642
aarch64_classify_symbol
aarch64
CPU
GCC
26,430
213
1
[]
[ "<s>", "bool", "Mips16HardFloat", "::", "runOnModule", "(", "Module", "&", "M", ")", "{", "DEBUG", "(", "errs", "(", ")", "<<", "\"Run on Module Mips16HardFloat\\n\"", ")", ";", "bool", "Modified", "=", "false", ";", "for", "(", "Module", "::", "iterator", ...
[ "runOnModule", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "process", "the", "module", "being", "operated", "on", "." ]
[ "Mips", "Mips", "\"Run on Module Mips16HardFloat\\n\"", "\"nomips16\"", "\"use-soft-float\"", "\"mips16_fp_stub\"", "\"nomips16\"" ]
Mips16HardFloat17
runOnModule
Mips
CPU
LLVM
26,431
154
1
[]
[ "<s>", "void", "ia64_output_function_profiler", "(", "FILE", "*", "file", ",", "int", "labelno", ")", "{", "bool", "indirect_call", ";", "if", "(", "cfun", "->", "static_chain_decl", "&&", "!", "TARGET_NO_PIC", "&&", "!", "TARGET_AUTO_PIC", ")", "{", "gcc_asse...
[ "Implement", "the", "FUNCTION_PROFILER", "macro", "." ]
[ "ia64", "15", "\"\\t.prologue 4, r40\\n\"", "\"\\t.prologue\\n\\t.save ar.pfs, r40\\n\"", "\"\\talloc out0 = ar.pfs, 8, 0, 4, 0\\n\"", "\"\\tmov out3 = r0\\n\"", "20", "\"LP\"", "\"\\tmovl out3 = @gprel(\"", "\"\\taddl out3 = @ltoff(\"", "\")\\n\"", "\"), r1\\n\"", "\"\\taddl r14 = @ltoff(@f...
ia64
ia64_output_function_profiler
ia64
CPU
GCC
26,432
244
1
[]
[ "<s>", "const", "NVPTXGenericMCSymbolRefExpr", "*", "NVPTXGenericMCSymbolRefExpr", "::", "create", "(", "const", "MCSymbolRefExpr", "*", "SymExpr", ",", "MCContext", "&", "Ctx", ")", "{", "return", "new", "(", "Ctx", ")", "NVPTXGenericMCSymbolRefExpr", "(", "SymExpr...
[ "This", "creates", "an", "identified", "struct", "." ]
[ "NVPTX", "NVPTX", "NVPTX", "NVPTX" ]
NVPTXMCExpr11
create
NVPTX
GPU
LLVM
26,433
28
1
[]
[ "<s>", "void", "push_back", "(", "T", "V", ")", "{", "if", "(", "Set", ".", "count", "(", "V", ")", ")", "return", ";", "Queue", ".", "push", "(", "V", ")", ";", "Set", ".", "insert", "(", "V", ")", ";", "}", "</s>" ]
[ "Insert", "a", "node", "at", "the", "back", ";", "never", "copies", "." ]
[ "Hexagon" ]
RDFDeadCode
push_back
Hexagon
DSP
LLVM
26,434
33
1
[]
[ "<s>", "bool", "loongarch_signed_immediate_p", "(", "unsigned", "HOST_WIDE_INT", "x", ",", "int", "bits", ",", "int", "shift", "=", "0", ")", "{", "x", "+=", "1", "<<", "(", "bits", "+", "shift", "-", "1", ")", ";", "return", "loongarch_unsigned_immediate_...
[ "Return", "true", "if", "X", "fits", "within", "a", "signed", "field", "of", "BITS", "bits", "that", "is", "shifted", "left", "SHIFT", "bits", "before", "being", "used", "." ]
[ "loongarch", "0", "1", "1" ]
loongarch
loongarch_signed_immediate_p
loongarch
CPU
GCC
26,435
39
1
[]
[ "<s>", "bool", "RISCVInstrInfo", "::", "isMBBSafeToOutlineFrom", "(", "MachineBasicBlock", "&", "MBB", ",", "unsigned", "&", "Flags", ")", "const", "{", "return", "true", ";", "}", "</s>" ]
[ "Optional", "target", "hook", "that", "returns", "true", "if", "MBB", "is", "safe", "to", "outline", "from", ",", "and", "returns", "any", "target-specific", "information", "in", "Flags", "." ]
[ "RISCV", "RISCV" ]
RISCVInstrInfo (2)
isMBBSafeToOutlineFrom
RISCV
CPU
LLVM
26,436
19
1
[]
[ "<s>", "bool", "BPFInstrInfo", "::", "analyzeBranch", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "*", "&", "TBB", ",", "MachineBasicBlock", "*", "&", "FBB", ",", "SmallVectorImpl", "<", "MachineOperand", ">", "&", "Cond", ",", "bool", "All...
[ "analyzeBranch", "-", "Analyze", "the", "branching", "code", "at", "the", "end", "of", "MBB", ",", "returning", "true", "if", "it", "can", "not", "be", "understood", "(", "e.g", "." ]
[ "BPF", "BPF", "BPF::JMP", "0", "0", "0" ]
BPFInstrInfo10
analyzeBranch
BPF
Virtual ISA
LLVM
26,437
224
1
[]
[ "<s>", "unsigned", "WebAssemblyInstrInfo", "::", "insertBranch", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "*", "TBB", ",", "MachineBasicBlock", "*", "FBB", ",", "ArrayRef", "<", "MachineOperand", ">", "Cond", ",", "const", "DebugLoc", "&", ...
[ "Insert", "branch", "code", "into", "the", "end", "of", "the", "specified", "MachineBasicBlock", "." ]
[ "WebAssembly", "WebAssembly", "\"code size not handled\"", "0", "WebAssembly::BR", "1", "2", "\"Expected a flag and a successor block\"", "0", "WebAssembly::BR_IF", "1", "WebAssembly::BR_UNLESS", "1", "1", "WebAssembly::BR", "2" ]
WebAssemblyInstrInfo14
insertBranch
WebAssembly
Virtual ISA
LLVM
26,438
200
1
[]
[ "<s>", "bool", "aarch64_prepare_sve_int_fma", "(", "rtx", "*", "operands", ",", "rtx_code", "code", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "operands", "[", "0", "]", ")", ";", "if", "(", "rtx", "shifts", "=", "aarch64_convert_mult_to_shift", ...
[ "Prepare", "for", "an", "integer", "SVE", "multiply-add", "or", "multiply-subtract", "pattern", ";", "CODE", "is", "PLUS", "for", "the", "former", "and", "MINUS", "for", "the", "latter", ".", "OPERANDS", "is", "the", "operands", "array", ",", "in", "the", ...
[ "aarch64", "0", "2", "1", "3", "0", "2", "2" ]
aarch64
aarch64_prepare_sve_int_fma
aarch64
CPU
GCC
26,439
113
1
[]
[ "<s>", "BitVector", "MipsRegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "static", "const", "uint16_t", "ReservedCPURegs", "[", "]", "=", "{", "Mips", "::", "ZERO", ",", "Mips", "::", "K0", ",", "Mips", ...
[ "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", "...
[ "Mips", "Mips", "Mips::ZERO", "Mips::K0", "Mips::K1", "Mips::SP", "Mips::ZERO_64", "Mips::K0_64", "Mips::K1_64", "Mips::SP_64", "0", "0", "Mips", "Mips::AFGR64RegClass", "Mips::AFGR64RegClass", "Mips::FGR64RegClass", "Mips::FGR64RegClass", "Mips", "Mips::S0", "Mips::FP", "Mip...
MipsRegisterInfo15
getReservedRegs
Mips
CPU
LLVM
26,440
399
1
[]
[ "<s>", "bool", "MOSPassConfig", "::", "addGlobalInstructionSelect", "(", ")", "{", "addPass", "(", "new", "InstructionSelect", "(", ")", ")", ";", "return", "false", ";", "}", "</s>" ]
[ "This", "method", "should", "install", "a", "(", "global", ")", "instruction", "selector", "pass", ",", "which", "converts", "possibly", "generic", "instructions", "to", "fully", "target-specific", "instructions", ",", "thereby", "constraining", "all", "generic", ...
[ "MOS", "MOS" ]
MOSTargetMachine
addGlobalInstructionSelect
MOS
MPU
LLVM
26,441
19
1
[]
[ "<s>", "static", "fixed_size_mode", "aarch64_get_reg_raw_mode", "(", "int", "regno", ")", "{", "if", "(", "TARGET_SVE", "&&", "FP_REGNUM_P", "(", "regno", ")", ")", "return", "as_a", "<", "fixed_size_mode", ">", "(", "V16QImode", ")", ";", "return", "default_g...
[ "Implement", "TARGET_GET_RAW_RESULT_MODE", "and", "TARGET_GET_RAW_ARG_MODE", "." ]
[ "aarch64" ]
aarch64
aarch64_get_reg_raw_mode
aarch64
CPU
GCC
26,442
33
1
[]
[ "<s>", "uint64_t", "RawVectorOstream", "::", "current_pos", "(", ")", "const", "{", "return", "static_cast", "<", "uint64_t", ">", "(", "Position", ")", ";", "}", "</s>" ]
[ "Return", "the", "current", "position", "within", "the", "stream", ",", "not", "counting", "the", "bytes", "currently", "in", "the", "buffer", "." ]
[ "HSAIL" ]
RawVectorOstream
current_pos
HSAIL
Virtual ISA
LLVM
26,443
18
1
[]
[ "<s>", "unsigned", "getReg", "(", ")", "const", "override", "{", "assert", "(", "Kind", "==", "Register", "&&", "\"Invalid access!\"", ")", ";", "return", "Reg", ".", "RegNum", ";", "}", "</s>" ]
[ "Returns", "the", "register", "associated", "with", "this", "edge", "." ]
[ "Hexagon", "\"Invalid access!\"" ]
HexagonAsmParser
getReg
Hexagon
DSP
LLVM
26,444
22
1
[]
[ "<s>", "void", "MBlazeTargetObjectFile", "::", "Initialize", "(", "MCContext", "&", "Ctx", ",", "const", "TargetMachine", "&", "TM", ")", "{", "TargetLoweringObjectFileELF", "::", "Initialize", "(", "Ctx", ",", "TM", ")", ";", "SmallDataSection", "=", "getELFSec...
[ "This", "method", "must", "be", "called", "before", "any", "actual", "lowering", "is", "done", "." ]
[ "MBlaze", "MBlaze", "\".sdata\"", "\".sbss\"" ]
MBlazeTargetObjectFile3
Initialize
MBlaze
MPU
LLVM
26,445
75
1
[]
[ "<s>", "rtx", "gen_df_reg", "(", "rtx", "reg", ",", "int", "low", ")", "{", "int", "regno", "=", "REGNO", "(", "reg", ")", ";", "if", "(", "(", "WORDS_BIG_ENDIAN", "==", "0", ")", "^", "(", "low", "!=", "0", ")", ")", "regno", "+=", "(", "TARGE...
[ "Generate", "a", "DFmode", "part", "of", "a", "hard", "TFmode", "register", ".", "REG", "is", "the", "TFmode", "hard", "register", ",", "LOW", "is", "1", "for", "the", "low", "64bit", "of", "the", "register", "and", "0", "otherwise", "." ]
[ "sparc", "0", "0", "1", "2" ]
sparc
gen_df_reg
sparc
CPU
GCC
26,446
56
1
[]
[ "<s>", "unsigned", "mmix_debugger_regno", "(", "unsigned", "regno", ")", "{", "regno", "=", "MMIX_OUTPUT_REGNO", "(", "regno", ")", ";", "return", "regno", ">=", "224", "?", "(", "regno", "-", "224", ")", ":", "(", "regno", "+", "48", ")", ";", "}", ...
[ "DEBUGGER_REGNO", "." ]
[ "mmix", "224", "224", "48" ]
mmix1
mmix_debugger_regno
mmix
CPU
GCC
26,447
32
1
[]
[ "<s>", "bool", "ARCFrameLowering", "::", "restoreCalleeSavedRegisters", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", ",", "const", "TargetRegisterInfo", ...
[ "restoreCalleeSavedRegisters", "-", "Issues", "instruction", "(", "s", ")", "to", "restore", "all", "callee", "saved", "registers", "and", "returns", "true", "if", "it", "is", "n't", "possible", "/", "profitable", "to", "do", "so", "by", "issuing", "a", "ser...
[ "ARC", "ARC", "\"Restore callee saved registers: \"", "\"\\n\"", "ARC::R14" ]
ARCFrameLowering
restoreCalleeSavedRegisters
ARC
MPU
LLVM
26,448
78
1
[]
[ "<s>", "void", "mips_expand_atomic_qihi", "(", "union", "mips_gen_fn_ptrs", "generator", ",", "rtx", "result", ",", "rtx", "mem", ",", "rtx", "oldval", ",", "rtx", "newval", ")", "{", "rtx", "orig_addr", ",", "memsi_addr", ",", "memsi", ",", "shift", ",", ...
[ "Expand", "a", "QI", "or", "HI", "mode", "atomic", "memory", "operation", ".", "GENERATOR", "contains", "a", "pointer", "to", "the", "gen_", "*", "function", "that", "generates", "the", "SI", "mode", "underlying", "atomic", "operation", "using", "masks", "th...
[ "mips", "0", "4", "3", "3", "2", "3" ]
mips
mips_expand_atomic_qihi
mips
CPU
GCC
26,449
450
1
[]
[ "<s>", "static", "bool", "avr_2word_insn_p", "(", "rtx_insn", "*", "insn", ")", "{", "if", "(", "TARGET_SKIP_BUG", "||", "!", "insn", "||", "get_attr_length", "(", "insn", ")", "!=", "2", ")", "{", "return", "false", ";", "}", "switch", "(", "INSN_CODE",...
[ "Helper", "for", "jump_over_one_insn_p", ":", "Test", "if", "INSN", "is", "a", "2-word", "instruction", "and", "thus", "is", "suitable", "to", "be", "skipped", "by", "CPSE", ",", "SBRC", ",", "etc", "." ]
[ "avr", "2", "0", "0" ]
avr
avr_2word_insn_p
avr
MPU
GCC
26,450
153
1
[]
[ "<s>", "SDValue", "ARMSelectionDAGInfo", "::", "EmitTargetCodeForMemset", "(", "SelectionDAG", "&", "DAG", ",", "SDLoc", "dl", ",", "SDValue", "Chain", ",", "SDValue", "Dst", ",", "SDValue", "Src", ",", "SDValue", "Size", ",", "unsigned", "Align", ",", "bool",...
[ "Emit", "target-specific", "code", "that", "performs", "a", "memset", "." ]
[ "ARM", "ARM", "ARM", "ARM", "ARM", "ARM", "ARM", "MVT::i32", "ISD::TRUNCATE", "MVT::i32", "ISD::ZERO_EXTEND", "MVT::i32", "0" ]
ARMSelectionDAGInfo46
EmitTargetCodeForMemset
ARM
CPU
LLVM
26,451
375
1
[]
[ "<s>", "unsigned", "getNumFixupKinds", "(", ")", "const", "{", "return", "TOY", "::", "NumTargetFixupKinds", ";", "}", "</s>" ]
[ "Get", "the", "number", "of", "target", "specific", "fixup", "kinds", "." ]
[ "TOY", "TOY::NumTargetFixupKinds" ]
TOYAsmBackend
getNumFixupKinds
TOY
CPU
LLVM
26,452
12
1
[]
[ "<s>", "static", "rtx_insn", "*", "cris_md_asm_adjust", "(", "vec", "<", "rtx", ">", "&", "outputs", ",", "vec", "<", "rtx", ">", "&", "inputs", ",", "vec", "<", "machine_mode", ">", "&", ",", "vec", "<", "const", "char", "*", ">", "&", "constraints"...
[ "Worker", "function", "for", "TARGET_MD_ASM_ADJUST", "." ]
[ "cris", "0", "0", "0" ]
cris
cris_md_asm_adjust
cris
MPU
GCC
26,453
208
1
[]
[ "<s>", "static", "tree", "nvptx_builtin_decl", "(", "unsigned", "code", ",", "bool", "ARG_UNUSED", "(", "initialize_p", ")", ")", "{", "if", "(", "code", ">=", "NVPTX_BUILTIN_MAX", ")", "return", "error_mark_node", ";", "return", "nvptx_builtin_decls", "[", "cod...
[ "Return", "the", "NVPTX", "builtin", "for", "CODE", "." ]
[ "nvptx" ]
nvptx
nvptx_builtin_decl
nvptx
GPU
GCC
26,454
30
1
[]
[ "<s>", "InstructionCost", "AArch64TargetLowering", "::", "getScalingFactorCost", "(", "const", "DataLayout", "&", "DL", ",", "const", "AddrMode", "&", "AM", ",", "Type", "*", "Ty", ",", "unsigned", "AS", ")", "const", "{", "if", "(", "isLegalAddressingMode", "...
[ "Return", "the", "cost", "of", "the", "scaling", "factor", "used", "in", "the", "addressing", "mode", "represented", "by", "AM", "for", "this", "target", ",", "for", "a", "load/store", "of", "the", "specified", "type", "." ]
[ "AArch64", "AArch64", "0", "1", "1" ]
AArch64ISelLowering (2)2
getScalingFactorCost
AArch64
CPU
LLVM
26,455
55
1
[]
[ "<s>", "bool", "Thumb2SizeReduce", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "const", "TargetMachine", "&", "TM", "=", "MF", ".", "getTarget", "(", ")", ";", "TII", "=", "static_cast", "<", "const", "Thumb2InstrInfo", "*", ">...
[ "runOnMachineFunction", "-", "Emit", "the", "function", "body", "." ]
[ "ARM", "ARM" ]
Thumb2SizeReduction24
runOnMachineFunction
ARM
CPU
LLVM
26,456
137
1
[]
[ "<s>", "void", "PTXMCAsmStreamer", "::", "EmitInstruction", "(", "const", "MCInst", "&", "Inst", ")", "{", "assert", "(", "CurSection", "&&", "\"Cannot emit contents before setting section!\"", ")", ";", "if", "(", "Emitter", ")", "AddEncodingComment", "(", "Inst", ...
[ "EmitInstruction", "-", "This", "callback", "is", "invoked", "when", "an", "instruction", "is", "emitted", ",", "to", "advance", "the", "hazard", "state", "." ]
[ "PTX", "PTX", "\"Cannot emit contents before setting section!\"", "\"\\n \"", "\"\\n\"" ]
PTXMCAsmStreamer3
EmitInstruction
PTX
GPU
LLVM
26,457
89
1
[]
[ "<s>", "void", "BTFDebug", "::", "beginInstruction", "(", "const", "MachineInstr", "*", "MI", ")", "{", "DebugHandlerBase", "::", "beginInstruction", "(", "MI", ")", ";", "if", "(", "SkipInstruction", "||", "MI", "->", "isMetaInstruction", "(", ")", "||", "M...
[ "Process", "beginning", "of", "an", "instruction", "." ]
[ "BPF", "0", "0", "0", "BPF::LD_imm64", "1", "BPF::CORE_MEM", "BPF::CORE_ALU32_MEM", "BPF::CORE_SHIFT", "3", "0" ]
BTFDebug16
beginInstruction
BPF
Virtual ISA
LLVM
26,458
324
1
[]
[ "<s>", "bool", "isFMAFasterThanFMulAndFAdd", "(", "EVT", ")", "const", "override", "{", "return", "true", ";", "}", "</s>" ]
[ "Return", "true", "if", "an", "FMA", "operation", "is", "faster", "than", "a", "pair", "of", "fmul", "and", "fadd", "instructions", "." ]
[ "NVPTX" ]
NVPTXISelLowering
isFMAFasterThanFMulAndFAdd
NVPTX
GPU
LLVM
26,459
12
1
[]
[ "<s>", "TargetLoweringObjectFile", "*", "getObjFileLowering", "(", ")", "const", "override", "{", "return", "this", "->", "TLOF", ".", "get", "(", ")", ";", "}", "</s>" ]
[ "Return", "information", "about", "object", "file", "lowering", "." ]
[ "AVR" ]
AVRTargetMachine
getObjFileLowering
AVR
MPU
LLVM
26,460
18
1
[]
[ "<s>", "LoadInst", "*", "getLoad", "(", ")", "{", "return", "NewLd", ";", "}", "</s>" ]
[ "Loads", "are", "not", "normal", "binary", "operators", ":", "their", "result", "type", "is", "not", "determined", "by", "their", "operands", ",", "and", "they", "produce", "a", "value", "AND", "a", "token", "chain", "." ]
[ "ARM" ]
ARMParallelDSP1
getLoad
ARM
CPU
LLVM
26,461
10
1
[]
[ "<s>", "bool", "microblaze_legitimate_address_p", "(", "machine_mode", "mode", ",", "rtx", "x", ",", "bool", "strict", ")", "{", "struct", "microblaze_address_info", "addr", ";", "return", "microblaze_classify_address", "(", "&", "addr", ",", "x", ",", "mode", "...
[ "This", "function", "is", "used", "to", "implement", "GO_IF_LEGITIMATE_ADDRESS", ".", "It", "returns", "a", "nonzero", "value", "if", "X", "is", "a", "legitimate", "address", "for", "a", "memory", "operand", "of", "the", "indicated", "MODE", ".", "STRICT", "...
[ "microblaze" ]
microblaze
microblaze_legitimate_address_p
microblaze
MPU
GCC
26,462
31
1
[]
[ "<s>", "std", "::", "vector", "<", "SIScheduleBlock", "*", ">", "getBlocks", "(", ")", "{", "return", "BlocksScheduled", ";", "}", "</s>" ]
[ "Get", "a", "list", "of", "the", "basic", "blocks", "which", "make", "up", "this", "loop", "." ]
[ "AMDGPU", "SI" ]
SIMachineScheduler
getBlocks
AMDGPU
GPU
LLVM
26,463
15
1
[]
[ "<s>", "bool", "Thumb2SizeReduce", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "PredicateFtor", "&&", "!", "PredicateFtor", "(", "MF", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "STI", "=", "&"...
[ "runOnMachineFunction", "-", "Emit", "the", "function", "body", "." ]
[ "ARM", "ARM" ]
Thumb2SizeReduction65
runOnMachineFunction
ARM
CPU
LLVM
26,464
175
1
[]
[ "<s>", "static", "rtx", "set_frame_related_p", "(", ")", "{", "rtx", "seq", "=", "gen_sequence", "(", ")", ";", "end_sequence", "(", ")", ";", "if", "(", "GET_CODE", "(", "seq", ")", "==", "SEQUENCE", ")", "{", "int", "i", "=", "XVECLEN", "(", "seq",...
[ "Helper", "function", "to", "set", "RTX_FRAME_RELATED_P", "on", "instructions", ",", "including", "sequences", "." ]
[ "alpha", "0", "0", "0", "1", "1" ]
alpha2
set_frame_related_p
alpha
MPU
GCC
26,465
86
1
[]
[ "<s>", "void", "finishLayout", "(", "MCAssembler", "const", "&", "Asm", ",", "MCAsmLayout", "&", "Layout", ")", "const", "override", "{", "for", "(", "auto", "I", ":", "Layout", ".", "getSectionOrder", "(", ")", ")", "{", "auto", "&", "Fragments", "=", ...
[ "Give", "backend", "an", "opportunity", "to", "finish", "layout", "after", "relaxation", "." ]
[ "Hexagon", "0", "0", "Hexagon", "4", "Hexagon::A2_nop", "4", "Hexagon", "1", "0", "Hexagon", "0" ]
HexagonAsmBackend (2)1
finishLayout
Hexagon
DSP
LLVM
26,466
341
1
[]
[ "<s>", "const", "TargetRegisterClass", "*", "PPCRegisterInfo", "::", "getPointerRegClass", "(", "unsigned", "Kind", ")", "const", "{", "if", "(", "Subtarget", ".", "isPPC64", "(", ")", ")", "return", "&", "PPC", "::", "G8RCRegClass", ";", "return", "&", "PPC...
[ "getPointerRegClass", "-", "Returns", "a", "TargetRegisterClass", "used", "for", "pointer", "values", "." ]
[ "PowerPC", "PPC", "PPC", "PPC::G8RCRegClass", "PPC::GPRCRegClass" ]
PPCRegisterInfo21
getPointerRegClass
PowerPC
CPU
LLVM
26,467
33
1
[]
[ "<s>", "const", "char", "*", "output_probe_stack_range", "(", "rtx", "reg1", ",", "rtx", "reg2", ")", "{", "static", "int", "labelno", "=", "0", ";", "char", "loop_lab", "[", "32", "]", ";", "rtx", "xops", "[", "2", "]", ";", "ASM_GENERATE_INTERNAL_LABEL...
[ "Wrapper", "around", "the", "output_probe_stack_range", "routines", "." ]
[ "sparc", "0", "32", "2", "\"LPSRL\"", "0", "1", "\"add\\t%0, %1, %0\"", "1", "\"cmp\\t%0, %1\"", "\"\\tbne,pt\\t%xcc,\"", "\"\\tbne\\t\"", "1", "\" st\\t%%g0, [%0+%1]\"", "\"\"" ]
sparc
output_probe_stack_range
sparc
CPU
GCC
26,468
140
1
[]
[ "<s>", "void", "GBZ80InstPrinter", "::", "printInst", "(", "const", "MCInst", "*", "MI", ",", "raw_ostream", "&", "O", ",", "StringRef", "Annot", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "{", "unsigned", "Opcode", "=", "MI", "->", "getOpcode", "("...
[ "Print", "the", "specified", "MCInst", "to", "the", "specified", "raw_ostream", "." ]
[ "GBZ80", "GB" ]
GBZ80InstPrinter
printInst
GBZ80
MPU
LLVM
26,469
67
1
[]
[ "<s>", "unsigned", "getExplicitKernelArgOffset", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "return", "isAmdCodeObjectV2", "(", "MF", ")", "?", "0", ":", "36", ";", "}", "</s>" ]
[ "Returns", "the", "offset", "in", "bytes", "from", "the", "start", "of", "the", "input", "buffer", "of", "the", "first", "explicit", "kernel", "argument", "." ]
[ "AMDGPU", "0", "36" ]
AMDGPUSubtarget10
getExplicitKernelArgOffset
AMDGPU
GPU
LLVM
26,470
21
1
[]
[ "<s>", "bool", "HexagonBitSimplify", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "skipFunction", "(", "MF", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "auto", "&", "HST", "=", "MF", ".", "get...
[ "runOnMachineFunction", "-", "Emit", "the", "function", "body", "." ]
[ "Hexagon", "Hexagon", "Hexagon", "Hexagon" ]
HexagonBitSimplify
runOnMachineFunction
Hexagon
DSP
LLVM
26,471
371
1
[]
[ "<s>", "void", "WebAssemblyInstrInfo", "::", "copyPhysReg", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "DebugLoc", "DL", ",", "unsigned", "DestReg", ",", "unsigned", "SrcReg", ",", "bool", "KillSrc", ")", "const",...
[ "}", "Branch", "Analysis", "&", "Modification" ]
[ "WebAssembly", "WebAssembly", "WebAssembly::COPY", "0" ]
WebAssemblyInstrInfo
copyPhysReg
WebAssembly
Virtual ISA
LLVM
26,472
60
1
[]
[ "<s>", "bool", "isReg", "(", ")", "const", "override", "{", "return", "isRegKind", "(", ")", "&&", "!", "hasModifiers", "(", ")", ";", "}", "</s>" ]
[ "isReg", "-", "Is", "this", "a", "register", "operand", "?" ]
[ "AMDGPU" ]
AMDGPUAsmParser1
isReg
AMDGPU
GPU
LLVM
26,473
18
1
[]
[ "<s>", "const", "R600RegisterInfo", "&", "getRegisterInfo", "(", ")", "const", "{", "return", "RI", ";", "}", "</s>" ]
[ "getRegisterInfo", "-", "TargetInstrInfo", "is", "a", "superset", "of", "MRegister", "info", "." ]
[ "AMDGPU", "R600" ]
R600InstrInfo (2)
getRegisterInfo
AMDGPU
GPU
LLVM
26,474
12
1
[]
[ "<s>", "Register", "SIRegisterInfo", "::", "getFrameRegister", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "SIFrameLowering", "*", "TFI", "=", "ST", ".", "getFrameLowering", "(", ")", ";", "const", "SIMachineFunctionInfo", "*", "FuncI...
[ "Debug", "information", "queries", "." ]
[ "AMDGPU", "SI", "SI", "SI", "SI" ]
SIRegisterInfo (3)
getFrameRegister
AMDGPU
GPU
LLVM
26,475
86
1
[]
[ "<s>", "void", "ARMAsmBackend", "::", "applyFixup", "(", "const", "MCAssembler", "&", "Asm", ",", "const", "MCFixup", "&", "Fixup", ",", "const", "MCValue", "&", "Target", ",", "MutableArrayRef", "<", "char", ">", "Data", ",", "uint64_t", "Value", ",", "bo...
[ "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!\"", "\"Invalid fixup size!\"", "\"Invalid fixup size!\"", "0", "1", "8", "0xff" ]
ARMAsmBackend19
applyFixup
ARM
CPU
LLVM
26,476
209
1
[]
[ "<s>", "static", "int", "m16_check_op", "(", "rtx", "op", ",", "int", "low", ",", "int", "high", ",", "int", "mask", ")", "{", "return", "(", "GET_CODE", "(", "op", ")", "==", "CONST_INT", "&&", "INTVAL", "(", "op", ")", ">=", "low", "&&", "INTVAL"...
[ "We", "need", "a", "lot", "of", "little", "routines", "to", "check", "constant", "values", "on", "the", "mips16", ".", "These", "are", "used", "to", "figure", "out", "how", "long", "the", "instruction", "will", "be", ".", "It", "would", "be", "much", "...
[ "mips", "0" ]
mips3
m16_check_op
mips
CPU
GCC
26,477
53
1
[]
[ "<s>", "bool", "prepare_move_operands", "(", "rtx", "*", "operands", ",", "machine_mode", "mode", ")", "{", "if", "(", "!", "TARGET_NO_SDATA_SET", "&&", "small_data_pattern", "(", "operands", "[", "0", "]", ",", "Pmode", ")", ")", "operands", "[", "0", "]"...
[ "Prepare", "operands", "for", "a", "move", "define_expand", "in", "MODE", "." ]
[ "arc", "0", "0", "0", "1", "0", "1", "1", "1", "0", "1", "1", "0", "0", "0", "1", "1", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "0", "1", "1", "0", "1", "1", "1" ]
arc6
prepare_move_operands
arc
MPU
GCC
26,478
395
1
[]
[ "<s>", "void", "AMDGPUPassConfig", "::", "addPreRegAlloc", "(", ")", "{", "const", "AMDGPUSubtarget", "&", "ST", "=", "TM", "->", "getSubtarget", "<", "AMDGPUSubtarget", ">", "(", ")", ";", "if", "(", "ST", ".", "getGeneration", "(", ")", "<=", "AMDGPUSubt...
[ "This", "method", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "register", "allocation", "." ]
[ "R600", "SI", "SI", "SI", "SI" ]
AMDGPUTargetMachine35
addPreRegAlloc
R600
GPU
LLVM
26,479
103
1
[]
[ "<s>", "bool", "isMBB", "(", ")", "{", "return", "getMBBMRT", "(", ")", "!=", "nullptr", ";", "}", "</s>" ]
[ "isMBB", "-", "Tests", "if", "this", "is", "a", "MO_MachineBasicBlock", "operand", "." ]
[ "AMDGPU" ]
AMDGPUMachineCFGStructurizer
isMBB
AMDGPU
GPU
LLVM
26,480
13
1
[]
[ "<s>", "void", "relaxInstruction", "(", "MCInst", "const", "&", "Inst", ",", "MCInst", "&", "Res", ")", "const", "override", "{", "assert", "(", "HexagonMCInstrInfo", "::", "isBundle", "(", "Inst", ")", "&&", "\"Hexagon relaxInstruction only works on bundles\"", "...
[ "Relax", "the", "instruction", "in", "the", "given", "fragment", "to", "the", "next", "wider", "instruction", "." ]
[ "Hexagon", "Hexagon", "\"Hexagon relaxInstruction only works on bundles\"", "Hexagon", "Hexagon", "Hexagon", "\"No room to insert extender for relaxation\"", "Hexagon", "Hexagon", "\"Didn't find relaxation target\"" ]
HexagonAsmBackend
relaxInstruction
Hexagon
DSP
LLVM
26,481
180
1
[]
[ "<s>", "unsigned", "X86TargetLowering", "::", "getExceptionSelectorRegister", "(", "const", "Constant", "*", "PersonalityFn", ")", "const", "{", "assert", "(", "!", "isFuncletEHPersonality", "(", "classifyEHPersonality", "(", "PersonalityFn", ")", ")", ")", ";", "re...
[ "If", "a", "physical", "register", ",", "this", "returns", "the", "register", "that", "receives", "the", "exception", "typeid", "on", "entry", "to", "a", "landing", "pad", "." ]
[ "X86", "X86", "X86::RDX", "X86::EDX" ]
X86ISelLowering (2)3
getExceptionSelectorRegister
X86
CPU
LLVM
26,482
40
1
[]
[ "<s>", "static", "bool", "chain_already_loaded", "(", "rtx_insn", "*", "last", ")", "{", "for", "(", ";", "last", "!=", "NULL", ";", "last", "=", "PREV_INSN", "(", "last", ")", ")", "{", "if", "(", "NONJUMP_INSN_P", "(", "last", ")", ")", "{", "rtx",...
[ "Return", "TRUE", "iff", "the", "sequence", "ending", "in", "LAST", "sets", "the", "static", "chain", "." ]
[ "rs6000", "0" ]
rs6000
chain_already_loaded
rs6000
CPU
GCC
26,483
84
1
[]
[ "<s>", "TargetPassConfig", "*", "TOYTargetMachine", "::", "createPassConfig", "(", "PassManagerBase", "&", "PM", ")", "{", "return", "new", "TOYPassConfig", "(", "*", "this", ",", "PM", ")", ";", "}", "</s>" ]
[ "Create", "a", "pass", "configuration", "object", "to", "be", "used", "by", "addPassToEmitX", "methods", "for", "generating", "a", "pipeline", "of", "CodeGen", "passes", "." ]
[ "TOY", "TOY", "TOY" ]
TOYTargetMachine1
createPassConfig
TOY
CPU
LLVM
26,484
22
1
[]
[ "<s>", "bool", "XCoreRegisterInfo", "::", "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", "." ]
[ "XCore", "XCore" ]
XCoreRegisterInfo9
hasFP
XCore
MPU
LLVM
26,485
29
1
[]
[ "<s>", "static", "reg_class_t", "mn10300_preferred_reload_class", "(", "rtx", "x", ",", "reg_class_t", "rclass", ")", "{", "if", "(", "x", "==", "stack_pointer_rtx", "&&", "rclass", "!=", "SP_REGS", ")", "return", "(", "TARGET_AM33", "?", "GENERAL_REGS", ":", ...
[ "Implement", "TARGET_PREFERRED_RELOAD_CLASS", "." ]
[ "mn10300" ]
mn10300
mn10300_preferred_reload_class
mn10300
MPU
GCC
26,486
93
1
[]
[ "<s>", "static", "int", "rs6000_use_sched_lookahead_guard", "(", "rtx_insn", "*", "insn", ",", "int", "ready_index", ")", "{", "if", "(", "ready_index", "==", "0", ")", "return", "0", ";", "if", "(", "rs6000_cpu_attr", "!=", "CPU_CELL", ")", "return", "0", ...
[ "We", "are", "choosing", "insn", "from", "the", "ready", "queue", ".", "Return", "zero", "if", "INSN", "can", "be", "chosen", "." ]
[ "rs6000", "0", "0", "0", "1", "0" ]
rs60004
rs6000_use_sched_lookahead_guard
rs6000
CPU
GCC
26,487
64
1
[]
[ "<s>", "bool", "AMDGPUAsmParser", "::", "MatchAndEmitInstruction", "(", "SMLoc", "IDLoc", ",", "unsigned", "&", "Opcode", ",", "OperandVector", "&", "Operands", ",", "MCStreamer", "&", "Out", ",", "uint64_t", "&", "ErrorInfo", ",", "bool", "MatchingInlineAsm", "...
[ "MatchAndEmitInstruction", "-", "Recognize", "a", "series", "of", "operands", "of", "a", "parsed", "instruction", "as", "an", "actual", "MCInst", "and", "emit", "it", "to", "the", "specified", "MCStreamer", "." ]
[ "R600", "\"instruction use requires an option to be enabled\"", "\"unrecognized instruction mnemonic\"", "0ULL", "\"too few operands for instruction\"", "\"invalid operand for instruction\"", "\"Implement any new match types added!\"" ]
AMDGPUAsmParser43
MatchAndEmitInstruction
R600
GPU
LLVM
26,488
136
1
[]
[ "<s>", "int", "X86TTIImpl", "::", "getIntImmCost", "(", "Intrinsic", "::", "ID", "IID", ",", "unsigned", "Idx", ",", "const", "APInt", "&", "Imm", ",", "Type", "*", "Ty", ")", "{", "assert", "(", "Ty", "->", "isIntegerTy", "(", ")", ")", ";", "unsign...
[ "Calculate", "the", "cost", "of", "materializing", "a", "64-bit", "value", "." ]
[ "X86", "X86", "Intrinsic::ID", "0", "Intrinsic::sadd_with_overflow", "Intrinsic::uadd_with_overflow", "Intrinsic::ssub_with_overflow", "Intrinsic::usub_with_overflow", "Intrinsic::smul_with_overflow", "Intrinsic::umul_with_overflow", "1", "64", "32", "Intrinsic::experimental_stackmap", "...
X86TargetTransformInfo (2)
getIntImmCost
X86
CPU
LLVM
26,489
230
1
[]
[ "<s>", "void", "X86InstrInfo", "::", "setSpecialOperandAttr", "(", "MachineInstr", "&", "OldMI1", ",", "MachineInstr", "&", "OldMI2", ",", "MachineInstr", "&", "NewMI1", ",", "MachineInstr", "&", "NewMI2", ")", "const", "{", "if", "(", "OldMI1", ".", "getNumOp...
[ "This", "is", "an", "architecture-specific", "helper", "function", "of", "reassociateOps", "." ]
[ "X86", "X86", "4", "4", "4", "4", "\"Unexpected instruction type for reassociation\"", "3", "3", "3", "3", "X86::EFLAGS", "\"Must have dead EFLAGS operand in reassociable instruction\"", "X86::EFLAGS", "\"Must have dead EFLAGS operand in reassociable instruction\"", "X86::EFLAGS", "\...
X86InstrInfo (2)1
setSpecialOperandAttr
X86
CPU
LLVM
26,490
227
1
[]
[ "<s>", "static", "bool", "rs6000_attribute_takes_identifier_p", "(", "const_tree", "attr_id", ")", "{", "return", "is_attribute_p", "(", "\"altivec\"", ",", "attr_id", ")", ";", "}", "</s>" ]
[ "Returns", "TRUE", "iff", "the", "target", "attribute", "indicated", "by", "ATTR_ID", "takes", "a", "plain", "identifier", "as", "an", "argument", ",", "so", "the", "front", "end", "should", "n't", "look", "it", "up", "." ]
[ "rs6000", "\"altivec\"" ]
rs6000
rs6000_attribute_takes_identifier_p
rs6000
CPU
GCC
26,491
17
1
[]
[ "<s>", "unsigned", "ARMFastISel", "::", "fastEmitInst_rr", "(", "unsigned", "MachineInstOpcode", ",", "const", "TargetRegisterClass", "*", "RC", ",", "unsigned", "Op0", ",", "bool", "Op0IsKill", ",", "unsigned", "Op1", ",", "bool", "Op1IsKill", ")", "{", "unsign...
[ "Emit", "a", "MachineInstr", "with", "two", "register", "operands", "and", "a", "result", "register", "in", "the", "given", "register", "class", "." ]
[ "ARM", "ARM", "1", "2", "1", "0" ]
ARMFastISel (2)2
fastEmitInst_rr
ARM
CPU
LLVM
26,492
209
1
[]
[ "<s>", "void", "AArch64FrameLowering", "::", "emitZeroCallUsedRegs", "(", "BitVector", "RegsToZero", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "getFirstTerminator", "(", ")", ";", "Debu...
[ "emitZeroCallUsedRegs", "-", "Zeros", "out", "call", "used", "registers", "." ]
[ "AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64::FPR128RegClass", "AArch64::FPR64RegClass", "AArch64::FPR32RegClass", "AArch64::FPR16RegClass", "AArch64::FPR8RegClass", "AArch64", "AArch64::MOVi64imm", "0", "AArch64::DUP_ZI_D", "0", "0", "AArch64::MOVIv2d_ns", "0", ...
AArch64FrameLowering47
emitZeroCallUsedRegs
AArch64
CPU
LLVM
26,493
453
1
[]
[ "<s>", "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "override", "{", "const", "X86TargetMachine", "*", "TM", "=", "static_cast", "<", "const", "X86TargetMachine", "*", ">", "(", "&", "MF", ".", "getTarget", "(", ")", ")", ";", "i...
[ "runOnMachineFunction", "-", "Emit", "the", "function", "body", "." ]
[ "X86", "X86", "X86", "X86", "X86", "X86", "X86", "X86", "0", "X86", "X86", "X86::GR32RegClass", "X86::MOVPC32r", "0", "X86", "X86::ADD32ri", "\"_GLOBAL_OFFSET_TABLE_\"", "X86II::MO_GOT_ABSOLUTE_ADDRESS" ]
X86InstrInfo110
runOnMachineFunction
X86
CPU
LLVM
26,494
264
1
[]
[ "<s>", "static", "int", "str_prefix_p", "(", "const", "char", "*", "str", ",", "const", "char", "*", "prefix", ")", "{", "return", "strncmp", "(", "str", ",", "prefix", ",", "strlen", "(", "prefix", ")", ")", "==", "0", ";", "}", "</s>" ]
[ "Return", "true", "iff", "STR", "starts", "with", "PREFIX", "." ]
[ "avr", "0" ]
gen-avr-mmcu-texi
str_prefix_p
avr
MPU
GCC
26,495
31
1
[]
[ "<s>", "void", "assignValueToReg", "(", "Register", "ValVReg", ",", "Register", "PhysReg", ",", "CCValAssign", "VA", ")", "override", "{", "markPhysRegUsed", "(", "PhysReg", ")", ";", "IncomingValueHandler", "::", "assignValueToReg", "(", "ValVReg", ",", "PhysReg"...
[ "The", "specified", "value", "has", "been", "assigned", "to", "a", "physical", "register", ",", "handle", "the", "appropriate", "COPY", "(", "either", "to", "or", "from", ")", "and", "mark", "any", "relevant", "uses/defines", "as", "needed", "." ]
[ "X86" ]
X86CallLowering9
assignValueToReg
X86
CPU
LLVM
26,496
31
1
[]
[ "<s>", "ArrayRef", "<", "std", "::", "pair", "<", "unsigned", ",", "const", "char", "*", ">>", "PPCInstrInfo", "::", "getSerializableBitmaskMachineOperandTargetFlags", "(", ")", "const", "{", "using", "namespace", "PPCII", ";", "static", "const", "std", "::", ...
[ "Return", "an", "array", "that", "contains", "the", "bitmask", "target", "flag", "values", "and", "their", "names", "." ]
[ "PowerPC", "PPC", "PPC", "\"ppc-plt\"", "\"ppc-pic\"", "\"ppc-pcrel\"", "\"ppc-got\"", "\"ppc-opt-pcrel\"", "\"ppc-tlsgd\"", "\"ppc-tprel\"", "\"ppc-got-tlsgd-pcrel\"", "\"ppc-got-tprel-pcrel\"" ]
PPCInstrInfo71
getSerializableBitmaskMachineOperandTargetFlags
PowerPC
CPU
LLVM
26,497
102
1
[]
[ "<s>", "static", "rtx", "sparc_got", "(", "void", ")", "{", "if", "(", "!", "sparc_got_symbol", ")", "sparc_got_symbol", "=", "gen_rtx_SYMBOL_REF", "(", "Pmode", ",", "\"_GLOBAL_OFFSET_TABLE_\"", ")", ";", "return", "sparc_got_symbol", ";", "}", "</s>" ]
[ "Return", "the", "SYMBOL_REF", "for", "the", "Global", "Offset", "Table", "." ]
[ "sparc", "\"_GLOBAL_OFFSET_TABLE_\"" ]
sparc4
sparc_got
sparc
CPU
GCC
26,498
25
1
[]
[ "<s>", "bool", "runOnModule", "(", "Module", "&", "M", ")", "override", "{", "FeatureBitset", "Features", "=", "coalesceFeatures", "(", "M", ")", ";", "std", "::", "string", "FeatureStr", "=", "getFeatureString", "(", "Features", ")", ";", "for", "(", "aut...
[ "runOnModule", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "process", "the", "module", "being", "operated", "on", "." ]
[ "WebAssembly", "WebAssembly::FeatureAtomics", "WebAssembly::FeatureBulkMemory" ]
WebAssemblyTargetMachine16
runOnModule
WebAssembly
Virtual ISA
LLVM
26,499
126
1
[]