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>", "static", "int", "is_regular_file", "(", "char", "*", "name", ")", "{", "int", "ret", ";", "struct", "stat", "statbuf", ";", "ret", "=", "stat", "(", "name", ",", "&", "statbuf", ")", ";", "return", "!", "ret", "&&", "S_ISREG", "(", "statbuf",...
[ "Check", "to", "see", "if", "NAME", "is", "a", "regular", "file", ",", "i.e", ".", "not", "a", "directory", "." ]
[ "vms" ]
vms-ar
is_regular_file
vms
Virtual ISA
GCC
3,400
38
1
[]
[ "<s>", "bool", "MSP430TargetMachine", "::", "addPreEmitPass", "(", "PassManagerBase", "&", "PM", ")", "{", "PM", ".", "add", "(", "createMSP430BranchSelectionPass", "(", ")", ")", ";", "return", "false", ";", "}", "</s>" ]
[ "This", "pass", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "machine", "code", "is", "emitted", "." ]
[ "MSP430", "MSP430", "MSP430" ]
MSP430TargetMachine29
addPreEmitPass
MSP430
MPU
LLVM
3,401
23
1
[]
[ "<s>", "void", "MipsPassConfig", "::", "addIRPasses", "(", ")", "{", "TargetPassConfig", "::", "addIRPasses", "(", ")", ";", "if", "(", "getMipsSubtarget", "(", ")", ".", "os16", "(", ")", ")", "addPass", "(", "createMipsOs16", "(", "getMipsTargetMachine", "...
[ "Add", "common", "target", "configurable", "passes", "that", "perform", "LLVM", "IR", "to", "IR", "transforms", "following", "machine", "independent", "optimization", "." ]
[ "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips" ]
MipsTargetMachine17
addIRPasses
Mips
CPU
LLVM
3,402
64
1
[]
[ "<s>", "void", "SparcRegisterInfo", "::", "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", "." ]
[ "Sparc", "Sparc", "SP", "SP", "0", "\"Unexpected\"", "Sparc", "Sparc", "Sparc", "1", "SP::STQFri", "2", "SP::sub_even64", "SP::sub_odd64", "SP::STDFri", "0", "0", "SP::STDFri", "2", "8", "SP::LDQFri", "0", "SP::sub_even64", "SP::sub_odd64", "SP::LDDFri", "0", "1",...
SparcRegisterInfo18
eliminateFrameIndex
Sparc
CPU
LLVM
3,403
482
1
[]
[ "<s>", "bool", "AArch64InstrInfo", "::", "isSchedulingBoundary", "(", "const", "MachineInstr", "&", "MI", ",", "const", "MachineBasicBlock", "*", "MBB", ",", "const", "MachineFunction", "&", "MF", ")", "const", "{", "if", "(", "TargetInstrInfo", "::", "isSchedul...
[ "isSchedulingBoundary", "-", "Overrides", "the", "isSchedulingBoundary", "from", "Codegen/TargetInstrInfo.cpp", "to", "make", "it", "capable", "of", "identifying", "ENDBR", "intructions", "and", "prevent", "it", "from", "being", "re-scheduled", "." ]
[ "AArch64", "AArch64" ]
AArch64InstrInfo118
isSchedulingBoundary
AArch64
CPU
LLVM
3,404
45
1
[]
[ "<s>", "bool", "ARMBaseInstrInfo", "::", "analyzeBranch", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "*", "&", "TBB", ",", "MachineBasicBlock", "*", "&", "FBB", ",", "SmallVectorImpl", "<", "MachineOperand", ">", "&", "Cond", ",", "bool", ...
[ "analyzeBranch", "-", "Analyze", "the", "branching", "code", "at", "the", "end", "of", "MBB", ",", "returning", "true", "if", "it", "can", "not", "be", "understood", "(", "e.g", "." ]
[ "ARM", "ARM", "ARM::t2DoLoopStartTP", "0", "\"FBB should have been null.\"", "0", "1", "2" ]
ARMBaseInstrInfo110
analyzeBranch
ARM
CPU
LLVM
3,405
479
1
[]
[ "<s>", "void", "mprocInstrInfo", "::", "storeRegToStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "unsigned", "SrcReg", ",", "bool", "isKill", ",", "int", "FrameIdx", ",", "const", "TargetRegisterClass", "*"...
[ "Store", "the", "specified", "register", "of", "the", "given", "register", "class", "to", "the", "specified", "stack", "frame", "index", "." ]
[ "mproc", "mproc", "\"Cannot store this register to stack slot!\"" ]
mprocInstrInfo
storeRegToStackSlot
mproc
Virtual ISA
LLVM
3,406
118
1
[]
[ "<s>", "bool", "SystemZInstrInfo", "::", "isPredicable", "(", "MachineInstr", "&", "MI", ")", "const", "{", "unsigned", "Opcode", "=", "MI", ".", "getOpcode", "(", ")", ";", "return", "STI", ".", "hasLoadStoreOnCond", "(", ")", "&&", "getConditionalMove", "(...
[ "Return", "true", "if", "the", "specified", "instruction", "can", "be", "predicated", "." ]
[ "SystemZ", "SystemZ" ]
SystemZInstrInfo6
isPredicable
SystemZ
CPU
LLVM
3,407
33
1
[]
[ "<s>", "bool", "HexagonAsmPrinter", "::", "PrintAsmOperand", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpNo", ",", "unsigned", "AsmVariant", ",", "const", "char", "*", "ExtraCode", ",", "raw_ostream", "&", "OS", ")", "{", "if", "(", "ExtraCo...
[ "PrintAsmOperand", "-", "Print", "out", "an", "operand", "for", "an", "inline", "asm", "expression", "." ]
[ "Hexagon", "Hexagon", "0", "1", "0", "0", "1", "1", "\"i\"" ]
HexagonAsmPrinter (2)
PrintAsmOperand
Hexagon
DSP
LLVM
3,408
176
1
[]
[ "<s>", "static", "tree", "epiphany_handle_interrupt_attribute", "(", "tree", "*", "node", ",", "tree", "name", ",", "tree", "args", ",", "int", "flags", "ATTRIBUTE_UNUSED", ",", "bool", "*", "no_add_attrs", ")", "{", "tree", "value", ";", "if", "(", "!", "...
[ "Handle", "an", "``", "interrupt", "''", "attribute", ";", "arguments", "as", "in", "struct", "attribute_spec.handler", "." ]
[ "epiphany", "\"%qE attribute only applies to functions\"", "\"interrupt handlers cannot have arguments\"", "\"argument of %qE attribute is not a string constant\"", "\"reset\"", "\"software_exception\"", "\"page_miss\"", "\"timer0\"", "\"timer1\"", "\"message\"", "\"dma0\"", "\"dma1\"", "\"w...
epiphany
epiphany_handle_interrupt_attribute
epiphany
MPU
GCC
3,409
294
1
[]
[ "<s>", "void", "SIRegisterInfo", "::", "resolveFrameIndex", "(", "MachineInstr", "&", "MI", ",", "unsigned", "BaseReg", ",", "int64_t", "Offset", ")", "const", "{", "MachineBasicBlock", "*", "MBB", "=", "MI", ".", "getParent", "(", ")", ";", "MachineFunction",...
[ "Resolve", "a", "frame", "index", "operand", "of", "an", "instruction", "to", "reference", "the", "indicated", "base", "register", "plus", "offset", "instead", "." ]
[ "AMDGPU", "SI", "SI", "\"should not see multiple frame indices\"", "AMDGPU::OpName", "\"frame index must be address operand\"", "AMDGPU::OpName", "SI", "\"should only be seeing stack pointer offset relative FrameIndex\"", "AMDGPU::OpName", "12", "\"offset should be legal\"" ]
SIRegisterInfo107
resolveFrameIndex
AMDGPU
GPU
LLVM
3,410
238
1
[]
[ "<s>", "void", "optimization_options", "(", "int", "level", ",", "int", "size", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "level", ">", "1", ")", "flag_schedule_insns", "=", "0", ";", "if", "(", "TARGET_MACHO", ")", "flag_errno_math", "=", "0", ";", "if", ...
[ "Change", "optimizations", "to", "be", "performed", ",", "depending", "on", "the", "optimization", "level", ".", "LEVEL", "is", "the", "optimization", "level", "specified", ";", "2", "if", "`", "-O2", "'", "is", "specified", ",", "1", "if", "`", "-O", "'...
[ "i386", "1", "0", "0", "1", "2", "2", "2" ]
i3863
optimization_options
i386
CPU
GCC
3,411
50
1
[]
[ "<s>", "SDValue", "PPCTargetLowering", "::", "LowerReturn", "(", "SDValue", "Chain", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "isVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "OutputArg", ">", "&", "Outs", ",", "const", "SmallVect...
[ "This", "hook", "must", "be", "implemented", "to", "lower", "outgoing", "return", "values", ",", "described", "by", "the", "Outs", "array", ",", "into", "the", "specified", "DAG", "." ]
[ "PowerPC", "PPC", "ISD::OutputArg", "16", "PPC", "0", "0", "\"Can only return in registers!\"", "1", "PPCISD::RET_FLAG", "MVT::Other", "PPCISD::RET_FLAG", "MVT::Other" ]
PPCISelLowering115
LowerReturn
PowerPC
CPU
LLVM
3,412
263
1
[]
[ "<s>", "bool", "th_mempair_operands_p", "(", "rtx", "operands", "[", "4", "]", ",", "bool", "load_p", ",", "machine_mode", "mode", ")", "{", "rtx", "mem_1", ",", "mem_2", ",", "reg_1", ",", "reg_2", ";", "if", "(", "load_p", ")", "{", "reg_1", "=", "...
[ "Given", "OPERANDS", "of", "consecutive", "load/store", ",", "check", "if", "we", "can", "merge", "them", "into", "load-pair", "or", "store-pair", "instructions", ".", "LOAD", "is", "true", "if", "they", "are", "load", "instructions", ".", "MODE", "is", "the...
[ "riscv", "4", "0", "1", "2", "3", "0", "1", "2", "3" ]
thead
th_mempair_operands_p
riscv
CPU
GCC
3,413
305
1
[]
[ "<s>", "bool", "TPCAsmBackend", "::", "fixupNeedsRelaxation", "(", "const", "MCFixup", "&", "Fixup", ",", "uint64_t", "Value", ",", "const", "MCRelaxableFragment", "*", "DF", ",", "const", "MCAsmLayout", "&", "Layout", ")", "const", "{", "return", "false", ";"...
[ "Simple", "predicate", "for", "targets", "where", "!", "Resolved", "implies", "requiring", "relaxation", "." ]
[ "TPC", "TPC" ]
TPCAsmBackend
fixupNeedsRelaxation
TPC
Virtual ISA
LLVM
3,414
29
1
[]
[ "<s>", "static", "tree", "gen_stdcall_or_fastcall_suffix", "(", "tree", "decl", ",", "tree", "id", ",", "bool", "fastcall", ")", "{", "HOST_WIDE_INT", "total", "=", "0", ";", "const", "char", "*", "old_str", "=", "IDENTIFIER_POINTER", "(", "id", "!=", "NULL_...
[ "Return", "string", "which", "is", "the", "former", "assembler", "name", "modified", "with", "a", "suffix", "consisting", "of", "an", "atsign", "(", "@", ")", "followed", "by", "the", "number", "of", "bytes", "of", "arguments", ".", "If", "FASTCALL", "is",...
[ "i386", "0", "0", "1", "1", "1", "8", "1", "\"%s@\"" ]
winnt
gen_stdcall_or_fastcall_suffix
i386
CPU
GCC
3,415
207
1
[]
[ "<s>", "static", "inline", "HOST_WIDE_INT", "htm_spr_num", "(", "enum", "rs6000_builtins", "code", ")", "{", "if", "(", "code", "==", "HTM_BUILTIN_GET_TFHAR", "||", "code", "==", "HTM_BUILTIN_SET_TFHAR", ")", "return", "TFHAR_SPR", ";", "else", "if", "(", "code"...
[ "Return", "the", "appropriate", "SPR", "number", "associated", "with", "the", "given", "builtin", "." ]
[ "rs6000" ]
rs6000-call
htm_spr_num
rs6000
CPU
GCC
3,416
66
1
[]
[ "<s>", "void", "SparcInstrInfo", "::", "copyPhysReg", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "DebugLoc", "DL", ",", "unsigned", "DestReg", ",", "unsigned", "SrcReg", ",", "bool", "KillSrc", ")", "const", "{"...
[ "}", "Branch", "Analysis", "&", "Modification" ]
[ "Sparc", "Sparc", "SP::IntRegsRegClass", "SP::ORrr", "SP::G0", "SP::FPRegsRegClass", "SP::FMOVS", "SP::DFPRegsRegClass", "SP::FMOVD", "SP::FpMOVD", "\"Impossible reg-to-reg copy\"" ]
SparcInstrInfo16
copyPhysReg
Sparc
CPU
LLVM
3,417
177
1
[]
[ "<s>", "int", "call_insn_operand", "(", "rtx", "op", ",", "enum", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "GET_CODE", "(", "op", ")", "==", "MEM", ")", "{", "rtx", "inside", "=", "XEXP", "(", "op", ",", "0", ")", ";", "if", ...
[ "Test", "for", "a", "valid", "operand", "for", "a", "call", "instruction", ".", "Do", "n't", "allow", "the", "arg", "pointer", "register", "or", "virtual", "regs", "since", "they", "may", "change", "into", "reg", "+", "const", ",", "which", "the", "patte...
[ "avr", "0", "1", "1", "0" ]
avr3
call_insn_operand
avr
MPU
GCC
3,418
59
1
[]
[ "<s>", "static", "void", "nvptx_call_args", "(", "rtx", "arg", ",", "tree", "fntype", ")", "{", "if", "(", "!", "cfun", "->", "machine", "->", "doing_call", ")", "{", "cfun", "->", "machine", "->", "doing_call", "=", "true", ";", "cfun", "->", "machine...
[ "Implement", "the", "TARGET_CALL_ARGS", "hook", ".", "Record", "information", "about", "one", "argument", "to", "the", "next", "call", "." ]
[ "nvptx", "0" ]
nvptx
nvptx_call_args
nvptx
GPU
GCC
3,419
120
1
[]
[ "<s>", "SDValue", "getInstr", "(", "unsigned", "MachineOpc", ",", "const", "SDLoc", "&", "dl", ",", "MVT", "Ty", ",", "ArrayRef", "<", "SDValue", ">", "Ops", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "SDNode", "*", "N", "=", "DAG", ".", "ge...
[ "Returns", "the", "representative", "MachineInstr", "for", "this", "SUnit", "." ]
[ "Hexagon", "0" ]
HexagonISelLowering (2)3
getInstr
Hexagon
DSP
LLVM
3,420
52
1
[]
[ "<s>", "MachineBasicBlock", "*", "NyuziTargetLowering", "::", "EmitInstrWithCustomInserter", "(", "MachineInstr", "&", "MI", ",", "MachineBasicBlock", "*", "BB", ")", "const", "{", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "case", "Nyuzi", "::...
[ "This", "method", "should", "be", "implemented", "by", "targets", "that", "mark", "instructions", "with", "the", "'usesCustomInserter", "'", "flag", "." ]
[ "Nyuzi", "Nyuzi", "Nyuzi::SELECTI", "Nyuzi::SELECTF", "Nyuzi::SELECTVI", "Nyuzi::SELECTVF", "Nyuzi::SELECTMASK", "Nyuzi::ATOMIC_LOAD_ADDR", "Nyuzi::ADDISSS", "Nyuzi::ATOMIC_LOAD_ADDI", "Nyuzi::ADDISSI", "Nyuzi::ATOMIC_LOAD_SUBR", "Nyuzi::SUBISSS", "Nyuzi::ATOMIC_LOAD_NANDR", "Nyuzi::ANDS...
NyuziISelLowering
EmitInstrWithCustomInserter
Nyuzi
GPU
LLVM
3,421
303
1
[]
[ "<s>", "void", "s390_expand_vec_compare_cc", "(", "rtx", "target", ",", "enum", "rtx_code", "code", ",", "rtx", "cmp1", ",", "rtx", "cmp2", ",", "bool", "all_p", ")", "{", "enum", "rtx_code", "new_code", "=", "code", ";", "machine_mode", "cmp_mode", ",", "...
[ "Expand", "the", "comparison", "CODE", "of", "CMP1", "and", "CMP2", "and", "copy", "1", "or", "0", "into", "TARGET", "if", "either", "all", "(", "ALL_P", "is", "true", ")", "or", "any", "(", "ALL_P", "is", "false", ")", "of", "the", "elements", "in",...
[ "s390", "2" ]
s3905
s390_expand_vec_compare_cc
s390
MPU
GCC
3,422
503
1
[]
[ "<s>", "bool", "SHUXIFrameLowering", "::", "hasReservedCallFrame", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "return", "!", "MF", ".", "getFrameInfo", "(", ")", ".", "hasVarSizedObjects", "(", ")", ";", "}", "</s>" ]
[ "hasReservedCallFrame", "-", "Under", "normal", "circumstances", ",", "when", "a", "frame", "pointer", "is", "not", "required", ",", "we", "reserve", "argument", "space", "for", "call", "sites", "in", "the", "function", "immediately", "on", "entry", "to", "the...
[ "SHUXI", "SHUXI" ]
SHUXIFrameLowering
hasReservedCallFrame
SHUXI
CPU
LLVM
3,423
25
1
[]
[ "<s>", "void", "function_arg_advance", "(", "CUMULATIVE_ARGS", "*", "cum", ",", "enum", "machine_mode", "mode", ",", "tree", "type", ",", "int", "named", "ATTRIBUTE_UNUSED", ")", "{", "int", "bytes", "=", "avr_num_arg_regs", "(", "mode", ",", "type", ")", ";...
[ "Handle", "the", "FUNCTION_ARG_ADVANCE", "macro", ".", "Update", "the", "data", "in", "CUM", "to", "advance", "over", "an", "argument", "of", "mode", "MODE", "and", "data", "type", "TYPE", ".", "TYPE", "is", "null", "for", "libcalls", "where", "that", "inf...
[ "avr", "0", "0" ]
avr3
function_arg_advance
avr
MPU
GCC
3,424
64
1
[]
[ "<s>", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "ARM_LOW_OVERHEAD_LOOPS_NAME", ";", "}", "</s>" ]
[ "getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "." ]
[ "ARM", "ARM" ]
ARMLowOverheadLoops
getPassName
ARM
CPU
LLVM
3,425
11
1
[]
[ "<s>", "const", "uint16_t", "*", "VideocoreRegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "return", "CSR_VC4_SaveList", ";", "}", "</s>" ]
[ "Code", "Generation", "virtual", "methods", "..." ]
[ "Videocore", "Videocore", "VC" ]
VideocoreRegisterInfo
getCalleeSavedRegs
Videocore
DSP
LLVM
3,426
18
1
[]
[ "<s>", "void", "X86DAGToDAGISel", "::", "PreprocessISelDAG", "(", ")", "{", "OptForSize", "=", "MF", "->", "getFunction", "(", ")", "->", "getAttributes", "(", ")", ".", "hasAttribute", "(", "AttributeSet", "::", "FunctionIndex", ",", "Attribute", "::", "Optim...
[ "PreprocessISelDAG", "-", "This", "hook", "allows", "targets", "to", "hack", "on", "the", "graph", "before", "instruction", "selection", "starts", "." ]
[ "X86", "X86", "X86ISD::CALL", "X86ISD::TC_RETURN", "X86ISD::CALL", "0", "1", "0", "ISD::FP_ROUND", "ISD::FP_EXTEND", "0", "0", "X86", "X86", "ISD::FP_EXTEND", "1", "ISD::FP_ROUND", "0", "0", "ISD::EXTLOAD", "0", "0" ]
X86ISelDAGToDAG150
PreprocessISelDAG
X86
CPU
LLVM
3,427
464
1
[]
[ "<s>", "static", "bool", "sh_function_ok_for_sibcall", "(", "tree", "decl", ",", "tree", "exp", "ATTRIBUTE_UNUSED", ")", "{", "return", "(", "1", "&&", "(", "!", "TARGET_SHCOMPACT", "||", "crtl", "->", "args", ".", "info", ".", "stack_regs", "==", "0", ")"...
[ "If", "PIC", ",", "we", "can", "not", "make", "sibling", "calls", "to", "global", "functions", "because", "the", "PLT", "requires", "r12", "to", "be", "live", "." ]
[ "sh", "1", "0" ]
sh4
sh_function_ok_for_sibcall
sh
CPU
GCC
3,428
64
1
[]
[ "<s>", "long", "compute_frame_size", "(", "int", "size", ")", "{", "int", "regno", ";", "if", "(", "cfun", "->", "static_chain_decl", "!=", "NULL", ")", "size", "+=", "(", "1", "*", "UNITS_PER_WORD", ")", ";", "xtensa_callee_save_size", "=", "0", ";", "f...
[ "Typical", "stack", "layout", "should", "looks", "like", "this", "after", "the", "function", "'s", "prologue", ":", "|", "|", "--", "^", "|", "|", "\\", "|", "|", "|", "arguments", "saved", "|", "Increasing", "|", "|", "on", "the", "stack", "|", "add...
[ "xtensa", "1", "0", "0" ]
xtensa4
compute_frame_size
xtensa
MPU
GCC
3,429
86
1
[]
[ "<s>", "static", "rtx", "pop", "(", "int", "rn", ")", "{", "rtx", "reg", "=", "gen_rtx_REG", "(", "word_mode", ",", "rn", ")", ";", "rtx", "x", ";", "if", "(", "!", "TARGET_NORMAL_MODE", ")", "x", "=", "gen_pop_h8300hs_advanced", "(", "reg", ")", ";"...
[ "Output", "RTL", "to", "pop", "register", "RN", "from", "the", "stack", "." ]
[ "h8300" ]
h8300
pop
h8300
MPU
GCC
3,430
61
1
[]
[ "<s>", "static", "bool", "ix86_noce_conversion_profitable_p", "(", "rtx_insn", "*", "seq", ",", "struct", "noce_if_info", "*", "if_info", ")", "{", "if", "(", "TARGET_ONE_IF_CONV_INSN", "&&", "if_info", "->", "speed_p", ")", "{", "int", "cmov_cnt", "=", "0", "...
[ "Return", "true", "if", "SEQ", "is", "a", "good", "candidate", "as", "a", "replacement", "for", "the", "if-convertible", "sequence", "described", "in", "IF_INFO", "." ]
[ "i386", "0", "1", "1", "2", "2", "1" ]
i386
ix86_noce_conversion_profitable_p
i386
CPU
GCC
3,431
182
1
[]
[ "<s>", "LoadInst", "*", "X86TargetLowering", "::", "lowerIdempotentRMWIntoFencedLoad", "(", "AtomicRMWInst", "*", "AI", ")", "const", "{", "const", "X86Subtarget", "&", "Subtarget", "=", "getTargetMachine", "(", ")", ".", "getSubtarget", "<", "X86Subtarget", ">", ...
[ "On", "some", "platforms", ",", "an", "AtomicRMW", "that", "never", "actually", "modifies", "the", "value", "(", "such", "as", "fetch_add", "of", "0", ")", "can", "be", "turned", "into", "a", "fence", "followed", "by", "an", "atomic", "load", "." ]
[ "X86", "X86", "X86", "X86", "64", "32", "Intrinsic::getDeclaration", "Intrinsic::x86_sse2_mfence" ]
X86ISelLowering113
lowerIdempotentRMWIntoFencedLoad
X86
CPU
LLVM
3,432
223
1
[]
[ "<s>", "static", "void", "rs6000_invalid_builtin", "(", "enum", "rs6000_builtins", "fncode", ")", "{", "size_t", "uns_fncode", "=", "(", "size_t", ")", "fncode", ";", "const", "char", "*", "name", "=", "rs6000_builtin_info", "[", "uns_fncode", "]", ".", "name"...
[ "Raise", "an", "error", "message", "for", "a", "builtin", "function", "that", "is", "called", "without", "the", "appropriate", "target", "options", "being", "set", "." ]
[ "rs6000", "0", "\"%qs is only valid for the cell processor\"", "0", "\"%qs requires the %qs option\"", "\"-mvsx\"", "0", "\"%qs requires the %qs option\"", "\"-mhtm\"", "0", "\"%qs requires the %qs option\"", "\"-maltivec\"", "\"%qs requires the %qs and %qs options\"", "\"-mhard-dfp\"", ...
rs6000-call
rs6000_invalid_builtin
rs6000
CPU
GCC
3,433
433
1
[]
[ "<s>", "bool", "Mips16RegisterInfo", "::", "saveScavengerRegister", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "MachineBasicBlock", "::", "iterator", "&", "UseMI", ",", "const", "TargetRegisterClass", "*", "RC", ",", ...
[ "Spill", "the", "register", "so", "it", "can", "be", "used", "by", "the", "register", "scavenger", "." ]
[ "Mips", "Mips", "Mips::T0", "Mips::T0" ]
Mips16RegisterInfo16
saveScavengerRegister
Mips
CPU
LLVM
3,434
95
1
[]
[ "<s>", "static", "void", "ix86_function_specific_restore", "(", "struct", "gcc_options", "*", "opts", ",", "struct", "cl_target_option", "*", "ptr", ")", "{", "enum", "processor_type", "old_tune", "=", "ix86_tune", ";", "enum", "processor_type", "old_arch", "=", "...
[ "Restore", "the", "current", "options" ]
[ "i386", "0" ]
i3867
ix86_function_specific_restore
i386
CPU
GCC
3,435
394
1
[]
[ "<s>", "MachineOperand", "*", "SIInstrInfo", "::", "getNamedOperand", "(", "MachineInstr", "&", "MI", ",", "unsigned", "OperandName", ")", "const", "{", "int", "Idx", "=", "AMDGPU", "::", "getNamedOperandIdx", "(", "MI", ".", "getOpcode", "(", ")", ",", "Ope...
[ "Returns", "the", "operand", "named", "Op", "." ]
[ "R600", "SI", "1" ]
SIInstrInfo101
getNamedOperand
R600
GPU
LLVM
3,436
51
1
[]
[ "<s>", "AArch64Subtarget", "::", "AArch64Subtarget", "(", "const", "Triple", "&", "TT", ",", "const", "std", "::", "string", "&", "CPU", ",", "const", "std", "::", "string", "&", "FS", ",", "const", "TargetMachine", "&", "TM", ",", "bool", "LittleEndian", ...
[ "This", "constructor", "initializes", "the", "data", "members", "to", "match", "that", "of", "the", "specified", "triple", "." ]
[ "AArch64", "AArch64", "AArch64", "AArch64", "AArch64::GPR64commonRegClass", "AArch64::GPR64commonRegClass", "AArch64::isX18ReservedByDefault", "18", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64" ]
AArch64Subtarget (2)1
AArch64Subtarget
AArch64
CPU
LLVM
3,437
219
1
[]
[ "<s>", "void", "HexagonFrameLowering", "::", "determineCalleeSaves", "(", "MachineFunction", "&", "MF", ",", "BitVector", "&", "SavedRegs", ",", "RegScavenger", "*", "RS", ")", "const", "{", "auto", "&", "HRI", "=", "*", "MF", ".", "getSubtarget", "<", "Hexa...
[ "This", "method", "determines", "which", "of", "the", "registers", "reported", "by", "TargetRegisterInfo", ":", ":getCalleeSavedRegs", "(", ")", "should", "actually", "get", "saved", "." ]
[ "Hexagon", "Hexagon", "Hexagon", "Hexagon", "8", "Hexagon::IntRegsRegClass", "1", "Hexagon::IntRegsRegClassID", "Hexagon::HvxQRRegClassID", "2", "0" ]
HexagonFrameLowering12
determineCalleeSaves
Hexagon
DSP
LLVM
3,438
327
1
[]
[ "<s>", "static", "bool", "riscv_check_builtin_call", "(", "location_t", "loc", ",", "vec", "<", "location_t", ">", "arg_loc", ",", "tree", "fndecl", ",", "tree", "orig_fndecl", ",", "unsigned", "int", "nargs", ",", "tree", "*", "args", ")", "{", "unsigned", ...
[ "Implement", "TARGET_CHECK_BUILTIN_CALL", "." ]
[ "riscv", "riscv_vector::check_builtin_call" ]
riscv-c1
riscv_check_builtin_call
riscv
CPU
GCC
3,439
85
1
[]
[ "<s>", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", "\"Patmos Bypass From PML\"", ";", "}", "</s>" ]
[ "getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "." ]
[ "Patmos", "\"Patmos Bypass From PML\"" ]
PatmosBypassFromPML
getPassName
Patmos
VLIW
LLVM
3,440
13
1
[]
[ "<s>", "void", "EmitInstruction", "(", "const", "MachineInstr", "*", "MI", ")", "{", "printInstruction", "(", "MI", ")", ";", "OutStreamer", ".", "AddBlankLine", "(", ")", ";", "}", "</s>" ]
[ "EmitInstruction", "-", "This", "callback", "is", "invoked", "when", "an", "instruction", "is", "emitted", ",", "to", "advance", "the", "hazard", "state", "." ]
[ "Blackfin" ]
BlackfinAsmPrinter2
EmitInstruction
Blackfin
DSP
LLVM
3,441
21
1
[]
[ "<s>", "void", "SPIRVPassConfig", "::", "addPreGlobalInstructionSelect", "(", ")", "{", "addPass", "(", "createSPIRVGenerateDecorationsPass", "(", ")", ")", ";", "}", "</s>" ]
[ "This", "method", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "the", "(", "global", ")", "instruction", "selection", "." ]
[ "SPIRV", "SPIRV", "SPIRV" ]
SPIRVTargetMachine1
addPreGlobalInstructionSelect
SPIRV
Virtual ISA
LLVM
3,442
15
1
[]
[ "<s>", "rtx", "aarch64_simd_expand_builtin", "(", "int", "fcode", ",", "tree", "exp", ",", "rtx", "target", ")", "{", "if", "(", "fcode", "==", "AARCH64_SIMD_BUILTIN_LANE_CHECK", ")", "{", "rtx", "totalsize", "=", "expand_normal", "(", "CALL_EXPR_ARG", "(", "e...
[ "Expand", "an", "AArch64", "AdvSIMD", "builtin", "(", "intrinsic", ")", "." ]
[ "aarch64", "0", "1", "0", "0", "2", "0", "\"%Klane index must be a constant immediate\"", "\"%Ktotal size and element size must be a non-zero constant immediate\"", "1", "0", "0", "1", "1", "1" ]
aarch64-builtins3
aarch64_simd_expand_builtin
aarch64
CPU
GCC
3,443
409
1
[]
[ "<s>", "MCFixupKindInfo", "const", "&", "SNESAsmBackend", "::", "getFixupKindInfo", "(", "MCFixupKind", "Kind", ")", "const", "{", "const", "static", "MCFixupKindInfo", "Infos", "[", "SNES", "::", "NumTargetFixupKinds", "]", "=", "{", "{", "\"fixup_32\"", ",", "...
[ "Get", "information", "on", "a", "fixup", "kind", "." ]
[ "SNES", "SNES", "SNES::NumTargetFixupKinds", "\"fixup_32\"", "0", "32", "0", "\"fixup_7_pcrel\"", "3", "7", "\"fixup_13_pcrel\"", "0", "12", "\"fixup_16\"", "0", "16", "0", "\"fixup_16_pm\"", "0", "16", "0", "\"fixup_ldi\"", "0", "8", "0", "\"fixup_lo8_ldi\"", "0"...
SNESAsmBackend
getFixupKindInfo
SNES
DSP
LLVM
3,444
408
1
[]
[ "<s>", "static", "bool", "loongarch_hard_regno_mode_ok_uncached", "(", "unsigned", "int", "regno", ",", "machine_mode", "mode", ")", "{", "unsigned", "int", "size", ";", "enum", "mode_class", "mclass", ";", "if", "(", "mode", "==", "FCCmode", ")", "return", "F...
[ "Return", "true", "if", "register", "REGNO", "can", "store", "a", "value", "of", "mode", "MODE", ".", "The", "result", "of", "this", "function", "is", "cached", "in", "loongarch_hard_regno_mode_ok", "." ]
[ "loongarch", "1", "0" ]
loongarch
loongarch_hard_regno_mode_ok_uncached
loongarch
CPU
GCC
3,445
117
1
[]
[ "<s>", "bool", "SITargetLowering", "::", "isFMAFasterThanFMulAndFAdd", "(", "EVT", "VT", ")", "const", "{", "VT", "=", "VT", ".", "getScalarType", "(", ")", ";", "if", "(", "!", "VT", ".", "isSimple", "(", ")", ")", "return", "false", ";", "switch", "(...
[ "Return", "true", "if", "an", "FMA", "operation", "is", "faster", "than", "a", "pair", "of", "fmul", "and", "fadd", "instructions", "." ]
[ "AMDGPU", "SI", "MVT::f32", "MVT::f64", "MVT::f16" ]
SIISelLowering113
isFMAFasterThanFMulAndFAdd
AMDGPU
GPU
LLVM
3,446
94
1
[]
[ "<s>", "bool", "PPCInstrInfo", "::", "isReallyTriviallyReMaterializable", "(", "const", "MachineInstr", "&", "MI", ",", "AliasAnalysis", "*", "AA", ")", "const", "{", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "llvm_unreachable"...
[ "For", "instructions", "with", "opcodes", "for", "which", "the", "M_REMATERIALIZABLE", "flag", "is", "set", ",", "this", "hook", "lets", "the", "target", "specify", "whether", "the", "instruction", "is", "actually", "trivially", "rematerializable", ",", "taking", ...
[ "PowerPC", "PPC", "\"Unknown rematerializable operation!\"", "PPC::LI", "PPC::LI8", "PPC::PLI", "PPC::PLI8", "PPC::LIS", "PPC::LIS8", "PPC::ADDIStocHA", "PPC::ADDIStocHA8", "PPC::ADDItocL", "PPC::LOAD_STACK_GUARD", "PPC::XXLXORz", "PPC::XXLXORspz", "PPC::XXLXORdpz", "PPC::XXLEQVOnes"...
PPCInstrInfo28
isReallyTriviallyReMaterializable
PowerPC
CPU
LLVM
3,447
162
1
[]
[ "<s>", "bool", "ARM64InstrInfo", "::", "isLdStPairSuppressed", "(", "const", "MachineInstr", "*", "MI", ")", "const", "{", "assert", "(", "MOSuppressPair", "<", "(", "1", "<<", "MachineMemOperand", "::", "MOTargetNumBits", ")", "&&", "\"Too many target MO flags\"", ...
[ "Return", "true", "if", "pairing", "the", "given", "load", "or", "store", "is", "hinted", "to", "be", "unprofitable", "." ]
[ "ARM64", "ARM64", "1", "\"Too many target MO flags\"" ]
ARM64InstrInfo
isLdStPairSuppressed
ARM64
CPU
LLVM
3,448
66
1
[]
[ "<s>", "bool", "moxie_offset_address_p", "(", "rtx", "x", ")", "{", "x", "=", "XEXP", "(", "x", ",", "0", ")", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "PLUS", ")", "{", "x", "=", "XEXP", "(", "x", ",", "1", ")", ";", "if", "(", "GE...
[ "Return", "true", "for", "memory", "offset", "addresses", "between", "-32768", "and", "32767", "." ]
[ "moxie", "0", "1", "0xFFFF8000", "0xFFFF8000", "0x00000000", "0" ]
moxie
moxie_offset_address_p
moxie
CPU
GCC
3,449
73
1
[]
[ "<s>", "bool", "isReg", "(", ")", "const", "{", "return", "Kind", "==", "K_Register", ";", "}", "</s>" ]
[ "isReg", "-", "Is", "this", "a", "register", "operand", "?" ]
[ "Nyuzi" ]
NyuziAsmParser
isReg
Nyuzi
GPU
LLVM
3,450
12
1
[]
[ "<s>", "const", "CallLowering", "*", "ARMSubtarget", "::", "getCallLowering", "(", ")", "const", "{", "assert", "(", "GISel", "&&", "\"Access to GlobalISel APIs not set\"", ")", ";", "return", "GISel", "->", "getCallLowering", "(", ")", ";", "}", "</s>" ]
[ "Methods", "used", "by", "Global", "ISel", "." ]
[ "ARM", "ARM", "\"Access to GlobalISel APIs not set\"" ]
ARMSubtarget24
getCallLowering
ARM
CPU
LLVM
3,451
25
1
[]
[ "<s>", "bool", "shouldTrackLaneMasks", "(", ")", "const", "override", "{", "return", "false", ";", "}", "</s>" ]
[ "Returns", "true", "if", "lanemasks", "should", "be", "tracked", "." ]
[ "AMDGPU" ]
GCNIterativeScheduler (2)
shouldTrackLaneMasks
AMDGPU
GPU
LLVM
3,452
11
1
[]
[ "<s>", "void", "frv_expand_prologue", "(", "void", ")", "{", "frv_stack_t", "*", "info", "=", "frv_stack_info", "(", ")", ";", "rtx", "sp", "=", "stack_pointer_rtx", ";", "rtx", "fp", "=", "frame_pointer_rtx", ";", "frv_frame_accessor_t", "accessor", ";", "if"...
[ "Called", "after", "register", "allocation", "to", "add", "any", "instructions", "needed", "for", "the", "prologue", ".", "Using", "a", "prologue", "insn", "is", "favored", "compared", "to", "putting", "all", "of", "the", "instructions", "in", "the", "TARGET_A...
[ "frv", "0", "2048", "0", "0" ]
frv2
frv_expand_prologue
frv
VLIW
GCC
3,453
343
1
[]
[ "<s>", "BufferType", "::", "const_iterator", "begin", "(", ")", "const", "{", "return", "Buffer", ".", "begin", "(", ")", ";", "}", "</s>" ]
[ "Recipe", "iterator", "methods", "." ]
[ "M68k" ]
M68kDisassembler
begin
M68k
MPU
LLVM
3,454
16
1
[]
[ "<s>", "static", "bool", "isPairableLdStInst", "(", "const", "MachineInstr", "&", "MI", ")", "{", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "return", "false", ";", "case", "AArch64", "::", "STRSui", ":", "case", "AArch64"...
[ "Return", "true", "if", "pairing", "the", "given", "load", "or", "store", "may", "be", "paired", "with", "another", "." ]
[ "AArch64", "AArch64::STRSui", "AArch64::STRDui", "AArch64::STRQui", "AArch64::STRXui", "AArch64::STRWui", "AArch64::LDRSui", "AArch64::LDRDui", "AArch64::LDRQui", "AArch64::LDRXui", "AArch64::LDRWui", "AArch64::LDRSWui", "AArch64::STURSi", "AArch64::STURDi", "AArch64::STURQi", "AArch64...
AArch64InstrInfo (2)
isPairableLdStInst
AArch64
CPU
LLVM
3,455
139
1
[]
[ "<s>", "static", "bool", "aarch64_evpc_trn", "(", "struct", "expand_vec_perm_d", "*", "d", ")", "{", "unsigned", "int", "i", ",", "odd", ",", "mask", ",", "nelt", "=", "d", "->", "nelt", ";", "rtx", "out", ",", "in0", ",", "in1", ",", "x", ";", "rt...
[ "Recognize", "patterns", "suitable", "for", "the", "TRN", "instructions", "." ]
[ "aarch64", "8", "0", "0", "0", "0", "1", "1", "1", "2", "1", "0", "2", "1" ]
aarch642
aarch64_evpc_trn
aarch64
CPU
GCC
3,456
453
1
[]
[ "<s>", "char", "*", "aarch64_output_sve_inc_dec_immediate", "(", "const", "char", "*", "operands", ",", "rtx", "x", ")", "{", "int", "factor", ";", "unsigned", "int", "nelts_per_vq", ";", "if", "(", "!", "aarch64_sve_inc_dec_immediate_p", "(", "x", ",", "&", ...
[ "Return", "the", "asm", "template", "for", "an", "SVE", "vector", "INC", "or", "DEC", "instruction", ".", "OPERANDS", "gives", "the", "operands", "before", "the", "vector", "count", "and", "X", "is", "the", "value", "of", "the", "vector", "count", "operand...
[ "aarch64", "0", "\"dec\"", "\"inc\"" ]
aarch645
aarch64_output_sve_inc_dec_immediate
aarch64
CPU
GCC
3,457
71
1
[]
[ "<s>", "SDValue", "PTXTargetLowering", "::", "LowerFormalArguments", "(", "SDValue", "Chain", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "isVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "InputArg", ">", "&", "Ins", ",", "DebugLoc", ...
[ "This", "hook", "must", "be", "implemented", "to", "lower", "the", "incoming", "(", "formal", ")", "arguments", ",", "described", "by", "the", "Ins", "array", ",", "into", "the", "specified", "DAG", "." ]
[ "PTX", "PTX", "ISD::InputArg", "\"PTX does not support varargs\"", "PTX", "PTX", "PTX", "PTX", "PTX", "\"Unsupported calling convention\"", "PTX", "PTX", "0", "MVT::i1", "\"Kernels cannot take pred operands\"", "MVT::Other", "PTXISD::LOAD_PARAM", "0", "MVT::i32", "PTXISD::READ_...
PTXISelLowering
LowerFormalArguments
PTX
GPU
LLVM
3,458
408
1
[]
[ "<s>", "bool", "ix86_agi_dependent", "(", "rtx_insn", "*", "set_insn", ",", "rtx_insn", "*", "use_insn", ")", "{", "int", "i", ";", "extract_insn_cached", "(", "use_insn", ")", ";", "for", "(", "i", "=", "recog_data", ".", "n_operands", "-", "1", ";", "i...
[ "Return", "true", "iff", "USE_INSN", "has", "a", "memory", "address", "with", "operands", "set", "by", "SET_INSN", "." ]
[ "i386", "1", "0", "0", "0" ]
i3864
ix86_agi_dependent
i386
CPU
GCC
3,459
80
1
[]
[ "<s>", "bool", "requiresRegisterScavenging", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "return", "true", ";", "}", "</s>" ]
[ "Returns", "true", "if", "the", "target", "requires", "(", "and", "can", "make", "use", "of", ")", "the", "register", "scavenger", "." ]
[ "PowerPC" ]
PPCRegisterInfo16
requiresRegisterScavenging
PowerPC
CPU
LLVM
3,460
14
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::I32RegClass", "WebAssembly::COPY_LOCAL_I32", "WebAssembly::I64RegClass", "WebAssembly::COPY_LOCAL_I64", "WebAssembly::F32RegClass", "WebAssembly::COPY_LOCAL_F32", "WebAssembly::F64RegClass", "WebAssembly::COPY_LOCAL_F64", "\"Unexpected register class\"...
WebAssemblyInstrInfo (2)
copyPhysReg
WebAssembly
Virtual ISA
LLVM
3,461
174
1
[]
[ "<s>", "unsigned", "MipsMCCodeEmitter", "::", "getMachineOpValue", "(", "const", "MCInst", "&", "MI", ",", "const", "MCOperand", "&", "MO", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", ...
[ "getMachineOpValue", "-", "Return", "binary", "encoding", "of", "operand", "." ]
[ "Mips", "Mips", "32" ]
MipsMCCodeEmitter (2)
getMachineOpValue
Mips
CPU
LLVM
3,462
153
1
[]
[ "<s>", "ScheduleHazardRecognizer", "::", "HazardType", "SystemZHazardRecognizer", "::", "getHazardType", "(", "SUnit", "*", "m", ",", "int", "Stalls", ")", "{", "return", "(", "fitsIntoCurrentGroup", "(", "m", ")", "?", "NoHazard", ":", "Hazard", ")", ";", "}"...
[ "getHazardType", "-", "Return", "the", "hazard", "type", "of", "emitting", "this", "node", "." ]
[ "SystemZ", "SystemZ" ]
SystemZHazardRecognizer
getHazardType
SystemZ
CPU
LLVM
3,463
28
1
[]
[ "<s>", "bool", "R600InstrInfo", "::", "PredicateInstruction", "(", "MachineInstr", "*", "MI", ",", "const", "SmallVectorImpl", "<", "MachineOperand", ">", "&", "Pred", ")", "const", "{", "int", "PIdx", "=", "MI", "->", "findFirstPredOperandIdx", "(", ")", ";",...
[ "Convert", "the", "instruction", "into", "a", "predicated", "instruction", "." ]
[ "R600", "8", "0", "1", "2" ]
R600InstrInfo13
PredicateInstruction
R600
GPU
LLVM
3,464
128
1
[]
[ "<s>", "unsigned", "MipsInstrInfo", "::", "getGlobalBaseReg", "(", "MachineFunction", "*", "MF", ")", "const", "{", "MipsFunctionInfo", "*", "MipsFI", "=", "MF", "->", "getInfo", "<", "MipsFunctionInfo", ">", "(", ")", ";", "unsigned", "GlobalBaseReg", "=", "M...
[ "getGlobalBaseReg", "-", "Return", "a", "virtual", "register", "initialized", "with", "the", "the", "global", "base", "register", "value", "." ]
[ "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "0", "Mips::CPURegsRegisterClass", "Mips::GP", "Mips::GP", "Mips" ]
MipsInstrInfo11
getGlobalBaseReg
Mips
CPU
LLVM
3,465
148
1
[]
[ "<s>", "virtual", "bool", "requiresRegisterScavenging", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "return", "true", ";", "}", "</s>" ]
[ "Returns", "true", "if", "the", "target", "requires", "(", "and", "can", "make", "use", "of", ")", "the", "register", "scavenger", "." ]
[ "CellSPU" ]
SPURegisterInfo
requiresRegisterScavenging
CellSPU
MPU
LLVM
3,466
15
1
[]
[ "<s>", "int", "call26_operand", "(", "rtx", "op", ",", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "flag_pic", ")", "return", "1", ";", "if", "(", "GET_CODE", "(", "op", ")", "==", "SYMBOL_REF", ")", "return", "SYMBOL_REF_MODEL", "(", ...
[ "Return", "1", "if", "OP", "is", "a", "function", "that", "can", "be", "called", "with", "the", "`", "bl", "'", "insn", "." ]
[ "m32r", "1" ]
m32r
call26_operand
m32r
MPU
GCC
3,467
39
1
[]
[ "<s>", "MachineBasicBlock", "::", "iterator", "WebAssemblyFrameLowering", "::", "eliminateCallFramePseudoInstr", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ")", "const", "{", "assert", "(",...
[ "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", ")", "." ]
[ "WebAssembly", "WebAssembly", "0", "\"Call frame pseudos should only be used for dynamic stack adjustment\"", "WebAssembly", "WebAssembly::SP32" ]
WebAssemblyFrameLowering21
eliminateCallFramePseudoInstr
WebAssembly
Virtual ISA
LLVM
3,468
125
1
[]
[ "<s>", "bool", "WebAssemblyRegNumbering", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"********** Register Numbering **********\\n\"", "\"********** Function: \"", "<<", "MF", ".", "getName", "(", ...
[ "runOnMachineFunction", "-", "Emit", "the", "function", "body", "." ]
[ "WebAssembly", "WebAssembly", "\"********** Register Numbering **********\\n\"", "\"********** Function: \"", "WebAssembly", "WebAssembly", "WebAssembly::ARGUMENT_I32", "WebAssembly::ARGUMENT_I64", "WebAssembly::ARGUMENT_F32", "WebAssembly::ARGUMENT_F64", "0", "1", "0", "0", "WebAssembly...
WebAssemblyRegNumbering14
runOnMachineFunction
WebAssembly
Virtual ISA
LLVM
3,469
238
1
[]
[ "<s>", "void", "TOYFrameLowering", "::", "emitPrologue", "(", "MachineFunction", "&", "MF", ")", "const", "{", "const", "TOYInstrInfo", "&", "TII", "=", "*", "static_cast", "<", "const", "TOYInstrInfo", "*", ">", "(", "MF", ".", "getTarget", "(", ")", ".",...
[ "emitProlog/emitEpilog", "-", "These", "methods", "insert", "prolog", "and", "epilog", "code", "into", "the", "function", "." ]
[ "TOY", "TOY", "TOY", "TOY", "TOY::ADDri", "TOY::SP", "TOY::SP" ]
TOYFrameLowering
emitPrologue
TOY
CPU
LLVM
3,470
134
1
[]
[ "<s>", "bool", "Error", "(", "SMLoc", "L", ",", "const", "Twine", "&", "Msg", ")", "{", "return", "Parser", ".", "Error", "(", "L", ",", "Msg", ")", ";", "}", "</s>" ]
[ "Return", "an", "error", "at", "the", "location", "L", ",", "with", "the", "message", "Msg", "." ]
[ "Hexagon" ]
HexagonAsmParser (2)
Error
Hexagon
DSP
LLVM
3,471
23
1
[]
[ "<s>", "void", "relaxInstruction", "(", "const", "MCInst", "&", "Inst", ",", "const", "MCSubtargetInfo", "&", "STI", ",", "MCInst", "&", "Res", ")", "const", "override", "{", "llvm_unreachable", "(", "\"CJGAsmBackend::relaxInstruction() unimplemented\"", ")", ";", ...
[ "Relax", "the", "instruction", "in", "the", "given", "fragment", "to", "the", "next", "wider", "instruction", "." ]
[ "CJG", "\"CJGAsmBackend::relaxInstruction() unimplemented\"" ]
CJGAsmBackend
relaxInstruction
CJG
CPU
LLVM
3,472
26
1
[]
[ "<s>", "unsigned", "getNumFixupKinds", "(", ")", "const", "override", "{", "return", "Sparc", "::", "NumTargetFixupKinds", ";", "}", "</s>" ]
[ "Get", "the", "number", "of", "target", "specific", "fixup", "kinds", "." ]
[ "Sparc", "Sparc::NumTargetFixupKinds" ]
SparcAsmBackend
getNumFixupKinds
Sparc
CPU
LLVM
3,473
13
1
[]
[ "<s>", "SDValue", "NVPTXTargetLowering", "::", "PerformDAGCombine", "(", "SDNode", "*", "N", ",", "DAGCombinerInfo", "&", "DCI", ")", "const", "{", "CodeGenOpt", "::", "Level", "OptLevel", "=", "getTargetMachine", "(", ")", ".", "getOptLevel", "(", ")", ";", ...
[ "This", "method", "will", "be", "invoked", "for", "all", "target", "nodes", "and", "for", "any", "target-independent", "nodes", "that", "the", "target", "has", "registered", "with", "invoke", "it", "for", "." ]
[ "NVPTX", "NVPTX", "ISD::ADD", "ISD::FADD", "ISD::MUL", "ISD::SHL", "ISD::AND", "ISD::UREM", "ISD::SREM", "ISD::SETCC", "NVPTXISD::StoreRetval", "NVPTXISD::StoreRetvalV2", "NVPTXISD::StoreRetvalV4" ]
NVPTXISelLowering39
PerformDAGCombine
NVPTX
GPU
LLVM
3,474
167
1
[]
[ "<s>", "static", "void", "alpha_print_operand_address", "(", "FILE", "*", "file", ",", "machine_mode", ",", "rtx", "addr", ")", "{", "int", "basereg", "=", "31", ";", "HOST_WIDE_INT", "offset", "=", "0", ";", "if", "(", "GET_CODE", "(", "addr", ")", "=="...
[ "Implement", "TARGET_PRINT_OPERAND_ADDRESS", "." ]
[ "alpha", "31", "0", "0", "1", "1", "0", "1", "0", "0", "1", "16", "\"dtprel\"", "\"dtprello\"", "16", "\"tprel\"", "\"tprello\"", "\"unknown relocation unspec\"", "0", "0", "\"gprel\"", "\"gprellow\"", "\"+\"", "0", "\"($%d)\\t\\t!%s\"", "29", "\"%s\"", "0", "...
alpha
alpha_print_operand_address
alpha
MPU
GCC
3,475
499
1
[]
[ "<s>", "const", "TargetRegisterClass", "*", "M68kRegisterInfo", "::", "getRegsForTailCall", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "return", "&", "M68k", "::", "XR32_TCRegClass", ";", "}", "</s>" ]
[ "Returns", "a", "register", "class", "with", "registers", "that", "can", "be", "used", "in", "forming", "tail", "calls", "." ]
[ "M68k", "M68k", "M68k::XR32_TCRegClass" ]
M68kRegisterInfo
getRegsForTailCall
M68k
MPU
LLVM
3,476
21
1
[]
[ "<s>", "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "F", ")", "{", "bool", "Changed", "=", "false", ";", "if", "(", "EnableDelJmp", ")", "{", "MachineFunction", "::", "iterator", "FJ", "=", "F", ".", "begin", "(", ")", ";", "if", "(", "...
[ "runOnMachineFunction", "-", "Emit", "the", "function", "body", "." ]
[ "SIC" ]
SICDelUselessJMP
runOnMachineFunction
SIC
CPU
LLVM
3,477
102
1
[]
[ "<s>", "void", "AMDGPUAsmPrinter", "::", "emitStartOfAsmFile", "(", "Module", "&", "M", ")", "{", "IsTargetStreamerInitialized", "=", "false", ";", "}", "</s>" ]
[ "This", "virtual", "method", "can", "be", "overridden", "by", "targets", "that", "want", "to", "emit", "something", "at", "the", "start", "of", "their", "file", "." ]
[ "AMDGPU", "AMDGPU" ]
AMDGPUAsmPrinter51
emitStartOfAsmFile
AMDGPU
GPU
LLVM
3,478
15
1
[]
[ "<s>", "bool", "MipsAsmPrinter", "::", "PrintAsmOperand", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpNum", ",", "unsigned", "AsmVariant", ",", "const", "char", "*", "ExtraCode", ",", "raw_ostream", "&", "O", ")", "{", "if", "(", "ExtraCode"...
[ "PrintAsmOperand", "-", "Print", "out", "an", "operand", "for", "an", "inline", "asm", "expression", "." ]
[ "Mips", "Mips", "0", "1", "0", "0", "\"0x\"", "\"0x\"", "0xffff", "1", "\"$0\"" ]
MipsAsmPrinter24
PrintAsmOperand
Mips
CPU
LLVM
3,479
298
1
[]
[ "<s>", "MachineBasicBlock", "::", "iterator", "PatmosFrameLowering", "::", "eliminateCallFramePseudoInstr", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ")", "const", "{", "const", "TargetIns...
[ "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", ")", "." ]
[ "Patmos", "Patmos", "0", "Patmos::ADJCALLSTACKDOWN", "0xFFF", "Patmos::SUBi", "Patmos::SUBl", "Patmos::ADJCALLSTACKUP", "0xFFF", "Patmos::ADDi", "Patmos::ADDl", "\"Unsupported pseudo instruction.\"", "Patmos::RSP", "Patmos::RSP" ]
PatmosFrameLowering1
eliminateCallFramePseudoInstr
Patmos
VLIW
LLVM
3,480
193
1
[]
[ "<s>", "static", "void", "v850_insert_attributes", "(", "tree", "decl", ",", "tree", "*", "attr_ptr", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "data_area_stack", "&&", "data_area_stack", "->", "data_area", "&&", "current_function_decl", "==", "NULL_TREE", "&&", "(...
[ "Add", "data", "area", "to", "the", "given", "declaration", "if", "a", "ghs", "data", "area", "pragma", "is", "currently", "in", "effect", "(", "#", "pragma", "ghs", "startXXX/endXXX", ")", "." ]
[ "v850", "\".sdata\"", "1", "\".sdata\"", "\".rosdata\"", "1", "\".rosdata\"", "\".tdata\"", "1", "\".tdata\"", "\".zdata\"", "1", "\".zdata\"", "\".rozdata\"", "1", "\".rozdata\"" ]
v8503
v850_insert_attributes
v850
MPU
GCC
3,481
381
1
[]
[ "<s>", "SDValue", "MipsSETargetLowering", "::", "LowerOperation", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "case", "ISD", "::", "SMUL_LOHI", ":", "return", "lowerMu...
[ "LowerOperation", "-", "Provide", "custom", "lowering", "hooks", "for", "some", "operations", "." ]
[ "Mips", "Mips", "ISD::SMUL_LOHI", "MipsISD::Mult", "ISD::UMUL_LOHI", "MipsISD::Multu", "ISD::MULHS", "MipsISD::Mult", "ISD::MULHU", "MipsISD::Multu", "ISD::MUL", "MipsISD::Mult", "ISD::SDIVREM", "MipsISD::DivRem", "ISD::UDIVREM", "MipsISD::DivRemU", "ISD::INTRINSIC_WO_CHAIN", "ISD:...
MipsSEISelLowering17
LowerOperation
Mips
CPU
LLVM
3,482
208
1
[]
[ "<s>", "unsigned", "SparcRegisterInfo", "::", "eliminateFrameIndex", "(", "MachineBasicBlock", "::", "iterator", "II", ",", "int", "SPAdj", ",", "FrameIndexValue", "*", "Value", ",", "RegScavenger", "*", "RS", ")", "const", "{", "assert", "(", "SPAdj", "==", "...
[ "This", "method", "must", "be", "overriden", "to", "eliminate", "abstract", "frame", "indices", "from", "instructions", "which", "may", "use", "them", "." ]
[ "Sparc", "Sparc", "SP", "SP", "0", "\"Unexpected\"", "0", "\"Instr doesn't have FrameIndex operand!\"", "1", "4096", "4095", "SP::I6", "1", "10U", "SP::SETHIi", "SP::G1", "SP::ADDrr", "SP::G1", "SP::G1", "SP::I6", "SP::G1", "1", "1", "10", "1", "0" ]
SparcRegisterInfo3
eliminateFrameIndex
Sparc
CPU
LLVM
3,483
314
1
[]
[ "<s>", "unsigned", "XCoreRegisterInfo", "::", "getFrameRegister", "(", "MachineFunction", "&", "MF", ")", "const", "{", "bool", "FP", "=", "hasFP", "(", "MF", ")", ";", "return", "FP", "?", "XCore", "::", "R10", ":", "XCore", "::", "SP", ";", "}", "</s...
[ "Debug", "information", "queries", "." ]
[ "XCore", "XCore", "XCore::R10", "XCore::SP" ]
XCoreRegisterInfo11
getFrameRegister
XCore
MPU
LLVM
3,484
31
1
[]
[ "<s>", "int", "pru_get_ctable_exact_base_index", "(", "unsigned", "HOST_WIDE_INT", "caddr", ")", "{", "unsigned", "int", "i", ";", "for", "(", "i", "=", "0", ";", "i", "<", "ARRAY_SIZE", "(", "pru_ctable", ")", ";", "i", "++", ")", "{", "if", "(", "pru...
[ "Recognize", "a", "CTABLE", "base", "address", ".", "Return", "CTABLE", "entry", "index", ",", "or", "-1", "if", "base", "was", "not", "found", "in", "the", "pragma-filled", "pru_ctable", "." ]
[ "pru", "0", "1" ]
pru
pru_get_ctable_exact_base_index
pru
CPU
GCC
3,485
56
1
[]
[ "<s>", "void", "ScheduleDAGPostRA", "::", "scheduleMI", "(", "SUnit", "*", "SU", ",", "bool", "IsTopNode", ",", "bool", "IsBundled", ")", "{", "MachineInstr", "*", "MI", "=", "SU", "?", "SU", "->", "getInstr", "(", ")", ":", "NULL", ";", "if", "(", "...
[ "Move", "an", "instruction", "and", "update", "register", "pressure", "." ]
[ "Patmos", "\"node still has unscheduled dependencies\"", "\"Pick top node SU(\"", "\") \"", "\" ILP: \"", "\" Tree: \"", "\" @\"", "\"Scheduling \"", "\"Scheduling NOOP at top\\n\"", "\"node still has unscheduled dependencies\"", "\"Pick bottom node SU(\"", "\") \"", "\" ILP: \"", "\" Tree...
PatmosPostRAScheduler
scheduleMI
Patmos
VLIW
LLVM
3,486
372
1
[]
[ "<s>", "const", "char", "*", "getPassName", "(", ")", "const", "override", "{", "return", "\"R600 Packetizer\"", ";", "}", "</s>" ]
[ "getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "." ]
[ "AMDGPU", "\"R600 Packetizer\"" ]
R600Packetizer1
getPassName
AMDGPU
GPU
LLVM
3,487
13
1
[]
[ "<s>", "bool", "OpenRISCFrameLowering", "::", "hasFP", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "return", "(", "MF", ".", "getTarget", "(", ")", ...
[ "hasFP", "-", "Return", "true", "if", "the", "specified", "function", "should", "have", "a", "dedicated", "frame", "pointer", "register", "." ]
[ "OpenRISC", "OpenRISC" ]
OpenRISCFrameLowering
hasFP
OpenRISC
CPU
LLVM
3,488
56
1
[]
[ "<s>", "bool", "MipsRegisterInfo", "::", "requiresRegisterScavenging", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "return", "true", ";", "}", "</s>" ]
[ "Returns", "true", "if", "the", "target", "requires", "(", "and", "can", "make", "use", "of", ")", "the", "register", "scavenger", "." ]
[ "Mips", "Mips" ]
MipsRegisterInfo (2)1
requiresRegisterScavenging
Mips
CPU
LLVM
3,489
16
1
[]
[ "<s>", "unsigned", "getOpSize", "(", "const", "MachineInstr", "&", "MI", ",", "unsigned", "OpNo", ")", "const", "{", "const", "MachineOperand", "&", "MO", "=", "MI", ".", "getOperand", "(", "OpNo", ")", ";", "if", "(", "MO", ".", "isReg", "(", ")", "...
[ "This", "form", "should", "usually", "be", "preferred", "since", "it", "handles", "operands", "with", "unknown", "register", "classes", "." ]
[ "AMDGPU", "32", "\"Sub-dword subregs are not supported\"", "4", "8" ]
SIInstrInfo101
getOpSize
AMDGPU
GPU
LLVM
3,490
122
1
[]
[ "<s>", "virtual", "const", "PPCFrameInfo", "*", "getFrameInfo", "(", ")", "const", "{", "return", "&", "FrameInfo", ";", "}", "</s>" ]
[ "getFrameInfo", "-", "Return", "the", "frame", "info", "object", "for", "the", "current", "function", "." ]
[ "PowerPC", "PPC" ]
PPCTargetMachine11
getFrameInfo
PowerPC
CPU
LLVM
3,491
14
1
[]
[ "<s>", "bool", "ARMBaseInstrInfo", "::", "reverseBranchCondition", "(", "SmallVectorImpl", "<", "MachineOperand", ">", "&", "Cond", ")", "const", "{", "if", "(", "Cond", ".", "size", "(", ")", "==", "2", ")", "{", "ARMCC", "::", "CondCodes", "CC", "=", "...
[ "Reverses", "the", "branch", "condition", "of", "the", "specified", "condition", "list", ",", "returning", "false", "on", "success", "and", "true", "if", "it", "can", "not", "be", "reversed", "." ]
[ "ARM", "ARM", "2", "ARMCC::CondCodes", "ARMCC::CondCodes", "0", "0", "ARMCC::getOppositeCondition" ]
ARMBaseInstrInfo70
reverseBranchCondition
ARM
CPU
LLVM
3,492
70
1
[]
[ "<s>", "SDNode", "*", "HexagonDAGToDAGISel", "::", "Select", "(", "SDNode", "*", "N", ")", "{", "if", "(", "N", "->", "isMachineOpcode", "(", ")", ")", "return", "NULL", ";", "switch", "(", "N", "->", "getOpcode", "(", ")", ")", "{", "case", "ISD", ...
[ "Main", "hook", "for", "targets", "to", "transform", "nodes", "into", "machine", "nodes", "." ]
[ "Hexagon", "Hexagon", "ISD::Constant", "ISD::ConstantFP", "ISD::ADD", "ISD::SHL", "ISD::LOAD", "ISD::STORE", "ISD::SELECT", "ISD::TRUNCATE", "ISD::MUL", "ISD::ZERO_EXTEND", "ISD::INTRINSIC_WO_CHAIN" ]
HexagonISelDAGToDAG13
Select
Hexagon
DSP
LLVM
3,493
160
1
[]
[ "<s>", "bool", "isFI", "(", ")", "const", "{", "return", "isImmTy", "(", "ImmTyDppFi", ")", ";", "}", "</s>" ]
[ "isFI", "-", "Tests", "if", "this", "is", "a", "MO_FrameIndex", "operand", "." ]
[ "AMDGPU" ]
AMDGPUAsmParser1
isFI
AMDGPU
GPU
LLVM
3,494
13
1
[]
[ "<s>", "static", "void", "frv_insert_nop_in_packet", "(", "rtx_insn", "*", "insn", ")", "{", "struct", "frv_packet_group", "*", "packet_group", ";", "rtx_insn", "*", "last", ";", "packet_group", "=", "&", "frv_packet", ".", "groups", "[", "frv_unit_groups", "[",...
[ "Insert", "INSN", "(", "a", "member", "of", "frv_nops", "[", "]", ")", "into", "the", "current", "packet", ".", "If", "the", "packet", "ends", "in", "a", "branch", "or", "call", ",", "insert", "the", "nop", "before", "it", ",", "otherwise", "add", "t...
[ "frv", "1", "1" ]
frv
frv_insert_nop_in_packet
frv
VLIW
GCC
3,495
134
1
[]
[ "<s>", "bool", "x86_extended_QIreg_mentioned_p", "(", "rtx", "insn", ")", "{", "int", "i", ";", "extract_insn_cached", "(", "insn", ")", ";", "for", "(", "i", "=", "0", ";", "i", "<", "recog_data", ".", "n_operands", ";", "i", "++", ")", "if", "(", "...
[ "Return", "nonzero", "when", "QImode", "register", "that", "must", "be", "represented", "via", "REX", "prefix", "is", "used", "." ]
[ "i386", "0", "4" ]
i3863
x86_extended_QIreg_mentioned_p
i386
CPU
GCC
3,496
61
1
[]
[ "<s>", "static", "bool", "mips_return_in_memory", "(", "const_tree", "type", ",", "const_tree", "fndecl", "ATTRIBUTE_UNUSED", ")", "{", "return", "(", "TARGET_OLDABI", "?", "TYPE_MODE", "(", "type", ")", "==", "BLKmode", ":", "!", "IN_RANGE", "(", "int_size_in_b...
[ "Implement", "TARGET_RETURN_IN_MEMORY", ".", "Under", "the", "old", "(", "i.e.", ",", "32", "and", "O64", "ABIs", ")", "all", "BLKmode", "objects", "are", "returned", "in", "memory", ".", "Under", "the", "new", "(", "N32", "and", "64-bit", "MIPS", "ABIs", ...
[ "mips", "0", "2" ]
mips4
mips_return_in_memory
mips
CPU
GCC
3,497
40
1
[]
[ "<s>", "void", "MipsRegisterInfo", "::", "processFunctionBeforeFrameFinalized", "(", "MachineFunction", "&", "MF", ")", "const", "{", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "MipsFunctionInfo", "*", "MipsFI", "=", "MF", "."...
[ "processFunctionBeforeFrameFinalized", "-", "This", "method", "is", "called", "immediately", "before", "the", "specified", "function", "'s", "frame", "layout", "(", "MF.getFrameInfo", "(", ")", ")", "is", "finalized", "." ]
[ "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips" ]
MipsRegisterInfo14
processFunctionBeforeFrameFinalized
Mips
CPU
LLVM
3,498
60
1
[]
[ "<s>", "bool", "quad_address_p", "(", "rtx", "addr", ",", "machine_mode", "mode", ",", "bool", "strict", ")", "{", "rtx", "op0", ",", "op1", ";", "if", "(", "GET_MODE_SIZE", "(", "mode", ")", "<", "16", ")", "return", "false", ";", "if", "(", "legiti...
[ "Return", "true", "if", "the", "ADDR", "is", "an", "acceptable", "address", "for", "a", "quad", "memory", "operation", "of", "mode", "MODE", "(", "either", "LQ/STQ", "for", "general", "purpose", "registers", ",", "or", "LXV/STXV", "for", "vector", "registers...
[ "rs6000", "16", "0", "1" ]
rs6000
quad_address_p
rs6000
CPU
GCC
3,499
142
1
[]