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>", "int", "sh_dwarf_calling_convention", "(", "tree", "func", ")", "{", "if", "(", "sh_attr_renesas_p", "(", "func", ")", ")", "return", "DW_CC_GNU_renesas_sh", ";", "return", "DW_CC_normal", ";", "}", "</s>" ]
[ "Implements", "target", "hook", "dwarf_calling_convention", ".", "Return", "an", "enum", "of", "dwarf_calling_convention", "." ]
[ "sh" ]
sh3
sh_dwarf_calling_convention
sh
CPU
GCC
27,500
21
1
[]
[ "<s>", "static", "rtx", "ix86_get_arg_address_for_bt", "(", "rtx", "slot", ",", "rtx", "slot_no", ",", "rtx", "special_base", ")", "{", "rtx", "addr", "=", "NULL", ";", "if", "(", "!", "slot", "||", "REG_P", "(", "slot", ")", ")", "{", "gcc_assert", "(...
[ "Helper", "function", "for", "ix86_load_bounds", "and", "ix86_store_bounds", ".", "Return", "an", "address", "to", "be", "used", "to", "load/store", "bounds", "for", "pointer", "passed", "in", "SLOT", ".", "SLOT_NO", "is", "an", "integer", "constant", "holding",...
[ "i386", "1", "0" ]
i3864
ix86_get_arg_address_for_bt
i386
CPU
GCC
27,501
108
1
[]
[ "<s>", "const", "RISCVSubtarget", "*", "getSubtargetImpl", "(", "const", "Function", "&", ")", "const", "override", "{", "return", "&", "Subtarget", ";", "}", "</s>" ]
[ "Virtual", "method", "implemented", "by", "subclasses", "that", "returns", "a", "reference", "to", "that", "target", "'s", "TargetSubtargetInfo-derived", "member", "variable", "." ]
[ "RISCV", "RISCV" ]
RISCVTargetMachine (2)
getSubtargetImpl
RISCV
CPU
LLVM
27,502
17
1
[]
[ "<s>", "bool", "writeNopData", "(", "uint64_t", "Count", ",", "MCObjectWriter", "*", "OW", ")", "const", "override", "{", "if", "(", "Count", "==", "0", ")", "{", "return", "true", ";", "}", "return", "false", ";", "}", "</s>" ]
[ "Write", "an", "(", "optimal", ")", "nop", "sequence", "of", "Count", "bytes", "to", "the", "given", "output", "." ]
[ "LC3", "0" ]
LC3AsmBackend
writeNopData
LC3
CPU
LLVM
27,503
28
1
[]
[ "<s>", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "override", "{", "return", "\"AArch64 Store Pair Suppression\"", ";", "}", "</s>" ]
[ "getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "." ]
[ "AArch64", "\"AArch64 Store Pair Suppression\"" ]
AArch64StorePairSuppress
getPassName
AArch64
CPU
LLVM
27,504
14
1
[]
[ "<s>", "void", "PPCRegisterInfo", "::", "lowerACCSpilling", "(", "MachineBasicBlock", "::", "iterator", "II", ",", "unsigned", "FrameIndex", ")", "const", "{", "MachineInstr", "&", "MI", "=", "*", "II", ";", "MachineBasicBlock", "&", "MBB", "=", "*", "MI", "...
[ "lowerACCSpilling", "-", "Generate", "the", "code", "for", "spilling", "the", "accumulator", "register", "." ]
[ "PowerPC", "PPC", "PPC", "PPC", "0", "0", "PPC::ACCRCRegClass", "PPC::VSRp0", "PPC::ACC0", "PPC::UACC0", "2", "PPC::XXMFACC", "PPC::STXVP", "32", "0", "PPC::STXVP", "1", "0", "32", "PPC::XXMTACC" ]
PPCRegisterInfo (2)3
lowerACCSpilling
PowerPC
CPU
LLVM
27,505
311
1
[]
[ "<s>", "static", "void", "s390_conditional_register_usage", "(", "void", ")", "{", "int", "i", ";", "if", "(", "flag_pic", ")", "{", "fixed_regs", "[", "PIC_OFFSET_TABLE_REGNUM", "]", "=", "1", ";", "call_used_regs", "[", "PIC_OFFSET_TABLE_REGNUM", "]", "=", "...
[ "Implement", "CONDITIONAL_REGISTER_USAGE", "." ]
[ "s390", "1", "1", "0", "0", "0", "0", "0", "0", "0", "1", "1" ]
s3908
s390_conditional_register_usage
s390
MPU
GCC
27,506
185
1
[]
[ "<s>", "static", "machine_mode", "spu_addr_space_address_mode", "(", "addr_space_t", "addrspace", ")", "{", "switch", "(", "addrspace", ")", "{", "case", "ADDR_SPACE_GENERIC", ":", "return", "Pmode", ";", "case", "ADDR_SPACE_EA", ":", "return", "EAmode", ";", "def...
[ "Return", "the", "appropriate", "mode", "for", "a", "named", "address", "address", "." ]
[ "spu" ]
spu
spu_addr_space_address_mode
spu
MPU
GCC
27,507
33
1
[]
[ "<s>", "int", "const_ok_for_dimode_op", "(", "HOST_WIDE_INT", "i", ",", "enum", "rtx_code", "code", ")", "{", "HOST_WIDE_INT", "hi_val", "=", "(", "i", ">>", "32", ")", "&", "0xFFFFFFFF", ";", "HOST_WIDE_INT", "lo_val", "=", "i", "&", "0xFFFFFFFF", ";", "r...
[ "Return", "true", "if", "I", "is", "a", "valid", "di", "mode", "constant", "for", "the", "operation", "CODE", "." ]
[ "arm", "32", "0xFFFFFFFF", "0xFFFFFFFF", "0", "0xFFFFFFFF", "0xFFFFFFFF", "0" ]
arm4
const_ok_for_dimode_op
arm
CPU
GCC
27,508
118
1
[]
[ "<s>", "void", "PPCPassConfig", "::", "addPreEmitPass", "(", ")", "{", "addPass", "(", "createPPCPreEmitPeepholePass", "(", ")", ")", ";", "addPass", "(", "createPPCExpandISELPass", "(", ")", ")", ";", "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", ...
[ "This", "pass", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "machine", "code", "is", "emitted", "." ]
[ "PowerPC", "PPC", "PPC", "PPC", "PPC" ]
PPCTargetMachine40
addPreEmitPass
PowerPC
CPU
LLVM
27,509
39
1
[]
[ "<s>", "const", "char", "*", "SystemZTargetLowering", "::", "getTargetNodeName", "(", "unsigned", "Opcode", ")", "const", "{", "switch", "(", "Opcode", ")", "{", "case", "SystemZISD", "::", "RET_FLAG", ":", "return", "\"SystemZISD::RET_FLAG\"", ";", "case", "Sys...
[ "getTargetNodeName", "-", "This", "method", "returns", "the", "name", "of", "a", "target", "specific" ]
[ "SystemZ", "SystemZ", "SystemZISD::RET_FLAG", "\"SystemZISD::RET_FLAG\"", "SystemZISD::CALL", "\"SystemZISD::CALL\"", "SystemZISD::BRCOND", "\"SystemZISD::BRCOND\"", "SystemZISD::CMP", "\"SystemZISD::CMP\"", "SystemZISD::UCMP", "\"SystemZISD::UCMP\"", "SystemZISD::SELECT", "\"SystemZISD::S...
SystemZISelLowering101
getTargetNodeName
SystemZ
CPU
LLVM
27,510
80
1
[]
[ "<s>", "void", "XCoreTargetObjectFile", "::", "Initialize", "(", "MCContext", "&", "Ctx", ",", "const", "TargetMachine", "&", "TM", ")", "{", "TargetLoweringObjectFileELF", "::", "Initialize", "(", "Ctx", ",", "TM", ")", ";", "DataSection", "=", "Ctx", ".", ...
[ "This", "method", "must", "be", "called", "before", "any", "actual", "lowering", "is", "done", "." ]
[ "XCore", "XCore", "\".dp.data\"", "\".dp.bss\"", "\".cp.rodata.cst4\"", "\".cp.rodata.cst8\"", "\".cp.rodata.cst16\"", "\".cp.rodata\"" ]
XCoreTargetObjectFile3
Initialize
XCore
MPU
LLVM
27,511
239
1
[]
[ "<s>", "static", "bool", "rs6000_parm_needs_stack", "(", "cumulative_args_t", "args_so_far", ",", "tree", "type", ")", "{", "machine_mode", "mode", ";", "int", "unsignedp", ";", "rtx", "entry_parm", ";", "if", "(", "type", "==", "NULL", "||", "type", "==", "...
[ "Process", "parameter", "of", "type", "TYPE", "after", "ARGS_SO_FAR", "parameters", "were", "already", "processes", ".", "Return", "true", "if", "the", "parameter", "must", "be", "passed", "(", "fully", "or", "partially", ")", "on", "the", "stack", "." ]
[ "powerpcspe", "0", "0", "0", "0" ]
powerpcspe
rs6000_parm_needs_stack
powerpcspe
CPU
GCC
27,512
253
1
[]
[ "<s>", "void", "Cpu0SEInstrInfo", "::", "copyPhysReg", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "const", "DebugLoc", "&", "DL", ",", "unsigned", "DestReg", ",", "unsigned", "SrcReg", ",", "bool", "KillSrc", ")...
[ "}", "Branch", "Analysis", "&", "Modification" ]
[ "Cpu0", "Cpu0", "0", "0", "Cpu0::CPURegsRegClass", "Cpu0::CPURegsRegClass", "Cpu0::ADDu", "Cpu0::ZERO", "Cpu0::HI", "Cpu0::MFHI", "0", "Cpu0::LO", "Cpu0::MFLO", "0", "Cpu0::CPURegsRegClass", "Cpu0::HI", "Cpu0::MTHI", "0", "Cpu0::LO", "Cpu0::MTLO", "0", "\"Cannot copy regist...
Cpu0SEInstrInfo
copyPhysReg
Cpu0
CPU
LLVM
27,513
231
1
[]
[ "<s>", "static", "rtx", "mips_frame_set", "(", "rtx", "mem", ",", "rtx", "reg", ")", "{", "rtx", "set", ";", "set", "=", "gen_rtx_SET", "(", "VOIDmode", ",", "mem", ",", "reg", ")", ";", "RTX_FRAME_RELATED_P", "(", "set", ")", "=", "1", ";", "return"...
[ "Return", "a", "frame-related", "rtx", "that", "stores", "register", "REGNO", "at", "(", "SP", "+", "OFFSET", ")", ".", "The", "expression", "should", "only", "be", "used", "to", "store", "single", "registers", "." ]
[ "mips", "1" ]
mips4
mips_frame_set
mips
CPU
GCC
27,514
36
1
[]
[ "<s>", "SMLoc", "getStartLoc", "(", ")", "const", "override", "{", "return", "Start", ";", "}", "</s>" ]
[ "getStartLoc", "-", "Get", "the", "location", "of", "the", "first", "token", "of", "this", "operand", "." ]
[ "M68k" ]
M68kAsmParser
getStartLoc
M68k
MPU
LLVM
27,515
11
1
[]
[ "<s>", "bool", "ia64_const_double_ok_for_letter_p", "(", "rtx", "value", ",", "char", "c", ")", "{", "switch", "(", "c", ")", "{", "case", "'G'", ":", "return", "CONST_DOUBLE_OK_FOR_G", "(", "value", ")", ";", "default", ":", "return", "false", ";", "}", ...
[ "Implement", "CONST_DOUBLE_OK_FOR_LETTER_P", "." ]
[ "ia64" ]
ia643
ia64_const_double_ok_for_letter_p
ia64
CPU
GCC
27,516
31
1
[]
[ "<s>", "static", "void", "xtensa_conditional_register_usage", "(", "void", ")", "{", "unsigned", "i", ",", "c_mask", ";", "c_mask", "=", "TARGET_WINDOWED_ABI", "?", "(", "1", "<<", "1", ")", ":", "(", "1", "<<", "2", ")", ";", "for", "(", "i", "=", "...
[ "Update", "register", "usage", "after", "having", "seen", "the", "compiler", "flags", "." ]
[ "xtensa", "1", "1", "1", "2", "0", "1" ]
xtensa
xtensa_conditional_register_usage
xtensa
MPU
GCC
27,517
82
1
[]
[ "<s>", "void", "AArch64PassConfig", "::", "addPreRegBankSelect", "(", ")", "{", "bool", "IsOptNone", "=", "getOptLevel", "(", ")", "==", "CodeGenOpt", "::", "None", ";", "if", "(", "!", "IsOptNone", ")", "{", "addPass", "(", "createAArch64PostLegalizerCombiner",...
[ "This", "method", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "the", "register", "bank", "selection", "." ]
[ "AArch64", "AArch64", "AArch64", "AArch64" ]
AArch64TargetMachine21
addPreRegBankSelect
AArch64
CPU
LLVM
27,518
53
1
[]
[ "<s>", "bool", "PIC16TargetMachine", "::", "addPostRegAlloc", "(", "PassManagerBase", "&", "PM", ",", "CodeGenOpt", "::", "Level", "OptLevel", ")", "{", "PM", ".", "add", "(", "createPIC16MemSelOptimizerPass", "(", ")", ")", ";", "return", "true", ";", "}", ...
[ "This", "method", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "after", "register", "allocation", "pass", "pipeline", "but", "before", "prolog-epilog", "insertion", "." ]
[ "PIC16", "PIC16", "PIC16" ]
PIC16TargetMachine1
addPostRegAlloc
PIC16
MPU
LLVM
27,519
28
1
[]
[ "<s>", "static", "tree", "alpha_fold_builtin_insxx", "(", "tree", "op", "[", "]", ",", "unsigned", "HOST_WIDE_INT", "opint", "[", "]", ",", "long", "op_const", ",", "unsigned", "HOST_WIDE_INT", "bytemask", ",", "bool", "is_high", ")", "{", "if", "(", "(", ...
[ "Fold", "the", "builtins", "for", "the", "INS", "family", "of", "instructions", "." ]
[ "alpha", "1", "0", "0", "0", "2", "1", "7", "0", "64", "8", "0x3f", "0", "8", "8", "0", "0", "1" ]
alpha
alpha_fold_builtin_insxx
alpha
MPU
GCC
27,520
182
1
[]
[ "<s>", "ScheduleHazardRecognizer", "*", "PPCInstrInfo", "::", "CreateTargetHazardRecognizer", "(", "const", "TargetSubtargetInfo", "*", "STI", ",", "const", "ScheduleDAG", "*", "DAG", ")", "const", "{", "unsigned", "Directive", "=", "static_cast", "<", "const", "PPC...
[ "Allocate", "and", "return", "a", "hazard", "recognizer", "to", "use", "for", "this", "target", "when", "scheduling", "the", "machine", "instructions", "before", "register", "allocation", "." ]
[ "PowerPC", "PPC", "PPC", "PPC::DIR_440", "PPC::DIR_A2", "PPC::DIR_E500mc", "PPC::DIR_E5500", "PPC" ]
PPCInstrInfo (2)2
CreateTargetHazardRecognizer
PowerPC
CPU
LLVM
27,521
102
1
[]
[ "<s>", "const", "TeakRegisterInfo", "*", "getRegisterInfo", "(", ")", "const", "override", "{", "return", "&", "InstrInfo", ".", "getRegisterInfo", "(", ")", ";", "}", "</s>" ]
[ "getRegisterInfo", "-", "TargetInstrInfo", "is", "a", "superset", "of", "MRegister", "info", "." ]
[ "Teak", "Teak" ]
TeakSubtarget
getRegisterInfo
Teak
DSP
LLVM
27,522
18
1
[]
[ "<s>", "unsigned", "SITargetLowering", "::", "getNumRegistersForCallingConv", "(", "LLVMContext", "&", "Context", ",", "CallingConv", "::", "ID", "CC", ",", "EVT", "VT", ")", "const", "{", "if", "(", "CC", "!=", "CallingConv", "::", "AMDGPU_KERNEL", "&&", "VT"...
[ "Certain", "targets", "require", "unusual", "breakdowns", "of", "certain", "types", "." ]
[ "AMDGPU", "SI", "AMDGPU", "32", "64", "2", "16", "2" ]
SIISelLowering
getNumRegistersForCallingConv
AMDGPU
GPU
LLVM
27,523
121
1
[]
[ "<s>", "static", "rtx", "moxie_libcall_value", "(", "machine_mode", "mode", ",", "const_rtx", "fun", "ATTRIBUTE_UNUSED", ")", "{", "return", "gen_rtx_REG", "(", "mode", ",", "MOXIE_R0", ")", ";", "}", "</s>" ]
[ "Define", "how", "to", "find", "the", "value", "returned", "by", "a", "library", "function", ".", "We", "always", "return", "values", "in", "register", "$", "r0", "for", "moxie", "." ]
[ "moxie" ]
moxie
moxie_libcall_value
moxie
CPU
GCC
27,524
21
1
[]
[ "<s>", "bool", "avr_addr_space_supported_p", "(", "addr_space_t", "as", ",", "location_t", "loc", ")", "{", "if", "(", "AVR_TINY", ")", "{", "if", "(", "loc", "!=", "UNKNOWN_LOCATION", ")", "error_at", "(", "loc", ",", "\"address spaces are not supported for reduc...
[ "Return", "true", "if", "we", "support", "address", "space", "AS", "for", "the", "architecture", "in", "effect", "and", "false", ",", "otherwise", ".", "If", "LOC", "is", "not", "UNKNOWN_LOCATION", "then", "also", "issue", "a", "respective", "error", "." ]
[ "avr", "\"address spaces are not supported for reduced \"", "\"Tiny devices\"", "\"address space %qs not supported for devices with \"", "\"flash size up to %d KiB\"", "64" ]
avr
avr_addr_space_supported_p
avr
MPU
GCC
27,525
79
1
[]
[ "<s>", "bool", "addGCPasses", "(", ")", "override", "{", "return", "false", ";", "}", "</s>" ]
[ "addGCPasses", "-", "Add", "late", "codegen", "passes", "that", "analyze", "code", "for", "garbage", "collection", "." ]
[ "JVM" ]
JVMTargetMachine
addGCPasses
JVM
Virtual ISA
LLVM
27,526
10
1
[]
[ "<s>", "static", "rtx", "sparc_function_arg_1", "(", "cumulative_args_t", "cum_v", ",", "machine_mode", "mode", ",", "const_tree", "type", ",", "bool", "named", ",", "bool", "incoming", ")", "{", "const", "CUMULATIVE_ARGS", "*", "cum", "=", "get_cumulative_args", ...
[ "Determine", "where", "to", "put", "an", "argument", "to", "a", "function", ".", "Value", "is", "zero", "to", "push", "the", "argument", "on", "the", "stack", ",", "or", "a", "hard", "register", "in", "which", "to", "store", "the", "argument", ".", "CU...
[ "sparc", "1", "0", "8", "16", "2", "16", "16", "2", "2", "2", "2", "16", "0" ]
sparc5
sparc_function_arg_1
sparc
CPU
GCC
27,527
465
1
[]
[ "<s>", "enum", "rtx_code", "ix86_fp_compare_code_to_integer", "(", "enum", "rtx_code", "code", ")", "{", "switch", "(", "code", ")", "{", "case", "GT", ":", "return", "GTU", ";", "case", "GE", ":", "return", "GEU", ";", "case", "ORDERED", ":", "case", "U...
[ "Convert", "comparison", "codes", "we", "use", "to", "represent", "FP", "comparison", "to", "integer", "code", "that", "will", "result", "in", "proper", "branch", ".", "Return", "UNKNOWN", "if", "no", "such", "code", "is", "available", "." ]
[ "i386" ]
i3863
ix86_fp_compare_code_to_integer
i386
CPU
GCC
27,528
76
1
[]
[ "<s>", "int", "h8300_funcvec_function_p", "(", "tree", "func", ")", "{", "tree", "a", ";", "if", "(", "TREE_CODE", "(", "func", ")", "!=", "FUNCTION_DECL", ")", "return", "0", ";", "a", "=", "lookup_attribute", "(", "\"function_vector\"", ",", "DECL_ATTRIBUT...
[ "Return", "nonzero", "if", "FUNC", "is", "a", "function", "that", "should", "be", "called", "through", "the", "function", "vector", "." ]
[ "h8300", "0", "\"function_vector\"" ]
h8300
h8300_funcvec_function_p
h8300
MPU
GCC
27,529
40
1
[]
[ "<s>", "pure_scalable_type_info", "::", "analysis_result", "pure_scalable_type_info", "::", "analyze_record", "(", "const_tree", "type", ")", "{", "for", "(", "tree", "field", "=", "TYPE_FIELDS", "(", "type", ")", ";", "field", ";", "field", "=", "TREE_CHAIN", "...
[ "Subroutine", "of", "analyze", "for", "handling", "RECORD_TYPEs", "." ]
[ "aarch64", "0" ]
aarch64
analyze_record
aarch64
CPU
GCC
27,530
225
1
[]
[ "<s>", "bool", "AArch64InstrInfo", "::", "optimizeCompareInstr", "(", "MachineInstr", "*", "CmpInstr", ",", "unsigned", "SrcReg", ",", "unsigned", "SrcReg2", ",", "int", "CmpMask", ",", "int", "CmpValue", ",", "const", "MachineRegisterInfo", "*", "MRI", ")", "co...
[ "optimizeCompareInstr", "-", "Check", "if", "there", "exists", "an", "earlier", "instruction", "that", "operates", "on", "the", "same", "source", "operands", "and", "sets", "flags", "in", "the", "same", "way", "as", "Compare", ";", "remove", "Compare", "if", ...
[ "AArch64", "AArch64", "AArch64::NZCV", "1", "AArch64::WZR", "AArch64::XZR", "\"Some operands reg class are incompatible!\"", "0", "1", "\"CmpValue must be 0 or 1!\"", "0", "0", "0" ]
AArch64InstrInfo110
optimizeCompareInstr
AArch64
CPU
LLVM
27,531
235
1
[]
[ "<s>", "bool", "AArch64Subtarget", "::", "useAA", "(", ")", "const", "{", "return", "UseAA", ";", "}", "</s>" ]
[ "Enable", "use", "of", "alias", "analysis", "during", "code", "generation", "(", "during", "MI", "scheduling", ",", "DAGCombine", ",", "etc", ".", ")", "." ]
[ "AArch64", "AArch64" ]
AArch64Subtarget (2)1
useAA
AArch64
CPU
LLVM
27,532
12
1
[]
[ "<s>", "static", "void", "add_compiler_branch_island", "(", "tree", "label_name", ",", "tree", "function_name", ",", "int", "line_number", ")", "{", "branch_island", "bi", "=", "{", "function_name", ",", "label_name", ",", "line_number", "}", ";", "vec_safe_push",...
[ "Remember", "to", "generate", "a", "branch", "island", "for", "far", "calls", "to", "the", "given", "function", "." ]
[ "powerpcspe" ]
powerpcspe
add_compiler_branch_island
powerpcspe
CPU
GCC
27,533
33
1
[]
[ "<s>", "bool", "HexagonGenMux", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "HII", "=", "MF", ".", "getSubtarget", "<", "HexagonSubtarget", ">", "(", ")", ".", "getInstrInfo", "(", ")", ";", "HRI", "=", "MF", ".", "getSubtarg...
[ "runOnMachineFunction", "-", "Emit", "the", "function", "body", "." ]
[ "Hexagon", "Hexagon", "Hexagon", "Hexagon" ]
HexagonGenMux (2)
runOnMachineFunction
Hexagon
DSP
LLVM
27,534
64
1
[]
[ "<s>", "unsigned", "int", "mips_hard_regno_nregs", "(", "int", "regno", ",", "machine_mode", "mode", ")", "{", "if", "(", "ST_REG_P", "(", "regno", ")", ")", "return", "(", "GET_MODE_SIZE", "(", "mode", ")", "+", "3", ")", "/", "4", ";", "if", "(", "...
[ "Implement", "HARD_REGNO_NREGS", "." ]
[ "mips", "3", "4", "1", "1", "1" ]
mips6
mips_hard_regno_nregs
mips
CPU
GCC
27,535
78
1
[]
[ "<s>", "void", "EmitInstruction", "(", "const", "MCInst", "&", "Inst", ",", "const", "MCSubtargetInfo", "&", "STI", ",", "bool", ")", "override", "{", "if", "(", "isIndirectJump", "(", "Inst", ")", ")", "{", "if", "(", "PendingCall", ")", "report_fatal_err...
[ "EmitInstruction", "-", "This", "callback", "is", "invoked", "when", "an", "instruction", "is", "emitted", ",", "to", "advance", "the", "hazard", "state", "." ]
[ "Mips", "\"Dangerous instruction in branch delay slot!\"", "\"Dangerous instruction in branch delay slot!\"", "\"Dangerous instruction in branch delay slot!\"", "1", "Mips", "Mips", "Mips" ]
MipsNaClELFStreamer
EmitInstruction
Mips
CPU
LLVM
27,536
253
1
[]
[ "<s>", "static", "unsigned", "long", "thumb1_compute_save_reg_mask", "(", "void", ")", "{", "unsigned", "long", "mask", ";", "unsigned", "reg", ";", "mask", "=", "0", ";", "for", "(", "reg", "=", "0", ";", "reg", "<", "12", ";", "reg", "++", ")", "if...
[ "Compute", "a", "bit", "mask", "of", "which", "registers", "need", "to", "be", "saved", "on", "the", "stack", "for", "the", "current", "function", "." ]
[ "arm", "0", "0", "12", "1", "1", "1", "0", "1", "0xff", "1", "0xff", "0", "0x0f00", "1", "1", "504", "1", "1", "1" ]
arm6
thumb1_compute_save_reg_mask
arm
CPU
GCC
27,537
241
1
[]
[ "<s>", "const", "char", "*", "arm_output_shift", "(", "rtx", "*", "operands", ",", "int", "set_flags", ")", "{", "char", "pattern", "[", "100", "]", ";", "static", "const", "char", "flag_chars", "[", "3", "]", "=", "{", "'?'", ",", "'.'", ",", "'!'",...
[ "Output", "assembly", "for", "a", "shift", "instruction", ".", "SET_FLAGS", "determines", "how", "the", "instruction", "modifies", "the", "condition", "codes", ".", "0", "-", "Do", "not", "set", "condition", "codes", ".", "1", "-", "Set", "condition", "codes...
[ "arm", "100", "3", "3", "1", "2", "\"%s%%%c\\t%%0, %%1, %%2\"", "\"mov%%%c\\t%%0, %%1\"", "\"\"" ]
arm
arm_output_shift
arm
CPU
GCC
27,538
121
1
[]
[ "<s>", "rtx", "gen_datalabel_ref", "(", "rtx", "sym", ")", "{", "const", "char", "*", "str", ";", "if", "(", "GET_CODE", "(", "sym", ")", "==", "LABEL_REF", ")", "return", "gen_rtx_CONST", "(", "GET_MODE", "(", "sym", ")", ",", "gen_rtx_UNSPEC", "(", "...
[ "Prefix", "a", "symbol_ref", "name", "with", "``", "datalabel", "''", "." ]
[ "sh", "1", "0", "0" ]
sh3
gen_datalabel_ref
sh
CPU
GCC
27,539
89
1
[]
[ "<s>", "bool", "AArch64FrameLowering", "::", "hasFP", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "TargetRegisterInfo", "*", "RegInfo", "=", "...
[ "hasFP", "-", "Return", "true", "if", "the", "specified", "function", "should", "have", "a", "dedicated", "frame", "pointer", "register", "." ]
[ "AArch64", "AArch64", "\"No stack realignment on AArch64!\"" ]
AArch64FrameLowering34
hasFP
AArch64
CPU
LLVM
27,540
85
1
[]
[ "<s>", "static", "bool", "c6x_return_in_memory", "(", "const_tree", "type", ",", "const_tree", "fntype", "ATTRIBUTE_UNUSED", ")", "{", "int", "size", "=", "int_size_in_bytes", "(", "type", ")", ";", "return", "size", ">", "2", "*", "UNITS_PER_WORD", "||", "siz...
[ "Decide", "whether", "a", "type", "should", "be", "returned", "in", "memory", "(", "true", ")", "or", "in", "a", "register", "(", "false", ")", ".", "This", "is", "called", "by", "the", "macro", "TARGET_RETURN_IN_MEMORY", "." ]
[ "c6x", "2", "1" ]
c6x
c6x_return_in_memory
c6x
VLIW
GCC
27,541
33
1
[]
[ "<s>", "void", "RISCVInstrInfo", "::", "buildOutlinedFrame", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineFunction", "&", "MF", ",", "const", "outliner", "::", "OutlinedFunction", "&", "OF", ")", "const", "{", "bool", "Changed", "=", "true", ";", "while"...
[ "Insert", "a", "custom", "frame", "for", "outlined", "functions", "." ]
[ "RI5CY", "RISCV", "RISCV::X5", "RISCV::JALR", "RISCV::X0", "RISCV::X5", "0" ]
RISCVInstrInfo
buildOutlinedFrame
RI5CY
CPU
LLVM
27,542
149
1
[]
[ "<s>", "void", "recordRelocation", "(", "MCAssembler", "&", "Asm", ",", "const", "MCAsmLayout", "&", "Layout", ",", "const", "MCFragment", "*", "Fragment", ",", "const", "MCFixup", "&", "Fixup", ",", "MCValue", "Target", ",", "bool", "&", "IsPCRel", ",", "...
[ "Record", "a", "relocation", "entry", "." ]
[ "R600", "\"Not implemented\"" ]
AMDGPUAsmBackend33
recordRelocation
R600
GPU
LLVM
27,543
42
1
[]
[ "<s>", "void", "PPCAIXAsmPrinter", "::", "emitGlobalVariable", "(", "const", "GlobalVariable", "*", "GV", ")", "{", "ValidateGV", "(", "GV", ")", ";", "if", "(", "isSpecialLLVMGlobalArrayForStaticInit", "(", "GV", ")", ")", "return", ";", "MCSymbolXCOFF", "*", ...
[ "Emit", "the", "specified", "global", "variable", "to", "the", ".s", "file", "." ]
[ "PowerPC", "PPC", "\"Encountered a global variable kind that is \"", "\"not supported yet.\"" ]
PPCAsmPrinter14
emitGlobalVariable
PowerPC
CPU
LLVM
27,544
311
1
[]
[ "<s>", "const", "CAHPSubtarget", "*", "getSubtargetImpl", "(", "const", "Function", "&", ")", "const", "override", "{", "return", "&", "Subtarget", ";", "}", "</s>" ]
[ "Virtual", "method", "implemented", "by", "subclasses", "that", "returns", "a", "reference", "to", "that", "target", "'s", "TargetSubtargetInfo-derived", "member", "variable", "." ]
[ "CAHP", "CAHP" ]
CAHPTargetMachine
getSubtargetImpl
CAHP
CPU
LLVM
27,545
17
1
[]
[ "<s>", "bool", "TVMPassConfig", "::", "addInstSelector", "(", ")", "{", "(", "void", ")", "TargetPassConfig", "::", "addInstSelector", "(", ")", ";", "addPass", "(", "createTVMISelDag", "(", "getTVMTargetMachine", "(", ")", ",", "getOptLevel", "(", ")", ")", ...
[ "addInstSelector", "-", "This", "method", "should", "install", "an", "instruction", "selector", "pass", ",", "which", "converts", "from", "LLVM", "code", "to", "machine", "instructions", "." ]
[ "TVM", "TVM", "TVM", "TVM", "TVM" ]
TVMTargetMachine
addInstSelector
TVM
Virtual ISA
LLVM
27,546
41
1
[]
[ "<s>", "static", "bool", "csky_allocate_stack_slots_for_args", "(", "void", ")", "{", "return", "!", "CSKY_FUNCTION_IS_NAKED", "(", "get_csky_current_func_type", "(", ")", ")", ";", "}", "</s>" ]
[ "Implement", "TARGET_ALLOCATE_STACK_SLOTS_FOR_ARGS", "." ]
[ "csky" ]
csky
csky_allocate_stack_slots_for_args
csky
CPU
GCC
27,547
17
1
[]
[ "<s>", "void", "aarch64_expand_mov_immediate", "(", "rtx", "dest", ",", "rtx", "imm", ")", "{", "machine_mode", "mode", "=", "GET_MODE", "(", "dest", ")", ";", "gcc_assert", "(", "mode", "==", "SImode", "||", "mode", "==", "DImode", ")", ";", "if", "(", ...
[ "Set", "DEST", "to", "immediate", "IMM", ".", "For", "SVE", "vector", "modes", ",", "GEN_VEC_DUPLICATE", "is", "a", "pattern", "that", "can", "be", "used", "to", "set", "DEST", "to", "a", "replicated", "scalar", "element", "." ]
[ "aarch64" ]
aarch642
aarch64_expand_mov_immediate
aarch64
CPU
GCC
27,548
369
1
[]
[ "<s>", "void", "func_fma_steering", "::", "rename_fma_trees", "(", ")", "{", "this", "->", "dfs", "(", "dispatch_forest", ",", "NULL", ",", "rename_fma_node", ",", "true", ")", ";", "if", "(", "dump_file", "&&", "!", "this", "->", "m_fma_forests", ".", "em...
[ "Perform", "the", "renaming", "of", "all", "chains", "with", "FMUL", "or", "FMADD/FMSUB", "involved", "with", "the", "objective", "of", "keeping", "FPU", "pipeline", "balanced", "in", "term", "of", "instructions", "and", "having", "FMADD/FMSUB", "with", "depende...
[ "aarch64", "\"Function %s has \"", "0", "\"perfect balance of FMUL/FMA chains between the \"", "\"two FPU pipelines\\n\"", "0", "\"%d more FMUL/FMA chains scheduled on the second \"", "\"FPU pipeline\\n\"", "\"%d more FMUL/FMA chains scheduled on the first \"", "\"FPU pipeline\\n\"" ]
cortex-a57-fma-steering
rename_fma_trees
aarch64
CPU
GCC
27,549
98
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 (3)
addInstSelector
Z80
MPU
LLVM
27,550
25
1
[]
[ "<s>", "bool", "M680x0DAGToDAGISel", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "Subtarget", "=", "&", "static_cast", "<", "const", "M680x0Subtarget", "&", ">", "(", "MF", ".", "getSubtarget", "(", ")", ")", ";", "return", "Se...
[ "runOnMachineFunction", "-", "Emit", "the", "function", "body", "." ]
[ "M680x0", "M680x0", "M680x0" ]
M680x0ISelDAGToDAG
runOnMachineFunction
M680x0
MPU
LLVM
27,551
36
1
[]
[ "<s>", "bool", "PPCInstrInfo", "::", "isUnpredicatedTerminator", "(", "const", "MachineInstr", "*", "MI", ")", "const", "{", "if", "(", "!", "MI", "->", "isTerminator", "(", ")", ")", "return", "false", ";", "if", "(", "MI", "->", "isBranch", "(", ")", ...
[ "Returns", "true", "if", "the", "instruction", "is", "a", "terminator", "instruction", "that", "has", "not", "been", "predicated", "." ]
[ "PowerPC", "PPC" ]
PPCInstrInfo (2)
isUnpredicatedTerminator
PowerPC
CPU
LLVM
27,552
50
1
[]
[ "<s>", "void", "MipsSETargetLowering", "::", "addMSAFloatType", "(", "MVT", "::", "SimpleValueType", "Ty", ",", "const", "TargetRegisterClass", "*", "RC", ")", "{", "addRegisterClass", "(", "Ty", ",", "RC", ")", ";", "for", "(", "unsigned", "Opc", "=", "0", ...
[ "Enable", "MSA", "support", "for", "the", "given", "floating-point", "type", "and", "Register", "class", "." ]
[ "Mips", "Mips", "MVT::SimpleValueType", "0", "ISD::BUILTIN_OP_END", "ISD::LOAD", "ISD::STORE", "ISD::BITCAST", "MVT::v8f16", "ISD::FADD", "ISD::FDIV", "ISD::FLOG2", "ISD::FMUL", "ISD::FRINT", "ISD::FSQRT", "ISD::FSUB" ]
MipsSEISelLowering12
addMSAFloatType
Mips
CPU
LLVM
27,553
169
1
[]
[ "<s>", "static", "bool", "v2df_reduction_p", "(", "rtx", "op", ")", "{", "if", "(", "GET_MODE", "(", "op", ")", "!=", "V2DFmode", ")", "return", "false", ";", "enum", "rtx_code", "code", "=", "GET_CODE", "(", "op", ")", ";", "if", "(", "code", "!=", ...
[ "Return", "TRUE", "iff", "OP", "matches", "a", "V2DF", "reduction", "pattern", ".", "See", "the", "definition", "of", "vsx_reduc_", "<", "VEC_reduc_name", ">", "_v2df", "in", "vsx.md", "." ]
[ "rs6000", "0", "0", "1", "0", "0", "1", "1", "0", "0", "0", "0" ]
rs6000-p8swap
v2df_reduction_p
rs6000
CPU
GCC
27,554
224
1
[]
[ "<s>", "static", "bool", "mips_offset_within_alignment_p", "(", "rtx", "x", ",", "HOST_WIDE_INT", "offset", ")", "{", "HOST_WIDE_INT", "align", ";", "align", "=", "SYMBOL_REF_DECL", "(", "x", ")", "?", "DECL_ALIGN_UNIT", "(", "SYMBOL_REF_DECL", "(", "x", ")", ...
[ "Return", "true", "if", "OFFSET", "is", "within", "the", "range", "[", "0", ",", "ALIGN", ")", ",", "where", "ALIGN", "is", "the", "alignment", "in", "bytes", "of", "SYMBOL_REF", "X", "." ]
[ "mips", "1", "0", "1" ]
mips
mips_offset_within_alignment_p
mips
CPU
GCC
27,555
44
1
[]
[ "<s>", "unsigned", "PPCTargetLowering", "::", "getByValTypeAlignment", "(", "Type", "*", "Ty", ")", "const", "{", "if", "(", "Subtarget", ".", "isDarwin", "(", ")", ")", "return", "4", ";", "unsigned", "Align", "=", "Subtarget", ".", "isPPC64", "(", ")", ...
[ "Return", "the", "desired", "alignment", "for", "ByVal", "aggregate", "function", "arguments", "in", "the", "caller", "parameter", "area", "." ]
[ "PowerPC", "PPC", "4", "PPC", "8", "4", "32", "16" ]
PPCISelLowering148
getByValTypeAlignment
PowerPC
CPU
LLVM
27,556
70
1
[]
[ "<s>", "static", "void", "mips_init_print_operand_punct", "(", "void", ")", "{", "const", "char", "*", "p", ";", "for", "(", "p", "=", "\"()[]<>*#/?~.@^+$:!\"", ";", "*", "p", ";", "p", "++", ")", "mips_print_operand_punct", "[", "(", "unsigned", "char", "...
[ "Initialize", "mips_print_operand_punct", "." ]
[ "mips", "\"()[]<>*#/?~.@^+$:!\"" ]
mips
mips_init_print_operand_punct
mips
CPU
GCC
27,557
37
1
[]
[ "<s>", "const", "XtensaInstrInfo", "*", "XtensaSubtarget", "::", "getInstrInfo", "(", ")", "const", "{", "return", "&", "InstrInfo", ";", "}", "</s>" ]
[ "TargetInstrInfo", "getter", "." ]
[ "Xtensa", "Xtensa", "Xtensa" ]
XtensaSubtarget1
getInstrInfo
Xtensa
MPU
LLVM
27,558
15
1
[]
[ "<s>", "bool", "RISCVAsmPrinter", "::", "PrintAsmOperand", "(", "const", "MachineInstr", "*", "MI", ",", "unsigned", "OpNo", ",", "const", "char", "*", "ExtraCode", ",", "raw_ostream", "&", "OS", ")", "{", "if", "(", "!", "AsmPrinter", "::", "PrintAsmOperand...
[ "PrintAsmOperand", "-", "Print", "out", "an", "operand", "for", "an", "inline", "asm", "expression", "." ]
[ "RI5CY", "RISCV", "0", "1", "0", "0", "0", "RISCV", "RISCV::X0", "RISCV" ]
RISCVAsmPrinter
PrintAsmOperand
RI5CY
CPU
LLVM
27,559
249
1
[]
[ "<s>", "bool", "HexagonEvaluator", "::", "evaluate", "(", "const", "MachineInstr", "&", "BI", ",", "const", "CellMapType", "&", "Inputs", ",", "BranchTargetList", "&", "Targets", ",", "bool", "&", "FallsThru", ")", "const", "{", "unsigned", "Opc", "=", "BI",...
[ "evaluate", "-", "Evaluate", "Expr", "and", "append", "the", "resulting", "set", "to", "Elts", "." ]
[ "Hexagon", "Hexagon", "Hexagon::J2_jumpf", "Hexagon::J2_jumpfpt", "Hexagon::J2_jumpfnew", "Hexagon::J2_jumpfnewpt", "Hexagon::J2_jumpt", "Hexagon::J2_jumptpt", "Hexagon::J2_jumptnew", "Hexagon::J2_jumptnewpt", "Hexagon::J2_jump", "0", "0", "0", "0", "1", "1" ]
HexagonBitTracker11
evaluate
Hexagon
DSP
LLVM
27,560
238
1
[]
[ "<s>", "void", "function_expander", "::", "add_fixed_operand", "(", "rtx", "x", ")", "{", "m_ops", ".", "safe_grow", "(", "m_ops", ".", "length", "(", ")", "+", "1", ",", "true", ")", ";", "create_fixed_operand", "(", "&", "m_ops", ".", "last", "(", ")...
[ "Add", "an", "operand", "that", "must", "be", "X", ".", "The", "only", "way", "of", "legitimizing", "an", "invalid", "X", "is", "to", "reload", "the", "address", "of", "a", "MEM", "." ]
[ "aarch64", "1" ]
aarch64-sve-builtins1
add_fixed_operand
aarch64
CPU
GCC
27,561
37
1
[]
[ "<s>", "static", "tree", "sh_build_builtin_va_list", "(", "void", ")", "{", "tree", "f_next_o", ",", "f_next_o_limit", ",", "f_next_fp", ",", "f_next_fp_limit", ",", "f_next_stack", ";", "tree", "record", ",", "type_decl", ";", "if", "(", "TARGET_SH5", "||", "...
[ "Define", "the", "`", "__builtin_va_list", "'", "type", "for", "the", "ABI", "." ]
[ "sh", "\"__va_list_tag\"", "\"__va_next_o\"", "\"__va_next_o_limit\"", "\"__va_next_fp\"", "\"__va_next_fp_limit\"", "\"__va_next_stack\"" ]
sh4
sh_build_builtin_va_list
sh
CPU
GCC
27,562
247
1
[]
[ "<s>", "void", "ScheduleDAGPostRA", "::", "dumpSchedule", "(", ")", "const", "{", "for", "(", "MachineBasicBlock", "::", "iterator", "MI", "=", "begin", "(", ")", ",", "ME", "=", "end", "(", ")", ";", "MI", "!=", "ME", ";", "++", "MI", ")", "{", "i...
[ "dump", "the", "scheduled", "Sequence", "." ]
[ "Patmos", "\"Debug Value\\n\"", "\"Missing SUnit\\n\"" ]
PatmosPostRAScheduler
dumpSchedule
Patmos
VLIW
LLVM
27,563
79
1
[]
[ "<s>", "static", "bool", "aarch64_composite_type_p", "(", "const_tree", "type", ",", "machine_mode", "mode", ")", "{", "if", "(", "aarch64_short_vector_p", "(", "type", ",", "mode", ")", ")", "return", "false", ";", "if", "(", "type", "&&", "(", "AGGREGATE_T...
[ "Return", "TRUE", "if", "the", "type", ",", "as", "described", "by", "TYPE", "and", "MODE", ",", "is", "a", "composite", "type", "as", "described", "in", "AAPCS64", "\\S", "4.3", ".", "This", "includes", "aggregate", ",", "union", "and", "array", "types"...
[ "aarch64" ]
aarch64
aarch64_composite_type_p
aarch64
CPU
GCC
27,564
71
1
[]
[ "<s>", "MCSection", "*", "MipsTargetObjectFile", "::", "getSectionForConstant", "(", "const", "DataLayout", "&", "DL", ",", "SectionKind", "Kind", ",", "const", "Constant", "*", "C", ",", "Align", "&", "Alignment", ")", "const", "{", "if", "(", "IsConstantInSm...
[ "Given", "a", "constant", "with", "the", "SectionKind", ",", "return", "a", "section", "that", "it", "should", "be", "placed", "in", "." ]
[ "Mips", "Mips" ]
MipsTargetObjectFile21
getSectionForConstant
Mips
CPU
LLVM
27,565
55
1
[]
[ "<s>", "Sched", "::", "Preference", "ARMTargetLowering", "::", "getSchedulingPreference", "(", "SDNode", "*", "N", ")", "const", "{", "unsigned", "NumVals", "=", "N", "->", "getNumValues", "(", ")", ";", "if", "(", "!", "NumVals", ")", "return", "Sched", "...
[ "Some", "scheduler", ",", "e.g", "." ]
[ "ARM", "ARM", "0", "2" ]
ARMISelLowering54
getSchedulingPreference
ARM
CPU
LLVM
27,566
179
1
[]
[ "<s>", "OperandMatchResultTy", "LanaiAsmParser", "::", "tryParseRegister", "(", "unsigned", "&", "RegNum", ",", "SMLoc", "&", "StartLoc", ",", "SMLoc", "&", "EndLoc", ")", "{", "const", "AsmToken", "&", "Tok", "=", "getParser", "(", ")", ".", "getTok", "(", ...
[ "tryParseRegister", "-", "parse", "one", "register", "if", "possible" ]
[ "Lanai", "Lanai", "Lanai" ]
LanaiAsmParser10
tryParseRegister
Lanai
CPU
LLVM
27,567
81
1
[]
[ "<s>", "static", "int", "s390_sched_score", "(", "rtx_insn", "*", "insn", ")", "{", "unsigned", "int", "mask", "=", "s390_get_sched_attrmask", "(", "insn", ")", ";", "int", "score", "=", "0", ";", "switch", "(", "sched_state", ".", "group_state", ")", "{",...
[ "Return", "the", "scheduling", "score", "for", "INSN", ".", "The", "higher", "the", "score", "the", "better", ".", "The", "score", "is", "calculated", "from", "the", "OOO", "scheduling", "attributes", "of", "INSN", "and", "the", "scheduling", "state", "s390_...
[ "s390", "0", "0", "0", "0", "5", "0", "10", "1", "0", "0", "0", "10", "0", "5", "0", "15", "2", "0", "0", "0", "10", "0", "10", "0", "0", "15", "1", "0", "1", "1", "0", "10", "10", "0", "10", "10" ]
s390
s390_sched_score
s390
MPU
GCC
27,568
429
1
[]
[ "<s>", "bool", "isCheapToSpeculateCttz", "(", ")", "const", "override", "{", "return", "true", ";", "}", "</s>" ]
[ "Return", "true", "if", "it", "is", "cheap", "to", "speculate", "a", "call", "to", "intrinsic", "cttz", "." ]
[ "AArch64" ]
AArch64ISelLowering (2)
isCheapToSpeculateCttz
AArch64
CPU
LLVM
27,569
11
1
[]
[ "<s>", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"SPIRV Pre-GISel Legalizer\"", ";", "}", "</s>" ]
[ "getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "." ]
[ "SPIRV", "\"SPIRV Pre-GISel Legalizer\"" ]
SPIRVPreTranslationLegalizer
getPassName
SPIRV
Virtual ISA
LLVM
27,570
11
1
[]
[ "<s>", "void", "mmix_expand_epilogue", "(", "void", ")", "{", "HOST_WIDE_INT", "locals_size", "=", "get_frame_size", "(", ")", ";", "int", "regno", ";", "HOST_WIDE_INT", "stack_space_to_deallocate", "=", "(", "crtl", "->", "outgoing_args_size", "+", "crtl", "->", ...
[ "Expands", "the", "function", "epilogue", "into", "RTX", "." ]
[ "mmix", "7", "7", "255", "8", "16", "8", "8", "8", "0", "\"stack frame not a multiple of octabyte: %wd\"", "255", "255", "0", "8", "7", "7", "16", "8", "255", "0", "8", "0" ]
mmix
mmix_expand_epilogue
mmix
CPU
GCC
27,571
339
1
[]
[ "<s>", "bool", "PatmosPostRASchedStrategy", "::", "isSchedulingBoundary", "(", "const", "MachineInstr", "*", "MI", ",", "const", "MachineBasicBlock", "*", "MBB", ",", "const", "MachineFunction", "&", "MF", ")", "{", "if", "(", "MI", "->", "isDebugValue", "(", ...
[ "isSchedulingBoundary", "-", "Overrides", "the", "isSchedulingBoundary", "from", "Codegen/TargetInstrInfo.cpp", "to", "make", "it", "capable", "of", "identifying", "ENDBR", "intructions", "and", "prevent", "it", "from", "being", "re-scheduled", "." ]
[ "Patmos", "Patmos" ]
PatmosSchedStrategy
isSchedulingBoundary
Patmos
VLIW
LLVM
27,572
90
1
[]
[ "<s>", "MachineInstr", "*", "Z80oldInstrInfo", "::", "foldMemoryOperandImpl", "(", "MachineFunction", "&", "MF", ",", "MachineInstr", "&", "MI", ",", "ArrayRef", "<", "unsigned", ">", "Ops", ",", "MachineBasicBlock", "::", "iterator", "InsertPt", ",", "MachineInst...
[ "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", "." ]
[ "Z80old", "Z80old", "\"Unimplemented\"" ]
Z80oldInstrInfo
foldMemoryOperandImpl
Z80old
MPU
LLVM
27,573
44
1
[]
[ "<s>", "bool", "AMDGPUSubtarget", "::", "makeLIDRangeMetadata", "(", "Instruction", "*", "I", ")", "const", "{", "Function", "*", "Kernel", "=", "I", "->", "getParent", "(", ")", "->", "getParent", "(", ")", ";", "unsigned", "MinSize", "=", "0", ";", "un...
[ "Creates", "value", "range", "metadata", "on", "an", "workitemid", ".", "*", "intrinsic", "call", "or", "load", "." ]
[ "AMDGPU", "AMDGPU", "0", "Intrinsic::amdgcn_workitem_id_x", "Intrinsic::r600_read_tidig_x", "Intrinsic::r600_read_local_size_x", "0", "Intrinsic::amdgcn_workitem_id_y", "Intrinsic::r600_read_tidig_y", "Intrinsic::r600_read_local_size_y", "1", "Intrinsic::amdgcn_workitem_id_z", "Intrinsic::r6...
AMDGPUSubtarget10
makeLIDRangeMetadata
AMDGPU
GPU
LLVM
27,574
294
1
[]
[ "<s>", "unsigned", "MipsFunctionInfo", "::", "getGlobalBaseReg", "(", ")", "{", "if", "(", "GlobalBaseReg", ")", "return", "GlobalBaseReg", ";", "const", "MipsSubtarget", "&", "ST", "=", "MF", ".", "getTarget", "(", ")", ".", "getSubtarget", "<", "MipsSubtarge...
[ "getGlobalBaseReg", "-", "Return", "a", "virtual", "register", "initialized", "with", "the", "the", "global", "base", "register", "value", "." ]
[ "Mips", "Mips", "Mips", "Mips", "Mips::CPU64RegsRegClass", "Mips::CPURegsRegClass" ]
MipsMachineFunction15
getGlobalBaseReg
Mips
CPU
LLVM
27,575
78
1
[]
[ "<s>", "unsigned", "X86InstrInfo", "::", "getGlobalBaseReg", "(", "MachineFunction", "*", "MF", ")", "const", "{", "assert", "(", "!", "TM", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ".", "is64Bit", "(", ")", "&&", "\"X86-64 PIC uses RIP relativ...
[ "getGlobalBaseReg", "-", "Return", "a", "virtual", "register", "initialized", "with", "the", "the", "global", "base", "register", "value", "." ]
[ "X86", "X86", "X86", "\"X86-64 PIC uses RIP relative addressing\"", "X86", "X86", "X86", "X86", "0", "X86::GR32RegisterClass", "X86" ]
X86InstrInfo12
getGlobalBaseReg
X86
CPU
LLVM
27,576
93
1
[]
[ "<s>", "const", "GBZ80RegisterInfo", "*", "getRegisterInfo", "(", ")", "const", "override", "{", "return", "&", "InstrInfo", ".", "getRegisterInfo", "(", ")", ";", "}", "</s>" ]
[ "getRegisterInfo", "-", "TargetInstrInfo", "is", "a", "superset", "of", "MRegister", "info", "." ]
[ "GBZ80", "GB" ]
GBZ80Subtarget
getRegisterInfo
GBZ80
MPU
LLVM
27,577
18
1
[]
[ "<s>", "void", "override_options", "(", "void", ")", "{", "init_machine_status", "=", "s390_init_machine_status", ";", "if", "(", "!", "(", "target_flags_explicit", "&", "MASK_ZARCH", ")", ")", "{", "if", "(", "TARGET_64BIT", ")", "target_flags", "|=", "MASK_ZAR...
[ "Set", "global", "variables", "as", "needed", "for", "the", "options", "enabled", "." ]
[ "s390", "\"z900\"", "\"g5\"", "\"z/Architecture mode not supported on %s\"", "\"64-bit ABI not supported in ESA/390 mode\"", "\"-mbackchain -mpacked-stack -mhard-float are not supported \"", "\"in combination\"", "\"-mstack-size implies use of -mstack-guard\"", "\"stack size must be greater than the...
s3903
override_options
s390
MPU
GCC
27,578
203
1
[]
[ "<s>", "bool", "AArch64InstrInfo", "::", "shouldClusterMemOps", "(", "MachineOperand", "&", "BaseOp1", ",", "MachineOperand", "&", "BaseOp2", ",", "unsigned", "NumLoads", ")", "const", "{", "MachineInstr", "&", "FirstLdSt", "=", "*", "BaseOp1", ".", "getParent", ...
[ "Returns", "true", "if", "the", "two", "given", "memory", "operations", "should", "be", "scheduled", "adjacent", "." ]
[ "AArch64", "AArch64", "\"Only base registers and frame indices are supported.\"", "1", "2", "2", "63", "64", "\"Caller should have ordered offsets.\"", "\"Caller should have ordered offsets.\"", "1" ]
AArch64InstrInfo (2)1
shouldClusterMemOps
AArch64
CPU
LLVM
27,579
352
1
[]
[ "<s>", "void", "ARMTargetStreamer", "::", "emitCurrentConstantPool", "(", ")", "{", "ConstantPools", "->", "emitForCurrentSection", "(", "Streamer", ")", ";", "}", "</s>" ]
[ "Callback", "used", "to", "implement", "the", ".ltorg", "directive", "." ]
[ "ARM", "ARM" ]
ARMTargetStreamer (2)
emitCurrentConstantPool
ARM
CPU
LLVM
27,580
15
1
[]
[ "<s>", "bool", "ARMAsmParser", "::", "ParseInstruction", "(", "const", "StringRef", "&", "Name", ",", "SMLoc", "NameLoc", ",", "SmallVectorImpl", "<", "MCParsedAsmOperand", "*", ">", "&", "Operands", ")", "{", "Operands", ".", "push_back", "(", "new", "ARMOper...
[ "ParseInstruction", "-", "Parse", "one", "assembly", "instruction", "." ]
[ "ARM", "ARM", "ARM", "ARM", "ARM", "ARM", "ARM" ]
ARMAsmParser79
ParseInstruction
ARM
CPU
LLVM
27,581
136
1
[]
[ "<s>", "MachineBasicBlock", "::", "iterator", "RISCVInstrInfo", "::", "insertOutlinedCall", "(", "Module", "&", "M", ",", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "&", "It", ",", "MachineFunction", "&", "MF", ",", "const", "ou...
[ "Insert", "a", "call", "to", "an", "outlined", "function", "into", "the", "program", "." ]
[ "RISCV", "RISCV", "RISCV::PseudoCALLReg", "RISCV::X5", "0", "RISCVII::MO_CALL" ]
RISCVInstrInfo (2)
insertOutlinedCall
RISCV
CPU
LLVM
27,582
87
1
[]
[ "<s>", "static", "void", "pdp11_conditional_register_usage", "(", "void", ")", "{", "int", "i", ";", "HARD_REG_SET", "x", ";", "if", "(", "!", "TARGET_FPU", ")", "{", "COPY_HARD_REG_SET", "(", "x", ",", "reg_class_contents", "[", "(", "int", ")", "FPU_REGS",...
[ "Make", "sure", "everything", "'s", "fine", "if", "we", "*", "do", "n't", "*", "have", "an", "FPU", ".", "This", "assumes", "that", "putting", "a", "register", "in", "fixed_regs", "will", "keep", "the", "compiler", "'s", "mitts", "completely", "off", "it...
[ "pdp11", "0", "1", "1", "8", "\"fr0\"", "9", "\"fr1\"", "10", "\"fr2\"", "11", "\"fr3\"", "12", "\"fr4\"", "13", "\"fr5\"" ]
pdp114
pdp11_conditional_register_usage
pdp11
MPU
GCC
27,583
127
1
[]
[ "<s>", "int", "aarch_crypto_can_dual_issue", "(", "rtx_insn", "*", "producer_insn", ",", "rtx_insn", "*", "consumer_insn", ")", "{", "rtx", "producer_set", ",", "consumer_set", ";", "rtx", "producer_src", ",", "consumer_src", ";", "producer_set", "=", "single_set", ...
[ "In", "ARMv8-A", "there", "'s", "a", "general", "expectation", "that", "AESE/AESMC", "and", "AESD/AESIMC", "sequences", "of", "the", "form", ":", "AESE", "Vn", ",", "_", "AESMC", "Vn", ",", "Vn", "will", "issue", "both", "instructions", "in", "a", "single"...
[ "arm", "1", "1", "1", "1", "0", "0", "0" ]
aarch-common3
aarch_crypto_can_dual_issue
arm
CPU
GCC
27,584
168
1
[]
[ "<s>", "bool", "ix86_dep_by_shift_count", "(", "const_rtx", "set_insn", ",", "const_rtx", "use_insn", ")", "{", "return", "ix86_dep_by_shift_count_body", "(", "PATTERN", "(", "set_insn", ")", ",", "PATTERN", "(", "use_insn", ")", ")", ";", "}", "</s>" ]
[ "Return", "true", "if", "destination", "reg", "of", "SET_INSN", "is", "shift", "count", "of", "USE_INSN", "." ]
[ "i386" ]
i386
ix86_dep_by_shift_count
i386
CPU
GCC
27,585
25
1
[]
[ "<s>", "M68K_CONST_METHOD", "m68k_const_method", "(", "HOST_WIDE_INT", "i", ")", "{", "unsigned", "u", ";", "if", "(", "USE_MOVQ", "(", "i", ")", ")", "return", "MOVQ", ";", "if", "(", "!", "TARGET_COLDFIRE", ")", "{", "if", "(", "USE_MOVQ", "(", "i", ...
[ "Return", "the", "type", "of", "move", "that", "should", "be", "used", "for", "integer", "I", "." ]
[ "m68k", "0xff", "0xffff", "65408", "16", "16", "0", "65535", "32768", "32767" ]
m68k
m68k_const_method
m68k
MPU
GCC
27,586
122
1
[]
[ "<s>", "int", "MipsSEFrameLowering", "::", "getFrameIndexReference", "(", "const", "MachineFunction", "&", "MF", ",", "int", "FI", ",", "unsigned", "&", "FrameReg", ")", "const", "{", "const", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "("...
[ "getFrameIndexReference", "-", "This", "method", "should", "return", "the", "base", "register", "and", "offset", "used", "to", "reference", "a", "frame", "index", "location", "." ]
[ "Mips", "Mips", "Mips" ]
MipsSEFrameLowering16
getFrameIndexReference
Mips
CPU
LLVM
27,587
112
1
[]
[ "<s>", "HOST_WIDE_INT", "const_vector_elt_as_int", "(", "rtx", "op", ",", "unsigned", "int", "elt", ")", "{", "rtx", "tmp", ";", "gcc_assert", "(", "GET_MODE", "(", "op", ")", "!=", "V2DImode", "&&", "GET_MODE", "(", "op", ")", "!=", "V2DFmode", ")", ";"...
[ "Interpret", "element", "ELT", "of", "the", "CONST_VECTOR", "OP", "as", "an", "integer", "value", ".", "If", "the", "mode", "of", "OP", "is", "MODE_VECTOR_INT", ",", "this", "simply", "returns", "the", "corresponding", "element", "of", "the", "vector", ",", ...
[ "rs6000" ]
rs60004
const_vector_elt_as_int
rs6000
CPU
GCC
27,588
72
1
[]
[ "<s>", "unsigned", "getReg", "(", ")", "const", "override", "{", "return", "0", ";", "}", "</s>" ]
[ "Returns", "the", "register", "associated", "with", "this", "edge", "." ]
[ "R600", "0" ]
AMDGPUAsmParser43
getReg
R600
GPU
LLVM
27,589
11
1
[]
[ "<s>", "static", "void", "dimode_remove_non_convertible_regs", "(", "bitmap", "candidates", ")", "{", "bitmap_iterator", "bi", ";", "unsigned", "id", ";", "bitmap", "regs", "=", "BITMAP_ALLOC", "(", "NULL", ")", ";", "EXECUTE_IF_SET_IN_BITMAP", "(", "candidates", ...
[ "The", "DImode", "version", "of", "remove_non_convertible_regs", "." ]
[ "i386", "0", "\"r%d has non convertible definition in insn %d\\n\"", "0", "\"Removing insn %d from candidates list\\n\"" ]
i3866
dimode_remove_non_convertible_regs
i386
CPU
GCC
27,590
229
1
[]
[ "<s>", "void", "MipsRegisterBankInfo", "::", "applyMappingImpl", "(", "const", "OperandsMapper", "&", "OpdMapper", ")", "const", "{", "MachineInstr", "&", "MI", "=", "OpdMapper", ".", "getMI", "(", ")", ";", "InstListTy", "NewInstrs", ";", "MachineIRBuilder", "B...
[ "See", "RegisterBankInfo", ":", ":applyMapping", "." ]
[ "Mips", "Mips", "0", "32", "2", "32", "\"Only 32 bit gprb is handled here.\\n\"", "Mips::GPRBRegBankID", "2" ]
MipsRegisterBankInfo2
applyMappingImpl
Mips
CPU
LLVM
27,591
347
1
[]
[ "<s>", "bool", "LanaiAsmParser", "::", "ParseDirective", "(", "AsmToken", ")", "{", "return", "true", ";", "}", "</s>" ]
[ "ParseDirective", "-", "Parse", "a", "target", "specific", "assembler", "directive", "This", "method", "is", "deprecated", ",", "use", "'parseDirective", "'", "instead", "." ]
[ "Lanai", "Lanai" ]
LanaiAsmParser (2)
ParseDirective
Lanai
CPU
LLVM
27,592
12
1
[]
[ "<s>", "static", "int", "m68k_return_pops_args", "(", "tree", "fundecl", ",", "tree", "funtype", ",", "int", "size", ")", "{", "return", "(", "(", "TARGET_RTD", "&&", "(", "!", "fundecl", "||", "TREE_CODE", "(", "fundecl", ")", "!=", "IDENTIFIER_NODE", ")"...
[ "On", "the", "68000", ",", "the", "RTS", "insn", "can", "not", "pop", "anything", ".", "On", "the", "68010", ",", "the", "RTD", "insn", "may", "be", "used", "to", "pop", "them", "if", "the", "number", "of", "args", "is", "fixed", ",", "but", "if", ...
[ "m68k", "0" ]
m68k4
m68k_return_pops_args
m68k
MPU
GCC
27,593
46
1
[]
[ "<s>", "bool", "TOYPassConfig", "::", "addPreISel", "(", ")", "{", "return", "false", ";", "}", "</s>" ]
[ "{", "{", "@", "For", "GlobalISel" ]
[ "TOY", "TOY" ]
TOYTargetMachine1
addPreISel
TOY
CPU
LLVM
27,594
11
1
[]
[ "<s>", "ARMBaseTargetMachine", "::", "ARMBaseTargetMachine", "(", "const", "Target", "&", "T", ",", "StringRef", "TT", ",", "StringRef", "CPU", ",", "StringRef", "FS", ",", "const", "TargetOptions", "&", "Options", ",", "Reloc", "::", "Model", "RM", ",", "Co...
[ "Create", "an", "ARM", "architecture", "model", "." ]
[ "ARM", "ARM", "ARM" ]
ARMTargetMachine27
ARMBaseTargetMachine
ARM
CPU
LLVM
27,595
113
1
[]
[ "<s>", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", "\"Merge internal globals\"", ";", "}", "</s>" ]
[ "getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "." ]
[ "ARM", "\"Merge internal globals\"" ]
ARMGlobalMerge
getPassName
ARM
CPU
LLVM
27,596
12
1
[]
[ "<s>", "unsigned", "HexagonInstrInfo", "::", "getSize", "(", "const", "MachineInstr", "&", "MI", ")", "const", "{", "if", "(", "MI", ".", "isDebugInstr", "(", ")", "||", "MI", ".", "isPosition", "(", ")", ")", "return", "0", ";", "unsigned", "Size", "=...
[ "Return", "the", "number", "of", "bytes", "in", "the", "encoding", "of", "this", "instruction", ",", "or", "zero", "if", "the", "encoding", "size", "can", "not", "be", "known", "from", "the", "opcode", "." ]
[ "Hexagon", "Hexagon", "0", "Hexagon::INLINEASM", "0", "2", "\"No asm string?\"", "\"No asm string?\"" ]
HexagonInstrInfo (2)2
getSize
Hexagon
DSP
LLVM
27,597
215
1
[]
[ "<s>", "TargetPassConfig", "*", "RISCVTargetMachine", "::", "createPassConfig", "(", "PassManagerBase", "&", "PM", ")", "{", "return", "new", "RISCVPassConfig", "(", "*", "this", ",", "PM", ")", ";", "}", "</s>" ]
[ "Create", "a", "pass", "configuration", "object", "to", "be", "used", "by", "addPassToEmitX", "methods", "for", "generating", "a", "pipeline", "of", "CodeGen", "passes", "." ]
[ "RISCV", "RISCV", "RISCV" ]
RISCVTargetMachine
createPassConfig
RISCV
CPU
LLVM
27,598
22
1
[]
[ "<s>", "void", "mn10300_gen_multiple_store", "(", "int", "mask", ")", "{", "if", "(", "mask", "!=", "0", ")", "{", "int", "i", ";", "int", "count", ";", "rtx", "par", ";", "int", "pari", ";", "count", "=", "0", ";", "for", "(", "i", "=", "0", "...
[ "Generate", "an", "instruction", "that", "pushes", "several", "registers", "onto", "the", "stack", ".", "Register", "K", "will", "be", "saved", "if", "bit", "K", "in", "MASK", "is", "set", ".", "The", "function", "does", "nothing", "if", "MASK", "is", "z...
[ "mn10300", "0", "0", "0", "1", "0", "1", "1", "0", "0", "4", "1", "0", "1", "0", "4", "0", "1", "1" ]
mn103003
mn10300_gen_multiple_store
mn10300
MPU
GCC
27,599
205
1
[]