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
Mips
CPP
stmt_completion
CPU
5,200
[ ";" ]
[ "if", "(", "Subtarget", ".", "hasMips32r2", "(", ")", "&&", "Size", "==", "<NUM_LIT>", ")", "{", "BuildMI", "(", "BB", ",", "DL", ",", "TII", "->", "get", "(", "Mips", "::", "SEB", ")", ",", "DstReg", ")", ".", "addReg", "(", "SrcReg", ")", ";", ...
LLVM
WebAssembly
CPP
stmt_completion
Virtual ISA
5,201
[ "createMachineMemOperandFor", "(", "Load", ")", ")", ";" ]
[ "break", ";", "case", "MVT", "::", "i64", ":", "Opc", "=", "WebAssembly", "::", "LOAD_I64", ";", "RC", "=", "&", "WebAssembly", "::", "I64RegClass", ";", "break", ";", "case", "MVT", "::", "f32", ":", "Opc", "=", "WebAssembly", "::", "LOAD_F32", ";", ...
LLVM
X86
TD
program_repair
CPU
5,202
[ "<FIXS>", "def", "SSrm_Int", ":", "SSI", "opc", ",", "MRMSrcMem", ",", "(", "ops", "VR128", ":", "$", "dst", ",", "VR128", ":", "$", "src1", ",", "ssmem", ":", "$", "src2", ")", ",", "<FIXE>", "<FIXS>", "sse_load_f32", ":", "$", "src2", ")", ")", ...
[ "let", "isCommutable", "=", "Commutable", ";", "}", "<BUGS>", "def", "SSrm_Int", ":", "SSI", "opc", ",", "MRMSrcMem", ",", "(", "ops", "VR128", ":", "$", "dst", ",", "VR128", ":", "$", "src1", ",", "f32mem", ":", "$", "src2", ")", ",", "<BUGE>", "!...
LLVM
AMDGPU
CPP
stmt_completion
GPU
5,203
[ "==", "<NUM_LIT>", ")", ";" ]
[ "assert", "(", "!", "MO", ".", "isFPImm", "(", ")", ")", ";", "if", "(", "!", "MO", ".", "isImm", "(", ")", ")", "return", "~", "<NUM_LIT>", ";", "Imm", "=", "MO", ".", "getImm", "(", ")", ";", "}", "if", "(", "OpSize", "==", "<NUM_LIT>", ")"...
LLVM
Mips
TD
stmt_completion
CPU
5,204
[ "$", "wd_in", ",", "MSA128BOpnd", ":", "$", "ws", ")", ")", "]", ";" ]
[ "dag", "InOperandList", "=", "(", "ins", "MSA128BOpnd", ":", "$", "wd_in", ",", "MSA128BOpnd", ":", "$", "ws", ",", "vsplat_uimm8", ":", "$", "u8", ")", ";", "string", "AsmString", "=", "<STR_LIT>", ";", "list", "<", "dag", ">", "Pattern", "=", "[", ...
LLVM
PowerPC
CPP
stmt_completion
CPU
5,205
[ "XSADDDP", ":" ]
[ "static", "bool", "isAssociativeAndCommutative", "(", "unsigned", "Opcode", ")", "{", "switch", "(", "Opcode", ")", "{", "case", "PPC", "::", "FADD", ":", "case", "PPC", "::", "FADDS", ":", "case", "PPC", "::", "FMUL", ":", "case", "PPC", "::", "FMULS", ...
LLVM
SIC
CPP
stmt_completion
CPU
5,206
[ "(", ")", ";" ]
[ "const", "SICABIInfo", "&", "SICSubtarget", "::", "getABI", "(", ")", "const", "{", "return", "TM", ".", "getABI" ]
LLVM
PowerPC
TD
next_suggestion
CPU
5,207
[ "}" ]
[ "let", "MIOperandInfo", "=", "(", "ops", "dispSPE8", ":", "$", "imm", ",", "ptr_rc_nor0", ":", "$", "reg", ")", ";", "let", "EncoderMethod", "=", "<STR_LIT>", ";", "let", "DecoderMethod", "=", "<STR_LIT>", ";", "let", "OperandType", "=", "<STR_LIT>", ";" ]
LLVM
X86
CPP
program_repair
CPU
5,208
[ "<FIXS>", "if", "(", "Desc", "->", "TSFlags", "&", "<STR_LIT>", "::", "<STR_LIT>", ")", "<FIXE>" ]
[ "emitSegmentOverridePrefix", "(", "TSFlags", ",", "MemoryOperand", ",", "MI", ")", ";", "<BUGS>", "if", "(", "(", "Desc", "->", "TSFlags", "&", "<STR_LIT>", "::", "<STR_LIT>", ")", "==", "<STR_LIT>", "::", "<STR_LIT>", ")", "<BUGE>", "MCE", ".", "emitByte", ...
GCC
pa
CPP
stmt_completion
CPU
5,209
[ "<STR_LIT>", ")", ";" ]
[ "if", "(", "TARGET_64BIT", ")", "d_add_builtin_version", "(", "<STR_LIT>", "HPPA64", "<STR_LIT>", ")", ";", "else", "d_add_builtin_version", "(", "<STR_LIT>", "HPPA" ]
GCC
alpha
CPP
stmt_completion
MPU
5,210
[ "ATTRIBUTE_UNUSED", ")", "{" ]
[ "static", "int", "translate_unix", "(", "char", "*", "name", ",", "int", "type" ]
LLVM
ARM
CPP
stmt_completion
CPU
5,211
[ ";" ]
[ "if", "(", "Rt2", "!=", "Rt", "+", "<NUM_LIT>", ")", "return", "Error", "(", "Operands", "[", "<NUM_LIT>", "]", "->", "getStartLoc", "(", ")", ",", "<STR_LIT>", "source operands must be sequential", "<STR_LIT>", ")", ";", "return", "false", ";", "}", "case",...
GCC
ia64
CPP
program_repair
CPU
5,212
[ "<FIXS>", "static", "section", "*", "ia64_select_rtx_section", "(", "enum", "machine_mode", ",", "rtx", ",", "unsigned", "HOST_WIDE_INT", ")", ";", "<FIXE>", "<FIXS>", "static", "section", "*", "ia64_rwreloc_select_section", "(", "tree", ",", "int", ",", "unsigned...
[ "HOST_WIDE_INT", ",", "tree", ")", ";", "static", "void", "ia64_file_start", "(", "void", ")", ";", "<BUGS>", "static", "void", "ia64_select_rtx_section", "(", "enum", "machine_mode", ",", "rtx", ",", "unsigned", "HOST_WIDE_INT", ")", ";", "<BUGE>", "static", ...
LLVM
Hexagon
TD
stmt_completion
DSP
5,213
[ "dst", ";" ]
[ "class", "T_tfr", ":", "ALU32Inst", "<", "(", "outs", "IntRegs", ":", "$", "dst", ")", ",", "(", "ins", "IntRegs", ":", "$", "src", ")", ",", "<STR_LIT>", ">", "{", "bits", "<", "<NUM_LIT>", ">", "dst", ";", "bits", "<", "<NUM_LIT>", ">", "src", ...
LLVM
LoongArch
CPP
stmt_completion
CPU
5,214
[ "<STR_LIT>", "LoongArchISD::", "<STR_LIT>", "#", "node", ";" ]
[ "const", "char", "*", "LoongArchTargetLowering", "::", "getTargetNodeName", "(", "unsigned", "Opcode", ")", "const", "{", "switch", "(", "(", "<STR_LIT>", "::", "<STR_LIT>", ")", "Opcode", ")", "{", "case", "<STR_LIT>", "::", "<STR_LIT>", ":", "break", ";", ...
LLVM
AArch64
TD
next_suggestion
CPU
5,215
[ "let", "Predicates", "=", "[", "HasFullFP16", "]", ";" ]
[ "def", "UWHr", ":", "BaseFPToIntegerUnscaled", "<", "<NUM_LIT>", ",", "rmode", ",", "opcode", ",", "FPR16", ",", "GPR32", ",", "asm", ",", "[", "(", "set", "GPR32", ":", "$", "Rd", ",", "(", "OpN", "(", "f16", "FPR16", ":", "$", "Rn", ")", ")", "...
GCC
aarch64
MD
stmt_completion
CPU
5,216
[ ":", "DI" ]
[ "[", "(", "set", "(", "match_operand", ":", "DI", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", "(", "if_then_else", ":", "DI", "(", "match_operand", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", "(", "zero_extend" ]
LLVM
ARM
TD
next_suggestion
CPU
5,217
[ "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "<NUM_LIT>", ";" ]
[ "class", "MVE_bit_cmode", "<", "string", "iname", ",", "string", "suffix", ",", "bit", "halfword", ",", "dag", "inOps", ">", ":", "MVE_p", "<", "(", "outs", "MQPR", ":", "$", "Qd", ")", ",", "inOps", ",", "NoItinerary", ",", "iname", ",", "suffix", "...
LLVM
AMDGPU
CPP
stmt_completion
GPU
5,218
[ "<STR_LIT>", ")", ";" ]
[ "case", "TargetOpcode", "::", "G_LOAD", ":", "return", "legalizeLoad", "(", "MI", ",", "MRI", ",", "B", ",", "Observer", ")", ";", "case", "TargetOpcode", "::", "G_FMAD", ":", "return", "legalizeFMad", "(", "MI", ",", "MRI", ",", "B", ")", ";", "case",...
LLVM
PowerPC
TD
stmt_completion
CPU
5,219
[ "xoaddr", ":", "$", "dst", ")", "]", ">", ";" ]
[ "def", "XFSTOREf64", ":", "PseudoXFormMemOp", "<", "(", "outs", ")", ",", "(", "ins", "vsfrc", ":", "$", "XT", ",", "memrr", ":", "$", "dst", ")", ",", "<STR_LIT>", ",", "[", "(", "store", "f64", ":", "$", "XT", "," ]
LLVM
AMDGPU
CPP
next_suggestion
GPU
5,220
[ "return", "false", ";" ]
[ "bool", "UnmangledFuncInfo", "::", "lookup", "(", "StringRef", "Name", ",", "ID", "&", "Id", ")", "{", "static", "const", "StringMap", "<", "unsigned", ">", "Map", "=", "buildNameMap", "(", ")", ";", "auto", "Loc", "=", "Map", ".", "find", "(", "Name",...
GCC
sparc
MD
next_suggestion
CPU
5,221
[ "(", "set_attr", "<STR_LIT>", "<STR_LIT>", ")", "]", ")" ]
[ "(", "match_operand", ":", "SI", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", ")", ")", ")", ")", "]", "<STR_LIT>", "<STR_LIT>", "[", "(", "set_attr", "<STR_LIT>", "<STR_LIT>", ")" ]
GCC
i386
MD
next_suggestion
CPU
5,222
[ "ix86_expand_vector_extract", "(", "false", ",", "operands", "[", "<NUM_LIT>", "]", ",", "operands", "[", "<NUM_LIT>", "]", "," ]
[ "(", "define_expand", "<STR_LIT>", "[", "(", "match_operand", ":", "SI", "<NUM_LIT>", "<STR_LIT>", ")", "(", "match_operand", ":", "V2SI", "<NUM_LIT>", "<STR_LIT>", ")", "(", "match_operand", "<NUM_LIT>", "<STR_LIT>", ")", "]", "<STR_LIT>", "{" ]
LLVM
AMDGPU
CPP
next_suggestion
GPU
5,223
[ "}" ]
[ "case", "ISD", "::", "FP16_TO_FP", ":", "{", "assert", "(", "!", "Subtarget", "->", "has16BitInsts", "(", ")", "&&", "<STR_LIT>", "should only see if f16 is illegal", "<STR_LIT>", ")", ";", "SDLoc", "SL", "(", "N", ")", ";", "SDValue", "Src", "=", "N0", "....
LLVM
BPF
CPP
next_suggestion
Virtual ISA
5,224
[ "const", "GlobalValue", "*", "GVal", "=", "MO", ".", "getGlobal", "(", ")", ";" ]
[ "MachineInstr", "*", "ToErase", "=", "nullptr", ";", "bool", "Changed", "=", "false", ";", "for", "(", "MachineBasicBlock", "&", "MBB", ":", "*", "MF", ")", "{", "for", "(", "MachineInstr", "&", "MI", ":", "MBB", ")", "{", "if", "(", "ToErase", ")", ...
GCC
avr
CPP
program_repair
MPU
5,225
[ "<FIXS>", "insn", "=", "emit_move_insn", "(", "my_fp", ",", "plus_constant", "(", "GET_MODE", "(", "my_fp", ")", ",", "my_fp", ",", "-", "size", ")", ")", ";", "<FIXE>" ]
[ "gen_rtx_SET", "(", "VOIDmode", ",", "fp", ",", "stack_pointer_rtx", ")", ")", ";", "}", "<BUGS>", "insn", "=", "emit_move_insn", "(", "my_fp", ",", "plus_constant", "(", "Pmode", ",", "my_fp", ",", "-", "size", ")", ")", ";", "<BUGE>", "if", "(", "fra...
LLVM
MSP430
CPP
stmt_completion
MPU
5,226
[ "<NUM_LIT>", ")", "{" ]
[ "MachineFunction", "&", "MF", "=", "DAG", ".", "getMachineFunction", "(", ")", ";", "MSP430MachineFunctionInfo", "*", "FuncInfo", "=", "MF", ".", "getInfo", "<", "MSP430MachineFunctionInfo", ">", "(", ")", ";", "int", "ReturnAddrIndex", "=", "FuncInfo", "->", ...
GCC
v850
MD
next_suggestion
MPU
5,227
[ "(", "set_attr", "<STR_LIT>", "<STR_LIT>", ")", "]" ]
[ "[", "(", "lshiftrt", ":", "SI", "(", "match_operand", ":", "SI", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", "(", "match_operand", ":", "SI", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", ")", "(", "ashift", ":", "SI", "(", "match_dup", "<NUM_LIT>", ")", "(...
GCC
spu
MD
next_suggestion
MPU
5,228
[ "[", "(", "set_attr", "<STR_LIT>", "<STR_LIT>", ")", "]", ")" ]
[ "(", "unspec", ":", "V8HI", "[", "(", "match_operand", ":", "SI", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", "]", "UNSPEC_FSMH", ")", ")", "]", "<STR_LIT>", "<STR_LIT>" ]
GCC
mcore
CPP
stmt_completion
MPU
5,229
[ "<NUM_LIT>", ";" ]
[ "else", "{", "mask", "=", "<NUM_LIT>", "<<", "posn", ";", "emit_insn", "(", "gen_rtx_SET", "(", "SImode", ",", "operands", "[", "<NUM_LIT>", "]", ",", "gen_rtx_IOR", "(", "SImode", ",", "operands", "[", "<NUM_LIT>", "]", ",", "GEN_INT", "(", "mask", ")",...
LLVM
Hexagon
TD
program_repair
DSP
5,230
[ "<FIXS>", "class", "T_StoreAbsGP_NV", "string", "mnemonic", ",", "Operand", "ImmOp", ",", "bits", "<NUM_LIT>", ">", "MajOp", ">", ":", "NVInst_V4", "(", "outs", ")", ",", "(", "ins", "ImmOp", ":", "$", "addr", ",", "IntRegs", ":", "$", "src", ")", ",",...
[ "let", "hasSideEffects", "=", "<NUM_LIT>", ",", "isPredicable", "=", "<NUM_LIT>", ",", "mayStore", "=", "<NUM_LIT>", ",", "isNVStore", "=", "<NUM_LIT>", ",", "isNewValue", "=", "<NUM_LIT>", ",", "opNewValue", "=", "<NUM_LIT>", "in", "<BUGS>", "class", "T_StoreAb...
LLVM
X86
CPP
program_repair
CPU
5,231
[ "<FIXS>", "if", "(", "(", "(", "nextByte", "==", "<NUM_LIT>", ")", "||", "(", "(", "nextByte", "&", "<NUM_LIT>", ")", "==", "<NUM_LIT>", "||", "(", "nextByte", "&", "<NUM_LIT>", ")", "==", "<NUM_LIT>", ")", ")", ")", "{", "<FIXE>", "<FIXS>", "if", "(...
[ "*", "-", "it", "is", "followed", "by", "an", "xchg", "instruction", "*", "then", "it", "should", "be", "disassembled", "as", "a", "xacquire", "/", "xrelease", "not", "repne", "/", "rep", ".*", "/", "<BUGS>", "if", "(", "(", "byte", "==", "<NUM_LIT>", ...
LLVM
AArch64
CPP
code_generation
CPU
5,232
[ "SDValue", "AArch64TargetLowering", "::", "PerformDAGCombine", "(", "SDNode", "*", "N", ",", "DAGCombinerInfo", "&", "DCI", ")", "const", "{", "SelectionDAG", "&", "DAG", "=", "DCI", ".", "DAG", ";", "switch", "(", "N", "->", "getOpcode", "(", ")", ")", ...
[ "This", "method", "will", "be", "invoked", "for", "all", "target", "nodes", "and", "for", "any", "target-independent", "nodes", "that", "the", "target", "has", "registered", "with", "invoke", "it", "for", "." ]
LLVM
ARM64
CPP
stmt_completion
CPU
5,233
[ ")", "const", "{" ]
[ "bool", "isCyclone", "(" ]
LLVM
Mips
TD
next_suggestion
CPU
5,234
[ "list", "<", "dag", ">", "Pattern", "=", "[", "(", "set", "ROWD", ":", "$", "wd", ",", "(", "VT", "(", "OpNode", "ROS", ":", "$", "rs", ")", ")", ")", "]", ";" ]
[ "dag", "InOperandList", "=", "(", "ins", "ROS", ":", "$", "rs", ")", ";", "string", "AsmString", "=", "!", "strconcat", "(", "instr_asm", ",", "<STR_LIT>", ")", ";" ]
LLVM
AArch64
TD
next_suggestion
CPU
5,235
[ "let", "Inst", "{", "<NUM_LIT>", "}", "=", "idx", ";" ]
[ "class", "SIMDDup64FromElement", ":", "SIMDDupFromElement", "<", "<NUM_LIT>", ",", "<STR_LIT>", ",", "<STR_LIT>", ",", "v2i64", ",", "v2i64", ",", "V128", ",", "VectorIndexD", ",", "AArch64duplane64", ">", "{", "bits", "<", "<NUM_LIT>", ">", "idx", ";" ]
LLVM
Hexagon
TD
next_suggestion
DSP
5,236
[ "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "<NUM_LIT>", ";" ]
[ "def", "J4_cmpgtui_tp1_jump_nt", ":", "HInst", "<", "(", "outs", ")", ",", "(", "ins", "GeneralSubRegs", ":", "$", "Rs16", ",", "u5_0Imm", ":", "$", "II", ",", "b30_2Imm", ":", "$", "Ii", ")", ",", "<STR_LIT>", ",", "tc_3d495a39", ",", "TypeCJ", ">", ...
GCC
rs6000
MD
next_suggestion
CPU
5,237
[ "(", "V2DF", "<STR_LIT>", ")" ]
[ "(", "V4SI", "<STR_LIT>", ")", "(", "V4SF", "<STR_LIT>", ")", "(", "V2DI", "<STR_LIT>", ")" ]
GCC
arm
CPP
stmt_completion
CPU
5,238
[ "_", "p", ")", ";" ]
[ "return", "_", "_", "builtin_mve_vbicq_m_sv8hi", "(", "_", "_", "inactive", ",", "_", "_", "a", ",", "_", "_", "b", ",", "_" ]
GCC
rs6000
MD
program_repair
CPU
5,239
[ "<FIXS>", "[", "(", "set", "(", "match_operand", ":", "VS_scalar", ">", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", "<FIXE>", "<FIXS>", "(", "match_operand", ":", "VSX_D", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", "<FIXE>", "<FIXS>", "[", "(", "match_operand",...
[ "(", "define_insn", "<STR_LIT>", "<BUGS>", "[", "(", "set", "(", "match_operand", ":", "VS_scalar", ">", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", "<BUGE>", "(", "vec_select", ":", "VS_scalar", ">", "<BUGS>", "(", "match_operand", ":", "VSX_D", "<NUM_LIT>", ...
LLVM
AArch64
TD
stmt_completion
CPU
5,240
[ ";" ]
[ "def", "neon_uimm8", ":", "Operand", "<", "i32", ">", ",", "ImmLeaf", "<", "i32", ",", "[", "{", "(", "void", ")", "Imm", ";", "return", "true", ";", "}", "]", ">", "{", "let", "ParserMatchClass", "=", "neon_uimm8_asmoperand", ";", "let", "PrintMethod"...
LLVM
Hexagon
CPP
next_suggestion
DSP
5,241
[ "AM", "=", "ISD", "::", "POST_INC", ";" ]
[ "LSBaseSDNode", "*", "LSN", "=", "dyn_cast", "<", "LSBaseSDNode", ">", "(", "N", ")", ";", "if", "(", "!", "LSN", ")", "return", "false", ";", "EVT", "VT", "=", "LSN", "->", "getMemoryVT", "(", ")", ";", "if", "(", "!", "VT", ".", "isSimple", "("...
LLVM
X86
CPP
stmt_completion
CPU
5,242
[ ")", ";" ]
[ "bool", "X86DAGToDAGISel", "::", "matchBitExtract", "(", "SDNode", "*", "Node", ")", "{", "assert", "(", "(", "Node", "->", "getOpcode", "(", ")", "==", "ISD", "::", "AND", "||", "Node", "->", "getOpcode", "(", ")", "==", "ISD", "::", "SRL", ")", "&&...
LLVM
PowerPC
TD
next_suggestion
CPU
5,243
[ "}" ]
[ "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "FRA", ";", "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "FRB", ";", "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "xo", ";", "let", "Inst", "{", "<NUM_LIT>",...
GCC
arm
MD
stmt_completion
CPU
5,244
[ "<STR_LIT>", ")" ]
[ "(", "define_reservation", "<STR_LIT>" ]
LLVM
X86
CPP
stmt_completion
CPU
5,245
[ "<NUM_LIT>", ";" ]
[ "if", "(", "CostKind", "!=", "TTI", "::", "TCK_RecipThroughput", ")", "return", "Opcode", "==", "Instruction", "::", "PHI", "?", "<NUM_LIT>", ":", "<NUM_LIT>", ";", "return" ]
GCC
alpha
MD
stmt_completion
MPU
5,246
[ ")", ")" ]
[ "(", "eq_attr", "<STR_LIT>", "<STR_LIT>" ]
LLVM
TGSI
CPP
stmt_completion
Virtual ISA
5,247
[ "t", ";" ]
[ "NodeT", "*", "t", "=", "Src", "[", "i", "]", ";", "Src", "[", "i", "]", "=", "Src", "[", "sz", "-", "i", "-", "<NUM_LIT>", "]", ";", "Src", "[", "sz", "-", "i", "-", "<NUM_LIT>", "]", "=" ]
LLVM
AMDGPU
CPP
next_suggestion
GPU
5,248
[ "if", "(", "MI", ".", "findRegisterUseOperandIdx", "(", "AMDGPU", "::", "SCC", ")", "!=", "-", "<NUM_LIT>", ")", "Worklist", ".", "insert", "(", "&", "MI", ")", ";" ]
[ "for", "(", "MachineInstr", "&", "MI", ":", "llvm", "::", "make_range", "(", "MachineBasicBlock", "::", "iterator", "(", "SCCDefInst", ")", ",", "SCCDefInst", ".", "getParent", "(", ")", "->", "end", "(", ")", ")", ")", "{", "if", "(", "MI", ".", "fi...
LLVM
X86
CPP
stmt_completion
CPU
5,249
[ "<STR_LIT>", "::", "<STR_LIT>", ",", "DL", ",", "MVT", "::", "v16f32", ",", "V1", ")", ";" ]
[ "assert", "(", "V1", ".", "getSimpleValueType", "(", ")", "==", "MVT", "::", "v16f32", "&&", "<STR_LIT>", "Bad operand type!", "<STR_LIT>", ")", ";", "assert", "(", "V2", ".", "getSimpleValueType", "(", ")", "==", "MVT", "::", "v16f32", "&&", "<STR_LIT>", ...
LLVM
Mips
CPP
next_suggestion
CPU
5,250
[ "}" ]
[ "if", "(", "MO", ".", "isImm", "(", ")", ")", "return", "MO", ".", "getImm", "(", ")", ">>", "<NUM_LIT>", ";", "return", "<NUM_LIT>", ";" ]
LLVM
AMDGPU
TD
stmt_completion
GPU
5,251
[ ",", "<STR_LIT>", ",", "pattern", ">", ";" ]
[ "class", "SOP2_32", "<", "string", "opName", ",", "list", "<", "dag", ">", "pattern", "=", "[", "]", ">", ":", "SOP2_Pseudo", "<", "opName", ",", "(", "outs", "SReg_32", ":", "$", "sdst", ")", ",", "(", "ins", "SSrc_b32", ":", "$", "src0", ",", "...
LLVM
ARM
CPP
stmt_completion
CPU
5,252
[ "<NUM_LIT>", ",", "<NUM_LIT>", ")", ";" ]
[ "return", "parsePKHImm", "(", "O", ",", "<STR_LIT>", "lsl", "<STR_LIT>", "," ]
LLVM
Hexagon
TD
next_suggestion
DSP
5,253
[ "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "<NUM_LIT>", ";" ]
[ "def", "F2_conv_sf2d", ":", "HInst", "<", "(", "outs", "DoubleRegs", ":", "$", "Rdd32", ")", ",", "(", "ins", "IntRegs", ":", "$", "Rs32", ")", ",", "<STR_LIT>", ",", "tc_3a867367", ",", "TypeS_2op", ">", ",", "Enc_3a3d62", "{", "let", "Inst", "{", "...
GCC
c4x
MD
next_suggestion
DSP
5,254
[ "<STR_LIT>" ]
[ "(", "unspec", ":", "HF", "[", "(", "match_operand", ":", "HF", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", "]", "UNSPEC_RND", ")", ")", "(", "clobber", "(", "reg", ":", "CC_NOOV", "<NUM_LIT>", ")", ")", "]" ]
LLVM
ARM
CPP
next_suggestion
CPU
5,255
[ "if", "(", "Elem", ">=", "<NUM_LIT>", ")", "Elem", "=", "(", "Elem", ">>", "<NUM_LIT>", ")", "|", "<NUM_LIT>", ";" ]
[ "assert", "(", "N", "==", "<NUM_LIT>", "&&", "<STR_LIT>", "Invalid number of operands!", "<STR_LIT>", ")", ";", "const", "MCConstantExpr", "*", "CE", "=", "dyn_cast", "<", "MCConstantExpr", ">", "(", "getImm", "(", ")", ")", ";", "assert", "(", "(", "Inst", ...
GCC
s390
CPP
stmt_completion
MPU
5,256
[ "insn", ")", ",", "reg", ")", ";" ]
[ "rtx", "reg", ",", "or", "ig_ra", ";", "if", "(", "!", "s390_tpf_eh_return_symbol", ")", "{", "s390_tpf_eh_return_symbol", "=", "gen_rtx_SYMBOL_REF", "(", "Pmode", ",", "<STR_LIT>", "__tpf_eh_return", "<STR_LIT>", ")", ";", "SYMBOL_REF_FLAGS", "(", "s390_tpf_eh_retu...
LLVM
Hexagon
CPP
stmt_completion
DSP
5,257
[ "delete", "Resources", ";" ]
[ "if", "(", "Resources", ")" ]
LLVM
Hexagon
TD
stmt_completion
DSP
5,258
[ ";" ]
[ "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "<NUM_LIT>", ";", "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "<NUM_LIT>", ";", "let", "hasNewValue", "=", "<NUM_LIT>", ";", "let", "opNewValue", "=", "<NUM_LIT>", ";", "let", ...
LLVM
TPC
TD
next_suggestion
Virtual ISA
5,259
[ "let", "Switches", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "switches", ";" ]
[ "bits", "<", "<NUM_LIT>", ">", "dst", ";", "bits", "<", "<NUM_LIT>", ">", "src", "=", "?", ";", "let", "Dest", "=", "dst", ";", "let", "SrcA", "=", "src", ";" ]
GCC
rs6000
CPP
code_generation
CPU
5,260
[ "static", "int", "rs6000_loop_align_max_skip", "(", "rtx_insn", "*", "label", ")", "{", "return", "(", "<NUM_LIT>", "<<", "rs6000_loop_align", "(", "label", ")", ")", "-", "<NUM_LIT>", ";", "}" ]
[ "Implement", "TARGET_LOOP_ALIGN_MAX_SKIP", "." ]
LLVM
AArch64
CPP
stmt_completion
CPU
5,261
[ "FPRArgRegs", ")", ";" ]
[ "unsigned", "FirstVariadicGPR", "=", "CCInfo", ".", "getFirstUnallocated", "(", "GPRArgRegs", ")", ";", "unsigned", "GPRSaveSize", "=", "<NUM_LIT>", "*", "(", "NumGPRArgRegs", "-", "FirstVariadicGPR", ")", ";", "int", "GPRIdx", "=", "<NUM_LIT>", ";", "if", "(", ...
GCC
rx
MD
next_suggestion
CPU
5,262
[ ")" ]
[ "(", "define_predicate", "<STR_LIT>", "(", "ior", "(", "match_operand", "<NUM_LIT>", "<STR_LIT>", ")", "(", "match_operand", "<NUM_LIT>", "<STR_LIT>", ")", ")" ]
GCC
xtensa
CPP
stmt_completion
MPU
5,263
[ "<NUM_LIT>", ",", "VOIDmode", ",", "<NUM_LIT>", ")", ";" ]
[ "emit_library_call", "(", "gen_rtx_SYMBOL_REF", "(", "Pmode", ",", "<STR_LIT>", "__xtensa_libgcc_window_spill", "<STR_LIT>", ")", "," ]
GCC
bfin
CPP
next_suggestion
DSP
5,264
[ "break", ";" ]
[ "if", "(", "bfin_valid_reg_p", "(", "REGNO", "(", "x", ")", ",", "strict", ",", "mode", ",", "MEM", ")", ")", "return", "true", ";", "break", ";", "case", "PLUS", ":", "if", "(", "REG_P", "(", "XEXP", "(", "x", ",", "<NUM_LIT>", ")", ")", "&&", ...
LLVM
R600
CPP
next_suggestion
GPU
5,265
[ "SDValue", "Cond", "=", "DAG", ".", "getSetCC", "(", "SL", ",", "SetCCVT", ",", "Fabs", ",", "C2", ",", "ISD", "::", "SETOGT", ")", ";" ]
[ "SDValue", "Tmp2", "=", "DAG", ".", "getNode", "(", "ISD", "::", "FSUB", ",", "SL", ",", "MVT", "::", "f64", ",", "Tmp1", ",", "CopySign", ")", ";", "SDValue", "Fabs", "=", "DAG", ".", "getNode", "(", "ISD", "::", "FABS", ",", "SL", ",", "MVT", ...
LLVM
AArch64
CPP
stmt_completion
CPU
5,266
[ "<STR_LIT>", ")", ";" ]
[ "unsigned", "DestReg", "=", "MI", ".", "getOperand", "(", "<NUM_LIT>", ")", ".", "getReg", "(", ")", ";", "if", "(", "STI", "->", "hasZeroCycleZeroing", "(", ")", ")", "{", "if", "(", "<STR_LIT>", "::", "<STR_LIT>", "<=", "DestReg", "&&", "DestReg", "<...
LLVM
AArch64
CPP
stmt_completion
CPU
5,267
[ ")", "return", "MVT", "::", "INVALID_SIMPLE_VALUE_TYPE", ";" ]
[ "if", "(", "Operand", ".", "getValueType", "(", ")", "!=", "VecVT", ")", "continue", ";", "EVT", "OperandVT", "=", "tryGetOriginalBoolVectorType", "(", "Operand", ",", "Depth", "+", "<NUM_LIT>", ")", ";", "if", "(", "!", "BaseVT", ".", "isSimple", "(", "...
LLVM
ARM
TD
next_suggestion
CPU
5,268
[ "}" ]
[ "let", "Inst", "{", "<NUM_LIT>", "}", "=", "<NUM_LIT>", ";", "let", "Inst", "{", "<NUM_LIT>", "}", "=", "T", ";", "let", "Inst", "{", "<NUM_LIT>", "}", "=", "<NUM_LIT>", ";", "let", "Inst", "{", "<NUM_LIT>", "}", "=", "<NUM_LIT>", ";", "let", "validF...
LLVM
X86
CPP
code_generation
CPU
5,269
[ "bool", "FixupLEAPass", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "Func", ")", "{", "MF", "=", "&", "Func", ";", "const", "X86Subtarget", "&", "ST", "=", "Func", ".", "getSubtarget", "<", "X86Subtarget", ">", "(", ")", ";", "if", "(", "!...
[ "runOnMachineFunction", "-", "Emit", "the", "function", "body", "." ]
GCC
i386
MD
next_suggestion
CPU
5,270
[ "[", "(", "set_attr", "<STR_LIT>", "<STR_LIT>", ")" ]
[ "(", "define_insn", "<STR_LIT>", "[", "(", "set", "(", "match_operand", ":", "TI", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", "(", "vec_select", ":", "TI", "(", "match_operand", ":", "V2TI", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", "(", "parallel", "[", ...
LLVM
ARM
CPP
stmt_completion
CPU
5,271
[ "Unknown LDR label operand?", "<STR_LIT>", ")", ";" ]
[ "O", "<<", "markup", "(", "<STR_LIT>", "<mem:", "<STR_LIT>", ")", "<<", "<STR_LIT>", "[pc, ", "<STR_LIT>", "<<", "markup", "(", "<STR_LIT>", "<imm:", "<STR_LIT>", ")", "<<", "<STR_LIT>", "#", "<STR_LIT>", "<<", "MO1", ".", "getImm", "(", ")", "<<", "markup...
LLVM
X86
TD
stmt_completion
CPU
5,272
[ "=", "<NUM_LIT>", ";" ]
[ "let", "Latency", "=", "<NUM_LIT>", ";", "let", "NumMicroOps" ]
LLVM
AArch64
CPP
stmt_completion
CPU
5,273
[ "createImm", "(", "Imm", ")", ")", ";" ]
[ "static", "DecodeStatus", "DecodeMRSSystemRegister", "(", "MCInst", "&", "Inst", ",", "unsigned", "Imm", ",", "uint64_t", "Address", ",", "const", "MCDisassembler", "*", "Decoder", ")", "{", "Inst", ".", "addOperand", "(", "MCOperand", "::" ]
LLVM
ARM
CPP
stmt_completion
CPU
5,274
[ "{" ]
[ "if", "(", "ReduceLimit2Addr", "!=", "-", "<NUM_LIT>", "&&", "(", "(", "int", ")", "Num2Addrs", ">=", "ReduceLimit2Addr", ")", ")", "return", "false", ";", "const", "TargetInstrDesc", "&", "TID", "=", "MI", "->", "getDesc", "(", ")", ";", "unsigned", "Re...
LLVM
BPF
CPP
next_suggestion
Virtual ISA
5,275
[ "}" ]
[ "assert", "(", "Size", "<=", "<NUM_LIT>", "&&", "<STR_LIT>", "size too big in emit constant", "<STR_LIT>", ")", ";", "for", "(", "int", "i", "=", "(", "Size", "-", "<NUM_LIT>", ")", "*", "<NUM_LIT>", ";", "i", ">=", "<NUM_LIT>", ";", "i", "-=", "<NUM_LIT>"...
LLVM
X86
CPP
next_suggestion
CPU
5,276
[ "return", "GetTLSADDR", "(", "DAG", ",", "DAG", ".", "getEntryNode", "(", ")", ",", "GA", ",", "NULL", ",", "PtrVT", ",", "X86", "::", "RAX", ",", "TargetFlag", ",", "false", ",", "Opcode", ")", ";" ]
[ "Opcode", "=", "<STR_LIT>", "::", "<STR_LIT>", ";", "}", "else", "{", "return", "LowerToTLSExecCall", "(", "GA", ",", "DAG", ",", "PtrVT", ",", "model", ",", "true", ")", ";", "}", "if", "(", "NaClDontBreakABI", ")", "{" ]
LLVM
X86
TD
program_repair
CPU
5,277
[ "<FIXS>", "defm", ":", "SLMWriteResPair", "WriteFAdd", ",", "[", "SLM_FPC_RSV1", "]", ",", "<NUM_LIT>", ">", ";", "defm", ":", "SLMWriteResPair", "WriteFAddX", ",", "[", "SLM_FPC_RSV1", "]", ",", "<NUM_LIT>", ">", ";", "defm", ":", "SLMWriteResPair", "WriteFAd...
[ "def", ":", "WriteRes", "WriteFMove", ",", "[", "SLM_FPC_RSV01", "]", ">", ";", "defm", ":", "X86WriteRes", "WriteEMMS", ",", "[", "SLM_FPC_RSV01", "]", ",", "<NUM_LIT>", ",", "[", "<NUM_LIT>", "]", ",", "<NUM_LIT>", ">", ";", "<BUGS>", "defm", ":", "SLM...
LLVM
Hexagon
TD
stmt_completion
DSP
5,278
[ ",", "<NUM_LIT>", ">", ";" ]
[ "def", "M2_mpyu_nac_ll_s0", ":", "T_M2_mpy_acc", "<", "<NUM_LIT>", ",", "<NUM_LIT>", ",", "<NUM_LIT>", ",", "<NUM_LIT>" ]
GCC
i386
CPP
code_generation
CPU
5,279
[ "static", "bool", "extract_base_offset_in_addr", "(", "rtx", "mem", ",", "rtx", "*", "base", ",", "rtx", "*", "offset", ")", "{", "rtx", "addr", ";", "gcc_assert", "(", "MEM_P", "(", "mem", ")", ")", ";", "addr", "=", "XEXP", "(", "mem", ",", "<NUM_L...
[ "If", "MEM", "is", "in", "the", "form", "of", "``", "base+offset", "''", ",", "extract", "the", "two", "parts", "of", "address", "and", "set", "to", "BASE", "and", "OFFSET", ",", "otherwise", "return", "false", "after", "clearing", "BASE", "and", "OFFSET...
LLVM
ARM
CPP
stmt_completion
CPU
5,280
[ "&", "O", ")", "{" ]
[ "void", "ARMInstPrinter", "::", "printFBits32", "(", "const", "MCInst", "*", "MI", ",", "unsigned", "OpNum", ",", "raw_ostream" ]
GCC
s390
MD
next_suggestion
MPU
5,281
[ "<STR_LIT>" ]
[ "[", "(", "parallel", "[", "(", "set", "(", "match_operand", ":", "FPR", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", "(", "plus", ":", "FPR", "(", "match_operand", ":", "FPR", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", "(", "match_operand", ":", "FPR", "<...
GCC
microblaze
CPP
code_generation
MPU
5,282
[ "rtx", "microblaze_return_addr", "(", "int", "count", ",", "rtx", "frame", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "count", "!=", "<NUM_LIT>", ")", "return", "NULL_RTX", ";", "return", "gen_rtx_PLUS", "(", "Pmode", ",", "get_hard_reg_initial_val", "(", "Pmode",...
[ "Return", "an", "RTX", "indicating", "where", "the", "return", "address", "to", "the", "calling", "function", "can", "be", "found", "." ]
GCC
pdp10
CPP
next_suggestion
MPU
5,283
[ "}" ]
[ "int", "pdp10_stack_dynamic_offset", "(", ")", "{", "return", "<NUM_LIT>", ";" ]
GCC
ft32
MD
stmt_completion
MPU
5,284
[ ")", "]" ]
[ "(", "unspec", ":", "SI", "[", "(", "match_operand", ":", "BLK", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", "(", "match_operand", ":", "QI", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", "(", "match_operand", ":", "SI", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")...
LLVM
CellSPU
TD
stmt_completion
MPU
5,285
[ "(", "FCGTf32", "R32FP", ":", "$", "rA", ",", "R32FP", ":", "$", "rB", ")", ",", "<NUM_LIT>", ")", ">", ";" ]
[ "def", ":", "Pat", "<", "(", "setole", "R32FP", ":", "$", "rA", ",", "R32FP", ":", "$", "rB", ")", ",", "(", "XORIr32" ]
GCC
mips
MD
stmt_completion
CPU
5,286
[ ")", "]" ]
[ "(", "unspec", ":", "V8QI", "[", "(", "match_operand", ":", "V8QI", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", "]", "UNSPEC_LOONGSON_BIADD", ")" ]
LLVM
SPIRV
CPP
stmt_completion
Virtual ISA
5,287
[ "::", "STK_Empty", ")", ";" ]
[ "return", "<STR_LIT>", "::", "<STR_LIT>", "(", "<STR_LIT>", "::", "<STR_LIT>" ]
GCC
sh
CPP
stmt_completion
CPU
5,288
[ ":" ]
[ "int", "ext", "=", "kind", "&", "<NUM_LIT>", "?", "<NUM_LIT>", ":", "<NUM_LIT>", ";", "int", "shift2", "=", "size", "-", "ext", ";", "if", "(", "!", "currently_expanding_to_rtl", "&&", "!", "reload_in_progress", "&&", "!", "reload_completed", ")", "{", "em...
LLVM
ARM
CPP
stmt_completion
CPU
5,289
[ ")", "return", "false", ";" ]
[ "return", "isSupportedType", "(", "DL", ",", "TLI", ",", "StructT", "->", "getElementType", "(", "<NUM_LIT>", ")", ")", ";", "}", "EVT", "VT", "=", "TLI", ".", "getValueType", "(", "DL", ",", "T", ",", "true", ")", ";", "if", "(", "!", "VT", ".", ...
GCC
arm
CPP
stmt_completion
CPU
5,290
[ "a", ")", "{" ]
[ "_", "_", "arm_vreinterpretq_u16", "(", "float32x4_t", "_", "_" ]
GCC
msp430
CPP
stmt_completion
MPU
5,291
[ "-", "ra_size", ")", ")", ")", ";" ]
[ "return", "gen_rtx_MEM", "(", "Pmode", ",", "gen_rtx_PLUS", "(", "Pmode", ",", "arg_pointer_rtx", ",", "GEN_INT", "(" ]
GCC
alpha
MD
stmt_completion
MPU
5,292
[ "]" ]
[ "(", "define_insn", "<STR_LIT>", "[", "(", "set", "(", "match_operand", ":", "DI", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", "(", "unspec", ":", "DI", "[", "(", "match_operand", ":", "DI", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", "(", "match_operand", "...
LLVM
AMDGPU
TD
program_repair
GPU
5,293
[ "<FIXS>", "def", "_vi", ":", "VOP3_Real", "!", "cast", "VOP3_Pseudo", ">", "(", "NAME", "#", "<STR_LIT>", ")", ",", "SIEncodingFamily", ".", "VI", ">", ",", "VOP3e_vi", "op", ",", "!", "cast", "VOP3_Pseudo", ">", "(", "NAME", "#", "<STR_LIT>", ")", "."...
[ "let", "AssemblerPredicate", "=", "isGFX8Only", ",", "DecoderNamespace", "=", "<STR_LIT>", "in", "{", "multiclass", "VOP3_F16_Real_vi", "bits", "<NUM_LIT>", ">", "op", ">", "{", "<BUGS>", "def", "_vi", ":", "VOP3_Real", "!", "cast", "VOP3_Pseudo", ">", "(", "N...
LLVM
Hexagon
TD
next_suggestion
DSP
5,294
[ "let", "Constraints", "=", "<STR_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>", ";", "let", ...
GCC
i386
CPP
stmt_completion
CPU
5,295
[ "_", "_", "mmask16", ")", "-", "<NUM_LIT>", ",", "_", "MM_FROUND_CUR_DIRECTION", ")", ";" ]
[ "return", "(", "_", "_", "m512i", ")", "_", "_", "builtin_ia32_cvtps2udq512_mask", "(", "(", "_", "_", "v16sf", ")", "_", "_", "A", ",", "(", "_", "_", "v16si", ")", "_", "mm512_undefined_epi32", "(", ")", ",", "(" ]
GCC
i386
CPP
stmt_completion
CPU
5,296
[ "v4sf", ")", "_", "mm_setzero_ps", "(", ")", ",", "_", "_", "U", ",", "_", "_", "R", ")", ";" ]
[ "return", "(", "_", "_", "m128", ")", "_", "_", "builtin_ia32_rsqrt28ss_mask_round", "(", "(", "_", "_", "v4sf", ")", "_", "_", "B", ",", "(", "_", "_", "v4sf", ")", "_", "_", "A", ",", "(", "_", "_" ]
LLVM
AArch64
TD
next_suggestion
CPU
5,297
[ "}" ]
[ "class", "ClearAuth", "<", "bits", "<", "<NUM_LIT>", ">", "data", ",", "string", "asm", ">", ":", "I", "<", "(", "outs", "GPR64", ":", "$", "Rd", ")", ",", "(", "ins", "GPR64", ":", "$", "Rn", ")", ",", "asm", ",", "<STR_LIT>", ",", "<STR_LIT>", ...
LLVM
Mips
CPP
stmt_completion
CPU
5,298
[ ",", "getContext", "(", ")", ")", ";" ]
[ "if", "(", "isABI_N32", "(", ")", "||", "isABI_N64", "(", ")", ")", "{", "if", "(", "loadImmediate", "(", "HiImmOp64", ",", "FirstReg", ",", "Mips", "::", "NoRegister", ",", "false", ",", "true", ",", "IDLoc", ",", "Out", ",", "STI", ")", ")", "ret...
LLVM
Mips
TD
program_repair
CPU
5,299
[ "<FIXS>", "FEXT_I816", "_func", ",", "(", "outs", ")", ",", "(", "ins", "simm16", ":", "$", "imm", ")", ",", "!", "strconcat", "(", "asmstr", ",", "asmstr2", ")", ",", "<FIXE>" ]
[ "class", "FEXT_I816_ins_base", "bits", "<NUM_LIT>", ">", "_func", ",", "string", "asmstr", ",", "string", "asmstr2", ",", "InstrItinClass", "itin", ">", ":", "<BUGS>", "FEXT_I816", "_func", ",", "(", "outs", ")", ",", "(", "ins", "uimm16", ":", "$", "imm",...