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", "MandarinPassConfig", "::", "addPreEmitPass", "(", ")", "{", "return", "true", ";", "}", "</s>" ]
[ "This", "pass", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "machine", "code", "is", "emitted", "." ]
[ "Mandarin" ]
MandarinTargetMachine
addPreEmitPass
Mandarin
CPU
LLVM
20,400
11
1
[]
[ "<s>", "bool", "AMDGPUCallLowering", "::", "lowerReturn", "(", "MachineIRBuilder", "&", "MIRBuilder", ",", "const", "Value", "*", "Val", ",", "ArrayRef", "<", "unsigned", ">", "VRegs", ")", "const", "{", "if", "(", "Val", ")", "return", "false", ";", "MIRB...
[ "This", "hook", "behaves", "as", "the", "extended", "lowerReturn", "function", ",", "but", "for", "targets", "that", "do", "not", "support", "swifterror", "value", "promotion", "." ]
[ "AMDGPU", "AMDGPU", "AMDGPU::S_ENDPGM" ]
AMDGPUCallLowering14
lowerReturn
AMDGPU
GPU
LLVM
20,401
42
1
[]
[ "<s>", "void", "emitLocal", "(", "ArrayRef", "<", "wasm", "::", "ValType", ">", ")", "override", "{", "}", "</s>" ]
[ ".local" ]
[ "WebAssembly", "wasm::ValType" ]
WebAssemblyTargetStreamer (2)1
emitLocal
WebAssembly
Virtual ISA
LLVM
20,402
13
1
[]
[ "<s>", "static", "void", "unw_access_gr", "(", "struct", "_Unwind_Context", "*", "info", ",", "int", "regnum", ",", "unsigned", "long", "*", "val", ",", "char", "*", "nat", ",", "int", "write", ")", "{", "unsigned", "long", "*", "addr", ",", "*", "nat_...
[ "Unwind", "accessors", "." ]
[ "ia64", "0", "0", "1", "127", "1", "0", "32", "2", "0", "0", "1", "0x1fffe", "1", "0x1003e", "0", "0", "1", "0x1ffe", "0", "1", "0", "1UL", "0x1f8", "8", "1UL", "32", "1UL", "0" ]
unwind-ia64
unw_access_gr
ia64
CPU
GCC
20,403
384
1
[]
[ "<s>", "static", "bool", "rs6000_cannot_force_const_mem", "(", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ",", "rtx", "x", ")", "{", "if", "(", "GET_CODE", "(", "x", ")", "==", "HIGH", "&&", "GET_CODE", "(", "XEXP", "(", "x", ",", "0", ")", ")", "==", ...
[ "Implement", "TARGET_CANNOT_FORCE_CONST_MEM", "." ]
[ "powerpcspe", "0", "0", "0", "0", "0", "0", "0" ]
powerpcspe
rs6000_cannot_force_const_mem
powerpcspe
CPU
GCC
20,404
103
1
[]
[ "<s>", "bool", "PIC16TargetMachine", "::", "addInstSelector", "(", "PassManagerBase", "&", "PM", ",", "bool", "Fast", ")", "{", "PM", ".", "add", "(", "createPIC16ISelDag", "(", "*", "this", ")", ")", ";", "return", "false", ";", "}", "</s>" ]
[ "addInstSelector", "-", "This", "method", "should", "install", "an", "instruction", "selector", "pass", ",", "which", "converts", "from", "LLVM", "code", "to", "machine", "instructions", "." ]
[ "PIC16", "PIC16", "PIC16" ]
PIC16TargetMachine2
addInstSelector
PIC16
MPU
LLVM
20,405
28
1
[]
[ "<s>", "unsigned", "WebAssemblyInstrInfo", "::", "insertBranch", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "*", "TBB", ",", "MachineBasicBlock", "*", "FBB", ",", "ArrayRef", "<", "MachineOperand", ">", "Cond", ",", "const", "DebugLoc", "&", ...
[ "Insert", "branch", "code", "into", "the", "end", "of", "the", "specified", "MachineBasicBlock", "." ]
[ "WebAssembly", "WebAssembly", "\"code size not handled\"", "0", "WebAssembly::BR", "1", "2", "\"Expected a flag and a successor block\"", "1", "1", "WebAssembly::EXNREFRegClass", "0", "\"__cpp_exception\"", "WebAssembly::BR_ON_EXN", "1", "WebAssembly::BR_IF", "1", "\"br_on_exn does...
WebAssemblyInstrInfo15
insertBranch
WebAssembly
Virtual ISA
LLVM
20,406
312
1
[]
[ "<s>", "static", "MCSymbol", "*", "GetSymbolFromOperand", "(", "const", "MachineOperand", "&", "MO", ",", "AsmPrinter", "&", "AP", ")", "{", "MCContext", "&", "Ctx", "=", "AP", ".", "OutContext", ";", "SmallString", "<", "128", ">", "Name", ";", "if", "(...
[ "Lower", "an", "MO_GlobalAddress", "or", "MO_ExternalSymbol", "operand", "to", "an", "MCSymbol", "." ]
[ "PowerPC", "128", "\"Isn't a symbol reference\"", "PPCII::MO_DARWIN_STUB", "PPCII::MO_NLP_FLAG", "PPCII::MO_DARWIN_STUB", "\"$stub\"", "\"\"", "5", "PPCII::MO_NLP_FLAG", "\"$non_lazy_ptr\"", "PPCII::MO_NLP_HIDDEN_FLAG", "0", "\"Extern symbol not handled yet\"" ]
PPCMCInstLower3
GetSymbolFromOperand
PowerPC
CPU
LLVM
20,407
459
1
[]
[ "<s>", "bool", "ARMAsmParser", "::", "MatchAndEmitInstruction", "(", "SMLoc", "IDLoc", ",", "unsigned", "&", "Opcode", ",", "SmallVectorImpl", "<", "MCParsedAsmOperand", "*", ">", "&", "Operands", ",", "MCStreamer", "&", "Out", ",", "unsigned", "&", "ErrorInfo",...
[ "MatchAndEmitInstruction", "-", "Recognize", "a", "series", "of", "operands", "of", "a", "parsed", "instruction", "as", "an", "actual", "MCInst", "and", "emit", "it", "to", "the", "specified", "MCStreamer", "." ]
[ "ARM", "ARM", "ARM::ITasm", "\"Unknown missing feature!\"", "\"instruction requires:\"", "1", "0", "8", "1", "\" \"", "1", "0U", "\"too few operands for instruction\"", "ARM", "\"invalid operand for instruction\"", "\"invalid instruction\"", "ARM", "0", "\"flag setting instructio...
ARMAsmParser (2)1
MatchAndEmitInstruction
ARM
CPU
LLVM
20,408
446
1
[]
[ "<s>", "const", "RegisterBank", "&", "AArch64RegisterBankInfo", "::", "getRegBankFromRegClass", "(", "const", "TargetRegisterClass", "&", "RC", ")", "const", "{", "switch", "(", "RC", ".", "getID", "(", ")", ")", "{", "case", "AArch64", "::", "FPR8RegClassID", ...
[ "Get", "a", "register", "bank", "that", "covers", "RC", "." ]
[ "AArch64", "AArch64", "AArch64::FPR8RegClassID", "AArch64::FPR16RegClassID", "AArch64::FPR32RegClassID", "AArch64::FPR64RegClassID", "AArch64::FPR128RegClassID", "AArch64::FPR128_loRegClassID", "AArch64::DDRegClassID", "AArch64::DDDRegClassID", "AArch64::DDDDRegClassID", "AArch64::QQRegClassID...
AArch64RegisterBankInfo27
getRegBankFromRegClass
AArch64
CPU
LLVM
20,409
206
1
[]
[ "<s>", "void", "MSP430InstPrinter", "::", "printInst", "(", "const", "MCInst", "*", "MI", ",", "raw_ostream", "&", "O", ",", "StringRef", "Annot", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "{", "if", "(", "!", "printAliasInstr", "(", "MI", ",", "...
[ "Print", "the", "specified", "MCInst", "to", "the", "specified", "raw_ostream", "." ]
[ "MSP430", "MSP430" ]
MSP430InstPrinter13
printInst
MSP430
MPU
LLVM
20,410
48
1
[]
[ "<s>", "static", "int", "aarch64_build_constant", "(", "int", "regnum", ",", "HOST_WIDE_INT", "val", ",", "bool", "generate", ")", "{", "int", "insns", "=", "0", ";", "if", "(", "aarch64_bitmask_imm", "(", "val", ",", "DImode", ")", ")", "{", "if", "(", ...
[ "Possibly", "output", "code", "to", "build", "up", "a", "constant", "in", "a", "register", ".", "For", "the", "benefit", "of", "the", "costs", "infrastructure", ",", "returns", "the", "number", "of", "instructions", "which", "would", "be", "emitted", ".", ...
[ "aarch64", "0", "1", "0", "0", "16", "16", "64", "16", "0xffff", "0", "0xffff", "16", "0xffff", "0xffff", "0xffff", "0", "16", "16", "64", "16", "0xffff", "0xffff", "16" ]
aarch642
aarch64_build_constant
aarch64
CPU
GCC
20,411
271
1
[]
[ "<s>", "unsigned", "int", "LC2200AsmBackend", "::", "getNumFixupKinds", "(", ")", "const", "{", "return", "LC2200", "::", "Fixups", "::", "NumTargetFixupKinds", ";", "}", "</s>" ]
[ "Get", "the", "number", "of", "target", "specific", "fixup", "kinds", "." ]
[ "LC2200", "LC2200", "LC2200::Fixups" ]
LC2200AsmBackend
getNumFixupKinds
LC2200
CPU
LLVM
20,412
17
1
[]
[ "<s>", "bool", "WebAssemblyAddMissingPrototypes", "::", "runOnModule", "(", "Module", "&", "M", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "\"runnning AddMissingPrototypes\\n\"", ")", ";", "std", "::", "vector", "<", "std", "::", "pair", "<", "Functi...
[ "runOnModule", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "process", "the", "module", "being", "operated", "on", "." ]
[ "WebAssembly", "WebAssembly", "\"runnning AddMissingPrototypes\\n\"", "\"no-prototype\"", "\"Found no-prototype function: \"", "\"\\n\"", "\"Functions with 'no-prototype' attribute must take varargs: \"", "0", "\"Functions with 'no-prototype' attribute should not have params: \"", "\"prototype-les...
WebAssemblyAddMissingPrototypes2
runOnModule
WebAssembly
Virtual ISA
LLVM
20,413
465
1
[]
[ "<s>", "static", "tree", "associated_type", "(", "tree", "decl", ")", "{", "return", "(", "DECL_CONTEXT", "(", "decl", ")", "&&", "TYPE_P", "(", "DECL_CONTEXT", "(", "decl", ")", ")", "?", "DECL_CONTEXT", "(", "decl", ")", ":", "NULL_TREE", ")", ";", "...
[ "Return", "the", "type", "that", "we", "should", "use", "to", "determine", "if", "DECL", "is", "imported", "or", "exported", "." ]
[ "i386" ]
winnt
associated_type
i386
CPU
GCC
20,414
32
1
[]
[ "<s>", "static", "void", "arm_print_asm_arch_directives", "(", "FILE", "*", "stream", ",", "cl_target_option", "*", "targ_options", ")", "{", "arm_build_target", "build_target", ";", "if", "(", "last_asm_targ_options", "==", "targ_options", ")", "return", ";", "last...
[ "Print", ".arch", "and", ".arch_extension", "directives", "corresponding", "to", "the", "current", "architecture", "configuration", "." ]
[ "arm", "\"\\t.cpu %s\\n\"", "\"-march\"", "\"armv7ve\"", "0", "\"\\t.arch armv7-a\\n\"", "\"\\t.arch_extension virt\\n\"", "\"\\t.arch_extension idiv\\n\"", "\"\\t.arch_extension sec\\n\"", "\"\\t.arch_extension mp\\n\"", "\"\\t.arch %s\\n\"", "\"softvfp\"", "\"\\t.fpu %s\\n\"", "\"\\t.arc...
arm
arm_print_asm_arch_directives
arm
CPU
GCC
20,415
315
1
[]
[ "<s>", "void", "PPCPassConfig", "::", "addPreRegAlloc", "(", ")", "{", "initializePPCVSXFMAMutatePass", "(", "*", "PassRegistry", "::", "getPassRegistry", "(", ")", ")", ";", "insertPass", "(", "VSXFMAMutateEarly", "?", "&", "RegisterCoalescerID", ":", "&", "Machi...
[ "This", "method", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "register", "allocation", "." ]
[ "PowerPC", "PPC", "PPC", "PPC", "PPC", "PPC" ]
PPCTargetMachine32
addPreRegAlloc
PowerPC
CPU
LLVM
20,416
53
1
[]
[ "<s>", "bool", "PPCFrameLowering", "::", "restoreCalleeSavedRegisters", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", ",", "const", "TargetRegisterInfo", ...
[ "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...
[ "PowerPC", "PPC", "PPC", "PPC", "PPC", "0", "0", "PPC::VRSAVE", "PPC::X2", "PPC::R2", "PPC::CR2", "PPC::CR3", "PPC::CR4", "PPC::CR2", "PPC::CR4", "PPC", "PPC::MFVSRD", "\"loadRegFromStackSlot didn't insert any code!\"", "PPC" ]
PPCFrameLowering93
restoreCalleeSavedRegisters
PowerPC
CPU
LLVM
20,417
506
1
[]
[ "<s>", "bool", "AMDGPUTargetLowering", "::", "ShouldShrinkFPConstant", "(", "EVT", "VT", ")", "const", "{", "if", "(", "VT", ".", "getScalarType", "(", ")", ".", "getSimpleVT", "(", ")", ".", "SimpleTy", "==", "MVT", "::", "f32", "||", "VT", ".", "getSca...
[ "If", "true", ",", "then", "instruction", "selection", "should", "seek", "to", "shrink", "the", "FP", "constant", "of", "the", "specified", "type", "to", "a", "smaller", "type", "in", "order", "to", "save", "space", "and", "/", "or", "reduce", "runtime", ...
[ "R600", "MVT::f32", "MVT::f64" ]
AMDILISelLowering
ShouldShrinkFPConstant
R600
GPU
LLVM
20,418
56
1
[]
[ "<s>", "rtx", "mips_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", ".", "Note", ",", "we", "do", "not", "support", "moving", "back", "to", "a", "previous", "frame", "." ]
[ "mips", "0" ]
mips
mips_return_addr
mips
CPU
GCC
20,419
29
1
[]
[ "<s>", "CCAssignFn", "*", "ARM64TargetLowering", "::", "CCAssignFnForCall", "(", "CallingConv", "::", "ID", "CC", ",", "bool", "IsVarArg", ")", "const", "{", "switch", "(", "CC", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Unsupported calling convention....
[ "Selects", "the", "correct", "CCAssignFn", "for", "a", "given", "CallingConvention", "value", "." ]
[ "ARM64", "ARM64", "\"Unsupported calling convention.\"", "ARM64", "ARM64", "ARM64", "ARM64" ]
ARM64ISelLowering
CCAssignFnForCall
ARM64
CPU
LLVM
20,420
67
1
[]
[ "<s>", "FastISel", "*", "X86", "::", "createFastISel", "(", "FunctionLoweringInfo", "&", "funcInfo", ",", "const", "TargetLibraryInfo", "*", "libInfo", ")", "{", "return", "new", "X86FastISel", "(", "funcInfo", ",", "libInfo", ")", ";", "}", "</s>" ]
[ "This", "method", "returns", "a", "target", "specific", "FastISel", "object", ",", "or", "null", "if", "the", "target", "does", "not", "support", "``", "fast", "''", "ISel", "." ]
[ "X86", "X86::createFastISel", "X86" ]
X86FastISel (2)
createFastISel
X86
CPU
LLVM
20,421
26
1
[]
[ "<s>", "static", "bool", "get_unit_operand_masks", "(", "rtx_insn", "*", "insn", ",", "unsigned", "int", "*", "pmask1", ",", "unsigned", "int", "*", "pmask2", ")", "{", "enum", "attr_op_pattern", "op_pat", ";", "if", "(", "recog_memoized", "(", "insn", ")", ...
[ "Examine", "INSN", ",", "and", "store", "in", "PMASK1", "and", "PMASK2", "bitmasks", "that", "represent", "the", "operands", "that", "are", "involved", "in", "the", "(", "up", "to", ")", "two", "reservations", ",", "as", "found", "by", "get_unit_reqs", "."...
[ "c6x", "0", "0", "2", "1", "0", "1", "1", "2", "1", "1", "1", "0", "3", "1", "0", "1", "2", "1", "1", "2", "1", "0", "1", "1", "3", "1", "0", "1", "1", "1", "2" ]
c6x
get_unit_operand_masks
c6x
VLIW
GCC
20,422
256
1
[]
[ "<s>", "void", "WebAssemblyTargetELFStreamer", "::", "emitIndIdx", "(", "const", "MCExpr", "*", "Value", ")", "{", "Streamer", ".", "EmitIntValue", "(", "WebAssembly", "::", "DotIndIdx", ",", "sizeof", "(", "uint64_t", ")", ")", ";", "Streamer", ".", "EmitValu...
[ ".indidx" ]
[ "WebAssembly", "WebAssembly", "WebAssembly::DotIndIdx" ]
WebAssemblyTargetStreamer29
emitIndIdx
WebAssembly
Virtual ISA
LLVM
20,423
38
1
[]
[ "<s>", "RegisterSet", "&", "insert", "(", "const", "RegisterSet", "&", "Rs", ")", "{", "return", "static_cast", "<", "RegisterSet", "&", ">", "(", "BitVector", "::", "operator", "|=", "(", "Rs", ")", ")", ";", "}", "</s>" ]
[ "insert", "-", "Append", "entry", "to", "the", "vector", "if", "it", "does", "n't", "already", "exist", "." ]
[ "Hexagon" ]
HexagonBitSimplify (2)
insert
Hexagon
DSP
LLVM
20,424
27
1
[]
[ "<s>", "static", "void", "epiphany_function_arg_advance", "(", "cumulative_args_t", "cum_v", ",", "const", "function_arg_info", "&", "arg", ")", "{", "CUMULATIVE_ARGS", "*", "cum", "=", "get_cumulative_args", "(", "cum_v", ")", ";", "*", "cum", "=", "(", "ROUND_...
[ "Update", "the", "data", "in", "CUM", "to", "advance", "over", "an", "argument", "of", "mode", "MODE", "and", "data", "type", "TYPE", ".", "(", "TYPE", "is", "null", "for", "libcalls", "where", "that", "information", "may", "not", "be", "available", ".",...
[ "epiphany" ]
epiphany
epiphany_function_arg_advance
epiphany
MPU
GCC
20,425
53
1
[]
[ "<s>", "void", "addLOHDirective", "(", "MCLOHType", "Kind", ",", "MILOHArgs", "Args", ")", "{", "LOHContainerSet", ".", "push_back", "(", "MILOHDirective", "(", "Kind", ",", "Args", ")", ")", ";", "LOHRelated", ".", "insert", "(", "Args", ".", "begin", "("...
[ "Add", "a", "LOH", "directive", "of", "this", "Kind", "and", "this", "Args", "." ]
[ "AArch64" ]
AArch64MachineFunctionInfo1
addLOHDirective
AArch64
CPU
LLVM
20,426
40
1
[]
[ "<s>", "static", "bool", "tilepro_tls_referenced_p", "(", "rtx", "x", ")", "{", "if", "(", "GET_CODE", "(", "x", ")", "==", "CONST", "&&", "GET_CODE", "(", "XEXP", "(", "x", ",", "0", ")", ")", "==", "PLUS", ")", "x", "=", "XEXP", "(", "XEXP", "(...
[ "Return", "true", "if", "X", "contains", "a", "thread-local", "symbol", "." ]
[ "tilepro", "0", "0", "0" ]
tilepro
tilepro_tls_referenced_p
tilepro
VLIW
GCC
20,427
64
1
[]
[ "<s>", "PPCSubtarget", "&", "PPCSubtarget", "::", "initializeSubtargetDependencies", "(", "StringRef", "CPU", ",", "StringRef", "FS", ")", "{", "initializeEnvironment", "(", ")", ";", "resetSubtargetFeatures", "(", "CPU", ",", "FS", ")", ";", "return", "*", "thi...
[ "initializeSubtargetDependencies", "-", "Initializes", "using", "a", "CPU", ",", "a", "TuneCPU", ",", "and", "feature", "string", "so", "that", "we", "can", "use", "initializer", "lists", "for", "subtarget", "initialization", "." ]
[ "PowerPC", "PPC", "PPC" ]
PPCSubtarget1
initializeSubtargetDependencies
PowerPC
CPU
LLVM
20,428
29
1
[]
[ "<s>", "void", "RISCVTargetStreamer", "::", "finish", "(", ")", "{", "finishAttributeSection", "(", ")", ";", "}", "</s>" ]
[ "finish", "-", "after", "all", "the", "new", "live", "ranges", "have", "been", "created", ",", "compute", "the", "remaining", "live", "range", ",", "and", "rewrite", "instructions", "to", "use", "the", "new", "registers", "." ]
[ "RISCV", "RISCV" ]
RISCVTargetStreamer (2)
finish
RISCV
CPU
LLVM
20,429
12
1
[]
[ "<s>", "unsigned", "getGlobalBaseReg", "(", ")", "const", "{", "return", "GlobalBaseReg", ";", "}", "</s>" ]
[ "getGlobalBaseReg", "-", "Return", "a", "virtual", "register", "initialized", "with", "the", "the", "global", "base", "register", "value", "." ]
[ "X86" ]
X86MachineFunctionInfo (2)
getGlobalBaseReg
X86
CPU
LLVM
20,430
10
1
[]
[ "<s>", "static", "int", "ix86_fp_comparison_fcomi_cost", "(", "enum", "rtx_code", "code", ")", "{", "enum", "rtx_code", "bypass_code", ",", "first_code", ",", "second_code", ";", "if", "(", "!", "TARGET_CMOVE", ")", "return", "1024", ";", "ix86_fp_comparison_codes...
[ "Return", "cost", "of", "comparison", "done", "using", "fcomi", "operation", ".", "See", "ix86_fp_comparison_arithmetics_cost", "for", "the", "metrics", "." ]
[ "i386", "1024", "2" ]
i3863
ix86_fp_comparison_fcomi_cost
i386
CPU
GCC
20,431
53
1
[]
[ "<s>", "bool", "VideocoreDAGToDAGISel", "::", "SelectInlineAsmMemoryOperand", "(", "const", "SDValue", "&", "Op", ",", "char", "ConstraintCode", ",", "std", "::", "vector", "<", "SDValue", ">", "&", "OutOps", ")", "{", "SDValue", "Op0", ",", "Op1", ";", "swi...
[ "SelectInlineAsmMemoryOperand", "-", "Select", "the", "specified", "address", "as", "a", "target", "addressing", "mode", ",", "according", "to", "the", "specified", "constraint", "." ]
[ "Videocore", "Videocore" ]
VideocoreISelDAGToDAG
SelectInlineAsmMemoryOperand
Videocore
DSP
LLVM
20,432
83
1
[]
[ "<s>", "int", "thumb_legitimate_offset_p", "(", "enum", "machine_mode", "mode", ",", "HOST_WIDE_INT", "val", ")", "{", "switch", "(", "GET_MODE_SIZE", "(", "mode", ")", ")", "{", "case", "1", ":", "return", "val", ">=", "0", "&&", "val", "<", "32", ";", ...
[ "Return", "nonzero", "if", "VAL", "can", "be", "used", "as", "an", "offset", "in", "a", "Thumb-state", "address", "instruction", "of", "mode", "MODE", "." ]
[ "arm", "1", "0", "32", "2", "0", "64", "1", "0", "0", "128", "3", "0" ]
arm3
thumb_legitimate_offset_p
arm
CPU
GCC
20,433
81
1
[]
[ "<s>", "bool", "ARMRegisterInfo", "::", "hasFP", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "return", "NoFramePointerElim", "||", "MFI", "->", "hasVar...
[ "hasFP", "-", "Return", "true", "if", "the", "specified", "function", "should", "have", "a", "dedicated", "frame", "pointer", "register", "." ]
[ "ARM", "ARM" ]
ARMRegisterInfo13
hasFP
ARM
CPU
LLVM
20,434
33
1
[]
[ "<s>", "static", "void", "riscv_for_each_saved_reg", "(", "HOST_WIDE_INT", "sp_offset", ",", "riscv_save_restore_fn", "fn", ")", "{", "HOST_WIDE_INT", "offset", ";", "offset", "=", "cfun", "->", "machine", "->", "frame", ".", "gp_sp_offset", "-", "sp_offset", ";",...
[ "Call", "FN", "for", "each", "register", "that", "is", "saved", "by", "the", "current", "function", ".", "SP_OFFSET", "is", "the", "offset", "of", "the", "current", "stack", "pointer", "from", "the", "start", "of", "the", "frame", "." ]
[ "riscv" ]
riscv3
riscv_for_each_saved_reg
riscv
CPU
GCC
20,435
147
1
[]
[ "<s>", "int", "X86TTIImpl", "::", "getIntrinsicInstrCost", "(", "Intrinsic", "::", "ID", "IID", ",", "Type", "*", "RetTy", ",", "ArrayRef", "<", "Value", "*", ">", "Args", ",", "FastMathFlags", "FMF", ")", "{", "return", "BaseT", "::", "getIntrinsicInstrCost...
[ "Get", "intrinsic", "cost", "based", "on", "arguments", "." ]
[ "X86", "X86", "Intrinsic::ID" ]
X86TargetTransformInfo105
getIntrinsicInstrCost
X86
CPU
LLVM
20,436
40
1
[]
[ "<s>", "static", "rtx", "c6x_function_arg", "(", "cumulative_args_t", "cum_v", ",", "const", "function_arg_info", "&", "arg", ")", "{", "CUMULATIVE_ARGS", "*", "cum", "=", "get_cumulative_args", "(", "cum_v", ")", ";", "if", "(", "cum", "->", "count", ">=", ...
[ "Implements", "the", "macro", "FUNCTION_ARG", "defined", "in", "c6x.h", "." ]
[ "c6x", "4", "1", "2", "4" ]
c6x
c6x_function_arg
c6x
VLIW
GCC
20,437
160
1
[]
[ "<s>", "bool", "contains", "(", "int32_t", "V", ")", "const", "{", "return", "Min", "<=", "V", "&&", "V", "<=", "Max", "&&", "(", "V", "%", "Align", ")", "==", "0", ";", "}", "</s>" ]
[ "contains", "-", "Returns", "true", "if", "this", "trace", "contains", "the", "given", "basic", "block", "." ]
[ "Hexagon", "0" ]
HexagonConstExtenders14
contains
Hexagon
DSP
LLVM
20,438
26
1
[]
[ "<s>", "const", "char", "*", "getPassName", "(", ")", "const", "override", "{", "return", "\"WebAssembly Optimize Returned\"", ";", "}", "</s>" ]
[ "getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "." ]
[ "WebAssembly", "\"WebAssembly Optimize Returned\"" ]
WebAssemblyOptimizeReturned (2)
getPassName
WebAssembly
Virtual ISA
LLVM
20,439
13
1
[]
[ "<s>", "SMRange", "getLocRange", "(", ")", "const", "{", "return", "SMRange", "(", "StartLoc", ",", "EndLoc", ")", ";", "}", "</s>" ]
[ "getLocRange", "-", "Get", "the", "range", "between", "the", "first", "and", "last", "token", "of", "this", "operand", "." ]
[ "SystemZ" ]
SystemZAsmParser (2)1
getLocRange
SystemZ
CPU
LLVM
20,440
15
1
[]
[ "<s>", "static", "void", "arm_print_value", "(", "FILE", "*", "f", ",", "rtx", "x", ")", "{", "switch", "(", "GET_CODE", "(", "x", ")", ")", "{", "case", "CONST_INT", ":", "fprintf", "(", "f", ",", "HOST_WIDE_INT_PRINT_HEX", ",", "INTVAL", "(", "x", ...
[ "Print", "a", "symbolic", "form", "of", "X", "to", "the", "debug", "file", ",", "F", "." ]
[ "arm", "20", "0", "1", "\"<\"", "0", "1", "\">\"", "\"\\\"%s\\\"\"", "0", "\"`%s'\"", "0", "\"L%d\"", "0", "0", "0", "\"+\"", "1", "\"pc\"", "\"????\"" ]
arm
arm_print_value
arm
CPU
GCC
20,441
293
1
[]
[ "<s>", "void", "AMDGPUAsmPrinter", "::", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "{", "AU", ".", "addRequired", "<", "AMDGPUResourceUsageAnalysis", ">", "(", ")", ";", "AU", ".", "addPreserved", "<", "AMDGPUResourceUsageAnalysis", ">", ...
[ "getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "." ]
[ "AMDGPU", "AMDGPU", "AMDGPU", "AMDGPU" ]
AMDGPUAsmPrinter
getAnalysisUsage
AMDGPU
GPU
LLVM
20,442
37
1
[]
[ "<s>", "addr_space_t", "nvptx_addr_space_from_address", "(", "rtx", "addr", ")", "{", "while", "(", "GET_CODE", "(", "addr", ")", "==", "PLUS", "||", "GET_CODE", "(", "addr", ")", "==", "CONST", ")", "addr", "=", "XEXP", "(", "addr", ",", "0", ")", ";"...
[ "Look", "for", "a", "SYMBOL_REF", "in", "ADDR", "and", "return", "the", "address", "space", "to", "be", "used", "for", "the", "insn", "referencing", "this", "address", "." ]
[ "nvptx", "0" ]
nvptx2
nvptx_addr_space_from_address
nvptx
GPU
GCC
20,443
101
1
[]
[ "<s>", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"Z80old Machine Late Optimization\"", ";", "}", "</s>" ]
[ "getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "." ]
[ "Z80old", "\"Z80old Machine Late Optimization\"" ]
Z80oldMachineLateOptimization
getPassName
Z80old
MPU
LLVM
20,444
11
1
[]
[ "<s>", "bool", "fixupNeedsRelaxation", "(", "const", "MCFixup", "&", "Fixup", ",", "uint64_t", "Value", ",", "const", "MCRelaxableFragment", "*", "DF", ",", "const", "MCAsmLayout", "&", "Layout", ")", "const", "override", "{", "return", "false", ";", "}", "<...
[ "Simple", "predicate", "for", "targets", "where", "!", "Resolved", "implies", "requiring", "relaxation", "." ]
[ "BPF" ]
BPFAsmBackend (2)1
fixupNeedsRelaxation
BPF
Virtual ISA
LLVM
20,445
28
1
[]
[ "<s>", "bool", "M680x0FrameLowering", "::", "spillCalleeSavedRegisters", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "const", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", ",", "const", "TargetRegi...
[ "spillCalleeSavedRegisters", "-", "Issues", "instruction", "(", "s", ")", "to", "spill", "all", "callee", "saved", "registers", "and", "returns", "true", "if", "it", "is", "n't", "possible", "/", "profitable", "to", "do", "so", "by", "issuing", "a", "series"...
[ "M680x0", "M680x0", "M680x0", "0", "0", "0", "1", "M680x0::MOVM32pm", "0", "0" ]
M680x0FrameLowering
spillCalleeSavedRegisters
M680x0
MPU
LLVM
20,446
284
1
[]
[ "<s>", "void", "epiphany_init_expanders", "(", "void", ")", "{", "init_machine_status", "=", "epiphany_init_machine_status", ";", "}", "</s>" ]
[ "Implements", "INIT_EXPANDERS", ".", "We", "just", "set", "up", "to", "call", "the", "above", "*", "function", "." ]
[ "epiphany" ]
epiphany
epiphany_init_expanders
epiphany
MPU
GCC
20,447
11
1
[]
[ "<s>", "bool", "TLCS900PassConfig", "::", "addInstSelector", "(", ")", "{", "PM", "->", "add", "(", "createTLCS900ISelDag", "(", "getTLCS900TargetMachine", "(", ")", ",", "getOptLevel", "(", ")", ")", ")", ";", "return", "false", ";", "}", "</s>" ]
[ "addInstSelector", "-", "This", "method", "should", "install", "an", "instruction", "selector", "pass", ",", "which", "converts", "from", "LLVM", "code", "to", "machine", "instructions", "." ]
[ "TLCS900", "TLCS900", "TLCS900", "TLCS900" ]
TLCS900TargetMachine
addInstSelector
TLCS900
MPU
LLVM
20,448
27
1
[]
[ "<s>", "static", "int", "m32c_leaf_function_p", "(", "void", ")", "{", "rtx_insn", "*", "saved_first", ",", "*", "saved_last", ";", "struct", "sequence_stack", "*", "seq", ";", "int", "rv", ";", "saved_first", "=", "crtl", "->", "emit", ".", "x_first_insn", ...
[ "Returns", "TRUE", "if", "the", "current", "function", "is", "a", "leaf", ",", "and", "thus", "we", "can", "determine", "which", "registers", "an", "interrupt", "function", "really", "needs", "to", "save", ".", "The", "logic", "below", "is", "mostly", "abo...
[ "m32c" ]
m32c3
m32c_leaf_function_p
m32c
MPU
GCC
20,449
113
1
[]
[ "<s>", "static", "bool", "ix86_function_ok_for_sibcall", "(", "tree", "decl", ",", "tree", "exp", ")", "{", "tree", "func", ";", "rtx", "a", ",", "b", ";", "if", "(", "!", "TARGET_64BIT", "&&", "flag_pic", "&&", "(", "!", "decl", "||", "TREE_PUBLIC", "...
[ "Decide", "whether", "we", "can", "make", "a", "sibling", "call", "to", "a", "function", ".", "DECL", "is", "the", "declaration", "of", "the", "function", "being", "targeted", "by", "the", "call", "and", "EXP", "is", "the", "CALL_EXPR", "representing", "th...
[ "i386", "0", "0", "3", "3" ]
i3863
ix86_function_ok_for_sibcall
i386
CPU
GCC
20,450
260
1
[]
[ "<s>", "static", "machine_mode", "c6x_preferred_simd_mode", "(", "machine_mode", "mode", ")", "{", "switch", "(", "mode", ")", "{", "case", "HImode", ":", "return", "V2HImode", ";", "case", "QImode", ":", "return", "V4QImode", ";", "default", ":", "return", ...
[ "Implements", "TARGET_VECTORIZE_PREFERRED_SIMD_MODE", "." ]
[ "c6x" ]
c6x2
c6x_preferred_simd_mode
c6x
VLIW
GCC
20,451
32
1
[]
[ "<s>", "void", "mips16_expand_set_fcsr", "(", "rtx", "newval", ")", "{", "if", "(", "!", "mips16_set_fcsr_stub", ")", "mips16_set_fcsr_stub", "=", "new", "mips16_set_fcsr_one_only_stub", "(", ")", ";", "rtx", "fn", "=", "mips16_stub_call_address", "(", "mips16_set_f...
[ "Implement", "__builtin_mips_set_fcsr", "(", "TARGET", ")", "for", "MIPS16", ",", "using", "a", "stub", "." ]
[ "mips" ]
mips
mips16_expand_set_fcsr
mips
CPU
GCC
20,452
52
1
[]
[ "<s>", "WebAssemblyTargetMachine", "::", "WebAssemblyTargetMachine", "(", "const", "Target", "&", "T", ",", "const", "Triple", "&", "TT", ",", "StringRef", "CPU", ",", "StringRef", "FS", ",", "const", "TargetOptions", "&", "Options", ",", "Optional", "<", "Rel...
[ "Create", "an", "WebAssembly", "architecture", "model", "." ]
[ "WebAssembly", "WebAssembly", "WebAssembly", "\"e-m:e-p:64:64-i64:64-f128:64-n32:64-S128-ni:1:10:20\"", "\"e-m:e-p:64:64-i64:64-n32:64-S128-ni:1:10:20\"", "\"e-m:e-p:32:32-i64:64-f128:64-n32:64-S128-ni:1:10:20\"", "\"e-m:e-p:32:32-i64:64-n32:64-S128-ni:1:10:20\"", "WebAssembly" ]
WebAssemblyTargetMachine23
WebAssemblyTargetMachine
WebAssembly
Virtual ISA
LLVM
20,453
156
1
[]
[ "<s>", "void", "final_prescan_insn", "(", "rtx", "insn", ",", "rtx", "opvec", "[", "]", "ATTRIBUTE_UNUSED", ",", "int", "noperands", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "dslots_number_nops", ">", "0", ")", "{", "rtx", "pattern", "=", "PATTERN", "(", "...
[ "If", "defined", ",", "a", "C", "statement", "to", "be", "executed", "just", "prior", "to", "the", "output", "of", "assembler", "code", "for", "INSN", ",", "to", "modify", "the", "extracted", "operands", "so", "they", "will", "be", "output", "differently",...
[ "iq2000", "0", "0", "0", "0", "0", "0", "\"\\tnop\\n\"", "0", "\"\\tnop\\n\"", "0", "0", "0", "0", "1" ]
iq20002
final_prescan_insn
iq2000
CPU
GCC
20,454
226
1
[]
[ "<s>", "static", "void", "restore_saved_cr", "(", "rtx", "reg", ",", "int", "using_mfcr_multiple", ",", "bool", "exit_func", ")", "{", "int", "count", "=", "0", ";", "int", "i", ";", "if", "(", "using_mfcr_multiple", ")", "{", "for", "(", "i", "=", "0"...
[ "Reload", "CR", "from", "REG", "." ]
[ "rs6000", "0", "0", "8", "1", "0", "0", "8", "2", "0", "1", "1", "7", "0", "8", "1", "0", "8", "1", "1" ]
rs60004
restore_saved_cr
rs6000
CPU
GCC
20,455
393
1
[]
[ "<s>", "void", "NVPTXAsmPrinter", "::", "emitImplicitDef", "(", "const", "MachineInstr", "*", "MI", ")", "const", "{", "unsigned", "RegNo", "=", "MI", "->", "getOperand", "(", "0", ")", ".", "getReg", "(", ")", ";", "if", "(", "TargetRegisterInfo", "::", ...
[ "Targets", "can", "override", "this", "to", "customize", "the", "output", "of", "IMPLICIT_DEF", "instructions", "in", "verbose", "mode", "." ]
[ "NVPTX", "NVPTX", "0", "\"implicit-def: \"", "NVPTX", "NVPTX", "\"implicit-def: \"" ]
NVPTXAsmPrinter2
emitImplicitDef
NVPTX
GPU
LLVM
20,456
101
1
[]
[ "<s>", "bool", "RISCVTargetLowering", "::", "isCheapToSpeculateCtlz", "(", ")", "const", "{", "return", "Subtarget", ".", "hasStdExtZbb", "(", ")", ";", "}", "</s>" ]
[ "Return", "true", "if", "it", "is", "cheap", "to", "speculate", "a", "call", "to", "intrinsic", "ctlz", "." ]
[ "RI5CY", "RISCV" ]
RISCVISelLowering
isCheapToSpeculateCtlz
RI5CY
CPU
LLVM
20,457
16
1
[]
[ "<s>", "SDValue", "HexagonTargetLowering", "::", "LowerOperation", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "unsigned", "Opc", "=", "Op", ".", "getOpcode", "(", ")", ";", "switch", "(", "Opc", ")", "{", "default", ":", "O...
[ "LowerOperation", "-", "Provide", "custom", "lowering", "hooks", "for", "some", "operations", "." ]
[ "Hexagon", "Hexagon", "HexagonISD::OP_BEGIN", "HexagonISD::OP_END", "\"Check for a non-legal type in this operation\\n\"", "\"Should not custom lower this!\"", "ISD::CONCAT_VECTORS", "ISD::INSERT_SUBVECTOR", "ISD::INSERT_VECTOR_ELT", "ISD::EXTRACT_SUBVECTOR", "ISD::EXTRACT_VECTOR_ELT", "ISD::B...
HexagonISelLowering (2)
LowerOperation
Hexagon
DSP
LLVM
20,458
443
1
[]
[ "<s>", "void", "MSP430RegisterInfo", "::", "emitEpilogue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "const", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "MSP430MachineFunctionI...
[ "Insert", "epilog", "code", "into", "the", "function", "." ]
[ "MSP430", "MSP430", "MSP430", "MSP430", "MSP430", "MSP430::RET", "\"Can only insert epilog into returning blocks\"", "MSP430", "0", "2", "MSP430::POP16r", "MSP430::FPW", "MSP430::POP16r", "\"Not implemented yet!\"", "MSP430::ADD16ri", "MSP430::SPW", "MSP430::SPW", "3" ]
MSP430RegisterInfo18
emitEpilogue
MSP430
MPU
LLVM
20,459
309
1
[]
[ "<s>", "void", "CSKYTargetStreamer", "::", "emitCurrentConstantPool", "(", ")", "{", "ConstantPool", "->", "emitAll", "(", "Streamer", ")", ";", "ConstantPool", "->", "clearCache", "(", ")", ";", "}", "</s>" ]
[ "Callback", "used", "to", "implement", "the", ".ltorg", "directive", "." ]
[ "CSKY", "CSKY" ]
CSKYTargetStreamer
emitCurrentConstantPool
CSKY
CPU
LLVM
20,460
21
1
[]
[ "<s>", "enum", "direction", "pa_function_arg_padding", "(", "machine_mode", "mode", ",", "const_tree", "type", ")", "{", "if", "(", "mode", "==", "BLKmode", "||", "(", "TARGET_64BIT", "&&", "type", "&&", "(", "AGGREGATE_TYPE_P", "(", "type", ")", "||", "TREE...
[ "Implement", "TARGET_FUNCTION_ARG_PADDING", "." ]
[ "pa", "0" ]
pa4
pa_function_arg_padding
pa
CPU
GCC
20,461
104
1
[]
[ "<s>", "void", "applyFixup", "(", "const", "MCAssembler", "&", "Asm", ",", "const", "MCFixup", "&", "Fixup", ",", "const", "MCValue", "&", "Target", ",", "MutableArrayRef", "<", "char", ">", "Data", ",", "uint64_t", "Value", ",", "bool", "IsPCRel", ")", ...
[ "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", "." ]
[ "PowerPC", "0", "1", "8", "0xff" ]
PPCAsmBackend16
applyFixup
PowerPC
CPU
LLVM
20,462
128
1
[]
[ "<s>", "static", "machine_mode", "mips_dwarf_frame_reg_mode", "(", "int", "regno", ")", "{", "machine_mode", "mode", "=", "default_dwarf_frame_reg_mode", "(", "regno", ")", ";", "if", "(", "FP_REG_P", "(", "regno", ")", "&&", "mips_abi", "==", "ABI_32", "&&", ...
[ "Implement", "TARGET_DWARF_FRAME_REG_MODE", "." ]
[ "mips" ]
mips
mips_dwarf_frame_reg_mode
mips
CPU
GCC
20,463
38
1
[]
[ "<s>", "static", "void", "mips_sim_record_set", "(", "rtx", "x", ",", "rtx", "pat", "ATTRIBUTE_UNUSED", ",", "void", "*", "data", ")", "{", "struct", "mips_sim", "*", "state", ";", "unsigned", "int", "i", ";", "state", "=", "data", ";", "if", "(", "REG...
[ "mips_sim_insn", "has", "just", "set", "X.", "Update", "the", "LAST_SET", "array", "in", "simulation", "state", "DATA", "." ]
[ "mips", "0" ]
mips3
mips_sim_record_set
mips
CPU
GCC
20,464
97
1
[]
[ "<s>", "static", "bool", "rs6000_return_in_msb", "(", "const_tree", "valtype", ")", "{", "return", "(", "DEFAULT_ABI", "==", "ABI_ELFv2", "&&", "BYTES_BIG_ENDIAN", "&&", "AGGREGATE_TYPE_P", "(", "valtype", ")", "&&", "FUNCTION_ARG_PADDING", "(", "TYPE_MODE", "(", ...
[ "Specify", "whether", "values", "returned", "in", "registers", "should", "be", "at", "the", "most", "significant", "end", "of", "a", "register", ".", "We", "want", "aggregates", "returned", "by", "value", "to", "match", "the", "way", "aggregates", "are", "pa...
[ "rs6000" ]
rs60004
rs6000_return_in_msb
rs6000
CPU
GCC
20,465
35
1
[]
[ "<s>", "const", "char", "*", "getPassName", "(", ")", "const", "override", "{", "return", "\"SystemZ Long Branch\"", ";", "}", "</s>" ]
[ "getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "." ]
[ "SystemZ", "\"SystemZ Long Branch\"" ]
SystemZLongBranch10
getPassName
SystemZ
CPU
LLVM
20,466
13
1
[]
[ "<s>", "bool", "prefixed_paddi_p", "(", "rtx_insn", "*", "insn", ")", "{", "rtx", "set", "=", "single_set", "(", "insn", ")", ";", "if", "(", "!", "set", ")", "return", "false", ";", "rtx", "dest", "=", "SET_DEST", "(", "set", ")", ";", "rtx", "src...
[ "Whether", "a", "load", "immediate", "or", "add", "instruction", "is", "a", "prefixed", "instruction", ".", "This", "is", "called", "from", "the", "prefixed", "attribute", "processing", "." ]
[ "rs6000", "1" ]
rs6000
prefixed_paddi_p
rs6000
CPU
GCC
20,467
194
1
[]
[ "<s>", "static", "tree", "rs6000_builtin_md_vectorized_function", "(", "tree", "fndecl", ",", "tree", "type_out", ",", "tree", "type_in", ")", "{", "machine_mode", "in_mode", ",", "out_mode", ";", "int", "in_n", ",", "out_n", ";", "if", "(", "TARGET_DEBUG_BUILTI...
[ "Implement", "targetm.vectorize.builtin_md_vectorized_function", "." ]
[ "powerpcspe", "\"rs6000_builtin_md_vectorized_function (%s, %s, %s)\\n\"", "4", "4", "2", "2", "4", "4", "2", "2" ]
powerpcspe
rs6000_builtin_md_vectorized_function
powerpcspe
CPU
GCC
20,468
278
1
[]
[ "<s>", "SDValue", "MipsTargetLowering", "::", "PerformDAGCombine", "(", "SDNode", "*", "N", ",", "DAGCombinerInfo", "&", "DCI", ")", "const", "{", "SelectionDAG", "&", "DAG", "=", "DCI", ".", "DAG", ";", "unsigned", "Opc", "=", "N", "->", "getOpcode", "(",...
[ "This", "method", "will", "be", "invoked", "for", "all", "target", "nodes", "and", "for", "any", "target-independent", "nodes", "that", "the", "target", "has", "registered", "with", "invoke", "it", "for", "." ]
[ "Mips", "Mips", "ISD::SDIVREM", "ISD::UDIVREM", "ISD::SELECT", "MipsISD::CMovFP_F", "MipsISD::CMovFP_T", "ISD::AND", "ISD::OR", "ISD::ADD" ]
MipsISelLowering (2)5
PerformDAGCombine
Mips
CPU
LLVM
20,469
160
1
[]
[ "<s>", "bool", "ARCFrameLowering", "::", "spillCalleeSavedRegisters", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "const", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", ",", "const", "TargetRegiste...
[ "spillCalleeSavedRegisters", "-", "Issues", "instruction", "(", "s", ")", "to", "spill", "all", "callee", "saved", "registers", "and", "returns", "true", "if", "it", "is", "n't", "possible", "/", "profitable", "to", "do", "so", "by", "issuing", "a", "series"...
[ "ARC", "ARC", "\"Spill callee saved registers: \"", "\"\\n\"", "ARC::R14" ]
ARCFrameLowering
spillCalleeSavedRegisters
ARC
MPU
LLVM
20,470
79
1
[]
[ "<s>", "virtual", "const", "TargetFrameInfo", "*", "getFrameInfo", "(", ")", "const", "{", "return", "&", "FrameInfo", ";", "}", "</s>" ]
[ "getFrameInfo", "-", "Return", "the", "frame", "info", "object", "for", "the", "current", "function", "." ]
[ "PIC16" ]
PIC16TargetMachine
getFrameInfo
PIC16
MPU
LLVM
20,471
14
1
[]
[ "<s>", "static", "void", "rs6000_conditional_register_usage", "(", "void", ")", "{", "int", "i", ";", "if", "(", "TARGET_DEBUG_TARGET", ")", "fprintf", "(", "stderr", ",", "\"rs6000_conditional_register_usage called\\n\"", ")", ";", "fixed_regs", "[", "64", "]", "...
[ "Change", "register", "usage", "conditional", "on", "target", "flags", "." ]
[ "powerpcspe", "\"rs6000_conditional_register_usage called\\n\"", "64", "1", "13", "13", "13", "1", "32", "64", "1", "2", "0", "2", "1", "1", "1", "1", "1", "1", "14", "14", "14", "1", "1", "1", "1", "20", "1", "20", "32", "1" ]
powerpcspe
rs6000_conditional_register_usage
powerpcspe
CPU
GCC
20,472
352
1
[]
[ "<s>", "rtx", "riscv_function_value", "(", "const_tree", "type", ",", "const_tree", "func", ",", "enum", "machine_mode", "mode", ")", "{", "struct", "riscv_arg_info", "info", ";", "CUMULATIVE_ARGS", "args", ";", "if", "(", "type", ")", "{", "int", "unsigned_p"...
[ "Implement", "FUNCTION_VALUE", "and", "LIBCALL_VALUE", ".", "For", "normal", "calls", ",", "VALTYPE", "is", "the", "return", "type", "and", "MODE", "is", "VOIDmode", ".", "For", "libcalls", ",", "VALTYPE", "is", "null", "and", "MODE", "is", "the", "mode", ...
[ "riscv", "1", "0" ]
riscv2
riscv_function_value
riscv
CPU
GCC
20,473
88
1
[]
[ "<s>", "static", "unsigned", "ix86_loop_unroll_adjust", "(", "unsigned", "nunroll", ",", "struct", "loop", "*", "loop", ")", "{", "basic_block", "*", "bbs", ";", "rtx_insn", "*", "insn", ";", "unsigned", "i", ";", "unsigned", "mem_count", "=", "0", ";", "i...
[ "This", "function", "adjusts", "the", "unroll", "factor", "based", "on", "the", "hardware", "capabilities", ".", "For", "ex", ",", "bdver3", "has", "a", "loop", "buffer", "which", "makes", "unrolling", "of", "smaller", "loops", "less", "important", ".", "Thi...
[ "i386", "0", "0", "4", "2", "1", "32", "32" ]
i3864
ix86_loop_unroll_adjust
i386
CPU
GCC
20,474
163
1
[]
[ "<s>", "bool", "pdp11_expand_shift", "(", "rtx", "*", "operands", ",", "rtx", "(", "*", "shift_sc", ")", "(", "rtx", ",", "rtx", ",", "rtx", ")", ",", "rtx", "(", "*", "shift_base", ")", "(", "rtx", ",", "rtx", ",", "rtx", ")", ")", "{", "rtx", ...
[ "Expand", "a", "shift", "insn", ".", "Returns", "true", "if", "the", "expansion", "was", "done", ",", "false", "if", "it", "needs", "to", "be", "handled", "by", "the", "caller", "." ]
[ "pdp11", "2", "2", "0", "1", "2", "0", "1", "2", "2", "0", "1", "2" ]
pdp11
pdp11_expand_shift
pdp11
MPU
GCC
20,475
221
1
[]
[ "<s>", "const", "MCFixupKindInfo", "&", "getFixupKindInfo", "(", "MCFixupKind", "Kind", ")", "const", "{", "const", "static", "MCFixupKindInfo", "Infos", "[", "]", "=", "{", "{", "\"reloc_pcrel_4byte\"", ",", "0", ",", "4", "*", "8", ",", "MCFixupKindInfo", ...
[ "Get", "information", "on", "a", "fixup", "kind", "." ]
[ "X86", "\"reloc_pcrel_4byte\"", "0", "4", "8", "\"reloc_pcrel_1byte\"", "0", "1", "8", "\"reloc_riprel_4byte\"", "0", "4", "8", "\"reloc_riprel_4byte_movq_load\"", "0", "4", "8", "\"Invalid kind!\"" ]
X86MCCodeEmitter5
getFixupKindInfo
X86
CPU
LLVM
20,476
114
1
[]
[ "<s>", "void", "MBlazeRegisterInfo", "::", "emitEpilogue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "MachineBasicBlock", "::", "iterator", "MBBI", "=", "prior", "(", "MBB", ".", "end", "(", ")", ")", ";", ...
[ "Insert", "epilog", "code", "into", "the", "function", "." ]
[ "MBlaze", "MBlaze", "MBlaze", "MBlaze", "MBlaze", "MBlaze", "MBlaze", "MBlaze::ADD", "MBlaze::R1", "MBlaze::R19", "MBlaze::R0", "MBlaze::LWI", "MBlaze::R19", "MBlaze::R1", "MBlaze::LWI", "MBlaze::R15", "MBlaze::R1", "28", "28", "MBlaze::ADDI", "MBlaze::R1", "MBlaze::R1" ]
MBlazeRegisterInfo3
emitEpilogue
MBlaze
MPU
LLVM
20,477
271
1
[]
[ "<s>", "void", "X86RegisterInfo", "::", "eliminateFrameIndex", "(", "MachineBasicBlock", "::", "iterator", "II", ",", "int", "SPAdj", ",", "unsigned", "FIOperandNum", ",", "RegScavenger", "*", "RS", ")", "const", "{", "MachineInstr", "&", "MI", "=", "*", "II",...
[ "This", "method", "must", "be", "overriden", "to", "eliminate", "abstract", "frame", "indices", "from", "instructions", "which", "may", "use", "them", "." ]
[ "X86", "X86", "X86", "\"Return instruction can only reference SP relative frame objects\"", "0", "X86::LEA64_32r", "X86::GR32RegClass", "X86", "64", "\"Expected the FP as base register\"", "1", "1", "3", "3", "32", "\"Requesting 64-bit offset in 32-bit immediate!\"", "0", "3", "3...
X86RegisterInfo18
eliminateFrameIndex
X86
CPU
LLVM
20,478
495
1
[]
[ "<s>", "TargetLoweringObjectFile", "*", "getObjFileLowering", "(", ")", "const", "override", "{", "return", "TLOF", ".", "get", "(", ")", ";", "}", "</s>" ]
[ "Return", "information", "about", "object", "file", "lowering", "." ]
[ "Hexagon" ]
HexagonTargetMachine1
getObjFileLowering
Hexagon
DSP
LLVM
20,479
16
1
[]
[ "<s>", "void", "mt_emit_cbranch", "(", "enum", "rtx_code", "code", ",", "rtx", "loc", ",", "rtx", "op0", ",", "rtx", "op1", ")", "{", "rtx", "condition_rtx", ",", "loc_ref", ";", "if", "(", "!", "reg_or_0_operand", "(", "op0", ",", "SImode", ")", ")", ...
[ "Emit", "a", "branch", "of", "kind", "CODE", "to", "location", "LOC", "." ]
[ "mt" ]
mt
mt_emit_cbranch
mt
CPU
GCC
20,480
102
1
[]
[ "<s>", "static", "bool", "ix86_hard_regno_mode_ok", "(", "unsigned", "int", "regno", ",", "machine_mode", "mode", ")", "{", "if", "(", "CC_REGNO_P", "(", "regno", ")", ")", "return", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_CC", ";", "if", "(", "GET...
[ "Return", "TRUE", "if", "hard", "register", "REGNO", "can", "hold", "a", "value", "of", "machine-mode", "MODE", "." ]
[ "i386" ]
i3868
ix86_hard_regno_mode_ok
i386
CPU
GCC
20,481
331
1
[]
[ "<s>", "static", "void", "ix86_emit_save_regs", "(", "void", ")", "{", "unsigned", "int", "regno", ";", "rtx", "insn", ";", "for", "(", "regno", "=", "FIRST_PSEUDO_REGISTER", "-", "1", ";", "regno", "--", ">", "0", ";", ")", "if", "(", "!", "SSE_REGNO_...
[ "Emit", "code", "to", "save", "registers", "in", "the", "prologue", "." ]
[ "i386", "1", "0", "1" ]
i3864
ix86_emit_save_regs
i386
CPU
GCC
20,482
68
1
[]
[ "<s>", "rtx", "m68k_legitimize_tls_address", "(", "rtx", "orig", ")", "{", "switch", "(", "SYMBOL_REF_TLS_MODEL", "(", "orig", ")", ")", "{", "case", "TLS_MODEL_GLOBAL_DYNAMIC", ":", "orig", "=", "m68k_call_tls_get_addr", "(", "orig", ",", "orig", ",", "RELOC_TL...
[ "Return", "a", "legitimized", "address", "for", "accessing", "TLS", "SYMBOL_REF", "X", ".", "For", "explanations", "on", "instructions", "sequences", "see", "TLS/NPTL", "ABI", "for", "m68k", "and", "ColdFire", "." ]
[ "m68k", "1" ]
m68k
m68k_legitimize_tls_address
m68k
MPU
GCC
20,483
234
1
[]
[ "<s>", "bool", "HexagonTargetLowering", "::", "getTgtMemIntrinsic", "(", "IntrinsicInfo", "&", "Info", ",", "const", "CallInst", "&", "I", ",", "MachineFunction", "&", "MF", ",", "unsigned", "Intrinsic", ")", "const", "{", "switch", "(", "Intrinsic", ")", "{",...
[ "Given", "an", "intrinsic", ",", "checks", "if", "on", "the", "target", "the", "intrinsic", "will", "need", "to", "map", "to", "a", "MemIntrinsicNode", "(", "touches", "memory", ")", "." ]
[ "Hexagon", "Hexagon", "Intrinsic::hexagon_V6_vgathermw", "Intrinsic::hexagon_V6_vgathermw_128B", "Intrinsic::hexagon_V6_vgathermh", "Intrinsic::hexagon_V6_vgathermh_128B", "Intrinsic::hexagon_V6_vgathermhw", "Intrinsic::hexagon_V6_vgathermhw_128B", "Intrinsic::hexagon_V6_vgathermwq", "Intrinsic::h...
HexagonISelLowering (2)1
getTgtMemIntrinsic
Hexagon
DSP
LLVM
20,484
206
1
[]
[ "<s>", "MachineBasicBlock", "*", "SITargetLowering", "::", "EmitInstrWithCustomInserter", "(", "MachineInstr", "*", "MI", ",", "MachineBasicBlock", "*", "BB", ")", "const", "{", "MachineBasicBlock", "::", "iterator", "I", "=", "*", "MI", ";", "const", "SIInstrInfo...
[ "This", "method", "should", "be", "implemented", "by", "targets", "that", "mark", "instructions", "with", "the", "'usesCustomInserter", "'", "flag", "." ]
[ "R600", "SI", "SI", "SI", "0", "0", "1", "1", "2", "0", "0", "SI", "SI", "0" ]
SIISelLowering44
EmitInstrWithCustomInserter
R600
GPU
LLVM
20,485
283
1
[]
[ "<s>", "unsigned", "X86InstrInfo", "::", "isLoadFromStackSlot", "(", "const", "MachineInstr", "&", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "if", "(", "isFrameLoadOpcode", "(", "MI", ".", "getOpcode", "(", ")", ")", ")", "if", "(", "MI", "...
[ "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...
[ "X86", "X86", "0", "0", "1", "0", "0" ]
X86InstrInfo (2)1
isLoadFromStackSlot
X86
CPU
LLVM
20,486
67
1
[]
[ "<s>", "bool", "ARMFastISel", "::", "isTypeLegal", "(", "const", "Type", "*", "Ty", ",", "EVT", "&", "VT", ")", "{", "VT", "=", "TLI", ".", "getValueType", "(", "Ty", ",", "true", ")", ";", "if", "(", "VT", "==", "MVT", "::", "Other", "||", "!", ...
[ "Return", "true", "if", "this", "type", "is", "legal", "." ]
[ "ARM", "ARM", "MVT::Other" ]
ARMFastISel23
isTypeLegal
ARM
CPU
LLVM
20,487
53
1
[]
[ "<s>", "static", "unsigned", "int", "pa_function_arg_boundary", "(", "machine_mode", "mode", ",", "const_tree", "type", ")", "{", "bool", "singleword", "=", "(", "type", "?", "(", "integer_zerop", "(", "TYPE_SIZE", "(", "type", ")", ")", "||", "!", "TREE_CON...
[ "Arguments", "larger", "than", "one", "word", "are", "double", "word", "aligned", "." ]
[ "pa" ]
pa
pa_function_arg_boundary
pa
CPU
GCC
20,488
60
1
[]
[ "<s>", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", "\"OR1K Delay Slot Filler\"", ";", "}", "</s>" ]
[ "getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "." ]
[ "OR1K", "\"OR1K Delay Slot Filler\"" ]
OR1KDelaySlotFiller
getPassName
OR1K
CPU
LLVM
20,489
13
1
[]
[ "<s>", "bool", "X86TargetLowering", "::", "shouldFoldMaskToVariableShiftPair", "(", "SDValue", "Y", ")", "const", "{", "EVT", "VT", "=", "Y", ".", "getValueType", "(", ")", ";", "if", "(", "VT", ".", "isVector", "(", ")", ")", "return", "false", ";", "if...
[ "There", "are", "two", "ways", "to", "clear", "extreme", "bits", "(", "either", "low", "or", "high", ")", ":", "Mask", ":", "x", "&", "(", "-1", "<", "<", "y", ")", "(", "the", "instcombine", "canonical", "form", ")", "Shifts", ":", "x", ">", ">"...
[ "X86", "X86", "MVT::i64" ]
X86ISelLowering (2)5
shouldFoldMaskToVariableShiftPair
X86
CPU
LLVM
20,490
52
1
[]
[ "<s>", "X86Subtarget", "::", "X86Subtarget", "(", "const", "Triple", "&", "TT", ",", "StringRef", "CPU", ",", "StringRef", "FS", ",", "const", "X86TargetMachine", "&", "TM", ",", "unsigned", "StackAlignOverride", ")", ":", "X86GenSubtargetInfo", "(", "TT", ","...
[ "This", "constructor", "initializes", "the", "data", "members", "to", "match", "that", "of", "the", "specified", "triple", "." ]
[ "X86", "X86", "X86", "X86", "X86", "X86" ]
X86Subtarget64
X86Subtarget
X86
CPU
LLVM
20,491
272
1
[]
[ "<s>", "std", "::", "unique_ptr", "<", "CSEConfigBase", ">", "X86PassConfig", "::", "getCSEConfig", "(", ")", "const", "{", "return", "getStandardCSEConfigForOpt", "(", "TM", "->", "getOptLevel", "(", ")", ")", ";", "}", "</s>" ]
[ "Returns", "the", "CSEConfig", "object", "to", "use", "for", "the", "current", "optimization", "level", "." ]
[ "X86", "X86" ]
X86TargetMachine105
getCSEConfig
X86
CPU
LLVM
20,492
24
1
[]
[ "<s>", "void", "HexagonFrameLowering", "::", "determineCalleeSaves", "(", "MachineFunction", "&", "MF", ",", "BitVector", "&", "SavedRegs", ",", "RegScavenger", "*", "RS", ")", "const", "{", "auto", "&", "HRI", "=", "*", "MF", ".", "getSubtarget", "<", "Hexa...
[ "This", "method", "determines", "which", "of", "the", "registers", "reported", "by", "TargetRegisterInfo", ":", ":getCalleeSavedRegs", "(", ")", "should", "actually", "get", "saved", "." ]
[ "Hexagon", "Hexagon", "Hexagon", "Hexagon", "8", "Hexagon::IntRegsRegClass", "Hexagon::IntRegsRegClass", "1", "0" ]
HexagonFrameLowering13
determineCalleeSaves
Hexagon
DSP
LLVM
20,493
303
1
[]
[ "<s>", "void", "ARMBaseRegisterInfo", "::", "resolveFrameIndex", "(", "MachineBasicBlock", "::", "iterator", "I", ",", "unsigned", "BaseReg", ",", "int64_t", "Offset", ")", "const", "{", "MachineInstr", "&", "MI", "=", "*", "I", ";", "MachineBasicBlock", "&", ...
[ "Resolve", "a", "frame", "index", "operand", "of", "an", "instruction", "to", "reference", "the", "indicated", "base", "register", "plus", "offset", "instead", "." ]
[ "ARM", "ARM", "ARM", "ARM", "ARM", "ARM", "0", "\"This resolveFrameIndex does not support Thumb1!\"", "\"Instr doesn't have FrameIndex operand!\"", "ARM", "\"Unable to resolve frame index!\"" ]
ARMBaseRegisterInfo19
resolveFrameIndex
ARM
CPU
LLVM
20,494
207
1
[]
[ "<s>", "M68kTargetLowering", "::", "ConstraintType", "M68kTargetLowering", "::", "getConstraintType", "(", "StringRef", "Constraint", ")", "const", "{", "if", "(", "Constraint", ".", "size", "(", ")", ">", "0", ")", "{", "switch", "(", "Constraint", "[", "0", ...
[ "Given", "a", "constraint", "letter", ",", "return", "the", "type", "of", "constraint", "for", "this", "target", "." ]
[ "M68k", "M68k", "M68k", "0", "0", "2", "1" ]
M68kISelLowering
getConstraintType
M68k
MPU
LLVM
20,495
122
1
[]
[ "<s>", "bool", "X86ATTAsmPrinter", "::", "doInitialization", "(", "Module", "&", "M", ")", "{", "bool", "Result", "=", "AsmPrinter", "::", "doInitialization", "(", "M", ")", ";", "if", "(", "TAI", "->", "doesSupportDebugInformation", "(", ")", ")", "{", "M...
[ "Set", "up", "the", "AsmPrinter", "when", "we", "are", "working", "on", "a", "new", "module", "." ]
[ "X86", "X86" ]
X86ATTAsmPrinter
doInitialization
X86
CPU
LLVM
20,496
83
1
[]
[ "<s>", "const", "SystemZRegisterInfo", "*", "getRegisterInfo", "(", ")", "const", "override", "{", "return", "getSubtargetImpl", "(", ")", "->", "getRegisterInfo", "(", ")", ";", "}", "</s>" ]
[ "getRegisterInfo", "-", "TargetInstrInfo", "is", "a", "superset", "of", "MRegister", "info", "." ]
[ "SystemZ", "SystemZ" ]
SystemZTargetMachine
getRegisterInfo
SystemZ
CPU
LLVM
20,497
19
1
[]
[ "<s>", "void", "PPCFrameLowering", "::", "determineCalleeSaves", "(", "MachineFunction", "&", "MF", ",", "BitVector", "&", "SavedRegs", ",", "RegScavenger", "*", "RS", ")", "const", "{", "TargetFrameLowering", "::", "determineCalleeSaves", "(", "MF", ",", "SavedRe...
[ "This", "method", "determines", "which", "of", "the", "registers", "reported", "by", "TargetRegisterInfo", ":", ":getCalleeSavedRegs", "(", ")", "should", "actually", "get", "saved", "." ]
[ "PowerPC", "PPC", "PPC", "PPC", "PPC", "PPC", "PPC", "PPC", "8", "4", "PPC", "8", "4", "4", "8", "PPC", "PPC::X31", "PPC::R31", "PPC::R30", "0", "0", "1", "PPC", "PPC::CR2", "PPC::CR3", "PPC::CR4", "4", "4" ]
PPCFrameLowering10
determineCalleeSaves
PowerPC
CPU
LLVM
20,498
421
1
[]
[ "<s>", "const", "MCExpr", "*", "getSubExpr", "(", ")", "const", "{", "return", "Expr", ";", "}", "</s>" ]
[ "getSubExpr", "-", "Get", "the", "child", "of", "this", "expression", "." ]
[ "ARM64" ]
ARM64MCExpr
getSubExpr
ARM64
CPU
LLVM
20,499
12
1
[]