ground_truth
listlengths
8
512
natrual_language
listlengths
1
243
TS_V_token
listlengths
1
182
File
stringlengths
2
45
Func
stringlengths
1
56
Target
stringclasses
175 values
Target_Clf
stringclasses
6 values
Compiler_Type
stringclasses
2 values
Idx
int64
0
36.2k
Length
int64
6
510
Cover_Rate
float64
1
1
Template_token
listlengths
0
0
[ "<s>", "static", "inline", "bool", "avr_reg_ok_for_addr_p", "(", "rtx", "reg", ",", "addr_space_t", "as", ",", "RTX_CODE", "outer_code", ",", "bool", "strict", ")", "{", "return", "(", "REG_P", "(", "reg", ")", "&&", "(", "avr_regno_mode_code_ok_for_base_p", "...
[ "Helper", "function", "for", "`", "avr_legitimate_address_p", "'", "." ]
[ "avr" ]
avr
avr_reg_ok_for_addr_p
avr
MPU
GCC
10,800
57
1
[]
[ "<s>", "bool", "PatmosInstrInfo", "::", "PredicateInstruction", "(", "MachineInstr", "&", "MI", ",", "ArrayRef", "<", "MachineOperand", ">", "Cond", ")", "const", "{", "assert", "(", "!", "MI", ".", "isBundle", "(", ")", "&&", "\"PatmosInstrInfo::PredicateInstru...
[ "Convert", "the", "instruction", "into", "a", "predicated", "instruction", "." ]
[ "Patmos", "Patmos", "\"PatmosInstrInfo::PredicateInstruction() can't handle bundles\"", "\"Cannot predicate an instruction already predicated.\"", "1", "1", "\"Unexpected Patmos predicate operand\"", "0", "1" ]
PatmosInstrInfo1
PredicateInstruction
Patmos
VLIW
LLVM
10,801
148
1
[]
[ "<s>", "void", "relaxInstruction", "(", "const", "MCInst", "&", "Inst", ",", "const", "MCSubtargetInfo", "&", "STI", ",", "MCInst", "&", "Res", ")", "const", "override", "{", "report_fatal_error", "(", "\"ECLairAsmBackend::relaxInstruction() unimplemented\"", ")", "...
[ "Relax", "the", "instruction", "in", "the", "given", "fragment", "to", "the", "next", "wider", "instruction", "." ]
[ "ECLair", "\"ECLairAsmBackend::relaxInstruction() unimplemented\"" ]
ECLairAsmBackend
relaxInstruction
ECLair
MPU
LLVM
10,802
26
1
[]
[ "<s>", "unsigned", "PPCInstrInfo", "::", "isLoadFromStackSlot", "(", "const", "MachineInstr", "&", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "P...
[ "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...
[ "PowerPC", "PPC", "PPC::LD", "PPC::LWZ", "PPC::LFS", "PPC::LFD", "PPC::RESTORE_CR", "PPC::RESTORE_CRBIT", "PPC::LVX", "PPC::LXVD2X", "PPC::LXV", "PPC::QVLFDX", "PPC::QVLFSXs", "PPC::QVLFDXb", "PPC::RESTORE_VRSAVE", "PPC::SPILLTOVSR_LD", "1", "1", "2", "2", "0", "0" ]
PPCInstrInfo102
isLoadFromStackSlot
PowerPC
CPU
LLVM
10,803
169
1
[]
[ "<s>", "const", "TargetRegisterClass", "*", "getMatchingSuperRegClass", "(", "const", "TargetRegisterClass", "*", "A", ",", "const", "TargetRegisterClass", "*", "B", ",", "unsigned", "Idx", ")", "const", "override", "{", "return", "A", ";", "}", "</s>" ]
[ "getMatchingSuperRegClass", "-", "Return", "a", "subclass", "of", "the", "specified", "register", "class", "A", "so", "that", "each", "register", "in", "it", "has", "a", "sub-register", "of", "the", "specified", "sub-register", "index", "which", "is", "in", "t...
[ "Patmos" ]
PatmosRegisterInfo1
getMatchingSuperRegClass
Patmos
VLIW
LLVM
10,804
25
1
[]
[ "<s>", "bool", "ARMAsmPrinter", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "AFI", "=", "MF", ".", "getInfo", "<", "ARMFunctionInfo", ">", "(", ")", ";", "MCP", "=", "MF", ".", "getConstantPool", "(", ")", ";", "Subtarget", ...
[ "runOnMachineFunction", "-", "Emit", "the", "function", "body", "." ]
[ "ARM", "ARM", "ARM", "ARM", "1", "0", "ARM::tBX", "ARMCC::AL", "0" ]
ARMAsmPrinter22
runOnMachineFunction
ARM
CPU
LLVM
10,805
244
1
[]
[ "<s>", "unsigned", "RISCVAsmParser", "::", "validateTargetOperandClass", "(", "MCParsedAsmOperand", "&", "AsmOp", ",", "unsigned", "Kind", ")", "{", "RISCVOperand", "&", "Op", "=", "static_cast", "<", "RISCVOperand", "&", ">", "(", "AsmOp", ")", ";", "if", "("...
[ "Allow", "a", "target", "to", "add", "special", "case", "operand", "matching", "for", "things", "that", "tblgen", "doesn't/ca", "n't", "handle", "effectively", "." ]
[ "RISCV", "RISCV", "RISCV", "RISCV", "RISCV", "RISCV::FPR64RegClassID", "RISCV", "RISCV::FPR64CRegClassID" ]
RISCVAsmParser36
validateTargetOperandClass
RISCV
CPU
LLVM
10,806
115
1
[]
[ "<s>", "SDValue", "PPCTargetLowering", "::", "LowerOperation", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Wasn't expecting to ...
[ "LowerOperation", "-", "Provide", "custom", "lowering", "hooks", "for", "some", "operations", "." ]
[ "PowerPC", "PPC", "\"Wasn't expecting to be able to lower this!\"", "ISD::ConstantPool", "ISD::BlockAddress", "ISD::GlobalAddress", "ISD::GlobalTLSAddress", "\"TLS not implemented for PPC\"", "ISD::JumpTable", "ISD::SETCC", "ISD::INIT_TRAMPOLINE", "ISD::ADJUST_TRAMPOLINE", "ISD::VASTART", ...
PPCISelLowering113
LowerOperation
PowerPC
CPU
LLVM
10,807
386
1
[]
[ "<s>", "static", "tree", "nvptx_reduction_update", "(", "location_t", "loc", ",", "gimple_stmt_iterator", "*", "gsi", ",", "tree", "ptr", ",", "tree", "var", ",", "tree_code", "op", ",", "int", "level", ")", "{", "tree", "type", "=", "TREE_TYPE", "(", "var...
[ "Emit", "a", "sequence", "to", "update", "a", "reduction", "accumlator", "at", "*", "PTR", "with", "the", "value", "held", "in", "VAR", "using", "operator", "OP", ".", "Return", "the", "updated", "value", ".", "TODO", ":", "optimize", "for", "atomic", "o...
[ "nvptx" ]
nvptx
nvptx_reduction_update
nvptx
GPU
GCC
10,808
88
1
[]
[ "<s>", "void", "arc_final_prescan_insn", "(", "rtx_insn", "*", "insn", ",", "rtx", "*", "opvec", "ATTRIBUTE_UNUSED", ",", "int", "noperands", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "TARGET_DUMPISIZE", ")", "fprintf", "(", "asm_out_file", ",", "\"\\n; at %04x\\n\...
[ "The", "state", "of", "the", "fsm", "controlling", "condition", "codes", "are", ":", "0", ":", "normal", ",", "do", "nothing", "special", "1", ":", "do", "n't", "output", "this", "insn", "2", ":", "do", "n't", "output", "this", "insn", "3", ":", "mak...
[ "arc", "\"\\n; at %04x\\n\"", "0", "1" ]
arc
arc_final_prescan_insn
arc
MPU
GCC
10,809
75
1
[]
[ "<s>", "static", "tree", "alpha_builtin_decl", "(", "unsigned", "code", ",", "bool", "initialize_p", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "code", ">=", "ALPHA_BUILTIN_max", ")", "return", "error_mark_node", ";", "return", "alpha_builtins", "[", "code", "]", ...
[ "Return", "the", "alpha", "builtin", "for", "CODE", "." ]
[ "alpha" ]
alpha
alpha_builtin_decl
alpha
MPU
GCC
10,810
28
1
[]
[ "<s>", "unsigned", "getStackAddress", "(", "uint64_t", "Size", ",", "int64_t", "Offset", ",", "MachinePointerInfo", "&", "MPO", ")", "override", "{", "LLT", "p0", "=", "LLT", "::", "pointer", "(", "0", ",", "64", ")", ";", "LLT", "s64", "=", "LLT", "::...
[ "Materialize", "a", "VReg", "containing", "the", "address", "of", "the", "specified", "stack-based", "object", "." ]
[ "AArch64", "0", "64", "64", "AArch64::SP" ]
AArch64CallLowering23
getStackAddress
AArch64
CPU
LLVM
10,811
130
1
[]
[ "<s>", "void", "cris_override_options", "(", "void", ")", "{", "if", "(", "cris_max_stackframe_str", ")", "{", "cris_max_stackframe", "=", "atoi", "(", "cris_max_stackframe_str", ")", ";", "if", "(", "cris_max_stackframe", "<", "0", "||", "cris_max_stackframe", ">...
[ "The", "OVERRIDE_OPTIONS", "worker", ".", "As", "is", "the", "norm", ",", "this", "also", "parses", "-mfoo=bar", "type", "parameters", "." ]
[ "cris", "0", "0x20000000", "\"-max-stackframe=%d is not usable, not between 0 and %d\"", "0x20000000", "1", "1", "\"etrax4\"", "0", "3", "\"svinto\"", "0", "\"etrax100\"", "0", "8", "\"ng\"", "0", "\"etrax100lx\"", "0", "10", "0", "10", "\"unknown CRIS version specificati...
cris3
cris_override_options
cris
MPU
GCC
10,812
375
1
[]
[ "<s>", "SDNode", "*", "MipsDAGToDAGISel", "::", "getGlobalBaseReg", "(", ")", "{", "unsigned", "GlobalBaseReg", "=", "getInstrInfo", "(", ")", "->", "getGlobalBaseReg", "(", "MF", ")", ";", "return", "CurDAG", "->", "getRegister", "(", "GlobalBaseReg", ",", "T...
[ "getGlobalBaseReg", "-", "Return", "a", "virtual", "register", "initialized", "with", "the", "the", "global", "base", "register", "value", "." ]
[ "Mips", "Mips" ]
MipsISelDAGToDAG11
getGlobalBaseReg
Mips
CPU
LLVM
10,813
39
1
[]
[ "<s>", "static", "int", "mips_immediate_operand_p", "(", "int", "code", ",", "HOST_WIDE_INT", "x", ")", "{", "switch", "(", "code", ")", "{", "case", "ASHIFT", ":", "case", "ASHIFTRT", ":", "case", "LSHIFTRT", ":", "return", "true", ";", "case", "ROTATE", ...
[ "Return", "true", "if", "there", "is", "a", "non-MIPS16", "instruction", "that", "implements", "CODE", "and", "if", "that", "instruction", "accepts", "X", "as", "an", "immediate", "operand", "." ]
[ "mips", "0", "1", "1", "1", "1", "0", "0" ]
mips
mips_immediate_operand_p
mips
CPU
GCC
10,814
141
1
[]
[ "<s>", "static", "void", "x86_print_call_or_nop", "(", "FILE", "*", "file", ",", "const", "char", "*", "target", ")", "{", "if", "(", "flag_nop_mcount", ")", "fprintf", "(", "file", ",", "\"1:\"", "ASM_BYTE", "\"0x0f, 0x1f, 0x44, 0x00, 0x00\\n\"", ")", ";", "e...
[ "Print", "call", "to", "TARGET", "to", "FILE", "." ]
[ "i386", "\"1:\"", "\"0x0f, 0x1f, 0x44, 0x00, 0x00\\n\"", "\"1:\\tcall\\t%s\\n\"" ]
i3867
x86_print_call_or_nop
i386
CPU
GCC
10,815
38
1
[]
[ "<s>", "rtx", "tilepro_simd_int", "(", "rtx", "num", ",", "machine_mode", "mode", ")", "{", "HOST_WIDE_INT", "n", "=", "0", ";", "gcc_assert", "(", "CONST_INT_P", "(", "num", ")", ")", ";", "n", "=", "INTVAL", "(", "num", ")", ";", "switch", "(", "mo...
[ "Return", "the", "simd", "variant", "of", "the", "constant", "NUM", "of", "mode", "MODE", ",", "by", "replicating", "it", "to", "fill", "an", "interger", "of", "mode", "SImode", ".", "NUM", "is", "first", "truncated", "to", "fit", "in", "MODE", "." ]
[ "tilepro", "0", "0x01010101", "0x000000FF", "0x00010001", "0x0000FFFF" ]
tilepro2
tilepro_simd_int
tilepro
VLIW
GCC
10,816
89
1
[]
[ "<s>", "bool", "AMDGPUAsmPrinter", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "SetupMachineFunction", "(", "MF", ")", ";", "OutStreamer", ".", "emitRawComment", "(", "Twine", "(", "'@'", ")", "+", "MF", ".", "getName", "(", ")...
[ "runOnMachineFunction", "-", "Emit", "the", "function", "body", "." ]
[ "R600", "\".AMDGPU.config\"", "0", "SI", "SI", "SI", "0", "\".AMDGPU.csdata\"", "0", "\" Kernel info:\"", "\" codeLenInByte = \"", "\" NumSgprs: \"", "\" NumVgprs: \"", "\"SQ_PGM_RESOURCES:STACK_SIZE = \"", "\".AMDGPU.disasm\"", "0", "0", "\" ; \"", "\"\\n\"" ]
AMDGPUAsmPrinter66
runOnMachineFunction
R600
GPU
LLVM
10,817
431
1
[]
[ "<s>", "void", "BPFPassConfig", "::", "addPreEmitPass", "(", ")", "{", "const", "BPFSubtarget", "*", "Subtarget", "=", "getBPFTargetMachine", "(", ")", ".", "getSubtargetImpl", "(", ")", ";", "addPass", "(", "createBPFMIPreEmitCheckingPass", "(", ")", ")", ";", ...
[ "This", "pass", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "machine", "code", "is", "emitted", "." ]
[ "BPF", "BPF", "BPF", "BPF", "BPF", "BPF" ]
BPFTargetMachine (2)1
addPreEmitPass
BPF
Virtual ISA
LLVM
10,818
56
1
[]
[ "<s>", "void", "BTFTypeFuncProto", "::", "completeType", "(", "BTFDebug", "&", "BDebug", ")", "{", "DITypeRefArray", "Elements", "=", "STy", "->", "getTypeArray", "(", ")", ";", "auto", "RetType", "=", "Elements", "[", "0", "]", ";", "BTFType", ".", "Type"...
[ "Complete", "BTF", "type", "generation", "after", "all", "related", "DebugInfo", "types", "have", "been", "visited", "so", "their", "BTF", "type", "id", "'s", "are", "available", "for", "cross", "referece", "." ]
[ "BPF", "0", "0", "0", "1", "BTF::BTFParam", "0", "0" ]
BTFDebug31
completeType
BPF
Virtual ISA
LLVM
10,819
140
1
[]
[ "<s>", "static", "bool", "rs6000_builtin_support_vector_misalignment", "(", "machine_mode", "mode", ",", "const_tree", "type", ",", "int", "misalignment", ",", "bool", "is_packed", ")", "{", "if", "(", "TARGET_VSX", ")", "{", "if", "(", "TARGET_EFFICIENT_UNALIGNED_V...
[ "Return", "true", "if", "the", "vector", "misalignment", "factor", "is", "supported", "by", "the", "target", "." ]
[ "rs6000", "1", "64", "32", "4", "0" ]
rs6000
rs6000_builtin_support_vector_misalignment
rs6000
CPU
GCC
10,820
106
1
[]
[ "<s>", "const", "char", "*", "getPassName", "(", ")", "const", "override", "{", "return", "\"Hexagon Store Widening\"", ";", "}", "</s>" ]
[ "getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "." ]
[ "Hexagon", "\"Hexagon Store Widening\"" ]
HexagonStoreWidening1
getPassName
Hexagon
DSP
LLVM
10,821
13
1
[]
[ "<s>", "bool", "ix86_avoid_lea_for_addr", "(", "rtx_insn", "*", "insn", ",", "rtx", "operands", "[", "]", ")", "{", "unsigned", "int", "regno0", ",", "regno1", ",", "regno2", ";", "int", "split_cost", ";", "struct", "ix86_address", "parts", ";", "int", "ok...
[ "Return", "true", "if", "we", "need", "to", "split", "lea", "into", "a", "sequence", "of", "instructions", "to", "avoid", "AGU", "stalls", "during", "peephole2", "." ]
[ "i386", "1", "1", "1", "0", "1", "1", "2", "0", "0", "1", "1", "1", "1", "4", "1", "1", "1" ]
i3864
ix86_avoid_lea_for_addr
i386
CPU
GCC
10,822
341
1
[]
[ "<s>", "unsigned", "MipsCodeEmitter", "::", "getBranchTarget26OpValue", "(", "const", "MachineInstr", "&", "MI", ",", "unsigned", "OpNo", ")", "const", "{", "llvm_unreachable", "(", "\"Unimplemented function.\"", ")", ";", "return", "0", ";", "}", "</s>" ]
[ "getBranchTarget26OpValue", "-", "Return", "binary", "encoding", "of", "the", "branch", "target", "operand", "." ]
[ "Mips", "Mips", "\"Unimplemented function.\"", "0" ]
MipsCodeEmitter11
getBranchTarget26OpValue
Mips
CPU
LLVM
10,823
24
1
[]
[ "<s>", "void", "rs6000_asm_output_dwarf_datarel", "(", "FILE", "*", "file", ",", "int", "size", ",", "const", "char", "*", "label", ")", "{", "fputs", "(", "integer_asm_op", "(", "size", ",", "FALSE", ")", ",", "file", ")", ";", "assemble_name", "(", "fi...
[ "Output", "a", "symbol", "offset", "relative", "to", "the", "dbase", "for", "the", "current", "object", ".", "We", "use", "__gcc_unwind_dbase", "as", "an", "arbitrary", "base", "for", "dbase", "and", "assume", "signed", "offsets", ".", "__gcc_unwind_dbase", "i...
[ "powerpcspe", "\"-__gcc_unwind_dbase\"" ]
powerpcspe
rs6000_asm_output_dwarf_datarel
powerpcspe
CPU
GCC
10,824
43
1
[]
[ "<s>", "static", "bool", "aarch64_valid_floating_const", "(", "machine_mode", "mode", ",", "rtx", "x", ")", "{", "if", "(", "!", "CONST_DOUBLE_P", "(", "x", ")", ")", "return", "false", ";", "if", "(", "!", "(", "mode", "==", "SFmode", "||", "mode", "=...
[ "Return", "true", "if", "X", "holds", "either", "a", "quarter-precision", "or", "floating-point", "+0.0", "constant", "." ]
[ "aarch64" ]
aarch642
aarch64_valid_floating_const
aarch64
CPU
GCC
10,825
55
1
[]
[ "<s>", "bool", "fusion_p9_p", "(", "rtx", "addis_reg", ",", "rtx", "addis_value", ",", "rtx", "dest", ",", "rtx", "src", ")", "{", "rtx", "addr", ",", "mem", ",", "offset", ";", "machine_mode", "mode", "=", "GET_MODE", "(", "src", ")", ";", "if", "("...
[ "Return", "true", "if", "the", "peephole2", "can", "combine", "a", "load/store", "involving", "a", "combination", "of", "an", "addis", "instruction", "and", "the", "memory", "operation", ".", "This", "was", "added", "to", "the", "ISA", "3.0", "(", "power9", ...
[ "powerpcspe", "0", "0", "0", "1", "0", "1" ]
powerpcspe
fusion_p9_p
powerpcspe
CPU
GCC
10,826
287
1
[]
[ "<s>", "bool", "function_instance", "::", "could_trap_p", "(", ")", "const", "{", "unsigned", "int", "flags", "=", "call_properties", "(", ")", ";", "if", "(", "flags", "&", "CP_RAISE_FP_EXCEPTIONS", ")", "return", "true", ";", "if", "(", "flags", "&", "("...
[ "Return", "true", "if", "calls", "to", "the", "function", "could", "raise", "a", "signal", "." ]
[ "aarch64" ]
aarch64-sve-builtins
could_trap_p
aarch64
CPU
GCC
10,827
42
1
[]
[ "<s>", "void", "R600InstrInfo", "::", "clearFlag", "(", "MachineInstr", "*", "MI", ",", "unsigned", "Operand", ",", "unsigned", "Flag", ")", "const", "{", "unsigned", "TargetFlags", "=", "get", "(", "MI", "->", "getOpcode", "(", ")", ")", ".", "TSFlags", ...
[ "Clear", "the", "specified", "flag", "on", "the", "instruction", "." ]
[ "R600", "0" ]
R600InstrInfo
clearFlag
R600
GPU
LLVM
10,828
102
1
[]
[ "<s>", "MachineInstr", "*", "SPUInstrInfo", "::", "foldMemoryOperandImpl", "(", "MachineFunction", "&", "MF", ",", "MachineInstr", "*", "MI", ",", "const", "SmallVectorImpl", "<", "unsigned", ">", "&", "Ops", ",", "int", "FrameIndex", ")", "const", "{", "if", ...
[ "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", "SPU", "1", "0", "0", "0", "SPU::ORv16i8", "SPU::ORv8i16", "SPU::ORv4i32", "SPU::ORv2i64", "SPU::ORr8", "SPU::ORr16", "SPU::ORr32", "SPU::ORr64", "SPU::ORf32", "SPU::ORf64", "0", "1", "1", "SPU", "SPU::STQDr32", "0", "0", "SPU", "SPU::STQDr32", "SPU::STQX...
SPUInstrInfo3
foldMemoryOperandImpl
CellSPU
MPU
LLVM
10,829
310
1
[]
[ "<s>", "void", "rs6000_emit_popcount", "(", "rtx", "dst", ",", "rtx", "src", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "dst", ")", ";", "rtx", "tmp1", ",", "tmp2", ";", "if", "(", "TARGET_POPCNTD", ")", "{", "if", "(", "mode", "==", "SI...
[ "Emit", "popcount", "intrinsic", "on", "TARGET_POPCNTB", "(", "Power5", ")", "and", "TARGET_POPCNTD", "(", "Power7", ")", "targets", ".", "DST", "is", "the", "target", ",", "and", "SRC", "is", "the", "argument", "operand", "." ]
[ "rs6000", "0x01010101", "0", "24", "0x01010101", "32", "0x01010101", "0", "56" ]
rs6000
rs6000_emit_popcount
rs6000
CPU
GCC
10,830
188
1
[]
[ "<s>", "bool", "Z80PassConfig", "::", "addInstSelector", "(", ")", "{", "addPass", "(", "createZ80ISelDAG", "(", "getZ80TargetMachine", "(", ")", ",", "getOptLevel", "(", ")", ")", ")", ";", "return", "false", ";", "}", "</s>" ]
[ "addInstSelector", "-", "This", "method", "should", "install", "an", "instruction", "selector", "pass", ",", "which", "converts", "from", "LLVM", "code", "to", "machine", "instructions", "." ]
[ "Z80", "Z80", "Z80", "Z80" ]
Z80TargetMachine (2)
addInstSelector
Z80
MPU
LLVM
10,831
25
1
[]
[ "<s>", "SDValue", "MSP430TargetLowering", "::", "LowerCallResult", "(", "SDValue", "Chain", ",", "SDValue", "InFlag", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "isVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "InputArg", ">", "&", ...
[ "LowerCallResult", "-", "Lower", "the", "result", "values", "of", "an", "ISD", ":", ":CALL", "into", "the", "appropriate", "copies", "out", "of", "appropriate", "physical", "registers", "." ]
[ "MSP430", "MSP430", "ISD::InputArg", "16", "MSP430", "0", "1", "2", "0" ]
MSP430ISelLowering1
LowerCallResult
MSP430
MPU
LLVM
10,832
170
1
[]
[ "<s>", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", "\"SystemZ Assembly Printer\"", ";", "}", "</s>" ]
[ "getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "." ]
[ "SystemZ", "\"SystemZ Assembly Printer\"" ]
SystemZAsmPrinter2
getPassName
SystemZ
CPU
LLVM
10,833
13
1
[]
[ "<s>", "bool", "PPCDarwinAsmPrinter", "::", "doFinalization", "(", "Module", "&", "M", ")", "{", "bool", "isPPC64", "=", "getDataLayout", "(", ")", ".", "getPointerSizeInBits", "(", ")", "==", "64", ";", "const", "TargetLoweringObjectFileMachO", "&", "TLOFMacho"...
[ "doFinalization", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "do", "any", "necessary", "clean", "up", "after", "all", "passes", "have", "run", "." ]
[ "PowerPC", "PPC", "PPC", "64", "\"$non_lazy_ptr\"", "PPC", "8", "4", "0", "0", "PPC", "8", "4", "PPC", "8", "4" ]
PPCAsmPrinter101
doFinalization
PowerPC
CPU
LLVM
10,834
312
1
[]
[ "<s>", "static", "rtx", "rs6000_legitimize_tls_address_aix", "(", "rtx", "addr", ",", "enum", "tls_model", "model", ")", "{", "rtx", "sym", ",", "mem", ",", "tocref", ",", "tlsreg", ",", "tmpreg", ",", "dest", ",", "tlsaddr", ";", "const", "char", "*", "...
[ "AIX", "Thread-Local", "Address", "support", "." ]
[ "powerpcspe", "0", "1", "4", "\"[UL]\"", "\"[TL]\"", "0", "0", "0", "0", "0", "0", "0", "0", "1", "\"*LCM\"", "3", "13" ]
powerpcspe
rs6000_legitimize_tls_address_aix
powerpcspe
CPU
GCC
10,835
490
1
[]
[ "<s>", "unsigned", "push", "(", "unsigned", "Opc", ",", "MVT", "Ty", ",", "std", "::", "vector", "<", "OpRef", ">", "&&", "Ops", ")", "{", "NodeTemplate", "Res", ";", "Res", ".", "Opc", "=", "Opc", ";", "Res", ".", "Ty", "=", "Ty", ";", "Res", ...
[ "Push", "the", "current", "solver", "state", "." ]
[ "Hexagon" ]
HexagonISelDAGToDAGHVX
push
Hexagon
DSP
LLVM
10,836
47
1
[]
[ "<s>", "void", "MipsPassConfig", "::", "addPreRegAlloc", "(", ")", "{", "addPass", "(", "createMipsOptimizePICCallPass", "(", ")", ")", ";", "if", "(", "getMipsSubtarget", "(", ")", ".", "isCheri", "(", ")", ")", "{", "addPass", "(", "createCheriAddressingMode...
[ "This", "method", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "register", "allocation", "." ]
[ "Mips", "Mips", "Mips", "Mips" ]
MipsTargetMachine55
addPreRegAlloc
Mips
CPU
LLVM
10,837
59
1
[]
[ "<s>", "void", "ARMConstantIslands", "::", "verify", "(", ")", "{", "assert", "(", "std", "::", "is_sorted", "(", "MF", "->", "begin", "(", ")", ",", "MF", "->", "end", "(", ")", ",", "[", "this", "]", "(", "const", "MachineBasicBlock", "&", "LHS", ...
[ "Check", "if", "this", "register", "bank", "is", "valid", "." ]
[ "ARM", "ARM", "\"Verifying \"", "\" CP users.\\n\"", "0", "2", "\"OK\\n\"", "\"Out of range.\\n\"", "\"Constant pool entry out of range!\"" ]
ARMConstantIslandPass16
verify
ARM
CPU
LLVM
10,838
199
1
[]
[ "<s>", "bool", "trackLivenessAfterRegAlloc", "(", "const", "MachineFunction", "&", "MF", ")", "const", "override", "{", "return", "true", ";", "}", "</s>" ]
[ "Returns", "true", "if", "the", "live-ins", "should", "be", "tracked", "after", "register", "allocation", "." ]
[ "Z80" ]
Z80RegisterInfo2
trackLivenessAfterRegAlloc
Z80
MPU
LLVM
10,839
15
1
[]
[ "<s>", "static", "bool", "use_toc_relative_ref", "(", "rtx", "sym", ",", "machine_mode", "mode", ")", "{", "return", "(", "(", "constant_pool_expr_p", "(", "sym", ")", "&&", "ASM_OUTPUT_SPECIAL_POOL_ENTRY_P", "(", "get_pool_constant", "(", "sym", ")", ",", "get_...
[ "Return", "true", "iff", "the", "given", "SYMBOL_REF", "refers", "to", "a", "constant", "pool", "entry", "that", "we", "have", "put", "in", "the", "TOC", ",", "or", "for", "cmodel=medium", ",", "if", "the", "SYMBOL_REF", "can", "be", "addressed", "relative...
[ "powerpcspe" ]
powerpcspe
use_toc_relative_ref
powerpcspe
CPU
GCC
10,840
53
1
[]
[ "<s>", "void", "output_profile_hook", "(", "int", "labelno", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "TARGET_PROFILE_KERNEL", ")", "return", ";", "if", "(", "DEFAULT_ABI", "==", "ABI_AIX", ")", "{", "if", "(", "NO_PROFILE_COUNTERS", ")", "emit_library_call", "(...
[ "Emit", "profile", "function", "." ]
[ "rs6000", "0", "0", "30", "\"LP\"", "0", "1", "1", "0", "0", "1" ]
rs60003
output_profile_hook
rs6000
CPU
GCC
10,841
169
1
[]
[ "<s>", "static", "void", "mt_emit_save_regs", "(", "enum", "save_direction", "direction", ",", "struct", "mt_frame_info", "info", ")", "{", "rtx", "base_reg", ";", "int", "regno", ";", "int", "reg_mask", "=", "info", ".", "reg_mask", "&", "~", "(", "FP_MASK"...
[ "Emit", "code", "to", "save", "registers", "in", "the", "prologue", "and", "restore", "register", "in", "epilogue", "." ]
[ "mt", "0", "1", "0" ]
mt
mt_emit_save_regs
mt
CPU
GCC
10,842
227
1
[]
[ "<s>", "unsigned", "MipsMCCodeEmitter", "::", "getBranchTarget26OpValueMM", "(", "const", "MCInst", "&", "MI", ",", "unsigned", "OpNo", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "{", ...
[ "getBranchTarget26OpValueMM", "-", "Return", "binary", "encoding", "of", "the", "branch", "target", "operand", "." ]
[ "Mips", "Mips", "1", "0" ]
MipsMCCodeEmitter (2)1
getBranchTarget26OpValueMM
Mips
CPU
LLVM
10,843
60
1
[]
[ "<s>", "EVT", "X86TargetLowering", "::", "getOptimalMemOpType", "(", "uint64_t", "Size", ",", "unsigned", "DstAlign", ",", "unsigned", "SrcAlign", ",", "bool", "IsMemset", ",", "bool", "ZeroMemset", ",", "bool", "MemcpyStrSrc", ",", "MachineFunction", "&", "MF", ...
[ "It", "returns", "EVT", ":", ":Other", "if", "the", "type", "should", "be", "determined", "using", "generic", "target-independent", "logic", "." ]
[ "X86", "X86", "16", "0", "16", "0", "16", "32", "MVT::v32i8", "MVT::v16i8", "MVT::v4f32", "8", "MVT::f64", "8", "MVT::i64", "MVT::i32" ]
X86ISelLowering
getOptimalMemOpType
X86
CPU
LLVM
10,844
198
1
[]
[ "<s>", "void", "PatmosInstrInfo", "::", "loadRegFromStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "Register", "DestReg", ",", "int", "FrameIdx", ",", "const", "TargetRegisterClass", "*", "RC", ",", "const"...
[ "Load", "the", "specified", "register", "of", "the", "given", "register", "class", "from", "the", "specified", "stack", "frame", "index", "." ]
[ "Patmos", "Patmos", "\"Trying to fill a register in naked function \"", "\": not supported!\"", "Patmos::RRegsRegClass", "Patmos::LWC", "0", "Patmos::PRegsRegClass", "Patmos::PSEUDO_PREG_RELOAD", "0", "\"Register: \"", "\"\\n\"", "\"Register class not handled!\"" ]
PatmosInstrInfo1
loadRegFromStackSlot
Patmos
VLIW
LLVM
10,845
194
1
[]
[ "<s>", "MCObjectWriter", "*", "createObjectWriter", "(", "raw_ostream", "&", "OS", ")", "const", "{", "return", "createTOYELFObjectWriter", "(", "OS", ",", "MCELFObjectTargetWriter", "::", "getOSABI", "(", "OSType", ")", ",", "IsLittle", ",", "Is64Bit", ")", ";"...
[ "Create", "a", "new", "MCObjectWriter", "instance", "for", "use", "by", "the", "assembler", "backend", "to", "emit", "the", "final", "object", "file", "." ]
[ "TOY", "TOY" ]
TOYAsmBackend
createObjectWriter
TOY
CPU
LLVM
10,846
28
1
[]
[ "<s>", "void", "xtensa_adjust_reg_alloc_order", "(", "void", ")", "{", "static", "const", "int", "reg_windowed_alloc_order", "[", "FIRST_PSEUDO_REGISTER", "]", "=", "REG_ALLOC_ORDER", ";", "static", "const", "int", "reg_call0_alloc_order", "[", "FIRST_PSEUDO_REGISTER", ...
[ "Called", "once", "at", "the", "start", "of", "IRA", ",", "by", "ADJUST_REG_ALLOC_ORDER", "." ]
[ "xtensa", "9", "10", "11", "7", "6", "5", "4", "3", "2", "8", "0", "12", "13", "14", "15", "18", "19", "20", "21", "22", "23", "24", "25", "26", "27", "28", "29", "30", "31", "32", "33", "34", "1", "16", "17", "35" ]
xtensa1
xtensa_adjust_reg_alloc_order
xtensa
MPU
GCC
10,847
118
1
[]
[ "<s>", "virtual", "bool", "doInitialization", "(", "Module", "&", ")", "{", "if", "(", "!", "StatsFile", ".", "empty", "(", ")", "&&", "!", "AppendStatsFile", "&&", "sys", "::", "fs", "::", "exists", "(", "StatsFile", ")", ")", "{", "sys", "::", "fs"...
[ "Set", "up", "the", "AsmPrinter", "when", "we", "are", "working", "on", "a", "new", "module", "." ]
[ "Patmos" ]
PatmosFunctionSplitter
doInitialization
Patmos
VLIW
LLVM
10,848
48
1
[]
[ "<s>", "TargetPassConfig", "*", "VideocoreTargetMachine", "::", "createPassConfig", "(", "PassManagerBase", "&", "PM", ")", "{", "return", "new", "VideocorePassConfig", "(", "this", ",", "PM", ")", ";", "}", "</s>" ]
[ "Create", "a", "pass", "configuration", "object", "to", "be", "used", "by", "addPassToEmitX", "methods", "for", "generating", "a", "pipeline", "of", "CodeGen", "passes", "." ]
[ "Videocore", "Videocore", "Videocore" ]
VideocoreTargetMachine
createPassConfig
Videocore
DSP
LLVM
10,849
21
1
[]
[ "<s>", "void", "ix86_expand_floorceildf_32", "(", "rtx", "operand0", ",", "rtx", "operand1", ",", "bool", "do_floor", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "operand0", ")", ";", "rtx", "xa", ",", "TWO52", ",", "tmp", ",", "one", ",", "r...
[ "Expand", "SSE2", "sequence", "for", "computing", "floor", "or", "ceil", "from", "OPERAND1", "storing", "into", "OPERAND0", "." ]
[ "i386", "0", "0", "0", "1" ]
i3864
ix86_expand_floorceildf_32
i386
CPU
GCC
10,850
228
1
[]
[ "<s>", "const", "MCExpr", "*", "ARMElfTargetObjectFile", "::", "getTTypeGlobalReference", "(", "const", "GlobalValue", "*", "GV", ",", "unsigned", "Encoding", ",", "const", "TargetMachine", "&", "TM", ",", "MachineModuleInfo", "*", "MMI", ",", "MCStreamer", "&", ...
[ "The", "mach-o", "version", "of", "this", "method", "defaults", "to", "returning", "a", "stub", "reference", "." ]
[ "ARM", "ARM", "ARM", "\"Can handle absptr encoding only\"", "ARM" ]
ARMTargetObjectFile (2)1
getTTypeGlobalReference
ARM
CPU
LLVM
10,851
93
1
[]
[ "<s>", "MachineInstr", "*", "PPCInstrInfo", "::", "commuteInstruction", "(", "MachineInstr", "*", "MI", ",", "bool", "NewMI", ")", "const", "{", "MachineFunction", "&", "MF", "=", "*", "MI", "->", "getParent", "(", ")", "->", "getParent", "(", ")", ";", ...
[ "This", "method", "commutes", "the", "operands", "of", "the", "given", "machine", "instruction", "MI", "." ]
[ "PowerPC", "PPC", "PPC::RLWIMI", "3", "0", "0", "0", "1", "2", "1", "2", "0", "\"Expecting a two-address instruction!\"", "4", "5", "0", "0", "1", "31", "1", "31", "0", "2", "1", "2", "1", "4", "1", "31", "5", "1", "31" ]
PPCInstrInfo22
commuteInstruction
PowerPC
CPU
LLVM
10,852
425
1
[]
[ "<s>", "int", "ARMBaseInstrInfo", "::", "getInstrLatency", "(", "const", "InstrItineraryData", "*", "ItinData", ",", "const", "MachineInstr", "*", "MI", ",", "unsigned", "*", "PredCost", ")", "const", "{", "if", "(", "MI", "->", "isCopyLike", "(", ")", "||",...
[ "Compute", "the", "instruction", "latency", "of", "a", "given", "instruction", "." ]
[ "ARM", "ARM", "1", "1", "ARM::CPSR", "1" ]
ARMBaseInstrInfo108
getInstrLatency
ARM
CPU
LLVM
10,853
135
1
[]
[ "<s>", "SDNode", "*", "rvexDAGToDAGISel", "::", "Select", "(", "SDNode", "*", "Node", ")", "{", "unsigned", "Opcode", "=", "Node", "->", "getOpcode", "(", ")", ";", "DebugLoc", "dl", "=", "Node", "->", "getDebugLoc", "(", ")", ";", "DEBUG", "(", "errs"...
[ "Main", "hook", "for", "targets", "to", "transform", "nodes", "into", "machine", "nodes", "." ]
[ "rvex", "rvex", "\"Selecting: \"", "\"\\n\"", "\"== \"", "\"\\n\"", "0", "ISD::MULHS", "ISD::MULHU", "ISD::MULHU", "rvex::MULTu", "rvex::MULT", "ISD::GLOBAL_OFFSET_TABLE", "ISD::Constant", "0", "32", "\"=> \"", "\"\\n\"" ]
rvexISelDAGToDAG
Select
rvex
VLIW
LLVM
10,854
267
1
[]
[ "<s>", "static", "bool", "arc_vector_mode_supported_p", "(", "machine_mode", "mode", ")", "{", "if", "(", "!", "TARGET_SIMD_SET", ")", "return", "false", ";", "if", "(", "(", "mode", "==", "V4SImode", ")", "||", "(", "mode", "==", "V8HImode", ")", ")", "...
[ "Implements", "target", "hook", "vector_mode_supported_p", "." ]
[ "arc" ]
arc4
arc_vector_mode_supported_p
arc
MPU
GCC
10,855
37
1
[]
[ "<s>", "enum", "tls_model", "tls_symbolic_operand", "(", "rtx", "op", ",", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "GET_CODE", "(", "op", ")", "!=", "SYMBOL_REF", ")", "return", "TLS_MODEL_NONE", ";", "return", "SYMBOL_REF_TLS_MODEL", "(...
[ "Return", "the", "TLS", "type", "for", "TLS", "symbols", ",", "0", "for", "otherwise", "." ]
[ "sh" ]
sh
tls_symbolic_operand
sh
CPU
GCC
10,856
31
1
[]
[ "<s>", "const", "uint32_t", "*", "AArch64RegisterInfo", "::", "getCallPreservedMask", "(", "CallingConv", "::", "ID", "CC", ")", "const", "{", "if", "(", "CC", "==", "CallingConv", "::", "GHC", ")", "return", "CSR_AArch64_NoRegs_RegMask", ";", "if", "(", "CC",...
[ "Return", "a", "mask", "of", "call-preserved", "registers", "for", "the", "given", "calling", "convention", "on", "the", "current", "function", "." ]
[ "AArch64", "AArch64", "AArch64", "AArch64", "AArch64" ]
AArch64RegisterInfo63
getCallPreservedMask
AArch64
CPU
LLVM
10,857
41
1
[]
[ "<s>", "Optional", "<", "DestSourcePair", ">", "ARMBaseInstrInfo", "::", "isAddImmediate", "(", "const", "MachineInstr", "&", "MI", ",", "int64_t", "&", "Offset", ")", "const", "{", "int", "Sign", "=", "1", ";", "unsigned", "Opcode", "=", "MI", ".", "getOp...
[ "If", "the", "specific", "machine", "instruction", "is", "an", "instruction", "that", "adds", "an", "immediate", "value", "and", "a", "register", ",", "and", "stores", "the", "result", "in", "the", "given", "register", "Reg", ",", "return", "a", "pair", "o...
[ "ARM", "ARM", "1", "ARM::SUBri", "1", "ARM::ADDri", "0", "1", "2", "2", "0", "1" ]
ARMBaseInstrInfo129
isAddImmediate
ARM
CPU
LLVM
10,858
133
1
[]
[ "<s>", "void", "VEAsmPrinter", "::", "emitInstruction", "(", "const", "MachineInstr", "*", "MI", ")", "{", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "TargetOpcode", "::", "DBG_VALUE", ":", "return", ...
[ "Targets", "should", "implement", "this", "to", "emit", "instructions", "." ]
[ "VE", "VE", "VE::GETGOT", "VE::GETFUNPLT", "VE" ]
VEAsmPrinter8
emitInstruction
VE
CPU
LLVM
10,859
133
1
[]
[ "<s>", "void", "NVPTXInstPrinter", "::", "printInst", "(", "const", "MCInst", "*", "MI", ",", "raw_ostream", "&", "OS", ",", "StringRef", "Annot", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "{", "printInstruction", "(", "MI", ",", "OS", ")", ";", ...
[ "Print", "the", "specified", "MCInst", "to", "the", "specified", "raw_ostream", "." ]
[ "NVPTX", "NVPTX" ]
NVPTXInstPrinter13
printInst
NVPTX
GPU
LLVM
10,860
38
1
[]
[ "<s>", "static", "bool", "aarch64_return_in_msb", "(", "const_tree", "valtype", ")", "{", "machine_mode", "dummy_mode", ";", "int", "dummy_int", ";", "if", "(", "!", "BYTES_BIG_ENDIAN", ")", "return", "false", ";", "if", "(", "!", "aarch64_composite_type_p", "("...
[ "Return", "TRUE", "if", "VALTYPE", "is", "padded", "to", "its", "least", "significant", "bits", "." ]
[ "aarch64", "0", "16" ]
aarch64
aarch64_return_in_msb
aarch64
CPU
GCC
10,861
96
1
[]
[ "<s>", "static", "bool", "h8300_can_eliminate", "(", "const", "int", "from", "ATTRIBUTE_UNUSED", ",", "const", "int", "to", ")", "{", "return", "(", "to", "==", "STACK_POINTER_REGNUM", "?", "!", "frame_pointer_needed", ":", "true", ")", ";", "}", "</s>" ]
[ "Given", "FROM", "and", "TO", "register", "numbers", ",", "say", "whether", "this", "elimination", "is", "allowed", ".", "Frame", "pointer", "elimination", "is", "automatically", "handled", ".", "For", "the", "h8300", ",", "if", "frame", "pointer", "eliminatio...
[ "h8300" ]
h8300
h8300_can_eliminate
h8300
MPU
GCC
10,862
27
1
[]
[ "<s>", "bool", "X86FastISel", "::", "isTypeLegal", "(", "Type", "*", "Ty", ",", "MVT", "&", "VT", ",", "bool", "AllowI1", ")", "{", "EVT", "evt", "=", "TLI", ".", "getValueType", "(", "Ty", ",", "true", ")", ";", "if", "(", "evt", "==", "MVT", ":...
[ "Return", "true", "if", "this", "type", "is", "legal", "." ]
[ "X86", "X86", "MVT::Other", "MVT::f64", "X86", "MVT::f32", "X86", "MVT::f80", "MVT::i1" ]
X86FastISel (2)
isTypeLegal
X86
CPU
LLVM
10,863
113
1
[]
[ "<s>", "static", "int", "n_dregs_to_save", "(", "bool", "is_inthandler", ",", "bool", "consecutive", ")", "{", "int", "count", "=", "0", ";", "unsigned", "i", ";", "for", "(", "i", "=", "REG_R7", "+", "1", ";", "i", "--", "!=", "REG_R0", ";", ")", ...
[ "Compute", "the", "number", "of", "DREGS", "to", "save", "with", "a", "push_multiple", "operation", ".", "This", "could", "include", "registers", "that", "are", "n't", "modified", "in", "the", "function", ",", "since", "push_multiple", "only", "takes", "a", ...
[ "bfin", "0", "1" ]
bfin
n_dregs_to_save
bfin
DSP
GCC
10,864
59
1
[]
[ "<s>", "bool", "TPCExpandHWRegCopies", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "Func", ")", "{", "if", "(", "skipFunction", "(", "Func", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "if", "(", "!", "EnableTPCExpandHWRegCop...
[ "runOnMachineFunction", "-", "Emit", "the", "function", "body", "." ]
[ "TPC", "TPC", "TPC", "0", "0", "0" ]
TPCExpandHWRegCopies
runOnMachineFunction
TPC
Virtual ISA
LLVM
10,865
272
1
[]
[ "<s>", "Optional", "<", "MCFixupKind", ">", "RISCVAsmBackend", "::", "getFixupKind", "(", "StringRef", "Name", ")", "const", "{", "if", "(", "STI", ".", "getTargetTriple", "(", ")", ".", "isOSBinFormatELF", "(", ")", ")", "{", "unsigned", "Type", ";", "Typ...
[ "getFixupKind", "-", "Get", "the", "fixup", "kind", "of", "this", "expression", "." ]
[ "RI5CY", "RISCV", "1u", "1u" ]
RISCVAsmBackend
getFixupKind
RI5CY
CPU
LLVM
10,866
70
1
[]
[ "<s>", "bool", "X86FrameLowering", "::", "restoreCalleeSavedRegisters", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "const", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", ",", "const", "TargetRegis...
[ "restoreCalleeSavedRegisters", "-", "Issues", "instruction", "(", "s", ")", "to", "restore", "all", "callee", "saved", "registers", "and", "returns", "true", "if", "it", "is", "n't", "possible", "/", "profitable", "to", "do", "so", "by", "issuing", "a", "ser...
[ "X86", "X86", "0", "X86::GR64RegClass", "X86::GR32RegClass", "X86::POP64r", "X86::POP32r", "0", "X86::GR64RegClass", "X86::GR32RegClass" ]
X86FrameLowering103
restoreCalleeSavedRegisters
X86
CPU
LLVM
10,867
245
1
[]
[ "<s>", "static", "bool", "isSafeToMove", "(", "const", "MachineInstr", "*", "Def", ",", "const", "MachineInstr", "*", "Insert", ",", "AliasAnalysis", "&", "AA", ",", "const", "MachineRegisterInfo", "&", "MRI", ")", "{", "assert", "(", "Def", "->", "getParent...
[ "Return", "true", "if", "it", "is", "safe", "to", "move", "this", "instruction", "." ]
[ "WebAssembly", "WebAssembly::CATCH", "WebAssembly::EXTRACT_EXCEPTION_I32", "4", "WebAssembly::ARGUMENTS" ]
WebAssemblyRegStackify38
isSafeToMove
WebAssembly
Virtual ISA
LLVM
10,868
472
1
[]
[ "<s>", "void", "X86DAGToDAGISel", "::", "PreprocessISelDAG", "(", ")", "{", "OptForSize", "=", "MF", "->", "getFunction", "(", ")", "->", "getAttributes", "(", ")", ".", "hasAttribute", "(", "AttributeSet", "::", "FunctionIndex", ",", "Attribute", "::", "Optim...
[ "PreprocessISelDAG", "-", "This", "hook", "allows", "targets", "to", "hack", "on", "the", "graph", "before", "instruction", "selection", "starts", "." ]
[ "X86", "X86", "X86ISD::CALL", "X86ISD::TC_RETURN", "X86ISD::CALL", "0", "1", "0", "ISD::FP_ROUND", "ISD::FP_EXTEND", "0", "0", "X86", "X86", "X86", "X86", "X86", "ISD::FP_EXTEND", "1", "ISD::FP_ROUND", "0", "0", "ISD::EXTLOAD", "0", "0" ]
X86ISelDAGToDAG4
PreprocessISelDAG
X86
CPU
LLVM
10,869
476
1
[]
[ "<s>", "bool", "SystemZInstrInfo", "::", "isStackSlotCopy", "(", "const", "MachineInstr", "*", "MI", ",", "int", "&", "DestFrameIndex", ",", "int", "&", "SrcFrameIndex", ")", "const", "{", "const", "MachineFrameInfo", "*", "MFI", "=", "MI", "->", "getParent", ...
[ "Return", "true", "if", "the", "specified", "machine", "instruction", "is", "a", "copy", "of", "one", "stack", "slot", "to", "another", "and", "has", "no", "other", "effect", "." ]
[ "SystemZ", "SystemZ", "SystemZ::MVC", "0", "1", "0", "3", "4", "0", "2", "0", "3" ]
SystemZInstrInfo (2)
isStackSlotCopy
SystemZ
CPU
LLVM
10,870
181
1
[]
[ "<s>", "void", "nios2_adjust_call_address", "(", "rtx", "*", "call_op", ",", "rtx", "reg", ")", "{", "if", "(", "MEM_P", "(", "*", "call_op", ")", ")", "call_op", "=", "&", "XEXP", "(", "*", "call_op", ",", "0", ")", ";", "rtx", "addr", "=", "*", ...
[ "The", "function", "with", "address", "*", "ADDR", "is", "being", "called", ".", "If", "the", "address", "needs", "to", "be", "loaded", "from", "the", "GOT", ",", "emit", "the", "instruction", "to", "do", "so", "and", "update", "*", "ADDR", "to", "poin...
[ "nios2", "0" ]
nios2
nios2_adjust_call_address
nios2
MPU
GCC
10,871
95
1
[]
[ "<s>", "rtx", "mep_find_base_term", "(", "rtx", "x", ")", "{", "rtx", "base", ",", "term", ";", "int", "unspec", ";", "if", "(", "GET_CODE", "(", "x", ")", "!=", "PLUS", ")", "return", "x", ";", "base", "=", "XEXP", "(", "x", ",", "0", ")", ";"...
[ "If", "X", "is", "a", "machine", "specific", "address", "(", "i.e", ".", "a", "symbol", "or", "label", "being", "referenced", "as", "a", "displacement", "from", "the", "GOT", "implemented", "using", "an", "UNSPEC", ")", ",", "then", "return", "the", "bas...
[ "mep", "0", "1", "0", "1", "0", "0" ]
mep
mep_find_base_term
mep
CPU
GCC
10,872
141
1
[]
[ "<s>", "virtual", "const", "PIC16InstrInfo", "*", "getInstrInfo", "(", ")", "const", "{", "return", "&", "InstrInfo", ";", "}", "</s>" ]
[ "TargetInstrInfo", "getter", "." ]
[ "PIC16", "PIC16" ]
PIC16TargetMachine
getInstrInfo
PIC16
MPU
LLVM
10,873
14
1
[]
[ "<s>", "bool", "GCNTTIImpl", "::", "isSourceOfDivergence", "(", "const", "Value", "*", "V", ")", "const", "{", "if", "(", "const", "Argument", "*", "A", "=", "dyn_cast", "<", "Argument", ">", "(", "V", ")", ")", "return", "!", "isArgPassedInSGPR", "(", ...
[ "Returns", "whether", "V", "is", "a", "source", "of", "divergence", "." ]
[ "AMDGPU", "AMDGPU", "AMDGPU", "AMDGPU::isIntrinsicSourceOfDivergence" ]
AMDGPUTargetTransformInfo20
isSourceOfDivergence
AMDGPU
GPU
LLVM
10,874
151
1
[]
[ "<s>", "void", "addExpr", "(", "MCInst", "&", "Inst", ",", "const", "MCExpr", "*", "Expr", ")", "const", "{", "if", "(", "!", "Expr", ")", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "0", ")", ")", ";", "else", "if", "(", ...
[ "Add", "a", "new", "MCExpr", "operand", "." ]
[ "AVR", "0" ]
AVRAsmParser
addExpr
AVR
MPU
LLVM
10,875
77
1
[]
[ "<s>", "static", "int", "function_arg_partial_bytes", "(", "cumulative_args_t", "cum_v", ",", "const", "function_arg_info", "&", "arg", ")", "{", "CUMULATIVE_ARGS", "*", "cum", "=", "get_cumulative_args", "(", "cum_v", ")", ";", "if", "(", "(", "arg", ".", "mo...
[ "Return", "number", "of", "bytes", "of", "argument", "to", "put", "in", "registers", "." ]
[ "microblaze", "1", "0", "1", "0" ]
microblaze
function_arg_partial_bytes
microblaze
MPU
GCC
10,876
125
1
[]
[ "<s>", "void", "Cpu0MCCodeEmitter", "::", "EmitInstruction", "(", "uint64_t", "Val", ",", "unsigned", "Size", ",", "raw_ostream", "&", "OS", ")", "const", "{", "for", "(", "unsigned", "i", "=", "0", ";", "i", "<", "Size", ";", "++", "i", ")", "{", "u...
[ "EmitInstruction", "-", "This", "callback", "is", "invoked", "when", "an", "instruction", "is", "emitted", ",", "to", "advance", "the", "hazard", "state", "." ]
[ "Cpu0", "Cpu0", "0", "8", "1", "8", "0xff" ]
Cpu0MCCodeEmitter2
EmitInstruction
Cpu0
CPU
LLVM
10,877
66
1
[]
[ "<s>", "void", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "{", "AsmPrinter", "::", "getAnalysisUsage", "(", "AU", ")", ";", "AU", ".", "setPreservesAll", "(", ")", ";", "AU", ".", "addRequired", "<", "MachineModuleInfo", ">", "(", "...
[ "getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "." ]
[ "ARM" ]
ARMAsmPrinter100
getAnalysisUsage
ARM
CPU
LLVM
10,878
41
1
[]
[ "<s>", "RegisterRef", "RegisterAggr", "::", "normalize", "(", "RegisterRef", "RR", ")", "const", "{", "RegisterId", "SuperReg", "=", "RR", ".", "Reg", ";", "while", "(", "true", ")", "{", "MCSuperRegIterator", "SR", "(", "SuperReg", ",", "&", "TRI", ",", ...
[ "Weight", "normalization", "function", "." ]
[ "Hexagon" ]
RDFGraph7
normalize
Hexagon
DSP
LLVM
10,879
111
1
[]
[ "<s>", "static", "bool", "riscv_is_eh_return_data_register", "(", "unsigned", "int", "regno", ")", "{", "unsigned", "int", "i", ",", "regnum", ";", "if", "(", "!", "crtl", "->", "calls_eh_return", ")", "return", "false", ";", "for", "(", "i", "=", "0", "...
[ "Return", "TRUE", "if", "provided", "REGNO", "is", "eh", "return", "data", "register", "." ]
[ "riscv", "0" ]
riscv1
riscv_is_eh_return_data_register
riscv
CPU
GCC
10,880
60
1
[]
[ "<s>", "Optional", "<", "uint64_t", ">", "X86MCInstrAnalysis", "::", "getMemoryOperandRelocationOffset", "(", "const", "MCInst", "&", "Inst", ",", "uint64_t", "Size", ")", "const", "{", "if", "(", "Inst", ".", "getOpcode", "(", ")", "!=", "X86", "::", "LEA64...
[ "Given", "an", "instruction", "with", "a", "memory", "operand", "that", "could", "require", "relocation", ",", "returns", "the", "offset", "within", "the", "instruction", "of", "that", "relocation", "." ]
[ "X86", "X86", "X86::LEA64r", "X86II::getMemoryOperandNo", "1", "X86II::getOperandBias", "X86::AddrSegmentReg", "X86::AddrBaseReg", "X86::AddrIndexReg", "X86::AddrScaleAmt", "X86::AddrDisp", "X86::RIP", "0", "0", "1", "4", "\"invalid instruction size for rip-relative lea\"", "4" ]
X86MCTargetDesc13
getMemoryOperandRelocationOffset
X86
CPU
LLVM
10,881
221
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", "." ]
[ "X86", "\"Invalid fixup offset!\"", "0", "8", "1", "\"Value does not fit in the Fixup field\"", "0", "8" ]
X86AsmBackend24
applyFixup
X86
CPU
LLVM
10,882
128
1
[]
[ "<s>", "std", "::", "pair", "<", "unsigned", ",", "const", "TargetRegisterClass", "*", ">", "MipsTargetLowering", "::", "getRegForInlineAsmConstraint", "(", "const", "std", "::", "string", "&", "Constraint", ",", "MVT", "VT", ")", "const", "{", "if", "(", "C...
[ "Given", "a", "physical", "register", "constraint", "(", "e.g", "." ]
[ "Mips", "Mips", "1", "0", "0U", "Mips::CPURegsRegisterClass", "MVT::f32", "0U", "Mips::FGR32RegisterClass", "MVT::f64", "0U", "Mips::AFGR64RegisterClass" ]
MipsISelLowering35
getRegForInlineAsmConstraint
Mips
CPU
LLVM
10,883
136
1
[]
[ "<s>", "int", "arm_attr_length_pop_multi", "(", "rtx", "*", "operands", ",", "bool", "return_pc", ",", "bool", "write_back_p", ")", "{", "if", "(", "TARGET_ARM", ")", "return", "4", ";", "if", "(", "TARGET_THUMB1", ")", "return", "2", ";", "rtx", "parallel...
[ "Compute", "the", "attribute", "``", "length", "''", "of", "insn", ".", "Currently", ",", "this", "function", "is", "used", "for", "``", "*", "load_multiple_with_writeback", "''", ",", "``", "*", "pop_multiple_with_return", "''", "and", "``", "*", "pop_multipl...
[ "arm", "4", "2", "0", "0", "1", "1", "0", "1", "0", "1", "0", "4", "0", "0", "4", "2" ]
arm
arm_attr_length_pop_multi
arm
CPU
GCC
10,884
166
1
[]
[ "<s>", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"TVM DAG->DAG Pattern Instruction Selection\"", ";", "}", "</s>" ]
[ "getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "." ]
[ "TVM", "\"TVM DAG->DAG Pattern Instruction Selection\"" ]
TVMISelDAGToDAG
getPassName
TVM
Virtual ISA
LLVM
10,885
11
1
[]
[ "<s>", "const", "char", "*", "getPassName", "(", ")", "const", "override", "{", "return", "\"SI Type Rewriter\"", ";", "}", "</s>" ]
[ "getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "." ]
[ "AMDGPU", "\"SI Type Rewriter\"" ]
SITypeRewriter10
getPassName
AMDGPU
GPU
LLVM
10,886
13
1
[]
[ "<s>", "bool", "RISCVFrameLowering", "::", "hasReservedCallFrame", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "return", "isInt", "<", "12", ">", "(", ...
[ "hasReservedCallFrame", "-", "Under", "normal", "circumstances", ",", "when", "a", "frame", "pointer", "is", "not", "required", ",", "we", "reserve", "argument", "space", "for", "call", "sites", "in", "the", "function", "immediately", "on", "entry", "to", "the...
[ "RISCV", "RISCV", "12" ]
RISCVFrameLowering (2)1
hasReservedCallFrame
RISCV
CPU
LLVM
10,887
48
1
[]
[ "<s>", "SMLoc", "getLoc", "(", ")", "const", "{", "return", "getParser", "(", ")", ".", "getTok", "(", ")", ".", "getLoc", "(", ")", ";", "}", "</s>" ]
[ "Get", "the", "source", "location", "of", "the", "point", "where", "the", "field", "was", "defined", "." ]
[ "CAHP" ]
CAHPAsmParser
getLoc
CAHP
CPU
LLVM
10,888
20
1
[]
[ "<s>", "static", "bool", "ix86_lea_outperforms", "(", "rtx_insn", "*", "insn", ",", "unsigned", "int", "regno0", ",", "unsigned", "int", "regno1", ",", "unsigned", "int", "regno2", ",", "int", "split_cost", ",", "bool", "has_scale", ")", "{", "int", "dist_de...
[ "Return", "true", "if", "usage", "of", "lea", "INSN", "has", "performance", "advantage", "over", "a", "sequence", "of", "instructions", ".", "Instructions", "sequence", "has", "SPLIT_COST", "cycles", "higher", "latency", "than", "lea", "latency", "." ]
[ "i386", "1", "0", "0", "0", "0" ]
i3861
ix86_lea_outperforms
i386
CPU
GCC
10,889
155
1
[]
[ "<s>", "RegisterSet", "&", "remove", "(", "const", "RegisterSet", "&", "Rs", ")", "{", "return", "static_cast", "<", "RegisterSet", "&", ">", "(", "BitVector", "::", "reset", "(", "Rs", ")", ")", ";", "}", "</s>" ]
[ "remove", "-", "Remove", "the", "specified", "key/value", "pair", "from", "the", "map", ",", "but", "do", "not", "erase", "it", "." ]
[ "Hexagon" ]
HexagonBitSimplify (2)
remove
Hexagon
DSP
LLVM
10,890
26
1
[]
[ "<s>", "unsigned", "getFlatAddressSpace", "(", ")", "const", "{", "return", "AddressSpace", "::", "ADDRESS_SPACE_GENERIC", ";", "}", "</s>" ]
[ "Returns", "the", "address", "space", "ID", "for", "a", "target", "'s", "'flat", "'", "address", "space", "." ]
[ "NVPTX" ]
NVPTXTargetTransformInfo
getFlatAddressSpace
NVPTX
GPU
LLVM
10,891
12
1
[]
[ "<s>", "static", "void", "nios2_option_save", "(", "struct", "cl_target_option", "*", "ptr", ",", "struct", "gcc_options", "*", "opts", "ATTRIBUTE_UNUSED", ",", "struct", "gcc_options", "*", "opts_set", "ATTRIBUTE_UNUSED", ")", "{", "unsigned", "int", "i", ";", ...
[ "Target", "attributes", "can", "affect", "per-function", "option", "state", ",", "so", "we", "need", "to", "save/restore", "the", "custom", "code", "tracking", "info", "using", "the", "TARGET_OPTION_SAVE/TARGET_OPTION_RESTORE", "hooks", "." ]
[ "nios2", "0" ]
nios2
nios2_option_save
nios2
MPU
GCC
10,892
83
1
[]
[ "<s>", "void", "arm_emit_fp16_const", "(", "rtx", "c", ")", "{", "long", "bits", ";", "bits", "=", "real_to_target", "(", "NULL", ",", "CONST_DOUBLE_REAL_VALUE", "(", "c", ")", ",", "HFmode", ")", ";", "if", "(", "WORDS_BIG_ENDIAN", ")", "assemble_zeros", ...
[ "Emit", "a", "fp16", "constant", "appropriately", "padded", "to", "occupy", "a", "4-byte", "word", ".", "HFmode", "constant", "pool", "entries", "are", "actually", "loaded", "with", "ldr", "." ]
[ "arm", "2", "2", "1", "2" ]
arm
arm_emit_fp16_const
arm
CPU
GCC
10,893
58
1
[]
[ "<s>", "static", "void", "mips_avoid_hazard", "(", "rtx", "after", ",", "rtx", "insn", ",", "int", "*", "hilo_delay", ",", "rtx", "*", "delayed_reg", ",", "rtx", "lo_reg", ")", "{", "rtx", "pattern", ",", "set", ";", "int", "nops", ",", "ninsns", ";", ...
[ "Subroutine", "of", "mips_reorg", ".", "If", "there", "is", "a", "hazard", "between", "INSN", "and", "a", "previous", "instruction", ",", "avoid", "it", "by", "inserting", "nops", "after", "instruction", "AFTER", ".", "*", "DELAYED_REG", "and", "*", "HILO_DE...
[ "mips", "0", "4", "0", "2", "2", "0", "1", "0", "0", "0", "0", "0", "0" ]
mips3
mips_avoid_hazard
mips
CPU
GCC
10,894
228
1
[]
[ "<s>", "const", "unsigned", "*", "HexagonRegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "static", "const", "unsigned", "CalleeSavedRegsV2", "[", "]", "=", "{", "Hexagon", "::", "R24", ",", "Hexagon", "...
[ "Code", "Generation", "virtual", "methods", "..." ]
[ "Hexagon", "Hexagon", "Hexagon::R24", "Hexagon::R25", "Hexagon::R26", "Hexagon::R27", "0", "Hexagon::R16", "Hexagon::R17", "Hexagon::R18", "Hexagon::R19", "Hexagon::R20", "Hexagon::R21", "Hexagon::R22", "Hexagon::R23", "Hexagon::R24", "Hexagon::R25", "Hexagon::R26", "Hexagon::R27...
HexagonRegisterInfo36
getCalleeSavedRegs
Hexagon
DSP
LLVM
10,895
145
1
[]
[ "<s>", "bool", "AArch64InstrInfo", "::", "areMemAccessesTriviallyDisjoint", "(", "MachineInstr", "*", "MIa", ",", "MachineInstr", "*", "MIb", ",", "AliasAnalysis", "*", "AA", ")", "const", "{", "const", "TargetRegisterInfo", "*", "TRI", "=", "&", "getRegisterInfo"...
[ "Sometimes", ",", "it", "is", "possible", "for", "the", "target", "to", "tell", ",", "even", "without", "aliasing", "information", ",", "that", "two", "MIs", "access", "different", "memory", "addresses", "." ]
[ "AArch64", "AArch64", "0", "0", "0", "0", "0", "0", "\"MIa must be a load or store.\"", "\"MIb must be a load or store.\"" ]
AArch64InstrInfo1
areMemAccessesTriviallyDisjoint
AArch64
CPU
LLVM
10,896
199
1
[]
[ "<s>", "MCSection", "*", "X86WindowsTargetObjectFile", "::", "getSectionForConstant", "(", "SectionKind", "Kind", ",", "const", "Constant", "*", "C", ")", "const", "{", "if", "(", "Kind", ".", "isMergeableConst", "(", ")", "&&", "C", ")", "{", "const", "unsi...
[ "Given", "a", "constant", "with", "the", "SectionKind", ",", "return", "a", "section", "that", "it", "should", "be", "placed", "in", "." ]
[ "X86", "X86", "\"__real@\"", "\"__xmm@\"", "\".rdata\"" ]
X86TargetObjectFile32
getSectionForConstant
X86
CPU
LLVM
10,897
130
1
[]
[ "<s>", "bool", "X86AsmPrinter", "::", "PrintAsmOperand", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpNo", ",", "unsigned", "AsmVariant", ",", "const", "char", "*", "ExtraCode", ",", "raw_ostream", "&", "O", ")", "{", "if", "(", "ExtraCode", ...
[ "PrintAsmOperand", "-", "Print", "out", "an", "operand", "for", "an", "inline", "asm", "expression", "." ]
[ "X86", "X86", "0", "1", "0", "0", "\"unexpected operand type!\"", "\"(%rip)\"", "\"unexpected operand type!\"", "0", "0" ]
X86AsmPrinter27
PrintAsmOperand
X86
CPU
LLVM
10,898
440
1
[]
[ "<s>", "static", "unsigned", "findDeadCallerSavedReg", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "&", "MBBI", ",", "const", "X86RegisterInfo", "*", "TRI", ",", "bool", "Is64Bit", ")", "{", "const", "MachineFunction", "*", ...
[ "findDeadCallerSavedReg", "-", "Return", "a", "caller-saved", "register", "that", "is", "n't", "live", "when", "it", "reaches", "the", "``", "return", "''", "instruction", "." ]
[ "X86", "X86", "0", "0", "X86::RET", "X86::RETL", "X86::RETQ", "X86::RETIL", "X86::RETIQ", "X86::TCRETURNdi", "X86::TCRETURNri", "X86::TCRETURNmi", "X86::TCRETURNdi64", "X86::TCRETURNri64", "X86::TCRETURNmi64", "X86::EH_RETURN", "X86::EH_RETURN64", "8", "0", "X86::RIP", "0" ]
X86FrameLowering112
findDeadCallerSavedReg
X86
CPU
LLVM
10,899
299
1
[]