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
LLVM
SystemZ
CPP
stmt_completion
CPU
1,800
[ "(", "Op0", ")", ")", "{" ]
[ "WhichConst", "=", "Const", "->", "isNegative", "(", ")", "?", "<NUM_LIT>", ":", "<NUM_LIT>", ";", "}", "else", "if", "(", "Const", "->", "isExactlyValue", "(", "Smallest", ")", ")", "{", "if", "(", "(", "Pred", "&", "CmpInst", "::", "FCMP_OGE", ")", ...
LLVM
Mips
CPP
next_suggestion
CPU
1,801
[ "return", "true", ";" ]
[ "unsigned", "AddrIdx", ";", "if", "(", "(", "isBasePlusOffsetMemoryAccess", "(", "CurrI", "->", "getOpcode", "(", ")", ",", "&", "AddrIdx", ")", "&&", "baseRegNeedsLoadStoreMask", "(", "CurrI", "->", "getOperand", "(", "AddrIdx", ")", ".", "getReg", "(", ")"...
LLVM
AArch64
TD
next_suggestion
CPU
1,802
[ "let", "ElementSize", "=", "ElementSizeNone", ";" ]
[ "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "<NUM_LIT>", ";", "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "sz8_64", ";", "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "opc", ";", "let", "Inst", "{", "<...
LLVM
MSP430
CPP
next_suggestion
MPU
1,803
[ "else", "llvm_unreachable", "(", "<STR_LIT>", "Cannot store this register to stack slot!", "<STR_LIT>", ")", ";" ]
[ "MachineMemOperand", "*", "MMO", "=", "MF", ".", "getMachineMemOperand", "(", "MachinePointerInfo", "::", "getFixedStack", "(", "MF", ",", "FrameIdx", ")", ",", "MachineMemOperand", "::", "MOLoad", ",", "MFI", ".", "getObjectSize", "(", "FrameIdx", ")", ",", "...
LLVM
X86
CPP
stmt_completion
CPU
1,804
[ ")", "const", "override", "{" ]
[ "StringRef", "getPassName", "(" ]
LLVM
AMDGPU
CPP
next_suggestion
GPU
1,805
[ "DAG", ".", "ReplaceAllUsesWith", "(", "BR", ",", "NewBR", ".", "getNode", "(", ")", ")", ";" ]
[ "SDLoc", "DL", "(", "BRCOND", ")", ";", "SDNode", "*", "Intr", "=", "BRCOND", ".", "getOperand", "(", "<NUM_LIT>", ")", ".", "getNode", "(", ")", ";", "SDValue", "Target", "=", "BRCOND", ".", "getOperand", "(", "<NUM_LIT>", ")", ";", "SDNode", "*", "...
LLVM
X86
CPP
stmt_completion
CPU
1,806
[ "SVT", ",", "NumElts", "/", "<NUM_LIT>", ")", ";" ]
[ "SDLoc", "DL", "(", "Op", ")", ";", "if", "(", "!", "VT", ".", "isVector", "(", ")", ")", "{", "MVT", "VecVT", "=", "MVT", "::", "getVectorVT", "(", "VT", ",", "<NUM_LIT>", "/", "VT", ".", "getSizeInBits", "(", ")", ")", ";", "SDValue", "Res", ...
LLVM
SystemZ
CPP
stmt_completion
CPU
1,807
[ "Disp", ")", ";" ]
[ "void", "addBDXAddrOperands", "(", "MCInst", "&", "Inst", ",", "unsigned", "N", ")", "const", "{", "assert", "(", "N", "==", "<NUM_LIT>", "&&", "<STR_LIT>", "Invalid number of operands", "<STR_LIT>", ")", ";", "assert", "(", "isMem", "(", "BDXMem", ")", "&&"...
GCC
i386
MD
stmt_completion
CPU
1,808
[ "<STR_LIT>", "<STR_LIT>", ")" ]
[ "(", "and", "(", "eq_attr" ]
LLVM
ARM
TD
stmt_completion
CPU
1,809
[ "}", "=", "<NUM_LIT>", ";" ]
[ "def", "MVE_VSHR_immu16", ":", "MVE_VSHR_imm", "<", "<STR_LIT>", ",", "(", "ins", "shr_imm16", ":", "$", "imm", ")", ">", "{", "let", "Inst", "{", "<NUM_LIT>", "}", "=", "<NUM_LIT>", ";", "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>" ]
LLVM
AArch64
CPP
stmt_completion
CPU
1,810
[ ":" ]
[ "switch", "(", "Instr", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "return", "false", ";", "case", "<STR_LIT>", "::", "<STR_LIT>", ":", "case", "<STR_LIT>", "::", "<STR_LIT>", ":", "case", "<STR_LIT>", "::", "<STR_LIT>", ":", "case", "<STR_LIT>...
LLVM
AArch64
TD
stmt_completion
CPU
1,811
[ "=", "<STR_LIT>", ";" ]
[ "let", "PredicateMethod", "=", "<STR_LIT>", ";", "let", "RenderMethod" ]
GCC
sh
CPP
code_generation
CPU
1,812
[ "static", "void", "sh_setup_incoming_varargs", "(", "cumulative_args_t", "ca", ",", "const", "function_arg_info", "&", "arg", ",", "int", "*", "pretend_arg_size", ",", "int", "second_time", "ATTRIBUTE_UNUSED", ")", "{", "gcc_assert", "(", "cfun", "->", "stdarg", "...
[ "We", "actually", "emit", "the", "code", "in", "sh_expand_prologue", ".", "We", "used", "to", "use", "a", "static", "variable", "to", "flag", "that", "we", "need", "to", "emit", "this", "code", ",", "but", "that", "does", "n't", "when", "inlining", ",", ...
LLVM
AMDGPU
CPP
next_suggestion
GPU
1,813
[ "return", "Ctrl", "==", "<STR_LIT>", "row_mirror", "<STR_LIT>", "||", "Ctrl", "==", "<STR_LIT>", "row_half_mirror", "<STR_LIT>", "||", "Ctrl", "==", "<STR_LIT>", "quad_perm", "<STR_LIT>", "||", "Ctrl", "==", "<STR_LIT>", "row_shl", "<STR_LIT>", "||", "Ctrl", "==",...
[ "if", "(", "Ctrl", "==", "<STR_LIT>", "row_newbcast", "<STR_LIT>", ")", "return", "isGFX90A", "(", ")", ";", "if", "(", "Ctrl", "==", "<STR_LIT>", "row_share", "<STR_LIT>", "||", "Ctrl", "==", "<STR_LIT>", "row_xmask", "<STR_LIT>", ")", "return", "isGFX10Plus"...
GCC
lm32
MD
next_suggestion
MPU
1,814
[ "<STR_LIT>" ]
[ "[", "(", "set", "(", "match_operand", ":", "SI", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", "(", "mult", ":", "SI", "(", "match_operand", ":", "SI", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", "(", "match_operand", ":", "SI", "<NUM_LIT>", "<STR_LIT>", "<ST...
GCC
aarch64
CPP
program_repair
CPU
1,815
[ "<FIXS>", "if", "(", "mode", "!=", "DFmode", "&&", "mode", "!=", "SFmode", "&&", "mode", "!=", "TFmode", "&&", "mode", "!=", "HFmode", ")", "<FIXE>" ]
[ "{", "case", "REAL_TYPE", ":", "mode", "=", "TYPE_MODE", "(", "type", ")", ";", "<BUGS>", "if", "(", "mode", "!=", "DFmode", "&&", "mode", "!=", "SFmode", "&&", "mode", "!=", "TFmode", ")", "<BUGE>", "return", "-", "<NUM_LIT>", ";", "if", "(", "*", ...
LLVM
X86
CPP
stmt_completion
CPU
1,816
[ "<NUM_LIT>", ")", ":", "Type", "::", "getInt32PtrTy", "(", "*", "DAG", ".", "getContext", "(", ")", ",", "<NUM_LIT>", ")", ")", ";" ]
[ "unsigned", "char", "OpFlag", "=", "<NUM_LIT>", ";", "unsigned", "WrapperKind", "=", "Subtarget", "->", "isPICStyleRIPRel", "(", ")", "?", "<STR_LIT>", "::", "<STR_LIT>", ":", "<STR_LIT>", "::", "<STR_LIT>", ";", "bool", "PIC32", "=", "(", "getTargetMachine", ...
LLVM
AArch64
TD
stmt_completion
CPU
1,817
[ ";" ]
[ "def", "ExtendOperand", ":", "AsmOperandClass", "{", "let", "Name", "=", "<STR_LIT>" ]
LLVM
AMDGPU
CPP
stmt_completion
GPU
1,818
[ ")", "{" ]
[ "SIAnnotateControlFlow", "(", ")", ":", "FunctionPass", "(", "ID" ]
LLVM
AMDGPU
CPP
program_repair
GPU
1,819
[ "<FIXS>", "MachinePointerInfo", "::", "getFixedStack", "(", "*", "MF", ",", "Index", ")", ";", "<FIXE>", "<FIXS>", "Size", ",", "Align", ")", ";", "<FIXE>" ]
[ "}", "int64_t", "FrOffset", "=", "FrameInfo", ".", "getObjectOffset", "(", "Index", ")", ";", "unsigned", "Align", "=", "FrameInfo", ".", "getObjectAlignment", "(", "Index", ")", ";", "MachinePointerInfo", "PtrInfo", "<BUGS>", "MachinePointerInfo", "::", "getFixed...
GCC
pa
CPP
program_repair
CPU
1,820
[ "<FIXS>", "<FIXE>", "<FIXS>", "}", "<FIXE>" ]
[ "case", "LTU", ":", "fprintf", "(", "file", ",", "<STR_LIT>", "<<=", "<STR_LIT>", ")", ";", "break", ";", "default", ":", "<BUGS>", "printf", "(", "<STR_LIT>", "Can't grok '%c' operator:\\n", "<STR_LIT>", ",", "code", ")", ";", "debug_rtx", "(", "x", ")", ...
LLVM
Mips
CPP
stmt_completion
CPU
1,821
[ "Imm", ",", "DL", ",", "MVT", "::", "i32", ")", ",", "Op", "->", "getOperand", "(", "<NUM_LIT>", ")", ")", ";" ]
[ "int", "SHFIndices", "[", "<NUM_LIT>", "]", "=", "{", "-", "<NUM_LIT>", ",", "-", "<NUM_LIT>", ",", "-", "<NUM_LIT>", ",", "-", "<NUM_LIT>", "}", ";", "if", "(", "Indices", ".", "size", "(", ")", "<", "<NUM_LIT>", ")", "return", "SDValue", "(", ")", ...
LLVM
SystemZ
TD
next_suggestion
CPU
1,822
[ "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "op", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", ";" ]
[ "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "I2", ";", "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "M3", ";", "let", "Inst", "{", "<NUM_LIT>", "}", "=", "V1", "{", "<NUM_LIT>", "}", ";", "let", "Inst", "{", "<NUM_L...
LLVM
X86
CPP
next_suggestion
CPU
1,823
[ "SDValue", "MemTmp", "=", "CurDAG", "->", "CreateStackTemporary", "(", "MemVT", ")", ";" ]
[ "}", "if", "(", "N", "->", "getOpcode", "(", ")", "!=", "ISD", "::", "FP_ROUND", "&&", "N", "->", "getOpcode", "(", ")", "!=", "ISD", "::", "FP_EXTEND", ")", "continue", ";", "EVT", "SrcVT", "=", "N", "->", "getOperand", "(", "<NUM_LIT>", ")", ".",...
GCC
mmix
MD
next_suggestion
CPU
1,824
[ "<STR_LIT>", ")" ]
[ "(", "not", ":", "DI", "(", "match_operand", ":", "DI", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", ")", "(", "match_operand", ":", "DI", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", ")", ")", "]", "<STR_LIT>" ]
GCC
m68k
CPP
program_repair
MPU
1,825
[ "<FIXS>", "<FIXE>", "<FIXS>", "case", "OP_TYPE_RN", ":", "return", "OPX_TYPE_RN", ";", "case", "OP_TYPE_FPN", ":", "return", "OPX_TYPE_FPN", ";", "<FIXE>" ]
[ "enum", "attr_opx_typem68k_sched_attr_opx_type", "(", "rtx", "insn", ",", "int", "address_p", ")", "{", "<BUGS>", "sched_guess_p", "=", "(", "get_attr_guess", "(", "insn", ")", "==", "GUESS_YES", ")", ";", "<BUGE>", "switch", "(", "sched_attr_op_type", "(", "ins...
LLVM
Hexagon
TD
stmt_completion
DSP
1,826
[ "<NUM_LIT>", ";" ]
[ "def", "A2_addsph", ":", "HInst", "<", "(", "outs", "DoubleRegs", ":", "$", "Rdd32", ")", ",", "(", "ins", "DoubleRegs", ":", "$", "Rss32", ",", "DoubleRegs", ":", "$", "Rtt32", ")", ",", "<STR_LIT>", ",", "tc_679309b8", ",", "TypeALU64", ">", ",", "...
LLVM
ARM64
TD
next_suggestion
CPU
1,827
[ "bits", "<", "<NUM_LIT>", ">", "Rm", ";" ]
[ "class", "BaseAddSubEReg", "<", "bit", "isSub", ",", "bit", "setFlags", ",", "RegisterClass", "dstRegtype", ",", "RegisterClass", "src1Regtype", ",", "Operand", "src2Regtype", ",", "string", "asm", ",", "SDPatternOperator", "OpNode", ">", ":", "I", "<", "(", "...
GCC
powerpcspe
MD
next_suggestion
CPU
1,828
[ "[", "(", "set_attr", "<STR_LIT>", "<STR_LIT>", ")", "]", ")" ]
[ "(", "match_operand", ":", "VI2", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", ")", ")", "]", "<STR_LIT>", "<STR_LIT>" ]
GCC
aarch64
MD
stmt_completion
CPU
1,829
[ ")", "]" ]
[ "(", "lo_sum", "(", "match_operand", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", "(", "match_operand", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", ")" ]
GCC
i386
CPP
code_generation
CPU
1,830
[ "static", "unsigned", "int", "ix86_minimum_incoming_stack_boundary", "(", "bool", "sibcall", ")", "{", "unsigned", "int", "incoming_stack_boundary", ";", "if", "(", "ix86_user_incoming_stack_boundary", ")", "incoming_stack_boundary", "=", "ix86_user_incoming_stack_boundary", ...
[ "Return", "minimum", "incoming", "stack", "alignment", "." ]
GCC
cris
CPP
stmt_completion
MPU
1,831
[ ")", ")", ")", "{" ]
[ "if", "(", "!", "TARGET_SIDE_EFFECT_PREFIXES", ")", "return", "<NUM_LIT>", ";", "if", "(", "GET_CODE", "(", "val_rtx", ")", "==", "MULT", ")", "{", "mult", "=", "INTVAL", "(", "XEXP", "(", "val_rtx", ",", "<NUM_LIT>", ")", ")", ";", "val_rtx", "=", "XE...
LLVM
ARM
CPP
stmt_completion
CPU
1,832
[ "VLDMQDB", ":" ]
[ "if", "(", "!", "ItinData", "||", "ItinData", "->", "isEmpty", "(", ")", ")", "return", "<NUM_LIT>", ";", "unsigned", "Opcode", "=", "Node", "->", "getMachineOpcode", "(", ")", ";", "switch", "(", "Opcode", ")", "{", "default", ":", "return", "ItinData",...
LLVM
AMDGPU
CPP
program_repair
GPU
1,833
[ "<FIXS>", "bool", "SelectMUBUF", "(", "SDValue", "Addr", ",", "SDValue", "&", "SRsrc", ",", "SDValue", "&", "VAddr", ",", "<FIXE>" ]
[ "bool", "SelectDS1Addr1Offset", "(", "SDValue", "Ptr", ",", "SDValue", "&", "Base", ",", "SDValue", "&", "Offset", ")", "const", ";", "bool", "SelectDS64Bit4ByteAligned", "(", "SDValue", "Ptr", ",", "SDValue", "&", "Base", ",", "SDValue", "&", "Offset0", ","...
LLVM
AMDGPU
CPP
next_suggestion
GPU
1,834
[ "return", "Ret", ";" ]
[ "auto", "Pred", "=", "(", "CmpInst", "::", "Predicate", ")", "I", ".", "getOperand", "(", "<NUM_LIT>", ")", ".", "getPredicate", "(", ")", ";", "unsigned", "CCReg", "=", "I", ".", "getOperand", "(", "<NUM_LIT>", ")", ".", "getReg", "(", ")", ";", "if...
GCC
i386
MD
stmt_completion
CPU
1,835
[ "<NUM_LIT>", ")", "(", "match_dup", "<NUM_LIT>", ")", ")", ")", ")" ]
[ "<STR_LIT>", "[", "(", "parallel", "[", "(", "set", "(", "match_dup", "<NUM_LIT>", ")", "(", "zero_extend", ":", "DI", "(", "plus", ":", "SI", "(", "match_dup" ]
GCC
arm
CPP
stmt_completion
CPU
1,836
[ "a", ";" ]
[ "return", "(", "uint64x2_t", ")", "_", "_" ]
GCC
m32c
MD
stmt_completion
MPU
1,837
[ "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")" ]
[ "(", "ior", "(", "match_operand" ]
LLVM
X86
CPP
program_repair
CPU
1,838
[ "<FIXS>", "const", "DebugLoc", "&", "DL", "=", "MI", ".", "getDebugLoc", "(", ")", ";", "<FIXE>" ]
[ "MachineBasicBlock", "*", "X86TargetLowering", "::", "EmitSjLjDispatchBlock", "(", "MachineInstr", "&", "MI", ",", "MachineBasicBlock", "*", "BB", ")", "const", "{", "<BUGS>", "DebugLoc", "DL", "=", "MI", ".", "getDebugLoc", "(", ")", ";", "<BUGE>", "MachineFunc...
GCC
mn10300
MD
stmt_completion
MPU
1,839
[ ")", "]" ]
[ "(", "minus", ":", "SI", "(", "minus", ":", "SI", "(", "match_operand", ":", "SI", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", "(", "match_operand", ":", "SI", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", ")", "(", "geu", ":", "SI", "(", "reg", ":", "CC...
LLVM
SystemZ
CPP
stmt_completion
CPU
1,840
[ "&", "Operands", ")", "{" ]
[ "OperandMatchResultTy", "parseBDXAddr64", "(", "OperandVector" ]
LLVM
AMDGPU
CPP
stmt_completion
GPU
1,841
[ "get", "(", ")", ";" ]
[ "const", "InstructionSelector", "*", "getInstructionSelector", "(", ")", "const", "override", "{", "return", "InstSelector", "." ]
GCC
sparc
MD
next_suggestion
CPU
1,842
[ "}", ")" ]
[ "emit_insn", "(", "gen_rdgsr_v8plus", "(", "operands", "[", "<NUM_LIT>", "]", ")", ")", "DONE", "}" ]
LLVM
ARM
CPP
stmt_completion
CPU
1,843
[ "false", ";" ]
[ "PM", ".", "add", "(", "createARMObjectCodeEmitterPass", "(", "*", "this", ",", "OCE", ")", ")", ";", "return" ]
LLVM
Hexagon
TD
stmt_completion
DSP
1,844
[ "<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
Mips
CPP
stmt_completion
CPU
1,845
[ "SllX", ",", "Const1", ")", ";" ]
[ "SDValue", "MipsTargetLowering", "::", "lowerFABS64", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ",", "bool", "HasExtractInsert", ")", "const", "{", "SDLoc", "DL", "(", "Op", ")", ";", "SDValue", "Res", ",", "Const1", "=", "DAG", ".", "getConst...
LLVM
XCore
CPP
next_suggestion
MPU
1,846
[ "}" ]
[ "MachineLocation", "CSDst", "(", "MachineLocation", "::", "VirtualFP", ",", "LRSpillOffset", ")", ";", "MachineLocation", "CSSrc", "(", "<STR_LIT>", "::", "<STR_LIT>", ")", ";", "MMI", "->", "getFrameMoves", "(", ")", ".", "push_back", "(", "MachineMove", "(", ...
LLVM
X86
CPP
stmt_completion
CPU
1,847
[ ")", "{" ]
[ "}", "SM", ".", "serializeToStackMapSection", "(", ")", ";", "FM", ".", "serializeToFaultMapSection", "(", ")", ";", "OutStreamer", "->", "EmitAssemblerFlag", "(", "MCAF_SubsectionsViaSymbols", ")", ";", "}", "if", "(", "TT", ".", "isKnownWindowsMSVCEnvironment", ...
GCC
i386
CPP
stmt_completion
CPU
1,848
[ "mmask16", ")", "-", "<NUM_LIT>", ",", "_", "_", "R", ")", ";" ]
[ "return", "(", "_", "_", "m512", ")", "_", "_", "builtin_ia32_vfnmaddps512_mask", "(", "(", "_", "_", "v16sf", ")", "_", "_", "A", ",", "(", "_", "_", "v16sf", ")", "_", "_", "B", ",", "(", "_", "_", "v16sf", ")", "_", "_", "C", ",", "(", "...
LLVM
AArch64
TD
next_suggestion
CPU
1,849
[ "}" ]
[ "let", "ParserMethod", "=", "<STR_LIT>", ";", "let", "PredicateMethod", "=", "<STR_LIT>", ";", "let", "RenderMethod", "=", "<STR_LIT>", ";" ]
LLVM
X86
CPP
next_suggestion
CPU
1,850
[ "X", "->", "initMCCodeGenInfo", "(", "RM", ",", "CM", ",", "OL", ")", ";" ]
[ "MCCodeGenInfo", "*", "X", "=", "new", "MCCodeGenInfo", "(", ")", ";", "bool", "is64Bit", "=", "TT", ".", "getArch", "(", ")", "==", "Triple", "::", "x86_64", ";", "if", "(", "CM", "==", "CodeModel", "::", "Default", ")", "CM", "=", "CodeModel", "::"...
LLVM
RV16K
CPP
code_generation
Virtual ISA
1,851
[ "unsigned", "getReg", "(", ")", "const", "override", "{", "assert", "(", "Kind", "==", "Register", "&&", "<STR_LIT>", "Invalid type access!", "<STR_LIT>", ")", ";", "return", "Reg", ".", "RegNum", ";", "}" ]
[ "Returns", "the", "register", "associated", "with", "this", "edge", "." ]
GCC
sh
MD
stmt_completion
CPU
1,852
[ "]", ")" ]
[ "(", "define_code_iterator", "SZ_EXTEND", "[", "sign_extend", "zero_extend" ]
LLVM
Patmos
CPP
code_generation
VLIW
1,853
[ "unsigned", "PatmosInstrInfo", "::", "isLoadFromStackSlot", "(", "const", "MachineInstr", "*", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "if", "(", "MI", "->", "getOpcode", "(", ")", "==", "<STR_LIT>", "::", "<STR_LIT>", "||", "MI", "->", "ge...
[ "isLoadFromStackSlot", "-", "If", "the", "specified", "machine", "instruction", "is", "a", "direct", "load", "from", "a", "stack", "slot", ",", "return", "the", "virtual", "or", "physical", "register", "number", "of", "the", "destination", "along", "with", "th...
GCC
avr
CPP
stmt_completion
MPU
1,854
[ "FIRST_CUM_REG", ";" ]
[ "for", "(", "regno", "=", "cum", "->", "regno", ";", "regno", "<", "cum", "->", "regno", "+", "bytes", ";", "regno", "++", ")", "if", "(", "fixed_regs", "[", "regno", "]", ")", "warning", "(", "<NUM_LIT>", ",", "<STR_LIT>", "fixed register %s used to pas...
GCC
tilegx
CPP
code_generation
VLIW
1,855
[ "static", "rtx", "tilegx_expand_builtin", "(", "tree", "exp", ",", "rtx", "target", ",", "rtx", "subtarget", "ATTRIBUTE_UNUSED", ",", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ",", "int", "ignore", "ATTRIBUTE_UNUSED", ")", "{", "tree", "fndecl", "=", "TREE_OPERA...
[ "Implement", "TARGET_EXPAND_BUILTIN", "." ]
GCC
mn10300
CPP
next_suggestion
MPU
1,856
[ "assemble_end_function", "(", "thunk_fndecl", ",", "fnname", ")", ";" ]
[ "const", "char", "*", "scratch", "=", "reg_names", "[", "FIRST_ADDRESS_REGNUM", "+", "<NUM_LIT>", "]", ";", "fprintf", "(", "file", ",", "<STR_LIT>", "\\tmov %s, %s\\n", "<STR_LIT>", ",", "_", "this", ",", "scratch", ")", ";", "fprintf", "(", "file", ",", ...
LLVM
Hexagon
TD
next_suggestion
DSP
1,857
[ "let", "InputType", "=", "<STR_LIT>", ";" ]
[ "def", "C2_cmoveit", ":", "HInst", "<", "(", "outs", "IntRegs", ":", "$", "Rd32", ")", ",", "(", "ins", "PredRegs", ":", "$", "Pu4", ",", "s32_0Imm", ":", "$", "Ii", ")", ",", "<STR_LIT>", ",", "tc_5a2711e5", ",", "TypeALU32_2op", ">", ",", "Enc_cda0...
GCC
arm
CPP
stmt_completion
CPU
1,858
[ ")", "_", "_", "base", ",", "_", "_", "offset", ")", ";" ]
[ "_", "_", "arm_vldrhq_gather_shifted_offset_s32", "(", "int16_t", "const", "*", "_", "_", "base", ",", "uint32x4_t", "_", "_", "offset", ")", "{", "return", "_", "_", "builtin_mve_vldrhq_gather_shifted_offset_sv4si", "(", "(", "_", "_", "builtin_neon_hi", "*" ]
LLVM
AArch64
CPP
next_suggestion
CPU
1,859
[ "bool", "LowerQRegCopyThroughMem", "=", "Subtarget", ".", "hasFPARMv8", "(", ")", "&&", "!", "Subtarget", ".", "isNeonAvailable", "(", ")", "&&", "!", "Subtarget", ".", "hasSVE", "(", ")", ";" ]
[ "const", "AArch64FunctionInfo", "*", "AFI", "=", "MF", ".", "getInfo", "<", "AArch64FunctionInfo", ">", "(", ")", ";", "uint64_t", "NumBytes", "=", "AFI", "->", "getLocalStackSize", "(", ")", ";" ]
GCC
rx
MD
next_suggestion
CPU
1,860
[ "}" ]
[ "[", "(", "set", "(", "match_operand", ":", "SI", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", "(", "ior", ":", "SI", "(", "ashift", ":", "SI", "(", "const_int", "<NUM_LIT>", ")", "(", "match_operand", ":", "SI", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", ...
GCC
aarch64
CPP
stmt_completion
CPU
1,861
[ ",", "uint32x4_t", "wk", ")", "{" ]
[ "static", "_", "_", "inline", "uint32x4_t", "vsha1pq_u32", "(", "uint32x4_t", "hash_abcd", ",", "uint32_t", "hash_e" ]
LLVM
X86
CPP
program_repair
CPU
1,862
[ "<FIXS>", "DAG", ".", "getIntPtrConstant", "(", "NumBytesToPop", ",", "dl", ",", "true", ")", ",", "DAG", ".", "getIntPtrConstant", "(", "NumBytesForCalleeToPop", ",", "dl", ",", "<FIXE>" ]
[ "if", "(", "!", "IsSibcall", ")", "{", "Chain", "=", "DAG", ".", "getCALLSEQ_END", "(", "Chain", ",", "<BUGS>", "DAG", ".", "getIntPtrConstant", "(", "NumBytesToPop", ",", "true", ")", ",", "DAG", ".", "getIntPtrConstant", "(", "NumBytesForCalleeToPop", ",",...
GCC
sh
MD
program_repair
CPU
1,863
[ "<FIXS>", "emit_insn", "(", "gen_ashlsi_c", "(", "operands", "[", "<NUM_LIT>", "]", ",", "operands", "[", "<NUM_LIT>", "]", ")", ")", "<FIXE>" ]
[ "[", "(", "const_int", "<NUM_LIT>", ")", "]", "<STR_LIT>", ")" ]
LLVM
TPC
TD
next_suggestion
Virtual ISA
1,864
[ "let", "immOpNum", "=", "!", "if", "(", "Src2IsImm", ",", "<NUM_LIT>", ",", "<NUM_LIT>", ")", ";" ]
[ "let", "SrcD", "=", "op4", ";", "let", "OperandType", "=", "optype", ";", "let", "Switches", "=", "sw", ";", "let", "hasSrcC", "=", "<NUM_LIT>", ";", "let", "hasSrcD", "=", "<NUM_LIT>", ";", "bit", "Src2IsVRF", "=", "!", "eq", "(", "!", "cast", "<", ...
LLVM
Hexagon
TD
next_suggestion
DSP
1,865
[ "let", "isCodeGenOnly", "=", "<NUM_LIT>", ";" ]
[ "def", "L4_iadd_memoph_zomap", ":", "HInst", "<", "(", "outs", ")", ",", "(", "ins", "IntRegs", ":", "$", "Rs32", ",", "u5_0Imm", ":", "$", "II", ")", ",", "<STR_LIT>", ",", "tc_096199d3", ",", "TypeMAPPING", ">", "{", "let", "isPseudo", "=", "<NUM_LIT...
LLVM
Hexagon
TD
stmt_completion
DSP
1,866
[ "<NUM_LIT>", ";" ]
[ "let", "opNewValue", "=", "<NUM_LIT>", ";", "let", "isPseudo", "=", "<NUM_LIT>", ";", "let", "isCodeGenOnly", "=" ]
GCC
i386
CPP
stmt_completion
CPU
1,867
[ "_", "_", "m128h", "_", "_", "A", ",", "_", "_", "m128h", "_", "_", "B", ")", "{" ]
[ "extern", "_", "_", "inline", "_", "_", "m128h", "_", "_", "attribute__", "(", "(", "_", "_", "gnu_inline__", ",", "_", "_", "always_inline__", ",", "_", "_", "artificial__", ")", ")", "_", "mm_mul_ph", "(" ]
LLVM
SystemZ
TD
stmt_completion
CPU
1,868
[ "R1", ";" ]
[ "bits", "<", "<NUM_LIT>", ">", "XBD2", ";", "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "op", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", ";", "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "R3", ";", "let", "Inst", "{", ...
LLVM
X86
TD
program_repair
CPU
1,869
[ "<FIXS>", "def", "SKLWriteResGroup199", ":", "SchedWriteRes", "[", "SKLPort0", ",", "SKLPort23", ",", "SKLFPDivider", "]", ">", "{", "<FIXE>", "<FIXS>", "let", "ResourceCycles", "=", "[", "<NUM_LIT>", ",", "<NUM_LIT>", ",", "<NUM_LIT>", "]", ";", "<FIXE>", "<F...
[ "}", "def", ":", "InstRW", "[", "SKLWriteResGroup198", "]", ",", "(", "instregex", "<STR_LIT>", ")", ">", ";", "<BUGS>", "def", "SKLWriteResGroup199", ":", "SchedWriteRes", "[", "SKLPort0", ",", "SKLPort23", "]", ">", "{", "<BUGE>", "let", "Latency", "=", ...
LLVM
X86
CPP
next_suggestion
CPU
1,870
[ "else", "if", "(", "SVOp", "->", "getMask", "(", ")", "[", "i", "]", ">=", "<NUM_LIT>", ")", "NumV1OddIndices", "+=", "i", "%", "<NUM_LIT>", ";" ]
[ "}", "int", "NumV1Elements", "=", "<NUM_LIT>", ",", "NumUndefElements", "=", "<NUM_LIT>", ",", "NumV2Elements", "=", "<NUM_LIT>", ";", "for", "(", "int", "M", ":", "SVOp", "->", "getMask", "(", ")", ")", "if", "(", "M", "<", "<NUM_LIT>", ")", "++", "Nu...
GCC
mn10300
CPP
next_suggestion
MPU
1,871
[ "if", "(", "type", "==", "NULL_TREE", "&&", "cum", "->", "nbytes", "+", "size", ">", "nregs", "*", "UNITS_PER_WORD", ")", "return", "<NUM_LIT>", ";" ]
[ "cum", "->", "nbytes", "=", "(", "cum", "->", "nbytes", "+", "<NUM_LIT>", ")", "&", "~", "<NUM_LIT>", ";", "if", "(", "cum", "->", "nbytes", ">", "nregs", "*", "UNITS_PER_WORD", ")", "return", "<NUM_LIT>", ";", "if", "(", "cum", "->", "nbytes", "+", ...
GCC
rs6000
CPP
program_repair
CPU
1,872
[ "<FIXS>", "gcc_assert", "(", "REG_P", "(", "addr", ")", "&&", "REGNO", "(", "addr", ")", "!=", "<NUM_LIT>", ")", ";", "<FIXE>" ]
[ "elsegcc_unreachable", "(", ")", ";", "}", "<BUGS>", "gcc_assert", "(", "GET_CODE", "(", "addr", ")", "==", "REG", "&&", "REGNO", "(", "addr", ")", "!=", "<NUM_LIT>", ")", ";", "<BUGE>", "return", "addr", ";", "}" ]
GCC
h8300
CPP
code_generation
MPU
1,873
[ "static", "unsigned", "int", "h8300_move_length", "(", "rtx", "*", "operands", ",", "const", "h8300_length_table", "*", "table", ")", "{", "unsigned", "int", "size", ";", "size", "=", "h8300_length_from_table", "(", "operands", "[", "<NUM_LIT>", "]", ",", "ope...
[ "Calculate", "the", "length", "of", "move", "instruction", "INSN", "using", "the", "given", "length", "table", ".", "Although", "the", "tables", "are", "correct", "for", "most", "cases", ",", "there", "is", "some", "irregularity", "in", "the", "length", "of"...
GCC
lm32
MD
stmt_completion
MPU
1,874
[ "<STR_LIT>", ")", ")", ")", "]" ]
[ "[", "(", "set", "(", "match_operand", ":", "SI", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", "(", "lshiftrt", ":", "SI", "(", "match_operand", ":", "SI", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", "(", "match_operand", ":", "SI", "<NUM_LIT>", "<STR_LIT>" ]
LLVM
X86
CPP
stmt_completion
CPU
1,875
[ "SDValue", "(", "Res", ",", "<NUM_LIT>", ")", "}", ";" ]
[ "SDValue", "Segment", "=", "DAG", ".", "getRegister", "(", "<NUM_LIT>", ",", "MVT", "::", "i32", ")", ";", "if", "(", "Src", ".", "isUndef", "(", ")", "||", "ISD", "::", "isBuildVectorAllOnes", "(", "VMask", ".", "getNode", "(", ")", ")", ")", "Src",...
LLVM
Hexagon
TD
next_suggestion
DSP
1,876
[ "let", "Uses", "=", "[", "P1", "]", ";" ]
[ "def", "J4_cmpgt_tp1_jump_nt", ":", "HInst", "<", "(", "outs", ")", ",", "(", "ins", "GeneralSubRegs", ":", "$", "Rs16", ",", "GeneralSubRegs", ":", "$", "Rt16", ",", "b30_2Imm", ":", "$", "Ii", ")", ",", "<STR_LIT>", ",", "tc_56336eb0", ",", "TypeCJ", ...
GCC
arm
MD
next_suggestion
CPU
1,877
[ "(", "UNSPEC_VCMLA180_CONJ", "<STR_LIT>", ")", "]", ")" ]
[ "(", "UNSPEC_VCMUL_CONJ", "<STR_LIT>", ")", "(", "UNSPEC_VCMLA180", "<STR_LIT>", ")" ]
GCC
sh
CPP
stmt_completion
CPU
1,878
[ "SET_SRC", "(", "PATTERN", "(", "insn", ")", ")", ",", "<NUM_LIT>", ",", "<NUM_LIT>", ")", ")", "==", "LABEL_REF", ")", ";" ]
[ "static", "int", "mova_p", "(", "rtx", "insn", ")", "{", "return", "(", "GET_CODE", "(", "insn", ")", "==", "INSN", "&&", "GET_CODE", "(", "PATTERN", "(", "insn", ")", ")", "==", "SET", "&&", "GET_CODE", "(", "SET_SRC", "(", "PATTERN", "(", "insn", ...
LLVM
PowerPC
CPP
program_repair
CPU
1,879
[ "<FIXS>", "if", "(", "ArgVT", "==", "MVT", "::", "f32", "||", "ArgVT", "==", "MVT", "::", "f64", ")", "<FIXE>", "<FIXS>", "<FIXE>" ]
[ "if", "(", "!", "Flags", ".", "isByVal", "(", ")", ")", "{", "<BUGS>", "if", "(", "ArgVT", "==", "MVT", "::", "f32", "||", "ArgVT", "==", "MVT", "::", "f64", "||", "(", "HasQPX", "&&", "(", "ArgVT", "==", "MVT", "::", "v4f32", "||", "ArgVT", "=...
GCC
sh
CPP
code_generation
CPU
1,880
[ "static", "void", "sh_print_operand_address", "(", "FILE", "*", "stream", ",", "machine_mode", ",", "rtx", "x", ")", "{", "switch", "(", "GET_CODE", "(", "x", ")", ")", "{", "case", "REG", ":", "case", "SUBREG", ":", "fprintf", "(", "stream", ",", "<ST...
[ "Print", "the", "operand", "address", "in", "x", "to", "the", "stream", "." ]
LLVM
AArch64
TD
next_suggestion
CPU
1,881
[ "}" ]
[ "let", "RenderMethod", "=", "<STR_LIT>", "#", "Scale", "#", "<STR_LIT>", ";", "let", "PredicateMethod", "=", "<STR_LIT>", "#", "Scale", "#", "<STR_LIT>", ";", "let", "DiagnosticType", "=", "<STR_LIT>", "#", "Scale", ";" ]
GCC
h8300
MD
next_suggestion
MPU
1,882
[ "(", "set_attr", "<STR_LIT>", "<STR_LIT>", ")", "]", ")" ]
[ "(", "plus", ":", "SI", "(", "ashift", ":", "SI", "(", "zero_extend", ":", "SI", "(", "match_operand", ":", "QI", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", ")", "(", "const_int", "<NUM_LIT>", ")", ")", "(", "match_operand", ":", "SI", "<NUM_LIT>", "<ST...
LLVM
Hexagon
TD
next_suggestion
DSP
1,883
[ "bits", "<", "<NUM_LIT>", ">", "Rd32", ";" ]
[ "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "Ii", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", ";", "bits", "<", "<NUM_LIT>", ">", "Rs32", ";", "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "Rs32", "{", "<NUM_LIT>", "-", "...
LLVM
Hexagon
TD
next_suggestion
DSP
1,884
[ "let", "Defs", "=", "[", "P0", ",", "PC", "]", ";" ]
[ "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "<NUM_LIT>", ";", "let", "isPredicated", "=", "<NUM_LIT>", ";", "let", "isTerminator", "=", "<NUM_LIT>", ";", "let", "isBranch", "=", "<NUM_LIT>", ";", "let", "isPredicatedNew", "=", "<NUM_LIT>", "...
LLVM
AMDGPU
CPP
next_suggestion
GPU
1,885
[ "++", "It", ";" ]
[ "SmallVector", "<", "MachineInstr", "*", ",", "DEFAULT_VEC_SLOTS", ">", "ContInstr", ";", "MachineBasicBlock", "::", "iterator", "Pre", "=", "MBB", "->", "begin", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "E", "=", "MBB", "->", "end", "(", ")", ...
LLVM
TLCS900
CPP
next_suggestion
MPU
1,886
[ "if", "(", "FBB", ")", "{" ]
[ "if", "(", "Cond", ".", "empty", "(", ")", ")", "{", "assert", "(", "!", "FBB", "&&", "<STR_LIT>", "Unconditional branch with multiple successors!", "<STR_LIT>", ")", ";", "BuildMI", "(", "&", "MBB", ",", "DL", ",", "get", "(", "<STR_LIT>", "::", "<STR_LIT...
LLVM
Mips
TD
next_suggestion
CPU
1,887
[ "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "imm16", ";" ]
[ "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "op", ";", "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "rs", ";", "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "rt", ";" ]
LLVM
Hexagon
TD
next_suggestion
DSP
1,888
[ "let", "Uses", "=", "[", "USR", "]", ";" ]
[ "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "<NUM_LIT>", ";", "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "<NUM_LIT>", ";", "let", "isFP", "=", "<NUM_LIT>", ";" ]
LLVM
Patmos
CPP
stmt_completion
VLIW
1,889
[ ")", "{" ]
[ "virtual", "SUnit", "*", "pickNode", "(", "bool", "&", "IsTopNode" ]
GCC
i386
MD
next_suggestion
CPU
1,890
[ "(", "const_string", "<STR_LIT>", ")", ")", ")" ]
[ "(", "const_int", "<NUM_LIT>", ")", "]", ")", ")", ")", "]", "<STR_LIT>", "<STR_LIT>", "[", "(", "set_attr", "<STR_LIT>", "<STR_LIT>", ")", "(", "set_attr", "<STR_LIT>", "<STR_LIT>", ")", "(", "set", "(", "attr", "<STR_LIT>", ")", "(", "if_then_else", "(",...
LLVM
ARM
TD
next_suggestion
CPU
1,891
[ "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "rot", ";" ]
[ "class", "BaseN3VCP8ComplexTied", "<", "bit", "op21", ",", "bit", "op4", ",", "bit", "s", ",", "bit", "q", ",", "InstrItinClass", "itin", ",", "dag", "oops", ",", "dag", "iops", ",", "string", "opc", ",", "string", "dt", ",", "list", "<", "dag", ">",...
LLVM
X86
CPP
stmt_completion
CPU
1,892
[ ")", ",", "Reg", ")", ";" ]
[ "if", "(", "CSI", ".", "empty", "(", ")", ")", "return", "false", ";", "DebugLoc", "DL", "=", "DebugLoc", "::", "getUnknownLoc", "(", ")", ";", "if", "(", "MI", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "MI", "->", "getDebugLoc", "(", ...
LLVM
Sparc
CPP
next_suggestion
CPU
1,893
[ "}" ]
[ "SparcAsmParser", "(", "MCSubtargetInfo", "&", "sti", ",", "MCAsmParser", "&", "parser", ",", "const", "MCInstrInfo", "&", "MII", ")", ":", "MCTargetAsmParser", "(", ")", ",", "STI", "(", "sti", ")", ",", "Parser", "(", "parser", ")", "{", "setAvailableFea...
LLVM
ARM64
TD
stmt_completion
CPU
1,894
[ ";" ]
[ "let", "Name", "=", "<STR_LIT>" ]
LLVM
TPC
TD
next_suggestion
Virtual ISA
1,895
[ "let", "PredPolarity", "=", "pred", "{", "<NUM_LIT>", "}", ";" ]
[ "bits", "<", "<NUM_LIT>", ">", "dest", ";", "bits", "<", "<NUM_LIT>", ">", "src", ";", "bits", "<", "<NUM_LIT>", ">", "optype", ";", "bits", "<", "<NUM_LIT>", ">", "mask", ";", "bits", "<", "<NUM_LIT>", ">", "sw", ";", "bits", "<", "<NUM_LIT>", ">", ...
LLVM
AArch64
CPP
next_suggestion
CPU
1,896
[ "if", "(", "!", "emitIntegerCompare", "(", "CCMI", "->", "getOperand", "(", "<NUM_LIT>", ")", ",", "CCMI", "->", "getOperand", "(", "<NUM_LIT>", ")", ",", "CCMI", "->", "getOperand", "(", "<NUM_LIT>", ")", ",", "MIB", ")", ")", "return", "false", ";" ]
[ "if", "(", "CCMI", "->", "getOpcode", "(", ")", "==", "TargetOpcode", "::", "G_TRUNC", ")", "CCMI", "=", "MRI", ".", "getVRegDef", "(", "CCMI", "->", "getOperand", "(", "<NUM_LIT>", ")", ".", "getReg", "(", ")", ")", ";", "if", "(", "CCMI", "->", "...
LLVM
Hexagon
TD
next_suggestion
DSP
1,897
[ "let", "isPredicatedFalse", "=", "<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", "Inst", ...
LLVM
Hexagon
TD
stmt_completion
DSP
1,898
[ ">", "Rs32", ";" ]
[ "class", "Enc_2d7491", ":", "OpcodeHexagon", "{", "bits", "<", "<NUM_LIT>", ">", "Ii", ";", "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "Ii", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", ";", "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>"...
GCC
arm
CPP
stmt_completion
CPU
1,899
[ "a", ";" ]
[ "return", "(", "uint64x1_t", ")", "_", "_" ]