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>", "unsigned", "getNumFixupKinds", "(", ")", "const", "override", "{", "return", "OR1K", "::", "NumTargetFixupKinds", ";", "}", "</s>" ]
[ "Get", "the", "number", "of", "target", "specific", "fixup", "kinds", "." ]
[ "OR1K", "OR1K::NumTargetFixupKinds" ]
OR1KAsmBackend1
getNumFixupKinds
OR1K
CPU
LLVM
8,400
13
1
[]
[ "<s>", "unsigned", "X86InstrInfo", "::", "isStoreToStackSlotPostFE", "(", "const", "MachineInstr", "*", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "if", "(", "isFrameStoreOpcode", "(", "MI", "->", "getOpcode", "(", ")", ")", ")", "{", "unsigned"...
[ "isStoreToStackSlotPostFE", "-", "Check", "for", "post-frame", "ptr", "elimination", "stack", "locations", "as", "well", "." ]
[ "X86", "X86", "0" ]
X86InstrInfo (2)
isStoreToStackSlotPostFE
X86
CPU
LLVM
8,401
67
1
[]
[ "<s>", "DFAPacketizer", "*", "HexagonInstrInfo", "::", "CreateTargetScheduleState", "(", "const", "TargetMachine", "*", "TM", ",", "const", "ScheduleDAG", "*", "DAG", ")", "const", "{", "const", "InstrItineraryData", "*", "II", "=", "TM", "->", "getSubtargetImpl",...
[ "Create", "machine", "specific", "model", "for", "scheduling", "." ]
[ "Hexagon", "Hexagon", "Hexagon" ]
HexagonInstrInfo74
CreateTargetScheduleState
Hexagon
DSP
LLVM
8,402
49
1
[]
[ "<s>", "static", "bool", "mips_mult_move_p", "(", "rtx", "dest", ",", "rtx", "src", ",", "enum", "mips_split_type", "split_type", ")", "{", "return", "(", "(", "split_type", "!=", "SPLIT_FOR_SPEED", "||", "mips_tuning_info", ".", "fast_mult_zero_zero_p", ")", "&...
[ "Return", "true", "if", "SRC", "should", "be", "moved", "into", "DEST", "using", "``", "MULT", "$", "0", ",", "$", "0", "''", ".", "SPLIT_TYPE", "is", "the", "condition", "under", "which", "moves", "should", "be", "split", "." ]
[ "mips", "2" ]
mips
mips_mult_move_p
mips
CPU
GCC
8,403
70
1
[]
[ "<s>", "bool", "AArch64TargetLowering", "::", "isProfitableToHoist", "(", "Instruction", "*", "I", ")", "const", "{", "if", "(", "I", "->", "getOpcode", "(", ")", "!=", "Instruction", "::", "FMul", ")", "return", "true", ";", "if", "(", "I", "->", "getNu...
[ "Return", "true", "if", "it", "is", "profitable", "to", "hoist", "instruction", "in", "the", "then/else", "to", "before", "if", "." ]
[ "AArch64", "AArch64", "1", "0", "ISD::FMA" ]
AArch64ISelLowering (2)
isProfitableToHoist
AArch64
CPU
LLVM
8,404
157
1
[]
[ "<s>", "static", "rtx", "ft32_function_arg", "(", "cumulative_args_t", "cum_v", ",", "const", "function_arg_info", "&", "arg", ")", "{", "CUMULATIVE_ARGS", "*", "cum", "=", "get_cumulative_args", "(", "cum_v", ")", ";", "if", "(", "*", "cum", "<", "8", ")", ...
[ "Return", "the", "next", "register", "to", "be", "used", "to", "hold", "a", "function", "argument", "or", "NULL_RTX", "if", "there", "'s", "no", "more", "space", "." ]
[ "ft32", "8" ]
ft32
ft32_function_arg
ft32
MPU
GCC
8,405
45
1
[]
[ "<s>", "void", "AMDGPUTargetELFStreamer", "::", "finish", "(", ")", "{", "std", "::", "string", "Blob", ";", "const", "char", "*", "Vendor", "=", "getPALMetadata", "(", ")", "->", "getVendor", "(", ")", ";", "unsigned", "Type", "=", "getPALMetadata", "(", ...
[ "finish", "-", "after", "all", "the", "new", "live", "ranges", "have", "been", "created", ",", "compute", "the", "remaining", "live", "range", ",", "and", "rewrite", "instructions", "to", "use", "the", "new", "registers", "." ]
[ "AMDGPU", "AMDGPU" ]
AMDGPUTargetStreamer
finish
AMDGPU
GPU
LLVM
8,406
98
1
[]
[ "<s>", "MachinePointerInfo", "MipsFunctionInfo", "::", "callPtrInfo", "(", "const", "GlobalValue", "*", "Val", ")", "{", "std", "::", "unique_ptr", "<", "const", "MipsCallEntry", ">", "&", "E", "=", "GlobalCallEntries", "[", "Val", "]", ";", "if", "(", "!", ...
[ "Create", "a", "MachinePointerInfo", "that", "has", "a", "GlobalValuePseudoSourceValue", "object", "representing", "a", "GOT", "entry", "for", "a", "global", "function", "." ]
[ "Mips", "Mips", "Mips", "Mips" ]
MipsMachineFunction30
callPtrInfo
Mips
CPU
LLVM
8,407
54
1
[]
[ "<s>", "void", "SparcRegisterInfo", "::", "emitPrologue", "(", "MachineFunction", "&", "MF", ")", "const", "{", "MachineBasicBlock", "&", "MBB", "=", "MF", ".", "front", "(", ")", ";", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")...
[ "emitProlog/emitEpilog", "-", "These", "methods", "insert", "prolog", "and", "epilog", "code", "into", "the", "function", "." ]
[ "Sparc", "Sparc", "92", "7", "7", "4096", "SP::SAVEri", "SP::O6", "SP::O6", "10U", "SP::SETHIi", "SP::G1", "SP::ORri", "SP::G1", "SP::G1", "1", "10", "1", "SP::SAVErr", "SP::O6", "SP::O6", "SP::G1" ]
SparcRegisterInfo12
emitPrologue
Sparc
CPU
LLVM
8,408
259
1
[]
[ "<s>", "static", "bool", "needs_frame_header_p", "(", "function", "*", "fn", ")", "{", "tree", "t", ";", "if", "(", "fn", "->", "decl", "==", "NULL", ")", "return", "true", ";", "if", "(", "fn", "->", "stdarg", ")", "return", "true", ";", "for", "(...
[ "Return", "true", "if", "this", "function", "will", "use", "the", "stack", "space", "allocated", "by", "its", "caller", "or", "if", "we", "can", "not", "determine", "for", "certain", "that", "it", "does", "not", "." ]
[ "mips" ]
frame-header-opt
needs_frame_header_p
mips
CPU
GCC
8,409
81
1
[]
[ "<s>", "bool", "HexagonAsmPrinter", "::", "PrintAsmMemoryOperand", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpNo", ",", "unsigned", "AsmVariant", ",", "const", "char", "*", "ExtraCode", ",", "raw_ostream", "&", "O", ")", "{", "if", "(", "Ex...
[ "Print", "the", "specified", "operand", "of", "MI", ",", "an", "INLINEASM", "instruction", ",", "using", "the", "specified", "assembler", "variant", "as", "an", "address", "." ]
[ "Hexagon", "Hexagon", "0", "1", "\"Unimplemented\"", "\" + #\"", "\"Unimplemented\"" ]
HexagonAsmPrinter (2)
PrintAsmMemoryOperand
Hexagon
DSP
LLVM
8,410
125
1
[]
[ "<s>", "const", "char", "*", "mcore_output_cmov", "(", "rtx", "operands", "[", "]", ",", "int", "cmp_t", ",", "const", "char", "*", "test", ")", "{", "int", "load_value", ";", "int", "adjust_value", ";", "rtx", "out_operands", "[", "4", "]", ";", "out_...
[ "Output", "a", "conditional", "move", "of", "two", "constants", "that", "are", "+/-", "1", "within", "each", "other", ".", "See", "the", "``", "movtK", "''", "patterns", "in", "mcore.md", ".", "I", "'m", "not", "sure", "this", "is", "really", "worth", ...
[ "mcore", "4", "0", "0", "1", "1", "1", "2", "2", "2", "1", "2", "2", "1", "0", "1", "2", "0", "127", "\"movi\\t%0,%1\"", "1", "0", "\"bgeni\\t%0,%P1\"", "1", "0", "\"bmaski\\t%0,%N1\"", "\"decf\\t%0\"", "\"dect\\t%0\"", "\"incf\\t%0\"", "\"inct\\t%0\"", "\...
mcore3
mcore_output_cmov
mcore
MPU
GCC
8,411
265
1
[]
[ "<s>", "SDNode", "*", "SITargetLowering", "::", "PostISelFolding", "(", "MachineSDNode", "*", "Node", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "const", "SIInstrInfo", "*", "TII", "=", "getSubtarget", "(", ")", "->", "getInstrInfo", "(", ")", ";", ...
[ "Fold", "the", "instructions", "after", "selecting", "them", "." ]
[ "AMDGPU", "SI", "SI", "AMDGPU::INSERT_SUBREG", "AMDGPU::REG_SEQUENCE", "AMDGPU::V_DIV_SCALE_F32", "AMDGPU::V_DIV_SCALE_F64", "0", "1", "2", "AMDGPU::IMPLICIT_DEF", "AMDGPU::IMPLICIT_DEF", "AMDGPU::IMPLICIT_DEF", "AMDGPU::IMPLICIT_DEF", "AMDGPU::IMPLICIT_DEF", "4", "3", "1" ]
SIISelLowering103
PostISelFolding
AMDGPU
GPU
LLVM
8,412
457
1
[]
[ "<s>", "void", "MipsTargetLowering", "::", "getOpndList", "(", "SmallVectorImpl", "<", "SDValue", ">", "&", "Ops", ",", "std", "::", "deque", "<", "std", "::", "pair", "<", "unsigned", ",", "SDValue", ">", ">", "&", "RegsToPass", ",", "bool", "IsPICCall", ...
[ "This", "function", "fills", "Ops", ",", "which", "is", "the", "list", "of", "operands", "that", "will", "later", "be", "used", "when", "a", "function", "call", "node", "is", "created", "." ]
[ "Mips", "Mips", "Mips::GP_64", "Mips::GP", "MVT::i64", "MVT::i32", "0", "1", "0", "\"Missing call preserved mask for calling convention\"", "Mips", "\"__Mips16RetHelper\"", "Mips", "Mips" ]
MipsISelLowering (2)5
getOpndList
Mips
CPU
LLVM
8,413
390
1
[]
[ "<s>", "FastISel", "*", "ARM64TargetLowering", "::", "createFastISel", "(", "FunctionLoweringInfo", "&", "funcInfo", ",", "const", "TargetLibraryInfo", "*", "libInfo", ")", "const", "{", "return", "ARM64", "::", "createFastISel", "(", "funcInfo", ",", "libInfo", "...
[ "This", "method", "returns", "a", "target", "specific", "FastISel", "object", ",", "or", "null", "if", "the", "target", "does", "not", "support", "``", "fast", "''", "ISel", "." ]
[ "ARM64", "ARM64", "ARM64::createFastISel" ]
ARM64ISelLowering
createFastISel
ARM64
CPU
LLVM
8,414
28
1
[]
[ "<s>", "static", "int", "pdp11_register_move_cost", "(", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ",", "reg_class_t", "c1", ",", "reg_class_t", "c2", ")", "{", "if", "(", "CPU_REG_CLASS", "(", "c1", ")", "&&", "CPU_REG_CLASS", "(", "c2", ")", ")", "return",...
[ "Register", "to", "register", "moves", "are", "cheap", "if", "both", "are", "general", "registers", "." ]
[ "pdp11", "2", "2", "22" ]
pdp11
pdp11_register_move_cost
pdp11
MPU
GCC
8,415
69
1
[]
[ "<s>", "std", "::", "pair", "<", "SDValue", ",", "SDValue", ">", "SystemZSelectionDAGInfo", "::", "EmitTargetCodeForStrcmp", "(", "SelectionDAG", "&", "DAG", ",", "const", "SDLoc", "&", "DL", ",", "SDValue", "Chain", ",", "SDValue", "Src1", ",", "SDValue", "...
[ "Emit", "target-specific", "code", "that", "performs", "a", "strcmp", ",", "in", "cases", "where", "that", "is", "faster", "than", "a", "libcall", "." ]
[ "SystemZ", "SystemZ", "MVT::i32", "MVT::Other", "SystemZISD::STRCMP", "0", "MVT::i32", "1", "2" ]
SystemZSelectionDAGInfo2
EmitTargetCodeForStrcmp
SystemZ
CPU
LLVM
8,416
132
1
[]
[ "<s>", "bool", "isImm", "(", ")", "const", "override", "{", "return", "Kind", "==", "k_Immediate", ";", "}", "</s>" ]
[ "isImm", "-", "Is", "this", "an", "immediate", "operand", "?" ]
[ "ARM" ]
ARMAsmParser (2)
isImm
ARM
CPU
LLVM
8,417
13
1
[]
[ "<s>", "SITargetLowering", "::", "ConstraintType", "SITargetLowering", "::", "getConstraintType", "(", "StringRef", "Constraint", ")", "const", "{", "if", "(", "Constraint", ".", "size", "(", ")", "==", "1", ")", "{", "switch", "(", "Constraint", "[", "0", "...
[ "Given", "a", "constraint", "letter", ",", "return", "the", "type", "of", "constraint", "for", "this", "target", "." ]
[ "AMDGPU", "SI", "SI", "1", "0" ]
SIISelLowering10
getConstraintType
AMDGPU
GPU
LLVM
8,418
70
1
[]
[ "<s>", "bool", "WebAssembly", "::", "isCatch", "(", "const", "MachineInstr", "&", "MI", ")", "{", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "case", "WebAssembly", "::", "CATCH_I32", ":", "case", "WebAssembly", "::", "CATCH_I32_S", ":", "...
[ "Return", "'true", "'", "if", "the", "clause", "and", "index", "Idx", "is", "a", "catch", "clause", "." ]
[ "WebAssembly", "WebAssembly::isCatch", "WebAssembly::CATCH_I32", "WebAssembly::CATCH_I32_S", "WebAssembly::CATCH_I64", "WebAssembly::CATCH_I64_S", "WebAssembly::CATCH_ALL", "WebAssembly::CATCH_ALL_S" ]
WebAssemblyUtilities
isCatch
WebAssembly
Virtual ISA
LLVM
8,419
60
1
[]
[ "<s>", "const", "DenseSet", "<", "StringRef", ">", "&", "getAttributes", "(", ")", "const", "override", "{", "return", "Attributes", ";", "}", "</s>" ]
[ "Return", "the", "attribute", "set", "for", "this", "global", "." ]
[ "AMDGPU" ]
AMDGPUAttributor5
getAttributes
AMDGPU
GPU
LLVM
8,420
16
1
[]
[ "<s>", "void", "or1k_expand_compare", "(", "rtx", "*", "operands", ")", "{", "rtx", "sr_f", "=", "gen_rtx_REG", "(", "BImode", ",", "SR_F_REGNUM", ")", ";", "rtx", "righthand_op", "=", "XEXP", "(", "operands", "[", "0", "]", ",", "1", ")", ";", "rtx_co...
[ "Used", "to", "expand", "patterns", "``", "movsicc", "''", ",", "``", "movqicc", "''", ",", "``", "movhicc", "''", ",", "``", "cstoresi4", "''", "and", "``", "cbranchsi4", "''", ".", "Expands", "a", "comparison", "where", "OPERANDS", "is", "an", "array",...
[ "or1k", "0", "1", "0", "0", "1", "0", "0", "0", "0", "1", "2" ]
or1k
or1k_expand_compare
or1k
CPU
GCC
8,421
183
1
[]
[ "<s>", "static", "machine_mode", "rs6000_c_mode_for_suffix", "(", "char", "suffix", ")", "{", "if", "(", "TARGET_FLOAT128", ")", "{", "if", "(", "suffix", "==", "'q'", "||", "suffix", "==", "'Q'", ")", "return", "(", "FLOAT128_IEEE_P", "(", "TFmode", ")", ...
[ "Target", "hook", "for", "c_mode_for_suffix", "." ]
[ "rs6000" ]
rs60005
rs6000_c_mode_for_suffix
rs6000
CPU
GCC
8,422
40
1
[]
[ "<s>", "static", "void", "mmix_output_octa", "(", "FILE", "*", "stream", ",", "HOST_WIDEST_INT", "value", ",", "int", "do_begin_end", ")", "{", "char", "hex_format", "[", "sizeof", "(", "HOST_WIDEST_INT_PRINT_HEX", ")", "]", ";", "if", "(", "do_begin_end", ")"...
[ "Print", "a", "64-bit", "value", ",", "optionally", "prefixed", "by", "assembly", "pseudo", "." ]
[ "mmix", "\"\\tOCTA \"", "0", "1", "0", "10000", "0", "16384", "\"%d\"", "0", "1", "31", "2", "\"#%x\"", "\"\\n\"" ]
mmix3
mmix_output_octa
mmix
CPU
GCC
8,423
161
1
[]
[ "<s>", "void", "KudeyarInstrInfo", "::", "loadRegFromStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "unsigned", "DestReg", ",", "int", "FrameIdx", ",", "const", "TargetRegisterClass", "*", "RC", ",", "const...
[ "Load", "the", "specified", "register", "of", "the", "given", "register", "class", "from", "the", "specified", "stack", "frame", "index", "." ]
[ "Kudeyar", "Kudeyar", "Kudeyar::MOV_RM32", "0" ]
KudeyarInstrInfo
loadRegFromStackSlot
Kudeyar
CPU
LLVM
8,424
146
1
[]
[ "<s>", "ARMTargetLowering", "::", "ConstraintType", "ARMTargetLowering", "::", "getConstraintType", "(", "const", "std", "::", "string", "&", "Constraint", ")", "const", "{", "if", "(", "Constraint", ".", "size", "(", ")", "==", "1", ")", "{", "switch", "(",...
[ "Given", "a", "constraint", "letter", ",", "return", "the", "type", "of", "constraint", "for", "this", "target", "." ]
[ "ARM", "ARM", "ARM", "1", "0", "2", "0" ]
ARMISelLowering (2)
getConstraintType
ARM
CPU
LLVM
8,425
124
1
[]
[ "<s>", "void", "TGSIDAGToDAGISel", "::", "Select", "(", "SDNode", "*", "n", ")", "{", "SDLoc", "dl", "(", "n", ")", ";", "switch", "(", "n", "->", "getOpcode", "(", ")", ")", "{", "case", "ISD", "::", "FrameIndex", ":", "{", "int", "fi", "=", "ca...
[ "Main", "hook", "for", "targets", "to", "transform", "nodes", "into", "machine", "nodes", "." ]
[ "TGSI", "TGSI", "ISD::FrameIndex", "MVT::i32", "ISD::GlobalAddress", "MVT::i32" ]
TGSIISelDAGToDAG
Select
TGSI
Virtual ISA
LLVM
8,426
134
1
[]
[ "<s>", "void", "AlphaRegisterInfo", "::", "eliminateFrameIndex", "(", "MachineBasicBlock", "::", "iterator", "II", ",", "int", "SPAdj", ",", "RegScavenger", "*", "RS", ")", "const", "{", "assert", "(", "SPAdj", "==", "0", "&&", "\"Unexpected\"", ")", ";", "u...
[ "This", "method", "must", "be", "overriden", "to", "eliminate", "abstract", "frame", "indices", "from", "instructions", "which", "may", "use", "them", "." ]
[ "Alpha", "Alpha", "0", "\"Unexpected\"", "0", "\"Instr doesn't have FrameIndex operand!\"", "1", "Alpha::R15", "Alpha::R30", "\"FI: \"", "\" Offset: \"", "\"\\n\"", "\"Corrected Offset \"", "\" for stack size: \"", "\"\\n\"", "Alpha::IMM_HIGH", "Alpha::IMM_LOW", "\"Unconditionally ...
AlphaRegisterInfo7
eliminateFrameIndex
Alpha
MPU
LLVM
8,427
361
1
[]
[ "<s>", "static", "unsigned", "HOST_WIDE_INT", "tilegx_shift_truncation_mask", "(", "machine_mode", "mode", ")", "{", "return", "mode", "==", "DImode", "?", "63", ":", "0", ";", "}", "</s>" ]
[ "Implement", "TARGET_SHIFT_TRUNCATION_MASK", ".", "DImode", "shifts", "use", "the", "mode", "matching", "insns", "and", "therefore", "guarantee", "that", "the", "shift", "count", "is", "modulo", "64", ".", "SImode", "shifts", "sometimes", "use", "the", "64", "bi...
[ "tilegx", "63", "0" ]
tilegx
tilegx_shift_truncation_mask
tilegx
VLIW
GCC
8,428
19
1
[]
[ "<s>", "const", "MCFixupKindInfo", "&", "AMDGPUAsmBackend", "::", "getFixupKindInfo", "(", "MCFixupKind", "Kind", ")", "const", "{", "const", "static", "MCFixupKindInfo", "Infos", "[", "AMDGPU", "::", "NumTargetFixupKinds", "]", "=", "{", "{", "\"fixup_si_sopp_br\""...
[ "Get", "information", "on", "a", "fixup", "kind", "." ]
[ "AMDGPU", "AMDGPU", "AMDGPU::NumTargetFixupKinds", "\"fixup_si_sopp_br\"", "0", "16", "\"fixup_si_rodata\"", "0", "32" ]
AMDGPUAsmBackend (2)
getFixupKindInfo
AMDGPU
GPU
LLVM
8,429
71
1
[]
[ "<s>", "void", "ARMELFStreamer", "::", "Reset", "(", ")", "{", "ExTab", "=", "NULL", ";", "FnStart", "=", "NULL", ";", "Personality", "=", "NULL", ";", "PersonalityIndex", "=", "ARM", "::", "EHABI", "::", "NUM_PERSONALITY_INDEX", ";", "FPReg", "=", "ARM", ...
[ "Reset", "the", "unwind", "opcode", "assembler", "." ]
[ "ARM", "ARM", "ARM::EHABI", "ARM::SP", "0", "0", "0" ]
ARMELFStreamer15
Reset
ARM
CPU
LLVM
8,430
66
1
[]
[ "<s>", "static", "rtx", "adjust_operand", "(", "rtx", "op", ",", "HOST_WIDE_INT", "*", "start", ")", "{", "machine_mode", "mode", ";", "int", "op_size", ";", "if", "(", "GET_CODE", "(", "op", ")", "==", "SUBREG", "&&", "(", "GET_MODE_BITSIZE", "(", "GET_...
[ "When", "insv", "and", "ext", "[", "sz", "]", "v", "ar", "passed", "a", "TI", "SUBREG", ",", "we", "want", "to", "strip", "it", "off", "and", "adjust", "the", "start", "offset", "." ]
[ "spu", "32", "32", "32", "0", "0" ]
spu3
adjust_operand
spu
MPU
GCC
8,431
153
1
[]
[ "<s>", "const", "char", "*", "getPassName", "(", ")", "const", "override", "{", "return", "\"ARM constant island placement and branch shortening pass\"", ";", "}", "</s>" ]
[ "getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "." ]
[ "ARM", "\"ARM constant island placement and branch shortening pass\"" ]
ARMConstantIslandPass (2)1
getPassName
ARM
CPU
LLVM
8,432
13
1
[]
[ "<s>", "MachineBasicBlock", "::", "iterator", "LEGFrameLowering", "::", "eliminateCallFramePseudoInstr", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ")", "const", "{", "if", "(", "I", "-...
[ "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", ")", "." ]
[ "LEG", "LEG", "LEG::ADJCALLSTACKUP", "LEG::ADJCALLSTACKDOWN" ]
LEGFrameLowering
eliminateCallFramePseudoInstr
LEG
CPU
LLVM
8,433
58
1
[]
[ "<s>", "virtual", "const", "LC3bInstrInfo", "*", "getInstrInfo", "(", ")", "const", "{", "return", "&", "InstrInfo", ";", "}", "</s>" ]
[ "TargetInstrInfo", "getter", "." ]
[ "LC3b", "LC3b" ]
LC3bTargetMachine
getInstrInfo
LC3b
CPU
LLVM
8,434
14
1
[]
[ "<s>", "RegisterBankInfo", "::", "InstructionMappings", "AMDGPURegisterBankInfo", "::", "getInstrAlternativeMappings", "(", "const", "MachineInstr", "&", "MI", ")", "const", "{", "const", "MachineFunction", "&", "MF", "=", "*", "MI", ".", "getParent", "(", ")", "-...
[ "Get", "the", "alternative", "mappings", "for", "MI", "." ]
[ "AMDGPU", "AMDGPU", "0", "1", "1", "AMDGPU::getValueMapping", "AMDGPU::SGPRRegBankID", "AMDGPU::getValueMapping", "AMDGPU::SGPRRegBankID", "64", "2", "2", "1", "AMDGPU::getValueMapping", "AMDGPU::VGPRRegBankID", "AMDGPU::getValueMapping", "AMDGPU::VGPRRegBankID", "64", "2", "3"...
AMDGPURegisterBankInfo13
getInstrAlternativeMappings
AMDGPU
GPU
LLVM
8,435
246
1
[]
[ "<s>", "void", "nds32_expand_prologue_v3push", "(", "void", ")", "{", "int", "fp_adjust", ";", "int", "sp_adjust", ";", "rtx", "Rb", ",", "Re", ";", "rtx", "fp_adjust_insn", ",", "sp_adjust_insn", ";", "nds32_compute_stack_frame", "(", ")", ";", "if", "(", "...
[ "Function", "for", "v3push", "prologue", "." ]
[ "nds32", "14", "14", "0", "1", "1", "1" ]
nds322
nds32_expand_prologue_v3push
nds32
CPU
GCC
8,436
301
1
[]
[ "<s>", "bool", "Mips16FrameLowering", "::", "spillCalleeSavedRegisters", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "const", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", ",", "const", "TargetRegi...
[ "spillCalleeSavedRegisters", "-", "Issues", "instruction", "(", "s", ")", "to", "spill", "all", "callee", "saved", "registers", "and", "returns", "true", "if", "it", "is", "n't", "possible", "/", "profitable", "to", "do", "so", "by", "issuing", "a", "series"...
[ "Mips", "Mips", "0", "Mips::RA" ]
Mips16FrameLowering25
spillCalleeSavedRegisters
Mips
CPU
LLVM
8,437
114
1
[]
[ "<s>", "bool", "SIInstrInfo", "::", "shouldClusterMemOps", "(", "MachineInstr", "&", "FirstLdSt", ",", "MachineInstr", "&", "SecondLdSt", ",", "unsigned", "NumLoads", ")", "const", "{", "const", "MachineOperand", "*", "FirstDst", "=", "nullptr", ";", "const", "M...
[ "Returns", "true", "if", "the", "two", "given", "memory", "operations", "should", "be", "scheduled", "adjacent", "." ]
[ "AMDGPU", "SI", "AMDGPU::OpName", "AMDGPU::OpName", "AMDGPU::OpName", "AMDGPU::OpName", "AMDGPU::OpName", "AMDGPU::OpName", "16" ]
SIInstrInfo41
shouldClusterMemOps
AMDGPU
GPU
LLVM
8,438
233
1
[]
[ "<s>", "static", "inline", "bool", "equal", "(", "tree_map", "*", "a", ",", "tree_map", "*", "b", ")", "{", "return", "a", "->", "base", ".", "from", "==", "b", "->", "base", ".", "from", ";", "}", "</s>" ]
[ "Compare", "H1", "and", "H2", "for", "equivalence", "." ]
[ "i386" ]
i386
equal
i386
CPU
GCC
8,439
28
1
[]
[ "<s>", "bool", "RISCVAsmParser", "::", "ParseInstruction", "(", "ParseInstructionInfo", "&", "Info", ",", "StringRef", "Name", ",", "SMLoc", "NameLoc", ",", "OperandVector", "&", "Operands", ")", "{", "if", "(", "getSTI", "(", ")", ".", "getFeatureBits", "(", ...
[ "ParseInstruction", "-", "Parse", "one", "assembly", "instruction", "." ]
[ "RISCV", "RISCV", "RISCV::FeatureRelax", "RISCV", "RISCV", "RISCV", "1", "\"unexpected token\"" ]
RISCVAsmParser
ParseInstruction
RISCV
CPU
LLVM
8,440
227
1
[]
[ "<s>", "int", "AArch64AsmParser", "::", "tryParseRegister", "(", ")", "{", "MCAsmParser", "&", "Parser", "=", "getParser", "(", ")", ";", "const", "AsmToken", "&", "Tok", "=", "Parser", ".", "getTok", "(", ")", ";", "assert", "(", "Tok", ".", "is", "("...
[ "tryParseRegister", "-", "parse", "one", "register", "if", "possible" ]
[ "AArch64", "AArch64", "\"Token is not an Identifier\"", "0", "\"fp\"", "AArch64::FP", "\"lr\"", "AArch64::LR", "\"x31\"", "AArch64::XZR", "\"w31\"", "AArch64::WZR", "0", "0", "1" ]
AArch64AsmParser (2)1
tryParseRegister
AArch64
CPU
LLVM
8,441
142
1
[]
[ "<s>", "static", "void", "frv_registers_update", "(", "rtx", "x", ")", "{", "regstate_t", "flags", ";", "flags", "=", "REGSTATE_MODIFIED", ";", "if", "(", "GET_CODE", "(", "x", ")", "==", "COND_EXEC", ")", "{", "flags", "|=", "frv_cond_flags", "(", "XEXP",...
[ "Update", "the", "register", "state", "information", "for", "an", "instruction", "whose", "body", "is", "X", "." ]
[ "frv", "0", "1" ]
frv
frv_registers_update
frv
VLIW
GCC
8,442
58
1
[]
[ "<s>", "bool", "sh_cfun_trap_exit_p", "(", "void", ")", "{", "return", "(", "lookup_attribute", "(", "\"trap_exit\"", ",", "DECL_ATTRIBUTES", "(", "current_function_decl", ")", ")", "==", "NULL_TREE", ")", ";", "}", "</s>" ]
[ "Returns", "true", "if", "the", "current", "function", "has", "a", "``", "trap_exit", "''", "attribute", "set", "." ]
[ "sh", "\"trap_exit\"" ]
sh3
sh_cfun_trap_exit_p
sh
CPU
GCC
8,443
22
1
[]
[ "<s>", "bool", "PPCCTRLoops", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"********* PPC CTR Loops *********\\n\"", ")", ";", "bool", "Changed", "=", "false", ";", "MLI", "=", "&", "getAnal...
[ "runOnMachineFunction", "-", "Emit", "the", "function", "body", "." ]
[ "PowerPC", "PPC", "\"********* PPC CTR Loops *********\\n\"" ]
PPCCTRLoops2
runOnMachineFunction
PowerPC
CPU
LLVM
8,444
114
1
[]
[ "<s>", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "SNES_RELAX_MEM_OPS_NAME", ";", "}", "</s>" ]
[ "getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "." ]
[ "SNES", "SNES" ]
SNESRelaxMemOperations
getPassName
SNES
DSP
LLVM
8,445
11
1
[]
[ "<s>", "static", "rtx", "arm_gen_load_multiple_1", "(", "int", "count", ",", "int", "*", "regs", ",", "rtx", "*", "mems", ",", "rtx", "basereg", ",", "HOST_WIDE_INT", "wback_offset", ")", "{", "int", "i", "=", "0", ",", "j", ";", "rtx", "result", ";", ...
[ "Generate", "a", "load-multiple", "instruction", ".", "COUNT", "is", "the", "number", "of", "loads", "in", "the", "instruction", ";", "REGS", "and", "MEMS", "are", "arrays", "containing", "the", "operands", ".", "BASEREG", "is", "the", "base", "register", "t...
[ "arm", "0", "0", "0", "0", "0", "1", "0", "0", "0", "0", "1", "0", "0" ]
arm4
arm_gen_load_multiple_1
arm
CPU
GCC
8,446
228
1
[]
[ "<s>", "void", "VEFrameLowering", "::", "emitPrologue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "const", "VEMachineFunctionInfo", "*", "FuncInfo", "=", "MF", ".", "getInfo", "<", "VEMachineFunctionInfo", ">", "...
[ "emitProlog/emitEpilog", "-", "These", "methods", "insert", "prolog", "and", "epilog", "code", "into", "the", "function", "." ]
[ "VE", "VE", "VE", "VE", "\"Shrink-wrapping not yet supported\"", "VE", "VE", "\"Function \\\"\"", "\"\\\" required \"", "\"stack re-alignment, but LLVM couldn't handle it \"", "\"(probably because it has a dynamic alloca).\"", "VE::ORri", "VE::SX9", "VE::SX11", "0", "\"SP has to be sav...
VEFrameLowering2
emitPrologue
VE
CPU
LLVM
8,447
350
1
[]
[ "<s>", "void", "ScheduleDAGPostRA", "::", "initQueues", "(", "ArrayRef", "<", "SUnit", "*", ">", "TopRoots", ",", "ArrayRef", "<", "SUnit", "*", ">", "BotRoots", ")", "{", "for", "(", "SmallVectorImpl", "<", "SUnit", "*", ">", "::", "const_iterator", "I", ...
[ "Release", "ExitSU", "predecessors", "and", "setup", "scheduler", "queues", "." ]
[ "Patmos" ]
PatmosPostRAScheduler
initQueues
Patmos
VLIW
LLVM
8,448
148
1
[]
[ "<s>", "SMLoc", "getEndLoc", "(", ")", "const", "{", "return", "End", ";", "}", "</s>" ]
[ "getEndLoc", "-", "Get", "the", "location", "of", "the", "last", "token", "of", "this", "operand", "." ]
[ "MSP430" ]
MSP430AsmParser
getEndLoc
MSP430
MPU
LLVM
8,449
10
1
[]
[ "<s>", "bool", "cris_return_address_on_stack", "(", "void", ")", "{", "return", "regs_ever_live", "[", "CRIS_SRP_REGNUM", "]", "||", "cfun", "->", "machine", "->", "needs_return_address_on_stack", ";", "}", "</s>" ]
[ "Accessor", "used", "in", "cris.md", ":", "return", "because", "cfun-", ">", "machine", "is", "n't", "available", "there", "." ]
[ "cris" ]
cris3
cris_return_address_on_stack
cris
MPU
GCC
8,450
19
1
[]
[ "<s>", "bool", "SNESInstrInfo", "::", "isBranchOffsetInRange", "(", "unsigned", "BranchOp", ",", "int64_t", "BrOffset", ")", "const", "{", "switch", "(", "BranchOp", ")", "{", "default", ":", "llvm_unreachable", "(", "\"unexpected opcode!\"", ")", ";", "case", "...
[ "Determine", "if", "the", "branch", "target", "is", "in", "range", "." ]
[ "SNES", "SNES", "\"unexpected opcode!\"", "SNES::JMPk", "SNES::CALLk", "0", "\"offset must be absolute address\"", "16", "SNES::RCALLk", "SNES::RJMPk", "13", "SNES::BRBSsk", "SNES::BRBCsk", "SNES::BREQk", "SNES::BRNEk", "SNES::BRSHk", "SNES::BRLOk", "SNES::BRMIk", "SNES::BRPLk", ...
SNESInstrInfo
isBranchOffsetInRange
SNES
DSP
LLVM
8,451
130
1
[]
[ "<s>", "unsigned", "ARMBaseInstrInfo", "::", "getPartialRegUpdateClearance", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpNum", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "if", "(", "!", "SwiftPartialUpdateClearance", "||", ...
[ "Inform", "the", "BreakFalseDeps", "pass", "how", "many", "idle", "instructions", "we", "would", "like", "before", "a", "partial", "register", "update", "." ]
[ "ARM", "ARM", "0", "\"Need TRI instance\"", "0", "1", "ARM::VLDRS", "ARM::FCONSTS", "ARM::VMOVSR", "ARM::VMOVv8i8", "ARM::VMOVv4i16", "ARM::VMOVv2i32", "ARM::VMOVv2f32", "ARM::VMOVv1i64", "ARM::VLD1LNd32", "3", "0", "1", "0", "0", "ARM::SPRRegClass", "ARM::ssub_0", "ARM::...
ARMBaseInstrInfo (2)
getPartialRegUpdateClearance
ARM
CPU
LLVM
8,452
275
1
[]
[ "<s>", "static", "inline", "bool", "ia64_reg_ok_for_base_p", "(", "const_rtx", "reg", ",", "bool", "strict", ")", "{", "if", "(", "strict", "&&", "REGNO_OK_FOR_BASE_P", "(", "REGNO", "(", "reg", ")", ")", ")", "return", "true", ";", "else", "if", "(", "!...
[ "Returns", "true", "if", "REG", "(", "assumed", "to", "be", "a", "`", "reg", "'", "RTX", ")", "is", "valid", "for", "use", "as", "a", "base", "register", "." ]
[ "ia64" ]
ia64
ia64_reg_ok_for_base_p
ia64
CPU
GCC
8,453
57
1
[]
[ "<s>", "void", "Warning", "(", "SMLoc", "L", ",", "const", "Twine", "&", "Msg", ")", "{", "Parser", ".", "Warning", "(", "L", ",", "Msg", ")", ";", "}", "</s>" ]
[ "Emit", "a", "warning", "at", "the", "location", "L", ",", "with", "the", "message", "Msg", "." ]
[ "X86" ]
X86AsmParser101
Warning
X86
CPU
LLVM
8,454
22
1
[]
[ "<s>", "bool", "Cpu0PassConfig", "::", "addPreRegAlloc", "(", ")", "{", "addPass", "(", "createCpu0EmitGPRestorePass", "(", "getCpu0TargetMachine", "(", ")", ")", ")", ";", "return", "true", ";", "}", "</s>" ]
[ "This", "method", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "register", "allocation", "." ]
[ "Cpu0", "Cpu0", "Cpu0", "Cpu0" ]
Cpu0TargetMachine1
addPreRegAlloc
Cpu0
CPU
LLVM
8,455
21
1
[]
[ "<s>", "static", "void", "visium_init_libfuncs", "(", "void", ")", "{", "if", "(", "!", "TARGET_BMI", ")", "long_int_memcpy_libfunc", "=", "init_one_libfunc", "(", "\"__long_int_memcpy\"", ")", ";", "wrd_memcpy_libfunc", "=", "init_one_libfunc", "(", "\"__wrd_memcpy\"...
[ "Register", "the", "Visium-specific", "libfuncs", "with", "the", "middle-end", "." ]
[ "visium", "\"__long_int_memcpy\"", "\"__wrd_memcpy\"", "\"__byt_memcpy\"", "\"__long_int_memset\"", "\"__wrd_memset\"", "\"__byt_memset\"", "\"__set_trampoline_parity\"" ]
visium
visium_init_libfuncs
visium
Virtual ISA
GCC
8,456
62
1
[]
[ "<s>", "int", "loongarch_idiv_insns", "(", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ")", "{", "int", "count", ";", "count", "=", "1", ";", "if", "(", "loongarch_check_zero_div_p", "(", ")", ")", "count", "+=", "2", ";", "return", "count", ";", "}", "</s...
[ "Return", "the", "number", "of", "instructions", "needed", "for", "an", "integer", "division", "." ]
[ "loongarch", "1", "2" ]
loongarch1
loongarch_idiv_insns
loongarch
CPU
GCC
8,457
29
1
[]
[ "<s>", "SDValue", "PPCTargetLowering", "::", "LowerFormalArguments", "(", "SDValue", "Chain", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "isVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "InputArg", ">", "&", "Ins", ",", "SDLoc", "dl...
[ "This", "hook", "must", "be", "implemented", "to", "lower", "the", "incoming", "(", "formal", ")", "arguments", ",", "described", "by", "the", "Ins", "array", ",", "into", "the", "specified", "DAG", "." ]
[ "PowerPC", "PPC", "ISD::InputArg", "PPC" ]
PPCISelLowering (2)2
LowerFormalArguments
PowerPC
CPU
LLVM
8,458
119
1
[]
[ "<s>", "bool", "MINA32AsmParser", "::", "ParseInstruction", "(", "ParseInstructionInfo", "&", "Info", ",", "StringRef", "Name", ",", "SMLoc", "NameLoc", ",", "OperandVector", "&", "Operands", ")", "{", "MCAsmParser", "&", "Parser", "=", "getParser", "(", ")", ...
[ "ParseInstruction", "-", "Parse", "one", "assembly", "instruction", "." ]
[ "MINA32", "MINA32", "0", "MINA32Operand::CreateToken", "\"unexpected token in argument list (first)\"", "\"unexpected token in argument list\"", "\"unexpected token in argument list\"" ]
MINA32AsmParser
ParseInstruction
MINA32
CPU
LLVM
8,459
226
1
[]
[ "<s>", "static", "rtx", "aarch64_struct_value_rtx", "(", "tree", "fndecl", "ATTRIBUTE_UNUSED", ",", "int", "incoming", "ATTRIBUTE_UNUSED", ")", "{", "return", "gen_rtx_REG", "(", "Pmode", ",", "AARCH64_STRUCT_VALUE_REGNUM", ")", ";", "}", "</s>" ]
[ "Implement", "TARGET_STRUCT_VALUE_RTX", "." ]
[ "aarch64" ]
aarch64
aarch64_struct_value_rtx
aarch64
CPU
GCC
8,460
22
1
[]
[ "<s>", "std", "::", "unique_ptr", "<", "MCObjectWriter", ">", "J2AsmBackend", "::", "createObjectWriter", "(", "raw_pwrite_stream", "&", "OS", ")", "const", "{", "auto", "MOTW", "=", "llvm", "::", "make_unique", "<", "J2ELFObjectWriter", ">", "(", "MCELFObjectTa...
[ "Create", "a", "new", "MCObjectWriter", "instance", "for", "use", "by", "the", "assembler", "backend", "to", "emit", "the", "final", "object", "file", "." ]
[ "J2", "J2", "J2", "J2" ]
J2AsmBackend
createObjectWriter
J2
MPU
LLVM
8,461
54
1
[]
[ "<s>", "void", "MipsSETargetLowering", "::", "getOpndList", "(", "SmallVectorImpl", "<", "SDValue", ">", "&", "Ops", ",", "std", "::", "deque", "<", "std", "::", "pair", "<", "unsigned", ",", "SDValue", ">", ">", "&", "RegsToPass", ",", "bool", "IsPICCall"...
[ "This", "function", "fills", "Ops", ",", "which", "is", "the", "list", "of", "operands", "that", "will", "later", "be", "used", "when", "a", "function", "call", "node", "is", "created", "." ]
[ "Mips", "Mips", "Mips" ]
MipsSEISelLowering (2)
getOpndList
Mips
CPU
LLVM
8,462
78
1
[]
[ "<s>", "static", "bool", "rs6000_function_ok_for_sibcall", "(", "tree", "decl", ",", "tree", "exp", ")", "{", "tree", "fntype", ";", "if", "(", "decl", ")", "fntype", "=", "TREE_TYPE", "(", "decl", ")", ";", "else", "fntype", "=", "TREE_TYPE", "(", "TREE...
[ "Say", "whether", "a", "function", "is", "a", "candidate", "for", "sibcall", "handling", "or", "not", ".", "We", "do", "not", "allow", "indirect", "calls", "to", "be", "optimized", "into", "sibling", "calls", ".", "Also", ",", "we", "ca", "n't", "do", ...
[ "rs6000", "0", "0", "\"longcall\"", "\"shortcall\"" ]
rs60004
rs6000_function_ok_for_sibcall
rs6000
CPU
GCC
8,463
233
1
[]
[ "<s>", "SDValue", "X86TargetLowering", "::", "getPICJumpTableRelocBase", "(", "SDValue", "Table", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "if", "(", "!", "Subtarget", ".", "is64Bit", "(", ")", ")", "return", "DAG", ".", "getNode", "(", "X86ISD", ...
[ "Returns", "relocation", "base", "for", "the", "given", "PIC", "jumptable", "." ]
[ "X86", "X86", "X86ISD::GlobalBaseReg" ]
X86ISelLowering (2)5
getPICJumpTableRelocBase
X86
CPU
LLVM
8,464
50
1
[]
[ "<s>", "static", "inline", "bool", "current_function_saves_lr", "(", "void", ")", "{", "return", "current_frame_info", ".", "save_lr", "!=", "0", ";", "}", "</s>" ]
[ "Accessor", "for", "current_frame_info.save_lr", "." ]
[ "visium", "0" ]
visium
current_function_saves_lr
visium
Virtual ISA
GCC
8,465
16
1
[]
[ "<s>", "void", "BlockWaitcntBrackets", "::", "print", "(", "raw_ostream", "&", "OS", ")", "{", "OS", "<<", "'\\n'", ";", "for", "(", "enum", "InstCounterType", "T", "=", "VM_CNT", ";", "T", "<", "NUM_INST_CNTS", ";", "T", "=", "(", "enum", "InstCounterTy...
[ "print", "-", "Print", "a", "debug", "representation", "of", "the", "operand", "to", "the", "given", "stream", "." ]
[ "AMDGPU", "1", "\" VM_CNT(\"", "\"): \"", "\" LGKM_CNT(\"", "\"): \"", "\" EXP_CNT(\"", "\"): \"", "\" UNKNOWN(\"", "\"): \"", "0", "1", "\":v\"", "\" \"", "\":ds \"", "0", "1", "\":s\"", "\" \"" ]
SIInsertWaitcnts10
print
AMDGPU
GPU
LLVM
8,466
277
1
[]
[ "<s>", "void", "init_convex", "(", ")", "{", "int", "regno", ";", "for", "(", "regno", "=", "0", ";", "regno", "<", "FIRST_PSEUDO_REGISTER", ";", "regno", "++", ")", "if", "(", "A_REGNO_P", "(", "regno", ")", ")", "{", "regno_ok_for_index_p", "[", "reg...
[ "Here", "from", "OVERRIDE_OPTIONS", "at", "startup", ".", "Initialize", "constant", "tables", "." ]
[ "convex", "0", "1", "0", "0", "1", "1", "0", "0", "1", "0" ]
convex
init_convex
convex
VLIW
GCC
8,467
137
1
[]
[ "<s>", "bool", "Mips16DAGToDAGISel", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "!", "Subtarget", "->", "inMips16Mode", "(", ")", ")", "return", "false", ";", "return", "MipsDAGToDAGISel", "::", "runOnMachineFunction", ...
[ "runOnMachineFunction", "-", "Emit", "the", "function", "body", "." ]
[ "Mips", "Mips", "Mips", "Mips" ]
Mips16ISelDAGToDAG6
runOnMachineFunction
Mips
CPU
LLVM
8,468
31
1
[]
[ "<s>", "unsigned", "PPCInstrInfo", "::", "getInstSizeInBytes", "(", "const", "MachineInstr", "&", "MI", ")", "const", "{", "unsigned", "Opcode", "=", "MI", ".", "getOpcode", "(", ")", ";", "if", "(", "Opcode", "==", "PPC", "::", "INLINEASM", ")", "{", "c...
[ "Returns", "the", "size", "in", "bytes", "of", "the", "specified", "MachineInstr", ",", "or", "~0U", "when", "this", "function", "is", "not", "implemented", "by", "a", "target", "." ]
[ "PowerPC", "PPC", "PPC::INLINEASM", "0" ]
PPCInstrInfo133
getInstSizeInBytes
PowerPC
CPU
LLVM
8,469
150
1
[]
[ "<s>", "bool", "GCNTTIImpl", "::", "areInlineCompatible", "(", "const", "Function", "*", "Caller", ",", "const", "Function", "*", "Callee", ")", "const", "{", "const", "TargetMachine", "&", "TM", "=", "getTLI", "(", ")", "->", "getTargetMachine", "(", ")", ...
[ "Determine", "whether", "a", "callee", "with", "the", "given", "TLI", "can", "be", "inlined", "into", "caller", "with", "this", "TLI", ",", "based", "on", "'nobuiltin", "'", "attributes", "." ]
[ "AMDGPU" ]
AMDGPUTargetTransformInfo17
areInlineCompatible
AMDGPU
GPU
LLVM
8,470
92
1
[]
[ "<s>", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "override", "{", "AU", ".", "setPreservesCFG", "(", ")", ";", "ModulePass", "::", "getAnalysisUsage", "(", "AU", ")", ";", "}", "</s>" ]
[ "getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "." ]
[ "WebAssembly" ]
WebAssemblyAddMissingPrototypes
getAnalysisUsage
WebAssembly
Virtual ISA
LLVM
8,471
24
1
[]
[ "<s>", "SUnit", "*", "ConvergingVLIWScheduler", "::", "pickNode", "(", "bool", "&", "IsTopNode", ")", "{", "if", "(", "DAG", "->", "top", "(", ")", "==", "DAG", "->", "bottom", "(", ")", ")", "{", "assert", "(", "Top", ".", "Available", ".", "empty",...
[ "Pick", "the", "next", "node", "to", "schedule", ",", "or", "return", "NULL", "." ]
[ "Hexagon", "\"ReadyQ garbage\"", "\"failed to find the first candidate\"", "\"failed to find the first candidate\"", "\"*** \"", "\"Top\"", "\"Bottom\"", "\" Scheduling instruction in cycle \"", "\" (\"", "\")\\n\"" ]
HexagonMachineScheduler11
pickNode
Hexagon
DSP
LLVM
8,472
291
1
[]
[ "<s>", "bool", "ARMTargetLowering", "::", "splitValueIntoRegisterParts", "(", "SelectionDAG", "&", "DAG", ",", "const", "SDLoc", "&", "DL", ",", "SDValue", "Val", ",", "SDValue", "*", "Parts", ",", "unsigned", "NumParts", ",", "MVT", "PartVT", ",", "Optional",...
[ "Target-specific", "splitting", "of", "values", "into", "parts", "that", "fit", "a", "register", "storing", "a", "legal", "type", "." ]
[ "ARM", "ARM", "MVT::f16", "MVT::bf16", "MVT::f32", "ISD::BITCAST", "MVT::getIntegerVT", "ISD::ANY_EXTEND", "MVT::getIntegerVT", "ISD::BITCAST", "0" ]
ARMISelLowering (2)5
splitValueIntoRegisterParts
ARM
CPU
LLVM
8,473
174
1
[]
[ "<s>", "static", "rtx", "mn10300_function_arg", "(", "cumulative_args_t", "cum_v", ",", "const", "function_arg_info", "&", "arg", ")", "{", "CUMULATIVE_ARGS", "*", "cum", "=", "get_cumulative_args", "(", "cum_v", ")", ";", "rtx", "result", "=", "NULL_RTX", ";", ...
[ "Return", "an", "RTX", "to", "represent", "where", "a", "value", "with", "mode", "MODE", "will", "be", "returned", "from", "a", "function", ".", "If", "the", "result", "is", "NULL_RTX", ",", "the", "argument", "is", "pushed", "." ]
[ "mn10300", "2", "3", "3", "0", "1", "1" ]
mn10300
mn10300_function_arg
mn10300
MPU
GCC
8,474
144
1
[]
[ "<s>", "bool", "AMDGPUAsmPrinter", "::", "doFinalization", "(", "Module", "&", "M", ")", "{", "CallGraphResourceInfo", ".", "clear", "(", ")", ";", "if", "(", "AMDGPU", "::", "isGFX10", "(", "*", "getGlobalSTI", "(", ")", ")", ")", "{", "OutStreamer", "-...
[ "doFinalization", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "do", "any", "necessary", "clean", "up", "after", "all", "passes", "have", "run", "." ]
[ "AMDGPU", "AMDGPU", "AMDGPU::isGFX10" ]
AMDGPUAsmPrinter67
doFinalization
AMDGPU
GPU
LLVM
8,475
60
1
[]
[ "<s>", "void", "EmitInstruction", "(", "uint64_t", "Code", ",", "unsigned", "Size", ",", "raw_ostream", "&", "OS", ")", "const", "{", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "Size", ";", "i", "++", ")", "{", "EmitByte", "(", "Code", "...
[ "EmitInstruction", "-", "This", "callback", "is", "invoked", "when", "an", "instruction", "is", "emitted", ",", "to", "advance", "the", "hazard", "state", "." ]
[ "Z80", "0", "8" ]
Z80MCCodeEmitter
EmitInstruction
Z80
MPU
LLVM
8,476
43
1
[]
[ "<s>", "bool", "rx_match_ccmode", "(", "rtx", "insn", ",", "machine_mode", "cc_mode", ")", "{", "rtx", "op1", ",", "flags", ";", "machine_mode", "flags_mode", ";", "gcc_checking_assert", "(", "XVECLEN", "(", "PATTERN", "(", "insn", ")", ",", "0", ")", "=="...
[ "A", "helper", "function", "for", "matching", "parallels", "that", "set", "the", "flags", "." ]
[ "rx", "0", "2", "0", "0" ]
rx
rx_match_ccmode
rx
CPU
GCC
8,477
121
1
[]
[ "<s>", "static", "tree", "nvptx_lockless_update", "(", "location_t", "loc", ",", "gimple_stmt_iterator", "*", "gsi", ",", "tree", "ptr", ",", "tree", "var", ",", "tree_code", "op", ")", "{", "unsigned", "fn", "=", "NVPTX_BUILTIN_CMP_SWAP", ";", "tree_code", "c...
[ "Insert", "code", "to", "locklessly", "update", "*", "PTR", "with", "*", "PTR", "OP", "VAR", "just", "before", "GSI", ".", "We", "use", "a", "lockless", "scheme", "for", "nearly", "all", "case", ",", "which", "looks", "like", ":", "actual", "=", "initv...
[ "nvptx", "3" ]
nvptx3
nvptx_lockless_update
nvptx
GPU
GCC
8,478
510
1
[]
[ "<s>", "void", "M68kInstrInfo", "::", "storeRegToStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "Register", "SrcReg", ",", "bool", "IsKill", ",", "int", "FrameIndex", ",", "const", "TargetRegisterClass", "*...
[ "Store", "the", "specified", "register", "of", "the", "given", "register", "class", "to", "the", "specified", "stack", "frame", "index", "." ]
[ "M68k", "M68k", "4", "\"Stack slot too small for store\"", "M68k::addFrameReference" ]
M68kInstrInfo (2)
storeRegToStackSlot
M68k
MPU
LLVM
8,479
121
1
[]
[ "<s>", "void", "CSKYAsmPrinter", "::", "emitInstruction", "(", "const", "MachineInstr", "*", "MI", ")", "{", "if", "(", "emitPseudoExpansionLowering", "(", "*", "OutStreamer", ",", "MI", ")", ")", "return", ";", "MCInst", "TmpInst", ";", "MCInstLowering", ".",...
[ "Targets", "should", "implement", "this", "to", "emit", "instructions", "." ]
[ "CSKY", "CSKY" ]
CSKYAsmPrinter
emitInstruction
CSKY
CPU
LLVM
8,480
44
1
[]
[ "<s>", "void", "TMS320C64XInstrInfo", "::", "storeRegToStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "unsigned", "srcReg", ",", "bool", "isKill", ",", "int", "frameIndex", ",", "const", "TargetRegisterClass"...
[ "Store", "the", "specified", "register", "of", "the", "given", "register", "class", "to", "the", "specified", "stack", "frame", "index", "." ]
[ "TMS320C64X", "TMS320C64X", "TMS320C64X::PredRegsRegisterClass", "TMS320C64X::ARegsRegisterClass", "TMS320C64X::BRegsRegisterClass", "TMS320C64X::word_store_1", "TMS320C64X::A15", "TMS320C64XII::unit_d" ]
TMS320C64XInstrInfo
storeRegToStackSlot
TMS320C64X
VLIW
LLVM
8,481
173
1
[]
[ "<s>", "bool", "AArch64TargetLowering", "::", "isExtFreeImpl", "(", "const", "Instruction", "*", "Ext", ")", "const", "{", "if", "(", "isa", "<", "FPExtInst", ">", "(", "Ext", ")", ")", "return", "false", ";", "if", "(", "Ext", "->", "getType", "(", ")...
[ "Return", "true", "if", "the", "extension", "represented", "by", "I", "is", "free", "." ]
[ "AArch64", "AArch64", "1", "3", "0", "4", "0" ]
AArch64ISelLowering116
isExtFreeImpl
AArch64
CPU
LLVM
8,482
210
1
[]
[ "<s>", "static", "void", "rs6000_output_function_prologue", "(", "FILE", "*", "file", ",", "HOST_WIDE_INT", "size", "ATTRIBUTE_UNUSED", ")", "{", "rs6000_stack_t", "*", "info", "=", "rs6000_stack_info", "(", ")", ";", "if", "(", "TARGET_DEBUG_STACK", ")", "debug_s...
[ "Write", "function", "prologue", "." ]
[ "rs6000", "64", "\"\\t.extern %s%d%s\\n\\t.extern %s%d%s\\n\"", "32", "32", "\"\\t.extern __mulh\\n\"", "\"\\t.extern __mull\\n\"", "\"\\t.extern __divss\\n\"", "\"\\t.extern __divus\\n\"", "\"\\t.extern __quoss\\n\"", "\"\\t.extern __quous\\n\"", "1", "0", "0", "4", "100" ]
rs60003
rs6000_output_function_prologue
rs6000
CPU
GCC
8,483
231
1
[]
[ "<s>", "void", "maybe_unlink", "(", "const", "char", "*", "file", ")", "{", "if", "(", "debug", ")", "notice", "(", "\"[Leaving %s]\\n\"", ",", "file", ")", ";", "else", "unlink_if_ordinary", "(", "file", ")", ";", "}", "</s>" ]
[ "Unlink", "a", "temporary", "file", "unless", "requested", "otherwise", "." ]
[ "i386", "\"[Leaving %s]\\n\"" ]
intelmic-mkoffload2
maybe_unlink
i386
CPU
GCC
8,484
27
1
[]
[ "<s>", "bool", "ARMTargetLowering", "::", "isMulAddWithConstProfitable", "(", "SDValue", "AddNode", ",", "SDValue", "ConstNode", ")", "const", "{", "const", "EVT", "VT", "=", "AddNode", ".", "getValueType", "(", ")", ";", "if", "(", "VT", ".", "isVector", "(...
[ "Return", "true", "if", "it", "may", "be", "profitable", "to", "transform", "(", "mul", "(", "add", "x", ",", "c1", ")", ",", "c2", ")", "-", ">", "(", "add", "(", "mul", "x", ",", "c2", ")", ",", "c1", "*", "c2", ")", "." ]
[ "ARM", "ARM", "32", "1", "1" ]
ARMISelLowering12
isMulAddWithConstProfitable
ARM
CPU
LLVM
8,485
143
1
[]
[ "<s>", "unsigned", "SparcRegisterInfo", "::", "getFrameRegister", "(", "MachineFunction", "&", "MF", ")", "const", "{", "assert", "(", "0", "&&", "\"What is the frame register\"", ")", ";", "return", "SP", "::", "G1", ";", "}", "</s>" ]
[ "Debug", "information", "queries", "." ]
[ "Sparc", "Sparc", "0", "\"What is the frame register\"", "SP::G1" ]
SparcRegisterInfo28
getFrameRegister
Sparc
CPU
LLVM
8,486
24
1
[]
[ "<s>", "int", "c4x_rptb_nop_p", "(", "rtx", "insn", ")", "{", "rtx", "start_label", ";", "int", "i", ";", "start_label", "=", "XEXP", "(", "XEXP", "(", "SET_SRC", "(", "XVECEXP", "(", "PATTERN", "(", "insn", ")", ",", "0", ",", "0", ")", ")", ",", ...
[ "The", "last", "instruction", "in", "a", "repeat", "block", "can", "not", "be", "a", "Bcond", ",", "DBcound", ",", "CALL", ",", "CALLCond", ",", "TRAPcond", ",", "RETIcond", ",", "RETScond", ",", "IDLE", ",", "RPTB", "or", "RPTS", ".", "None", "of", ...
[ "c4x", "0", "0", "1", "0", "1", "0", "4", "0", "1", "0" ]
c4x1
c4x_rptb_nop_p
c4x
DSP
GCC
8,487
175
1
[]
[ "<s>", "static", "unsigned", "char", "ix86_class_max_nregs", "(", "reg_class_t", "rclass", ",", "machine_mode", "mode", ")", "{", "if", "(", "MAYBE_INTEGER_CLASS_P", "(", "rclass", ")", ")", "{", "if", "(", "mode", "==", "XFmode", ")", "return", "(", "TARGET...
[ "Implement", "the", "TARGET_CLASS_MAX_NREGS", "hook", ".", "On", "the", "80386", ",", "this", "is", "the", "size", "of", "MODE", "in", "words", ",", "except", "in", "the", "FP", "regs", ",", "where", "a", "single", "reg", "is", "always", "enough", "." ]
[ "i386", "2", "3", "4", "6", "1", "2", "1" ]
i3864
ix86_class_max_nregs
i386
CPU
GCC
8,488
87
1
[]
[ "<s>", "bool", "mprocAsmPrinter", "::", "PrintAsmMemoryOperand", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpNo", ",", "unsigned", "AsmVariant", ",", "const", "char", "*", "ExtraCode", ",", "raw_ostream", "&", "O", ")", "{", "if", "(", "Extr...
[ "Print", "the", "specified", "operand", "of", "MI", ",", "an", "INLINEASM", "instruction", ",", "using", "the", "specified", "assembler", "variant", "as", "an", "address", "." ]
[ "mproc", "mproc", "0" ]
mprocAsmPrinter
PrintAsmMemoryOperand
mproc
Virtual ISA
LLVM
8,489
53
1
[]
[ "<s>", "bool", "ARMBlockPlacement", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "skipFunction", "(", "MF", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "const", "ARMSubtarget", "&", "ST", "=", "s...
[ "runOnMachineFunction", "-", "Emit", "the", "function", "body", "." ]
[ "ARM", "ARM", "ARM", "ARM", "\"Running on \"", "\"\\n\"", "ARM", "ARM", "ARM", "ARM::t2WhileLoopStart", "1", "\"Found a backwards WLS from \"", "\" to \"", "\"\\n\"", "ARM::t2WhileLoopStart", "1", "\"Can't move the target block as it would \"", "\"introduce a new backwards WLS bran...
ARMBlockPlacement8
runOnMachineFunction
ARM
CPU
LLVM
8,490
493
1
[]
[ "<s>", "void", "SIInstrInfo", "::", "legalizeOperandsVOP3", "(", "MachineRegisterInfo", "&", "MRI", ",", "MachineInstr", "&", "MI", ")", "const", "{", "unsigned", "Opc", "=", "MI", ".", "getOpcode", "(", ")", ";", "int", "VOP3Idx", "[", "3", "]", "=", "{...
[ "Fix", "operands", "in", "MI", "to", "satisfy", "constant", "bus", "requirements", "." ]
[ "AMDGPU", "SI", "3", "AMDGPU::getNamedOperandIdx", "AMDGPU::OpName", "AMDGPU::getNamedOperandIdx", "AMDGPU::OpName", "AMDGPU::getNamedOperandIdx", "AMDGPU::OpName", "0", "3", "1", "AMDGPU::NoRegister" ]
SIInstrInfo (2)
legalizeOperandsVOP3
AMDGPU
GPU
LLVM
8,491
193
1
[]
[ "<s>", "bool", "RISCVTargetLowering", "::", "isFMAFasterThanFMulAndFAdd", "(", "const", "MachineFunction", "&", "MF", ",", "EVT", "VT", ")", "const", "{", "VT", "=", "VT", ".", "getScalarType", "(", ")", ";", "if", "(", "!", "VT", ".", "isSimple", "(", "...
[ "Return", "true", "if", "an", "FMA", "operation", "is", "faster", "than", "a", "pair", "of", "fmul", "and", "fadd", "instructions", "." ]
[ "RISCV", "RISCV", "MVT::f16", "MVT::f32", "MVT::f64" ]
RISCVISelLowering1
isFMAFasterThanFMulAndFAdd
RISCV
CPU
LLVM
8,492
91
1
[]
[ "<s>", "bool", "RISCVRedundantCopyElimination", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "skipFunction", "(", "MF", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "TRI", "=", "MF", ".", "getSubtar...
[ "runOnMachineFunction", "-", "Emit", "the", "function", "body", "." ]
[ "RISCV", "RISCV" ]
RISCVRedundantCopyElimination
runOnMachineFunction
RISCV
CPU
LLVM
8,493
69
1
[]
[ "<s>", "SDValue", "X86TargetLowering", "::", "getNegatedExpression", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ",", "bool", "LegalOperations", ",", "bool", "ForCodeSize", ",", "unsigned", "Depth", ")", "const", "{", "if", "(", "SDValue", "Arg", "=...
[ "Return", "the", "newly", "negated", "expression", "if", "the", "cost", "is", "not", "expensive", "and", "set", "the", "cost", "in", "Cost", "to", "indicate", "that", "if", "it", "is", "cheaper", "or", "neutral", "to", "do", "the", "negation", "." ]
[ "X86", "X86", "ISD::FMA", "X86ISD::FMSUB", "X86ISD::FNMADD", "X86ISD::FNMSUB", "X86ISD::FMADD_RND", "X86ISD::FMSUB_RND", "X86ISD::FNMADD_RND", "X86ISD::FNMSUB_RND", "MVT::f32", "MVT::f64", "4", "0", "3", "1", "2", "1", "0", "1", "2", "0" ]
X86ISelLowering (2)6
getNegatedExpression
X86
CPU
LLVM
8,494
383
1
[]
[ "<s>", "static", "bool", "shouldExpandVectorDynExt", "(", "SDNode", "*", "N", ")", "{", "SDValue", "Idx", "=", "N", "->", "getOperand", "(", "N", "->", "getNumOperands", "(", ")", "-", "1", ")", ";", "if", "(", "UseDivergentRegisterIndexing", "||", "isa", ...
[ "Check", "if", "EXTRACT_VECTOR_ELT/INSERT_VECTOR_ELT", "(", "<", "n", "x", "e", ">", ",", "var-idx", ")", "should", "be", "expanded", "into", "a", "set", "of", "cmp/select", "instructions", "." ]
[ "AMDGPU", "1", "0", "64", "32", "32", "31", "32", "16" ]
SIISelLowering140
shouldExpandVectorDynExt
AMDGPU
GPU
LLVM
8,495
151
1
[]
[ "<s>", "const", "char", "*", "AMDGPUTargetLowering", "::", "getTargetNodeName", "(", "unsigned", "Opcode", ")", "const", "{", "switch", "(", "(", "AMDGPUISD", "::", "NodeType", ")", "Opcode", ")", "{", "case", "AMDGPUISD", "::", "FIRST_NUMBER", ":", "break", ...
[ "getTargetNodeName", "-", "This", "method", "returns", "the", "name", "of", "a", "target", "specific" ]
[ "AMDGPU", "AMDGPU", "AMDGPUISD::NodeType", "AMDGPUISD::FIRST_NUMBER", "SI", "R600", "AMDGPUISD::FIRST_MEM_OPCODE_NUMBER", "AMDGPUISD::LAST_AMDGPU_ISD_NUMBER" ]
AMDGPUISelLowering134
getTargetNodeName
AMDGPU
GPU
LLVM
8,496
407
1
[]
[ "<s>", "bool", "runOnModule", "(", "Module", "&", "M", ")", "override", "{", "SetVector", "<", "Function", "*", ">", "Functions", ";", "AnalysisGetter", "AG", ";", "for", "(", "Function", "&", "F", ":", "M", ")", "{", "if", "(", "!", "F", ".", "isI...
[ "runOnModule", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "process", "the", "module", "being", "operated", "on", "." ]
[ "AMDGPU", "AMDGPU" ]
AMDGPUAttributor9
runOnModule
AMDGPU
GPU
LLVM
8,497
174
1
[]
[ "<s>", "static", "int", "avr_mul_highpart_cost", "(", "rtx", "x", ",", "int", ")", "{", "if", "(", "AVR_HAVE_MUL", "&&", "LSHIFTRT", "==", "GET_CODE", "(", "x", ")", "&&", "MULT", "==", "GET_CODE", "(", "XEXP", "(", "x", ",", "0", ")", ")", "&&", "...
[ "Cost", "for", "mul", "highpart", ".", "X", "is", "a", "LSHIFTRT", ",", "i.e", ".", "the", "outer", "TRUNCATE", "is", "already", "stripped", "off", "." ]
[ "avr", "0", "1", "2", "10000" ]
avr
avr_mul_highpart_cost
avr
MPU
GCC
8,498
79
1
[]
[ "<s>", "bool", "rs6000_pragma_target_parse", "(", "tree", "args", ",", "tree", "pop_target", ")", "{", "tree", "prev_tree", "=", "build_target_option_node", "(", "&", "global_options", ")", ";", "tree", "cur_tree", ";", "struct", "cl_target_option", "*", "prev_opt...
[ "Hook", "to", "validate", "the", "current", "#", "pragma", "GCC", "target", "and", "set", "the", "state", ",", "and", "update", "the", "macros", "based", "on", "what", "was", "changed", ".", "If", "ARGS", "is", "NULL", ",", "then", "POP_TARGET", "is", ...
[ "powerpcspe", "\"\\n==================== rs6000_pragma_target_parse\\n\"", "\"args:\"", "\" \"", "\"\\n\"", "\"pop_target:\\n\"", "\"pop_target: <NULL>\\n\"", "\"--------------------\\n\"", "1", "\"invalid pragma\\n\"", "0", "0" ]
powerpcspe
rs6000_pragma_target_parse
powerpcspe
CPU
GCC
8,499
307
1
[]