Compiler_Type
stringclasses
2 values
Target
stringclasses
176 values
Programming Language
stringclasses
3 values
Task
stringclasses
4 values
Target_Type
stringclasses
7 values
Idx
int64
0
636k
Ground_Truth
listlengths
0
2.32k
Input
listlengths
1
1.02k
GCC
arm
MD
stmt_completion
CPU
25,700
[ "<STR_LIT>", ")" ]
[ "[", "(", "set", "(", "match_operand", ":", "VDQW", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", "(", "unspec", ":", "VDQW", "[", "(", "match_operand", ":", "VDQW", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", "(", "match_operand", ":", "VDQW", "<NUM_LIT>", "<...
GCC
powerpcspe
CPP
stmt_completion
CPU
25,701
[ "(", "si_from_short", "(", "b", ")", ")", ",", "<NUM_LIT>", ")", ")", ")", ")", ";" ]
[ "return", "(", "(", "qword", ")", "(", "vec_and", "(", "(", "vec_short8", ")", "(", "a", ")", ",", "vec_splat", "(", "(", "vec_short8", ")" ]
LLVM
AArch64
CPP
stmt_completion
CPU
25,702
[ "->", "getSVECalleeSavedStackSize", "(", ")", ")", "{" ]
[ "auto", "PrologueSaveSize", "=", "AFI", "->", "getCalleeSavedStackSize", "(", ")", "+", "FixedObject", ";", "if", "(", "MF", ".", "hasEHFunclets", "(", ")", ")", "AFI", "->", "setLocalStackSize", "(", "NumBytes", "-", "PrologueSaveSize", ")", ";", "if", "(",...
LLVM
ARM64
TD
stmt_completion
CPU
25,703
[ "<NUM_LIT>", ";" ]
[ "class", "BaseUnscaledConversionToHigh", "<", "bits", "<", "<NUM_LIT>", ">", "rmode", ",", "bits", "<", "<NUM_LIT>", ">", "opcode", ",", "RegisterClass", "srcType", ",", "RegisterOperand", "dstType", ",", "string", "asm", ",", "string", "kind", ">", ":", "I", ...
LLVM
X86
CPP
next_suggestion
CPU
25,704
[ "return", "true", ";" ]
[ "SmallVector", "<", "int", ",", "<NUM_LIT>", ">", "RepeatedMask", ";", "if", "(", "isRepeatedTargetShuffleMask", "(", "<NUM_LIT>", ",", "MaskVT", ",", "Mask", ",", "RepeatedMask", ")", ")", "{", "auto", "MatchHalf", "=", "[", "&", "]", "(", "unsigned", "Of...
GCC
crx
CPP
code_generation
CPU
25,705
[ "int", "crx_hard_regno_mode_ok", "(", "int", "regno", ",", "enum", "machine_mode", "mode", ")", "{", "if", "(", "regno", "==", "CC_REGNUM", ")", "return", "GET_MODE_CLASS", "(", "mode", ")", "==", "MODE_CC", ";", "if", "(", "GET_MODE_CLASS", "(", "mode", "...
[ "Return", "1", "if", "hard", "register", "REGNO", "can", "hold", "a", "value", "of", "machine-mode", "MODE", "." ]
LLVM
AArch64
CPP
stmt_completion
CPU
25,706
[ ")", ")", ",", "DAG", ".", "getCondCode", "(", "ISD", "::", "SETNE", ")", ")", ";" ]
[ "TheBit", "=", "DAG", ".", "getNode", "(", "ISD", "::", "AND", ",", "dl", ",", "MVT", "::", "i32", ",", "TheBit", ",", "DAG", ".", "getConstant", "(", "<NUM_LIT>", ",", "MVT", "::", "i32", ")", ")", ";", "SDValue", "A64CMP", "=", "DAG", ".", "get...
LLVM
SystemZ
CPP
next_suggestion
CPU
25,707
[ "if", "(", "MI", ".", "definesRegister", "(", "<STR_LIT>", "::", "<STR_LIT>", ")", ")", "{" ]
[ "SmallVector", "<", "MachineInstr", "*", ",", "<NUM_LIT>", ">", "CCUsers", ";", "for", "(", "MachineInstr", "&", "MI", ":", "llvm", "::", "make_range", "(", "std", "::", "next", "(", "MBBI", ")", ",", "MBB", "->", "end", "(", ")", ")", ")", "{", "i...
LLVM
Mips
CPP
stmt_completion
CPU
25,708
[ "LocInfo", "::", "ZExt", ";" ]
[ "if", "(", "Flags", ".", "isSExt", "(", ")", ")", "return", "CCValAssign", "::", "LocInfo", "::", "SExt", ";", "if", "(", "Flags", ".", "isZExt", "(", ")", ")", "return", "CCValAssign", "::" ]
LLVM
PowerPC
TD
stmt_completion
CPU
25,709
[ "]", ">", ";" ]
[ "def", "fpimm0", ":", "PatLeaf", "<", "(", "fpimm", ")", ",", "[", "{", "return", "N", "-", ">", "isExactlyValue", "(", "+", "<NUM_LIT>", ".", "<NUM_LIT>", ")", ";", "}" ]
LLVM
AVR
CPP
program_repair
MPU
25,710
[ "<FIXS>", "unsigned", "isLoadFromStackSlot", "(", "const", "MachineInstr", "&", "MI", ",", "<FIXE>", "<FIXS>", "unsigned", "isStoreToStackSlot", "(", "const", "MachineInstr", "&", "MI", ",", "<FIXE>" ]
[ "MachineBasicBlock", "::", "iterator", "MI", ",", "unsigned", "DestReg", ",", "int", "FrameIndex", ",", "const", "TargetRegisterClass", "*", "RC", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "override", ";", "<BUGS>", "unsigned", "isLoadFromStack...
GCC
aarch64
MD
next_suggestion
CPU
25,711
[ "(", "match_operand", ":", "<", "VEL", ">", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", ")", "]" ]
[ "[", "(", "match_operand", ":", "VHSDF", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", "(", "vec_duplicate", ":", "VHSDF" ]
LLVM
ARM
CPP
next_suggestion
CPU
25,712
[ "}" ]
[ "static", "std", "::", "unique_ptr", "<", "ARMOperand", ">", "CreateImm", "(", "const", "MCExpr", "*", "Val", ",", "SMLoc", "S", ",", "SMLoc", "E", ")", "{", "auto", "Op", "=", "make_unique", "<", "ARMOperand", ">", "(", "k_Immediate", ")", ";", "Op", ...
LLVM
Mips
CPP
code_generation
CPU
25,713
[ "bool", "Mips16FrameLowering", "::", "spillCalleeSavedRegisters", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "const", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", ",", "const", "TargetRegisterInfo"...
[ "spillCalleeSavedRegisters", "-", "Issues", "instruction", "(", "s", ")", "to", "spill", "all", "callee", "saved", "registers", "and", "returns", "true", "if", "it", "is", "n't", "possible", "/", "profitable", "to", "do", "so", "by", "issuing", "a", "series"...
LLVM
AArch64
TD
stmt_completion
CPU
25,714
[ "TBZImm0_31Operand", ">", ";" ]
[ "def", "tbz_imm0_31_nodiag", ":", "tbz_imm0_31", "<" ]
LLVM
SPIRV
CPP
stmt_completion
Virtual ISA
25,715
[ "AU", ")", "const", "override", "{" ]
[ "void", "getAnalysisUsage", "(", "AnalysisUsage", "&" ]
LLVM
Hexagon
TD
next_suggestion
DSP
25,716
[ "let", "isExtendable", "=", "<NUM_LIT>", ";" ]
[ "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "<NUM_LIT>", ";", "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "<NUM_LIT>", ";", "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "<NUM_LIT>", ";", "let", "isPredica...
GCC
rl78
CPP
next_suggestion
MPU
25,717
[ "}" ]
[ "rtx_insn", "*", "insn", ";", "basic_block", "bb", ";", "FOR_EACH_BB_FN", "(", "bb", ",", "cfun", ")", "{", "FOR_BB_INSNS", "(", "bb", ",", "insn", ")", "{", "if", "(", "INSN_P", "(", "insn", ")", "&&", "(", "get_attr_is_g13_muldiv_insn", "(", "insn", ...
GCC
sparc
CPP
code_generation
CPU
25,718
[ "static", "int", "supersparc_adjust_cost", "(", "rtx_insn", "*", "insn", ",", "rtx", "link", ",", "rtx_insn", "*", "dep_insn", ",", "int", "cost", ")", "{", "enum", "attr_type", "insn_type", ";", "if", "(", "!", "recog_memoized", "(", "insn", ")", ")", "...
[ "Adjust", "the", "cost", "of", "a", "scheduling", "dependency", ".", "Return", "the", "new", "cost", "of", "a", "dependency", "LINK", "or", "INSN", "on", "DEP_INSN", ".", "COST", "is", "the", "current", "cost", "." ]
LLVM
OR1K
TD
next_suggestion
CPU
25,719
[ "def", "HI16", ":", "SDNodeXForm", "<", "imm", ",", "[", "{" ]
[ "return", "CurDAG", "-", ">", "getTargetConstant", "(", "(", "uint64_t", ")", "N", "-", ">", "getZExtValue", "(", ")", "&", "<NUM_LIT>", ",", "MVT", ":", ":", "i32", ")", ";", "}", "]", ">", ";" ]
LLVM
Hexagon
TD
stmt_completion
DSP
25,720
[ "=", "<NUM_LIT>", ";" ]
[ "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "<NUM_LIT>", ";", "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "<NUM_LIT>", ";", "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "<NUM_LIT>", ";", "let", "isPredica...
LLVM
AArch64
CPP
stmt_completion
CPU
25,721
[ "Big endian is only supported for ELF targets!", "<STR_LIT>", ")", ";" ]
[ "MCAsmBackend", "*", "llvm", "::", "createAArch64beAsmBackend", "(", "const", "Target", "&", "T", ",", "const", "MCRegisterInfo", "&", "MRI", ",", "StringRef", "TT", ",", "StringRef", "CPU", ")", "{", "Triple", "TheTriple", "(", "TT", ")", ";", "assert", "...
GCC
avr
MD
stmt_completion
MPU
25,722
[ ")" ]
[ "(", "ior", "(", "match_operand", "<NUM_LIT>", "<STR_LIT>", ")", "(", "and", "(", "match_operand", "<NUM_LIT>", "<STR_LIT>", ")", "(", "match_test", "<STR_LIT>", ")", ")", ")" ]
LLVM
WebAssembly
CPP
stmt_completion
Virtual ISA
25,723
[ ";" ]
[ "case", "WebAssembly", "::", "LOAD8_U_I32", ":", "case", "WebAssembly", "::", "LOAD8_S_I64", ":", "case", "WebAssembly", "::", "LOAD8_U_I64", ":", "case", "WebAssembly", "::", "STORE8_I32", ":", "case", "WebAssembly", "::", "STORE8_I64", ":", "return", "<NUM_LIT>"...
GCC
loongarch
CPP
stmt_completion
CPU
25,724
[ "false", ")", ";" ]
[ "return", "default_function_rodata_section", "(", "decl", "," ]
LLVM
MSP430
CPP
next_suggestion
MPU
25,725
[ "<STR_LIT>", "::", "<STR_LIT>", ",", "<STR_LIT>", "::", "<STR_LIT>", ",", "<STR_LIT>", "::", "<STR_LIT>", ",", "<STR_LIT>", "::", "<STR_LIT>", ",", "<STR_LIT>", "::", "<STR_LIT>", ",", "<STR_LIT>", "::", "<STR_LIT>", ",", "<STR_LIT>", "::", "<STR_LIT>", ",", "...
[ "<STR_LIT>", "::", "<STR_LIT>", ",", "<STR_LIT>", "::", "<STR_LIT>", ",", "<STR_LIT>", "::", "<STR_LIT>", ",", "<STR_LIT>", "::", "<STR_LIT>", ",", "<STR_LIT>", "::", "<STR_LIT>", ",", "<STR_LIT>", "::", "<STR_LIT>", ",", "<STR_LIT>", "::", "<STR_LIT>", ",", "...
LLVM
PowerPC
CPP
stmt_completion
CPU
25,726
[ "<STR_LIT>", ";" ]
[ "StaticCtorsSection", "=", "<STR_LIT>", ".section\\t.ctors,\\\"aw\\\",@progbits", "<STR_LIT>", ";", "StaticDtorsSection", "=", "<STR_LIT>", ".section\\t.dtors,\\\"aw\\\",@progbits", "<STR_LIT>", ";", "UsedDirective", "=", "<STR_LIT>", "\\t# .no_dead_strip\\t", "<STR_LIT>", ";", "...
GCC
nios2
CPP
stmt_completion
MPU
25,727
[ "n", ",", "bool", "override_p", ")", "{" ]
[ "static", "void", "nios2_set_fpu_custom_code", "(", "enum", "n2fpu_code", "code", ",", "int" ]
GCC
i386
MD
stmt_completion
CPU
25,728
[ "operands", "[", "<NUM_LIT>", "]", "," ]
[ "[", "(", "match_operand", ":", "QI", "<NUM_LIT>", "<STR_LIT>", ")", "(", "plusminus", ":", "SWI", "(", "match_operand", ":", "SWI", "<NUM_LIT>", "<STR_LIT>", ")", "(", "match_operand", ":", "SWI", "<NUM_LIT>", "<STR_LIT>", ")", ")", "(", "match_operand", ":...
LLVM
PowerPC
CPP
next_suggestion
CPU
25,729
[ "}" ]
[ "bool", "isDarwinABI", "=", "Subtarget", ".", "isDarwinABI", "(", ")", ";", "MachineFrameInfo", "*", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "if", "(", "!", "FPSI", "&&", "needsFP", "(", "MF", ")", ")", "{", "int", "FPOffset", "=", "PPC...
GCC
pdp11
CPP
code_generation
MPU
25,730
[ "void", "output_addr_const_pdp11", "(", "FILE", "*", "file", ",", "rtx", "x", ")", "{", "char", "buf", "[", "<NUM_LIT>", "]", ";", "int", "i", ";", "restart", ":", "switch", "(", "GET_CODE", "(", "x", ")", ")", "{", "case", "PC", ":", "gcc_assert", ...
[ "A", "copy", "of", "output_addr_const", "modified", "for", "pdp11", "expression", "syntax", ".", "output_addr_const", "also", "gets", "called", "for", "%", "cDIGIT", "and", "%", "nDIGIT", ",", "which", "we", "do", "n't", "use", ",", "and", "for", "debugging"...
LLVM
X86
CPP
next_suggestion
CPU
25,731
[ "return", "JCE", ".", "finishGVStub", "(", "GV", ")", ";" ]
[ "JCE", ".", "emitWordLE", "(", "(", "unsigned", ")", "(", "(", "(", "intptr_t", ")", "ptr", ")", ">>", "<NUM_LIT>", ")", ")", ";", "JCE", ".", "startGVStub", "(", "GV", ",", "<NUM_LIT>", ",", "<NUM_LIT>", ")", ";", "JCE", ".", "emitWordLE", "(", "(...
LLVM
ARM
CPP
next_suggestion
CPU
25,732
[ "}" ]
[ "}", "UnwindOpAsm", ".", "Finalize", "(", "PersonalityIndex", ",", "Opcodes", ")", ";", "if", "(", "NoHandlerData", "&&", "PersonalityIndex", "==", "ARM", "::", "EHABI", "::", "AEABI_UNWIND_CPP_PR0", ")", "return", ";", "SwitchToExTabSection", "(", "*", "FnStart...
LLVM
TPC
CPP
next_suggestion
Virtual ISA
25,733
[ "}" ]
[ "if", "(", "LoopInst", "->", "getOperand", "(", "<NUM_LIT>", ")", ".", "isImm", "(", ")", ")", "{", "ShiftCounter", "=", "BuildMI", "(", "*", "PrologBlock", ",", "InsertPos", ",", "DebugLoc", "(", ")", ",", "TII", "->", "get", "(", "<STR_LIT>", "::", ...
LLVM
X86
TD
stmt_completion
CPU
25,734
[ "NAME", "#", "r_Int", ")", "VR128", ":", "$", "src", ",", "VR128", ":", "$", "src", ")", ">", ";" ]
[ "def", ":", "Pat", "<", "(", "Intr", "VR128", ":", "$", "src", ")", ",", "(", "!", "cast", "<", "Instruction", ">", "(" ]
LLVM
AArch64
TD
next_suggestion
CPU
25,735
[ "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "<NUM_LIT>", ";" ]
[ "bits", "<", "<NUM_LIT>", ">", "imm", ";", "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "<NUM_LIT>", ";", "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "op1", ";", "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", ...
LLVM
X86
TD
program_repair
CPU
25,736
[ "<FIXS>", "def", ":", "InstRW", "[", "BWWriteResGroup50", "]", ",", "(", "instregex", "<STR_LIT>", ")", ">", ";", "<FIXE>" ]
[ "let", "NumMicroOps", "=", "<NUM_LIT>", ";", "let", "ResourceCycles", "=", "[", "<NUM_LIT>", ",", "<NUM_LIT>", "]", ";", "}", "<BUGS>", "def", ":", "InstRW", "[", "BWWriteResGroup50", "]", ",", "(", "instregex", "<STR_LIT>", ",", "<STR_LIT>", ",", "<STR_LIT>...
GCC
s390
MD
stmt_completion
MPU
25,737
[ "<STR_LIT>", ")" ]
[ "(", "and", "(", "eq_attr", "<STR_LIT>" ]
LLVM
Dcpu16
CPP
stmt_completion
CPU
25,738
[ "true", ";" ]
[ "PCSymbol", "=", "<STR_LIT>", ".", "<STR_LIT>", ";", "CommentString", "=", "<STR_LIT>", ";", "<STR_LIT>", ";", "AlignmentIsInBytes", "=", "false", ";", "AlignDirective", "=", "<STR_LIT>", "\\t; .align\\t", "<STR_LIT>", ";", "AllowNameToStartWithDigit", "=" ]
GCC
i386
MD
next_suggestion
CPU
25,739
[ "ix86_split_fp_branch", "(", "GET_CODE", "(", "operands", "[", "<NUM_LIT>", "]", ")", ",", "operands", "[", "<NUM_LIT>", "]", ",", "operands", "[", "<NUM_LIT>", "]", "," ]
[ "[", "(", "set", "(", "pc", ")", "(", "if_then_else", "(", "match_operator", "<NUM_LIT>", "<STR_LIT>", "[", "(", "match_operand", ":", "X87MODEF", "<NUM_LIT>", "<STR_LIT>", ")", "(", "match_operand", ":", "X87MODEF", "<NUM_LIT>", "<STR_LIT>", ")", "]", ")", ...
LLVM
Mips
CPP
next_suggestion
CPU
25,740
[ "if", "(", "SplatBitSize", "!=", "<NUM_LIT>", "&&", "SplatBitSize", "!=", "<NUM_LIT>", "&&", "SplatBitSize", "!=", "<NUM_LIT>", "&&", "SplatBitSize", "!=", "<NUM_LIT>", ")", "return", "SDValue", "(", ")", ";" ]
[ "BuildVectorSDNode", "*", "Node", "=", "cast", "<", "BuildVectorSDNode", ">", "(", "Op", ")", ";", "EVT", "ResTy", "=", "Op", "->", "getValueType", "(", "<NUM_LIT>", ")", ";", "SDLoc", "DL", "(", "Op", ")", ";", "APInt", "SplatValue", ",", "SplatUndef", ...
GCC
sh
CPP
next_suggestion
CPU
25,741
[ "if", "(", "anon_parm_regs", ">", "<NUM_LIT>", ")", "*", "pretend_arg_size", "=", "anon_parm_regs", "*", "<NUM_LIT>", ";" ]
[ "gcc_assert", "(", "current_function_stdarg", ")", ";", "if", "(", "TARGET_VARARGS_PRETEND_ARGS", "(", "current_function_decl", ")", ")", "{", "int", "named_parm_regs", ",", "anon_parm_regs", ";", "named_parm_regs", "=", "(", "ROUND_REG", "(", "*", "ca", ",", "mod...
LLVM
WebAssembly
CPP
next_suggestion
Virtual ISA
25,742
[ "auto", "&", "I", "=", "SubtargetMap", "[", "CPU", "+", "FS", "]", ";" ]
[ "Attribute", "FSAttr", "=", "F", ".", "getFnAttribute", "(", "<STR_LIT>", "target-features", "<STR_LIT>", ")", ";", "std", "::", "string", "CPU", "=", "!", "CPUAttr", ".", "hasAttribute", "(", "Attribute", "::", "None", ")", "?", "CPUAttr", ".", "getValueAsS...
LLVM
PowerPC
CPP
stmt_completion
CPU
25,743
[ "Outs", ")", ")", "return", "false", ";" ]
[ "if", "(", "!", "areCallingConvEligibleForTCO_64SVR4", "(", "CallerCC", ",", "CalleeCC", ")", ")", "return", "false", ";", "if", "(", "any_of", "(", "Ins", ",", "[", "]", "(", "const", "ISD", "::", "InputArg", "&", "IA", ")", "{", "return", "IA", ".", ...
LLVM
AArch64
TD
next_suggestion
CPU
25,744
[ "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "op2", ";" ]
[ "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "op1", ";", "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "Cn", ";", "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "Cm", ";" ]
GCC
m68k
MD
stmt_completion
MPU
25,745
[ ")" ]
[ "(", "define_automaton", "<STR_LIT>" ]
GCC
arm
CPP
stmt_completion
CPU
25,746
[ "LO_REGS", ";" ]
[ "else", "{", "if", "(", "rclass", "==", "GENERAL_REGS", ")", "return" ]
LLVM
SystemZ
TD
next_suggestion
CPU
25,747
[ "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "I2", ";" ]
[ "bits", "<", "<NUM_LIT>", ">", "R1", ";", "bits", "<", "<NUM_LIT>", ">", "I2", ";", "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "op", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", ";", "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}...
LLVM
ARM
CPP
code_generation
CPU
25,748
[ "bool", "ARMTTIImpl", "::", "isHardwareLoopProfitable", "(", "Loop", "*", "L", ",", "ScalarEvolution", "&", "SE", ",", "AssumptionCache", "&", "AC", ",", "TargetLibraryInfo", "*", "LibInfo", ",", "HardwareLoopInfo", "&", "HWLoopInfo", ")", "{", "if", "(", "!",...
[ "Query", "the", "target", "whether", "it", "would", "be", "profitable", "to", "convert", "the", "given", "loop", "into", "a", "hardware", "loop", "." ]
LLVM
AMDGPU
CPP
stmt_completion
GPU
25,749
[ "MRI", ",", "B", ")", ";" ]
[ "case", "TargetOpcode", "::", "G_INTRINSIC_TRUNC", ":", "return", "legalizeIntrinsicTrunc", "(", "MI", ",", "MRI", ",", "B", ")", ";", "case", "TargetOpcode", "::", "G_SITOFP", ":", "return", "legalizeITOFP", "(", "MI", ",", "MRI", ",", "B", ",", "true", "...
GCC
nds32
CPP
next_suggestion
CPU
25,750
[ "XVECEXP", "(", "result", ",", "<NUM_LIT>", ",", "par_index", "+", "start_idx", ")", "=", "gen_rtx_SET", "(", "mem", ",", "reg", ")", ";" ]
[ "if", "(", "update_base_reg_p", ")", "{", "*", "update_base_reg", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "return", "gen_unaligned_store_update_base_w", "(", "*", "update_base_reg", ",", "base_addr", ",", "reg", ")", ";", "}", "else", "return", "gen_unalign...
LLVM
DirectX
CPP
code_generation
Virtual ISA
25,751
[ "const", "Metadata", "*", "get", "(", "ArrayRef", "<", "const", "Metadata", "*", ">", "MDs", ")", "const", "{", "assert", "(", "ID", "&&", "<STR_LIT>", "Expected non-zero ID", "<STR_LIT>", ")", ";", "assert", "(", "ID", "<=", "MDs", ".", "size", "(", "...
[ "Get", "the", "generated", "Value", "for", "a", "given", "VPValue", "and", "given", "Part", "and", "Lane", "." ]
LLVM
TPC
TD
next_suggestion
Virtual ISA
25,752
[ "let", "PredPolarity", "=", "pred", "{", "<NUM_LIT>", "}", ";" ]
[ "bits", "<", "<NUM_LIT>", ">", "pred", ";", "let", "Dest", "=", "dest", ";", "let", "SrcA", "=", "op1", ";", "let", "SrcB", "=", "op2", ";", "let", "OperandType", "=", "optype", ";", "let", "Switches", "=", "sw", ";", "let", "Switches", "{", "<NUM_...
LLVM
X86
CPP
stmt_completion
CPU
25,753
[ "<NUM_LIT>", ")", ")", "{" ]
[ "EVT", "HalfVT", "=", "EVT", "::", "getVectorVT", "(", "*", "DAG", ".", "getContext", "(", ")", ",", "MemVT", ".", "getScalarType", "(", ")", ",", "NumElems", "/", "<NUM_LIT>", ")", ";", "SDValue", "Load1", "=", "DAG", ".", "getLoad", "(", "HalfVT", ...
LLVM
X86
CPP
stmt_completion
CPU
25,754
[ "Not an SSE instruction", "<STR_LIT>", ")", ";" ]
[ "void", "X86InstrInfo", "::", "SetSSEDomain", "(", "MachineInstr", "*", "MI", ",", "unsigned", "Domain", ")", "const", "{", "assert", "(", "Domain", ">", "<NUM_LIT>", "&&", "Domain", "<", "<NUM_LIT>", "&&", "<STR_LIT>", "Invalid execution domain", "<STR_LIT>", "...
GCC
arm
CPP
stmt_completion
CPU
25,755
[ "_", "_", "p", ")", ";" ]
[ "return", "_", "_", "builtin_mve_vmaxnmvq_p_fv4sf", "(", "_", "_", "a", ",", "_", "_", "b", "," ]
LLVM
ARM
TD
stmt_completion
CPU
25,756
[ "]", ">", ";" ]
[ "def", "VLD3q32oddPseudo_UPD", ":", "VLDQQQQWBPseudo", "<", "IIC_VLD3u", ">", ",", "Sched", "<", "[", "WriteVLD3" ]
GCC
m32c
CPP
next_suggestion
MPU
25,757
[ "break", ";" ]
[ "static", "rtx", "m32c_function_arg", "(", "cumulative_args_t", "ca_v", ",", "const", "function_arg_info", "&", "arg", ")", "{", "CUMULATIVE_ARGS", "*", "ca", "=", "get_cumulative_args", "(", "ca_v", ")", ";", "rtx", "rv", "=", "NULL_RTX", ";", "fprintf", "(",...
LLVM
SystemZ
CPP
stmt_completion
CPU
25,758
[ "true", ";" ]
[ "if", "(", "!", "Done", "&&", "!", "is12BitOnly", "&&", "!", "MatchAddress", "(", "Addr", ",", "AM20", ",", "false", ")", ")", "if", "(", "AM12", ".", "Disp", "==", "<NUM_LIT>", "&&", "AM20", ".", "Disp", "!=", "<NUM_LIT>", ")", "return", "false", ...
LLVM
CSKY
CPP
stmt_completion
CPU
25,759
[ "Lex", "(", ")", ";" ]
[ "const", "AsmToken", "&", "Tok", "=", "getParser", "(", ")", ".", "getTok", "(", ")", ";", "StartLoc", "=", "Tok", ".", "getLoc", "(", ")", ";", "EndLoc", "=", "Tok", ".", "getEndLoc", "(", ")", ";", "StringRef", "Name", "=", "getLexer", "(", ")", ...
GCC
s390
MD
stmt_completion
MPU
25,760
[ "const_int", "<NUM_LIT>", ")", ")", ")" ]
[ "<STR_LIT>", ")", "(", "const_int", "<NUM_LIT>", ")", "]", "(" ]
LLVM
Sparc
TD
next_suggestion
CPU
25,761
[ "def", "ADDRrr", ":", "ComplexPattern", "<", "iPTR", ",", "<NUM_LIT>", ",", "<STR_LIT>", ",", "[", "]", ",", "[", "]", ">", ";" ]
[ "return", "isShiftedUInt", "<", "<NUM_LIT>", ",", "<NUM_LIT>", ">", "(", "N", "-", ">", "getZExtValue", "(", ")", ")", ";", "}", "]", ",", "HI22", ">", ";", "def", "SETHIimm_not", ":", "PatLeaf", "<", "(", "i32", "imm", ")", ",", "[", "{", "return"...
LLVM
PowerPC
TD
stmt_completion
CPU
25,762
[ ":", "$", "ptrreg", ")", ";" ]
[ "def", "memr", ":", "Operand", "<", "iPTR", ">", "{", "let", "MIOperandInfo", "=", "(", "ops", "ptr_rc_nor0" ]
LLVM
AMDGPU
CPP
next_suggestion
GPU
25,763
[ "return", "std", "::", "all_of", "(", "B", ",", "E", ",", "[", "this", "]", "(", "MachineInstr", "&", "MI", ")", "{", "return", "canAddMI", "(", "MI", ")", ";", "}", ")", ";" ]
[ "if", "(", "MI", ".", "getOpcode", "(", ")", "!=", "TargetOpcode", "::", "BUNDLE", ")", "return", "canAddMI", "(", "MI", ")", ";", "const", "MachineBasicBlock", "*", "MBB", "=", "MI", ".", "getParent", "(", ")", ";", "MachineBasicBlock", "::", "instr_ite...
LLVM
R600
CPP
stmt_completion
GPU
25,764
[ "VT", ",", "RHS", ",", "RHSign", ")", ";" ]
[ "SDValue", "LHS", "=", "Op", ".", "getOperand", "(", "<NUM_LIT>", ")", ";", "SDValue", "RHS", "=", "Op", ".", "getOperand", "(", "<NUM_LIT>", ")", ";", "SDValue", "LHSign", "=", "DAG", ".", "getSelectCC", "(", "DL", ",", "LHS", ",", "Zero", ",", "Neg...
LLVM
ARM64
TD
next_suggestion
CPU
25,765
[ "}" ]
[ "let", "SuperClasses", "=", "[", "ExtendOperand", "]", ";", "let", "Name", "=", "<STR_LIT>", ";" ]
GCC
sh
MD
next_suggestion
CPU
25,766
[ "(", "const_string", "<STR_LIT>", ")", "(", "const_string", "<STR_LIT>", ")", ")", ")" ]
[ "<STR_LIT>", "}", "[", "(", "set_attr", "<STR_LIT>", "<STR_LIT>", ")", "(", "set", "(", "attr", "<STR_LIT>", ")", "(", "if_then_else", "(", "eq_attr", "<STR_LIT>", "<STR_LIT>", ")" ]
LLVM
AArch64
TD
next_suggestion
CPU
25,767
[ "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "Rm", ";" ]
[ "class", "BaseSIMDThreeSameVectorTied", "<", "bit", "Q", ",", "bit", "U", ",", "bits", "<", "<NUM_LIT>", ">", "size", ",", "bits", "<", "<NUM_LIT>", ">", "opcode", ",", "RegisterOperand", "regtype", ",", "string", "asm", ",", "string", "kind", ",", "list",...
LLVM
ARM
TD
next_suggestion
CPU
25,768
[ "let", "ParserMethod", "=", "<STR_LIT>", ";" ]
[ "let", "RenderMethod", "=", "<STR_LIT>", ";", "let", "PredicateMethod", "=", "<STR_LIT>", ";" ]
LLVM
AArch64
CPP
next_suggestion
CPU
25,769
[ "SeparatorString", "=", "<STR_LIT>", "%%", "<STR_LIT>", ";" ]
[ "AArch64MCAsmInfoDarwin", "::", "AArch64MCAsmInfoDarwin", "(", ")", "{", "AssemblerDialect", "=", "AsmWriterVariant", "==", "Default", "?", "<NUM_LIT>", ":", "AsmWriterVariant", ";", "PrivateGlobalPrefix", "=", "<STR_LIT>", "L", "<STR_LIT>", ";", "PrivateLabelPrefix", "...
GCC
i386
MD
stmt_completion
CPU
25,770
[ "<STR_LIT>", "<STR_LIT>", ")" ]
[ "(", "define_insn_reservation", "<STR_LIT>", "<NUM_LIT>", "(", "and", "(", "eq_attr", "<STR_LIT>", "<STR_LIT>", ")", "(", "and", "(", "eq_attr" ]
LLVM
Hexagon
TD
next_suggestion
DSP
25,771
[ "let", "prefersSlot3", "=", "<NUM_LIT>", ";" ]
[ "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "<NUM_LIT>", ";", "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "<NUM_LIT>", ";", "let", "hasNewValue", "=", "<NUM_LIT>", ";", "let", "opNewValue", "=", "<NUM_LIT>", ";" ]
LLVM
AMDGPU
CPP
stmt_completion
GPU
25,772
[ "SccNum", ";" ]
[ "int", "R600MachineCFGStructurizer", "::", "getSCCNum", "(", "MachineBasicBlock", "*", "MBB", ")", "const", "{", "MBBInfoMap", "::", "const_iterator", "It", "=", "BlockInfoMap", ".", "find", "(", "MBB", ")", ";", "if", "(", "It", "==", "BlockInfoMap", ".", "...
LLVM
AArch64
CPP
stmt_completion
CPU
25,773
[ ")", ";" ]
[ "ModulePass", "*", "llvm", "::", "createSVEIntrinsicOptsPass", "(", ")", "{", "return", "new", "SVEIntrinsicOpts", "(" ]
GCC
i386
CPP
stmt_completion
CPU
25,774
[ ",", "_", "_", "count", ")", ";" ]
[ "extern", "_", "_", "inline", "_", "_", "m64", "_", "_", "attribute__", "(", "(", "_", "_", "gnu_inline__", ",", "_", "_", "always_inline__", ",", "_", "_", "artificial__", ")", ")", "_", "m_psrlqi", "(", "_", "_", "m64", "_", "_", "m", ",", "int...
GCC
mn10300
CPP
code_generation
MPU
25,775
[ "void", "mn10300_gen_multiple_store", "(", "int", "mask", ")", "{", "if", "(", "mask", "!=", "<NUM_LIT>", ")", "{", "int", "i", ";", "int", "count", ";", "rtx", "par", ";", "int", "pari", ";", "count", "=", "<NUM_LIT>", ";", "for", "(", "i", "=", "...
[ "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...
LLVM
AArch64
TD
stmt_completion
CPU
25,776
[ "uimm12s1", ":", "$", "offset", ")", ",", "bsub", ")", ")", ">", ";" ]
[ "def", ":", "Pat", "<", "(", "f64", "(", "uint_to_fp", "(", "i32", "(", "zextloadi8", "(", "am_indexed8", "GPR64sp", ":", "$", "Rn", ",", "uimm12s1", ":", "$", "offset", ")", ")", ")", ")", ")", ",", "(", "UCVTFv1i64", "(", "INSERT_SUBREG", "(", "f...
LLVM
PowerPC
CPP
next_suggestion
CPU
25,777
[ "if", "(", "AlignOfGlobal", ".", "value", "(", ")", ">", "ConstData", "->", "getElementByteSize", "(", ")", ")", "continue", ";" ]
[ "AllUsedGlobals", ".", "insert", "(", "UsedV", ".", "begin", "(", ")", ",", "UsedV", ".", "end", "(", ")", ")", ";", "AllUsedGlobals", ".", "insert", "(", "UsedVCompiler", ".", "begin", "(", ")", ",", "UsedVCompiler", ".", "end", "(", ")", ")", ";", ...
GCC
s390
MD
next_suggestion
MPU
25,778
[ "<STR_LIT>" ]
[ "[", "(", "set", "(", "match_operand", ":", "HI", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", "(", "xor", ":", "HI", "(", "match_operand", ":", "HI", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", "(", "match_operand", ":", "HI", "<NUM_LIT>", "<STR_LIT>", "<STR...
LLVM
Mips
CPP
stmt_completion
CPU
25,779
[ ")", "{" ]
[ "}", "else", "{", "unsigned", "Reg", "=", "loadImmediate", "(", "Amount", ",", "MBB", ",", "I", ",", "DL", ",", "nullptr", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "Mips", "::", "CIncOffset", ")", ",", "SP", ")", "...
GCC
arm
MD
next_suggestion
CPU
25,780
[ "(", "set_attr", "<STR_LIT>", "<STR_LIT>", ")", "]" ]
[ "[", "(", "match_operand", ":", "SI", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", "(", "match_operand", ":", "SI", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", "]", ")", "(", "neg", ":", "SI", "(", "match_operand", ":", "SI", "<NUM_LIT>", "<STR_LIT>", "<STR_L...
LLVM
MBlaze
TD
stmt_completion
MPU
25,781
[ ")", ";" ]
[ "let", "PrintMethod", "=", "<STR_LIT>", ";", "let", "MIOperandInfo", "=", "(", "ops", "GPR", ",", "GPR" ]
LLVM
AArch64
CPP
program_repair
CPU
25,782
[ "<FIXS>", "Register", "PNRReg", "=", "MCRegister", "::", "NoRegister", ";", "<FIXE>" ]
[ "unsigned", "Opc", "=", "<NUM_LIT>", ";", "bool", "Offset", "=", "true", ";", "unsigned", "StackID", "=", "TargetStackID", "::", "Default", ";", "<BUGS>", "MCRegister", "PNRReg", "=", "MCRegister", "::", "NoRegister", ";", "<BUGE>", "switch", "(", "TRI", "->...
LLVM
AMDGPU
CPP
stmt_completion
GPU
25,783
[ ";" ]
[ "}", "if", "(", "EarlyInlineAll", "&&", "!", "EnableFunctionCalls", ")", "PM", ".", "addPass", "(", "AMDGPUAlwaysInlinePass", "(", ")", ")", ";", "}", ")", ";", "PB", ".", "registerPeepholeEPCallback", "(", "[", "]", "(", "FunctionPassManager", "&", "FPM", ...
LLVM
X86
CPP
code_generation
CPU
25,784
[ "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "<STR_LIT>", "Tile Register Pre-configure", "<STR_LIT>", ";", "}" ]
[ "getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "." ]
GCC
rs6000
CPP
next_suggestion
CPU
25,785
[ "_", "_", "a", "=", "vec_splat", "(", "(", "_", "_", "v4sf", ")", "_", "_", "A", ",", "<NUM_LIT>", ")", ";" ]
[ "extern", "_", "_", "inline", "_", "_", "m128", "_", "_", "attribute__", "(", "(", "_", "_", "gnu_inline__", ",", "_", "_", "always_inline__", ",", "_", "_", "artificial__", ")", ")", "_", "mm_cmpneq_ss", "(", "_", "_", "m128", "_", "_", "A", ",", ...
LLVM
R600
TD
stmt_completion
GPU
25,786
[ "[", "]", ">", ";" ]
[ "def", "_real", ":", "R600_2OP", "<", "inst", ",", "<STR_LIT>", "," ]
LLVM
AMDGPU
CPP
code_generation
GPU
25,787
[ "bool", "SIInstrInfo", "::", "getMemOperandsWithOffsetWidth", "(", "const", "MachineInstr", "&", "LdSt", ",", "SmallVectorImpl", "<", "const", "MachineOperand", "*", ">", "&", "BaseOps", ",", "int64_t", "&", "Offset", ",", "bool", "&", "OffsetIsScalable", ",", "...
[ "Get", "zero", "or", "more", "base", "operands", "and", "the", "byte", "offset", "of", "an", "instruction", "that", "reads/writes", "memory", "." ]
LLVM
ARM
TD
stmt_completion
CPU
25,788
[ "<NUM_LIT>", ";" ]
[ "def", "MVE_VSHR_immu32", ":", "MVE_VSHR_imm", "<", "<STR_LIT>", ",", "(", "ins", "shr_imm32", ":", "$", "imm", ")", ">", "{", "let", "Inst", "{", "<NUM_LIT>", "}", "=", "<NUM_LIT>", ";", "let", "Inst", "{", "<NUM_LIT>", "}", "=" ]
GCC
tilepro
CPP
program_repair
VLIW
25,789
[ "<FIXS>", "case", "E_QImode", ":", "<FIXE>", "<FIXS>", "case", "E_HImode", ":", "<FIXE>", "<FIXS>", "case", "E_SImode", ":", "<FIXE>", "<FIXS>", "case", "E_DImode", ":", "<FIXE>" ]
[ "switch", "(", "mode", ")", "{", "<BUGS>", "case", "QImode", ":", "<BUGE>", "n", "=", "<NUM_LIT>", "*", "(", "n", "&", "<NUM_LIT>", ")", ";", "break", ";", "<BUGS>", "case", "HImode", ":", "<BUGE>", "n", "=", "<NUM_LIT>", "*", "(", "n", "&", "<NUM_...
LLVM
M68k
CPP
stmt_completion
MPU
25,790
[ "Store", ";" ]
[ "Access", "=", "AccessTy", "::" ]
LLVM
Hexagon
TD
next_suggestion
DSP
25,791
[ "let", "isTaken", "=", "Inst", "{", "<NUM_LIT>", "}", ";" ]
[ "let", "isBranch", "=", "<NUM_LIT>", ";", "let", "isPredicatedNew", "=", "<NUM_LIT>", ";", "let", "cofRelax1", "=", "<NUM_LIT>", ";", "let", "cofRelax2", "=", "<NUM_LIT>", ";", "let", "cofMax1", "=", "<NUM_LIT>", ";", "let", "Defs", "=", "[", "PC", "]", ...
LLVM
X86
CPP
code_generation
CPU
25,792
[ "bool", "X86TargetLowering", "::", "lowerInterleavedStore", "(", "StoreInst", "*", "SI", ",", "ShuffleVectorInst", "*", "SVI", ",", "unsigned", "Factor", ")", "const", "{", "assert", "(", "Factor", ">=", "<NUM_LIT>", "&&", "Factor", "<=", "getMaxSupportedInterleav...
[ "Lower", "interleaved", "store", "(", "s", ")", "into", "target", "specific", "instructions/intrinsics", "." ]
LLVM
AMDGPU
CPP
next_suggestion
GPU
25,793
[ "}" ]
[ "ScratchRSrcReg", "=", "AMDGPU", "::", "SGPR0_SGPR1_SGPR2_SGPR3", ";", "ScratchWaveOffsetReg", "=", "AMDGPU", "::", "SGPR4", ";", "FrameOffsetReg", "=", "AMDGPU", "::", "SGPR5", ";", "StackPtrOffsetReg", "=", "AMDGPU", "::", "SGPR32", ";", "ArgInfo", ".", "Private...
GCC
alpha
MD
stmt_completion
MPU
25,794
[ "alpha_tablejump_best_label", "(", "insn", ")" ]
[ "(", "define_insn", "<STR_LIT>", "[", "(", "set", "(", "pc", ")", "(", "match_operand", ":", "DI", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", ")", "(", "use", "(", "label_ref", ":", "DI", "(", "match_operand", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", "...
LLVM
AArch64
CPP
next_suggestion
CPU
25,795
[ "}" ]
[ "bool", "isGPR32as64", "(", ")", "const", "{", "return", "Kind", "==", "k_Register", "&&", "!", "Reg", ".", "isVector", "&&", "AArch64MCRegisterClasses", "[", "<STR_LIT>", "::", "<STR_LIT>", "]", ".", "contains", "(", "Reg", ".", "RegNum", ")", ";" ]
LLVM
AMDGPU
CPP
next_suggestion
GPU
25,796
[ "}" ]
[ "DebugLoc", "DL", ";", "for", "(", "MachineInstr", "&", "MI", ":", "*", "MBB", ")", "if", "(", "MI", ".", "getDebugLoc", "(", ")", ")", "DL", "=", "MI", ".", "getDebugLoc", "(", ")", ";", "return", "DL", ";" ]
GCC
frv
MD
next_suggestion
VLIW
25,797
[ "<STR_LIT>", ")" ]
[ "(", "use", "(", "match_operand", ":", "SI", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", ")", "(", "use", "(", "const_int", "<NUM_LIT>", ")", ")", "]", ")", "]", "<STR_LIT>" ]
LLVM
AArch64
TD
stmt_completion
CPU
25,798
[ "GPR64sp", ":", "$", "Rn", ",", "simm9_offset_fb8", ":", "$", "offset", ")", ",", "<NUM_LIT>", ">", ";" ]
[ "def", ":", "InstAlias", "<", "<STR_LIT>", ",", "(", "STURBi", "FPR8Op", ":", "$", "Rt", "," ]
LLVM
AArch64
CPP
next_suggestion
CPU
25,799
[ "break", ";" ]
[ "}", "}", "else", "if", "(", "TVal", ".", "getOpcode", "(", ")", "==", "ISD", "::", "SUB", ")", "{", "ConstantSDNode", "*", "CVal", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "TVal", ".", "getOperand", "(", "<NUM_LIT>", ")", ")", ";", "if", ...