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", "unsigned", "size", "(", "const", "agraph", "&", "G", ")", "{", "return", "G", ".", "Blocks", ".", "size", "(", ")", ";", "}", "</s>" ]
[ "The", "number", "of", "name/type", "pairs", "is", "returned", "." ]
[ "Patmos" ]
PatmosFunctionSplitter
size
Patmos
VLIW
LLVM
2,200
20
1
[]
[ "<s>", "bool", "X86TTIImpl", "::", "isLegalMaskedGather", "(", "Type", "*", "DataTy", ",", "MaybeAlign", "Alignment", ")", "{", "if", "(", "!", "(", "ST", "->", "hasAVX512", "(", ")", "||", "(", "ST", "->", "hasFastGather", "(", ")", "&&", "ST", "->", ...
[ "Return", "true", "if", "the", "target", "supports", "masked", "gather", "." ]
[ "X86", "X86", "1", "32", "64" ]
X86TargetTransformInfo119
isLegalMaskedGather
X86
CPU
LLVM
2,201
146
1
[]
[ "<s>", "SDValue", "AArch64TargetLowering", "::", "LowerOperation", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "\"Don't know how t...
[ "LowerOperation", "-", "Provide", "custom", "lowering", "hooks", "for", "some", "operations", "." ]
[ "AArch64", "AArch64", "\"Don't know how to custom lower this!\"", "ISD::FADD", "ISD::FSUB", "ISD::FMUL", "ISD::FDIV", "ISD::FP_TO_SINT", "ISD::FP_TO_UINT", "ISD::SINT_TO_FP", "ISD::UINT_TO_FP", "ISD::FP_ROUND", "ISD::FP_EXTEND", "ISD::BlockAddress", "ISD::BRCOND", "ISD::BR_CC", "ISD:...
AArch64ISelLowering138
LowerOperation
AArch64
CPU
LLVM
2,202
364
1
[]
[ "<s>", "static", "void", "save_reg", "(", "int", "regno", ",", "unsigned", "offset", ")", "{", "rtx", "reg", "=", "gen_rtx_REG", "(", "SImode", ",", "regno", ")", ";", "rtx", "addr", "=", "plus_constant", "(", "Pmode", ",", "stack_pointer_rtx", ",", "off...
[ "Generate", "save/restore", "of", "register", "REGNO", "at", "SP", "+", "OFFSET", ".", "Used", "by", "the", "prologue/epilogue", "expand", "routines", "." ]
[ "nios2", "1" ]
nios2
save_reg
nios2
MPU
GCC
2,203
59
1
[]
[ "<s>", "static", "void", "thumb_pop", "(", "FILE", "*", "f", ",", "unsigned", "long", "mask", ")", "{", "int", "regno", ";", "int", "lo_mask", "=", "mask", "&", "0xFF", ";", "int", "pushed_words", "=", "0", ";", "gcc_assert", "(", "mask", ")", ";", ...
[ "Emit", "code", "to", "push", "or", "pop", "registers", "to", "or", "from", "the", "stack", ".", "F", "is", "the", "assembly", "file", ".", "MASK", "is", "the", "registers", "to", "pop", "." ]
[ "arm", "0xFF", "0", "0", "1", "1", "\"\\tpop\\t{\"", "0", "1", "1", "\"%r\"", "1", "0", "\", \"", "1", "\"}\\n\"", "1", "0xFF", "\", \"", "\"%r\"", "\"}\\n\"" ]
arm6
thumb_pop
arm
CPU
GCC
2,204
206
1
[]
[ "<s>", "machine_mode", "ix86_fp_compare_mode", "(", "enum", "rtx_code", ")", "{", "return", "TARGET_IEEE_FP", "?", "CCFPUmode", ":", "CCFPmode", ";", "}", "</s>" ]
[ "Figure", "out", "whether", "to", "use", "ordered", "or", "unordered", "fp", "comparisons", ".", "Return", "the", "appropriate", "mode", "to", "use", "." ]
[ "i386" ]
i3864
ix86_fp_compare_mode
i386
CPU
GCC
2,205
15
1
[]
[ "<s>", "SDNode", "*", "MipsDAGToDAGISel", "::", "getGlobalBaseReg", "(", ")", "{", "unsigned", "GlobalBaseReg", "=", "MF", "->", "getInfo", "<", "MipsFunctionInfo", ">", "(", ")", "->", "getGlobalBaseReg", "(", ")", ";", "return", "CurDAG", "->", "getRegister"...
[ "getGlobalBaseReg", "-", "Return", "a", "virtual", "register", "initialized", "with", "the", "the", "global", "base", "register", "value", "." ]
[ "Mips", "Mips", "Mips" ]
MipsISelDAGToDAG (2)
getGlobalBaseReg
Mips
CPU
LLVM
2,206
50
1
[]
[ "<s>", "static", "int", "arc_save_callee_enter", "(", "unsigned", "int", "gmask", ",", "bool", "save_blink", ",", "bool", "save_fp", ",", "HOST_WIDE_INT", "offset", ")", "{", "int", "start_reg", "=", "ENTER_LEAVE_START_REG", ";", "int", "end_reg", "=", "ENTER_LE...
[ "ARC", "prologue", ",", "save", "the", "registers", "using", "enter", "instruction", ".", "Leave", "instruction", "can", "also", "save", "$", "blink", "(", "SAVE_BLINK", ")", "and", "$", "fp", "(", "SAVE_FP", ")", "register", "." ]
[ "arc", "0", "1L", "1", "1", "1", "0", "1", "0", "1", "0", "1", "0", "1", "0", "0", "0", "1", "0", "0", "1", "1L", "0", "0", "1", "0", "0", "1", "0" ]
arc8
arc_save_callee_enter
arc
MPU
GCC
2,207
467
1
[]
[ "<s>", "rtx", "disi_highpart", "(", "rtx", "in", ")", "{", "return", "simplify_gen_subreg", "(", "SImode", ",", "in", ",", "DImode", ",", "TARGET_BIG_ENDIAN", "?", "0", ":", "4", ")", ";", "}", "</s>" ]
[ "Return", "the", "SImode", "highpart", "of", "the", "DImode", "value", "IN", "." ]
[ "arc", "0", "4" ]
arc
disi_highpart
arc
MPU
GCC
2,208
24
1
[]
[ "<s>", "void", "P2TargetObjectFile", "::", "Initialize", "(", "MCContext", "&", "Ctx", ",", "const", "TargetMachine", "&", "TM", ")", "{", "Base", "::", "Initialize", "(", "Ctx", ",", "TM", ")", ";", "ProgmemDataSection", "=", "Ctx", ".", "getELFSection", ...
[ "This", "method", "must", "be", "called", "before", "any", "actual", "lowering", "is", "done", "." ]
[ "P2", "P2", "\".progmem.data\"" ]
P2TargetObjectFile
Initialize
P2
MPU
LLVM
2,209
42
1
[]
[ "<s>", "bool", "ARMBaseInstrInfo", "::", "isPredicated", "(", "const", "MachineInstr", "*", "MI", ")", "const", "{", "if", "(", "MI", "->", "isBundle", "(", ")", ")", "{", "MachineBasicBlock", "::", "const_instr_iterator", "I", "=", "MI", "->", "getIterator"...
[ "Returns", "true", "if", "the", "instruction", "is", "already", "predicated", "." ]
[ "ARM", "ARM", "1", "ARMCC::AL", "1", "ARMCC::AL" ]
ARMBaseInstrInfo (2)3
isPredicated
ARM
CPU
LLVM
2,210
131
1
[]
[ "<s>", "MipsTargetLowering", "::", "ConstraintType", "MipsTargetLowering", "::", "getConstraintType", "(", "const", "std", "::", "string", "&", "Constraint", ")", "const", "{", "if", "(", "Constraint", ".", "size", "(", ")", "==", "1", ")", "{", "switch", "(...
[ "Given", "a", "constraint", "letter", ",", "return", "the", "type", "of", "constraint", "for", "this", "target", "." ]
[ "Mips", "Mips", "Mips", "1", "0" ]
MipsISelLowering (2)3
getConstraintType
Mips
CPU
LLVM
2,211
62
1
[]
[ "<s>", "X86TargetLowering", "::", "ConstraintType", "X86TargetLowering", "::", "getConstraintType", "(", "StringRef", "Constraint", ")", "const", "{", "if", "(", "Constraint", ".", "size", "(", ")", "==", "1", ")", "{", "switch", "(", "Constraint", "[", "0", ...
[ "Given", "a", "constraint", "letter", ",", "return", "the", "type", "of", "constraint", "for", "this", "target", "." ]
[ "X86", "X86", "X86", "1", "0", "2", "0", "1", "X86::COND_INVALID" ]
X86ISelLowering (2)5
getConstraintType
X86
CPU
LLVM
2,212
223
1
[]
[ "<s>", "bool", "empty", "(", ")", "const", "{", "return", "Q", ".", "empty", "(", ")", ";", "}", "</s>" ]
[ "Determine", "whether", "this", "version", "information", "is", "empty", "(", "e.g.", ",", "all", "version", "components", "are", "zero", ")", "." ]
[ "Hexagon" ]
HexagonLoopIdiomRecognition
empty
Hexagon
DSP
LLVM
2,213
14
1
[]
[ "<s>", "void", "MipsSubtarget", "::", "resetSubtarget", "(", "MachineFunction", "*", "MF", ")", "{", "bool", "ChangeToMips16", "=", "false", ",", "ChangeToNoMips16", "=", "false", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "\"resetSubtargetFeatures\"", "<<", "...
[ "Reset", "the", "subtarget", "for", "the", "Mips", "target", "." ]
[ "Mips", "Mips", "Mips", "Mips", "\"resetSubtargetFeatures\"", "\"\\n\"", "Mips", "\"mips16\"", "Mips", "\"nomips16\"", "Mips", "Mips", "\"mips16 and nomips16 specified on the same function\"", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips", "Mips",...
MipsSubtarget16
resetSubtarget
Mips
CPU
LLVM
2,214
211
1
[]
[ "<s>", "bool", "RISCVInstrInfo", "::", "reverseBranchCondition", "(", "SmallVectorImpl", "<", "MachineOperand", ">", "&", "Cond", ")", "const", "{", "if", "(", "Cond", "[", "0", "]", ".", "getImm", "(", ")", "==", "RISCV", "::", "HwlpBranch", ")", "{", "...
[ "Reverses", "the", "branch", "condition", "of", "the", "specified", "condition", "list", ",", "returning", "false", "on", "success", "and", "true", "if", "it", "can", "not", "be", "reversed", "." ]
[ "RISCV", "RISCV", "0", "RISCV::HwlpBranch", "3", "\"Invalid branch condition!\"", "0", "0" ]
RISCVInstrInfo2
reverseBranchCondition
RISCV
CPU
LLVM
2,215
73
1
[]
[ "<s>", "bool", "X86RegisterInfo", "::", "canRealignStack", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "const", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "MachineRegisterInfo", "*", "MRI", "=", ...
[ "True", "if", "the", "stack", "can", "be", "realigned", "for", "the", "target", "." ]
[ "X86", "X86" ]
X86RegisterInfo24
canRealignStack
X86
CPU
LLVM
2,216
84
1
[]
[ "<s>", "InstructionCost", "RISCVTTIImpl", "::", "getIntImmCost", "(", "const", "APInt", "&", "Imm", ",", "Type", "*", "Ty", ",", "TTI", "::", "TargetCostKind", "CostKind", ")", "{", "assert", "(", "Ty", "->", "isIntegerTy", "(", ")", "&&", "\"getIntImmCost c...
[ "Calculate", "the", "cost", "of", "materializing", "a", "64-bit", "value", "." ]
[ "RISCV", "RISCV", "\"getIntImmCost can only estimate cost of materialising integers\"", "0", "RISCVMatInt::getIntMatCost" ]
RISCVTargetTransformInfo12
getIntImmCost
RISCV
CPU
LLVM
2,217
75
1
[]
[ "<s>", "static", "const", "char", "*", "mmix_strip_name_encoding", "(", "const", "char", "*", "name", ")", "{", "for", "(", ";", "(", "*", "name", "==", "'@'", "||", "*", "name", "==", "'*'", ")", ";", "name", "++", ")", ";", "return", "name", ";",...
[ "STRIP_NAME_ENCODING", "." ]
[ "mmix" ]
mmix
mmix_strip_name_encoding
mmix
CPU
GCC
2,218
35
1
[]
[ "<s>", "static", "bool", "avr_function_ok_for_sibcall", "(", "tree", "decl_callee", ",", "tree", "exp_callee", ")", "{", "tree", "fntype_callee", ";", "if", "(", "cfun", "->", "machine", "->", "sibcall_fails", "||", "TARGET_CALL_PROLOGUES", ")", "{", "return", "...
[ "Decide", "whether", "we", "can", "make", "a", "sibling", "call", "to", "a", "function", ".", "DECL", "is", "the", "declaration", "of", "the", "function", "being", "targeted", "by", "the", "call", "and", "EXP", "is", "the", "CALL_EXPR", "representing", "th...
[ "avr" ]
avr
avr_function_ok_for_sibcall
avr
MPU
GCC
2,219
118
1
[]
[ "<s>", "const", "MCFixupKindInfo", "&", "X86AsmBackend", "::", "getFixupKindInfo", "(", "MCFixupKind", "Kind", ")", "const", "{", "const", "static", "MCFixupKindInfo", "Infos", "[", "X86", "::", "NumTargetFixupKinds", "]", "=", "{", "{", "\"reloc_riprel_4byte\"", ...
[ "Get", "information", "on", "a", "fixup", "kind", "." ]
[ "X86", "X86", "X86::NumTargetFixupKinds", "\"reloc_riprel_4byte\"", "0", "32", "\"reloc_riprel_4byte_movq_load\"", "0", "32", "\"reloc_riprel_4byte_relax\"", "0", "32", "\"reloc_riprel_4byte_relax_rex\"", "0", "32", "\"reloc_signed_4byte\"", "0", "32", "0", "\"reloc_signed_4byt...
X86AsmBackend17
getFixupKindInfo
X86
CPU
LLVM
2,220
178
1
[]
[ "<s>", "static", "tree", "fully_fold_convert", "(", "tree", "type", ",", "tree", "expr", ")", "{", "tree", "result", "=", "fold_convert", "(", "type", ",", "expr", ")", ";", "bool", "maybe_const", "=", "true", ";", "if", "(", "!", "c_dialect_cxx", "(", ...
[ "In", "addition", "to", "calling", "fold_convert", "for", "EXPR", "of", "type", "TYPE", ",", "also", "call", "c_fully_fold", "to", "remove", "any", "C_MAYBE_CONST_EXPRs", "that", "could", "be", "hiding", "there", "(", "PR47197", ")", "." ]
[ "rs6000" ]
rs6000-c
fully_fold_convert
rs6000
CPU
GCC
2,221
49
1
[]
[ "<s>", "static", "void", "nvptx_assemble_value", "(", "unsigned", "HOST_WIDE_INT", "val", ",", "unsigned", "size", ")", "{", "val", "&=", "(", "(", "unsigned", "HOST_WIDE_INT", ")", "2", "<<", "(", "size", "*", "BITS_PER_UNIT", "-", "1", ")", ")", "-", "...
[ "Add", "value", "VAL", "sized", "SIZE", "to", "the", "data", "we", "'re", "emitting", ",", "and", "keep", "writing", "out", "chunks", "as", "they", "fill", "up", "." ]
[ "nvptx", "2", "1", "1", "0" ]
nvptx3
nvptx_assemble_value
nvptx
GPU
GCC
2,222
119
1
[]
[ "<s>", "static", "void", "abort_with_insn", "(", "rtx", "insn", ",", "const", "char", "*", "reason", ")", "{", "error", "(", "reason", ")", ";", "debug_rtx", "(", "insn", ")", ";", "fancy_abort", "(", "__FILE__", ",", "__LINE__", ",", "__FUNCTION__", ")"...
[ "Abort", "after", "printing", "out", "a", "specific", "insn", "." ]
[ "iq2000" ]
iq2000
abort_with_insn
iq2000
CPU
GCC
2,223
33
1
[]
[ "<s>", "NVPTXSubtarget", "&", "NVPTXSubtarget", "::", "initializeSubtargetDependencies", "(", "StringRef", "CPU", ",", "StringRef", "FS", ")", "{", "TargetName", "=", "CPU", ".", "empty", "(", ")", "?", "\"sm_20\"", ":", "CPU", ";", "ParseSubtargetFeatures", "("...
[ "initializeSubtargetDependencies", "-", "Initializes", "using", "a", "CPU", ",", "a", "TuneCPU", ",", "and", "feature", "string", "so", "that", "we", "can", "use", "initializer", "lists", "for", "subtarget", "initialization", "." ]
[ "NVPTX", "NVPTX", "NVPTX", "\"sm_20\"", "0", "32" ]
NVPTXSubtarget22
initializeSubtargetDependencies
NVPTX
GPU
LLVM
2,224
49
1
[]
[ "<s>", "std", "::", "string", "getDataLayout", "(", ")", "const", "{", "const", "char", "*", "p", ";", "if", "(", "is64Bit", "(", ")", ")", "p", "=", "\"e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-\"", "\"f32:32:32-f64:64:64-v16:16:16-v32:32:32-v64:64:64-v1...
[ "Return", "the", "DataLayout", "associated", "with", "the", "module", "this", "SCEV", "instance", "is", "operating", "on", "." ]
[ "NVPTX", "\"e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-\"", "\"f32:32:32-f64:64:64-v16:16:16-v32:32:32-v64:64:64-v128:128:128-\"", "\"n16:32:64\"", "\"e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-\"", "\"f32:32:32-f64:64:64-v16:16:16-v32:32:32-v64:64:64-v128:128:128-\"", "\"n16...
NVPTXSubtarget15
getDataLayout
NVPTX
GPU
LLVM
2,225
41
1
[]
[ "<s>", "ARMSubtarget", "::", "ARMSubtarget", "(", "const", "Module", "&", "M", ",", "const", "std", "::", "string", "&", "FS", ",", "bool", "thumb", ")", ":", "ARMArchVersion", "(", "V4T", ")", ",", "HasVFP2", "(", "false", ")", ",", "IsThumb", "(", ...
[ "This", "constructor", "initializes", "the", "data", "members", "to", "match", "that", "of", "the", "specified", "triple", "." ]
[ "ARM", "ARM", "ARM", "ARM", "4", "ARM", "\"generic\"", "0", "5", "0", "4", "\"armv\"", "4", "6", "0", "6", "\"thumb\"", "7", "5", "6", "ARM", "ARM", "3", "1", "2", "ARM", "10", "\"-darwin\"", "\"eabi\"", "ARM", "8" ]
ARMSubtarget57
ARMSubtarget
ARM
CPU
LLVM
2,226
330
1
[]
[ "<s>", "void", "ARMInstPrinter", "::", "printInst", "(", "const", "MCInst", "*", "MI", ")", "{", "printInstruction", "(", "MI", ")", ";", "}", "</s>" ]
[ "Print", "the", "specified", "MCInst", "to", "the", "specified", "raw_ostream", "." ]
[ "ARM", "ARM" ]
ARMInstPrinter32
printInst
ARM
CPU
LLVM
2,227
17
1
[]
[ "<s>", "static", "bool", "aarch64_handle_attr_tune", "(", "const", "char", "*", "str", ",", "const", "char", "*", "pragma_or_attr", ")", "{", "const", "struct", "processor", "*", "tmp_tune", "=", "NULL", ";", "enum", "aarch64_parse_opt_result", "parse_res", "=",...
[ "Handle", "the", "argument", "STR", "to", "the", "tune=", "target", "attribute", ".", "PRAGMA_OR_ATTR", "is", "used", "in", "potential", "error", "messages", "." ]
[ "aarch64", "\"unknown value %qs for 'tune' target %s\"" ]
aarch644
aarch64_handle_attr_tune
aarch64
CPU
GCC
2,228
96
1
[]
[ "<s>", "std", "::", "pair", "<", "unsigned", ",", "const", "TargetRegisterClass", "*", ">", "PPCTargetLowering", "::", "getRegForInlineAsmConstraint", "(", "const", "std", "::", "string", "&", "Constraint", ",", "MVT", "VT", ")", "const", "{", "if", "(", "Co...
[ "Given", "a", "physical", "register", "constraint", "(", "e.g", "." ]
[ "PowerPC", "PPC", "1", "0", "MVT::i64", "PPC", "PPC", "0U", "PPC::G8RC_NOX0RegClass", "0U", "PPC::GPRC_NOR0RegClass", "MVT::i64", "PPC", "PPC", "0U", "PPC::G8RCRegClass", "0U", "PPC::GPRCRegClass", "MVT::f32", "MVT::i32", "0U", "PPC::F4RCRegClass", "MVT::f64", "MVT::i64...
PPCISelLowering29
getRegForInlineAsmConstraint
PowerPC
CPU
LLVM
2,229
322
1
[]
[ "<s>", "bool", "isImm", "(", ")", "const", "override", "{", "return", "Kind", "==", "Immediate", ";", "}", "</s>" ]
[ "isImm", "-", "Is", "this", "an", "immediate", "operand", "?" ]
[ "AMDGPU" ]
AMDGPUAsmParser (2)
isImm
AMDGPU
GPU
LLVM
2,230
13
1
[]
[ "<s>", "bool", "ARMTargetLowering", "::", "getTgtMemIntrinsic", "(", "IntrinsicInfo", "&", "Info", ",", "const", "CallInst", "&", "I", ",", "unsigned", "Intrinsic", ")", "const", "{", "switch", "(", "Intrinsic", ")", "{", "case", "Intrinsic", "::", "arm_neon_v...
[ "Given", "an", "intrinsic", ",", "checks", "if", "on", "the", "target", "the", "intrinsic", "will", "need", "to", "map", "to", "a", "MemIntrinsicNode", "(", "touches", "memory", ")", "." ]
[ "ARM", "ARM", "Intrinsic::arm_neon_vld1", "Intrinsic::arm_neon_vld2", "Intrinsic::arm_neon_vld3", "Intrinsic::arm_neon_vld4", "Intrinsic::arm_neon_vld2lane", "Intrinsic::arm_neon_vld3lane", "Intrinsic::arm_neon_vld4lane", "ISD::INTRINSIC_W_CHAIN", "8", "MVT::i64", "0", "0", "1", "Intri...
ARMISelLowering131
getTgtMemIntrinsic
ARM
CPU
LLVM
2,231
402
1
[]
[ "<s>", "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "\"MVE gather/scatter lowering\"", ";", "}", "</s>" ]
[ "getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "." ]
[ "ARM", "\"MVE gather/scatter lowering\"" ]
MVEGatherScatterLowering (2)
getPassName
ARM
CPU
LLVM
2,232
11
1
[]
[ "<s>", "unsigned", "BPFMCCodeEmitter", "::", "getMachineOpValue", "(", "const", "MCInst", "&", "MI", ",", "const", "MCOperand", "&", "MO", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ")", "const", "{", "if", "(", "MO", ".", "isReg", "(", ...
[ "getMachineOpValue", "-", "Return", "binary", "encoding", "of", "operand", "." ]
[ "BPF", "BPF", "BPF", "BPF::JAL", "0", "BPF::LD_imm64", "0", "0", "0" ]
BPFMCCodeEmitter17
getMachineOpValue
BPF
Virtual ISA
LLVM
2,233
187
1
[]
[ "<s>", "bool", "aarch64_high_bits_all_ones_p", "(", "HOST_WIDE_INT", "i", ")", "{", "return", "exact_log2", "(", "-", "i", ")", "!=", "HOST_WIDE_INT_M1", ";", "}", "</s>" ]
[ "Return", "true", "if", "I", "'s", "bits", "are", "consecutive", "ones", "from", "the", "MSB", "." ]
[ "aarch64" ]
aarch64
aarch64_high_bits_all_ones_p
aarch64
CPU
GCC
2,234
17
1
[]
[ "<s>", "bool", "MSP430AsmPrinter", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "MF", ".", "getFunction", "(", ")", ".", "getCallingConv", "(", ")", "==", "CallingConv", "::", "MSP430_INTR", ")", "EmitInterruptVectorSecti...
[ "runOnMachineFunction", "-", "Emit", "the", "function", "body", "." ]
[ "MSP430", "MSP430", "MSP430" ]
MSP430AsmPrinter
runOnMachineFunction
MSP430
MPU
LLVM
2,235
44
1
[]
[ "<s>", "static", "rtx", "conditionalize_nonjump", "(", "rtx", "pat", ",", "rtx", "cond", ",", "rtx", "insn", ",", "bool", "annulled", ")", "{", "if", "(", "GET_CODE", "(", "pat", ")", "==", "SET", ")", "{", "rtx", "src", "=", "SET_SRC", "(", "pat", ...
[ "Return", "version", "of", "PAT", "conditionalized", "with", "COND", ",", "which", "is", "part", "of", "INSN", ".", "ANNULLED", "indicates", "if", "INSN", "is", "an", "annulled", "delay-slot", "insn", ".", "Register", "further", "changes", "if", "necessary", ...
[ "arc", "0", "1", "1" ]
arc4
conditionalize_nonjump
arc
MPU
GCC
2,236
180
1
[]
[ "<s>", "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "override", "{", "if", "(", "skipFunction", "(", "MF", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "const", "PPCSubtarget", "&", "STI", "=", "MF", ".", "ge...
[ "runOnMachineFunction", "-", "Emit", "the", "function", "body", "." ]
[ "PowerPC", "PPC", "PPC" ]
PPCVSXFMAMutate (2)2
runOnMachineFunction
PowerPC
CPU
LLVM
2,237
126
1
[]
[ "<s>", "bool", "X86IndirectBranchTrackingPass", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "const", "X86Subtarget", "&", "SubTarget", "=", "MF", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ";", "Metadata", "*", "isCFP...
[ "runOnMachineFunction", "-", "Emit", "the", "function", "body", "." ]
[ "X86", "X86", "X86", "X86", "\"cf-protection-branch\"", "X86::ENDBR64", "X86::ENDBR32", "0" ]
X86IndirectBranchTracking16
runOnMachineFunction
X86
CPU
LLVM
2,238
242
1
[]
[ "<s>", "void", "general_scalar_chain", "::", "make_vector_copies", "(", "rtx_insn", "*", "insn", ",", "rtx", "reg", ")", "{", "rtx", "vreg", "=", "*", "defs_map", ".", "get", "(", "reg", ")", ";", "start_sequence", "(", ")", ";", "if", "(", "!", "TARGE...
[ "Make", "vector", "copies", "for", "all", "register", "REGNO", "definitions", "and", "replace", "its", "uses", "in", "a", "chain", "." ]
[ "i386", "0", "0", "4", "4", "0", "0", "0", "0", "0", "4", "2", "0", "0", "0", "4", "0", "0", "0", "0", "\" Copied r%d to a vector register r%d for insn %d\\n\"" ]
i386-features
make_vector_copies
i386
CPU
GCC
2,239
387
1
[]
[ "<s>", "void", "ix86_override_options_after_change", "(", "void", ")", "{", "ix86_default_align", "(", "&", "global_options", ")", ";", "ix86_recompute_optlev_based_flags", "(", "&", "global_options", ",", "&", "global_options_set", ")", ";", "}", "</s>" ]
[ "Implement", "TARGET_OVERRIDE_OPTIONS_AFTER_CHANGE", "hook", "." ]
[ "i386" ]
i386-options
ix86_override_options_after_change
i386
CPU
GCC
2,240
22
1
[]
[ "<s>", "static", "int", "arc_address_cost", "(", "rtx", "addr", ")", "{", "switch", "(", "GET_CODE", "(", "addr", ")", ")", "{", "case", "REG", ":", "return", "1", ";", "case", "LABEL_REF", ":", "case", "SYMBOL_REF", ":", "case", "CONST", ":", "return"...
[ "Provide", "the", "costs", "of", "an", "addressing", "mode", "that", "contains", "ADDR", ".", "If", "ADDR", "is", "not", "a", "valid", "address", ",", "its", "cost", "is", "irrelevant", "." ]
[ "arc", "1", "2", "0", "1", "1", "2", "2", "4" ]
arc3
arc_address_cost
arc
MPU
GCC
2,241
121
1
[]
[ "<s>", "bool", "Thumb2ITBlockPass", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "Fn", ")", "{", "const", "ARMSubtarget", "&", "STI", "=", "static_cast", "<", "const", "ARMSubtarget", "&", ">", "(", "Fn", ".", "getSubtarget", "(", ")", ")", ";"...
[ "runOnMachineFunction", "-", "Emit", "the", "function", "body", "." ]
[ "ARM", "ARM", "ARM", "ARM" ]
Thumb2ITBlockPass (2)
runOnMachineFunction
ARM
CPU
LLVM
2,242
161
1
[]
[ "<s>", "bool", "PPCAsmParser", "::", "ParseDirective", "(", "AsmToken", "DirectiveID", ")", "{", "StringRef", "IDVal", "=", "DirectiveID", ".", "getIdentifier", "(", ")", ";", "if", "(", "IDVal", "==", "\".word\"", ")", "ParseDirectiveWord", "(", "2", ",", "...
[ "ParseDirective", "-", "Parse", "a", "target", "specific", "assembler", "directive", "This", "method", "is", "deprecated", ",", "use", "'parseDirective", "'", "instead", "." ]
[ "PowerPC", "PPC", "\".word\"", "2", "\".llong\"", "8", "\".tc\"", "PPC", "8", "4", "\".machine\"", "\".abiversion\"", "\".localentry\"", "\".gnu_attribute\"" ]
PPCAsmParser12
ParseDirective
PowerPC
CPU
LLVM
2,243
140
1
[]
[ "<s>", "MVT", "::", "SimpleValueType", "getCmpLibcallReturnType", "(", ")", "const", "override", "{", "return", "MVT", "::", "i8", ";", "}", "</s>" ]
[ "Return", "the", "ValueType", "for", "comparison", "libcalls", "." ]
[ "AVR", "MVT::SimpleValueType", "MVT::i8" ]
AVRISelLowering (2)
getCmpLibcallReturnType
AVR
MPU
LLVM
2,244
15
1
[]
[ "<s>", "unsigned", "MOSInstrInfo", "::", "insertBranch", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "*", "TBB", ",", "MachineBasicBlock", "*", "FBB", ",", "ArrayRef", "<", "MachineOperand", ">", "Cond", ",", "const", "DebugLoc", "&", "DL", ...
[ "Insert", "branch", "code", "into", "the", "end", "of", "the", "specified", "MachineBasicBlock", "." ]
[ "MOS", "MOS", "MOS", "MOS", "0", "0", "2", "0", "MOS::FlagRegClass", "MOS::GBR", "MOS::BR", "MOS::BRA", "MOS::JMP" ]
MOSInstrInfo
insertBranch
MOS
MPU
LLVM
2,245
254
1
[]
[ "<s>", "static", "bool", "classof", "(", "const", "MCExpr", "*", "E", ")", "{", "return", "E", "->", "getKind", "(", ")", "==", "MCExpr", "::", "Target", ";", "}", "</s>" ]
[ "Methods", "for", "support", "type", "inquiry", "through", "isa", ",", "cast", ",", "and", "dyn_cast", ":" ]
[ "X86" ]
X86MCExpr (2)
classof
X86
CPU
LLVM
2,246
22
1
[]
[ "<s>", "bool", "PPCTargetLowering", "::", "SelectAddressRegReg", "(", "SDValue", "N", ",", "SDValue", "&", "Base", ",", "SDValue", "&", "Index", ",", "SelectionDAG", "&", "DAG", ",", "unsigned", "EncodingAlignment", ")", "const", "{", "if", "(", "SelectAddress...
[ "SelectAddressRegReg", "-", "Given", "the", "specified", "addressed", ",", "check", "to", "see", "if", "it", "can", "be", "more", "efficiently", "represented", "as", "[", "r+imm", "]", "." ]
[ "PowerPC", "PPC", "0", "ISD::ADD", "1", "1", "PPCISD::Lo", "0", "1", "ISD::OR", "1", "0", "1", "0", "0", "1" ]
PPCISelLowering101
SelectAddressRegReg
PowerPC
CPU
LLVM
2,247
274
1
[]
[ "<s>", "bool", "SystemZInstrInfo", "::", "optimizeCompareInstr", "(", "MachineInstr", "*", "Compare", ",", "unsigned", "SrcReg", ",", "unsigned", "SrcReg2", ",", "int", "Mask", ",", "int", "Value", ",", "const", "MachineRegisterInfo", "*", "MRI", ")", "const", ...
[ "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", ...
[ "SystemZ", "SystemZ", "\"Only optimizing constant comparisons so far\"", "SystemZII::IsLogical", "0", "0" ]
SystemZInstrInfo
optimizeCompareInstr
SystemZ
CPU
LLVM
2,248
83
1
[]
[ "<s>", "void", "AArch64PreLegalizerCombiner", "::", "getAnalysisUsage", "(", "AnalysisUsage", "&", "AU", ")", "const", "{", "AU", ".", "addRequired", "<", "TargetPassConfig", ">", "(", ")", ";", "AU", ".", "setPreservesCFG", "(", ")", ";", "getSelectionDAGFallba...
[ "getAnalysisUsage", "-", "Subclasses", "that", "override", "getAnalysisUsage", "must", "call", "this", "." ]
[ "AArch64", "AArch64" ]
AArch64PreLegalizerCombiner1
getAnalysisUsage
AArch64
CPU
LLVM
2,249
39
1
[]
[ "<s>", "SDValue", "OR1KTargetLowering", "::", "LowerFormalArguments", "(", "SDValue", "Chain", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "isVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "InputArg", ">", "&", "Ins", ",", "DebugLoc", ...
[ "This", "hook", "must", "be", "implemented", "to", "lower", "the", "incoming", "(", "formal", ")", "arguments", ",", "described", "by", "the", "Ins", "array", ",", "into", "the", "specified", "DAG", "." ]
[ "OR1K", "OR1K", "ISD::InputArg", "\"Unsupported calling convention\"" ]
OR1KISelLowering
LowerFormalArguments
OR1K
CPU
LLVM
2,250
84
1
[]
[ "<s>", "void", "emit_pic_move", "(", "rtx", "*", "operands", ",", "machine_mode", ")", "{", "rtx", "temp", "=", "reload_in_progress", "?", "operands", "[", "0", "]", ":", "gen_reg_rtx", "(", "Pmode", ")", ";", "if", "(", "GET_CODE", "(", "operands", "[",...
[ "Emit", "insns", "to", "move", "operands", "[", "1", "]", "into", "operands", "[", "0", "]", "." ]
[ "arc", "0", "0", "1", "1", "1", "1", "1" ]
arc4
emit_pic_move
arc
MPU
GCC
2,251
77
1
[]
[ "<s>", "unsigned", "getBasePointerSaveOffset", "(", ")", "const", "{", "return", "BasePointerSaveOffset", ";", "}", "</s>" ]
[ "getBasePointerSaveOffset", "-", "Return", "the", "previous", "frame", "offset", "to", "save", "the", "base", "pointer", "." ]
[ "PowerPC" ]
PPCFrameLowering (2)
getBasePointerSaveOffset
PowerPC
CPU
LLVM
2,252
10
1
[]
[ "<s>", "void", "*", "getAdjustedAnalysisPointer", "(", "const", "void", "*", "ID", ")", "override", "{", "if", "(", "ID", "==", "&", "TargetTransformInfo", "::", "ID", ")", "return", "(", "TargetTransformInfo", "*", ")", "this", ";", "return", "this", ";",...
[ "getAdjustedAnalysisPointer", "-", "This", "method", "is", "used", "when", "a", "pass", "implements", "an", "analysis", "interface", "through", "multiple", "inheritance", "." ]
[ "ARM64" ]
ARM64TargetTransformInfo
getAdjustedAnalysisPointer
ARM64
CPU
LLVM
2,253
31
1
[]
[ "<s>", "unsigned", "MipsAsmParser", "::", "checkTargetMatchPredicate", "(", "MCInst", "&", "Inst", ")", "{", "unsigned", "Opcode", "=", "Inst", ".", "getOpcode", "(", ")", ";", "if", "(", "Opcode", "==", "Mips", "::", "JALR_HB", "&&", "(", "Inst", ".", "...
[ "checkTargetMatchPredicate", "-", "Validate", "the", "instruction", "match", "against", "any", "complex", "target", "predicates", "not", "expressible", "via", "match", "classes", "." ]
[ "Mips", "Mips", "Mips::JALR_HB", "0", "1" ]
MipsAsmParser
checkTargetMatchPredicate
Mips
CPU
LLVM
2,254
58
1
[]
[ "<s>", "int", "dead_register_here", "(", "rtx", "x", ",", "rtx", "reg", ")", "{", "rtx", "x_reg", ";", "rtx", "p", ";", "if", "(", "D_REG_P", "(", "reg", ")", ")", "x_reg", "=", "gen_rtx_REG", "(", "SImode", ",", "HARD_X_REGNUM", ")", ";", "else", ...
[ "Finds", "backward", "in", "the", "instructions", "to", "see", "if", "register", "'reg", "'", "is", "dead", ".", "This", "is", "used", "when", "generating", "code", "to", "see", "if", "we", "can", "use", "'reg", "'", "as", "a", "scratch", "register", "...
[ "m68hc11", "0", "0", "1", "1", "0", "1", "0", "0", "1", "0" ]
m68hc111
dead_register_here
m68hc11
MPU
GCC
2,255
370
1
[]
[ "<s>", "std", "::", "pair", "<", "unsigned", ",", "const", "TargetRegisterClass", "*", ">", "PPCTargetLowering", "::", "getRegForInlineAsmConstraint", "(", "const", "std", "::", "string", "&", "Constraint", ",", "MVT", "VT", ")", "const", "{", "if", "(", "Co...
[ "Given", "a", "physical", "register", "constraint", "(", "e.g", "." ]
[ "PowerPC", "PPC", "1", "0", "MVT::i64", "PPC", "0U", "PPC::G8RC_NOX0RegClass", "0U", "PPC::GPRC_NOR0RegClass", "MVT::i64", "PPC", "0U", "PPC::G8RCRegClass", "0U", "PPC::GPRCRegClass", "MVT::f32", "MVT::i32", "0U", "PPC::F4RCRegClass", "MVT::f64", "MVT::i64", "0U", "PPC:...
PPCISelLowering71
getRegForInlineAsmConstraint
PowerPC
CPU
LLVM
2,256
396
1
[]
[ "<s>", "static", "tree", "bpf_handle_fndecl_attribute", "(", "tree", "*", "node", ",", "tree", "name", ",", "tree", "args", ",", "int", "flags", "ATTRIBUTE_UNUSED", ",", "bool", "*", "no_add_attrs", ")", "{", "if", "(", "TREE_CODE", "(", "*", "node", ")", ...
[ "Handle", "an", "attribute", "requiring", "a", "FUNCTION_DECL", ";", "arguments", "as", "in", "struct", "attribute_spec.handler", "." ]
[ "bpf", "\"%qE attribute only applies to functions\"", "\"kernel_helper\"", "\"%qE attribute requires an integer argument\"", "\"%qE requires an argument\"" ]
bpf
bpf_handle_fndecl_attribute
bpf
Virtual ISA
GCC
2,257
120
1
[]
[ "<s>", "bool", "MipsSERegisterInfo", "::", "requiresRegisterScavenging", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "return", "true", ";", "}", "</s>" ]
[ "Returns", "true", "if", "the", "target", "requires", "(", "and", "can", "make", "use", "of", ")", "the", "register", "scavenger", "." ]
[ "Mips", "Mips" ]
MipsSERegisterInfo (2)
requiresRegisterScavenging
Mips
CPU
LLVM
2,258
16
1
[]
[ "<s>", "void", "dump", "(", ")", "{", "dbgs", "(", ")", "<<", "\"M68kISelAddressMode \"", "<<", "this", ";", "dbgs", "(", ")", "<<", "\"\\nDisp: \"", "<<", "Disp", ";", "dbgs", "(", ")", "<<", "\", BaseReg: \"", ";", "if", "(", "BaseReg", ".", "getNode...
[ "Dump", "the", "plan", "to", "stderr", "(", "for", "debugging", ")", "." ]
[ "M68k", "\"M68kISelAddressMode \"", "\"\\nDisp: \"", "\", BaseReg: \"", "\"null\"", "\", BaseFI: \"", "\", IndexReg: \"", "\"null\"", "\", Scale: \"" ]
M68kISelDAGToDAG
dump
M68k
MPU
LLVM
2,259
110
1
[]
[ "<s>", "SDValue", "X86TargetLowering", "::", "getSqrtEstimate", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ",", "int", "Enabled", ",", "int", "&", "RefinementSteps", ",", "bool", "&", "UseOneConstNR", ",", "bool", "Reciprocal", ")", "const", "{", ...
[ "Hooks", "for", "building", "estimates", "in", "place", "of", "slower", "divisions", "and", "square", "roots", "." ]
[ "X86", "X86", "MVT::f32", "MVT::v4f32", "MVT::v8f32", "1", "X86ISD::FRSQRT" ]
X86ISelLowering115
getSqrtEstimate
X86
CPU
LLVM
2,260
124
1
[]
[ "<s>", "void", "frv_expand_epilogue", "(", "bool", "emit_return", ")", "{", "frv_stack_t", "*", "info", "=", "frv_stack_info", "(", ")", ";", "rtx", "fp", "=", "frame_pointer_rtx", ";", "rtx", "sp", "=", "stack_pointer_rtx", ";", "rtx", "return_addr", ";", "...
[ "Called", "after", "register", "allocation", "to", "add", "any", "instructions", "needed", "for", "the", "epilogue", ".", "Using", "an", "epilogue", "insn", "is", "favored", "compared", "to", "putting", "all", "of", "the", "instructions", "in", "the", "TARGET_...
[ "frv", "0" ]
frv
frv_expand_epilogue
frv
VLIW
GCC
2,261
283
1
[]
[ "<s>", "bool", "sh_vector_mode_supported_p", "(", "machine_mode", "mode", ")", "{", "if", "(", "TARGET_SHMEDIA_FPU", "&&", "(", "(", "mode", "==", "V2SFmode", ")", "||", "(", "mode", "==", "V4SFmode", ")", "||", "(", "mode", "==", "V16SFmode", ")", ")", ...
[ "Implements", "target", "hook", "vector_mode_supported_p", "." ]
[ "sh" ]
sh5
sh_vector_mode_supported_p
sh
CPU
GCC
2,262
72
1
[]
[ "<s>", "static", "rtx", "m32c_libcall_value", "(", "machine_mode", "mode", ",", "const_rtx", "fun", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "mode", "==", "DFmode", ")", "{", "rtx", "rv", ";", "rv", "=", "gen_rtx_PARALLEL", "(", "mode", ",", "rtvec_alloc", ...
[ "Implements", "LIBCALL_VALUE", ".", "Most", "values", "are", "returned", "in", "$", "r0", ",", "or", "some", "combination", "of", "registers", "starting", "there", "(", "r2r0", "for", "longs", ",", "r3r1r2r0", "for", "long", "long", ",", "r3r2r1r0", "for", ...
[ "m32c", "4", "0", "0", "0", "0", "1", "2", "0", "2", "4", "0", "3", "6", "2", "1", "0", "0", "0", "2" ]
m32c
m32c_libcall_value
m32c
MPU
GCC
2,263
225
1
[]
[ "<s>", "static", "int", "optimal_immediate_sequence", "(", "enum", "rtx_code", "code", ",", "unsigned", "HOST_WIDE_INT", "val", ",", "struct", "four_ints", "*", "return_sequence", ")", "{", "int", "best_consecutive_zeros", "=", "0", ";", "int", "i", ";", "int", ...
[ "Return", "a", "sequence", "of", "integers", ",", "in", "RETURN_SEQUENCE", "that", "fit", "into", "ARM/THUMB2", "immediates", ",", "and", "add", "up", "to", "VAL", ".", "Thr", "function", "return", "value", "gives", "the", "number", "of", "insns", "required"...
[ "arm", "0", "0", "0", "32", "2", "0", "3", "32", "3", "2", "2", "2", "0", "0" ]
arm
optimal_immediate_sequence
arm
CPU
GCC
2,264
199
1
[]
[ "<s>", "bool", "AMDGPUAnnotateKernelFeatures", "::", "runOnModule", "(", "Module", "&", "M", ")", "{", "Triple", "TT", "(", "M", ".", "getTargetTriple", "(", ")", ")", ";", "static", "const", "StringRef", "IntrinsicToAttr", "[", "]", "[", "2", "]", "=", ...
[ "runOnModule", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "process", "the", "module", "being", "operated", "on", "." ]
[ "AMDGPU", "AMDGPU", "2", "\"llvm.amdgcn.workitem.id.y\"", "\"amdgpu-work-item-id-y\"", "\"llvm.amdgcn.workitem.id.z\"", "\"amdgpu-work-item-id-z\"", "\"llvm.amdgcn.workgroup.id.y\"", "\"amdgpu-work-group-id-y\"", "\"llvm.amdgcn.workgroup.id.z\"", "\"amdgpu-work-group-id-z\"", "\"llvm.r600.read...
AMDGPUAnnotateKernelFeatures21
runOnModule
AMDGPU
GPU
LLVM
2,265
176
1
[]
[ "<s>", "bool", "FISCRegisterInfo", "::", "trackLivenessAfterRegAlloc", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "return", "true", ";", "}", "</s>" ]
[ "Returns", "true", "if", "the", "live-ins", "should", "be", "tracked", "after", "register", "allocation", "." ]
[ "FISC", "FISC" ]
FISCRegisterInfo
trackLivenessAfterRegAlloc
FISC
CPU
LLVM
2,266
16
1
[]
[ "<s>", "const", "char", "*", "PPCTargetLowering", "::", "getTargetNodeName", "(", "unsigned", "Opcode", ")", "const", "{", "switch", "(", "Opcode", ")", "{", "default", ":", "return", "0", ";", "case", "PPCISD", "::", "FSEL", ":", "return", "\"PPCISD::FSEL\"...
[ "getTargetNodeName", "-", "This", "method", "returns", "the", "name", "of", "a", "target", "specific" ]
[ "PowerPC", "PPC", "0", "PPCISD::FSEL", "\"PPCISD::FSEL\"", "PPCISD::FCFID", "\"PPCISD::FCFID\"", "PPCISD::FCTIDZ", "\"PPCISD::FCTIDZ\"", "PPCISD::FCTIWZ", "\"PPCISD::FCTIWZ\"", "PPCISD::STFIWX", "\"PPCISD::STFIWX\"", "PPCISD::VMADDFP", "\"PPCISD::VMADDFP\"", "PPCISD::VNMSUBFP", "\"PP...
PPCISelLowering123
getTargetNodeName
PowerPC
CPU
LLVM
2,267
328
1
[]
[ "<s>", "bool", "Tile64PassConfig", "::", "addPreEmitPass", "(", ")", "{", "if", "(", "static_cast", "<", "Tile64TargetMachine", "*", ">", "(", "TM", ")", "->", "getSubtargetImpl", "(", ")", "->", "isVLIWEnabled", "(", ")", ")", "{", "addPass", "(", "create...
[ "This", "pass", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "immediately", "before", "machine", "code", "is", "emitted", "." ]
[ "Tile64" ]
Tile64TargetMachine
addPreEmitPass
Tile64
VLIW
LLVM
2,268
39
1
[]
[ "<s>", "void", "assignValueToReg", "(", "unsigned", "ValVReg", ",", "unsigned", "PhysReg", ",", "CCValAssign", "&", "VA", ")", "override", "{", "markPhysRegUsed", "(", "PhysReg", ")", ";", "switch", "(", "VA", ".", "getLocInfo", "(", ")", ")", "{", "defaul...
[ "The", "specified", "value", "has", "been", "assigned", "to", "a", "physical", "register", ",", "handle", "the", "appropriate", "COPY", "(", "either", "to", "or", "from", ")", "and", "mark", "any", "relevant", "uses/defines", "as", "needed", "." ]
[ "X86" ]
X86CallLowering
assignValueToReg
X86
CPU
LLVM
2,269
181
1
[]
[ "<s>", "char", "*", "function_builder", "::", "get_name", "(", "const", "function_instance", "&", "instance", ",", "bool", "overloaded_p", ")", "{", "append_name", "(", "instance", ".", "base_name", ")", ";", "if", "(", "overloaded_p", ")", "switch", "(", "i...
[ "Return", "the", "overloaded", "or", "full", "function", "name", "for", "INSTANCE", ";", "OVERLOADED_P", "selects", "which", ".", "Allocate", "the", "string", "on", "m_string_obstack", ";", "the", "caller", "must", "use", "obstack_free", "to", "free", "it", "a...
[ "aarch64", "\"_offset\"", "\"_index\"", "\"_vnum\"", "0", "2" ]
aarch64-sve-builtins
get_name
aarch64
CPU
GCC
2,270
140
1
[]
[ "<s>", "unsigned", "char", "X86Subtarget", "::", "classifyGlobalReference", "(", "const", "GlobalValue", "*", "GV", ",", "const", "Module", "&", "M", ")", "const", "{", "if", "(", "GV", "&&", "!", "GV", "->", "hasInternalLinkage", "(", ")", "&&", "!", "G...
[ "Classify", "a", "global", "variable", "reference", "for", "the", "current", "subtarget", "according", "to", "how", "we", "should", "reference", "it", "in", "a", "non-pcrel", "context", "." ]
[ "X86", "X86", "X86II::MO_DLLIMPORT", "X86II::MO_NO_FLAG", "128", "X86II::MO_ABS8", "X86II::MO_NO_FLAG", "X86II::MO_DLLIMPORT", "X86II::MO_COFFSTUB", "X86II::MO_NO_FLAG", "X86II::MO_GOT", "X86II::MO_NO_FLAG", "X86II::MO_GOTPCREL", "X86II::MO_DARWIN_NONLAZY", "X86II::MO_DARWIN_NONLAZY_PIC_...
X86Subtarget7
classifyGlobalReference
X86
CPU
LLVM
2,271
261
1
[]
[ "<s>", "std", "::", "pair", "<", "unsigned", ",", "const", "TargetRegisterClass", "*", ">", "HexagonTargetLowering", "::", "getRegForInlineAsmConstraint", "(", "const", "std", "::", "string", "&", "Constraint", ",", "EVT", "VT", ")", "const", "{", "if", "(", ...
[ "Given", "a", "physical", "register", "constraint", "(", "e.g", "." ]
[ "Hexagon", "Hexagon", "1", "0", "\"getRegForInlineAsmConstraint Unhandled data type\"", "MVT::i32", "MVT::i16", "MVT::i8", "0U", "Hexagon::IntRegsRegisterClass", "MVT::i64", "0U", "Hexagon::DoubleRegsRegisterClass", "\"Unknown asm register class\"" ]
HexagonISelLowering15
getRegForInlineAsmConstraint
Hexagon
DSP
LLVM
2,272
131
1
[]
[ "<s>", "bool", "SIInstrInfo", "::", "isOperandLegal", "(", "const", "MachineInstr", "&", "MI", ",", "unsigned", "OpIdx", ",", "const", "MachineOperand", "*", "MO", ")", "const", "{", "const", "MachineFunction", "&", "MF", "=", "*", "MI", ".", "getParent", ...
[ "Check", "if", "MO", "is", "a", "legal", "operand", "if", "it", "was", "the", "OpIdx", "Operand", "for", "MI", "." ]
[ "AMDGPU", "SI", "1", "1", "0", "0", "0", "AMDGPU::OPERAND_KIMM32", "0", "AMDGPU::isSISrcOperand", "0" ]
SIInstrInfo110
isOperandLegal
AMDGPU
GPU
LLVM
2,273
484
1
[]
[ "<s>", "const", "MCFixupKindInfo", "&", "RISCVAsmBackend", "::", "getFixupKindInfo", "(", "MCFixupKind", "Kind", ")", "const", "{", "const", "static", "MCFixupKindInfo", "Infos", "[", "]", "=", "{", "{", "\"fixup_riscv_hi20\"", ",", "12", ",", "20", ",", "0", ...
[ "Get", "information", "on", "a", "fixup", "kind", "." ]
[ "RISCV", "RISCV", "\"fixup_riscv_hi20\"", "12", "20", "0", "\"fixup_riscv_lo12_i\"", "20", "12", "0", "\"fixup_riscv_lo12_s\"", "0", "32", "0", "\"fixup_riscv_pcrel_hi20\"", "12", "20", "\"fixup_riscv_pcrel_lo12_i\"", "20", "12", "\"fixup_riscv_pcrel_lo12_s\"", "0", "32",...
RISCVAsmBackend38
getFixupKindInfo
RISCV
CPU
LLVM
2,274
360
1
[]
[ "<s>", "static", "void", "mips16_emit_constants", "(", "struct", "mips16_constant", "*", "constants", ",", "rtx_insn", "*", "insn", ")", "{", "int", "label_num", "=", "constants", "?", "CODE_LABEL_NUMBER", "(", "constants", "->", "label", ")", ":", "0", ";", ...
[ "Dump", "out", "the", "constants", "in", "CONSTANTS", "after", "INSN", "." ]
[ "mips", "0", "0" ]
mips
mips16_emit_constants
mips
CPU
GCC
2,275
190
1
[]
[ "<s>", "unsigned", "MipsCodeEmitter", "::", "getMachineOpValue", "(", "const", "MachineInstr", "&", "MI", ",", "const", "MachineOperand", "&", "MO", ")", "const", "{", "if", "(", "MO", ".", "isReg", "(", ")", ")", "return", "getMipsRegisterNumbering", "(", "...
[ "getMachineOpValue", "-", "Return", "binary", "encoding", "of", "operand", "." ]
[ "Mips", "Mips", "Mips", "\"Unable to encode MachineOperand!\"", "0" ]
MipsCodeEmitter1
getMachineOpValue
Mips
CPU
LLVM
2,276
194
1
[]
[ "<s>", "bool", "PatmosAsmPrinter", "::", "isBlockOnlyReachableByFallthrough", "(", "const", "MachineBasicBlock", "*", "MBB", ")", "const", "{", "if", "(", "MBB", "->", "isLandingPad", "(", ")", "||", "MBB", "->", "pred_empty", "(", ")", "||", "MBB", "->", "h...
[ "isBlockOnlyReachableByFallthough", "-", "Return", "true", "if", "the", "basic", "block", "has", "exactly", "one", "predecessor", "and", "the", "control", "transfer", "mechanism", "between", "the", "predecessor", "and", "this", "block", "is", "a", "fall-through", ...
[ "Patmos", "Patmos" ]
PatmosAsmPrinter
isBlockOnlyReachableByFallthrough
Patmos
VLIW
LLVM
2,277
155
1
[]
[ "<s>", "void", "CJGFrameLowering", "::", "processFunctionBeforeFrameFinalized", "(", "MachineFunction", "&", "MF", ",", "RegScavenger", "*", ")", "const", "{", "if", "(", "hasFP", "(", "MF", ")", ")", "{", "int", "FrameIdx", "=", "MF", ".", "getFrameInfo", "...
[ "processFunctionBeforeFrameFinalized", "-", "This", "method", "is", "called", "immediately", "before", "the", "specified", "function", "'s", "frame", "layout", "(", "MF.getFrameInfo", "(", ")", ")", "is", "finalized", "." ]
[ "CJG", "CJG", "4", "4", "\"Slot for FP register must be last in order to be found!\"" ]
CJGFrameLowering
processFunctionBeforeFrameFinalized
CJG
CPU
LLVM
2,278
65
1
[]
[ "<s>", "static", "unsigned", "rs6000_hash_constant", "(", "rtx", "k", ")", "{", "enum", "rtx_code", "code", "=", "GET_CODE", "(", "k", ")", ";", "machine_mode", "mode", "=", "GET_MODE", "(", "k", ")", ";", "unsigned", "result", "=", "(", "code", "<<", ...
[ "Hash", "functions", "for", "the", "hash", "table", "." ]
[ "powerpcspe", "3", "0", "1231", "0", "0", "613", "2", "3", "613", "0", "613", "1231", "613", "613", "0", "613" ]
powerpcspe
rs6000_hash_constant
powerpcspe
CPU
GCC
2,279
404
1
[]
[ "<s>", "static", "rtx", "c6x_function_arg", "(", "cumulative_args_t", "cum_v", ",", "machine_mode", "mode", ",", "const_tree", "type", ",", "bool", "named", "ATTRIBUTE_UNUSED", ")", "{", "CUMULATIVE_ARGS", "*", "cum", "=", "get_cumulative_args", "(", "cum_v", ")",...
[ "Implements", "the", "macro", "FUNCTION_ARG", "defined", "in", "c6x.h", "." ]
[ "c6x", "4", "1", "2", "4" ]
c6x2
c6x_function_arg
c6x
VLIW
GCC
2,280
156
1
[]
[ "<s>", "static", "inline", "bool", "mode_supports_vmx_dform", "(", "machine_mode", "mode", ")", "{", "return", "(", "(", "reg_addr", "[", "mode", "]", ".", "addr_mask", "[", "RELOAD_REG_VMX", "]", "&", "RELOAD_REG_OFFSET", ")", "!=", "0", ")", ";", "}", "<...
[ "Return", "true", "if", "we", "have", "D-form", "addressing", "in", "altivec", "registers", "." ]
[ "rs6000", "0" ]
rs6000
mode_supports_vmx_dform
rs6000
CPU
GCC
2,281
29
1
[]
[ "<s>", "MCSymbol", "*", "M68kMCInstLower", "::", "GetSymbolFromOperand", "(", "const", "MachineOperand", "&", "MO", ")", "const", "{", "assert", "(", "(", "MO", ".", "isGlobal", "(", ")", "||", "MO", ".", "isSymbol", "(", ")", "||", "MO", ".", "isMBB", ...
[ "Lower", "an", "MO_GlobalAddress", "or", "MO_ExternalSymbol", "operand", "to", "an", "MCSymbol", "." ]
[ "M68k", "M68k", "\"Isn't a symbol reference\"", "128" ]
M68kMCInstLower
GetSymbolFromOperand
M68k
MPU
LLVM
2,282
229
1
[]
[ "<s>", "int", "includes_rldicr_lshift_p", "(", "rtx", "shiftop", ",", "rtx", "andop", ")", "{", "if", "(", "GET_CODE", "(", "andop", ")", "==", "CONST_INT", ")", "{", "unsigned", "HOST_WIDE_INT", "c", ",", "lsb", ",", "shift_mask", ";", "shift_mask", "=", ...
[ "Return", "1", "if", "ANDOP", "is", "a", "mask", "suitable", "for", "use", "with", "an", "rldicr", "insn", "to", "perform", "a", "left", "shift", ".", "It", "must", "have", "SHIFTOP", "or", "more", "least", "significant", "0", "'s", ",", "with", "the",...
[ "rs6000", "0", "0", "1", "0" ]
rs60004
includes_rldicr_lshift_p
rs6000
CPU
GCC
2,283
82
1
[]
[ "<s>", "unsigned", "PPCInstrInfo", "::", "isStoreToStackSlot", "(", "const", "MachineInstr", "&", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "PP...
[ "isStoreToStackSlot", "-", "If", "the", "specified", "machine", "instruction", "is", "a", "direct", "store", "to", "a", "stack", "slot", ",", "return", "the", "virtual", "or", "physical", "register", "number", "of", "the", "source", "reg", "along", "with", "...
[ "PowerPC", "PPC", "PPC::STD", "PPC::STW", "PPC::STFS", "PPC::STFD", "PPC::SPILL_CR", "PPC::SPILL_CRBIT", "PPC::STVX", "PPC::STXVD2X", "PPC::STXV", "PPC::QVSTFDX", "PPC::QVSTFSXs", "PPC::QVSTFDXb", "PPC::SPILL_VRSAVE", "PPC::SPILLTOVSR_ST", "1", "1", "2", "2", "0", "0" ]
PPCInstrInfo102
isStoreToStackSlot
PowerPC
CPU
LLVM
2,284
169
1
[]
[ "<s>", "static", "bool", "use_real_merge_p", "(", "enum", "predication_type_index", "pred", ")", "{", "return", "pred", "==", "PRED_TYPE_tu", "||", "pred", "==", "PRED_TYPE_tum", "||", "pred", "==", "PRED_TYPE_tumu", "||", "pred", "==", "PRED_TYPE_mu", ";", "}",...
[ "Return", "true", "if", "predication", "is", "using", "a", "real", "merge", "operand", "." ]
[ "riscv" ]
riscv-vector-builtins
use_real_merge_p
riscv
CPU
GCC
2,285
27
1
[]
[ "<s>", "bool", "HexagonPassConfig", "::", "addPostRegAlloc", "(", ")", "{", "PM", ".", "add", "(", "createHexagonCFGOptimizer", "(", "getHexagonTargetMachine", "(", ")", ")", ")", ";", "return", "true", ";", "}", "</s>" ]
[ "This", "method", "may", "be", "implemented", "by", "targets", "that", "want", "to", "run", "passes", "after", "register", "allocation", "pass", "pipeline", "but", "before", "prolog-epilog", "insertion", "." ]
[ "Hexagon", "Hexagon", "Hexagon", "Hexagon" ]
HexagonTargetMachine17
addPostRegAlloc
Hexagon
DSP
LLVM
2,286
23
1
[]
[ "<s>", "unsigned", "getNumberOfRegisters", "(", "unsigned", "ClassID", ")", "const", "{", "bool", "Vector", "=", "(", "ClassID", "==", "1", ")", ";", "if", "(", "Vector", ")", "{", "if", "(", "ST", "->", "hasNEON", "(", ")", ")", "return", "32", ";",...
[ "�", "?", "Vector", "TTI", "begin", "�", "?" ]
[ "AArch64", "1", "32", "0", "31" ]
AArch64TargetTransformInfo
getNumberOfRegisters
AArch64
CPU
LLVM
2,287
41
1
[]
[ "<s>", "bool", "SIWholeQuadMode", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "Instructions", ".", "clear", "(", ")", ";", "Blocks", ".", "clear", "(", ")", ";", "LiveMaskQueries", ".", "clear", "(", ")", ";", "LowerToCopyInstr...
[ "runOnMachineFunction", "-", "Emit", "the", "function", "body", "." ]
[ "AMDGPU", "SI", "AMDGPU::S_AND_B32", "AMDGPU::S_XOR_B32_term", "AMDGPU::S_OR_SAVEEXEC_B32", "AMDGPU::EXEC_LO", "AMDGPU::S_AND_B64", "AMDGPU::S_XOR_B64_term", "AMDGPU::S_OR_SAVEEXEC_B64", "AMDGPU::EXEC", "0", "AMDGPU::COPY", "AMDGPU::S_WQM_B32", "AMDGPU::S_WQM_B64", "AMDGPU::SCC" ]
SIWholeQuadMode4
runOnMachineFunction
AMDGPU
GPU
LLVM
2,288
448
1
[]
[ "<s>", "Align", "SITargetLowering", "::", "getPrefLoopAlignment", "(", "MachineLoop", "*", "ML", ")", "const", "{", "const", "Align", "PrefAlign", "=", "TargetLowering", "::", "getPrefLoopAlignment", "(", "ML", ")", ";", "const", "Align", "CacheLineAlign", "=", ...
[ "Return", "the", "preferred", "loop", "alignment", "." ]
[ "AMDGPU", "SI", "64", "AMDGPU", "SI", "0", "2", "192", "64", "128", "AMDGPU::S_INST_PREFETCH", "AMDGPU::S_INST_PREFETCH", "AMDGPU::S_INST_PREFETCH", "1", "AMDGPU::S_INST_PREFETCH", "AMDGPU::S_INST_PREFETCH", "2" ]
SIISelLowering62
getPrefLoopAlignment
AMDGPU
GPU
LLVM
2,289
409
1
[]
[ "<s>", "const", "MipsInstrInfo", "*", "getInstrInfo", "(", ")", "const", "{", "return", "InstrInfo", ".", "get", "(", ")", ";", "}", "</s>" ]
[ "TargetInstrInfo", "getter", "." ]
[ "Mips", "Mips" ]
MipsSubtarget (2)
getInstrInfo
Mips
CPU
LLVM
2,290
16
1
[]
[ "<s>", "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", "\"XCore DAG->DAG Pattern Instruction Selection\"", ";", "}", "</s>" ]
[ "getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "." ]
[ "XCore", "\"XCore DAG->DAG Pattern Instruction Selection\"" ]
XCoreISelDAGToDAG12
getPassName
XCore
MPU
LLVM
2,291
13
1
[]
[ "<s>", "static", "machine_mode", "s390_preferred_simd_mode", "(", "machine_mode", "mode", ")", "{", "if", "(", "TARGET_VX", ")", "switch", "(", "mode", ")", "{", "case", "DFmode", ":", "return", "V2DFmode", ";", "case", "DImode", ":", "return", "V2DImode", "...
[ "Return", "the", "vector", "mode", "to", "be", "used", "for", "inner", "mode", "MODE", "when", "doing", "vectorization", "." ]
[ "s390" ]
s3905
s390_preferred_simd_mode
s390
MPU
GCC
2,292
55
1
[]
[ "<s>", "const", "XtensaSubtarget", "*", "XtensaTargetMachine", "::", "getSubtargetImpl", "(", ")", "const", "{", "return", "&", "Subtarget", ";", "}", "</s>" ]
[ "Virtual", "method", "implemented", "by", "subclasses", "that", "returns", "a", "reference", "to", "that", "target", "'s", "TargetSubtargetInfo-derived", "member", "variable", "." ]
[ "Xtensa", "Xtensa", "Xtensa" ]
XtensaTargetMachine1
getSubtargetImpl
Xtensa
MPU
LLVM
2,293
15
1
[]
[ "<s>", "static", "bool", "tilepro_scalar_mode_supported_p", "(", "scalar_mode", "mode", ")", "{", "switch", "(", "mode", ")", "{", "case", "E_QImode", ":", "case", "E_HImode", ":", "case", "E_SImode", ":", "case", "E_DImode", ":", "return", "true", ";", "cas...
[ "Implement", "TARGET_SCALAR_MODE_SUPPORTED_P", "." ]
[ "tilepro" ]
tilepro
tilepro_scalar_mode_supported_p
tilepro
VLIW
GCC
2,294
44
1
[]
[ "<s>", "void", "push", "(", "const", "Candidate", "&&", "C", ")", "{", "if", "(", "C", ".", "Weight", ")", "push_back", "(", "C", ")", ";", "else", "push_front", "(", "C", ")", ";", "}", "</s>" ]
[ "Push", "the", "current", "solver", "state", "." ]
[ "AMDGPU" ]
GCNRegBankReassign
push
AMDGPU
GPU
LLVM
2,295
27
1
[]
[ "<s>", "const", "char", "*", "LC2200TargetLowering", "::", "getTargetNodeName", "(", "unsigned", "Opcode", ")", "const", "{", "switch", "(", "(", "LC2200ISD", "::", "NodeType", ")", "Opcode", ")", "{", "case", "LC2200ISD", "::", "FIRST_NUMBER", ":", "break", ...
[ "getTargetNodeName", "-", "This", "method", "returns", "the", "name", "of", "a", "target", "specific" ]
[ "LC2200", "LC2200", "LC2200ISD::NodeType", "LC2200ISD::FIRST_NUMBER", "LC2200ISD::RET", "\"LC2200ISD::RET\"", "LC2200ISD::CALL", "\"LC2200ISD::CALL\"", "LC2200ISD::JMP", "\"LC2200ISD::JMP\"", "LC2200ISD::NAND", "\"LC2200ISD::NAND\"", "LC2200ISD::CMP_SKIP", "\"LC2200ISD::CMP_SKIP\"", "LC2...
LC2200ISelLowering
getTargetNodeName
LC2200
CPU
LLVM
2,296
98
1
[]
[ "<s>", "static", "bool", "frv_must_pass_in_stack", "(", "enum", "machine_mode", "mode", ",", "tree", "type", ")", "{", "if", "(", "mode", "==", "BLKmode", ")", "return", "true", ";", "if", "(", "type", "==", "NULL", ")", "return", "false", ";", "return",...
[ "Return", "true", "if", "we", "should", "pass", "an", "argument", "on", "the", "stack", "rather", "than", "in", "registers", "." ]
[ "frv" ]
frv2
frv_must_pass_in_stack
frv
VLIW
GCC
2,297
37
1
[]
[ "<s>", "const", "uint32_t", "*", "ARMBaseRegisterInfo", "::", "getCallPreservedMask", "(", "const", "MachineFunction", "&", "MF", ",", "CallingConv", "::", "ID", "CC", ")", "const", "{", "const", "ARMSubtarget", "&", "STI", "=", "MF", ".", "getSubtarget", "<",...
[ "Return", "a", "mask", "of", "call-preserved", "registers", "for", "the", "given", "calling", "convention", "on", "the", "current", "function", "." ]
[ "ARM", "ARM", "ARM", "ARM" ]
ARMBaseRegisterInfo23
getCallPreservedMask
ARM
CPU
LLVM
2,298
113
1
[]
[ "<s>", "unsigned", "PPCTargetLowering", "::", "getPrefLoopAlignment", "(", "MachineLoop", "*", "ML", ")", "const", "{", "switch", "(", "Subtarget", ".", "getDarwinDirective", "(", ")", ")", "{", "default", ":", "break", ";", "case", "PPC", "::", "DIR_970", "...
[ "Return", "the", "preferred", "loop", "alignment", "." ]
[ "PowerPC", "PPC", "PPC::DIR_970", "PPC::DIR_PWR4", "PPC::DIR_PWR5", "PPC::DIR_PWR5X", "PPC::DIR_PWR6", "PPC::DIR_PWR6X", "PPC::DIR_PWR7", "PPC::DIR_PWR8", "PPC::DIR_PWR9", "PPC", "0", "32", "16", "32", "5" ]
PPCISelLowering111
getPrefLoopAlignment
PowerPC
CPU
LLVM
2,299
196
1
[]