ground_truth
listlengths
8
512
natrual_language
listlengths
1
243
TS_V_token
listlengths
1
182
File
stringlengths
2
45
Func
stringlengths
1
56
Target
stringclasses
175 values
Target_Clf
stringclasses
6 values
Compiler_Type
stringclasses
2 values
Idx
int64
0
36.2k
Length
int64
6
510
Cover_Rate
float64
1
1
Template_token
listlengths
0
0
[ "<s>", "void", "RISCVInstrInfo", "::", "storeRegToStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "unsigned", "SrcReg", ",", "bool", "IsKill", ",", "int", "FI", ",", "const", "TargetRegisterClass", "*", "RC...
[ "Store", "the", "specified", "register", "of", "the", "given", "register", "class", "to", "the", "specified", "stack", "frame", "index", "." ]
[ "RISCV", "RISCV", "RISCV::GPRRegClass", "RISCV::SW", "0", "\"Can't store this register to stack slot\"" ]
RISCVInstrInfo17
storeRegToStackSlot
RISCV
CPU
LLVM
16,400
110
1
[]
[ "<s>", "void", "TriCoreFrameLowering", "::", "emitPrologue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "const", "TargetInstrInfo", "&", "TII", "=", "*", "MF", ".", "getSubtarget", "(", ")", ".", "getInstrInfo",...
[ "emitProlog/emitEpilog", "-", "These", "methods", "insert", "prolog", "and", "epilog", "code", "into", "the", "function", "." ]
[ "TriCore", "TriCore", "TriCore::MOVAAsrr", "TriCore::A14", "TriCore::A10", "TriCore::A14", "TriCore::A10", "TriCore::SUBArr", "TriCore::SUBAsc" ]
TriCoreFrameLowering (2)
emitPrologue
TriCore
MPU
LLVM
16,401
259
1
[]
[ "<s>", "static", "unsigned", "riscv_pass_mode_in_fpr_p", "(", "machine_mode", "mode", ")", "{", "if", "(", "GET_MODE_UNIT_SIZE", "(", "mode", ")", "<=", "UNITS_PER_FP_ARG", ")", "{", "if", "(", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_FLOAT", ")", "retu...
[ "If", "MODE", "represents", "an", "argument", "that", "can", "be", "passed", "or", "returned", "in", "floating-point", "registers", ",", "return", "the", "number", "of", "registers", ",", "else", "0", "." ]
[ "riscv", "1", "2", "0" ]
riscv
riscv_pass_mode_in_fpr_p
riscv
CPU
GCC
16,402
47
1
[]
[ "<s>", "static", "void", "sparc_dwarf_handle_frame_unspec", "(", "const", "char", "*", "label", ",", "rtx", "pattern", "ATTRIBUTE_UNUSED", ",", "int", "index", "ATTRIBUTE_UNUSED", ")", "{", "gcc_assert", "(", "index", "==", "UNSPECV_SAVEW", ")", ";", "dwarf2out_wi...
[ "Handle", "the", "TARGET_DWARF_HANDLE_FRAME_UNSPEC", "hook", ".", "This", "is", "called", "from", "dwarf2out.c", "to", "emit", "call", "frame", "instructions", "for", "frame-related", "insns", "containing", "UNSPECs", "and", "UNSPEC_VOLATILEs", "." ]
[ "sparc" ]
sparc3
sparc_dwarf_handle_frame_unspec
sparc
CPU
GCC
16,403
31
1
[]
[ "<s>", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"TVM peephole optimizer\"", ";", "}", "</s>" ]
[ "getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "." ]
[ "TVM", "\"TVM peephole optimizer\"" ]
TVMPeephole
getPassName
TVM
Virtual ISA
LLVM
16,404
11
1
[]
[ "<s>", "void", "SIScheduleBlockScheduler", "::", "addLiveRegs", "(", "std", "::", "set", "<", "unsigned", ">", "&", "Regs", ")", "{", "for", "(", "unsigned", "Reg", ":", "Regs", ")", "{", "if", "(", "!", "TargetRegisterInfo", "::", "isVirtualRegister", "("...
[ "Force", "liveness", "of", "virtual", "registers", "or", "physical", "register", "units", "." ]
[ "AMDGPU", "SI" ]
SIMachineScheduler
addLiveRegs
AMDGPU
GPU
LLVM
16,405
47
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", "." ]
[ "Cpu0", "0", "0" ]
Cpu0AsmParser
addExpr
Cpu0
CPU
LLVM
16,406
78
1
[]
[ "<s>", "const", "MCPhysReg", "*", "J2RegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "return", "CSR_SaveList", ";", "}", "</s>" ]
[ "Code", "Generation", "virtual", "methods", "..." ]
[ "J2", "J2" ]
J2RegisterInfo
getCalleeSavedRegs
J2
MPU
LLVM
16,407
18
1
[]
[ "<s>", "void", "X86FuchsiaTargetObjectFile", "::", "Initialize", "(", "MCContext", "&", "Ctx", ",", "const", "TargetMachine", "&", "TM", ")", "{", "TargetLoweringObjectFileELF", "::", "Initialize", "(", "Ctx", ",", "TM", ")", ";", "InitializeELF", "(", "TM", "...
[ "This", "method", "must", "be", "called", "before", "any", "actual", "lowering", "is", "done", "." ]
[ "X86", "X86" ]
X86TargetObjectFile17
Initialize
X86
CPU
LLVM
16,408
34
1
[]
[ "<s>", "SDValue", "SITargetLowering", "::", "LowerOperation", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "return", "AMDGPUTargetLowering", "::", "LowerO...
[ "LowerOperation", "-", "Provide", "custom", "lowering", "hooks", "for", "some", "operations", "." ]
[ "R600", "SI", "ISD::BRCOND", "ISD::LOAD", "ISD::SELECT_CC", "ISD::INTRINSIC_WO_CHAIN", "0", "AMDGPUIntrinsic::SI_vs_load_buffer_index" ]
SIISelLowering34
LowerOperation
R600
GPU
LLVM
16,409
159
1
[]
[ "<s>", "void", "h8300_swap_into_er6", "(", "rtx", "addr", ")", "{", "push", "(", "HARD_FRAME_POINTER_REGNUM", ")", ";", "emit_move_insn", "(", "hard_frame_pointer_rtx", ",", "addr", ")", ";", "if", "(", "REGNO", "(", "addr", ")", "==", "SP_REG", ")", "emit_m...
[ "Move", "ADDR", "into", "er6", "after", "pushing", "its", "old", "value", "onto", "the", "stack", "." ]
[ "h8300" ]
h83003
h8300_swap_into_er6
h8300
MPU
GCC
16,410
44
1
[]
[ "<s>", "bool", "X86ATTAsmParser", "::", "ParseInstruction", "(", "const", "StringRef", "&", "Name", ",", "SMLoc", "NameLoc", ",", "SmallVectorImpl", "<", "MCParsedAsmOperand", "*", ">", "&", "Operands", ")", "{", "StringRef", "PatchedName", "=", "StringSwitch", ...
[ "ParseInstruction", "-", "Parse", "one", "assembly", "instruction", "." ]
[ "X86", "X86", "\"sal\"", "\"shl\"", "\"salb\"", "\"shlb\"", "\"sall\"", "\"shll\"", "\"salq\"", "\"shlq\"", "\"salw\"", "\"shlw\"", "\"repe\"", "\"rep\"", "\"repz\"", "\"rep\"", "\"repnz\"", "\"repne\"", "X86Operand::CreateToken", "X86Operand::CreateToken", "\"*\"", "X86", ...
X86AsmParser68
ParseInstruction
X86
CPU
LLVM
16,411
238
1
[]
[ "<s>", "bool", "FPGATTIImpl", "::", "isTruncateFree", "(", "Type", "*", "Ty1", ",", "Type", "*", "Ty2", ")", "{", "if", "(", "!", "Ty1", "->", "isIntegerTy", "(", ")", "||", "!", "Ty2", "->", "isIntegerTy", "(", ")", ")", "return", "false", ";", "u...
[ "Return", "true", "if", "it", "'s", "free", "to", "truncate", "a", "value", "of", "type", "Ty1", "to", "type", "Ty2", "." ]
[ "FPGA", "FPGA" ]
FPGATargetTransformInfo
isTruncateFree
FPGA
CPU
LLVM
16,412
57
1
[]
[ "<s>", "bool", "SystemZAsmPrinter", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "SetupMachineFunction", "(", "MF", ")", ";", "O", "<<", "\"\\n\\n\"", ";", "EmitConstantPool", "(", "MF", ".", "getConstantPool", "(", ")", ")", ";",...
[ "runOnMachineFunction", "-", "Emit", "the", "function", "body", "." ]
[ "SystemZ", "SystemZ", "\"\\n\\n\"", "\"\\t.size\\t\"", "\", .-\"" ]
SystemZAsmPrinter30
runOnMachineFunction
SystemZ
CPU
LLVM
16,413
170
1
[]
[ "<s>", "StringRef", "AArch64MCExpr", "::", "getVariantKindName", "(", ")", "const", "{", "switch", "(", "static_cast", "<", "uint32_t", ">", "(", "getKind", "(", ")", ")", ")", "{", "case", "VK_CALL", ":", "return", "\"\"", ";", "case", "VK_LO12", ":", "...
[ "Convert", "the", "variant", "kind", "into", "an", "ELF-appropriate", "modifier", "(", "e.g", "." ]
[ "AArch64", "AArch64", "\"\"", "\":lo12:\"", "\":abs_g3:\"", "\":abs_g2:\"", "\":abs_g2_s:\"", "\":abs_g2_nc:\"", "\":abs_g1:\"", "\":abs_g1_s:\"", "\":abs_g1_nc:\"", "\":abs_g0:\"", "\":abs_g0_s:\"", "\":abs_g0_nc:\"", "\":dtprel_g2:\"", "\":dtprel_g1:\"", "\":dtprel_g1_nc:\"", "\"...
AArch64MCExpr12
getVariantKindName
AArch64
CPU
LLVM
16,414
276
1
[]
[ "<s>", "bool", "ARMAsmPrinter", "::", "lowerOperand", "(", "const", "MachineOperand", "&", "MO", ",", "MCOperand", "&", "MCOp", ")", "{", "switch", "(", "MO", ".", "getType", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"unknown operand typ...
[ "Wrapper", "for", "MCInstLowering.lowerOperand", "(", ")", "for", "the", "tblgen'erated", "pseudo", "lowering", "." ]
[ "ARM", "ARM", "\"unknown operand type\"", "ARM::CPSR", "\"Subregs should be eliminated!\"" ]
ARMMCInstLower37
lowerOperand
ARM
CPU
LLVM
16,415
317
1
[]
[ "<s>", "BitVector", "SIRegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "Reserved", ".", "set", "(", "AMDGPU", "::", "EXEC", ")", ";", "Re...
[ "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", "...
[ "R600", "SI", "4" ]
SIRegisterInfo100
getReservedRegs
R600
GPU
LLVM
16,416
195
1
[]
[ "<s>", "void", "SIRegisterInfo", "::", "materializeFrameBaseRegister", "(", "MachineBasicBlock", "*", "MBB", ",", "unsigned", "BaseReg", ",", "int", "FrameIdx", ",", "int64_t", "Offset", ")", "const", "{", "MachineBasicBlock", "::", "iterator", "Ins", "=", "MBB", ...
[ "Insert", "defining", "instruction", "(", "s", ")", "for", "a", "pointer", "to", "FrameIdx", "before", "insertion", "point", "I", "." ]
[ "AMDGPU", "SI", "AMDGPU", "AMDGPU", "27", "\"Private offset should never exceed maximum private size\"", "0", "AMDGPU::V_MOV_B32_e32", "AMDGPU::SReg_64RegClass", "AMDGPU::V_ADD_I32_e64" ]
SIRegisterInfo69
materializeFrameBaseRegister
AMDGPU
GPU
LLVM
16,417
204
1
[]
[ "<s>", "bool", "IA64RegisterInfo", "::", "hasFP", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "return", "NoFramePointerElim", "||", "MFI", "->", "hasVa...
[ "hasFP", "-", "Return", "true", "if", "the", "specified", "function", "should", "have", "a", "dedicated", "frame", "pointer", "register", "." ]
[ "IA64", "IA64" ]
IA64RegisterInfo
hasFP
IA64
CPU
LLVM
16,418
33
1
[]
[ "<s>", "unsigned", "X86TTI", "::", "getNumberOfRegisters", "(", "bool", "Vector", ")", "const", "{", "if", "(", "Vector", "&&", "!", "ST", "->", "hasSSE1", "(", ")", ")", "return", "0", ";", "if", "(", "ST", "->", "is64Bit", "(", ")", ")", "return", ...
[ "�", "?", "Vector", "TTI", "begin", "�", "?" ]
[ "X86", "X86", "0", "16", "8" ]
X86TargetTransformInfo113
getNumberOfRegisters
X86
CPU
LLVM
16,419
39
1
[]
[ "<s>", "const_iterator", "end", "(", ")", "const", "{", "return", "Blocks", ".", "end", "(", ")", ";", "}", "</s>" ]
[ "Get", "a", "const_iterator", "to", "the", "end", "of", "the", "symbol", "table", "." ]
[ "Hexagon" ]
HexagonVectorCombine
end
Hexagon
DSP
LLVM
16,420
14
1
[]
[ "<s>", "bool", "X86TargetMachine", "::", "addPreRegAlloc", "(", "PassManagerBase", "&", "PM", ",", "bool", "Fast", ")", "{", "PM", ".", "add", "(", "createX86MaxStackAlignmentCalculatorPass", "(", ")", ")", ";", "return", "false", ";", "}", "</s>" ]
[ "This", "method", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "register", "allocation", "." ]
[ "X86", "X86", "X86" ]
X86TargetMachine92
addPreRegAlloc
X86
CPU
LLVM
16,421
26
1
[]
[ "<s>", "SDValue", "PPCTargetLowering", "::", "BuildSDIVPow2", "(", "SDNode", "*", "N", ",", "const", "APInt", "&", "Divisor", ",", "SelectionDAG", "&", "DAG", ",", "SmallVectorImpl", "<", "SDNode", "*", ">", "&", "Created", ")", "const", "{", "EVT", "VT", ...
[ "Targets", "may", "override", "this", "function", "to", "provide", "custom", "SDIV", "lowering", "for", "power-of-2", "denominators", "." ]
[ "PowerPC", "PPC", "0", "MVT::i64", "PPC", "MVT::i32", "MVT::i64", "0", "PPCISD::SRA_ADDZE", "ISD::SUB", "0" ]
PPCISelLowering (2)7
BuildSDIVPow2
PowerPC
CPU
LLVM
16,422
235
1
[]
[ "<s>", "static", "void", "ia64_sched_finish", "(", "FILE", "*", "dump", ",", "int", "sched_verbose", ")", "{", "if", "(", "sched_verbose", ")", "fprintf", "(", "dump", ",", "\"// Finishing schedule.\\n\"", ")", ";", "if", "(", "!", "reload_completed", ")", "...
[ "Free", "data", "allocated", "by", "ia64_sched_init", "." ]
[ "ia64", "\"// Finishing schedule.\\n\"", "\"// finishing %d-%d\\n\"" ]
ia64
ia64_sched_finish
ia64
CPU
GCC
16,423
92
1
[]
[ "<s>", "const", "ArrayRef", "<", "MCPhysReg", ">", "MipsABIInfo", "::", "GetVarArgRegs", "(", ")", "const", "{", "if", "(", "IsO32", "(", ")", ")", "return", "makeArrayRef", "(", "O32IntRegs", ")", ";", "if", "(", "IsN32", "(", ")", "||", "IsN64", "(",...
[ "The", "registers", "to", "use", "for", "the", "variable", "argument", "list", "." ]
[ "Mips", "Mips", "Mips", "\"Unhandled ABI\"" ]
MipsABIInfo15
GetVarArgRegs
Mips
CPU
LLVM
16,424
46
1
[]
[ "<s>", "int", "expand_block_clear", "(", "rtx", "operands", "[", "]", ")", "{", "rtx", "orig_dest", "=", "operands", "[", "0", "]", ";", "rtx", "bytes_rtx", "=", "operands", "[", "1", "]", ";", "rtx", "align_rtx", "=", "operands", "[", "3", "]", ";",...
[ "Expand", "a", "block", "clear", "operation", ",", "and", "return", "1", "if", "successful", ".", "Return", "0", "if", "we", "should", "let", "the", "compiler", "generate", "normal", "code", ".", "operands", "[", "0", "]", "is", "the", "destination", "op...
[ "rs6000", "0", "1", "3", "0", "0", "1", "128", "16", "64", "8", "4", "3", "0", "8", "0", "0", "0", "16", "128", "16", "8", "64", "8", "0", "64", "0", "1", "1", "3", "0", "4", "32", "4", "2", "16", "2", "1", "1" ]
rs6000-string2
expand_block_clear
rs6000
CPU
GCC
16,425
427
1
[]
[ "<s>", "unsigned", "AlphaInstrInfo", "::", "getGlobalBaseReg", "(", "MachineFunction", "*", "MF", ")", "const", "{", "AlphaMachineFunctionInfo", "*", "AlphaFI", "=", "MF", "->", "getInfo", "<", "AlphaMachineFunctionInfo", ">", "(", ")", ";", "unsigned", "GlobalBas...
[ "getGlobalBaseReg", "-", "Return", "a", "virtual", "register", "initialized", "with", "the", "the", "global", "base", "register", "value", "." ]
[ "Alpha", "Alpha", "Alpha", "Alpha", "Alpha", "Alpha", "0", "Alpha::GPRCRegClass", "Alpha::R29", "Alpha::GPRCRegClass", "Alpha::GPRCRegClass", "\"Couldn't assign to global base register!\"", "Alpha::R29", "Alpha" ]
AlphaInstrInfo1
getGlobalBaseReg
Alpha
MPU
LLVM
16,426
159
1
[]
[ "<s>", "static", "bool", "sparc_frame_pointer_required", "(", "void", ")", "{", "if", "(", "cfun", "->", "calls_alloca", ")", "return", "true", ";", "if", "(", "cfun", "->", "has_nonlocal_label", ")", "return", "true", ";", "if", "(", "TARGET_FLAT", ")", "...
[ "Implement", "TARGET_FRAME_POINTER_REQUIRED", "." ]
[ "sparc", "0" ]
sparc
sparc_frame_pointer_required
sparc
CPU
GCC
16,427
49
1
[]
[ "<s>", "static", "void", "build_sv_uint_offset", "(", "function_builder", "&", "b", ",", "const", "char", "*", "signature", ",", "const", "function_group_info", "&", "group", ")", "{", "build_32_64", "(", "b", ",", "signature", ",", "group", ",", "MODE_none", ...
[ "Like", "build_sv_offset", ",", "but", "exclude", "offsets", "that", "must", "be", "interpreted", "as", "signed", "(", "i.e", ".", "s32offset", ")", "." ]
[ "aarch64" ]
aarch64-sve-builtins-shapes
build_sv_uint_offset
aarch64
CPU
GCC
16,428
46
1
[]
[ "<s>", "static", "rtx", "expand_set_or_cpymem_prologue", "(", "rtx", "destmem", ",", "rtx", "srcmem", ",", "rtx", "destptr", ",", "rtx", "srcptr", ",", "rtx", "value", ",", "rtx", "vec_value", ",", "rtx", "count", ",", "int", "align", ",", "int", "desired_...
[ "Depending", "on", "ISSETMEM", ",", "copy", "enough", "from", "SRCMEM", "to", "DESTMEM", "or", "set", "enough", "to", "DESTMEM", "to", "align", "it", "to", "DESIRED_ALIGNMENT", ".", "Original", "alignment", "is", "ALIGN", ".", "Depending", "on", "ISSETMEM", ...
[ "i386", "1", "1", "1", "2" ]
i386-expand
expand_set_or_cpymem_prologue
i386
CPU
GCC
16,429
173
1
[]
[ "<s>", "void", "MOSPassConfig", "::", "addMachineSSAOptimization", "(", ")", "{", "TargetPassConfig", "::", "addMachineSSAOptimization", "(", ")", ";", "addPass", "(", "createMOSInsertCopiesPass", "(", ")", ")", ";", "}", "</s>" ]
[ "Methods", "with", "trivial", "inline", "returns", "are", "convenient", "points", "in", "the", "common", "codegen", "pass", "pipeline", "where", "targets", "may", "insert", "passes", "." ]
[ "MOS", "MOS", "MOS" ]
MOSTargetMachine
addMachineSSAOptimization
MOS
MPU
LLVM
16,430
21
1
[]
[ "<s>", "virtual", "uint32_t", "generateCompactUnwindEncoding", "(", "ArrayRef", "<", "MCCFIInstruction", ">", "Instrs", ")", "const", "{", "return", "SupportsCU", "?", "generateCompactUnwindEncodingImpl", "(", "Instrs", ")", ":", "0", ";", "}", "</s>" ]
[ "Generate", "compact", "unwind", "encoding", "for", "the", "function", "based", "on", "the", "CFI", "instructions", "." ]
[ "X86", "0" ]
X86AsmBackend27
generateCompactUnwindEncoding
X86
CPU
LLVM
16,431
23
1
[]
[ "<s>", "static", "machine_mode", "hfa_element_mode", "(", "const_tree", "type", ",", "bool", "nested", ")", "{", "machine_mode", "element_mode", "=", "VOIDmode", ";", "machine_mode", "mode", ";", "enum", "tree_code", "code", "=", "TREE_CODE", "(", "type", ")", ...
[ "Check", "whether", "TYPE", "is", "a", "homogeneous", "floating", "point", "aggregate", ".", "If", "it", "is", ",", "return", "the", "mode", "of", "the", "floating", "point", "type", "that", "appears", "in", "all", "leafs", ".", "If", "it", "is", "not", ...
[ "ia64", "0", "1", "1", "1" ]
ia64
hfa_element_mode
ia64
CPU
GCC
16,432
280
1
[]
[ "<s>", "static", "rtx", "ix86_expand_sse_cmp", "(", "rtx", "dest", ",", "enum", "rtx_code", "code", ",", "rtx", "cmp_op0", ",", "rtx", "cmp_op1", ",", "rtx", "op_true", ",", "rtx", "op_false", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "dest",...
[ "Expand", "an", "sse", "vector", "comparison", ".", "Return", "the", "register", "with", "the", "result", "." ]
[ "i386", "64", "0" ]
i3867
ix86_expand_sse_cmp
i386
CPU
GCC
16,433
355
1
[]
[ "<s>", "unsigned", "ARMBaseInstrInfo", "::", "getInstrLatency", "(", "const", "InstrItineraryData", "*", "ItinData", ",", "const", "MachineInstr", "*", "MI", ",", "unsigned", "*", "PredCost", ")", "const", "{", "if", "(", "MI", "->", "isCopyLike", "(", ")", ...
[ "Compute", "the", "instruction", "latency", "of", "a", "given", "instruction", "." ]
[ "ARM", "ARM", "1", "0", "ARM::t2IT", "ARM::CPSR", "1", "3", "1", "0", "0", "0" ]
ARMBaseInstrInfo (2)3
getInstrLatency
ARM
CPU
LLVM
16,434
298
1
[]
[ "<s>", "const", "char", "*", "getPassName", "(", ")", "const", "override", "{", "return", "\"SystemZ Comparison Elimination\"", ";", "}", "</s>" ]
[ "getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "." ]
[ "SystemZ", "\"SystemZ Comparison Elimination\"" ]
SystemZElimCompare (2)
getPassName
SystemZ
CPU
LLVM
16,435
13
1
[]
[ "<s>", "unsigned", "SISubtarget", "::", "getOccupancyWithNumSGPRs", "(", "unsigned", "SGPRs", ")", "const", "{", "if", "(", "getGeneration", "(", ")", ">=", "SISubtarget", "::", "VOLCANIC_ISLANDS", ")", "{", "if", "(", "SGPRs", "<=", "80", ")", "return", "10...
[ "Return", "the", "maximum", "number", "of", "waves", "per", "SIMD", "for", "kernels", "using", "SGPRs", "SGPRs", "." ]
[ "AMDGPU", "SI", "SI", "80", "10", "88", "9", "100", "8", "7", "48", "10", "56", "9", "64", "8", "72", "7", "80", "6", "5" ]
AMDGPUSubtarget10
getOccupancyWithNumSGPRs
AMDGPU
GPU
LLVM
16,436
101
1
[]
[ "<s>", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", "\"Mandarin Assembly Printer\"", ";", "}", "</s>" ]
[ "getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "." ]
[ "Mandarin", "\"Mandarin Assembly Printer\"" ]
MandarinAsmPrinter
getPassName
Mandarin
CPU
LLVM
16,437
13
1
[]
[ "<s>", "bool", "M68kFrameLowering", "::", "assignCalleeSavedSpillSlots", "(", "MachineFunction", "&", "MF", ",", "const", "TargetRegisterInfo", "*", "TRI", ",", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", ")", "const", "{", "MachineFrameInfo", ...
[ "This", "function", "will", "assign", "callee", "saved", "gprs", "to", "volatile", "vector", "registers", "for", "prologue", "spills", "when", "applicable", "." ]
[ "M68k", "M68k", "M68k", "M68k", "M68k", "M68k", "0" ]
M68kFrameLowering
assignCalleeSavedSpillSlots
M68k
MPU
LLVM
16,438
156
1
[]
[ "<s>", "rtx", "legitimize_pic_address", "(", "rtx", "orig", ",", "rtx", "reg", ",", "rtx", "picreg", ")", "{", "rtx", "addr", "=", "orig", ";", "rtx", "new", "=", "orig", ";", "if", "(", "GET_CODE", "(", "addr", ")", "==", "SYMBOL_REF", "||", "GET_CO...
[ "Legitimize", "PIC", "addresses", ".", "If", "the", "address", "is", "already", "position-independent", ",", "we", "return", "ORIG", ".", "Newly", "generated", "position-independent", "addresses", "go", "into", "a", "reg", ".", "This", "is", "REG", "if", "nonz...
[ "bfin", "0", "2", "1", "1", "0", "0", "0", "0", "1", "1", "0", "1" ]
bfin2
legitimize_pic_address
bfin
DSP
GCC
16,439
406
1
[]
[ "<s>", "void", "SIScheduleBlock", "::", "releaseSucc", "(", "SUnit", "*", "SU", ",", "SDep", "*", "SuccEdge", ")", "{", "SUnit", "*", "SuccSU", "=", "SuccEdge", "->", "getSUnit", "(", ")", ";", "if", "(", "SuccEdge", "->", "isWeak", "(", ")", ")", "{...
[ "ReleaseSucc", "-", "Decrement", "the", "NumPredsLeft", "count", "of", "a", "successor", "." ]
[ "AMDGPU", "SI", "0", "\"*** Scheduling failed! ***\\n\"", "\" has been released too many times!\\n\"" ]
SIMachineScheduler (2)
releaseSucc
AMDGPU
GPU
LLVM
16,440
82
1
[]
[ "<s>", "void", "SIInstrInfo", "::", "loadRegFromStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "Register", "DestReg", ",", "int", "FrameIndex", ",", "const", "TargetRegisterClass", "*", "RC", ",", "const", ...
[ "Load", "the", "specified", "register", "of", "the", "given", "register", "class", "from", "the", "specified", "stack", "frame", "index", "." ]
[ "AMDGPU", "SI", "SI", "SI", "AMDGPU::M0", "\"m0 should not be reloaded into\"", "4", "AMDGPU::SReg_32_XM0RegClass", "AMDGPU::VGPR_32RegClass", "0" ]
SIInstrInfo72
loadRegFromStackSlot
AMDGPU
GPU
LLVM
16,441
408
1
[]
[ "<s>", "static", "int", "getMinValue", "(", "uint64_t", "TSFlags", ")", "{", "unsigned", "isSigned", "=", "(", "TSFlags", ">>", "HexagonII", "::", "ExtentSignedPos", ")", "&", "HexagonII", "::", "ExtentSignedMask", ";", "unsigned", "bits", "=", "(", "TSFlags",...
[ "Return", "the", "minimal", "unsigned", "value", "possible", "given", "these", "KnownBits", "." ]
[ "Hexagon", "HexagonII::ExtentSignedPos", "HexagonII::ExtentSignedMask", "HexagonII::ExtentBitsPos", "HexagonII::ExtentBitsMask", "1U", "1", "0" ]
HexagonInstPrinter11
getMinValue
Hexagon
DSP
LLVM
16,442
56
1
[]
[ "<s>", "unsigned", "PatmosRegisterInfo", "::", "getFrameRegister", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "TargetFrameLowering", "*", "TFI", "=", "TM", ".", "getFrameLowering", "(", ")", ";", "return", "TFI", "->", "hasFP", "("...
[ "Debug", "information", "queries", "." ]
[ "Patmos", "Patmos", "Patmos::RFP", "Patmos::RSP" ]
PatmosRegisterInfo
getFrameRegister
Patmos
VLIW
LLVM
16,443
40
1
[]
[ "<s>", "static", "bool", "r10k_safe_mem_expr_p", "(", "tree", "expr", ",", "unsigned", "HOST_WIDE_INT", "offset", ")", "{", "HOST_WIDE_INT", "bitoffset", ",", "bitsize", ";", "tree", "inner", ",", "var_offset", ";", "machine_mode", "mode", ";", "int", "unsigned_...
[ "Return", "true", "if", "a", "MEM", "with", "MEM_EXPR", "EXPR", "and", "MEM_OFFSET", "OFFSET", "is", "an", "in-range", "access", "to", "an", "automatic", "variable", ",", "or", "to", "an", "object", "with", "a", "link-time-constant", "address", "." ]
[ "mips" ]
mips6
r10k_safe_mem_expr_p
mips
CPU
GCC
16,444
97
1
[]
[ "<s>", "bool", "LEGInstrInfo", "::", "expandPostRAPseudo", "(", "MachineInstr", "&", "MI", ")", "const", "{", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "return", "false", ";", "case", "LEG", "::", "MOVi32", ":", "{", "D...
[ "This", "function", "is", "called", "for", "all", "pseudo", "instructions", "that", "remain", "after", "register", "allocation", "." ]
[ "LEG", "LEG", "LEG::MOVi32", "0", "0", "1", "LEG::MOVLOi16", "LEG::MOVHIi16", "0xffff", "16", "0xffff", "LEGII::MO_LO16", "LEGII::MO_HI16" ]
LEGInstrInfo
expandPostRAPseudo
LEG
CPU
LLVM
16,445
289
1
[]
[ "<s>", "static", "bool", "mt_legitimate_simple_address_p", "(", "enum", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ",", "rtx", "xinsn", ",", "int", "strict", ")", "{", "if", "(", "TARGET_DEBUG", ")", "{", "fprintf", "(", "stderr", ",", "\"\\n========== GO_IF_LEGI...
[ "Helper", "function", "of", "mt_legitimate_address_p", ".", "Return", "true", "if", "XINSN", "is", "a", "simple", "address", ",", "otherwise", "false", "." ]
[ "mt", "\"\\n========== GO_IF_LEGITIMATE_ADDRESS, %sstrict\\n\"", "\"\"", "\"not \"", "0", "0", "1", "1" ]
mt
mt_legitimate_simple_address_p
mt
CPU
GCC
16,446
121
1
[]
[ "<s>", "bool", "MOSTargetLowering", "::", "isTruncateFree", "(", "Type", "*", "SrcTy", ",", "Type", "*", "DstTy", ")", "const", "{", "if", "(", "!", "SrcTy", "->", "isIntegerTy", "(", ")", "||", "!", "DstTy", "->", "isIntegerTy", "(", ")", ")", "return...
[ "Return", "true", "if", "it", "'s", "free", "to", "truncate", "a", "value", "of", "type", "Ty1", "to", "type", "Ty2", "." ]
[ "MOS", "MOS" ]
MOSISelLowering
isTruncateFree
MOS
MPU
LLVM
16,447
48
1
[]
[ "<s>", "static", "void", "emit_save_or_restore_local_in_regs", "(", "rtx", "base", ",", "int", "offset", ",", "sorr_act_t", "action", ")", "{", "if", "(", "offset", "<", "-", "4096", "||", "offset", "+", "16", "*", "UNITS_PER_WORD", ">", "4095", ")", "{", ...
[ "Emit", "code", "to", "save/restore", "call-saved", "local", "and", "in", "registers", "." ]
[ "sparc", "4096", "16", "4095", "0", "16", "32" ]
sparc
emit_save_or_restore_local_in_regs
sparc
CPU
GCC
16,448
64
1
[]
[ "<s>", "SDNode", "*", "SparcDAGToDAGISel", "::", "Select", "(", "SDNode", "*", "N", ")", "{", "SDLoc", "dl", "(", "N", ")", ";", "if", "(", "N", "->", "isMachineOpcode", "(", ")", ")", "{", "N", "->", "setNodeId", "(", "-", "1", ")", ";", "return...
[ "Main", "hook", "for", "targets", "to", "transform", "nodes", "into", "machine", "nodes", "." ]
[ "Sparc", "Sparc", "1", "SPISD::GLOBAL_BASE_REG", "ISD::SDIV", "ISD::UDIV", "0", "MVT::i64", "0", "1", "ISD::SDIV", "SP::SRAri", "MVT::i32", "31", "MVT::i32", "0", "SP::G0", "MVT::i32", "SP::WRYrr", "MVT::Glue", "SP::G0", "MVT::i32", "0", "ISD::SDIV", "SP::SDIVrr", "...
SparcISelDAGToDAG
Select
Sparc
CPU
LLVM
16,449
365
1
[]
[ "<s>", "static", "bool", "is_store_insn1", "(", "rtx", "pat", ",", "rtx", "*", "str_mem", ")", "{", "if", "(", "!", "pat", "||", "pat", "==", "NULL_RTX", ")", "return", "false", ";", "if", "(", "GET_CODE", "(", "pat", ")", "==", "SET", ")", "return...
[ "Determine", "if", "PAT", "is", "a", "PATTERN", "of", "a", "store", "insn", "." ]
[ "powerpcspe", "0", "0", "0" ]
powerpcspe
is_store_insn1
powerpcspe
CPU
GCC
16,450
99
1
[]
[ "<s>", "bool", "AMDGPUTargetLowering", "::", "isFAbsFree", "(", "EVT", "VT", ")", "const", "{", "assert", "(", "VT", ".", "isFloatingPoint", "(", ")", ")", ";", "return", "VT", "==", "MVT", "::", "f32", "||", "VT", "==", "MVT", "::", "f64", "||", "("...
[ "Return", "true", "if", "an", "fabs", "operation", "is", "free", "to", "the", "point", "where", "it", "is", "never", "worthwhile", "to", "replace", "it", "with", "a", "bitwise", "operation", "." ]
[ "AMDGPU", "AMDGPU", "MVT::f32", "MVT::f64", "MVT::f16" ]
AMDGPUISelLowering (2)1
isFAbsFree
AMDGPU
GPU
LLVM
16,451
47
1
[]
[ "<s>", "bool", "isVolatile", "(", "const", "Instruction", "*", "Inst", ")", "{", "if", "(", "auto", "*", "LI", "=", "dyn_cast", "<", "LoadInst", ">", "(", "Inst", ")", ")", "return", "LI", "->", "isVolatile", "(", ")", ";", "else", "if", "(", "auto...
[ "Return", "true", "if", "this", "is", "a", "store", "to", "a", "volatile", "memory", "location", "." ]
[ "TPC" ]
TPCTools
isVolatile
TPC
Virtual ISA
LLVM
16,452
78
1
[]
[ "<s>", "bool", "mep_legitimate_address", "(", "machine_mode", "mode", ",", "rtx", "x", ",", "int", "strict", ")", "{", "int", "the_tag", ";", "fprintf", "(", "stderr", ",", "\"legit: mode %s strict %d \"", ",", "mode_name", "[", "mode", "]", ",", "strict", "...
[ "Be", "careful", "not", "to", "use", "macros", "that", "need", "to", "be", "compiled", "one", "way", "for", "strict", ",", "and", "another", "way", "for", "not-strict", ",", "like", "REG_OK_FOR_BASE_P", "." ]
[ "mep", "\"legit: mode %s strict %d \"", "0", "0", "1", "4", "\" - nope, %%lo(sym)[reg] not splittable\\n\"", "\" - yup, %%lo(sym)[reg]\\n\"", "\" - yup, [reg]\\n\"", "0", "0", "1", "32768", "32767", "\" - yup, [reg+const]\\n\"", "0", "0", "1", "1", "0", "1", "0", "1", "...
mep
mep_legitimate_address
mep
CPU
GCC
16,453
493
1
[]
[ "<s>", "bool", "AArch64AsmPrinter", "::", "PrintAsmOperand", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpNum", ",", "unsigned", "AsmVariant", ",", "const", "char", "*", "ExtraCode", ",", "raw_ostream", "&", "O", ")", "{", "const", "MachineOper...
[ "PrintAsmOperand", "-", "Print", "out", "an", "operand", "for", "an", "inline", "asm", "expression", "." ]
[ "AArch64", "AArch64", "0", "1", "0", "0", "0", "0", "0", "AArch64::WZR", "AArch64::XZR", "AArch64", "0", "AArch64::FPR8RegClass", "AArch64::FPR16RegClass", "AArch64::FPR32RegClass", "AArch64::FPR64RegClass", "AArch64::FPR128RegClass", "AArch64::ZPRRegClass", "AArch64::GPR32allR...
AArch64AsmPrinter47
PrintAsmOperand
AArch64
CPU
LLVM
16,454
471
1
[]
[ "<s>", "bool", "RISCVFrameLowering", "::", "canUseAsPrologue", "(", "const", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "MachineBasicBlock", "*", "TmpMBB", "=", "const_cast", "<", "MachineBasicBlock", "*", ">", "(", "&", "MBB", ")", ";", "const", "Mac...
[ "Check", "whether", "or", "not", "the", "given", "MBB", "can", "be", "used", "as", "a", "prologue", "for", "the", "target", "." ]
[ "RI5CY", "RISCV", "RISCV", "RISCV::X5" ]
RISCVFrameLowering
canUseAsPrologue
RI5CY
CPU
LLVM
16,455
88
1
[]
[ "<s>", "static", "bool", "ix86_function_value_regno_p", "(", "const", "unsigned", "int", "regno", ")", "{", "switch", "(", "regno", ")", "{", "case", "AX_REG", ":", "return", "true", ";", "case", "DX_REG", ":", "return", "(", "!", "TARGET_64BIT", "||", "ix...
[ "Return", "true", "if", "N", "is", "a", "possible", "register", "number", "of", "function", "value", "." ]
[ "i386" ]
i3865
ix86_function_value_regno_p
i386
CPU
GCC
16,456
114
1
[]
[ "<s>", "bool", "Emitter", "<", "CodeEmitter", ">", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "MCE", ".", "setModuleInfo", "(", "&", "getAnalysis", "<", "MachineModuleInfo", ">", "(", ")", ")", ";", "II", "=", "TM", ".", "...
[ "runOnMachineFunction", "-", "Emit", "the", "function", "body", "." ]
[ "X86", "X86", "\"JITTing function '\"", "\"'\\n\"", "X86::MOVPC32r", "X86::POP32r" ]
X86CodeEmitter20
runOnMachineFunction
X86
CPU
LLVM
16,457
232
1
[]
[ "<s>", "int", "arc_delay_slots_for_epilogue", "(", ")", "{", "if", "(", "arc_compute_function_type", "(", "current_function_decl", ")", "!=", "ARC_FUNCTION_NORMAL", ")", "return", "0", ";", "if", "(", "!", "current_frame_info", ".", "initialized", ")", "(", "void"...
[ "Define", "the", "number", "of", "delay", "slots", "needed", "for", "the", "function", "epilogue", ".", "Interrupt", "handlers", "ca", "n't", "have", "any", "epilogue", "delay", "slots", "(", "it", "'s", "always", "needed", "for", "something", "else", ",", ...
[ "arc", "0", "0", "1", "0" ]
arc2
arc_delay_slots_for_epilogue
arc
MPU
GCC
16,458
49
1
[]
[ "<s>", "bool", "trackLivenessAfterRegAlloc", "(", "const", "MachineFunction", "&", ")", "const", "override", "{", "return", "true", ";", "}", "</s>" ]
[ "Returns", "true", "if", "the", "live-ins", "should", "be", "tracked", "after", "register", "allocation", "." ]
[ "CAHP" ]
CAHPRegisterInfo
trackLivenessAfterRegAlloc
CAHP
CPU
LLVM
16,459
14
1
[]
[ "<s>", "unsigned", "ARMTargetLowering", "::", "getRegPressureLimit", "(", "const", "TargetRegisterClass", "*", "RC", ",", "MachineFunction", "&", "MF", ")", "const", "{", "const", "TargetFrameInfo", "*", "TFI", "=", "MF", ".", "getTarget", "(", ")", ".", "getF...
[ "Return", "the", "register", "pressure", "``", "high", "water", "mark", "''", "for", "the", "specific", "register", "class", "." ]
[ "ARM", "ARM", "0", "ARM::tGPRRegClassID", "4", "5", "ARM::GPRRegClassID", "1", "0", "10", "1", "0", "ARM::SPRRegClassID", "ARM::DPRRegClassID", "32", "10" ]
ARMISelLowering71
getRegPressureLimit
ARM
CPU
LLVM
16,460
117
1
[]
[ "<s>", "bool", "cris_base_p", "(", "const_rtx", "x", ",", "bool", "strict", ")", "{", "return", "(", "REG_P", "(", "x", ")", "&&", "reg_ok_for_base_p", "(", "x", ",", "strict", ")", ")", ";", "}", "</s>" ]
[ "True", "if", "X", "is", "a", "valid", "base", "register", "." ]
[ "cris" ]
cris
cris_base_p
cris
MPU
GCC
16,461
26
1
[]
[ "<s>", "unsigned", "bfin_local_alignment", "(", "tree", "type", ",", "unsigned", "align", ")", "{", "if", "(", "TYPE_SIZE", "(", "type", ")", "&&", "TREE_CODE", "(", "TYPE_SIZE", "(", "type", ")", ")", "==", "INTEGER_CST", "&&", "wi", "::", "gtu_p", "(",...
[ "Compute", "the", "alignment", "for", "a", "local", "variable", ".", "TYPE", "is", "the", "data", "type", ",", "and", "ALIGN", "is", "the", "alignment", "that", "the", "object", "would", "ordinarily", "have", ".", "The", "value", "of", "this", "macro", "...
[ "bfin", "8", "32", "32" ]
bfin
bfin_local_alignment
bfin
DSP
GCC
16,462
55
1
[]
[ "<s>", "TargetLoweringObjectFile", "*", "getObjFileLowering", "(", ")", "const", "override", "{", "return", "TLOF", ".", "get", "(", ")", ";", "}", "</s>" ]
[ "Return", "information", "about", "object", "file", "lowering", "." ]
[ "CAHP" ]
CAHPTargetMachine
getObjFileLowering
CAHP
CPU
LLVM
16,463
16
1
[]
[ "<s>", "bool", "MipsAsmParser", "::", "MatchAndEmitInstruction", "(", "SMLoc", "IDLoc", ",", "SmallVectorImpl", "<", "MCParsedAsmOperand", "*", ">", "&", "Operands", ",", "MCStreamer", "&", "Out", ")", "{", "MCInst", "Inst", ";", "unsigned", "Kind", ";", "unsi...
[ "MatchAndEmitInstruction", "-", "Recognize", "a", "series", "of", "operands", "of", "a", "parsed", "instruction", "as", "an", "actual", "MCInst", "and", "emit", "it", "to", "the", "specified", "MCStreamer", "." ]
[ "Mips", "Mips", "4", "\"instruction requires a CPU feature not currently enabled\"", "0U", "\"too few operands for instruction\"", "Mips", "\"invalid operand for instruction\"", "\"invalid instruction\"" ]
MipsAsmParser41
MatchAndEmitInstruction
Mips
CPU
LLVM
16,464
199
1
[]
[ "<s>", "static", "unsigned", "int", "rx_function_arg_size", "(", "machine_mode", "mode", ",", "const_tree", "type", ")", "{", "unsigned", "int", "num_bytes", ";", "num_bytes", "=", "(", "mode", "==", "BLKmode", ")", "?", "int_size_in_bytes", "(", "type", ")", ...
[ "Return", "the", "number", "of", "bytes", "in", "the", "argument", "registers", "occupied", "by", "an", "argument", "of", "type", "TYPE", "and", "mode", "MODE", "." ]
[ "rx" ]
rx
rx_function_arg_size
rx
CPU
GCC
16,465
43
1
[]
[ "<s>", "static", "hashval_t", "mips_hash_base", "(", "rtx", "base", ")", "{", "int", "do_not_record_p", ";", "return", "hash_rtx", "(", "base", ",", "GET_MODE", "(", "base", ")", ",", "&", "do_not_record_p", ",", "NULL", ",", "false", ")", ";", "}", "</s...
[ "Return", "a", "hash", "value", "for", "SYMBOL_REF", "or", "LABEL_REF", "BASE", "." ]
[ "mips" ]
mips
mips_hash_base
mips
CPU
GCC
16,466
30
1
[]
[ "<s>", "static", "void", "write_fn_proto", "(", "std", "::", "stringstream", "&", "s", ",", "bool", "is_defn", ",", "const", "char", "*", "name", ",", "const_tree", "decl", ")", "{", "const", "char", "*", "replacement", "=", "nvptx_name_replacement", "(", ...
[ "Write", "a", ".func", "or", ".kernel", "declaration", "or", "definition", "along", "with", "a", "helper", "comment", "for", "use", "by", "ld", ".", "S", "is", "the", "stream", "to", "write", "to", ",", "DECL", "the", "decl", "for", "the", "function", ...
[ "nvptx", "0" ]
nvptx
write_fn_proto
nvptx
GPU
GCC
16,467
114
1
[]
[ "<s>", "void", "RISCVAsmPrinter", "::", "emitInstruction", "(", "const", "MachineInstr", "*", "MI", ")", "{", "if", "(", "emitPseudoExpansionLowering", "(", "*", "OutStreamer", ",", "MI", ")", ")", "return", ";", "MCInst", "TmpInst", ";", "LowerRISCVMachineInstr...
[ "Targets", "should", "implement", "this", "to", "emit", "instructions", "." ]
[ "RISCV", "RISCV", "RISCV", "RISCV" ]
RISCVAsmPrinter1
emitInstruction
RISCV
CPU
LLVM
16,468
92
1
[]
[ "<s>", "static", "rtx", "aarch64_gen_load_pair", "(", "machine_mode", "mode", ",", "rtx", "reg1", ",", "rtx", "mem1", ",", "rtx", "reg2", ",", "rtx", "mem2", ")", "{", "switch", "(", "mode", ")", "{", "case", "E_DImode", ":", "return", "gen_load_pair_dw_di...
[ "Generate", "and", "regurn", "a", "load", "pair", "isntruction", "of", "mode", "MODE", "to", "load", "register", "REG1", "from", "MEM1", "and", "register", "REG2", "from", "MEM2", "." ]
[ "aarch64" ]
aarch64
aarch64_gen_load_pair
aarch64
CPU
GCC
16,469
78
1
[]
[ "<s>", "void", "WebAssemblyRegisterInfo", "::", "eliminateFrameIndex", "(", "MachineBasicBlock", "::", "iterator", "II", ",", "int", "SPAdj", ",", "unsigned", "FIOperandNum", ",", "RegScavenger", "*", "RS", ")", "const", "{", "llvm_unreachable", "(", "\"WebAssemblyR...
[ "This", "method", "must", "be", "overriden", "to", "eliminate", "abstract", "frame", "indices", "from", "instructions", "which", "may", "use", "them", "." ]
[ "WebAssembly", "WebAssembly", "\"WebAssemblyRegisterInfo::eliminateFrameIndex\"" ]
WebAssemblyRegisterInfo11
eliminateFrameIndex
WebAssembly
Virtual ISA
LLVM
16,470
28
1
[]
[ "<s>", "void", "override_options", "(", "void", ")", "{", "if", "(", "TARGET_OMIT_LEAF_FRAME_POINTER", ")", "flag_omit_frame_pointer", "=", "1", ";", "if", "(", "bfin_lib_id_given", "&&", "!", "TARGET_ID_SHARED_LIBRARY", ")", "error", "(", "\"-mshared-library-id= spec...
[ "Set", "global", "variables", "as", "needed", "for", "the", "options", "enabled", "." ]
[ "bfin", "1", "\"-mshared-library-id= specified without -mid-shared-library\"", "1", "0" ]
bfin2
override_options
bfin
DSP
GCC
16,471
39
1
[]
[ "<s>", "MipsSubtarget", "::", "MipsSubtarget", "(", "const", "Triple", "&", "TT", ",", "const", "std", "::", "string", "&", "CPU", ",", "const", "std", "::", "string", "&", "FS", ",", "bool", "little", ",", "const", "MipsTargetMachine", "&", "TM", ")", ...
[ "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", "Mips", "Mips", "\"Code generati...
MipsSubtarget (2)1
MipsSubtarget
Mips
CPU
LLVM
16,472
470
1
[]
[ "<s>", "static", "rtx", "sh_allocate_initial_value", "(", "rtx", "hard_reg", ")", "{", "if", "(", "REGNO", "(", "hard_reg", ")", "==", "PR_REG", ")", "{", "if", "(", "crtl", "->", "is_leaf", "&&", "!", "sh_pr_n_sets", "(", ")", ")", "return", "hard_reg",...
[ "Return", "where", "to", "allocate", "pseudo", "for", "a", "given", "hard", "register", "initial", "value", "." ]
[ "sh" ]
sh
sh_allocate_initial_value
sh
CPU
GCC
16,473
46
1
[]
[ "<s>", "bool", "i386_pe_valid_dllimport_attribute_p", "(", "const_tree", "decl", ")", "{", "if", "(", "TARGET_NOP_FUN_DLLIMPORT", "&&", "TREE_CODE", "(", "decl", ")", "==", "FUNCTION_DECL", ")", "return", "false", ";", "return", "true", ";", "}", "</s>" ]
[ "Handle", "the", "-mno-fun-dllimport", "target", "switch", "." ]
[ "i386" ]
winnt
i386_pe_valid_dllimport_attribute_p
i386
CPU
GCC
16,474
25
1
[]
[ "<s>", "bool", "mayNeedRelaxation", "(", "const", "MCInst", "&", "Inst", ")", "const", "override", "{", "return", "false", ";", "}", "</s>" ]
[ "Check", "whether", "the", "given", "instruction", "may", "need", "relaxation", "." ]
[ "AMDGPU" ]
AMDGPUAsmBackend (2)
mayNeedRelaxation
AMDGPU
GPU
LLVM
16,475
15
1
[]
[ "<s>", "static", "int", "rid_int128", "(", "void", ")", "{", "int", "i", ";", "for", "(", "i", "=", "0", ";", "i", "<", "NUM_INT_N_ENTS", ";", "i", "++", ")", "if", "(", "int_n_enabled_p", "[", "i", "]", "&&", "int_n_data", "[", "i", "]", ".", ...
[ "Helper", "function", "to", "find", "out", "which", "RID_INT_N_", "*", "code", "is", "the", "one", "for", "__int128", ",", "if", "any", ".", "Returns", "RID_MAX+1", "if", "none", "apply", ",", "which", "is", "safe", "(", "for", "our", "purposes", ",", ...
[ "powerpcspe", "0", "128", "1" ]
powerpcspe-c
rid_int128
powerpcspe
CPU
GCC
16,476
50
1
[]
[ "<s>", "bool", "X86TargetLowering", "::", "isUsedByReturnOnly", "(", "SDNode", "*", "N", ",", "SDValue", "&", "Chain", ")", "const", "{", "if", "(", "N", "->", "getNumValues", "(", ")", "!=", "1", "||", "!", "N", "->", "hasNUsesOfValue", "(", "1", ",",...
[ "Return", "true", "if", "result", "of", "the", "specified", "node", "is", "used", "by", "a", "return", "node", "only", "." ]
[ "X86", "X86", "1", "1", "0", "ISD::CopyToReg", "1", "MVT::Glue", "0", "ISD::FP_EXTEND", "X86ISD::RET_FLAG", "X86ISD::CPS_RET", "4", "4", "1", "MVT::Glue" ]
X86ISelLowering34
isUsedByReturnOnly
X86
CPU
LLVM
16,477
246
1
[]
[ "<s>", "void", "PatmosSinglePathInfo", "::", "print", "(", "raw_ostream", "&", "os", ",", "const", "Module", "*", "M", ")", "const", "{", "assert", "(", "Root", ")", ";", "os", "<<", "\"========================================\\n\"", ";", "Root", "->", "dump",...
[ "print", "-", "Print", "a", "debug", "representation", "of", "the", "operand", "to", "the", "given", "stream", "." ]
[ "Patmos", "Patmos", "\"========================================\\n\"", "0", "\"========================================\\n\"" ]
PatmosSinglePathInfo
print
Patmos
VLIW
LLVM
16,478
41
1
[]
[ "<s>", "const", "MCExpr", "*", "MCS51AsmPrinter", "::", "lowerConstant", "(", "const", "Constant", "*", "CV", ")", "{", "MCContext", "&", "Ctx", "=", "OutContext", ";", "if", "(", "const", "GlobalValue", "*", "GV", "=", "dyn_cast", "<", "GlobalValue", ">",...
[ "Lower", "the", "specified", "LLVM", "Constant", "to", "an", "MCExpr", "." ]
[ "MCS51", "MCS51", "MCS51::ProgramMemory", "MCS51", "MCS51", "MCS51" ]
MCS51AsmPrinter
lowerConstant
MCS51
MPU
LLVM
16,479
97
1
[]
[ "<s>", "static", "void", "pa_extra_live_on_entry", "(", "bitmap", "regs", ")", "{", "if", "(", "TARGET_64BIT", ")", "bitmap_set_bit", "(", "regs", ",", "ARG_POINTER_REGNUM", ")", ";", "}", "</s>" ]
[ "Implement", "TARGET_EXTRA_LIVE_ON_ENTRY", ".", "The", "argument", "pointer", "is", "only", "marked", "as", "live", "on", "entry", "by", "df-scan", "when", "it", "is", "a", "fixed", "register", ".", "It", "is", "n't", "a", "fixed", "register", "in", "the", ...
[ "pa" ]
pa
pa_extra_live_on_entry
pa
CPU
GCC
16,480
20
1
[]
[ "<s>", "bool", "SIInstrInfo", "::", "areMemAccessesTriviallyDisjoint", "(", "const", "MachineInstr", "&", "MIa", ",", "const", "MachineInstr", "&", "MIb", ")", "const", "{", "assert", "(", "MIa", ".", "mayLoadOrStore", "(", ")", "&&", "\"MIa must load from or modi...
[ "Sometimes", ",", "it", "is", "possible", "for", "the", "target", "to", "tell", ",", "even", "without", "aliasing", "information", ",", "that", "two", "MIs", "access", "different", "memory", "addresses", "." ]
[ "AMDGPU", "SI", "\"MIa must load from or modify a memory location\"", "\"MIb must load from or modify a memory location\"" ]
SIInstrInfo11
areMemAccessesTriviallyDisjoint
AMDGPU
GPU
LLVM
16,481
230
1
[]
[ "<s>", "void", "mvs_free_label_list", "(", ")", "{", "if", "(", "label_anchor", ")", "{", "label_node_t", "*", "last_lp", "=", "label_anchor", ";", "while", "(", "last_lp", "->", "label_next", ")", "last_lp", "=", "last_lp", "->", "label_next", ";", "last_lp...
[ "The", "label", "list", "for", "the", "current", "page", "freed", "by", "linking", "the", "list", "onto", "the", "free", "label", "element", "chain", "." ]
[ "i370", "0" ]
i370
mvs_free_label_list
i370
CPU
GCC
16,482
44
1
[]
[ "<s>", "SDValue", "NVPTXTargetLowering", "::", "getSqrtEstimate", "(", "SDValue", "Operand", ",", "SelectionDAG", "&", "DAG", ",", "int", "Enabled", ",", "int", "&", "ExtraSteps", ",", "bool", "&", "UseOneConst", ",", "bool", "Reciprocal", ")", "const", "{", ...
[ "Hooks", "for", "building", "estimates", "in", "place", "of", "slower", "divisions", "and", "square", "roots", "." ]
[ "NVPTX", "NVPTX", "0", "Intrinsic::ID", "ISD::INTRINSIC_WO_CHAIN", "MVT::i32", "0", "MVT::f32", "Intrinsic::nvvm_rsqrt_approx_ftz_f", "Intrinsic::nvvm_rsqrt_approx_f", "MVT::f64", "Intrinsic::nvvm_rsqrt_approx_d", "MVT::f32", "Intrinsic::nvvm_sqrt_approx_ftz_f", "Intrinsic::nvvm_sqrt_app...
NVPTXISelLowering (2)1
getSqrtEstimate
NVPTX
GPU
LLVM
16,483
260
1
[]
[ "<s>", "const", "CAHPMCExpr", "*", "CAHPMCExpr", "::", "create", "(", "const", "MCExpr", "*", "Expr", ",", "VariantKind", "Kind", ",", "MCContext", "&", "Ctx", ")", "{", "return", "new", "(", "Ctx", ")", "CAHPMCExpr", "(", "Expr", ",", "Kind", ")", ";"...
[ "This", "creates", "an", "identified", "struct", "." ]
[ "CAHP", "CAHP", "CAHP", "CAHP" ]
CAHPMCExpr
create
CAHP
CPU
LLVM
16,484
33
1
[]
[ "<s>", "bool", "ARMDAGToDAGISel", "::", "SelectInlineAsmMemoryOperand", "(", "const", "SDValue", "&", "Op", ",", "unsigned", "ConstraintID", ",", "std", "::", "vector", "<", "SDValue", ">", "&", "OutOps", ")", "{", "switch", "(", "ConstraintID", ")", "{", "d...
[ "SelectInlineAsmMemoryOperand", "-", "Select", "the", "specified", "address", "as", "a", "target", "addressing", "mode", ",", "according", "to", "the", "specified", "constraint", "." ]
[ "ARM", "ARM", "\"Unexpected asm memory constraint\"" ]
ARMISelDAGToDAG10
SelectInlineAsmMemoryOperand
ARM
CPU
LLVM
16,485
100
1
[]
[ "<s>", "int", "fldi_ok", "(", ")", "{", "return", "!", "TARGET_SH4", "||", "TARGET_FMOVD", "||", "reload_completed", ";", "}", "</s>" ]
[ "For", "-m4", "and", "-m4-single-only", ",", "mode", "switching", "is", "used", ".", "If", "we", "are", "compiling", "without", "-mfmovd", ",", "movsf_ie", "is", "n't", "taken", "into", "account", "for", "mode", "switching", ".", "We", "could", "check", "i...
[ "sh" ]
sh2
fldi_ok
sh
CPU
GCC
16,486
14
1
[]
[ "<s>", "TargetPassConfig", "*", "X86TargetMachine", "::", "createPassConfig", "(", "PassManagerBase", "&", "PM", ")", "{", "X86PassConfig", "*", "PC", "=", "new", "X86PassConfig", "(", "this", ",", "PM", ")", ";", "if", "(", "Subtarget", ".", "hasCMov", "(",...
[ "Create", "a", "pass", "configuration", "object", "to", "be", "used", "by", "addPassToEmitX", "methods", "for", "generating", "a", "pipeline", "of", "CodeGen", "passes", "." ]
[ "X86", "X86", "X86", "X86" ]
X86TargetMachine50
createPassConfig
X86
CPU
LLVM
16,487
43
1
[]
[ "<s>", "const", "AMDGPUCommonSubtarget", "&", "AMDGPUCommonSubtarget", "::", "get", "(", "const", "TargetMachine", "&", "TM", ",", "const", "Function", "&", "F", ")", "{", "if", "(", "TM", ".", "getTargetTriple", "(", ")", ".", "getArch", "(", ")", "==", ...
[ "Get", "the", "generated", "Value", "for", "a", "given", "VPValue", "and", "given", "Part", "and", "Lane", "." ]
[ "AMDGPU", "AMDGPU", "AMDGPU", "AMDGPU", "AMDGPU", "AMDGPU", "R600" ]
AMDGPUSubtarget76
get
AMDGPU
GPU
LLVM
16,488
74
1
[]
[ "<s>", "void", "AlphaRegisterInfo", "::", "eliminateCallFramePseudoInstr", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ")", "const", "{", "const", "TargetFrameInfo", "*", "TFI", "=", "MF...
[ "This", "method", "is", "called", "during", "prolog/epilog", "code", "insertion", "to", "eliminate", "call", "frame", "setup", "and", "destroy", "pseudo", "instructions", "(", "but", "only", "if", "the", "Target", "is", "using", "them", ")", "." ]
[ "Alpha", "Alpha", "0", "0", "1", "Alpha::ADJUSTSTACKDOWN", "Alpha::LDA", "Alpha::R30", "Alpha::R30", "Alpha::ADJUSTSTACKUP", "Alpha::LDA", "Alpha::R30", "Alpha::R30" ]
AlphaRegisterInfo3
eliminateCallFramePseudoInstr
Alpha
MPU
LLVM
16,489
233
1
[]
[ "<s>", "std", "::", "pair", "<", "unsigned", ",", "const", "TargetRegisterClass", "*", ">", "SystemZTargetLowering", "::", "getRegForInlineAsmConstraint", "(", "const", "std", "::", "string", "&", "Constraint", ",", "EVT", "VT", ")", "const", "{", "if", "(", ...
[ "Given", "a", "physical", "register", "constraint", "(", "e.g", "." ]
[ "SystemZ", "SystemZ", "1", "0", "MVT::i32", "0U", "SystemZ::GR32RegisterClass", "MVT::i128", "0U", "SystemZ::GR128RegisterClass", "0U", "SystemZ::GR64RegisterClass" ]
SystemZISelLowering101
getRegForInlineAsmConstraint
SystemZ
CPU
LLVM
16,490
118
1
[]
[ "<s>", "static", "void", "aarch64_emit_atomic_swap", "(", "machine_mode", "mode", ",", "rtx", "dst", ",", "rtx", "value", ",", "rtx", "mem", ",", "rtx", "model", ")", "{", "rtx", "(", "*", "gen", ")", "(", "rtx", ",", "rtx", ",", "rtx", ",", "rtx", ...
[ "Emit", "an", "atomic", "swap", "." ]
[ "aarch64" ]
aarch645
aarch64_emit_atomic_swap
aarch64
CPU
GCC
16,491
98
1
[]
[ "<s>", "bool", "hasFP", "(", "const", "MachineFunction", "&", ")", "const", "override", "{", "return", "true", ";", "}", "</s>" ]
[ "hasFP", "-", "Return", "true", "if", "the", "specified", "function", "should", "have", "a", "dedicated", "frame", "pointer", "register", "." ]
[ "DLX" ]
DLXFrameLowering
hasFP
DLX
CPU
LLVM
16,492
14
1
[]
[ "<s>", "MVT", "getScalarShiftAmountTy", "(", "EVT", "LHSTy", ")", "const", "override", "{", "return", "MVT", "::", "i32", ";", "}", "</s>" ]
[ "Return", "the", "type", "to", "use", "for", "a", "scalar", "shift", "opcode", ",", "given", "the", "shifted", "amount", "type", "." ]
[ "NVPTX", "MVT::i32" ]
NVPTXISelLowering1
getScalarShiftAmountTy
NVPTX
GPU
LLVM
16,493
15
1
[]
[ "<s>", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", "\"VIDEOCORE DAG->DAG Pattern Instruction Selection\"", ";", "}", "</s>" ]
[ "getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "." ]
[ "Videocore", "\"VIDEOCORE DAG->DAG Pattern Instruction Selection\"" ]
VideocoreISelDAGToDAG
getPassName
Videocore
DSP
LLVM
16,494
13
1
[]
[ "<s>", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "override", "{", "AU", ".", "setPreservesAll", "(", ")", ";", "AU", ".", "addRequired", "<", "VirtRegMap", ">", "(", ")", ";", "AU", ".", "addRequired", "<", "LiveIntervals",...
[ "getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "." ]
[ "X86" ]
X86TileConfig (2)
getAnalysisUsage
X86
CPU
LLVM
16,495
42
1
[]
[ "<s>", "static", "tree", "aarch64_build_builtin_va_list", "(", "void", ")", "{", "tree", "va_list_name", ";", "tree", "f_stack", ",", "f_grtop", ",", "f_vrtop", ",", "f_groff", ",", "f_vroff", ";", "va_list_type", "=", "lang_hooks", ".", "types", ".", "make_ty...
[ "Implement", "TARGET_BUILD_BUILTIN_VA_LIST", ".", "Return", "the", "type", "to", "use", "as", "__builtin_va_list", ".", "AAPCS64", "\\S", "7.1.4", "requires", "that", "va_list", "be", "a", "typedef", "for", "a", "type", "defined", "as", ":", "struct", "__va_list...
[ "aarch64", "\"__va_list\"", "1", "\"__stack\"", "\"__gr_top\"", "\"__vr_top\"", "\"__gr_offs\"", "\"__vr_offs\"", "1", "1", "1", "1", "1" ]
aarch642
aarch64_build_builtin_va_list
aarch64
CPU
GCC
16,496
263
1
[]
[ "<s>", "bool", "SNESTargetLowering", "::", "getPreIndexedAddressParts", "(", "SDNode", "*", "N", ",", "SDValue", "&", "Base", ",", "SDValue", "&", "Offset", ",", "ISD", "::", "MemIndexedMode", "&", "AM", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", ...
[ "Returns", "true", "by", "value", ",", "base", "pointer", "and", "offset", "pointer", "and", "addressing", "mode", "by", "reference", "if", "the", "node", "'s", "address", "can", "be", "legally", "represented", "as", "pre-indexed", "load", "/", "store", "add...
[ "SNES", "SNES", "ISD::MemIndexedMode", "ISD::NON_EXTLOAD", "SNES::isProgramMemoryAccess", "SNES::isProgramMemoryAccess", "MVT::i8", "MVT::i16", "ISD::ADD", "ISD::SUB", "1", "ISD::SUB", "MVT::i16", "2", "MVT::i8", "1", "0", "MVT::i8", "ISD::PRE_DEC" ]
SNESISelLowering
getPreIndexedAddressParts
SNES
DSP
LLVM
16,497
331
1
[]
[ "<s>", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "override", "{", "AU", ".", "addRequired", "<", "LiveIntervals", ">", "(", ")", ";", "AU", ".", "addPreserved", "<", "LiveIntervals", ">", "(", ")", ";", "AU", ".", "addReq...
[ "getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "." ]
[ "PowerPC" ]
PPCInstrInfo1
getAnalysisUsage
PowerPC
CPU
LLVM
16,498
54
1
[]
[ "<s>", "static", "bool", "ix86_vector_duplicate_value", "(", "machine_mode", "mode", ",", "rtx", "target", ",", "rtx", "val", ")", "{", "bool", "ok", ";", "rtx_insn", "*", "insn", ";", "rtx", "dup", ";", "dup", "=", "gen_rtx_VEC_DUPLICATE", "(", "mode", ",...
[ "A", "subroutine", "of", "ix86_expand_vector_init_duplicate", ".", "Tries", "to", "fill", "target", "with", "val", "via", "vec_duplicate", "." ]
[ "i386", "0", "0", "0" ]
i3865
ix86_vector_duplicate_value
i386
CPU
GCC
16,499
120
1
[]