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
frv
MD
next_suggestion
VLIW
8,100
[ "(", "UNSPEC_GOT", "\t", "\t", "\t", "<NUM_LIT>", ")" ]
[ "(", "UNSPEC_PIC_PROLOGUE", "\t", "\t", "<NUM_LIT>", ")", "(", "UNSPEC_CR_LOGIC", "\t", "\t", "<NUM_LIT>", ")", "(", "UNSPEC_STACK_ADJUST", "\t", "\t", "<NUM_LIT>", ")", "(", "UNSPEC_EH_RETURN_EPILOGUE", "\t", "<NUM_LIT>", ")" ]
GCC
pa
MD
next_suggestion
CPU
8,101
[ "(", "zero_extend", ":", "HI" ]
[ "(", "define_expand", "<STR_LIT>", "[", "(", "set", "(", "match_operand", ":", "HI", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")" ]
GCC
i386
CPP
next_suggestion
CPU
8,102
[ "}" ]
[ "extern", "_", "_", "inline", "_", "_", "m512", "_", "_", "attribute__", "(", "(", "_", "_", "gnu_inline__", ",", "_", "_", "always_inline__", ",", "_", "_", "artificial__", ")", ")", "_", "mm512_mask_permutex2var_ps", "(", "_", "_", "m512", "_", "_", ...
GCC
loongarch
CPP
stmt_completion
CPU
8,103
[ "v32i8", ")", "_", "<NUM_LIT>", ")", ";" ]
[ "return", "(", "_", "_", "m256i", ")", "_", "_", "builtin_lasx_xvaddwev_h_b", "(", "(", "v32i8", ")", "_", "<NUM_LIT>", ",", "(" ]
LLVM
ARM
CPP
stmt_completion
CPU
8,104
[ ",", "BaseReg", ")", ".", "addFrameIndex", "(", "FrameIdx", ")", ".", "addImm", "(", "Offset", ")", ")", ";" ]
[ "materializeFrameBaseRegister", "(", "MachineBasicBlock", "*", "MBB", ",", "unsigned", "BaseReg", ",", "int", "FrameIdx", ",", "int64_t", "Offset", ")", "const", "{", "ARMFunctionInfo", "*", "AFI", "=", "MBB", "->", "getParent", "(", ")", "->", "getInfo", "<",...
LLVM
CSKY
CPP
program_repair
CPU
8,105
[ "<FIXS>", "TII", ".", "loadRegFromStackSlot", "(", "MBB", ",", "MI", ",", "Reg", ",", "CS", ".", "getFrameIdx", "(", ")", ",", "RC", ",", "TRI", ",", "Register", "(", ")", ")", ";", "<FIXE>" ]
[ "for", "(", "auto", "&", "CS", ":", "reverse", "(", "CSI", ")", ")", "{", "Register", "Reg", "=", "CS", ".", "getReg", "(", ")", ";", "const", "TargetRegisterClass", "*", "RC", "=", "TRI", "->", "getMinimalPhysRegClass", "(", "Reg", ")", ";", "<BUGS>...
LLVM
Mips
CPP
next_suggestion
CPU
8,106
[ "}" ]
[ "static", "std", "::", "unique_ptr", "<", "MipsOperand", ">", "createNumericReg", "(", "unsigned", "Index", ",", "const", "MCRegisterInfo", "*", "RegInfo", ",", "SMLoc", "S", ",", "SMLoc", "E", ",", "MipsAsmParser", "&", "Parser", ")", "{", "DEBUG", "(", "...
LLVM
SystemZ
CPP
next_suggestion
CPU
8,107
[ "}" ]
[ "return", "MatchOperand_ParseFail", ";", "}", "int64_t", "Value", "=", "CE", "->", "getValue", "(", ")", ";", "MCSymbol", "*", "Sym", "=", "Ctx", ".", "createTempSymbol", "(", ")", ";", "Out", ".", "emitLabel", "(", "Sym", ")", ";", "const", "MCExpr", ...
LLVM
ARM
CPP
next_suggestion
CPU
8,108
[ "const", "SDValue", "Ops", "[", "]", "=", "{", "RegClass", ",", "V0", ",", "SubReg0", ",", "V1", ",", "SubReg1", ",", "V2", ",", "SubReg2", ",", "V3", ",", "SubReg3", "}", ";" ]
[ "SDNode", "*", "ARMDAGToDAGISel", "::", "createQuadDRegsNode", "(", "EVT", "VT", ",", "SDValue", "V0", ",", "SDValue", "V1", ",", "SDValue", "V2", ",", "SDValue", "V3", ")", "{", "DebugLoc", "dl", "=", "V0", ".", "getNode", "(", ")", "->", "getDebugLoc",...
GCC
m32c
CPP
program_repair
MPU
8,109
[ "<FIXS>", "&&", "(", "!", "code", "||", "code", "==", "'", "D", "'", "||", "code", "==", "'", "d", "'", ")", "<FIXE>", "<FIXS>", "&&", "(", "GET_CODE", "(", "patternr", "[", "conversions", "[", "i", "]", ".", "format", "[", "j", "+", "<NUM_LIT>",...
[ "if", "(", "conversions", "[", "i", "]", ".", "format", "[", "j", "]", "==", "'", "+", "'", "<BUGS>", "&&", "(", "!", "code", "||", "code", "==", "'", "I", "'", ")", "<BUGE>", "&&", "ISDIGIT", "(", "conversions", "[", "i", "]", ".", "format", ...
LLVM
AArch64
TD
next_suggestion
CPU
8,110
[ "def", "UImmS8XForm", ":", "SDNodeXForm", "<", "imm", ",", "[", "{" ]
[ "def", "UImmS2XForm", ":", "SDNodeXForm", "<", "imm", ",", "[", "{", "return", "CurDAG", "-", ">", "getTargetConstant", "(", "N", "-", ">", "getZExtValue", "(", ")", "/", "<NUM_LIT>", ",", "SDLoc", "(", "N", ")", ",", "MVT", ":", ":", "i64", ")", "...
LLVM
X86
CPP
stmt_completion
CPU
8,111
[ "sinkMBB", ")", ";" ]
[ "MF", "->", "insert", "(", "I", ",", "mainMBB", ")", ";", "MF", "->", "insert", "(", "I", ",", "sinkMBB", ")", ";", "sinkMBB", "->", "splice", "(", "sinkMBB", "->", "begin", "(", ")", ",", "MBB", ",", "std", "::", "next", "(", "MachineBasicBlock", ...
LLVM
X86
CPP
next_suggestion
CPU
8,112
[ "SDValue", "CstOp", "=", "getConstVector", "(", "ConstantBitData", ",", "UndefElts", ",", "MaskVT", ",", "DAG", ",", "DL", ")", ";" ]
[ "assert", "(", "<NUM_LIT>", "<=", "M", "&&", "M", "<", "(", "int", ")", "(", "NumMaskElts", "*", "NumOps", ")", ")", ";", "unsigned", "SrcOpIdx", "=", "(", "unsigned", ")", "M", "/", "NumMaskElts", ";", "unsigned", "SrcMaskIdx", "=", "(", "unsigned", ...
LLVM
ARM
CPP
stmt_completion
CPU
8,113
[ "(", ")", "?", "(", "(", "ARMBaseInstrInfo", "*", ")", "new", "Thumb2InstrInfo", "(", "Subtarget", ")", ")", ":", "(", "(", "ARMBaseInstrInfo", "*", ")", "new", "Thumb1InstrInfo", "(", "Subtarget", ")", ")", ")", ",", "DL", "(", "Subtarget", ".", "isAP...
[ "ThumbTargetMachine", "::", "ThumbTargetMachine", "(", "const", "Target", "&", "T", ",", "StringRef", "TT", ",", "StringRef", "CPU", ",", "StringRef", "FS", ",", "const", "TargetOptions", "&", "Options", ",", "Reloc", "::", "Model", "RM", ",", "CodeModel", "...
LLVM
Mips
CPP
stmt_completion
CPU
8,114
[ "RHS", ")", ";" ]
[ "assert", "(", "(", "(", "Opc", "==", "ISD", "::", "ADDC", "||", "Opc", "==", "ISD", "::", "ADDE", ")", "||", "(", "Opc", "==", "ISD", "::", "SUBC", "||", "Opc", "==", "ISD", "::", "SUBE", ")", ")", "&&", "<STR_LIT>", "(ADD|SUB)E flag operand must co...
LLVM
AMDGPU
CPP
stmt_completion
GPU
8,115
[ "(", ")", ";" ]
[ "ImmutablePass", "*", "llvm", "::", "createAMDGPUExternalAAWrapperPass", "(", ")", "{", "return", "new", "AMDGPUExternalAAWrapper" ]
GCC
vax
MD
next_suggestion
CPU
8,116
[ "<STR_LIT>", ")" ]
[ "(", "plus", ":", "VAXfp", "(", "match_operand", ":", "VAXfp", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", "(", "match_operand", ":", "VAXfp", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", ")", ")", "(", "clobber", "(", "reg", ":", "CC", "VAX_PSL_REGNUM", ")",...
LLVM
X86
CPP
next_suggestion
CPU
8,117
[ "if", "(", "LV", "&&", "isKill2", "&&", "InsMI2", ")", "LV", "->", "replaceKillInstruction", "(", "Src2", ",", "MI", ",", "InsMI2", ")", ";" ]
[ "case", "X86", "::", "ADD16ri", ":", "case", "X86", "::", "ADD16ri8", ":", "addLeaRegOffset", "(", "MIB", ",", "leaInReg", ",", "true", ",", "MI", "->", "getOperand", "(", "<NUM_LIT>", ")", ".", "getImm", "(", ")", ")", ";", "break", ";", "case", "X8...
GCC
aarch64
MD
next_suggestion
CPU
8,118
[ "(", "eq_attr", "<STR_LIT>", "<STR_LIT>", ")", ")" ]
[ "(", "define_insn_reservation", "<STR_LIT>", "<NUM_LIT>", "(", "and", "(", "eq_attr", "<STR_LIT>", "<STR_LIT>", ")" ]
LLVM
PowerPC
CPP
stmt_completion
CPU
8,119
[ "(", "<NUM_LIT>", ")", ";" ]
[ "return", "TypeSize", "::", "getFixed", "(", "ST", "->", "isPPC64", "(", ")", "?", "<NUM_LIT>", ":", "<NUM_LIT>", ")", ";", "case", "TargetTransformInfo", "::", "RGK_FixedWidthVector", ":", "return", "TypeSize", "::", "getFixed", "(", "ST", "->", "hasAltivec",...
GCC
s390
MD
stmt_completion
MPU
8,120
[ "<STR_LIT>", ")" ]
[ "(", "V1HI", "<STR_LIT>", ")", "(", "V2HI", "<STR_LIT>", ")", "(", "V4HI", "<STR_LIT>", ")", "(", "V8HI", "<STR_LIT>", ")", "(", "V1SI", "<STR_LIT>", ")", "(", "V2SI", "<STR_LIT>", ")", "(", "V4SI", "<STR_LIT>", ")", "(", "V1DI", "<STR_LIT>", ")", "(",...
GCC
spu
CPP
program_repair
MPU
8,121
[ "<FIXS>", "logical_immediate_p", "(", "rtx", "op", ",", "machine_mode", "mode", ")", "<FIXE>" ]
[ "}", "int", "<BUGS>", "logical_immediate_p", "(", "rtx", "op", ",", "enum", "machine_mode", "mode", ")", "<BUGE>", "{", "HOST_WIDE_INT", "val", ";", "unsigned", "char", "arr", "[", "<NUM_LIT>", "]", ";" ]
LLVM
TPC
TD
next_suggestion
Virtual ISA
8,122
[ "let", "Constraints", "=", "<STR_LIT>", ";" ]
[ "bits", "<", "<NUM_LIT>", ">", "optype", ";", "bits", "<", "<NUM_LIT>", ">", "sw", ";", "bits", "<", "<NUM_LIT>", ">", "pred", ";", "let", "Dest", "=", "dest", ";", "let", "SrcA", "=", "src", ";", "let", "OperandType", "=", "optype", ";", "let", "S...
GCC
rs6000
MD
stmt_completion
CPU
8,123
[ ")", "]" ]
[ "[", "(", "set", "(", "reg", ":", "CC", "CR6_REGNO", ")", "(", "unspec", ":", "CC", "[", "(", "ge", ":", "CC", "(", "match_operand", ":", "VSX_F", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", "(", "match_operand", ":", "VSX_F", "<NUM_LIT>", "<STR_LIT>", ...
LLVM
WebAssembly
CPP
code_generation
Virtual ISA
8,124
[ "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "<STR_LIT>", "WebAssembly Restore Stack Pointer for Exception Handling", "<STR_LIT>", ";", "}" ]
[ "getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "." ]
GCC
i386
MD
next_suggestion
CPU
8,125
[ "<STR_LIT>", ")" ]
[ "(", "and", "(", "match_operand", ":", "DF", "<NUM_LIT>", "<STR_LIT>", ")", "(", "and", "(", "eq_attr", "<STR_LIT>", "<STR_LIT>", ")", "(", "eq_attr", "<STR_LIT>", "<STR_LIT>", ")", ")", ")", ")", ")" ]
LLVM
AVR
CPP
next_suggestion
MPU
8,126
[ "}" ]
[ "case", "ISD", "::", "SETNE", ":", "return", "<STR_LIT>", "::", "<STR_LIT>", ";", "case", "ISD", "::", "SETGE", ":", "return", "<STR_LIT>", "::", "<STR_LIT>", ";", "case", "ISD", "::", "SETLT", ":", "return", "<STR_LIT>", "::", "<STR_LIT>", ";", "case", ...
LLVM
MBlaze
TD
stmt_completion
MPU
8,127
[ ",", "<STR_LIT>", ">", ";" ]
[ "def", "LHUR", ":", "LoadM", "<", "<NUM_LIT>", ",", "<NUM_LIT>" ]
LLVM
WebAssembly
CPP
stmt_completion
Virtual ISA
8,128
[ "(", "MF", ")", ";" ]
[ "bool", "WebAssemblyFrameLowering", "::", "needsSP", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "return", "needsSPForLocalFrame", "(", "MF", ")", "||", "needsPrologForEH" ]
LLVM
Hexagon
CPP
stmt_completion
DSP
8,129
[ "const", "{" ]
[ "bool", "useLongCalls", "(", ")" ]
GCC
aarch64
MD
stmt_completion
CPU
8,130
[ "(", "DI", "<STR_LIT>", ")", "]", ")" ]
[ "(", "define_mode_attr", "lconst2", "[", "(", "SI", "<STR_LIT>", ")" ]
LLVM
ARM64
TD
stmt_completion
CPU
8,131
[ ";" ]
[ "class", "BaseAddSubSReg", "<", "bit", "isSub", ",", "bit", "setFlags", ",", "RegisterClass", "regtype", ",", "arith_shifted_reg", "shifted_regtype", ",", "string", "asm", ",", "SDPatternOperator", "OpNode", ">", ":", "I", "<", "(", "outs", "regtype", ":", "$"...
LLVM
X86
CPP
stmt_completion
CPU
8,132
[ ")", ";" ]
[ "addMemOperands", "(", "Inst", ",", "N" ]
GCC
xtensa
MD
stmt_completion
MPU
8,133
[ "match_code", "<STR_LIT>", ")" ]
[ "(", "define_predicate", "<STR_LIT>", "(", "and", "(" ]
GCC
sh
MD
next_suggestion
CPU
8,134
[ "<STR_LIT>", ")" ]
[ "[", "(", "set", "(", "match_operand", ":", "SI", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", "(", "mem", ":", "SI", "(", "post_inc", ":", "SI", "(", "reg", ":", "SI", "SP_REG", ")", ")", ")", ")", "]", "<STR_LIT>" ]
LLVM
Hexagon
TD
next_suggestion
DSP
8,135
[ "let", "prefersSlot3", "=", "<NUM_LIT>", ";" ]
[ "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "<NUM_LIT>", ";", "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "<NUM_LIT>", ";" ]
GCC
i386
CPP
stmt_completion
CPU
8,136
[ "_", "D", ",", "(", "_", "_", "v32qi", ")", "_", "_", "A", ",", "_", "_", "B", ")", ";" ]
[ "return", "(", "_", "_", "m256i", ")", "_", "_", "builtin_ia32_vgf2p8mulb_v32qi_mask", "(", "(", "_", "_", "v32qi", ")", "_", "_", "C", ",", "(", "_", "_", "v32qi", ")", "_" ]
GCC
mips
CPP
program_repair
CPU
8,137
[ "<FIXS>", "&&", "mips16_build_call_stub", "(", "result", ",", "addr", ",", "args_size", ",", "<FIXE>", "<FIXS>", "{", "gcc_assert", "(", "!", "sibcall_p", ")", ";", "return", ";", "}", "<FIXE>" ]
[ "if", "(", "TARGET_MIPS16", "&&", "TARGET_HARD_FLOAT_ABI", "<BUGS>", "&&", "build_mips16_call_stub", "(", "result", ",", "addr", ",", "args_size", ",", "<BUGE>", "aux", "==", "<NUM_LIT>", "?", "<NUM_LIT>", ":", "(", "int", ")", "GET_MODE", "(", "aux", ")", "...
LLVM
Sparc
CPP
stmt_completion
CPU
8,138
[ ";", "break", ";" ]
[ "case", "VK_Sparc_HM", ":", "OS", "<<", "<STR_LIT>", "%hm(", "<STR_LIT>", ";", "break", ";", "case", "VK_Sparc_PC22", ":", "OS", "<<", "<STR_LIT>", "%hi(", "<STR_LIT>", ";", "break", ";", "case", "VK_Sparc_PC10", ":", "OS", "<<", "<STR_LIT>", "%lo(", "<STR_L...
LLVM
Hexagon
TD
next_suggestion
DSP
8,139
[ "let", "prefersSlot3", "=", "<NUM_LIT>", ";" ]
[ "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "<NUM_LIT>", ";", "let", "hasNewValue", "=", "<NUM_LIT>", ";", "let", "opNewValue", "=", "<NUM_LIT>", ";" ]
GCC
i386
CPP
stmt_completion
CPU
8,140
[ ",", "_", "_", "R", ")", ";" ]
[ "return", "(", "unsigned", ")", "_", "_", "builtin_ia32_vcvttsd2usi32", "(", "(", "_", "_", "v2df", ")", "_", "_", "A" ]
LLVM
X86
CPP
code_generation
CPU
8,141
[ "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "<STR_LIT>", "Windows 32-bit x86 EH state insertion", "<STR_LIT>", ";", "}" ]
[ "getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "." ]
LLVM
AMDGPU
CPP
next_suggestion
GPU
8,142
[ "}" ]
[ "unsigned", "R600MCCodeEmitter", "::", "getHWReg", "(", "unsigned", "RegNo", ")", "const", "{", "return", "MRI", ".", "getEncodingValue", "(", "RegNo", ")", "&", "HW_REG_MASK", ";" ]
GCC
s390
CPP
program_repair
MPU
8,143
[ "<FIXS>", "ret", "=", "s390_decompose_address", "(", "MEM_P", "(", "x", ")", "?", "XEXP", "(", "x", ",", "<NUM_LIT>", ")", ":", "x", ",", "&", "ad", ")", ";", "<FIXE>" ]
[ "struct", "s390_address", "ad", ";", "int", "ret", ";", "<BUGS>", "if", "(", "!", "MEM_P", "(", "x", ")", ")", "{", "output_operand_lossage", "(", "<STR_LIT>", "memory reference expected for ", "<STR_LIT>", "<STR_LIT>", "'O' output modifier", "<STR_LIT>", ")", ";"...
GCC
arm
MD
stmt_completion
CPU
8,144
[ "<STR_LIT>", ")", "]" ]
[ "[", "(", "set", "(", "match_operand", ":", "V8QI", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", "(", "unspec", ":", "V8QI", "[", "(", "match_operand", ":", "V8QI", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", "(", "match_operand", ":", "V8QI", "<NUM_LIT>", "<...
GCC
powerpcspe
CPP
program_repair
CPU
8,145
[ "<FIXS>", "const0_rtx", ",", "Pmode", ")", ";", "<FIXE>" ]
[ "tga", "=", "rs6000_tls_get_addr", "(", ")", ";", "tmp1", "=", "gen_reg_rtx", "(", "Pmode", ")", ";", "emit_library_call_value", "(", "tga", ",", "tmp1", ",", "LCT_CONST", ",", "Pmode", ",", "<BUGS>", "<NUM_LIT>", ",", "const0_rtx", ",", "Pmode", ")", ";",...
LLVM
WebAssembly
CPP
stmt_completion
Virtual ISA
8,146
[ "::", "Other", ",", "Legal", ")", ";" ]
[ "}", "}", "for", "(", "auto", "T", ":", "{", "MVT", "::", "i1", ",", "MVT", "::", "i8", ",", "MVT", "::", "i16", ",", "MVT", "::", "i32", "}", ")", "setOperationAction", "(", "ISD", "::", "SIGN_EXTEND_INREG", ",", "T", ",", "Expand", ")", ";", ...
LLVM
Mips
CPP
next_suggestion
CPU
8,147
[ "case", "ISD", "::", "SETONE", ":", "return", "Mips", "::", "FCOND_NEQ", ";" ]
[ "case", "ISD", "::", "SETULT", ":", "return", "Mips", "::", "FCOND_ULT", ";", "case", "ISD", "::", "SETULE", ":", "return", "Mips", "::", "FCOND_ULE", ";", "case", "ISD", "::", "SETUGT", ":", "return", "Mips", "::", "FCOND_UGT", ";", "case", "ISD", "::...
GCC
i386
MD
next_suggestion
CPU
8,148
[ "(", "match_operand", ":", "QI", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", ")", ")" ]
[ "[", "(", "set", "(", "match_operand", ":", "DI", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", "(", "ashift", ":", "DI", "(", "match_operand", ":", "DI", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")" ]
LLVM
TL45
TD
program_repair
MPU
8,149
[ "<FIXS>", "def", ":", "Pat", "(", "truncstorei8", "GRRegs", ":", "$", "rs2", ",", "GRRegs", ":", "$", "rs1", ")", ",", "(", "SB", "GRRegs", ":", "$", "rs2", ",", "GRRegs", ":", "$", "rs1", ",", "<NUM_LIT>", ")", ">", ";", "<FIXE>" ]
[ "def", ":", "Pat", "(", "store", "GRRegs", ":", "$", "rs2", ",", "GRRegs", ":", "$", "rs1", ")", ",", "(", "SW", "GRRegs", ":", "$", "rs2", ",", "GRRegs", ":", "$", "rs1", ",", "<NUM_LIT>", ")", ">", ";", "<BUGS>", "def", ":", "Pat", "(", "tr...
GCC
m68k
MD
stmt_completion
MPU
8,150
[ "]", ")" ]
[ "(", "define_insn", "<STR_LIT>", "[", "(", "set", "(", "match_operand", ":", "SI", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", "(", "fix", ":", "SI", "(", "match_operand", ":", "FP", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", ")", ")", "]", "<STR_LIT>", "...
LLVM
RV16K
CPP
stmt_completion
Virtual ISA
8,151
[ "E", ")", ")", ";" ]
[ "case", "AsmToken", "::", "String", ":", "case", "AsmToken", "::", "Identifier", ":", "if", "(", "getParser", "(", ")", ".", "parseExpression", "(", "Res", ")", ")", "return", "MatchOperand_ParseFail", ";", "break", ";", "}", "Operands", ".", "push_back", ...
LLVM
X86
CPP
next_suggestion
CPU
8,152
[ "return", "false", ";" ]
[ "const", "X86RegisterInfo", "*", "TRI", "=", "static_cast", "<", "const", "X86RegisterInfo", "*", ">", "(", "DAG", ".", "getSubtarget", "(", ")", ".", "getRegisterInfo", "(", ")", ")", ";", "unsigned", "BaseReg", "=", "TRI", "->", "getBaseRegister", "(", "...
LLVM
PTX
CPP
next_suggestion
GPU
8,153
[ "name", "+=", "utostr", "(", "RegRets", ".", "size", "(", ")", "-", "<NUM_LIT>", ")", ";" ]
[ "std", "::", "string", "name", ";", "name", "=", "<STR_LIT>", "%ret", "<STR_LIT>", ";" ]
LLVM
AArch64
CPP
next_suggestion
CPU
8,154
[ "Found", "|=", "Match", "(", "<STR_LIT>", "::", "<STR_LIT>", ",", "<NUM_LIT>", ",", "MCP", "::", "FMLSv4i32_indexed_OP2", ")", "||", "Match", "(", "<STR_LIT>", "::", "<STR_LIT>", ",", "<NUM_LIT>", ",", "MCP", "::", "FMLSv4f32_OP2", ")", ";" ]
[ "case", "<STR_LIT>", "::", "<STR_LIT>", ":", "Found", "|=", "Match", "(", "<STR_LIT>", "::", "<STR_LIT>", ",", "<NUM_LIT>", ",", "MCP", "::", "FMLAv4i32_indexed_OP1", ")", "||", "Match", "(", "<STR_LIT>", "::", "<STR_LIT>", ",", "<NUM_LIT>", ",", "MCP", "::"...
GCC
mips
MD
stmt_completion
CPU
8,155
[ "<STR_LIT>", ")", ")" ]
[ "(", "define_insn_reservation", "<STR_LIT>", "<NUM_LIT>", "(", "and", "(", "eq_attr", "<STR_LIT>", "<STR_LIT>", ")", "(", "eq_attr", "<STR_LIT>" ]
GCC
loongarch
CPP
stmt_completion
CPU
8,156
[ ")", "_", "<NUM_LIT>", ",", "(", "v2i64", ")", "_", "<NUM_LIT>", ")", ";" ]
[ "extern", "_", "_", "inline", "_", "_", "attribute__", "(", "(", "_", "_", "gnu_inline__", ",", "_", "_", "always_inline__", ",", "_", "_", "artificial__", ")", ")", "_", "_", "m128i", "_", "_", "lsx_vilvh_d", "(", "_", "_", "m128i", "_", "<NUM_LIT>"...
GCC
arm
CPP
stmt_completion
CPU
8,157
[ "_", "c", ")", "{" ]
[ "vaba_s16", "(", "int16x4_t", "_", "_", "a", ",", "int16x4_t", "_", "_", "b", ",", "int16x4_t", "_" ]
LLVM
Sparc
CPP
program_repair
CPU
8,158
[ "<FIXS>", "<FIXE>", "<FIXS>", "SparcDisassembler", "(", "const", "MCSubtargetInfo", "&", "STI", ",", "MCContext", "&", "Ctx", ")", ":", "MCDisassembler", "(", "STI", ",", "Ctx", ")", "{", "}", "<FIXE>", "<FIXS>", "DecodeStatus", "getInstruction", "(", "MCInst"...
[ "namespace", "{", "<BUGS>", "<BUGE>", "class", "SparcDisassembler", ":", "public", "MCDisassembler", "{", "public", ":", "<BUGS>", "SparcDisassembler", "(", "const", "MCSubtargetInfo", "&", "STI", ",", "MCContext", "&", "Ctx", ")", ":", "MCDisassembler", "(", "S...
LLVM
Mips
TD
stmt_completion
CPU
8,159
[ "[", "build_vector", ",", "bitconvert", "]", ">", ";" ]
[ "def", "vsplat_maskr_bits", ":", "SplatComplexPattern", "<", "vsplat_uimm8", ",", "vAny", ",", "<NUM_LIT>", ",", "<STR_LIT>", "," ]
LLVM
X86
TD
stmt_completion
CPU
8,160
[ ":", "$", "src2", ")", ")", ")", "]", ">", ",", "Sched", "<", "[", "sched", ".", "Folded", "]", ">", ";" ]
[ "def", "m", ":", "SS4AIi8", "<", "opc", ",", "MRMSrcMem", ",", "(", "outs", "RC", ":", "$", "dst", ")", ",", "(", "ins", "x86memop", ":", "$", "src1", ",", "i32u8imm", ":", "$", "src2", ")", ",", "!", "strconcat", "(", "OpcodeStr", ",", "<STR_LIT...
LLVM
ARM64
TD
next_suggestion
CPU
8,161
[ "}" ]
[ "let", "Name", "=", "<STR_LIT>", ";", "let", "DiagnosticType", "=", "<STR_LIT>", ";" ]
GCC
pru
MD
stmt_completion
CPU
8,162
[ "umax", "<STR_LIT>", ")", "]", ")" ]
[ "(", "define_code_iterator", "LOGICAL", "[", "and", "ior", "xor", "umin", "umax", "]", ")", "(", "define_code_attr", "logical_asm", "[", "(", "and", "<STR_LIT>", ")", "(", "ior", "<STR_LIT>", ")", "(", "xor", "<STR_LIT>", ")", "(", "umin", "<STR_LIT>", ")"...
GCC
i386
CPP
program_repair
CPU
8,163
[ "<FIXS>", "else", "if", "(", "alg_usable_p", "(", "candidate", ",", "memset", ",", "have_as", ")", "&&", "!", "(", "TARGET_PREFER_KNOWN_REP_MOVSB_STOSB", "&&", "candidate", "==", "rep_prefix_1_byte", "&&", "min_size", "!=", "max_size", ")", ")", "<FIXE>" ]
[ "else", "if", "(", "!", "any_alg_usable_p", ")", "break", ";", "}", "<BUGS>", "else", "if", "(", "alg_usable_p", "(", "candidate", ",", "memset", ",", "have_as", ")", ")", "<BUGE>", "{", "*", "noalign", "=", "algs", "->", "size", "[", "i", "]", ".", ...
GCC
rl78
CPP
program_repair
MPU
8,164
[ "<FIXS>", "{", "rtx", "q", "=", "XVECEXP", "(", "p", ",", "<NUM_LIT>", ",", "<NUM_LIT>", ")", ";", "if", "(", "GET_CODE", "(", "q", ")", "==", "SET", ")", "{", "s", "=", "SET_SRC", "(", "q", ")", ";", "d", "=", "SET_DEST", "(", "q", ")", ";",...
[ "case", "INSN", ":", "p", "=", "PATTERN", "(", "insn", ")", ";", "if", "(", "GET_CODE", "(", "p", ")", "==", "PARALLEL", ")", "<BUGS>", "p", "=", "XVECEXP", "(", "p", ",", "<NUM_LIT>", ",", "<NUM_LIT>", ")", ";", "<BUGE>", "switch", "(", "GET_CODE"...
LLVM
Z80
CPP
stmt_completion
MPU
8,165
[ ";" ]
[ "EVT", "VT", "=", "N", "->", "getValueType", "(", "<NUM_LIT>", ")", ";", "SDValue", "N0", "=", "N", "->", "getOperand", "(", "<NUM_LIT>", ")", ";", "SDLoc", "DL", "(", "N", ")", ";", "if", "(", "VT", "==", "MVT", "::", "i16", "&&", "Subtarget", "...
GCC
m68k
MD
next_suggestion
MPU
8,166
[ "<STR_LIT>" ]
[ "(", "define_insn", "<STR_LIT>", "[", "(", "set", "(", "match_operand", ":", "XF", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", "(", "plus", ":", "XF", "(", "match_operand", ":", "XF", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", "(", "match_operand", ":", "XF...
GCC
mips
CPP
stmt_completion
CPU
8,167
[ "fpr_mode", ")", ";" ]
[ "int", "regno", ";", "offset", "=", "cfun", "->", "machine", "->", "frame", ".", "gp_sp_offset", "-", "sp_offset", ";", "for", "(", "regno", "=", "GP_REG_LAST", ";", "regno", ">=", "GP_REG_FIRST", ";", "regno", "--", ")", "if", "(", "BITSET_P", "(", "c...
GCC
mips
CPP
stmt_completion
CPU
8,168
[ ")", ";" ]
[ "return", "rtx_equal_p", "(", "entry", "->", "base", ",", "value" ]
LLVM
X86
TD
program_repair
CPU
8,169
[ "<FIXS>", "<STR_LIT>", ",", "<STR_LIT>", ")", ">", ";", "<FIXE>", "<FIXS>", "<STR_LIT>", ",", "<STR_LIT>", ",", "<FIXE>", "<FIXS>", "<STR_LIT>", ",", "<STR_LIT>", ",", "<FIXE>", "<FIXS>", "<STR_LIT>", ",", "<STR_LIT>", ",", "<FIXE>", "<FIXS>", "<STR_LIT>", ","...
[ "def", ":", "InstRW", "[", "SKXWriteResGroup161", "]", ",", "(", "instregex", "<STR_LIT>", ",", "<BUGS>", "<STR_LIT>", ",", "<STR_LIT>", ")", ">", ";", "<BUGE>", "def", ":", "InstRW", "[", "SKXWriteResGroup161", "]", ",", "(", "instregex", "<STR_LIT>", ",", ...
GCC
loongarch
CPP
next_suggestion
CPU
8,170
[ "emit_insn", "(", "gen_lsx_vshuf_h", "(", "target", ",", "sel", ",", "op1", ",", "op0", ")", ")", ";" ]
[ "emit_insn", "(", "gen_andv16qi3", "(", "sel", ",", "sel", ",", "round_reg", ")", ")", ";", "emit_insn", "(", "gen_lsx_vshuf_b", "(", "target", ",", "op1", ",", "op0", ",", "sel", ")", ")", ";", "break", ";", "case", "E_V2DFmode", ":", "case", "E_V2DIm...
LLVM
AMDGPU
CPP
program_repair
GPU
8,171
[ "<FIXS>", "if", "(", "TII", "->", "isLegalFLATOffset", "(", "Offset", ",", "AMDGPUAS", "::", "PRIVATE_ADDRESS", ",", "<STR_LIT>", "::", "<STR_LIT>", ")", ")", "{", "<FIXE>" ]
[ "MFI", ".", "getObjectAlign", "(", "FI", ")", ")", ";", "if", "(", "ST", ".", "enableFlatScratch", "(", ")", ")", "{", "<BUGS>", "if", "(", "TII", "->", "isLegalFLATOffset", "(", "Offset", ",", "AMDGPUAS", "::", "PRIVATE_ADDRESS", ",", "true", ")", ")"...
GCC
mmix
CPP
code_generation
CPU
8,172
[ "static", "void", "mmix_option_override", "(", "void", ")", "{", "if", "(", "flag_pic", ")", "{", "warning", "(", "<NUM_LIT>", ",", "<STR_LIT>", "%<-f%s%> not supported: ignored", "<STR_LIT>", ",", "(", "flag_pic", ">", "<NUM_LIT>", ")", "?", "<STR_LIT>", "PIC",...
[ "TARGET_OPTION_OVERRIDE", "." ]
LLVM
SystemZ
CPP
stmt_completion
CPU
8,173
[ ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "CE", "->", "getValue", "(", ")", ")", ")", ";" ]
[ "else", "if", "(", "auto", "*", "CE", "=", "dyn_cast", "<", "MCConstantExpr", ">", "(", "Expr", ")", ")", "Inst" ]
LLVM
Hexagon
TD
stmt_completion
DSP
8,174
[ ";" ]
[ "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
ARM
CPP
code_generation
CPU
8,175
[ "void", "ARMTargetLowering", "::", "AdjustInstrPostInstrSelection", "(", "MachineInstr", "*", "MI", ",", "SDNode", "*", "Node", ")", "const", "{", "if", "(", "!", "MI", "->", "hasPostISelHook", "(", ")", ")", "{", "assert", "(", "!", "convertAddSubFlagsOpcode"...
[ "This", "method", "should", "be", "implemented", "by", "targets", "that", "mark", "instructions", "with", "the", "'hasPostISelHook", "'", "flag", "." ]
GCC
i386
MD
stmt_completion
CPU
8,176
[ "<STR_LIT>", ")" ]
[ "(", "define_insn_reservation", "<STR_LIT>", "<NUM_LIT>", "(", "and", "(", "eq_attr", "<STR_LIT>" ]
GCC
arm
CPP
stmt_completion
CPU
8,177
[ "REGNO", "(", "SET_DEST", "(", "prev_set", ")", ")", ")", "return", "true", ";" ]
[ "else", "if", "(", "GET_CODE", "(", "SET_SRC", "(", "curr_set", ")", ")", "==", "LO_SUM", "&&", "REG_P", "(", "SET_DEST", "(", "curr_set", ")", ")", "&&", "REG_P", "(", "SET_DEST", "(", "prev_set", ")", ")", "&&", "GET_CODE", "(", "SET_SRC", "(", "pr...
LLVM
X86
CPP
stmt_completion
CPU
8,178
[ "|", "DW_EH_PE_sdata4", ";" ]
[ "return", "DW_EH_PE_indirect", "|", "DW_EH_PE_pcrel" ]
LLVM
PowerPC
TD
program_repair
CPU
8,179
[ "<FIXS>", "isIndirectBranch", "=", "<NUM_LIT>", ",", "isCall", "=", "<NUM_LIT>", ",", "isReturn", "=", "<NUM_LIT>", ",", "Uses", "=", "[", "CTR", "]", "in", "<FIXE>" ]
[ "let", "isTerminator", "=", "<NUM_LIT>", ",", "isBarrier", "=", "<NUM_LIT>", ",", "PPC970_Unit", "=", "<NUM_LIT>", ",", "isBranch", "=", "<NUM_LIT>", ",", "<BUGS>", "isIndirectBranch", "=", "<NUM_LIT>", ",", "isCall", "=", "<NUM_LIT>", ",", "isReturn", "=", "<...
LLVM
TLCS900
TD
stmt_completion
MPU
8,180
[ "$", "dst", ",", "(", "or", "GR16", ":", "$", "src", ",", "imm", ":", "$", "src2", ")", ")", "]", ">", ";" ]
[ "def", "OR16ri", ":", "I16ri", "<", "<NUM_LIT>", ",", "(", "outs", "GR16", ":", "$", "dst", ")", ",", "(", "ins", "GR16", ":", "$", "src", ",", "i16imm", ":", "$", "src2", ")", ",", "<STR_LIT>", ",", "[", "(", "set", "GR16", ":" ]
GCC
rs6000
CPP
stmt_completion
CPU
8,181
[ "<NUM_LIT>", ",", "<NUM_LIT>", ",", "<NUM_LIT>", "}", ";" ]
[ "extern", "_", "_", "inline", "_", "_", "m128i", "_", "_", "attribute__", "(", "(", "_", "_", "gnu_inline__", ",", "_", "_", "always_inline__", ",", "_", "_", "artificial__", ")", ")", "_", "mm_slli_epi16", "(", "_", "_", "m128i", "_", "_", "A", ",...
GCC
rs6000
CPP
stmt_completion
CPU
8,182
[ ";" ]
[ "if", "(", "rs6000_sched_groups", "&&", "(", "rs6000_tune", "==", "PROCESSOR_POWER4", "||", "rs6000_tune", "==", "PROCESSOR_POWER5", ")", ")", "{", "enum", "attr_type", "type", "=", "get_attr_type", "(", "insn", ")", ";", "if", "(", "(", "type", "==", "TYPE_...
LLVM
Mandarin
CPP
stmt_completion
CPU
8,183
[ "(", "FrameIndex", ")", ".", "addImm", "(", "<NUM_LIT>", ")", ".", "addMemOperand", "(", "MMO", ")", ";" ]
[ "MachineFrameInfo", "&", "MFI", "=", "*", "MF", ".", "getFrameInfo", "(", ")", ";", "MachineMemOperand", "*", "MMO", "=", "MF", ".", "getMachineMemOperand", "(", "MachinePointerInfo", "::", "getFixedStack", "(", "FrameIndex", ")", ",", "MachineMemOperand", "::",...
LLVM
Patmos
CPP
stmt_completion
VLIW
8,184
[ "(", "TM", ".", "getInstrInfo", "(", ")", ")", ";" ]
[ "if", "(", "Instr", "->", "getOpcode", "(", ")", "==", "<STR_LIT>", "::", "<STR_LIT>", "||", "Instr", "->", "getOpcode", "(", ")", "==", "<STR_LIT>", "::", "<STR_LIT>", "||", "Instr", "->", "getOpcode", "(", ")", "==", "<STR_LIT>", "::", "<STR_LIT>", ")"...
LLVM
MMIX
CPP
next_suggestion
CPU
8,185
[ "}" ]
[ "const", "MMIXTargetLowering", "*", "getTargetLowering", "(", ")", "const", "override", "{", "return", "&", "TLInfo", ";" ]
LLVM
PowerPC
CPP
stmt_completion
CPU
8,186
[ ")", ")", "&", "<NUM_LIT>", ")", ";" ]
[ "if", "(", "!", "Value", ")", "return", ";", "unsigned", "Offset", "=", "Fixup", ".", "getOffset", "(", ")", ";", "unsigned", "NumBytes", "=", "getFixupKindNumBytes", "(", "Fixup", ".", "getKind", "(", ")", ")", ";", "for", "(", "unsigned", "i", "=", ...
GCC
i386
CPP
stmt_completion
CPU
8,187
[ ")", ",", "(", "_", "_", "mmask8", ")", "-", "<NUM_LIT>", ")", ";" ]
[ "return", "(", "_", "_", "m256i", ")", "_", "_", "builtin_ia32_permvarsi256_mask", "(", "(", "_", "_", "v8si", ")", "_", "_", "Y", ",", "(", "_", "_", "v8si", ")", "_", "_", "X", ",", "(", "_", "_", "v8si", ")", "_", "mm256_setzero_si256", "(" ]
GCC
sh
MD
program_repair
CPU
8,188
[ "<FIXS>", "<STR_LIT>", "<FIXE>" ]
[ "(", "match_operand", ":", "SF", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", ")", "(", "match_operand", ":", "SF", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", ")", ")", "(", "use", "(", "match_operand", ":", "PSI", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", ...
LLVM
TPC
TD
next_suggestion
Virtual ISA
8,189
[ "}" ]
[ "class", "StoreInstGenericSrcC", "<", "bits", "<", "<NUM_LIT>", ">", "opc", ",", "string", "asmstr", ">", ":", "StoreInstGenericSrcA", "<", "opc", ",", "asmstr", ">", "{", "bits", "<", "<NUM_LIT>", ">", "SrcExtra", "=", "<NUM_LIT>", ";", "let", "Inst", "{"...
GCC
i386
CPP
next_suggestion
CPU
8,190
[ "lobits", "=", "gen_reg_rtx", "(", "V4SImode", ")", ";" ]
[ "}", "HOST_WIDE_INT", "bits", "=", "INTVAL", "(", "operands", "[", "<NUM_LIT>", "]", ")", "&", "<NUM_LIT>", ";", "if", "(", "bits", "==", "<NUM_LIT>", ")", "{", "emit_move_insn", "(", "operands", "[", "<NUM_LIT>", "]", ",", "op1", ")", ";", "return", "...
LLVM
R600
TD
next_suggestion
GPU
8,191
[ "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "SBASE", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", ";" ]
[ "bits", "<", "<NUM_LIT>", ">", "OFFSET", ";", "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "OFFSET", ";", "let", "Inst", "{", "<NUM_LIT>", "}", "=", "imm", ";" ]
LLVM
R600
CPP
stmt_completion
GPU
8,192
[ ")", ";" ]
[ "FunctionPass", "*", "llvm", "::", "createSIShrinkInstructionsPass", "(", ")", "{", "return", "new", "SIShrinkInstructions", "(" ]
LLVM
R600
CPP
stmt_completion
GPU
8,193
[ "N", "->", "getOperand", "(", "<NUM_LIT>", ")", ",", "False", ",", "Zero", "}", ";" ]
[ "SDNode", "*", "AMDGPUDAGToDAGISel", "::", "SelectDIV_SCALE", "(", "SDNode", "*", "N", ")", "{", "SDLoc", "SL", "(", "N", ")", ";", "EVT", "VT", "=", "N", "->", "getValueType", "(", "<NUM_LIT>", ")", ";", "assert", "(", "VT", "==", "MVT", "::", "f32"...
LLVM
PowerPC
CPP
next_suggestion
CPU
8,194
[ "}", "else", "if", "(", "PPC", "::", "F8RCRegClass", ".", "contains", "(", "Reg", ")", ")", "{" ]
[ "OpcodeIndex", "=", "SOK_Int8Spill", ";", "}", "else", "if", "(", "PPC", "::", "F8RCRegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "{", "OpcodeIndex", "=", "SOK_Float8Spill", ";", "}", "else", "if", "(", "PPC", "::", "F4RCRegClass", ".", "hasSubClas...
LLVM
TPC
TD
next_suggestion
Virtual ISA
8,195
[ "let", "MIOperandInfo", "=", "(", "ops", "i8imm", ":", "$", "x2", ")", ";" ]
[ "let", "PrintMethod", "=", "<STR_LIT>", ";", "let", "ParserMatchClass", "=", "X2AsmOperand", ";" ]
GCC
lm32
MD
stmt_completion
MPU
8,196
[ "HI", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")" ]
[ "[", "(", "set", "(", "match_operand", ":" ]
GCC
aarch64
MD
stmt_completion
CPU
8,197
[ "UNSPEC_LASTB", "]", ")" ]
[ "(", "define_int_iterator", "LAST", "[", "UNSPEC_LASTA" ]
GCC
rs6000
MD
program_repair
CPU
8,198
[ "<FIXS>", "|", "|", "!", "CONST_INT_P", "(", "align", ")", "<FIXE>" ]
[ "rtx", "addr", ",", "scratch_string", ",", "word1", ",", "word2", ",", "scratch_dlmzbrtx", "loop_label", ",", "end_label", ",", "mem", ",", "cr0", ",", "condif", "(", "search_char", "!", "=", "const0_rtx", "<BUGS>", "|", "|", "GET_CODE", "(", "align", ")",...
LLVM
ARM
CPP
stmt_completion
CPU
8,199
[ "false", ";" ]
[ "if", "(", "getParser", "(", ")", ".", "parseExpression", "(", "Value", ")", ")", "return", "true", ";", "getParser", "(", ")", ".", "getStreamer", "(", ")", ".", "emitValue", "(", "Value", ",", "Size", ",", "L", ")", ";", "return" ]