ground_truth
listlengths
8
512
natrual_language
listlengths
1
243
TS_V_token
listlengths
1
182
File
stringlengths
2
45
Func
stringlengths
1
56
Target
stringclasses
175 values
Target_Clf
stringclasses
6 values
Compiler_Type
stringclasses
2 values
Idx
int64
0
36.2k
Length
int64
6
510
Cover_Rate
float64
1
1
Template_token
listlengths
0
0
[ "<s>", "bool", "AArch64A57FPLoadBalancing", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "F", ")", "{", "if", "(", "skipFunction", "(", "F", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "if", "(", "!", "F", ".", "getSubtarg...
[ "runOnMachineFunction", "-", "Emit", "the", "function", "body", "." ]
[ "AArch64", "AArch64", "AArch64", "\"***** AArch64A57FPLoadBalancing *****\\n\"" ]
AArch64A57FPLoadBalancing12
runOnMachineFunction
AArch64
CPU
LLVM
20,300
106
1
[]
[ "<s>", "virtual", "uint64_t", "getMachineOpValue", "(", "const", "MCInst", "&", "MI", ",", "const", "MCOperand", "&", "MO", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "{", "return", ...
[ "getMachineOpValue", "-", "Return", "binary", "encoding", "of", "operand", "." ]
[ "R600", "0" ]
AMDGPUMCCodeEmitter2
getMachineOpValue
R600
GPU
LLVM
20,301
32
1
[]
[ "<s>", "bool", "ARMBaseInstrInfo", "::", "isReallyTriviallyReMaterializable", "(", "const", "MachineInstr", "&", "MI", ",", "AAResults", "*", "AA", ")", "const", "{", "return", "isVCTP", "(", "&", "MI", ")", "&&", "!", "isPredicated", "(", "MI", ")", ";", ...
[ "For", "instructions", "with", "opcodes", "for", "which", "the", "M_REMATERIALIZABLE", "flag", "is", "set", ",", "this", "hook", "lets", "the", "target", "specify", "whether", "the", "instruction", "is", "actually", "trivially", "rematerializable", ",", "taking", ...
[ "ARM", "ARM" ]
ARMBaseInstrInfo110
isReallyTriviallyReMaterializable
ARM
CPU
LLVM
20,302
30
1
[]
[ "<s>", "void", "applyFixup", "(", "const", "MCAssembler", "&", "Asm", ",", "const", "MCFixup", "&", "Fixup", ",", "const", "MCValue", "&", "Target", ",", "MutableArrayRef", "<", "char", ">", "Data", ",", "uint64_t", "Value", ",", "bool", "IsResolved", ",",...
[ "Apply", "the", "Value", "for", "given", "Fixup", "into", "the", "provided", "data", "fragment", ",", "at", "the", "offset", "specified", "by", "the", "fixup", "and", "following", "the", "fixup", "kind", "as", "appropriate", "." ]
[ "UPT", "4", "0", "8", "0xff" ]
UPTAsmBackend
applyFixup
UPT
CPU
LLVM
20,303
109
1
[]
[ "<s>", "static", "bool", "nios2_small_section_name_p", "(", "const", "char", "*", "section", ")", "{", "return", "(", "strcmp", "(", "section", ",", "\".sbss\"", ")", "==", "0", "||", "startswith", "(", "section", ",", "\".sbss.\"", ")", "||", "strcmp", "(...
[ "Return", "true", "if", "SECTION", "is", "a", "small", "section", "name", "." ]
[ "nios2", "\".sbss\"", "0", "\".sbss.\"", "\".sdata\"", "0", "\".sdata.\"", "0", "0", "0" ]
nios2
nios2_small_section_name_p
nios2
MPU
GCC
20,304
66
1
[]
[ "<s>", "const", "char", "*", "getPassName", "(", ")", "const", "override", "{", "return", "\"Hexagon RDF optimizations\"", ";", "}", "</s>" ]
[ "getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "." ]
[ "Hexagon", "\"Hexagon RDF optimizations\"" ]
HexagonRDFOpt
getPassName
Hexagon
DSP
LLVM
20,305
13
1
[]
[ "<s>", "virtual", "void", "print", "(", "raw_ostream", "&", "O", ")", "const", "{", "switch", "(", "Kind", ")", "{", "case", "k_Tok", ":", "O", "<<", "\"Token \"", "<<", "Tok", ";", "break", ";", "case", "k_Reg", ":", "O", "<<", "\"Register \"", "<<"...
[ "print", "-", "Print", "a", "debug", "representation", "of", "the", "operand", "to", "the", "given", "stream", "." ]
[ "MSP430", "\"Token \"", "\"Register \"", "\"Immediate \"", "\"Memory \"", "\"(\"", "\")\"", "\"RegInd \"", "\"PostInc \"" ]
MSP430AsmParser
print
MSP430
MPU
LLVM
20,306
95
1
[]
[ "<s>", "const", "uint32_t", "*", "AArch64RegisterInfo", "::", "getCallPreservedMask", "(", "const", "MachineFunction", "&", "MF", ",", "CallingConv", "::", "ID", "CC", ")", "const", "{", "bool", "SCS", "=", "MF", ".", "getFunction", "(", ")", ".", "hasFnAttr...
[ "Return", "a", "mask", "of", "call-preserved", "registers", "for", "the", "given", "calling", "convention", "on", "the", "current", "function", "." ]
[ "AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "\"ShadowCallStack attribute not supported on Darwin.\"", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "AArch64", "\"ShadowCallStack attribute not su...
AArch64RegisterInfo25
getCallPreservedMask
AArch64
CPU
LLVM
20,307
229
1
[]
[ "<s>", "bool", "AMDGPUInstrInfo", "::", "isPredicated", "(", "const", "MachineInstr", "*", "MI", ")", "const", "{", "return", "false", ";", "}", "</s>" ]
[ "Returns", "true", "if", "the", "instruction", "is", "already", "predicated", "." ]
[ "R600" ]
AMDGPUInstrInfo10
isPredicated
R600
GPU
LLVM
20,308
16
1
[]
[ "<s>", "const", "uint32_t", "*", "X86RegisterInfo", "::", "getCallPreservedMask", "(", "const", "MachineFunction", "&", "MF", ",", "CallingConv", "::", "ID", "CC", ")", "const", "{", "const", "X86Subtarget", "&", "Subtarget", "=", "MF", ".", "getSubtarget", "<...
[ "Return", "a", "mask", "of", "call-preserved", "registers", "for", "the", "given", "calling", "convention", "on", "the", "current", "function", "." ]
[ "X86", "X86", "X86", "X86", "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "X86", "X86", "X86" ]
X86RegisterInfo102
getCallPreservedMask
X86
CPU
LLVM
20,309
448
1
[]
[ "<s>", "void", "X86InstrInfo", "::", "replaceBranchWithTailCall", "(", "MachineBasicBlock", "&", "MBB", ",", "SmallVectorImpl", "<", "MachineOperand", ">", "&", "BranchCond", ",", "const", "MachineInstr", "&", "TailCall", ")", "const", "{", "assert", "(", "canMake...
[ "Replace", "the", "conditional", "branch", "in", "MBB", "with", "a", "conditional", "tail", "call", "." ]
[ "X86", "X86", "0", "\"Can't find the branch to replace!\"", "X86::CondCode", "1", "0", "X86::TCRETURNdi", "X86::TCRETURNdicc", "X86::TCRETURNdi64cc", "0", "0", "0", "8" ]
X86InstrInfo114
replaceBranchWithTailCall
X86
CPU
LLVM
20,310
297
1
[]
[ "<s>", "static", "void", "mips_split_plus", "(", "rtx", "x", ",", "rtx", "*", "base_ptr", ",", "HOST_WIDE_INT", "*", "offset_ptr", ")", "{", "if", "(", "GET_CODE", "(", "x", ")", "==", "PLUS", "&&", "CONST_INT_P", "(", "XEXP", "(", "x", ",", "1", ")"...
[ "If", "X", "is", "a", "PLUS", "of", "a", "CONST_INT", ",", "return", "the", "two", "terms", "in", "*", "BASE_PTR", "and", "*", "OFFSET_PTR", ".", "Return", "X", "in", "*", "BASE_PTR", "and", "0", "in", "*", "OFFSET_PTR", "otherwise", "." ]
[ "mips", "1", "0", "1", "0" ]
mips
mips_split_plus
mips
CPU
GCC
20,311
74
1
[]
[ "<s>", "void", "PPCPassConfig", "::", "addPreEmitPass", "(", ")", "{", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "addPass", "(", "createPPCEarlyReturnPass", "(", ")", ",", "false", ")", ";", "addPass", "(", "createPPCBranchSe...
[ "This", "pass", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "machine", "code", "is", "emitted", "." ]
[ "PowerPC", "PPC", "PPC", "PPC" ]
PPCTargetMachine13
addPreEmitPass
PowerPC
CPU
LLVM
20,312
36
1
[]
[ "<s>", "Optional", "<", "MCFixupKind", ">", "M88kMCAsmBackend", "::", "getFixupKind", "(", "StringRef", "Name", ")", "const", "{", "unsigned", "Type", "=", "llvm", "::", "StringSwitch", "<", "unsigned", ">", "(", "Name", ")", ".", "Default", "(", "-", "1u"...
[ "getFixupKind", "-", "Get", "the", "fixup", "kind", "of", "this", "expression", "." ]
[ "M88k", "M88k", "1u", "1u" ]
M88kMCAsmBackend
getFixupKind
M88k
MPU
LLVM
20,313
54
1
[]
[ "<s>", "static", "int", "calc_live_regs", "(", "int", "*", "count", ")", "{", "int", "reg", ";", "int", "live_regs_mask", "=", "0", ";", "*", "count", "=", "0", ";", "for", "(", "reg", "=", "0", ";", "reg", "<", "FIRST_PSEUDO_REGISTER", ";", "reg", ...
[ "Work", "out", "the", "registers", "which", "need", "to", "be", "saved", ",", "both", "as", "a", "mask", "and", "a", "count" ]
[ "mcore", "0", "0", "0", "1" ]
mcore3
calc_live_regs
mcore
MPU
GCC
20,314
70
1
[]
[ "<s>", "static", "bool", "visium_can_change_mode_class", "(", "machine_mode", "from", ",", "machine_mode", "to", ",", "reg_class_t", "rclass", ")", "{", "return", "(", "rclass", "!=", "MDB", "||", "GET_MODE_SIZE", "(", "from", ")", "==", "GET_MODE_SIZE", "(", ...
[ "Implement", "TARGET_CAN_CHANGE_MODE_CLASS", ".", "It", "'s", "not", "obvious", "from", "the", "documentation", "of", "the", "hook", "that", "MDB", "can", "not", "change", "mode", ".", "However", "difficulties", "arise", "from", "expressions", "of", "the", "form...
[ "visium" ]
visium
visium_can_change_mode_class
visium
Virtual ISA
GCC
20,315
32
1
[]
[ "<s>", "static", "void", "aarch64_define_unconditional_macros", "(", "cpp_reader", "*", "pfile", ")", "{", "builtin_define", "(", "\"__aarch64__\"", ")", ";", "builtin_define", "(", "\"__ARM_64BIT_STATE\"", ")", ";", "builtin_define", "(", "\"__ARM_ARCH_ISA_A64\"", ")",...
[ "Define", "the", "macros", "that", "we", "always", "expect", "to", "have", "on", "AArch64", "." ]
[ "aarch64", "\"__aarch64__\"", "\"__ARM_64BIT_STATE\"", "\"__ARM_ARCH_ISA_A64\"", "\"__ARM_ALIGN_MAX_PWR\"", "28", "\"__ARM_ALIGN_MAX_STACK_PWR\"", "16", "\"__ARM_ARCH_8A\"", "\"__ARM_ARCH_PROFILE\"", "\"__ARM_FEATURE_CLZ\"", "\"__ARM_FEATURE_IDIV\"", "\"__ARM_FEATURE_UNALIGNED\"", "\"__ARM...
aarch64-c
aarch64_define_unconditional_macros
aarch64
CPU
GCC
20,316
89
1
[]
[ "<s>", "static", "MipsOperand", "*", "CreateReg", "(", "unsigned", "Index", ",", "RegKind", "RegKind", ",", "const", "MCRegisterInfo", "*", "RegInfo", ",", "SMLoc", "S", ",", "SMLoc", "E", ",", "MipsAsmParser", "&", "Parser", ")", "{", "MipsOperand", "*", ...
[ "CreateReg", "-", "Allocate", "a", "single", "virtual", "register", "for", "the", "given", "type", "." ]
[ "Mips", "Mips", "Mips", "Mips", "Mips" ]
MipsAsmParser43
CreateReg
Mips
CPU
LLVM
20,317
79
1
[]
[ "<s>", "void", "load_got_register", "(", "void", ")", "{", "if", "(", "!", "global_offset_table_rtx", ")", "global_offset_table_rtx", "=", "gen_rtx_REG", "(", "Pmode", ",", "GLOBAL_OFFSET_TABLE_REGNUM", ")", ";", "if", "(", "TARGET_VXWORKS_RTP", ")", "emit_insn", ...
[ "Emit", "code", "to", "load", "the", "GOT", "register", "." ]
[ "sparc", "32" ]
sparc7
load_got_register
sparc
CPU
GCC
20,318
81
1
[]
[ "<s>", "int", "sparc_initial_elimination_offset", "(", "int", "to", ")", "{", "int", "offset", ";", "if", "(", "to", "==", "STACK_POINTER_REGNUM", ")", "offset", "=", "sparc_compute_frame_size", "(", "get_frame_size", "(", ")", ",", "crtl", "->", "is_leaf", ")...
[ "Implement", "the", "macro", "INITIAL_ELIMINATION_OFFSET", ",", "return", "the", "OFFSET", "." ]
[ "sparc", "0" ]
sparc
sparc_initial_elimination_offset
sparc
CPU
GCC
20,319
42
1
[]
[ "<s>", "bool", "SIAnnotateControlFlow", "::", "isUniform", "(", "BranchInst", "*", "T", ")", "{", "return", "DA", "->", "isUniform", "(", "T", ")", "||", "T", "->", "getMetadata", "(", "\"structurizecfg.uniform\"", ")", "!=", "nullptr", ";", "}", "</s>" ]
[ "Returns", "true", "if", "value", "V", "is", "uniform", "across", "VF", "lanes", ",", "when", "VF", "is", "provided", ",", "and", "otherwise", "if", "V", "is", "invariant", "across", "all", "loop", "iterations", "." ]
[ "AMDGPU", "SI", "\"structurizecfg.uniform\"" ]
SIAnnotateControlFlow19
isUniform
AMDGPU
GPU
LLVM
20,320
28
1
[]
[ "<s>", "unsigned", "NyuziInstrInfo", "::", "isLoadFromStackSlot", "(", "const", "MachineInstr", "&", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "Nyuzi", "::", "LW", "||", "MI", ".", "getOpco...
[ "isLoadFromStackSlot", "-", "If", "the", "specified", "machine", "instruction", "is", "a", "direct", "load", "from", "a", "stack", "slot", ",", "return", "the", "virtual", "or", "physical", "register", "number", "of", "the", "destination", "along", "with", "th...
[ "Nyuzi", "Nyuzi", "Nyuzi::LW", "Nyuzi::BLOCK_LOADI", "1", "2", "2", "0", "1", "0", "0" ]
NyuziInstrInfo
isLoadFromStackSlot
Nyuzi
GPU
LLVM
20,321
108
1
[]
[ "<s>", "SDValue", "VETargetLowering", "::", "lowerToVVP", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "auto", "OCOpt", "=", "getVVPOpcode", "(", "Op", "->", "getOpcode", "(", ")", ")", ";", "if", "(", "!", "OCOpt", ".", "h...
[ "}", "Custom", "Inserter" ]
[ "VE", "VE", "MVT::i32", "MVT::v256i1", "1", "MVT::i32", "VEISD::VEC_BROADCAST", "VEISD::VVPNAME", "0", "1", "\"lowerToVVP called for unexpected SDNode.\"" ]
VEISelLowering12
lowerToVVP
VE
CPU
LLVM
20,322
215
1
[]
[ "<s>", "bool", "AArch64TargetLowering", "::", "shouldInsertFencesForAtomic", "(", "const", "Instruction", "*", "I", ")", "const", "{", "return", "isOpSuitableForLDPSTP", "(", "I", ")", ";", "}", "</s>" ]
[ "Helper", "functions", "for", "atomic", "operations", "." ]
[ "AArch64", "AArch64" ]
AArch64ISelLowering (2)2
shouldInsertFencesForAtomic
AArch64
CPU
LLVM
20,323
19
1
[]
[ "<s>", "static", "bool", "load_insn_p", "(", "rtx_insn", "*", "insn", ")", "{", "if", "(", "GET_CODE", "(", "PATTERN", "(", "insn", ")", ")", "!=", "SET", ")", "return", "false", ";", "switch", "(", "get_attr_type", "(", "insn", ")", ")", "{", "case"...
[ "True", "if", "INSN", "is", "a", "load", "instruction", "." ]
[ "sparc" ]
sparc
load_insn_p
sparc
CPU
GCC
20,324
51
1
[]
[ "<s>", "const", "char", "*", "getPassName", "(", ")", "const", "override", "{", "return", "\"SystemZ Instruction Shortening\"", ";", "}", "</s>" ]
[ "getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "." ]
[ "SystemZ", "\"SystemZ Instruction Shortening\"" ]
SystemZShortenInst
getPassName
SystemZ
CPU
LLVM
20,325
13
1
[]
[ "<s>", "const", "char", "*", "MSP430TargetLowering", "::", "getTargetNodeName", "(", "unsigned", "Opcode", ")", "const", "{", "switch", "(", "(", "MSP430ISD", "::", "NodeType", ")", "Opcode", ")", "{", "case", "MSP430ISD", "::", "FIRST_NUMBER", ":", "break", ...
[ "getTargetNodeName", "-", "This", "method", "returns", "the", "name", "of", "a", "target", "specific" ]
[ "MSP430", "MSP430", "MSP430ISD::NodeType", "MSP430ISD::FIRST_NUMBER", "MSP430ISD::RET_FLAG", "\"MSP430ISD::RET_FLAG\"", "MSP430ISD::RETI_FLAG", "\"MSP430ISD::RETI_FLAG\"", "MSP430ISD::RRA", "\"MSP430ISD::RRA\"", "MSP430ISD::RLA", "\"MSP430ISD::RLA\"", "MSP430ISD::RRC", "\"MSP430ISD::RRC\""...
MSP430ISelLowering (2)1
getTargetNodeName
MSP430
MPU
LLVM
20,326
138
1
[]
[ "<s>", "static", "void", "nios2_print_operand_address", "(", "FILE", "*", "file", ",", "machine_mode", "mode", ",", "rtx", "op", ")", "{", "switch", "(", "GET_CODE", "(", "op", ")", ")", "{", "case", "CONST", ":", "case", "CONST_INT", ":", "case", "LABEL...
[ "Implement", "TARGET_PRINT_OPERAND_ADDRESS", "." ]
[ "nios2", "\"%%gprel(\"", "\")(%s)\"", "\"(r0)\"", "\"%%lo(\"", "\")(r0)\"", "0", "1", "\"(%s)\"", "\"(%s)\"", "0", "1", "\"(%s)\"", "\"0(%s)\"", "0", "\"Missing way to print address\\n\"" ]
nios2
nios2_print_operand_address
nios2
MPU
GCC
20,327
377
1
[]
[ "<s>", "void", "assignValueToAddress", "(", "Register", "ValVReg", ",", "Register", "Addr", ",", "uint64_t", "Size", ",", "MachinePointerInfo", "&", "MPO", ",", "CCValAssign", "&", "VA", ")", "override", "{", "if", "(", "VA", ".", "getLocInfo", "(", ")", "...
[ "An", "overload", "which", "takes", "an", "ArgInfo", "if", "additional", "information", "about", "the", "arg", "is", "needed", "." ]
[ "AArch64", "8", "8", "0", "1" ]
AArch64CallLowering14
assignValueToAddress
AArch64
CPU
LLVM
20,328
114
1
[]
[ "<s>", "EVT", "PTXTargetLowering", "::", "getSetCCResultType", "(", "EVT", "VT", ")", "const", "{", "return", "MVT", "::", "i1", ";", "}", "</s>" ]
[ "Return", "the", "value", "type", "to", "use", "for", "ISD", ":", ":SETCC", "." ]
[ "PTX", "PTX", "MVT::i1" ]
PTXISelLowering
getSetCCResultType
PTX
GPU
LLVM
20,329
16
1
[]
[ "<s>", "void", "HexagonFrameLowering", "::", "emitPrologue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "auto", "&", "HST", "=", "static_cast", "<", "const", "HexagonSubtarget", "&", ">", "(", "MF", ".", "getS...
[ "emitProlog/emitEpilog", "-", "These", "methods", "insert", "prolog", "and", "epilog", "code", "into", "the", "function", "." ]
[ "Hexagon", "Hexagon", "Hexagon", "\"Shrink-wrapping not yet supported\"" ]
HexagonFrameLowering52
emitPrologue
Hexagon
DSP
LLVM
20,330
224
1
[]
[ "<s>", "static", "tree", "tilepro_build_builtin_va_list", "(", "void", ")", "{", "tree", "f_args", ",", "f_skip", ",", "record", ",", "type_decl", ";", "bool", "owp", ";", "record", "=", "lang_hooks", ".", "types", ".", "make_type", "(", "RECORD_TYPE", ")", ...
[ "Implement", "TARGET_BUILD_BUILTIN_VA_LIST", "." ]
[ "tilepro", "\"__va_list_tag\"", "\"__args\"", "\"__skip\"" ]
tilepro
tilepro_build_builtin_va_list
tilepro
VLIW
GCC
20,331
141
1
[]
[ "<s>", "bool", "SPIRVModuleAnalysis", "::", "runOnModule", "(", "Module", "&", "M", ")", "{", "SPIRVTargetMachine", "&", "TM", "=", "getAnalysis", "<", "TargetPassConfig", ">", "(", ")", ".", "getTM", "<", "SPIRVTargetMachine", ">", "(", ")", ";", "ST", "=...
[ "runOnModule", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "process", "the", "module", "being", "operated", "on", "." ]
[ "SPIRV", "SPIRV", "SPIRV", "SPIRV", "SPIRV", "SPIRV::MB_EntryPoints" ]
SPIRVModuleAnalysis1
runOnModule
SPIRV
Virtual ISA
LLVM
20,332
137
1
[]
[ "<s>", "SDValue", "AMDGPUTargetLowering", "::", "LowerOperation", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "Op", ".", "getNode", "(", ")", "->", ...
[ "LowerOperation", "-", "Provide", "custom", "lowering", "hooks", "for", "some", "operations", "." ]
[ "R600", "0", "\"Custom lowering code for this\"", "\"instruction is not implemented yet!\"", "ISD::SDIV", "ISD::SREM", "ISD::SIGN_EXTEND_INREG", "SI", "ISD::BRCOND", "ISD::INTRINSIC_WO_CHAIN", "SI", "ISD::UDIVREM" ]
AMDGPUISelLowering131
LowerOperation
R600
GPU
LLVM
20,333
128
1
[]
[ "<s>", "SMLoc", "getStartLoc", "(", ")", "const", "override", "{", "return", "StartLoc", ";", "}", "</s>" ]
[ "getStartLoc", "-", "Get", "the", "location", "of", "the", "first", "token", "of", "this", "operand", "." ]
[ "LC2200" ]
LC2200AsmParser
getStartLoc
LC2200
CPU
LLVM
20,334
11
1
[]
[ "<s>", "bool", "ARMAsmPrinter", "::", "lowerOperand", "(", "const", "MachineOperand", "&", "MO", ",", "MCOperand", "&", "MCOp", ")", "{", "switch", "(", "MO", ".", "getType", "(", ")", ")", "{", "default", ":", "assert", "(", "0", "&&", "\"unknown operan...
[ "Wrapper", "for", "MCInstLowering.lowerOperand", "(", ")", "for", "the", "tblgen'erated", "pseudo", "lowering", "." ]
[ "ARM", "ARM", "0", "\"unknown operand type\"", "ARM::CPSR", "\"Subregs should be eliminated!\"" ]
ARMMCInstLower39
lowerOperand
ARM
CPU
LLVM
20,335
316
1
[]
[ "<s>", "virtual", "MachineInstr", "*", "foldMemoryOperandImpl", "(", "MachineFunction", "&", "MF", ",", "MachineInstr", "*", "MI", ",", "const", "SmallVectorImpl", "<", "unsigned", ">", "&", "Ops", ",", "MachineInstr", "*", "LoadMI", ")", "const", "{", "return...
[ "foldMemoryOperand", "-", "Same", "as", "the", "previous", "version", "except", "it", "allows", "folding", "of", "any", "load", "and", "store", "from", "/", "to", "any", "address", ",", "not", "just", "from", "a", "specific", "stack", "slot", "." ]
[ "CellSPU", "0" ]
SPUInstrInfo1
foldMemoryOperandImpl
CellSPU
MPU
LLVM
20,336
31
1
[]
[ "<s>", "static", "bool", "mcore_hard_regno_mode_ok", "(", "unsigned", "int", "regno", ",", "machine_mode", "mode", ")", "{", "if", "(", "TARGET_8ALIGN", "&&", "GET_MODE_SIZE", "(", "mode", ")", ">", "UNITS_PER_WORD", ")", "return", "(", "regno", "&", "1", ")...
[ "Implement", "TARGET_HARD_REGNO_MODE_OK", ".", "We", "may", "keep", "double", "values", "in", "even", "registers", "." ]
[ "mcore", "1", "0", "18" ]
mcore
mcore_hard_regno_mode_ok
mcore
MPU
GCC
20,337
38
1
[]
[ "<s>", "void", "PPCSubtarget", "::", "overrideSchedPolicy", "(", "MachineSchedPolicy", "&", "Policy", ",", "MachineInstr", "*", "begin", ",", "MachineInstr", "*", "end", ",", "unsigned", "NumRegionInstrs", ")", "const", "{", "if", "(", "needsAggressiveScheduling", ...
[ "Override", "generic", "scheduling", "policy", "within", "a", "region", "." ]
[ "PowerPC", "PPC" ]
PPCSubtarget (2)
overrideSchedPolicy
PowerPC
CPU
LLVM
20,338
50
1
[]
[ "<s>", "bool", "RISCVTargetLowering", "::", "isLegalAddImmediate", "(", "int64_t", "Imm", ")", "const", "{", "return", "isInt", "<", "12", ">", "(", "Imm", ")", ";", "}", "</s>" ]
[ "Return", "true", "if", "the", "specified", "immediate", "is", "legal", "add", "immediate", ",", "that", "is", "the", "target", "has", "add", "instructions", "which", "can", "add", "a", "register", "and", "the", "immediate", "without", "having", "to", "mater...
[ "RI5CY", "RISCV", "12" ]
RISCVISelLowering
isLegalAddImmediate
RI5CY
CPU
LLVM
20,339
20
1
[]
[ "<s>", "static", "void", "sh_option_override", "(", "void", ")", "{", "int", "regno", ";", "SUBTARGET_OVERRIDE_OPTIONS", ";", "sh_cpu", "=", "PROCESSOR_SH1", ";", "assembler_dialect", "=", "0", ";", "if", "(", "TARGET_SH2", ")", "sh_cpu", "=", "PROCESSOR_SH2", ...
[ "Implement", "TARGET_OPTION_OVERRIDE", "macro", ".", "Validate", "and", "override", "various", "options", ",", "and", "do", "some", "machine", "dependent", "initialization", "." ]
[ "sh", "0", "1", "1", "\"call-div1\"", "\"call-fp\"", "\"call-table\"", "0", "\"__sdivsi3_i4\"", "\"__sdivsi3_i4i\"", "\"__sdivsi3\"", "1", "2", "1", "2", "0", "0", "0", "0", "1", "0", "0", "\"ignoring %<-fschedule-insns%> because of exception \"", "\"handling bug\"", ...
sh8
sh_option_override
sh
CPU
GCC
20,340
504
1
[]
[ "<s>", "static", "bool", "ix86_scalar_mode_supported_p", "(", "machine_mode", "mode", ")", "{", "if", "(", "DECIMAL_FLOAT_MODE_P", "(", "mode", ")", ")", "return", "default_decimal_float_supported_p", "(", ")", ";", "else", "if", "(", "mode", "==", "TFmode", ")"...
[ "Target", "hook", "for", "scalar_mode_supported_p", "." ]
[ "i386" ]
i3864
ix86_scalar_mode_supported_p
i386
CPU
GCC
20,341
38
1
[]
[ "<s>", "void", "setType", "(", "nodeType", "value", ")", "{", "type", ".", "setNodeType", "(", "value", ")", ";", "}", "</s>" ]
[ "Set", "the", "low-level", "type", "of", "VReg", "to", "Ty", "." ]
[ "TPC" ]
TPCCostModelEmitter
setType
TPC
Virtual ISA
LLVM
20,342
15
1
[]
[ "<s>", "unsigned", "PPCMCCodeEmitter", "::", "getMachineOpValue", "(", "const", "MCInst", "&", "MI", ",", "const", "MCOperand", "&", "MO", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ")", "const", "{", "if", "(", "MO", ".", "isReg", "(", ...
[ "getMachineOpValue", "-", "Return", "binary", "encoding", "of", "operand", "." ]
[ "PowerPC", "PPC", "PPC::MTOCRF", "PPC::MTOCRF8", "PPC::MFOCRF", "PPC::MFOCRF8", "PPC::CR0", "PPC::CR7", "\"Relocation required in an instruction that we cannot encode!\"" ]
PPCMCCodeEmitter14
getMachineOpValue
PowerPC
CPU
LLVM
20,343
134
1
[]
[ "<s>", "void", "scalar_chain", "::", "replace_with_subreg_in_insn", "(", "rtx_insn", "*", "insn", ",", "rtx", "reg", ",", "rtx", "new_reg", ")", "{", "replace_with_subreg", "(", "single_set", "(", "insn", ")", ",", "reg", ",", "new_reg", ")", ";", "}", "</...
[ "Replace", "REG", "in", "INSN", "with", "a", "V2DI", "subreg", "of", "NEW_REG", "." ]
[ "i386" ]
i3865
replace_with_subreg_in_insn
i386
CPU
GCC
20,344
29
1
[]
[ "<s>", "const", "HexagonTargetLowering", "*", "getTLI", "(", ")", "const", "{", "return", "TLI", ";", "}", "</s>" ]
[ "Getter", "for", "generic", "TargetLowering", "class", "." ]
[ "Hexagon", "Hexagon" ]
HexagonTargetTransformInfo (2)
getTLI
Hexagon
DSP
LLVM
20,345
12
1
[]
[ "<s>", "BitVector", "GBZ80RegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "Reserved", ".", "set", "(", "GB", "::", "SP", ")", ";", "Reser...
[ "getReservedRegs", "-", "Returns", "a", "bitset", "indexed", "by", "physical", "register", "number", "indicating", "if", "a", "register", "is", "a", "special", "register", "that", "has", "particular", "uses", "and", "should", "be", "considered", "unavailable", "...
[ "GBZ80", "GB", "GB::SP", "GB::IME" ]
GBZ80RegisterInfo
getReservedRegs
GBZ80
MPU
LLVM
20,346
42
1
[]
[ "<s>", "bool", "PPCFastISel", "::", "isTypeLegal", "(", "Type", "*", "Ty", ",", "MVT", "&", "VT", ")", "{", "EVT", "Evt", "=", "TLI", ".", "getValueType", "(", "DL", ",", "Ty", ",", "true", ")", ";", "if", "(", "Evt", "==", "MVT", "::", "Other", ...
[ "Return", "true", "if", "this", "type", "is", "legal", "." ]
[ "PowerPC", "PPC", "MVT::Other" ]
PPCFastISel (2)
isTypeLegal
PowerPC
CPU
LLVM
20,347
63
1
[]
[ "<s>", "bool", "ARMFrameLowering", "::", "hasFP", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "TargetRegisterInfo", "*", "RegInfo", "=", "MF", ".", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "if", "(", "STI...
[ "hasFP", "-", "Return", "true", "if", "the", "specified", "function", "should", "have", "a", "dedicated", "frame", "pointer", "register", "." ]
[ "ARM", "ARM" ]
ARMFrameLowering
hasFP
ARM
CPU
LLVM
20,348
93
1
[]
[ "<s>", "bool", "X86PartialReduction", "::", "runOnFunction", "(", "Function", "&", "F", ")", "{", "if", "(", "skipFunction", "(", "F", ")", ")", "return", "false", ";", "auto", "*", "TPC", "=", "getAnalysisIfAvailable", "<", "TargetPassConfig", ">", "(", "...
[ "runOnFunction", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "do", "the", "per-function", "processing", "of", "the", "pass", "." ]
[ "X86", "X86", "X86" ]
X86PartialReduction1
runOnFunction
X86
CPU
LLVM
20,349
178
1
[]
[ "<s>", "static", "void", "nios2_output_dwarf_dtprel", "(", "FILE", "*", "file", ",", "int", "size", ",", "rtx", "x", ")", "{", "gcc_assert", "(", "size", "==", "4", ")", ";", "fprintf", "(", "file", ",", "\"\\t.4byte\\t%%tls_ldo(\"", ")", ";", "output_addr...
[ "Implement", "TARGET_ASM_OUTPUT_DWARF_DTPREL", "." ]
[ "nios2", "4", "\"\\t.4byte\\t%%tls_ldo(\"", "\")\"" ]
nios2
nios2_output_dwarf_dtprel
nios2
MPU
GCC
20,350
44
1
[]
[ "<s>", "SUnit", "*", "SystemZPostRASchedStrategy", "::", "pickNode", "(", "bool", "&", "IsTopNode", ")", "{", "IsTopNode", "=", "true", ";", "if", "(", "Available", ".", "empty", "(", ")", ")", "return", "nullptr", ";", "if", "(", "Available", ".", "size...
[ "Pick", "the", "next", "node", "to", "schedule", ",", "or", "return", "NULL", "." ]
[ "SystemZ", "SystemZ", "1", "\"** Only one: \"", "\"\\n\"", "\"** Available: \"", "\"** Best so far: \"", "\"** Tried : \"", "\" Height:\"", "\"\\n\"" ]
SystemZMachineScheduler12
pickNode
SystemZ
CPU
LLVM
20,351
230
1
[]
[ "<s>", "rtx", "sh_movrt_set_dest", "(", "const", "rtx_insn", "*", "i", ")", "{", "if", "(", "i", "==", "NULL", ")", "return", "NULL", ";", "const_rtx", "p", "=", "PATTERN", "(", "i", ")", ";", "if", "(", "GET_CODE", "(", "p", ")", "==", "PARALLEL",...
[ "Given", "an", "insn", ",", "check", "whether", "it", "'s", "a", "'movrt", "'", "kind", "of", "insn", ",", "i.e", ".", "an", "insn", "that", "stores", "the", "negated", "T", "bit", "in", "a", "register", ",", "and", "return", "the", "destination", "r...
[ "sh", "0", "0", "0", "1", "0" ]
sh4
sh_movrt_set_dest
sh
CPU
GCC
20,352
88
1
[]
[ "<s>", "unsigned", "AMDGPUTTIImpl", "::", "getNumberOfRegisters", "(", "bool", "Vec", ")", "{", "if", "(", "Vec", ")", "return", "0", ";", "if", "(", "ST", "->", "getGeneration", "(", ")", ">=", "AMDGPUSubtarget", "::", "SOUTHERN_ISLANDS", ")", "return", "...
[ "�", "?", "Vector", "TTI", "begin", "�", "?" ]
[ "AMDGPU", "AMDGPU", "0", "AMDGPU", "256", "4", "128" ]
AMDGPUTargetTransformInfo11
getNumberOfRegisters
AMDGPU
GPU
LLVM
20,353
37
1
[]
[ "<s>", "EVT", "HexagonTargetLowering", "::", "getOptimalMemOpType", "(", "const", "MemOp", "&", "Op", ",", "const", "AttributeList", "&", "FuncAttributes", ")", "const", "{", "if", "(", "Op", ".", "size", "(", ")", ">=", "8", "&&", "Op", ".", "isAligned", ...
[ "It", "returns", "EVT", ":", ":Other", "if", "the", "type", "should", "be", "determined", "using", "generic", "target-independent", "logic", "." ]
[ "Hexagon", "Hexagon", "8", "8", "MVT::i64", "4", "4", "MVT::i32", "2", "2", "MVT::i16", "MVT::Other" ]
HexagonISelLowering100
getOptimalMemOpType
Hexagon
DSP
LLVM
20,354
98
1
[]
[ "<s>", "bool", "WebAssemblyLowerRefTypesIntPtrConv", "::", "runOnFunction", "(", "Function", "&", "F", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"********** Lower RefTypes IntPtr Convs **********\\n\"", "\"********** Function: \"", "<<", "F", ".", "getName", ...
[ "runOnFunction", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "do", "the", "per-function", "processing", "of", "the", "pass", "." ]
[ "WebAssembly", "WebAssembly", "\"********** Lower RefTypes IntPtr Convs **********\\n\"", "\"********** Function: \"", "WebAssembly::isRefType", "WebAssembly::isRefType", "Intrinsic::getDeclaration", "Intrinsic::debugtrap", "\"\"" ]
WebAssemblyLowerRefTypesIntPtrConv
runOnFunction
WebAssembly
Virtual ISA
LLVM
20,355
220
1
[]
[ "<s>", "bool", "X86FastISel", "::", "isTypeLegal", "(", "Type", "*", "Ty", ",", "MVT", "&", "VT", ",", "bool", "AllowI1", ")", "{", "EVT", "evt", "=", "TLI", ".", "getValueType", "(", "DL", ",", "Ty", ",", "true", ")", ";", "if", "(", "evt", "=="...
[ "Return", "true", "if", "this", "type", "is", "legal", "." ]
[ "X86", "X86", "MVT::Other", "MVT::f64", "MVT::f32", "MVT::f80", "MVT::i1" ]
X86FastISel56
isTypeLegal
X86
CPU
LLVM
20,356
123
1
[]
[ "<s>", "static", "char", "*", "read_file", "(", "const", "char", "*", "filename", ",", "size_t", "*", "plen", ")", "{", "size_t", "alloc", "=", "16384", ";", "size_t", "base", "=", "0", ";", "char", "*", "buffer", ";", "FILE", "*", "stream", "=", "...
[ "Read", "the", "whole", "input", "file", ".", "It", "will", "be", "NUL", "terminated", "(", "but", "remember", ",", "there", "could", "be", "a", "NUL", "in", "the", "file", "itself", "." ]
[ "gcn", "16384", "0", "\"rb\"", "1", "0", "0", "100", "0", "1", "1", "1", "2", "0" ]
gcn-run
read_file
gcn
GPU
GCC
20,357
189
1
[]
[ "<s>", "SDNode", "*", "Tile64DAGToDAGISel", "::", "getGlobalBaseReg", "(", ")", "{", "unsigned", "GlobalBaseReg", "=", "TM", ".", "getInstrInfo", "(", ")", "->", "getGlobalBaseReg", "(", "MF", ")", ";", "return", "CurDAG", "->", "getRegister", "(", "GlobalBase...
[ "getGlobalBaseReg", "-", "Return", "a", "virtual", "register", "initialized", "with", "the", "the", "global", "base", "register", "value", "." ]
[ "Tile64" ]
Tile64ISelDAGToDAG
getGlobalBaseReg
Tile64
VLIW
LLVM
20,358
41
1
[]
[ "<s>", "const", "char", "*", "getPassName", "(", ")", "const", "override", "{", "return", "\"AdvSIMD Scalar Operation Optimization\"", ";", "}", "</s>" ]
[ "getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "." ]
[ "AArch64", "\"AdvSIMD Scalar Operation Optimization\"" ]
AArch64AdvSIMDScalarPass13
getPassName
AArch64
CPU
LLVM
20,359
13
1
[]
[ "<s>", "bool", "AlphaAsmPrinter", "::", "PrintAsmOperand", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpNo", ",", "unsigned", "AsmVariant", ",", "const", "char", "*", "ExtraCode", ")", "{", "printOperand", "(", "MI", ",", "OpNo", ")", ";", ...
[ "PrintAsmOperand", "-", "Print", "out", "an", "operand", "for", "an", "inline", "asm", "expression", "." ]
[ "Alpha", "Alpha" ]
AlphaAsmPrinter1
PrintAsmOperand
Alpha
MPU
LLVM
20,360
33
1
[]
[ "<s>", "static", "int", "s390_vec_n_elem", "(", "tree", "fndecl", ")", "{", "tree", "b_arg_chain", ";", "int", "n_elem", "=", "-", "1", ";", "if", "(", "TREE_CODE", "(", "TREE_TYPE", "(", "TREE_TYPE", "(", "fndecl", ")", ")", ")", "==", "VECTOR_TYPE", ...
[ "Return", "the", "number", "of", "elements", "in", "the", "vector", "arguments", "of", "FNDECL", "in", "case", "all", "it", "matches", "for", "all", "vector", "arguments", ",", "-1", "otherwise", "." ]
[ "s390", "1", "1", "1" ]
s390-c
s390_vec_n_elem
s390
MPU
GCC
20,361
127
1
[]
[ "<s>", "int", "ix86_frame_pointer_required", "(", "void", ")", "{", "if", "(", "cfun", "->", "machine", "->", "accesses_prev_frame", ")", "return", "1", ";", "if", "(", "SUBTARGET_FRAME_POINTER_REQUIRED", ")", "return", "1", ";", "if", "(", "TARGET_OMIT_LEAF_FRA...
[ "Value", "should", "be", "nonzero", "if", "functions", "must", "have", "frame", "pointers", ".", "Zero", "means", "the", "frame", "pointer", "need", "not", "be", "set", "up", "(", "and", "parms", "may", "be", "accessed", "via", "the", "stack", "pointer", ...
[ "i386", "1", "1", "1", "1", "0" ]
i3863
ix86_frame_pointer_required
i386
CPU
GCC
20,362
47
1
[]
[ "<s>", "bool", "ARMTargetLowering", "::", "isShuffleMaskLegal", "(", "ArrayRef", "<", "int", ">", "M", ",", "EVT", "VT", ")", "const", "{", "if", "(", "VT", ".", "getVectorNumElements", "(", ")", "==", "4", "&&", "(", "VT", ".", "is128BitVector", "(", ...
[ "Targets", "can", "use", "this", "to", "indicate", "that", "they", "only", "support", "some", "VECTOR_SHUFFLE", "operations", ",", "those", "with", "specific", "masks", "." ]
[ "ARM", "ARM", "4", "4", "0", "4", "0", "8", "0", "9", "9", "9", "1", "9", "9", "2", "9", "3", "30", "4", "32", "0", "64", "32", "16", "MVT::v8i16", "MVT::v8f16", "MVT::v16i8" ]
ARMISelLowering (2)5
isShuffleMaskLegal
ARM
CPU
LLVM
20,363
368
1
[]
[ "<s>", "uint32_t", "AMDGPUTargetLowering", "::", "getImplicitParameterOffset", "(", "const", "MachineFunction", "&", "MF", ",", "const", "ImplicitParameter", "Param", ")", "const", "{", "const", "AMDGPUMachineFunction", "*", "MFI", "=", "MF", ".", "getInfo", "<", ...
[ "Helper", "function", "that", "returns", "the", "byte", "offset", "of", "the", "given", "type", "of", "implicit", "parameter", "." ]
[ "AMDGPU", "AMDGPU", "AMDGPU", "AMDGPU", "AMDGPU", "AMDGPU", "AMDGPU::ImplicitArg", "AMDGPU::ImplicitArg", "AMDGPU::ImplicitArg", "\"unexpected implicit parameter type\"" ]
AMDGPUISelLowering (2)1
getImplicitParameterOffset
AMDGPU
GPU
LLVM
20,364
144
1
[]
[ "<s>", "bool", "runOnFunction", "(", "Function", "&", "F", ")", "override", "{", "X86LowerAMXType", "LAT", "(", "F", ")", ";", "bool", "C", "=", "LAT", ".", "visit", "(", ")", ";", "return", "C", ";", "}", "</s>" ]
[ "runOnFunction", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "do", "the", "per-function", "processing", "of", "the", "pass", "." ]
[ "X86", "X86" ]
X86LowerAMXType10
runOnFunction
X86
CPU
LLVM
20,365
28
1
[]
[ "<s>", "char", "*", "aarch64_output_sve_scalar_inc_dec", "(", "rtx", "offset", ")", "{", "poly_int64", "offset_value", "=", "rtx_to_poly_int64", "(", "offset", ")", ";", "gcc_assert", "(", "offset_value", ".", "coeffs", "[", "0", "]", "==", "offset_value", ".", ...
[ "Return", "the", "asm", "string", "for", "adding", "SVE", "INC/DEC", "immediate", "OFFSET", "to", "operand", "0", "." ]
[ "aarch64", "0", "1", "1", "0", "\"inc\"", "\"%x0\"", "1", "0", "\"dec\"", "\"%x0\"", "1", "0" ]
aarch64
aarch64_output_sve_scalar_inc_dec
aarch64
CPU
GCC
20,366
85
1
[]
[ "<s>", "bool", "TVMIfConversionTerm", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"********** TVM IF-CONVERSION TERM **********\\n\"", "<<", "\"********** Function: \"", "<<", "MF", ".", "getNam...
[ "runOnMachineFunction", "-", "Emit", "the", "function", "body", "." ]
[ "TVM", "TVM", "\"********** TVM IF-CONVERSION TERM **********\\n\"", "\"********** Function: \"" ]
TVMIfConversionTerm
runOnMachineFunction
TVM
Virtual ISA
LLVM
20,367
108
1
[]
[ "<s>", "ScheduleHazardRecognizer", "::", "HazardType", "GCNHazardRecognizer", "::", "getHazardType", "(", "SUnit", "*", "SU", ",", "int", "Stalls", ")", "{", "MachineInstr", "*", "MI", "=", "SU", "->", "getInstr", "(", ")", ";", "auto", "HazardType", "=", "I...
[ "getHazardType", "-", "Return", "the", "hazard", "type", "of", "emitting", "this", "node", "." ]
[ "AMDGPU", "SI", "0", "SI", "SI", "0", "0", "0", "SI", "0", "SI", "0", "0", "0", "0", "0", "0", "0", "0", "SI", "0", "SI", "SI", "SI", "0", "0" ]
GCNHazardRecognizer16
getHazardType
AMDGPU
GPU
LLVM
20,368
424
1
[]
[ "<s>", "static", "bool", "msp430_no_hwmult", "(", "void", ")", "{", "static", "const", "char", "*", "known_nomult_mcus", "[", "]", "=", "{", "\"msp430c091\"", ",", "\"msp430c092\"", ",", "\"msp430c111\"", ",", "\"msp430c1111\"", ",", "\"msp430c112\"", ",", "\"ms...
[ "Returns", "true", "if", "the", "current", "MCU", "does", "not", "have", "a", "hardware", "multiplier", "of", "any", "kind", "." ]
[ "msp430", "\"msp430c091\"", "\"msp430c092\"", "\"msp430c111\"", "\"msp430c1111\"", "\"msp430c112\"", "\"msp430c1121\"", "\"msp430c1331\"", "\"msp430c1351\"", "\"msp430c311s\"", "\"msp430c312\"", "\"msp430c313\"", "\"msp430c314\"", "\"msp430c315\"", "\"msp430c323\"", "\"msp430c325\"", ...
msp4302
msp430_no_hwmult
msp430
MPU
GCC
20,369
435
1
[]
[ "<s>", "void", "setSymbolSize", "(", "const", "MCSymbol", "*", "Symbol", ",", "uint64_t", "Size", ")", "override", "{", "}", "</s>" ]
[ "For", "symbols", "that", "have", "a", "size", "designated", "(", "e.g", "." ]
[ "BPF" ]
BTFDebug
setSymbolSize
BPF
Virtual ISA
LLVM
20,370
14
1
[]
[ "<s>", "static", "inline", "int", "choose_baseaddr_len", "(", "unsigned", "int", "regno", ",", "HOST_WIDE_INT", "offset", ")", "{", "int", "len", "=", "4", ";", "if", "(", "offset", "==", "0", ")", "{", "len", "=", "(", "regno", "==", "BP_REG", "||", ...
[ "This", "is", "semi-inlined", "memory_address_length", ",", "but", "simplified", "since", "we", "know", "that", "we", "'re", "always", "dealing", "with", "reg+offset", ",", "and", "to", "avoid", "having", "to", "create", "and", "discard", "all", "that", "rtl",...
[ "i386", "4", "0", "128", "127", "1" ]
i386
choose_baseaddr_len
i386
CPU
GCC
20,371
72
1
[]
[ "<s>", "SDValue", "AMDGPUTargetLowering", "::", "combineFMinMaxLegacy", "(", "const", "SDLoc", "&", "DL", ",", "EVT", "VT", ",", "SDValue", "LHS", ",", "SDValue", "RHS", ",", "SDValue", "True", ",", "SDValue", "False", ",", "SDValue", "CC", ",", "DAGCombiner...
[ "Generate", "Min/Max", "node", "." ]
[ "AMDGPU", "AMDGPU", "ISD::CondCode", "ISD::SETOEQ", "ISD::SETONE", "ISD::SETUNE", "ISD::SETNE", "ISD::SETUEQ", "ISD::SETEQ", "ISD::SETFALSE", "ISD::SETFALSE2", "ISD::SETTRUE", "ISD::SETTRUE2", "ISD::SETUO", "ISD::SETO", "ISD::SETULE", "ISD::SETULT", "AMDGPUISD::FMIN_LEGACY", "AMD...
AMDGPUISelLowering (2)1
combineFMinMaxLegacy
AMDGPU
GPU
LLVM
20,372
452
1
[]
[ "<s>", "int", "vms_c_get_crtl_ver", "(", "void", ")", "{", "return", "VMS_DEFAULT_CRTL_VER", ";", "}", "</s>" ]
[ "The", "default", "value", "for", "_CRTL_VER", "macro", "." ]
[ "vms" ]
vms-c
vms_c_get_crtl_ver
vms
Virtual ISA
GCC
20,373
10
1
[]
[ "<s>", "bool", "GBZ80PreRA", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "bool", "Modified", "=", "false", ";", "this", "->", "MF", "=", "&", "MF", ";", "const", "GBZ80Subtarget", "&", "STI", "=", "MF", ".", "getSubtarget", ...
[ "runOnMachineFunction", "-", "Emit", "the", "function", "body", "." ]
[ "GBZ80", "GB", "GB", "GB" ]
GBZ80PreRA
runOnMachineFunction
GBZ80
MPU
LLVM
20,374
91
1
[]
[ "<s>", "void", "PPCAIXAsmPrinter", "::", "emitGlobalVariable", "(", "const", "GlobalVariable", "*", "GV", ")", "{", "ValidateGV", "(", "GV", ")", ";", "if", "(", "isSpecialLLVMGlobalArrayForStaticInit", "(", "GV", ")", ")", "return", ";", "MCSymbolXCOFF", "*", ...
[ "Emit", "the", "specified", "global", "variable", "to", "the", ".s", "file", "." ]
[ "PowerPC", "PPC", "\"Encountered a global variable kind that is \"", "\"not supported yet.\"" ]
PPCAsmPrinter121
emitGlobalVariable
PowerPC
CPU
LLVM
20,375
309
1
[]
[ "<s>", "static", "section", "*", "arm_function_section", "(", "tree", "decl", ",", "enum", "node_frequency", "freq", ",", "bool", "startup", ",", "bool", "exit", ")", "{", "const", "char", "*", "section_name", ";", "section", "*", "sec", ";", "if", "(", ...
[ "Implement", "the", "TARGET_ASM_FUNCTION_SECTION", "hook", ".", "If", "pure-code", "is", "passed", "as", "an", "option", ",", "make", "sure", "all", "functions", "are", "in", "sections", "that", "have", "the", "SHF_ARM_PURECODE", "attribute", "." ]
[ "arm", "0", "0" ]
arm
arm_function_section
arm
CPU
GCC
20,376
152
1
[]
[ "<s>", "static", "void", "ft32_compute_frame", "(", "void", ")", "{", "int", "stack_alignment", "=", "STACK_BOUNDARY", "/", "BITS_PER_UNIT", ";", "int", "padding_locals", ";", "int", "regno", ";", "cfun", "->", "machine", "->", "local_vars_size", "=", "get_frame...
[ "Compute", "the", "size", "of", "the", "local", "area", "and", "the", "size", "to", "be", "adjusted", "by", "the", "*", "prologue", "and", "epilogue", "." ]
[ "ft32", "0", "0", "4", "0", "0" ]
ft32
ft32_compute_frame
ft32
MPU
GCC
20,377
128
1
[]
[ "<s>", "bool", "MSP430AsmPrinter", "::", "doInitialization", "(", "Module", "&", "M", ")", "{", "Mang", "=", "new", "Mangler", "(", "M", ",", "\"\"", ",", "TAI", "->", "getPrivateGlobalPrefix", "(", ")", ")", ";", "return", "false", ";", "}", "</s>" ]
[ "Set", "up", "the", "AsmPrinter", "when", "we", "are", "working", "on", "a", "new", "module", "." ]
[ "MSP430", "MSP430", "\"\"" ]
MSP430AsmPrinter8
doInitialization
MSP430
MPU
LLVM
20,378
30
1
[]
[ "<s>", "static", "bool", "s390_can_change_mode_class", "(", "machine_mode", "from_mode", ",", "machine_mode", "to_mode", ",", "reg_class_t", "rclass", ")", "{", "machine_mode", "small_mode", ";", "machine_mode", "big_mode", ";", "if", "(", "reg_classes_intersect_p", "...
[ "Implement", "TARGET_CAN_CHANGE_MODE_CLASS", "." ]
[ "s390", "8", "1" ]
s390
s390_can_change_mode_class
s390
MPU
GCC
20,379
152
1
[]
[ "<s>", "void", "SystemZHazardRecognizer", "::", "copyState", "(", "SystemZHazardRecognizer", "*", "Incoming", ")", "{", "CurrGroupSize", "=", "Incoming", "->", "CurrGroupSize", ";", "DEBUG", "(", "CurGroupDbg", "=", "Incoming", "->", "CurGroupDbg", ";", ")", ";", ...
[ "Copy", "counters", "from", "end", "of", "single", "predecessor", "." ]
[ "SystemZ", "SystemZ", "SystemZ" ]
SystemZHazardRecognizer10
copyState
SystemZ
CPU
LLVM
20,380
51
1
[]
[ "<s>", "static", "rtx", "xtensa_function_arg", "(", "cumulative_args_t", "cum", ",", "const", "function_arg_info", "&", "arg", ")", "{", "return", "xtensa_function_arg_1", "(", "cum", ",", "arg", ",", "false", ")", ";", "}", "</s>" ]
[ "Implement", "TARGET_FUNCTION_ARG", "." ]
[ "xtensa" ]
xtensa
xtensa_function_arg
xtensa
MPU
GCC
20,381
24
1
[]
[ "<s>", "int", "PPCRegisterInfo", "::", "getDwarfRegNum", "(", "unsigned", "RegNum", ",", "bool", "isEH", ")", "const", "{", "return", "PPCGenRegisterInfo", "::", "getDwarfRegNumFull", "(", "RegNum", ",", "0", ")", ";", "}", "</s>" ]
[ "Map", "a", "target", "register", "to", "an", "equivalent", "dwarf", "register", "number", "." ]
[ "PowerPC", "PPC", "PPC", "0" ]
PPCRegisterInfo21
getDwarfRegNum
PowerPC
CPU
LLVM
20,382
24
1
[]
[ "<s>", "bool", "ARMBaseRegisterInfo", "::", "needsFrameBaseReg", "(", "MachineInstr", "*", "MI", ",", "int64_t", "Offset", ")", "const", "{", "for", "(", "unsigned", "i", "=", "0", ";", "!", "MI", "->", "getOperand", "(", "i", ")", ".", "isFI", "(", ")...
[ "Returns", "true", "if", "the", "instruction", "'s", "frame", "index", "reference", "would", "be", "better", "served", "by", "a", "base", "register", "other", "than", "FP", "or", "SP", "." ]
[ "ARM", "ARM", "0", "\"Instr doesn't have FrameIndex operand!\"", "ARM::LDR", "ARM::LDRH", "ARM::LDRB", "ARM::STR", "ARM::STRH", "ARM::STRB", "ARM::t2LDRi12", "ARM::t2LDRi8", "ARM::t2STRi12", "ARM::t2STRi8", "ARM::VLDRS", "ARM::VLDRD", "ARM::VSTRS", "ARM::VSTRD", "ARM::tSTRspi", ...
ARMBaseRegisterInfo29
needsFrameBaseReg
ARM
CPU
LLVM
20,383
321
1
[]
[ "<s>", "unsigned", "HexagonInstrInfo", "::", "getInstrLatency", "(", "const", "InstrItineraryData", "*", "ItinData", ",", "const", "MachineInstr", "&", "MI", ",", "unsigned", "*", "PredCost", ")", "const", "{", "return", "getInstrTimingClassLatency", "(", "ItinData"...
[ "Compute", "the", "instruction", "latency", "of", "a", "given", "instruction", "." ]
[ "Hexagon", "Hexagon" ]
HexagonInstrInfo (2)
getInstrLatency
Hexagon
DSP
LLVM
20,384
31
1
[]
[ "<s>", "void", "pa_asm_output_aligned_local", "(", "FILE", "*", "stream", ",", "const", "char", "*", "name", ",", "unsigned", "HOST_WIDE_INT", "size", ",", "unsigned", "int", "align", ")", "{", "switch_to_section", "(", "bss_section", ")", ";", "fprintf", "(",...
[ "We", "ca", "n't", "use", ".comm", "for", "local", "common", "storage", "as", "the", "SOM", "linker", "effectively", "treats", "the", "symbol", "as", "universal", "and", "uses", "the", "same", "storage", "for", "local", "symbols", "with", "the", "same", "n...
[ "pa", "\"\\t.align %u\\n\"", "\"%s\"", "\"\\n\"", "\"\\t.block \"", "\"\\n\"" ]
pa4
pa_asm_output_aligned_local
pa
CPU
GCC
20,385
79
1
[]
[ "<s>", "static", "bool", "find_mem_ref", "(", "rtx", "pat", ",", "rtx", "*", "mem_ref", ")", "{", "const", "char", "*", "fmt", ";", "int", "i", ",", "j", ";", "if", "(", "tie_operand", "(", "pat", ",", "VOIDmode", ")", ")", "return", "false", ";", ...
[ "Determine", "if", "PAT", "refers", "to", "memory", ".", "If", "so", ",", "set", "MEM_REF", "to", "the", "MEM", "rtx", "and", "return", "true", "." ]
[ "powerpcspe", "1", "0", "1", "0" ]
powerpcspe
find_mem_ref
powerpcspe
CPU
GCC
20,386
169
1
[]
[ "<s>", "void", "AMDGPUPassConfig", "::", "addIRPasses", "(", ")", "{", "const", "AMDGPUTargetMachine", "&", "TM", "=", "getAMDGPUTargetMachine", "(", ")", ";", "disablePass", "(", "&", "StackMapLivenessID", ")", ";", "disablePass", "(", "&", "FuncletLayoutID", "...
[ "Add", "common", "target", "configurable", "passes", "that", "perform", "LLVM", "IR", "to", "IR", "transforms", "following", "machine", "independent", "optimization", "." ]
[ "AMDGPU", "AMDGPU", "AMDGPU", "AMDGPU", "AMDGPU", "AMDGPU", "AMDGPU", "AMDGPU", "AMDGPU", "R600", "AMDGPU", "AMDGPU", "AMDGPU", "AMDGPU", "AMDGPU", "AMDGPU", "AMDGPU" ]
AMDGPUTargetMachine74
addIRPasses
AMDGPU
GPU
LLVM
20,387
314
1
[]
[ "<s>", "static", "bool", "nds32_modes_tieable_p", "(", "machine_mode", "mode1", ",", "machine_mode", "mode2", ")", "{", "if", "(", "(", "GET_MODE_CLASS", "(", "mode1", ")", "==", "MODE_INT", "&&", "GET_MODE_CLASS", "(", "mode2", ")", "==", "MODE_INT", ")", "...
[ "Implement", "TARGET_MODES_TIEABLE_P", ".", "We", "can", "use", "general", "registers", "to", "tie", "QI/HI/SI", "modes", "together", "." ]
[ "nds32" ]
nds32
nds32_modes_tieable_p
nds32
CPU
GCC
20,388
90
1
[]
[ "<s>", "void", "SystemZHazardRecognizer", "::", "EmitInstruction", "(", "SUnit", "*", "SU", ")", "{", "const", "MCSchedClassDesc", "*", "SC", "=", "getSchedClass", "(", "SU", ")", ";", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"++ HazardRecognizer emitting \"...
[ "EmitInstruction", "-", "This", "callback", "is", "invoked", "when", "an", "instruction", "is", "emitted", ",", "to", "advance", "the", "hazard", "state", "." ]
[ "SystemZ", "SystemZ", "\"++ HazardRecognizer emitting \"", "\"\\n\"", "\"Decode group before emission\"", "\", \"", "\"++ Clearing state after call.\\n\"", "1", "\"++ New critical resource: \"", "\"\\n\"", "\"++ Last FPd cycle index: \"", "\"\\n\"", "3", "2", "3", "\"SU does not fit in...
SystemZHazardRecognizer3
EmitInstruction
SystemZ
CPU
LLVM
20,389
352
1
[]
[ "<s>", "static", "tree", "rs6000_fold_builtin", "(", "tree", "fndecl", "ATTRIBUTE_UNUSED", ",", "int", "n_args", "ATTRIBUTE_UNUSED", ",", "tree", "*", "args", "ATTRIBUTE_UNUSED", ",", "bool", "ignore", "ATTRIBUTE_UNUSED", ")", "{", "return", "SUBTARGET_FOLD_BUILTIN", ...
[ "Target", "hook", "for", "early", "folding", "of", "built-ins", ",", "shamelessly", "stolen", "from", "ia64.cc", "." ]
[ "rs6000" ]
rs60007
rs6000_fold_builtin
rs6000
CPU
GCC
20,390
38
1
[]
[ "<s>", "SDValue", "BPFTargetLowering", "::", "LowerFormalArguments", "(", "SDValue", "Chain", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "IsVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "InputArg", ">", "&", "Ins", ",", "const", "SD...
[ "This", "hook", "must", "be", "implemented", "to", "lower", "the", "incoming", "(", "formal", ")", "arguments", ",", "described", "by", "the", "Ins", "array", ",", "into", "the", "specified", "DAG", "." ]
[ "BPF", "BPF", "ISD::InputArg", "\"Unsupported calling convention\"", "16", "BPF", "\"LowerFormalArguments Unhandled argument type: \"", "0", "MVT::i64", "BPF::GPRRegClass", "ISD::AssertSext", "ISD::AssertZext", "ISD::TRUNCATE", "\"defined with too many args\"", "0", "\"functions with V...
BPFISelLowering13
LowerFormalArguments
BPF
Virtual ISA
LLVM
20,391
418
1
[]
[ "<s>", "static", "bool", "rx_function_ok_for_sibcall", "(", "tree", "decl", ",", "tree", "exp", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "TARGET_JSR", ")", "return", "false", ";", "if", "(", "decl", "==", "NULL", ")", "return", "false", ";", "if", "(", "...
[ "Return", "nonzero", "if", "it", "is", "ok", "to", "make", "a", "tail-call", "to", "DECL", ",", "a", "function_decl", "or", "NULL", "if", "this", "is", "an", "indirect", "call", ",", "using", "EXP" ]
[ "rx" ]
rx
rx_function_ok_for_sibcall
rx
CPU
GCC
20,392
52
1
[]
[ "<s>", "static", "rtx", "arc_legitimize_address_0", "(", "rtx", "x", ",", "rtx", "oldx", "ATTRIBUTE_UNUSED", ",", "machine_mode", "mode", ")", "{", "rtx", "addr", ",", "inner", ";", "if", "(", "flag_pic", "&&", "SYMBOLIC_CONST", "(", "x", ")", ")", "(", ...
[ "This", "is", "like", "the", "hook", ",", "but", "returns", "NULL", "when", "it", "ca", "n't", "/", "wo", "n't", "generate", "a", "legitimate", "address", "." ]
[ "arc", "0", "0", "1", "0", "0", "0", "1", "252", "1", "256", "511", "0" ]
arc4
arc_legitimize_address_0
arc
MPU
GCC
20,393
276
1
[]
[ "<s>", "static", "int64_t", "getNullPointerValue", "(", "unsigned", "AddrSpace", ")", "{", "return", "(", "AddrSpace", "==", "AMDGPUAS", "::", "LOCAL_ADDRESS", "||", "AddrSpace", "==", "AMDGPUAS", "::", "PRIVATE_ADDRESS", "||", "AddrSpace", "==", "AMDGPUAS", "::",...
[ "Get", "the", "integer", "value", "of", "a", "null", "pointer", "in", "the", "given", "address", "space", "." ]
[ "AMDGPU", "AMDGPU", "AMDGPU", "AMDGPU", "1", "0" ]
AMDGPUTargetMachine15
getNullPointerValue
AMDGPU
GPU
LLVM
20,394
35
1
[]
[ "<s>", "void", "KudeyarRegisterInfo", "::", "eliminateCallFramePseudoInstr", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ")", "const", "{", "const", "TargetFrameLowering", "*", "TFI", "=",...
[ "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", ")", "." ]
[ "Kudeyar", "Kudeyar", "0", "0", "1", "0", "Kudeyar::SUB_RR", "Kudeyar::SP", "Kudeyar::SP", "1", "Kudeyar::ADD_RR", "Kudeyar::SP", "Kudeyar::SP", "3", "1", "Kudeyar::SUB_RR", "Kudeyar::SP", "Kudeyar::SP", "3" ]
KudeyarRegisterInfo
eliminateCallFramePseudoInstr
Kudeyar
CPU
LLVM
20,395
362
1
[]
[ "<s>", "SDValue", "SITargetLowering", "::", "LowerOperation", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "return", "AMDGPUTargetLowering", "::", "LowerO...
[ "LowerOperation", "-", "Provide", "custom", "lowering", "hooks", "for", "some", "operations", "." ]
[ "AMDGPU", "SI", "AMDGPU", "ISD::FrameIndex", "ISD::BRCOND", "ISD::LOAD", "2", "\"Load should return a value and a chain\"", "ISD::FSIN", "ISD::FCOS", "ISD::SELECT", "ISD::FDIV", "ISD::STORE", "ISD::GlobalAddress", "SI", "SI", "ISD::INTRINSIC_WO_CHAIN", "SI", "ISD::INTRINSIC_VOID"...
SIISelLowering (2)
LowerOperation
AMDGPU
GPU
LLVM
20,396
237
1
[]
[ "<s>", "static", "void", "ix86_default_align", "(", "struct", "gcc_options", "*", "opts", ")", "{", "if", "(", "opts", "->", "x_align_loops", "==", "0", ")", "{", "opts", "->", "x_align_loops", "=", "processor_target_table", "[", "ix86_tune", "]", ".", "alig...
[ "Default", "align_", "*", "from", "the", "processor", "table", "." ]
[ "i386", "0", "0", "0" ]
i3865
ix86_default_align
i386
CPU
GCC
20,397
92
1
[]
[ "<s>", "void", "Cpu0SEInstrInfo", "::", "adjustStackPtr", "(", "unsigned", "SP", ",", "int64_t", "Amount", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ")", "const", "{", "DebugLoc", "DL", "=", "I", "!=", "MBB", ".",...
[ "Adjust", "SP", "by", "Amount", "bytes", "." ]
[ "Cpu0", "Cpu0", "Cpu0::ADDu", "Cpu0::ADDiu", "16" ]
Cpu0SEInstrInfo
adjustStackPtr
Cpu0
CPU
LLVM
20,398
145
1
[]
[ "<s>", "llvm", "::", "FastISel", "*", "AArch64", "::", "createFastISel", "(", "FunctionLoweringInfo", "&", "funcInfo", ",", "const", "TargetLibraryInfo", "*", "libInfo", ")", "{", "return", "new", "AArch64FastISel", "(", "funcInfo", ",", "libInfo", ")", ";", "...
[ "This", "method", "returns", "a", "target", "specific", "FastISel", "object", ",", "or", "null", "if", "the", "target", "does", "not", "support", "``", "fast", "''", "ISel", "." ]
[ "AArch64", "AArch64::createFastISel", "AArch64" ]
AArch64FastISel1
createFastISel
AArch64
CPU
LLVM
20,399
28
1
[]