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", "void", "csky_setup_incoming_varargs", "(", "cumulative_args_t", "pcum_v", ",", "const", "function_arg_info", "&", "arg", ",", "int", "*", "pretend_size", ",", "int", "second_time", "ATTRIBUTE_UNUSED", ")", "{", "CUMULATIVE_ARGS", "*", "pcum", "=", ...
[ "Implement", "TARGET_SETUP_INCOMING_VARARGS", ".", "On", "C-Sky", "the", "copy", "from", "the", "argument", "registers", "to", "the", "stack", "is", "emitted", "by", "the", "prologue", "hooks", ",", "so", "here", "we", "just", "have", "to", "note", "how", "m...
[ "csky", "1" ]
csky
csky_setup_incoming_varargs
csky
CPU
GCC
25,300
85
1
[]
[ "<s>", "const", "InstrItineraryData", "*", "getInstrItineraryData", "(", ")", "const", "override", "{", "return", "&", "getSubtargetImpl", "(", ")", "->", "getInstrItineraryData", "(", ")", ";", "}", "</s>" ]
[ "getInstrItineraryData", "-", "Returns", "instruction", "itinerary", "data", "for", "the", "target", "or", "specific", "subtarget", "." ]
[ "PowerPC" ]
PPCTargetMachine
getInstrItineraryData
PowerPC
CPU
LLVM
25,301
20
1
[]
[ "<s>", "const", "uint32_t", "*", "AArch64RegisterInfo", "::", "getThisReturnPreservedMask", "(", "CallingConv", "::", "ID", ")", "const", "{", "return", "CSR_AArch64_AAPCS_ThisReturn_RegMask", ";", "}", "</s>" ]
[ "getThisReturnPreservedMask", "-", "Returns", "a", "call", "preserved", "mask", "specific", "to", "the", "case", "that", "'returned", "'", "is", "on", "an", "i32", "first", "argument", "if", "the", "calling", "convention", "is", "one", "that", "can", "(", "p...
[ "AArch64", "AArch64", "AArch64" ]
AArch64RegisterInfo1
getThisReturnPreservedMask
AArch64
CPU
LLVM
25,302
17
1
[]
[ "<s>", "bool", "LC3RegisterInfo", "::", "useFPForScavengingIndex", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "return", "false", ";", "}", "</s>" ]
[ "Returns", "true", "if", "the", "target", "wants", "to", "use", "frame", "pointer", "based", "accesses", "to", "spill", "to", "the", "scavenger", "emergency", "spill", "slot", "." ]
[ "LC3", "LC3" ]
LC3RegisterInfo
useFPForScavengingIndex
LC3
CPU
LLVM
25,303
16
1
[]
[ "<s>", "bool", "X86DAGToDAGISel", "::", "SelectInlineAsmMemoryOperand", "(", "const", "SDValue", "&", "Op", ",", "unsigned", "ConstraintID", ",", "std", "::", "vector", "<", "SDValue", ">", "&", "OutOps", ")", "{", "SDValue", "Op0", ",", "Op1", ",", "Op2", ...
[ "SelectInlineAsmMemoryOperand", "-", "Select", "the", "specified", "address", "as", "a", "target", "addressing", "mode", ",", "according", "to", "the", "specified", "constraint", "." ]
[ "X86", "X86", "\"Unexpected asm memory constraint\"" ]
X86ISelDAGToDAG67
SelectInlineAsmMemoryOperand
X86
CPU
LLVM
25,304
136
1
[]
[ "<s>", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"ARM MLA / MLS expansion pass\"", ";", "}", "</s>" ]
[ "getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "." ]
[ "ARM", "\"ARM MLA / MLS expansion pass\"" ]
MLxExpansionPass11
getPassName
ARM
CPU
LLVM
25,305
11
1
[]
[ "<s>", "void", "ARMPassConfig", "::", "addIRPasses", "(", ")", "{", "if", "(", "TM", "->", "Options", ".", "ThreadModel", "==", "ThreadModel", "::", "Single", ")", "addPass", "(", "createLowerAtomicPass", "(", ")", ")", ";", "else", "addPass", "(", "create...
[ "Add", "common", "target", "configurable", "passes", "that", "perform", "LLVM", "IR", "to", "IR", "transforms", "following", "machine", "independent", "optimization", "." ]
[ "ARM", "ARM", "1", "ARM" ]
ARMTargetMachine55
addIRPasses
ARM
CPU
LLVM
25,306
131
1
[]
[ "<s>", "bool", "X86FrameLowering", "::", "restoreCalleeSavedRegisters", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "const", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", ",", "const", "TargetRegis...
[ "restoreCalleeSavedRegisters", "-", "Issues", "instruction", "(", "s", ")", "to", "restore", "all", "callee", "saved", "registers", "and", "returns", "true", "if", "it", "is", "n't", "possible", "/", "profitable", "to", "do", "so", "by", "issuing", "a", "ser...
[ "X86", "X86", "0", "X86::GR64RegClass", "X86::GR32RegClass", "X86::POP64r", "X86::POP32r", "0", "X86::GR64RegClass", "X86::GR32RegClass" ]
X86FrameLowering (2)
restoreCalleeSavedRegisters
X86
CPU
LLVM
25,307
290
1
[]
[ "<s>", "static", "void", "aarch64_emit_unspec_cond", "(", "rtx", "target", ",", "rtx_code", "code", ",", "machine_mode", "pred_mode", ",", "rtx", "pred", ",", "rtx", "op0", ",", "rtx", "op1", ")", "{", "rtx", "unspec", "=", "aarch64_gen_unspec_cond", "(", "c...
[ "Emit", "an", "instruction", ":", "(", "set", "TARGET", "(", "unspec", ":", "PRED_MODE", "[", "PRED", "OP0", "OP1", "]", "UNSPEC_COND_", "<", "X", ">", ")", ")", "where", "<", "X", ">", "is", "the", "operation", "associated", "with", "comparison", "COD...
[ "aarch64" ]
aarch645
aarch64_emit_unspec_cond
aarch64
CPU
GCC
25,308
47
1
[]
[ "<s>", "void", "AMDGPUAsmPrinter", "::", "EmitInstruction", "(", "const", "MachineInstr", "*", "MI", ")", "{", "const", "AMDGPUSubtarget", "&", "STI", "=", "MF", "->", "getSubtarget", "<", "AMDGPUSubtarget", ">", "(", ")", ";", "AMDGPUMCInstLower", "MCInstLoweri...
[ "EmitInstruction", "-", "This", "callback", "is", "invoked", "when", "an", "instruction", "is", "emitted", ",", "to", "advance", "the", "hazard", "state", "." ]
[ "R600", "\"Warning: Illegal instruction detected: \"", "\"\\n\"", "1", "4", "16", "1", "0", "4", "\"%s%08X\"", "0", "\" \"", "\"\"" ]
AMDGPUMCInstLower42
EmitInstruction
R600
GPU
LLVM
25,309
424
1
[]
[ "<s>", "const", "MCPhysReg", "*", "PPCRegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "const", "PPCSubtarget", "&", "Subtarget", "=", "MF", "->", "getSubtarget", "<", "PPCSubtarget", ">", "(", ")", ";",...
[ "Code", "Generation", "virtual", "methods", "..." ]
[ "PowerPC", "PPC", "PPC", "PPC", "PPC", "PPC", "PPC", "PPC::X2", "PPC" ]
PPCRegisterInfo4
getCalleeSavedRegs
PowerPC
CPU
LLVM
25,310
194
1
[]
[ "<s>", "static", "void", "microblaze_asm_trampoline_template", "(", "FILE", "*", "f", ")", "{", "fprintf", "(", "f", ",", "\"\\tmfs r18, rpc\\n\"", ")", ";", "fprintf", "(", "f", ",", "\"\\tlwi r3, r18, 16\\n\"", ")", ";", "fprintf", "(", "f", ",", "\"\\tlwi r...
[ "Generate", "assembler", "code", "for", "constant", "parts", "of", "a", "trampoline", "." ]
[ "microblaze", "\"\\tmfs r18, rpc\\n\"", "\"\\tlwi r3, r18, 16\\n\"", "\"\\tlwi r18, r18, 20\\n\"", "\"\\tbra r18\\n\"" ]
microblaze
microblaze_asm_trampoline_template
microblaze
MPU
GCC
25,311
38
1
[]
[ "<s>", "SDValue", "SystemZSelectionDAGInfo", "::", "EmitTargetCodeForMemcpy", "(", "SelectionDAG", "&", "DAG", ",", "SDLoc", "DL", ",", "SDValue", "Chain", ",", "SDValue", "Dst", ",", "SDValue", "Src", ",", "SDValue", "Size", ",", "unsigned", "Align", ",", "bo...
[ "Emit", "target-specific", "code", "that", "performs", "a", "memcpy", "." ]
[ "SystemZ", "SystemZ", "SystemZISD::MVC", "SystemZISD::MVC_LOOP" ]
SystemZSelectionDAGInfo (2)
EmitTargetCodeForMemcpy
SystemZ
CPU
LLVM
25,312
98
1
[]
[ "<s>", "bool", "PPCInstrInfo", "::", "findCommutedOpIndices", "(", "MachineInstr", "&", "MI", ",", "unsigned", "&", "SrcOpIdx1", ",", "unsigned", "&", "SrcOpIdx2", ")", "const", "{", "int", "AltOpc", "=", "PPC", "::", "getAltVSXFMAOpcode", "(", "MI", ".", "g...
[ "Returns", "true", "iff", "the", "routine", "could", "find", "two", "commutable", "operands", "in", "the", "given", "machine", "instruction", "." ]
[ "PowerPC", "PPC", "PPC::getAltVSXFMAOpcode", "1", "2", "3" ]
PPCInstrInfo (2)2
findCommutedOpIndices
PowerPC
CPU
LLVM
25,313
65
1
[]
[ "<s>", "static", "inline", "int", "avr_popcount", "(", "unsigned", "int", "val", ")", "{", "int", "pop", "=", "0", ";", "while", "(", "val", ")", "{", "val", "&=", "val", "-", "1", ";", "pop", "++", ";", "}", "return", "pop", ";", "}", "</s>" ]
[ "Custom", "function", "to", "count", "number", "of", "set", "bits", "." ]
[ "avr", "0", "1" ]
avr4
avr_popcount
avr
MPU
GCC
25,314
34
1
[]
[ "<s>", "bool", "NVPTXPassConfig", "::", "addInstSelector", "(", ")", "{", "addPass", "(", "createLowerAggrCopies", "(", ")", ")", ";", "addPass", "(", "createSplitBBatBarPass", "(", ")", ")", ";", "addPass", "(", "createAllocaHoisting", "(", ")", ")", ";", "...
[ "addInstSelector", "-", "This", "method", "should", "install", "an", "instruction", "selector", "pass", ",", "which", "converts", "from", "LLVM", "code", "to", "machine", "instructions", "." ]
[ "NVPTX", "NVPTX", "NVPTX", "NVPTX", "NVPTX" ]
NVPTXTargetMachine10
addInstSelector
NVPTX
GPU
LLVM
25,315
56
1
[]
[ "<s>", "static", "bool", "visium_legitimate_constant_p", "(", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ",", "rtx", "x", "ATTRIBUTE_UNUSED", ")", "{", "return", "true", ";", "}", "</s>" ]
[ "Return", "true", "if", "X", "is", "a", "legitimate", "constant", "for", "a", "MODE", "immediate", "operand", ".", "X", "is", "guaranteed", "to", "satisfy", "the", "CONSTANT_P", "predicate", "." ]
[ "visium" ]
visium
visium_legitimate_constant_p
visium
Virtual ISA
GCC
25,316
17
1
[]
[ "<s>", "MBlazeTargetLowering", "::", "ConstraintType", "MBlazeTargetLowering", "::", "getConstraintType", "(", "const", "std", "::", "string", "&", "Constraint", ")", "const", "{", "if", "(", "Constraint", ".", "size", "(", ")", "==", "1", ")", "{", "switch", ...
[ "Given", "a", "constraint", "letter", ",", "return", "the", "type", "of", "constraint", "for", "this", "target", "." ]
[ "MBlaze", "MBlaze", "MBlaze", "1", "0" ]
MBlazeISelLowering
getConstraintType
MBlaze
MPU
LLVM
25,317
62
1
[]
[ "<s>", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "override", "{", "AU", ".", "setPreservesCFG", "(", ")", ";", "AU", ".", "addRequired", "<", "MachineBlockFrequencyInfo", ">", "(", ")", ";", "AU", ".", "addPreserved", "<", ...
[ "getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "." ]
[ "Z80old" ]
Z80oldExpandPseudo
getAnalysisUsage
Z80old
MPU
LLVM
25,318
186
1
[]
[ "<s>", "MCObjectWriter", "*", "createObjectWriter", "(", "raw_pwrite_stream", "&", "OS", ")", "const", "override", "{", "return", "createLEGELFObjectWriter", "(", "OS", ",", "OSABI", ")", ";", "}", "</s>" ]
[ "Create", "a", "new", "MCObjectWriter", "instance", "for", "use", "by", "the", "assembler", "backend", "to", "emit", "the", "final", "object", "file", "." ]
[ "LEG", "LEG" ]
LEGAsmBackend
createObjectWriter
LEG
CPU
LLVM
25,319
20
1
[]
[ "<s>", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", "\"Hexagon CFG Optimizer\"", ";", "}", "</s>" ]
[ "getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "." ]
[ "Hexagon", "\"Hexagon CFG Optimizer\"" ]
HexagonCFGOptimizer16
getPassName
Hexagon
DSP
LLVM
25,320
12
1
[]
[ "<s>", "void", "ARMCallLowering", "::", "splitToValueTypes", "(", "const", "ArgInfo", "&", "OrigArg", ",", "SmallVectorImpl", "<", "ArgInfo", ">", "&", "SplitArgs", ",", "MachineFunction", "&", "MF", ",", "const", "SplitArgTy", "&", "PerformArgSplit", ")", "cons...
[ "Break", "OrigArgInfo", "into", "one", "or", "more", "pieces", "the", "calling", "convention", "can", "process", ",", "returned", "in", "SplitArgs", "." ]
[ "ARM", "ARM", "ARM", "ARM", "4", "4", "0", "1", "0", "0", "1", "0", "8" ]
ARMCallLowering (2)
splitToValueTypes
ARM
CPU
LLVM
25,321
375
1
[]
[ "<s>", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"X86 CondBr Folding\"", ";", "}", "</s>" ]
[ "getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "." ]
[ "X86", "\"X86 CondBr Folding\"" ]
X86CondBrFolding
getPassName
X86
CPU
LLVM
25,322
11
1
[]
[ "<s>", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", "\"Patmos DAG->DAG Pattern Instruction Selection\"", ";", "}", "</s>" ]
[ "getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "." ]
[ "Patmos", "\"Patmos DAG->DAG Pattern Instruction Selection\"" ]
PatmosISelDAGToDAG
getPassName
Patmos
VLIW
LLVM
25,323
13
1
[]
[ "<s>", "static", "HOST_WIDE_INT", "arg_area_size", "(", "void", ")", "{", "if", "(", "crtl", "->", "outgoing_args_size", ")", "{", "if", "(", "crtl", "->", "outgoing_args_size", ">=", "FIXED_STACK_AREA", ")", "return", "crtl", "->", "outgoing_args_size", ";", ...
[ "Return", "the", "number", "of", "bytes", "we", "must", "reserve", "for", "outgoing", "arguments", "in", "the", "current", "function", "'s", "stack", "frame", "." ]
[ "bfin", "0" ]
bfin
arg_area_size
bfin
DSP
GCC
25,324
36
1
[]
[ "<s>", "static", "unsigned", "getOpcode_EXTEND_VECTOR_INREG", "(", "unsigned", "Opcode", ")", "{", "switch", "(", "Opcode", ")", "{", "case", "ISD", "::", "ANY_EXTEND", ":", "case", "ISD", "::", "ANY_EXTEND_VECTOR_INREG", ":", "return", "ISD", "::", "ANY_EXTEND_...
[ "Convert", "*", "_EXTEND", "to", "*", "_EXTEND_VECTOR_INREG", "opcode", "." ]
[ "X86", "ISD::ANY_EXTEND", "ISD::ANY_EXTEND_VECTOR_INREG", "ISD::ANY_EXTEND_VECTOR_INREG", "ISD::ZERO_EXTEND", "ISD::ZERO_EXTEND_VECTOR_INREG", "ISD::ZERO_EXTEND_VECTOR_INREG", "ISD::SIGN_EXTEND", "ISD::SIGN_EXTEND_VECTOR_INREG", "ISD::SIGN_EXTEND_VECTOR_INREG", "\"Unknown opcode\"" ]
X86ISelLowering (2)5
getOpcode_EXTEND_VECTOR_INREG
X86
CPU
LLVM
25,325
65
1
[]
[ "<s>", "int", "ia64_function_arg_boundary", "(", "enum", "machine_mode", "mode", ",", "tree", "type", ")", "{", "if", "(", "mode", "==", "TFmode", "&&", "TARGET_HPUX", "&&", "TARGET_ILP32", ")", "return", "PARM_BOUNDARY", "*", "2", ";", "if", "(", "type", ...
[ "Arguments", "with", "alignment", "larger", "than", "8", "bytes", "start", "at", "the", "next", "even", "boundary", ".", "On", "ILP32", "HPUX", ",", "TFmode", "arguments", "start", "on", "next", "even", "boundary", "even", "though", "their", "normal", "align...
[ "ia64", "2", "2", "2" ]
ia643
ia64_function_arg_boundary
ia64
CPU
GCC
25,326
69
1
[]
[ "<s>", "void", "HexagonInstrInfo", "::", "immediateExtend", "(", "MachineInstr", "*", "MI", ")", "const", "{", "assert", "(", "(", "isExtendable", "(", "MI", ")", "||", "isConstExtended", "(", "MI", ")", ")", "&&", "\"Instruction must be extendable\"", ")", ";...
[ "immediateExtend", "-", "Changes", "the", "instruction", "in", "place", "to", "one", "using", "an", "immediate", "extender", "." ]
[ "Hexagon", "Hexagon", "\"Instruction must be extendable\"", "\"Branch with unknown extendable field type\"", "HexagonII::HMOTF_ConstExtended" ]
HexagonInstrInfo (2)
immediateExtend
Hexagon
DSP
LLVM
25,327
76
1
[]
[ "<s>", "const", "MCFixupKindInfo", "&", "WebAssemblyAsmBackend", "::", "getFixupKindInfo", "(", "MCFixupKind", "Kind", ")", "const", "{", "const", "static", "MCFixupKindInfo", "Infos", "[", "WebAssembly", "::", "NumTargetFixupKinds", "]", "=", "{", "{", "\"fixup_sle...
[ "Get", "information", "on", "a", "fixup", "kind", "." ]
[ "WebAssembly", "WebAssembly", "WebAssembly::NumTargetFixupKinds", "\"fixup_sleb128_i32\"", "0", "5", "8", "0", "\"fixup_sleb128_i64\"", "0", "10", "8", "0", "\"fixup_uleb128_i32\"", "0", "5", "8", "0", "\"Invalid kind!\"" ]
WebAssemblyAsmBackend16
getFixupKindInfo
WebAssembly
Virtual ISA
LLVM
25,328
100
1
[]
[ "<s>", "bool", "M88kCallLowering", "::", "lowerFormalArguments", "(", "MachineIRBuilder", "&", "MIRBuilder", ",", "const", "Function", "&", "F", ",", "ArrayRef", "<", "ArrayRef", "<", "Register", ">>", "VRegs", ",", "FunctionLoweringInfo", "&", "FLI", ")", "cons...
[ "This", "hook", "must", "be", "implemented", "to", "lower", "the", "incoming", "(", "formal", ")", "arguments", ",", "described", "by", "VRegs", ",", "for", "GlobalISel", "." ]
[ "M88k", "M88k", "8", "0", "M88k" ]
M88kCallLowering
lowerFormalArguments
M88k
MPU
LLVM
25,329
180
1
[]
[ "<s>", "bool", "AMDGPUTargetLowering", "::", "isKnownNeverNaNForTargetNode", "(", "SDValue", "Op", ",", "const", "SelectionDAG", "&", "DAG", ",", "bool", "SNaN", ",", "unsigned", "Depth", ")", "const", "{", "unsigned", "Opcode", "=", "Op", ".", "getOpcode", "(...
[ "If", "SNaN", "is", "false", ",", "." ]
[ "AMDGPU", "AMDGPU", "AMDGPUISD::FMIN_LEGACY", "AMDGPUISD::FMAX_LEGACY", "AMDGPUISD::FMUL_LEGACY", "AMDGPUISD::CVT_PKRTZ_F16_F32", "0", "1", "1", "1", "AMDGPUISD::FMED3", "AMDGPUISD::FMIN3", "AMDGPUISD::FMAX3", "AMDGPUISD::FMAD_FTZ", "0", "1", "1", "1", "2", "1", "AMDGPUISD::C...
AMDGPUISelLowering
isKnownNeverNaNForTargetNode
AMDGPU
GPU
LLVM
25,330
417
1
[]
[ "<s>", "rtx", "loongarch_return_addr", "(", "int", "count", ",", "rtx", "frame", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "count", "!=", "0", ")", "return", "const0_rtx", ";", "return", "get_hard_reg_initial_val", "(", "Pmode", ",", "RETURN_ADDR_REGNUM", ")", ...
[ "Implement", "RETURN_ADDR_RTX", ".", "We", "do", "not", "support", "moving", "back", "to", "a", "previous", "frame", "." ]
[ "loongarch", "0" ]
loongarch
loongarch_return_addr
loongarch
CPU
GCC
25,331
29
1
[]
[ "<s>", "bool", "ARMBaseInstrInfo", "::", "isSchedulingBoundary", "(", "const", "MachineInstr", "*", "MI", ",", "const", "MachineBasicBlock", "*", "MBB", ",", "const", "MachineFunction", "&", "MF", ")", "const", "{", "if", "(", "MI", "->", "isDebugValue", "(", ...
[ "isSchedulingBoundary", "-", "Overrides", "the", "isSchedulingBoundary", "from", "Codegen/TargetInstrInfo.cpp", "to", "make", "it", "capable", "of", "identifying", "ENDBR", "intructions", "and", "prevent", "it", "from", "being", "re-scheduled", "." ]
[ "ARM", "ARM", "ARM::t2IT", "ARM::SP" ]
ARMBaseInstrInfo (2)1
isSchedulingBoundary
ARM
CPU
LLVM
25,332
123
1
[]
[ "<s>", "const", "char", "*", "X86TargetLowering", "::", "LowerXConstraint", "(", "EVT", "ConstraintVT", ")", "const", "{", "if", "(", "ConstraintVT", ".", "isFloatingPoint", "(", ")", ")", "{", "if", "(", "Subtarget", ".", "hasSSE1", "(", ")", ")", "return...
[ "Try", "to", "replace", "an", "X", "constraint", ",", "which", "matches", "anything", ",", "with", "another", "that", "has", "more", "specific", "requirements", "based", "on", "the", "type", "of", "the", "corresponding", "operand", "." ]
[ "X86", "X86", "\"x\"" ]
X86ISelLowering (2)5
LowerXConstraint
X86
CPU
LLVM
25,333
42
1
[]
[ "<s>", "virtual", "const", "HexagonRegisterInfo", "&", "getRegisterInfo", "(", ")", "const", "{", "return", "RI", ";", "}", "</s>" ]
[ "getRegisterInfo", "-", "TargetInstrInfo", "is", "a", "superset", "of", "MRegister", "info", "." ]
[ "Hexagon", "Hexagon" ]
HexagonInstrInfo (2)
getRegisterInfo
Hexagon
DSP
LLVM
25,334
13
1
[]
[ "<s>", "const", "LanaiMCExpr", "*", "LanaiMCExpr", "::", "create", "(", "VariantKind", "Kind", ",", "const", "MCExpr", "*", "Expr", ",", "MCContext", "&", "Ctx", ")", "{", "return", "new", "(", "Ctx", ")", "LanaiMCExpr", "(", "Kind", ",", "Expr", ")", ...
[ "This", "creates", "an", "identified", "struct", "." ]
[ "Lanai", "Lanai", "Lanai", "Lanai" ]
LanaiMCExpr
create
Lanai
CPU
LLVM
25,335
33
1
[]
[ "<s>", "static", "bool", "classof", "(", "const", "ARMConstantPoolMBB", "*", ")", "{", "return", "true", ";", "}", "</s>" ]
[ "Methods", "for", "support", "type", "inquiry", "through", "isa", ",", "cast", ",", "and", "dyn_cast", ":" ]
[ "ARM", "ARM" ]
ARMConstantPoolValue29
classof
ARM
CPU
LLVM
25,336
13
1
[]
[ "<s>", "static", "rtx", "ia64_dfa_pre_cycle_insn", "(", "void", ")", "{", "return", "dfa_pre_cycle_insn", ";", "}", "</s>" ]
[ "The", "following", "function", "returns", "the", "pseudo", "insn", "DFA_PRE_CYCLE_INSN", "used", "by", "the", "DFA", "insn", "scheduler", "." ]
[ "ia64" ]
ia64
ia64_dfa_pre_cycle_insn
ia64
CPU
GCC
25,337
11
1
[]
[ "<s>", "void", "RISCVFrameLowering", "::", "determineFrameLayout", "(", "MachineFunction", "&", "MF", ")", "const", "{", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "RISCVRegisterInfo", "*", "RI", "=", "STI", ".", ...
[ "Determine", "the", "frame", "layout", "but", "do", "not", "update", "the", "machine", "function", "." ]
[ "RISCV", "RISCV", "RISCV" ]
RISCVFrameLowering
determineFrameLayout
RISCV
CPU
LLVM
25,338
133
1
[]
[ "<s>", "void", "WebAssemblyInstPrinter", "::", "printInst", "(", "const", "MCInst", "*", "MI", ",", "raw_ostream", "&", "OS", ",", "StringRef", "Annot", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "{", "printInstruction", "(", "MI", ",", "OS", ")", "...
[ "Print", "the", "specified", "MCInst", "to", "the", "specified", "raw_ostream", "." ]
[ "WebAssembly", "WebAssembly" ]
WebAssemblyInstPrinter24
printInst
WebAssembly
Virtual ISA
LLVM
25,339
38
1
[]
[ "<s>", "void", "NVPTXPassConfig", "::", "addIRPasses", "(", ")", "{", "disablePass", "(", "&", "PrologEpilogCodeInserterID", ")", ";", "disablePass", "(", "&", "MachineCopyPropagationID", ")", ";", "disablePass", "(", "&", "TailDuplicateID", ")", ";", "addPass", ...
[ "Add", "common", "target", "configurable", "passes", "that", "perform", "LLVM", "IR", "to", "IR", "transforms", "following", "machine", "independent", "optimization", "." ]
[ "NVPTX", "NVPTX", "NVPTX", "NVPTX" ]
NVPTXTargetMachine8
addIRPasses
NVPTX
GPU
LLVM
25,340
104
1
[]
[ "<s>", "virtual", "const", "DataLayout", "*", "getDataLayout", "(", ")", "const", "{", "return", "&", "DL", ";", "}", "</s>" ]
[ "Return", "the", "DataLayout", "associated", "with", "the", "module", "this", "SCEV", "instance", "is", "operating", "on", "." ]
[ "Kudeyar" ]
KudeyarTargetMachine
getDataLayout
Kudeyar
CPU
LLVM
25,341
14
1
[]
[ "<s>", "bool", "Mips16HardFloat", "::", "runOnModule", "(", "Module", "&", "M", ")", "{", "DEBUG", "(", "errs", "(", ")", "<<", "\"Run on Module Mips16HardFloat\\n\"", ")", ";", "bool", "Modified", "=", "false", ";", "for", "(", "Module", "::", "iterator", ...
[ "runOnModule", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "process", "the", "module", "being", "operated", "on", "." ]
[ "Mips", "Mips", "\"Run on Module Mips16HardFloat\\n\"", "\"mips16_fp_stub\"", "\"nomips16\"" ]
Mips16HardFloat
runOnModule
Mips
CPU
LLVM
25,342
128
1
[]
[ "<s>", "int", "shmedia_cleanup_truncate", "(", "rtx", "x", ")", "{", "int", "n_changes", "=", "0", ";", "subrtx_var_iterator", "::", "array_type", "array", ";", "FOR_EACH_SUBRTX_VAR", "(", "iter", ",", "array", ",", "x", ",", "NONCONST", ")", "{", "rtx", "...
[ "Look", "through", "X", "cleaning", "up", "truncates", "of", "registers", "that", "span", "multiple", "actual", "hard", "registers", ".", "Return", "the", "number", "of", "changes", "made", "." ]
[ "sh", "0", "0", "8", "0", "1" ]
sh4
shmedia_cleanup_truncate
sh
CPU
GCC
25,343
122
1
[]
[ "<s>", "bool", "XNCMInstrInfo", "::", "isUnpredicatedTerminator", "(", "const", "MachineInstr", "*", "MI", ")", "const", "{", "if", "(", "!", "MI", "->", "isTerminator", "(", ")", ")", "return", "false", ";", "if", "(", "MI", "->", "isBranch", "(", ")", ...
[ "Returns", "true", "if", "the", "instruction", "is", "a", "terminator", "instruction", "that", "has", "not", "been", "predicated", "." ]
[ "XNCM", "XNCM" ]
XNCMInstrInfo
isUnpredicatedTerminator
XNCM
CPU
LLVM
25,344
62
1
[]
[ "<s>", "void", "TLCS900InstrInfo", "::", "copyPhysReg", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "DebugLoc", "DL", ",", "unsigned", "DestReg", ",", "unsigned", "SrcReg", ",", "bool", "KillSrc", ")", "const", "...
[ "}", "Branch", "Analysis", "&", "Modification" ]
[ "TLCS900", "TLCS900", "TLCS900::GR16RegClass", "TLCS900::MOV16rr", "TLCS900::GR8RegClass", "TLCS900::MOV8rr", "\"Impossible reg-to-reg copy\"" ]
TLCS900InstrInfo
copyPhysReg
TLCS900
MPU
LLVM
25,345
103
1
[]
[ "<s>", "inline", "machine_mode", "function_instance", "::", "vector_mode", "(", "unsigned", "int", "i", ")", "const", "{", "return", "type_suffix", "(", "i", ")", ".", "vector_mode", ";", "}", "</s>" ]
[ "Return", "the", "machine_mode", "of", "the", "corresponding", "vector", "type", "." ]
[ "aarch64" ]
aarch64-sve-builtins
vector_mode
aarch64
CPU
GCC
25,346
21
1
[]
[ "<s>", "static", "rtx", "function_arg_record_value", "(", "const_tree", "type", ",", "machine_mode", "mode", ",", "int", "slotno", ",", "int", "named", ",", "int", "regbase", ")", "{", "HOST_WIDE_INT", "typesize", "=", "int_size_in_bytes", "(", "type", ")", ";...
[ "Used", "by", "function_arg", "and", "sparc_function_value_1", "to", "implement", "the", "complex", "conventions", "of", "the", "64-bit", "ABI", "for", "passing", "and", "returning", "structures", ".", "Return", "an", "expression", "valid", "as", "a", "return", ...
[ "sparc", "0", "0", "0", "0", "1", "1", "0", "0", "1", "0", "0", "1", "0", "0", "0", "0", "0", "0" ]
sparc4
function_arg_record_value
sparc
CPU
GCC
25,347
352
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" ]
NVPTXISelLowering37
PerformDAGCombine
NVPTX
GPU
LLVM
25,348
113
1
[]
[ "<s>", "int", "tilepro_adjust_insn_length", "(", "rtx_insn", "*", "insn", ",", "int", "length", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "insn", ")", ";", "if", "(", "mode", "==", "SImode", ")", "return", "0", ";", "return", "length", ";",...
[ "Return", "the", "length", "of", "INSN", ".", "LENGTH", "is", "the", "initial", "length", "computed", "by", "attributes", "in", "the", "machine-description", "file", ".", "This", "is", "where", "we", "account", "for", "bundles", "." ]
[ "tilepro", "0" ]
tilepro
tilepro_adjust_insn_length
tilepro
VLIW
GCC
25,349
32
1
[]
[ "<s>", "void", "X86InstrInfo", "::", "buildOutlinedFrame", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineFunction", "&", "MF", ",", "const", "outliner", "::", "TargetCostInfo", "&", "TCI", ")", "const", "{", "if", "(", "TCI", ".", "FrameConstructionID", "...
[ "Insert", "a", "custom", "frame", "for", "outlined", "functions", "." ]
[ "X86", "X86", "X86::RETQ" ]
X86InstrInfo102
buildOutlinedFrame
X86
CPU
LLVM
25,350
66
1
[]
[ "<s>", "void", "GCNSubtarget", "::", "adjustSchedDependency", "(", "SUnit", "*", "Src", ",", "SUnit", "*", "Dst", ",", "SDep", "&", "Dep", ")", "const", "{", "if", "(", "Dep", ".", "getKind", "(", ")", "!=", "SDep", "::", "Kind", "::", "Data", "||", ...
[ "Perform", "target", "specific", "adjustments", "to", "the", "latency", "of", "a", "schedule", "dependency", "." ]
[ "AMDGPU", "SI", "0", "SI" ]
AMDGPUSubtarget107
adjustSchedDependency
AMDGPU
GPU
LLVM
25,351
315
1
[]
[ "<s>", "bool", "NVPTXAsmPrinter", "::", "doInitialization", "(", "Module", "&", "M", ")", "{", "StringRef", "TT", "=", "TM", ".", "getTargetTriple", "(", ")", ";", "StringRef", "CPU", "=", "TM", ".", "getTargetCPU", "(", ")", ";", "StringRef", "FS", "=",...
[ "Set", "up", "the", "AsmPrinter", "when", "we", "are", "working", "on", "a", "new", "module", "." ]
[ "NVPTX", "NVPTX", "NVPTX", "NVPTX", "NVPTX", "128", "\"Start of file scope inline assembly\"", "\"End of file scope inline assembly\"" ]
NVPTXAsmPrinter25
doInitialization
NVPTX
GPU
LLVM
25,352
236
1
[]
[ "<s>", "void", "end", "(", ")", "{", "}", "</s>" ]
[ "Get", "a", "const_iterator", "to", "the", "end", "of", "the", "symbol", "table", "." ]
[ "AMDGPU" ]
AMDGPUCodeObjectMetadataStreamer
end
AMDGPU
GPU
LLVM
25,353
6
1
[]
[ "<s>", "MachineBasicBlock", "::", "iterator", "AArch64InstrInfo", "::", "insertOutlinedCall", "(", "Module", "&", "M", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "&", "It", ",", "MachineFunction", "&", "MF", ",", "const", "...
[ "Insert", "a", "call", "to", "an", "outlined", "function", "into", "the", "program", "." ]
[ "AArch64", "AArch64", "AArch64::TCRETURNdi", "0", "AArch64::BL", "AArch64::STRXpre", "AArch64::SP", "AArch64::LR", "AArch64::SP", "16", "AArch64::BL", "AArch64::LDRXpost", "AArch64::SP", "AArch64::LR", "AArch64::SP", "16" ]
AArch64InstrInfo37
insertOutlinedCall
AArch64
CPU
LLVM
25,354
332
1
[]
[ "<s>", "unsigned", "internalKnownBits", "(", ")", "const", "{", "unsigned", "Bits", "=", "Unalign", "?", "Unalign", ":", "KnownBits", ";", "if", "(", "Size", "&", "(", "(", "1u", "<<", "Bits", ")", "-", "1", ")", ")", "Bits", "=", "CountTrailingZeros_3...
[ "Compute", "the", "number", "of", "known", "offset", "bits", "internally", "to", "this", "block", "." ]
[ "ARM", "1u", "1" ]
ARMConstantIslandPass12
internalKnownBits
ARM
CPU
LLVM
25,355
40
1
[]
[ "<s>", "std", "::", "pair", "<", "unsigned", ",", "const", "TargetRegisterClass", "*", ">", "MipsTargetLowering", "::", "getRegForInlineAsmConstraint", "(", "const", "std", "::", "string", "&", "Constraint", ",", "EVT", "VT", ")", "const", "{", "if", "(", "C...
[ "Given", "a", "physical", "register", "constraint", "(", "e.g", "." ]
[ "Mips", "Mips", "1", "0", "MVT::i32", "MVT::i16", "MVT::i8", "0U", "Mips::CPURegsRegClass", "MVT::i64", "Mips", "0U", "Mips::CPURegsRegClass", "MVT::i64", "Mips", "0U", "Mips::CPU64RegsRegClass", "0u", "0", "MVT::f32", "0U", "Mips::FGR32RegClass", "MVT::f64", "0U", "M...
MipsISelLowering39
getRegForInlineAsmConstraint
Mips
CPU
LLVM
25,356
372
1
[]
[ "<s>", "const", "char", "*", "mcore_output_andn", "(", "rtx", "insn", "ATTRIBUTE_UNUSED", ",", "rtx", "operands", "[", "]", ")", "{", "HOST_WIDE_INT", "x", ",", "y", ";", "rtx", "out_operands", "[", "3", "]", ";", "const", "char", "*", "load_op", ";", ...
[ "Outputs", "the", "peephole", "for", "moving", "a", "constant", "that", "gets", "not'ed", "followed", "by", "an", "and", "(", "i.e", ".", "combine", "the", "not", "and", "the", "and", "into", "andn", ")", ".", "BRC" ]
[ "mcore", "3", "256", "1", "2", "0", "0", "1", "2", "2", "0", "127", "\"movi\\t%0,%1\"", "\"bgeni\\t%0,%P1\"", "\"bmaski\\t%0,%N1\"", "\"BADMOVI-andn\\t%0, %1\"", "\"%s\\n\\tandn\\t%%2,%%0\"", "\"\"" ]
mcore
mcore_output_andn
mcore
MPU
GCC
25,357
165
1
[]
[ "<s>", "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "const", "PatmosMachineFunctionInfo", "*", "PMFI", "=", "MF", ".", "getInfo", "<", "PatmosMachineFunctionInfo", ">", "(", ")", ";", "bool", "Changed", "=", "false", ";", "if", ...
[ "runOnMachineFunction", "-", "Emit", "the", "function", "body", "." ]
[ "Patmos", "Patmos", "Patmos" ]
PatmosEnsureAlignment1
runOnMachineFunction
Patmos
VLIW
LLVM
25,358
156
1
[]
[ "<s>", "void", "VideocoreInstPrinter", "::", "printRegName", "(", "raw_ostream", "&", "OS", ",", "unsigned", "RegNo", ")", "const", "{", "OS", "<<", "StringRef", "(", "getRegisterName", "(", "RegNo", ")", ")", ".", "lower", "(", ")", ";", "}", "</s>" ]
[ "Print", "the", "assembler", "register", "name", "." ]
[ "Videocore", "Videocore" ]
VideocoreInstPrinter
printRegName
Videocore
DSP
LLVM
25,359
29
1
[]
[ "<s>", "static", "inline", "bool", "has_func_attr", "(", "const_tree", "decl", ",", "const", "char", "*", "func_attr", ")", "{", "if", "(", "decl", "==", "NULL_TREE", ")", "decl", "=", "current_function_decl", ";", "return", "lookup_attribute", "(", "func_attr...
[ "Returns", "true", "if", "the", "provided", "function", "has", "the", "specified", "attribute", "." ]
[ "rl78" ]
rl78
has_func_attr
rl78
MPU
GCC
25,360
38
1
[]
[ "<s>", "bool", "X86CallLowering", "::", "splitToValueTypes", "(", "const", "ArgInfo", "&", "OrigArg", ",", "SmallVectorImpl", "<", "ArgInfo", ">", "&", "SplitArgs", ",", "const", "DataLayout", "&", "DL", ",", "MachineRegisterInfo", "&", "MRI", ",", "SplitArgTy",...
[ "Break", "OrigArgInfo", "into", "one", "or", "more", "pieces", "the", "calling", "convention", "can", "process", ",", "returned", "in", "SplitArgs", "." ]
[ "X86", "X86", "X86", "X86", "4", "4", "0", "0", "1", "8", "0" ]
X86CallLowering
splitToValueTypes
X86
CPU
LLVM
25,361
255
1
[]
[ "<s>", "int", "mcore_byte_offset", "(", "unsigned", "int", "mask", ")", "{", "if", "(", "mask", "==", "0x00ffffffL", ")", "return", "0", ";", "else", "if", "(", "mask", "==", "0xff00ffffL", ")", "return", "1", ";", "else", "if", "(", "mask", "==", "0...
[ "Determine", "byte", "being", "masked", "." ]
[ "mcore", "0x00ffffffL", "0", "0xff00ffffL", "1", "0xffff00ffL", "2", "0xffffff00L", "3", "1" ]
mcore
mcore_byte_offset
mcore
MPU
GCC
25,362
52
1
[]
[ "<s>", "static", "void", "addInst", "(", "MachineInstr", "*", "MI", ")", "{", "Blocks", ".", "back", "(", ")", ".", "insert", "(", "MI", ")", ";", "PredicatedInsts", ".", "emplace", "(", "MI", ",", "std", "::", "make_unique", "<", "PredicatedMI", ">", ...
[ "Add", "a", "new", "MCInst", "operand", "." ]
[ "ARM" ]
ARMLowOverheadLoops
addInst
ARM
CPU
LLVM
25,363
40
1
[]
[ "<s>", "static", "rtx", "aarch64_gen_storewb_pair", "(", "machine_mode", "mode", ",", "rtx", "base", ",", "rtx", "reg", ",", "rtx", "reg2", ",", "HOST_WIDE_INT", "adjustment", ")", "{", "switch", "(", "mode", ")", "{", "case", "E_DImode", ":", "return", "g...
[ "Generate", "and", "return", "an", "instruction", "to", "store", "the", "pair", "of", "registers", "REG", "and", "REG2", "of", "mode", "MODE", "to", "location", "BASE", "with", "write-back", "adjusting", "the", "stack", "location", "BASE", "by", "ADJUSTMENT", ...
[ "aarch64" ]
aarch64
aarch64_gen_storewb_pair
aarch64
CPU
GCC
25,364
117
1
[]
[ "<s>", "MachineBasicBlock", "*", "XCoreTargetLowering", "::", "EmitInstrWithCustomInserter", "(", "MachineInstr", "*", "MI", ",", "MachineBasicBlock", "*", "BB", ")", "const", "{", "const", "TargetInstrInfo", "&", "TII", "=", "*", "getTargetMachine", "(", ")", "."...
[ "This", "method", "should", "be", "implemented", "by", "targets", "that", "mark", "instructions", "with", "the", "'usesCustomInserter", "'", "flag", "." ]
[ "XCore", "XCore", "XCore::SELECT_CC", "\"Unexpected instr type to insert\"", "XCore::BRFT_lru6", "1", "XCore::PHI", "0", "3", "2" ]
XCoreISelLowering33
EmitInstrWithCustomInserter
XCore
MPU
LLVM
25,365
317
1
[]
[ "<s>", "void", "pru_function_profiler", "(", "FILE", "*", "file", ",", "int", "labelno", "ATTRIBUTE_UNUSED", ")", "{", "fprintf", "(", "file", ",", "\"\\tmov\\tr1, ra\\n\"", ")", ";", "fprintf", "(", "file", ",", "\"\\tcall\\t_mcount\\n\"", ")", ";", "fprintf", ...
[ "Implement", "FUNCTION_PROFILER", "macro", "." ]
[ "pru", "\"\\tmov\\tr1, ra\\n\"", "\"\\tcall\\t_mcount\\n\"", "\"\\tmov\\tra, r1\\n\"" ]
pru
pru_function_profiler
pru
CPU
GCC
25,366
34
1
[]
[ "<s>", "const", "DataLayout", "*", "getDataLayout", "(", ")", "const", "override", "{", "return", "&", "DL", ";", "}", "</s>" ]
[ "Return", "the", "DataLayout", "associated", "with", "the", "module", "this", "SCEV", "instance", "is", "operating", "on", "." ]
[ "LM32" ]
LM32Subtarget
getDataLayout
LM32
MPU
LLVM
25,367
14
1
[]
[ "<s>", "bool", "AVRFrameLowering", "::", "hasFP", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "AVRMachineFunctionInfo", "*", "FuncInfo", "=", "MF", ".", "getInfo", "<", "AVRMachineFunctionInfo", ">", "(", ")", ";", "return", "(", ...
[ "hasFP", "-", "Return", "true", "if", "the", "specified", "function", "should", "have", "a", "dedicated", "frame", "pointer", "register", "." ]
[ "AVR", "AVR", "AVR", "AVR" ]
AVRFrameLowering (2)
hasFP
AVR
MPU
LLVM
25,368
58
1
[]
[ "<s>", "void", "CAHPFrameLowering", "::", "determineCalleeSaves", "(", "MachineFunction", "&", "MF", ",", "BitVector", "&", "SavedRegs", ",", "RegScavenger", "*", "RS", ")", "const", "{", "TargetFrameLowering", "::", "determineCalleeSaves", "(", "MF", ",", "SavedR...
[ "This", "method", "determines", "which", "of", "the", "registers", "reported", "by", "TargetRegisterInfo", ":", ":getCalleeSavedRegs", "(", ")", "should", "actually", "get", "saved", "." ]
[ "CAHP", "CAHP", "CAHP::X0", "CAHP::X2" ]
CAHPFrameLowering
determineCalleeSaves
CAHP
CPU
LLVM
25,369
58
1
[]
[ "<s>", "SDValue", "PPCTargetLowering", "::", "BuildSDIVPow2", "(", "SDNode", "*", "N", ",", "const", "APInt", "&", "Divisor", ",", "SelectionDAG", "&", "DAG", ",", "std", "::", "vector", "<", "SDNode", "*", ">", "*", "Created", ")", "const", "{", "EVT", ...
[ "Targets", "may", "override", "this", "function", "to", "provide", "custom", "SDIV", "lowering", "for", "power-of-2", "denominators", "." ]
[ "PowerPC", "PPC", "0", "MVT::i64", "PPC", "MVT::i32", "MVT::i64", "0", "PPCISD::SRA_ADDZE", "ISD::SUB", "0" ]
PPCISelLowering (2)2
BuildSDIVPow2
PowerPC
CPU
LLVM
25,370
245
1
[]
[ "<s>", "void", "AMDGPUInstPrinter", "::", "printOffset", "(", "const", "MCInst", "*", "MI", ",", "unsigned", "OpNo", ",", "const", "MCSubtargetInfo", "&", "STI", ",", "raw_ostream", "&", "O", ")", "{", "uint16_t", "Imm", "=", "MI", "->", "getOperand", "(",...
[ "This", "is", "just", "convenient", "handler", "for", "printing", "offsets", "." ]
[ "AMDGPU", "AMDGPU", "0", "0", "\"offset:\"", "\" offset:\"" ]
AMDGPUInstPrinter1
printOffset
AMDGPU
GPU
LLVM
25,371
69
1
[]
[ "<s>", "static", "int", "epiphany_memory_move_cost", "(", "machine_mode", "mode", ",", "reg_class_t", "rclass", "ATTRIBUTE_UNUSED", ",", "bool", "in", "ATTRIBUTE_UNUSED", ")", "{", "return", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_INT", "?", "3", ":", "4...
[ "Compute", "the", "cost", "of", "moving", "data", "between", "registers", "and", "memory", ".", "For", "integer", ",", "load", "latency", "is", "twice", "as", "long", "as", "register-register", "moves", ",", "but", "issue", "pich", "is", "the", "same", "."...
[ "epiphany", "3", "4" ]
epiphany
epiphany_memory_move_cost
epiphany
MPU
GCC
25,372
29
1
[]
[ "<s>", "static", "rtx", "mips_expand_builtin", "(", "tree", "exp", ",", "rtx", "target", ",", "rtx", "subtarget", "ATTRIBUTE_UNUSED", ",", "machine_mode", "mode", ",", "int", "ignore", ")", "{", "tree", "fndecl", ";", "unsigned", "int", "fcode", ",", "avail"...
[ "Expand", "builtin", "functions", ".", "This", "is", "called", "from", "TARGET_EXPAND_BUILTIN", "." ]
[ "mips", "0", "0", "\"built-in function %qE not supported for MIPS16\"" ]
mips4
mips_expand_builtin
mips
CPU
GCC
25,373
242
1
[]
[ "<s>", "bool", "AArch64RegisterInfo", "::", "shouldCoalesce", "(", "MachineInstr", "*", "MI", ",", "const", "TargetRegisterClass", "*", "SrcRC", ",", "unsigned", "SubReg", ",", "const", "TargetRegisterClass", "*", "DstRC", ",", "unsigned", "DstSubReg", ",", "const...
[ "Subtarget", "Hooks", "." ]
[ "AArch64", "AArch64", "AArch64::GPR64RegClassID", "AArch64::GPR64commonRegClassID", "0", "1" ]
AArch64RegisterInfo25
shouldCoalesce
AArch64
CPU
LLVM
25,374
99
1
[]
[ "<s>", "const", "Nios2RegisterInfo", "*", "getRegisterInfo", "(", ")", "const", "override", "{", "return", "&", "InstrInfo", ".", "getRegisterInfo", "(", ")", ";", "}", "</s>" ]
[ "getRegisterInfo", "-", "TargetInstrInfo", "is", "a", "superset", "of", "MRegister", "info", "." ]
[ "Nios2", "Nios2" ]
Nios2Subtarget1
getRegisterInfo
Nios2
MPU
LLVM
25,375
18
1
[]
[ "<s>", "static", "tree", "make_var_decl", "(", "tree", "type", ",", "const", "char", "*", "name", ")", "{", "tree", "new_decl", ";", "new_decl", "=", "build_decl", "(", "UNKNOWN_LOCATION", ",", "VAR_DECL", ",", "get_identifier", "(", "name", ")", ",", "typ...
[ "Returns", "a", "extern", ",", "comdat", "VAR_DECL", "of", "type", "TYPE", "and", "name", "NAME", "." ]
[ "i386", "1", "1", "1", "0", "0", "1", "0", "0", "0" ]
i386-builtins
make_var_decl
i386
CPU
GCC
25,376
99
1
[]
[ "<s>", "void", "SystemZFrameLowering", "::", "emitEpilogue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "MBB", ".", "getLastNonDebugInstr", "(", ")", ";", "const...
[ "Insert", "epilog", "code", "into", "the", "function", "." ]
[ "SystemZ", "SystemZ", "SystemZ", "SystemZ", "SystemZ", "SystemZ", "SystemZ::RET", "\"Can only insert epilogue into returning blocks\"", "SystemZ::LMG", "\"Expected to see callee-save register restore code\"", "2", "1", "0x7fff8", "\"No restore instruction available\"", "1", "SystemZ::R...
SystemZFrameLowering13
emitEpilogue
SystemZ
CPU
LLVM
25,377
284
1
[]
[ "<s>", "static", "scalar_int_mode", "aarch64_sve_container_int_mode", "(", "machine_mode", "mode", ")", "{", "return", "int_mode_for_size", "(", "aarch64_sve_container_bits", "(", "mode", ")", ",", "0", ")", ".", "require", "(", ")", ";", "}", "</s>" ]
[ "Return", "an", "integer", "element", "mode", "that", "contains", "exactly", "aarch64_sve_container_bits", "(", "MODE", ")", "bits", ".", "This", "is", "wider", "than", "aarch64_sve_element_int_mode", "if", "MODE", "is", "a", "partial", "vector", ",", "otherwise",...
[ "aarch64", "0" ]
aarch64
aarch64_sve_container_int_mode
aarch64
CPU
GCC
25,378
24
1
[]
[ "<s>", "void", "PPCRegisterInfo", "::", "eliminateCallFramePseudoInstr", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ")", "const", "{", "if", "(", "PerformTailCallOpt", "&&", "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", ")", "." ]
[ "PowerPC", "PPC", "PPC::ADJCALLSTACKUP", "1", "PPC", "1", "PPC::X1", "PPC::R1", "PPC::X0", "PPC::R0", "PPC::ADDI8", "PPC::ADDI", "PPC::ADD8", "PPC::ADD4", "PPC::LIS8", "PPC::LIS", "PPC::ORI8", "PPC::ORI", "16", "0xFFFF" ]
PPCRegisterInfo62
eliminateCallFramePseudoInstr
PowerPC
CPU
LLVM
25,379
308
1
[]
[ "<s>", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "SNES_EXPAND_PSEUDO_NAME", ";", "}", "</s>" ]
[ "getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "." ]
[ "SNES", "SNES" ]
SNESExpandPseudoInsts
getPassName
SNES
DSP
LLVM
25,380
11
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", "AMDGPUISD::FIRST_MEM_OPCODE_NUMBER", "AMDGPUISD::LAST_AMDGPU_ISD_NUMBER" ]
AMDGPUISelLowering (2)
getTargetNodeName
AMDGPU
GPU
LLVM
25,381
300
1
[]
[ "<s>", "MachineBasicBlock", "*", "SparcTargetLowering", "::", "EmitInstrWithCustomInserter", "(", "MachineInstr", "*", "MI", ",", "MachineBasicBlock", "*", "BB", ")", "const", "{", "const", "TargetInstrInfo", "&", "TII", "=", "*", "getTargetMachine", "(", ")", "."...
[ "This", "method", "should", "be", "implemented", "by", "targets", "that", "mark", "instructions", "with", "the", "'usesCustomInserter", "'", "flag", "." ]
[ "Sparc", "Sparc", "0", "\"Unknown SELECT_CC!\"", "SP::SELECT_CC_Int_ICC", "SP::SELECT_CC_FP_ICC", "SP::SELECT_CC_DFP_ICC", "SP::BCOND", "SP::SELECT_CC_Int_FCC", "SP::SELECT_CC_FP_FCC", "SP::SELECT_CC_DFP_FCC", "SP::FBCOND", "SPCC::CondCodes", "3", "SP::PHI", "0", "2", "1" ]
SparcISelLowering74
EmitInstrWithCustomInserter
Sparc
CPU
LLVM
25,382
341
1
[]
[ "<s>", "TargetPassConfig", "*", "VETargetMachine", "::", "createPassConfig", "(", "PassManagerBase", "&", "PM", ")", "{", "return", "new", "VEPassConfig", "(", "*", "this", ",", "PM", ")", ";", "}", "</s>" ]
[ "Create", "a", "pass", "configuration", "object", "to", "be", "used", "by", "addPassToEmitX", "methods", "for", "generating", "a", "pipeline", "of", "CodeGen", "passes", "." ]
[ "VE", "VE", "VE" ]
VETargetMachine
createPassConfig
VE
CPU
LLVM
25,383
22
1
[]
[ "<s>", "static", "machine_mode", "ix86_get_mask_mode", "(", "unsigned", "nunits", ",", "unsigned", "vector_size", ")", "{", "unsigned", "elem_size", "=", "vector_size", "/", "nunits", ";", "if", "(", "(", "TARGET_AVX512F", "&&", "vector_size", "==", "64", ")", ...
[ "Implemenation", "of", "targetm.vectorize.get_mask_mode", "." ]
[ "i386", "64", "32", "16", "4", "8" ]
i3865
ix86_get_mask_mode
i386
CPU
GCC
25,384
94
1
[]
[ "<s>", "void", "XCoreTargetObjectFile", "::", "Initialize", "(", "MCContext", "&", "Ctx", ",", "const", "TargetMachine", "&", "TM", ")", "{", "TargetLoweringObjectFileELF", "::", "Initialize", "(", "Ctx", ",", "TM", ")", ";", "DataSection", "=", "Ctx", ".", ...
[ "This", "method", "must", "be", "called", "before", "any", "actual", "lowering", "is", "done", "." ]
[ "XCore", "XCore", "\".dp.data\"", "\".dp.bss\"", "\".cp.rodata.cst4\"", "\".cp.rodata.cst8\"", "\".cp.rodata.cst16\"", "\".cp.rodata\"" ]
XCoreTargetObjectFile12
Initialize
XCore
MPU
LLVM
25,385
227
1
[]
[ "<s>", "const", "char", "*", "RISCVTargetLowering", "::", "getTargetNodeName", "(", "unsigned", "Opcode", ")", "const", "{", "switch", "(", "(", "RISCVISD", "::", "NodeType", ")", "Opcode", ")", "{", "case", "RISCVISD", "::", "FIRST_NUMBER", ":", "break", ";...
[ "getTargetNodeName", "-", "This", "method", "returns", "the", "name", "of", "a", "target", "specific" ]
[ "RISCV", "RISCV", "RISCVISD::NodeType", "RISCVISD::FIRST_NUMBER", "RISCVISD::RET_FLAG", "\"RISCVISD::RET_FLAG\"", "RISCVISD::URET_FLAG", "\"RISCVISD::URET_FLAG\"", "RISCVISD::SRET_FLAG", "\"RISCVISD::SRET_FLAG\"", "RISCVISD::MRET_FLAG", "\"RISCVISD::MRET_FLAG\"", "RISCVISD::CALL", "\"RISCV...
RISCVISelLowering26
getTargetNodeName
RISCV
CPU
LLVM
25,386
154
1
[]
[ "<s>", "SDValue", "AMDGPUTargetLowering", "::", "LowerCall", "(", "CallLoweringInfo", "&", "CLI", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "InVals", ")", "const", "{", "SDValue", "Callee", "=", "CLI", ".", "Callee", ";", "SelectionDAG", "&", "DAG", ...
[ "This", "hook", "must", "be", "implemented", "to", "lower", "calls", "into", "the", "specified", "DAG", "." ]
[ "AMDGPU", "AMDGPU", "\"<unknown>\"", "\"unsupported call to function \"", "0" ]
AMDGPUISelLowering103
LowerCall
AMDGPU
GPU
LLVM
25,387
195
1
[]
[ "<s>", "SDValue", "TVMTargetLowering", "::", "LowerReturn", "(", "SDValue", "Chain", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "OutputArg", ">", "&", "Outs", ",", "const", "SmallVectorImpl", "<"...
[ "This", "hook", "must", "be", "implemented", "to", "lower", "outgoing", "return", "values", ",", "described", "by", "the", "Outs", "array", ",", "into", "the", "specified", "DAG", "." ]
[ "TVM", "TVM", "ISD::OutputArg", "\"TVM doesn't support non-C calling conventions\"", "4", "1", "TVMISD::RETURN", "MVT::Other", "ISD::OutputArg", "\"byval is not valid for return values\"", "\"nest is not valid for return values\"", "\"non-fixed return value is not valid\"", "\"TVM hasn't imp...
TVMISelLowering
LowerReturn
TVM
Virtual ISA
LLVM
25,388
233
1
[]
[ "<s>", "static", "int", "ia64_reloc_rw_mask", "(", "void", ")", "{", "return", "flag_pic", "?", "3", ":", "2", ";", "}", "</s>" ]
[ "For", "others", ",", "relax", "this", "so", "that", "relocations", "to", "local", "data", "goes", "in", "read-only", "segments", ",", "but", "we", "still", "can", "not", "allow", "global", "relocations", "in", "read-only", "segments", "." ]
[ "ia64", "3", "2" ]
ia64
ia64_reloc_rw_mask
ia64
CPU
GCC
25,389
15
1
[]
[ "<s>", "static", "rtx", "rs6000_emit_vector_compare_inner", "(", "enum", "rtx_code", "code", ",", "rtx", "op0", ",", "rtx", "op1", ")", "{", "rtx", "mask", ";", "machine_mode", "mode", "=", "GET_MODE", "(", "op0", ")", ";", "switch", "(", "code", ")", "{...
[ "Return", "insn", "for", "VSX", "or", "Altivec", "comparisons", "." ]
[ "rs6000" ]
rs6000
rs6000_emit_vector_compare_inner
rs6000
CPU
GCC
25,390
105
1
[]
[ "<s>", "bool", "AMDGPULegalizerInfo", "::", "legalizeKernargMemParameter", "(", "MachineInstr", "&", "MI", ",", "MachineIRBuilder", "&", "B", ",", "uint64_t", "Offset", ",", "Align", "Alignment", ")", "const", "{", "Register", "DstReg", "=", "MI", ".", "getOpera...
[ "Legalize", "a", "value", "that", "'s", "loaded", "from", "kernel", "arguments", "." ]
[ "AMDGPU", "AMDGPU", "0", "32", "\"unexpected kernarg parameter type\"", "AMDGPU", "4" ]
AMDGPULegalizerInfo28
legalizeKernargMemParameter
AMDGPU
GPU
LLVM
25,391
110
1
[]
[ "<s>", "static", "const", "char", "*", "expand_lib", "(", "char", "*", "name", ")", "{", "char", "*", "lib", ",", "*", "lib_path", ";", "if", "(", "strcmp", "(", "name", ",", "\"c\"", ")", "==", "0", ")", "return", "\"sys$library:vaxcrtltx.olb\"", ";",...
[ "Given", "a", "library", "name", "NAME", ",", "i.e", ".", "foo", ",", "Look", "for", "libfoo.lib", "and", "then", "libfoo.a", "in", "the", "set", "of", "directories", "we", "are", "allowed", "to", "search", "in", ".", "May", "return", "NULL", "if", "th...
[ "alpha", "\"c\"", "0", "\"sys$library:vaxcrtltx.olb\"", "\"m\"", "0", "\"\"", "14", "\"lib\"", "\"Couldn't locate library: lib%s.exe, lib%s.a or lib%s.olb\\n\"", "1" ]
vms-ld1
expand_lib
alpha
MPU
GCC
25,392
111
1
[]
[ "<s>", "const", "ARMSubtarget", "*", "ARMBaseTargetMachine", "::", "getSubtargetImpl", "(", "const", "Function", "&", "F", ")", "const", "{", "Attribute", "CPUAttr", "=", "F", ".", "getFnAttribute", "(", "\"target-cpu\"", ")", ";", "Attribute", "FSAttr", "=", ...
[ "Virtual", "method", "implemented", "by", "subclasses", "that", "returns", "a", "reference", "to", "that", "target", "'s", "TargetSubtargetInfo-derived", "member", "variable", "." ]
[ "ARM", "ARM", "ARM", "\"target-cpu\"", "\"target-features\"", "\"use-soft-float\"", "\"true\"", "\"+soft-float\"", "\",+soft-float\"", "\"+minsize\"", "ARM", "ARM", "\"Function '\"", "\"' uses ARM \"", "\"instructions, but the target does not support ARM mode execution.\"" ]
ARMTargetMachine101
getSubtargetImpl
ARM
CPU
LLVM
25,393
233
1
[]
[ "<s>", "Optional", "<", "MCFixupKind", ">", "AArch64AsmBackend", "::", "getFixupKind", "(", "StringRef", "Name", ")", "const", "{", "if", "(", "TheTriple", ".", "isOSBinFormatELF", "(", ")", "&&", "Name", "==", "\"R_AARCH64_NONE\"", ")", "return", "FK_NONE", "...
[ "getFixupKind", "-", "Get", "the", "fixup", "kind", "of", "this", "expression", "." ]
[ "AArch64", "AArch64", "\"R_AARCH64_NONE\"" ]
AArch64AsmBackend40
getFixupKind
AArch64
CPU
LLVM
25,394
37
1
[]
[ "<s>", "static", "bool", "sh_legitimize_address_displacement", "(", "rtx", "*", "offset1", ",", "rtx", "*", "offset2", ",", "poly_int64", "orig_offset", ",", "machine_mode", "mode", ")", "{", "if", "(", "(", "TARGET_FPU_DOUBLE", "&&", "mode", "==", "DFmode", "...
[ "Return", "true", "if", "DISP", "can", "be", "legitimized", "." ]
[ "sh" ]
sh
sh_legitimize_address_displacement
sh
CPU
GCC
25,395
88
1
[]
[ "<s>", "int", "SparcRegisterInfo", "::", "getDwarfRegNum", "(", "unsigned", "RegNum", ",", "bool", "isEH", ")", "const", "{", "llvm_unreachable", "(", "\"What is the dwarf register number\"", ")", ";", "return", "-", "1", ";", "}", "</s>" ]
[ "Map", "a", "target", "register", "to", "an", "equivalent", "dwarf", "register", "number", "." ]
[ "Sparc", "Sparc", "\"What is the dwarf register number\"", "1" ]
SparcRegisterInfo8
getDwarfRegNum
Sparc
CPU
LLVM
25,396
23
1
[]
[ "<s>", "char", "*", "neon_output_logic_immediate", "(", "const", "char", "*", "mnem", ",", "rtx", "*", "op2", ",", "machine_mode", "mode", ",", "int", "inverse", ",", "int", "quad", ")", "{", "int", "width", ",", "is_valid", ";", "static", "char", "templ...
[ "Return", "a", "string", "suitable", "for", "output", "of", "Neon", "immediate", "logic", "operation", "MNEM", "." ]
[ "arm", "40", "0", "\"%s.i%d\\t%%q0, %%2\"", "\"%s.i%d\\t%%P0, %%2\"" ]
arm
neon_output_logic_immediate
arm
CPU
GCC
25,397
90
1
[]
[ "<s>", "unsigned", "HexagonInstrInfo", "::", "removeBranch", "(", "MachineBasicBlock", "&", "MBB", ",", "int", "*", "BytesRemoved", ")", "const", "{", "assert", "(", "!", "BytesRemoved", "&&", "\"code size not handled\"", ")", ";", "LLVM_DEBUG", "(", "dbgs", "("...
[ "Remove", "the", "branching", "code", "at", "the", "end", "of", "the", "specific", "MBB", "." ]
[ "Hexagon", "Hexagon", "\"code size not handled\"", "\"\\nRemoving branches out of \"", "0", "Hexagon::J2_jump", "\"Malformed basic block: unconditional branch not last\"" ]
HexagonInstrInfo (2)2
removeBranch
Hexagon
DSP
LLVM
25,398
138
1
[]
[ "<s>", "Register", "getRegister", "(", ")", "const", "{", "assert", "(", "!", "IsStack", ")", ";", "return", "Reg", ";", "}", "</s>" ]
[ "Return", "the", "specified", "register", "in", "the", "class", "." ]
[ "AMDGPU" ]
AMDGPUArgumentUsageInfo
getRegister
AMDGPU
GPU
LLVM
25,399
16
1
[]