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
AArch64
TD
stmt_completion
CPU
38,200
[ "GIComplexPatternEquiv", "<", "arith_extended_reg32to64_i64", ">", ";" ]
[ "def", "gi_arith_extended_reg32to64_i64", ":", "GIComplexOperandMatcher", "<", "s64", ",", "<STR_LIT>", ">", "," ]
LLVM
Lanai
CPP
next_suggestion
CPU
38,201
[ "}" ]
[ "if", "(", "NumVals", "!=", "<NUM_LIT>", ")", "return", "true", ";", "unsigned", "RegOp", "=", "OpNo", "+", "<NUM_LIT>", ";", "if", "(", "RegOp", ">=", "MI", "->", "getNumOperands", "(", ")", ")", "return", "true", ";", "const", "MachineOperand", "&", ...
LLVM
X86
CPP
stmt_completion
CPU
38,202
[ ")", ")", "&&", "isa", "<", "ConstantSDNode", ">", "(", "CMovOp1", ".", "getNode", "(", ")", ")", ")", ";" ]
[ "EVT", "VT", "=", "CMovN", ".", "getValueType", "(", ")", ";", "SDValue", "CMovOp0", "=", "CMovN", ".", "getOperand", "(", "<NUM_LIT>", ")", ";", "SDValue", "CMovOp1", "=", "CMovN", ".", "getOperand", "(", "<NUM_LIT>", ")", ";", "bool", "DoPromoteCMOV", ...
LLVM
WebAssembly
CPP
next_suggestion
Virtual ISA
38,203
[ "}" ]
[ "}", "if", "(", "std", "::", "optional", "<", "unsigned", ">", "Local", "=", "IsWebAssemblyLocal", "(", "Base", ",", "DAG", ")", ")", "{", "if", "(", "!", "Offset", "->", "isUndef", "(", ")", ")", "report_fatal_error", "(", "<STR_LIT>", "unexpected offse...
GCC
i386
CPP
code_generation
CPU
38,204
[ "int", "memory_address_length", "(", "rtx", "addr", ",", "bool", "lea", ")", "{", "struct", "ix86_address", "parts", ";", "rtx", "base", ",", "index", ",", "disp", ";", "int", "len", ";", "int", "ok", ";", "if", "(", "GET_CODE", "(", "addr", ")", "==...
[ "Calculate", "the", "length", "of", "the", "memory", "address", "in", "the", "instruction", "encoding", ".", "Does", "not", "include", "the", "one-byte", "modrm", ",", "opcode", ",", "or", "prefix", "." ]
GCC
aarch64
CPP
stmt_completion
CPU
38,205
[ "require", "(", ")", ";" ]
[ "unsigned", "int", "elt_bits", "=", "vector_element_size", "(", "vector_bits", ",", "GET_MODE_NUNITS", "(", "mode", ")", ")", ";", "return", "int_mode_for_size", "(", "elt_bits", ",", "<NUM_LIT>", ")", "." ]
GCC
rs6000
CPP
code_generation
CPU
38,206
[ "static", "void", "adjust_vperm", "(", "rtx_insn", "*", "insn", ")", "{", "rtx", "set", "=", "PATTERN", "(", "insn", ")", ";", "rtx", "mask_reg", "=", "XVECEXP", "(", "SET_SRC", "(", "set", ")", ",", "<NUM_LIT>", ",", "<NUM_LIT>", ")", ";", "struct", ...
[ "Given", "an", "UNSPEC_VPERM", "insn", ",", "modify", "the", "mask", "loaded", "from", "the", "constant", "pool", "to", "reflect", "swapped", "doublewords", "." ]
LLVM
X86
CPP
stmt_completion
CPU
38,207
[ "<NUM_LIT>", ",", "dl", ")", ")", ";" ]
[ "MVT", "WideEltVT", "=", "WideVT", ".", "getVectorElementType", "(", ")", ";", "if", "(", "(", "Subtarget", ".", "hasDQI", "(", ")", "&&", "WideEltVT", ".", "getSizeInBits", "(", ")", ">=", "<NUM_LIT>", ")", "||", "(", "Subtarget", ".", "hasBWI", "(", ...
GCC
epiphany
CPP
program_repair
MPU
38,208
[ "<FIXS>", "machine_mode", "mode", ",", "const_tree", "type", ",", "<FIXE>" ]
[ "static", "boolepiphany_pass_by_reference", "(", "cumulative_args_t", "ca", "ATTRIBUTE_UNUSED", ",", "<BUGS>", "enum", "machine_mode", "mode", ",", "const_tree", "type", ",", "<BUGE>", "bool", "named", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "type", ")" ]
LLVM
ARM
CPP
code_generation
CPU
38,209
[ "virtual", "unsigned", "getISAEncoding", "(", ")", "{", "if", "(", "!", "Subtarget", "->", "isTargetDarwin", "(", ")", ")", "return", "<NUM_LIT>", ";", "return", "Subtarget", "->", "isThumb", "(", ")", "?", "ARM", "::", "DW_ISA_ARM_thumb", ":", "ARM", "::"...
[ "Get", "the", "value", "for", "DW_AT_APPLE_isa", ".", "Zero", "if", "no", "isa", "encoding", "specified", "." ]
LLVM
AArch64
TD
stmt_completion
CPU
38,210
[ "<NUM_LIT>", "}", "=", "Pd", ";" ]
[ "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "<NUM_LIT>", ";", "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "sz8_64", ";", "let", "Inst", "{", "<NUM_LIT>", "}", "=", "<NUM_LIT>", ";", "let", "Inst", "{", "<NUM_LIT>", "-"...
LLVM
M68k
CPP
stmt_completion
MPU
38,211
[ ";" ]
[ "Result", "=", "DAG", ".", "getNode", "(", "ISD", "::", "ADD", ",", "DL", ",", "PtrVT", ",", "DAG", ".", "getNode", "(", "<STR_LIT>", "::", "<STR_LIT>", ",", "SDLoc", "(", ")", ",", "PtrVT", ")", ",", "Result", ")", ";", "}", "if", "(", "<STR_LIT...
GCC
rs6000
MD
program_repair
CPU
38,212
[ "<FIXS>", "if", "(", "!", "HARD_REGISTER_P", "(", "op", ")", ")", "<FIXE>" ]
[ "if", "(", "!", "REG_P", "(", "op", ")", ")", "return", "<NUM_LIT>", "<BUGS>", "if", "(", "REGNO", "(", "op", ")", ">", "=", "FIRST_PSEUDO_REGISTER", ")", "<BUGE>", "return", "<NUM_LIT>", "VLOGICAL_REGNO_P", "(", "REGNO", "(", "op", ")", ")" ]
GCC
aarch64
CPP
stmt_completion
CPU
38,213
[ "_", "_", "a", ")", ";" ]
[ "vrnd_f32", "(", "float32x2_t", "_", "_", "a", ")", "{", "return", "_", "_", "builtin_aarch64_btruncv2sf", "(" ]
GCC
i386
CPP
stmt_completion
CPU
38,214
[ "(", "_", "_", "mmask8", ")", "_", "_", "U", ",", "_", "_", "R", ")", ";" ]
[ "extern", "_", "_", "inline", "_", "_", "m256", "_", "_", "attribute__", "(", "(", "_", "_", "gnu_inline__", ",", "_", "_", "always_inline__", ",", "_", "_", "artificial__", ")", ")", "_", "mm512_mask_cvt_roundepi64_ps", "(", "_", "_", "m256", "_", "_"...
LLVM
Hexagon
TD
next_suggestion
DSP
38,215
[ "let", "opExtentBits", "=", "<NUM_LIT>", ";" ]
[ "let", "isPredicated", "=", "<NUM_LIT>", ";", "let", "isPredicatedFalse", "=", "<NUM_LIT>", ";", "let", "hasNewValue", "=", "<NUM_LIT>", ";", "let", "opNewValue", "=", "<NUM_LIT>", ";", "let", "isPredicatedNew", "=", "<NUM_LIT>", ";", "let", "CextOpcode", "=", ...
LLVM
Hexagon
TD
next_suggestion
DSP
38,216
[ "let", "prefersSlot3", "=", "<NUM_LIT>", ";" ]
[ "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "<NUM_LIT>", ";", "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "<NUM_LIT>", ";" ]
LLVM
PowerPC
TD
stmt_completion
CPU
38,217
[ "<NUM_LIT>", "-", "<NUM_LIT>", "}", ";" ]
[ "class", "XLForm_2_br", "<", "bits", "<", "<NUM_LIT>", ">", "opcode", ",", "bits", "<", "<NUM_LIT>", ">", "xo", ",", "bit", "lk", ",", "dag", "OOL", ",", "dag", "IOL", ",", "string", "asmstr", ",", "InstrItinClass", "itin", ",", "list", "<", "dag", "...
GCC
sh
CPP
stmt_completion
CPU
38,218
[ ";" ]
[ "inline", "rtx", "base_reg_disp", "::", "reg", "(", "void", ")", "const", "{", "return", "reg_" ]
GCC
aarch64
CPP
program_repair
CPU
38,219
[ "<FIXS>", "union", "{", "unsigned", "int", "last_use_point", ";", "unsigned", "int", "chain_prev", ";", "}", ";", "<FIXE>" ]
[ "unsigned", "int", "chain_next", ";", "}", ";", "<BUGS>", "unsigned", "int", "chain_prev", ";", "<BUGE>", "}", ";" ]
GCC
aarch64
CPP
next_suggestion
CPU
38,220
[ "}" ]
[ "FOR_EACH_SUBRTX", "(", "iter", ",", "array", ",", "PATTERN", "(", "mem_insn", ")", ",", "ALL", ")", "if", "(", "MEM_P", "(", "*", "iter", ")", ")", "return", "true", ";", "return", "false", ";" ]
GCC
i386
CPP
stmt_completion
CPU
38,221
[ "_", "_", "v4sf", ")", "_", "mm_setzero_ps", "(", ")", ",", "(", "_", "_", "mmask8", ")", "_", "_", "U", ")", ";" ]
[ "extern", "_", "_", "inline", "_", "_", "m128", "_", "_", "attribute__", "(", "(", "_", "_", "gnu_inline__", ",", "_", "_", "always_inline__", ",", "_", "_", "artificial__", ")", ")", "_", "mm_maskz_load_ps", "(", "_", "_", "mmask8", "_", "_", "U", ...
GCC
tilepro
CPP
code_generation
VLIW
38,222
[ "bool", "tilepro_emit_setcc", "(", "rtx", "operands", "[", "]", ",", "machine_mode", "cmp_mode", ")", "{", "return", "tilepro_emit_setcc_internal", "(", "operands", "[", "<NUM_LIT>", "]", ",", "GET_CODE", "(", "operands", "[", "<NUM_LIT>", "]", ")", ",", "oper...
[ "Implement", "cstore", "patterns", "." ]
GCC
z8k
CPP
next_suggestion
MPU
38,223
[ "}" ]
[ "rtx", "gen_push", "(", "rtx", "operand0", ",", "enum", "machine_mode", "mode", ")", "{", "return", "gen_rtx_SET", "(", "VOIDmode", ",", "gen_rtx_MEM", "(", "mode", ",", "gen_rtx_PRE_DEC", "(", "mode", ",", "gen_rtx_REG", "(", "Pmode", ",", "STACK_POINTER_REGN...
GCC
i386
MD
stmt_completion
CPU
38,224
[ ")" ]
[ "(", "and", "(", "eq_attr", "<STR_LIT>", "<STR_LIT>" ]
LLVM
Nyuzi
CPP
next_suggestion
GPU
38,225
[ "}" ]
[ "do", "{", "MCInst", "TmpInst", ";", "MCInstLowering", ".", "Lower", "(", "MI", ",", "TmpInst", ")", ";", "EmitToStreamer", "(", "*", "OutStreamer", ",", "TmpInst", ")", ";", "}", "while", "(", "(", "++", "I", "!=", "E", ")", "&&", "I", "->", "isIn...
GCC
i386
MD
program_repair
CPU
38,226
[ "<FIXS>", "<STR_LIT>", "<FIXE>" ]
[ "(", "match_operand", ":", "SSEMODEF4", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", ")", "(", "match_operand", ":", "SSEMODEF4", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", ")", ")", "]", "<STR_LIT>", "<BUGS>", "<STR_LIT>", "<BUGE>", "[", "(", "set_attr", "<STR_...
GCC
rl78
MD
next_suggestion
MPU
38,227
[ "(", "and", "(", "match_code", "<STR_LIT>", ")" ]
[ "(", "define_constraint", "<STR_LIT>", "<STR_LIT>" ]
LLVM
X86
CPP
stmt_completion
CPU
38,228
[ "Alignment", ",", "AddressSpace", ")", ";" ]
[ "if", "(", "(", "IndxTy", "->", "getPrimitiveSizeInBits", "(", ")", "==", "<NUM_LIT>", "&&", "!", "isa", "<", "SExtInst", ">", "(", "GEP", "->", "getOperand", "(", "I", ")", ")", ")", "||", "++", "NumOfVarIndices", ">", "<NUM_LIT>", ")", "return", "Ind...
GCC
h8300
MD
stmt_completion
MPU
38,229
[ "<STR_LIT>", ")", "]", ")" ]
[ "<STR_LIT>", "[", "(", "set_attr", "<STR_LIT>", "<STR_LIT>", ")", "(", "set_attr", "<STR_LIT>" ]
LLVM
PowerPC
TD
next_suggestion
CPU
38,230
[ "let", "FastIselShouldIgnore", "=", "<NUM_LIT>", "in", "def", "u12", ":", "ImmLeaf", "<", "i32", ",", "[", "{", "return", "(", "Imm", "&", "<NUM_LIT>", ")", "=", "=", "Imm", ";", "}", "]", ">", ";" ]
[ "return", "cast", "<", "StoreSDNode", ">", "(", "N", ")", "-", ">", "getMemoryVT", "(", ")", "=", "=", "MVT", ":", ":", "v4f32", ";", "}", "]", ">", ";", "def", "fround_inexact", ":", "PatFrag", "<", "(", "ops", "node", ":", "$", "val", ")", ",...
GCC
arm
CPP
stmt_completion
CPU
38,231
[ "_", "_", "p", ")", "{" ]
[ "_", "_", "arm_vqdmulltq_m_n_s32", "(", "int64x2_t", "_", "_", "inactive", ",", "int32x4_t", "_", "_", "a", ",", "int32_t", "_", "_", "b", ",", "mve_pred16_t" ]
LLVM
Alpha
CPP
program_repair
MPU
38,232
[ "<FIXS>", "computeRegisterProperties", "(", ")", ";", "<FIXE>", "<FIXS>", "addLegalFPImmediate", "(", "+", "<NUM_LIT>", ")", ";", "addLegalFPImmediate", "(", "-", "<NUM_LIT>", ")", ";", "<FIXE>" ]
[ "setOperationAction", "(", "ISD", "::", "MEMSET", ",", "MVT", "::", "Other", ",", "Expand", ")", ";", "setOperationAction", "(", "ISD", "::", "MEMCPY", ",", "MVT", "::", "Other", ",", "Expand", ")", ";", "<BUGS>", "computeRegisterProperties", "(", ")", ";"...
LLVM
AArch64
TD
next_suggestion
CPU
38,233
[ "}" ]
[ "return", "CurDAG", "-", ">", "getTargetConstant", "(", "ShiftImm", ",", "MVT", ":", ":", "i32", ")", ";", "}", "]", ">", ";", "defm", "neon_mov_imm_LSL", ":", "neon_mov_imm_shift_asmoperands", "<", "<STR_LIT>", ">", ";", "defm", "neon_mov_imm_MSL", ":", "ne...
GCC
pdp11
CPP
stmt_completion
MPU
38,234
[ ";" ]
[ "case", "GTU", ":", "pos", "=", "<STR_LIT>", "bhi", "<STR_LIT>", ",", "neg", "=", "<STR_LIT>", "blos", "<STR_LIT>", ";", "break", ";", "case", "LT", ":", "pos", "=", "<STR_LIT>", "blt", "<STR_LIT>", ",", "neg", "=", "<STR_LIT>", "bge", "<STR_LIT>", ";", ...
LLVM
Hexagon
TD
stmt_completion
DSP
38,235
[ "<STR_LIT>", ";" ]
[ "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "<NUM_LIT>", ";", "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "<NUM_LIT>", ";", "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "<NUM_LIT>", ";", "let", "isPredica...
LLVM
AArch64
TD
next_suggestion
CPU
38,236
[ "}" ]
[ "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "<NUM_LIT>", ";", "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "Imm", ";" ]
LLVM
Mips
CPP
code_generation
CPU
38,237
[ "void", "MipsRegisterBankInfo", "::", "applyMappingImpl", "(", "const", "OperandsMapper", "&", "OpdMapper", ")", "const", "{", "MachineInstr", "&", "MI", "=", "OpdMapper", ".", "getMI", "(", ")", ";", "InstListTy", "NewInstrs", ";", "MachineFunction", "*", "MF",...
[ "See", "RegisterBankInfo", ":", ":applyMapping", "." ]
GCC
rs6000
MD
stmt_completion
CPU
38,238
[ ")", ")" ]
[ "(", "and", "(", "eq_attr", "<STR_LIT>", "<STR_LIT>", ")", "(", "eq_attr", "<STR_LIT>", "<STR_LIT>" ]
LLVM
AMDGPU
CPP
next_suggestion
GPU
38,239
[ "unsigned", "Src", "=", "IsStore", "?", "ValueReg", ":", "Reg", ";" ]
[ "const", "SIInstrInfo", "*", "TII", "=", "ST", ".", "getInstrInfo", "(", ")", ";", "MCPhysReg", "Reg", "=", "MFI", "->", "getVGPRToAGPRSpill", "(", "Index", ",", "Lane", ")", ";", "if", "(", "Reg", "==", "AMDGPU", "::", "NoRegister", ")", "return", "Ma...
GCC
c4x
CPP
next_suggestion
DSP
38,240
[ "}" ]
[ "warning", "(", "OPT_Wattributes", ",", "<STR_LIT>", "%qs attribute only applies to functions", "<STR_LIT>", ",", "IDENTIFIER_POINTER", "(", "name", ")", ")", ";", "*", "no_add_attrs", "=", "true", ";" ]
LLVM
ARM
CPP
next_suggestion
CPU
38,241
[ "O", "<<", "<STR_LIT>", "]", "<STR_LIT>", ";" ]
[ "const", "MCOperand", "&", "MO2", "=", "MI", "->", "getOperand", "(", "Op", "+", "<NUM_LIT>", ")", ";", "O", "<<", "<STR_LIT>", "[", "<STR_LIT>", "<<", "getRegisterName", "(", "MO1", ".", "getReg", "(", ")", ")", ";", "if", "(", "unsigned", "ImmOffs", ...
GCC
s390
CPP
next_suggestion
MPU
38,242
[ "}" ]
[ "if", "(", "!", "frame_pointer_needed", "||", "!", "epilogue_completed", ")", "return", ";", "while", "(", "head", "!=", "tail", "&&", "DEBUG_INSN_P", "(", "head", ")", ")", "head", "=", "NEXT_INSN", "(", "head", ")", ";", "rtx_insn", "*", "r15_restore", ...
LLVM
SystemZ
CPP
next_suggestion
CPU
38,243
[ "int64_t", "Offset", "=", "getFrameIndexOffset", "(", "MF", ",", "I", "->", "getFrameIdx", "(", ")", ")", ";" ]
[ "MachineModuleInfo", "&", "MMI", "=", "MF", ".", "getMMI", "(", ")", ";", "const", "MCRegisterInfo", "*", "MRI", "=", "MMI", ".", "getContext", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "const", "std", "::", "vector", "<", "CalleeSavedInfo", ">", ...
LLVM
SystemZ
CPP
next_suggestion
CPU
38,244
[ "if", "(", "Index", "<=", "Mask", ")", "return", "Op", ";" ]
[ "SDValue", "SystemZTargetLowering", "::", "lowerINSERT_VECTOR_ELT", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "SDLoc", "DL", "(", "Op", ")", ";", "SDValue", "Op0", "=", "Op", ".", "getOperand", "(", "<NUM_LIT>", ")", ";", "S...
LLVM
SystemZ
CPP
next_suggestion
CPU
38,245
[ "}" ]
[ "if", "(", "(", "Control", "&", "GPRControlBit", "[", "I", "]", ")", "==", "<NUM_LIT>", ")", "{", "unsigned", "Reg", "=", "<STR_LIT>", "::", "<STR_LIT>", "[", "I", "]", ";", "MI", ".", "addOperand", "(", "MachineOperand", "::", "CreateReg", "(", "Reg",...
LLVM
AArch64
CPP
program_repair
CPU
38,246
[ "<FIXS>", "static", "DecodeStatus", "DecodeUnsignedLdStInstruction", "(", "MCInst", "&", "Inst", ",", "uint32_t", "insn", ",", "uint64_t", "Addr", ",", "<FIXE>" ]
[ "return", "Success", ";", "}", "<BUGS>", "static", "DecodeStatus", "DecodeUnsignedLdStInstruction", "(", "llvm", "::", "MCInst", "&", "Inst", ",", "uint32_t", "insn", ",", "uint64_t", "Addr", ",", "<BUGE>", "const", "void", "*", "Decoder", ")", "{", "unsigned"...
GCC
pa
CPP
next_suggestion
CPU
38,247
[ "if", "(", "distance", "<", "total", ")", "distance", "=", "-", "<NUM_LIT>", ";" ]
[ "int", "attr_length_millicode_call", "(", "rtx", "insn", ")", "{", "unsigned", "long", "distance", "=", "-", "<NUM_LIT>", ";", "unsigned", "long", "total", "=", "IN_NAMED_SECTION_P", "(", "cfun", "->", "decl", ")", "?", "<NUM_LIT>", ":", "total_code_bytes", ";...
GCC
mips
MD
program_repair
CPU
38,248
[ "<FIXS>", "[", "(", "set_attr", "<STR_LIT>", "\t", "<STR_LIT>", ")", "<FIXE>" ]
[ "operands", "[", "<NUM_LIT>", "]", "=", "mips_subword", "(", "operands", "[", "<NUM_LIT>", "]", ",", "<NUM_LIT>", ")", "return", "mips_output_move", "(", "operands", "[", "<NUM_LIT>", "]", ",", "operands", "[", "<NUM_LIT>", "]", ")", "}", "<BUGS>", "[", "(...
LLVM
Hexagon
CPP
code_generation
DSP
38,249
[ "const", "char", "*", "getPassName", "(", ")", "const", "override", "{", "return", "<STR_LIT>", "Hexagon optimize redundant zero and size extends", "<STR_LIT>", ";", "}" ]
[ "getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "." ]
GCC
arm
CPP
stmt_completion
CPU
38,250
[ "b", ";" ]
[ "return", "_", "_", "a", "|", "~", "_", "_" ]
LLVM
TPC
TD
stmt_completion
Virtual ISA
38,251
[ ";" ]
[ "let", "OutOperandList", "=", "(", "outs", "IRF", ":", "$", "dst", ")", ";", "let", "InOperandList", "=", "(", "ins", "IRF", ":", "$", "income", ",", "SRF", ":", "$", "src", ",", "DimMask", ":", "$", "mask", ",", "SwitchSet", ":", "$", "sw", ",",...
LLVM
X86
CPP
stmt_completion
CPU
38,252
[ ")", "{" ]
[ "DebugLoc", "DL", "=", "MI", ".", "getDebugLoc", "(", ")", ";", "unsigned", "Opc", "=", "MI", ".", "getOpcode", "(", ")", ";", "unsigned", "NewOpc", "=", "<NUM_LIT>", ";", "switch", "(", "Opc", ")", "{", "case", "X86", "::", "JMP32r", ":", "NewOpc", ...
GCC
bfin
CPP
code_generation
DSP
38,253
[ "void", "bfin_expand_call", "(", "rtx", "retval", ",", "rtx", "fnaddr", ",", "rtx", "callarg1", ",", "rtx", "cookie", ",", "int", "sibcall", ")", "{", "rtx", "use", "=", "NULL", ",", "call", ";", "rtx", "callee", "=", "XEXP", "(", "fnaddr", ",", "<NU...
[ "Expand", "a", "call", "instruction", ".", "FNADDR", "is", "the", "call", "target", ",", "RETVAL", "the", "return", "value", ".", "COOKIE", "is", "a", "CONST_INT", "holding", "the", "call_cookie", "prepared", "init_cumulative_args", ".", "SIBCALL", "is", "nonz...
LLVM
ARM
CPP
next_suggestion
CPU
38,254
[ "}" ]
[ "size_t", "ULEBSize", "=", "encodeULEB128", "(", "(", "Offset", "-", "<NUM_LIT>", ")", ">>", "<NUM_LIT>", ",", "Buff", "+", "<NUM_LIT>", ")", ";", "emitBytes", "(", "Buff", ",", "ULEBSize", "+", "<NUM_LIT>", ")", ";", "}", "else", "if", "(", "Offset", ...
LLVM
WebAssembly
CPP
next_suggestion
Virtual ISA
38,255
[ "if", "(", "MI", ".", "isBarrier", "(", ")", ")", "break", ";" ]
[ "HaveCond", "=", "true", ";", "break", ";", "case", "WebAssembly", "::", "BR", ":", "if", "(", "!", "HaveCond", ")", "TBB", "=", "MI", ".", "getOperand", "(", "<NUM_LIT>", ")", ".", "getMBB", "(", ")", ";", "else", "FBB", "=", "MI", ".", "getOperan...
LLVM
Hexagon
TD
stmt_completion
DSP
38,256
[ "<NUM_LIT>", ";" ]
[ "def", "C4_cmpltei", ":", "HInst", "<", "(", "outs", "PredRegs", ":", "$", "Pd4", ")", ",", "(", "ins", "IntRegs", ":", "$", "Rs32", ",", "s32_0Imm", ":", "$", "Ii", ")", ",", "<STR_LIT>", ",", "tc_56f114f4", ",", "TypeALU32_2op", ">", ",", "Enc_bd0b...
GCC
rs6000
MD
stmt_completion
CPU
38,257
[ ")", "]", ")" ]
[ "(", "define_mode_iterator", "SIGNBIT", "[", "(", "KF", "<STR_LIT>", ")", "(", "TF", "<STR_LIT>" ]
GCC
arm
CPP
stmt_completion
CPU
38,258
[ "_", "i", ";" ]
[ "vld4_s32", "(", "const", "int32_t", "*", "_", "_", "a", ")", "{", "union", "{", "int32x2x4_t", "_", "_", "i", ";", "_", "_", "builtin_neon_oi", "_", "_", "o", ";", "}", "_", "_", "rv", ";", "_", "_", "rv", ".", "_", "_", "o", "=", "_", "_"...
LLVM
AMDGPU
CPP
stmt_completion
GPU
38,259
[ ";" ]
[ "if", "(", "Size", "<", "<NUM_LIT>", "&&", "Subtarget", "->", "has16BitInsts", "(", ")", ")", "{", "RegisterVT", "=", "MVT", "::", "i16", ";", "IntermediateVT", "=", "ScalarVT", ";", "NumIntermediates", "=", "NumElts", ";", "return", "NumIntermediates", ";",...
LLVM
AArch64
CPP
next_suggestion
CPU
38,260
[ "SDValue", "ExtendedReminingLoad", "=", "DAG", ".", "getNode", "(", "ISD", "::", "INSERT_SUBVECTOR", ",", "DL", ",", "NewVT", ",", "{", "UndefVector", ",", "RemainingLoad", ",", "InsertIdx", "}", ")", ";" ]
[ "if", "(", "Subtarget", "->", "supportsAddressTopByteIgnored", "(", ")", ")", "performTBISimplification", "(", "N", "->", "getOperand", "(", "<NUM_LIT>", ")", ",", "DCI", ",", "DAG", ")", ";", "LoadSDNode", "*", "LD", "=", "cast", "<", "LoadSDNode", ">", "...
GCC
z8k
MD
stmt_completion
MPU
38,261
[ "<STR_LIT>", ")" ]
[ "(", "ior", "(", "match_operand", "<NUM_LIT>" ]
LLVM
Hexagon
TD
next_suggestion
DSP
38,262
[ "let", "opExtentAlign", "=", "<NUM_LIT>", ";" ]
[ "let", "isBranch", "=", "<NUM_LIT>", ";", "let", "isNewValue", "=", "<NUM_LIT>", ";", "let", "cofMax1", "=", "<NUM_LIT>", ";", "let", "isRestrictNoSlot1Store", "=", "<NUM_LIT>", ";", "let", "Defs", "=", "[", "PC", "]", ";", "let", "BaseOpcode", "=", "<STR_...
GCC
sparc
MD
next_suggestion
CPU
38,263
[ "<STR_LIT>", ")" ]
[ "(", "and", "(", "eq_attr", "<STR_LIT>", "<STR_LIT>", ")", "(", "eq_attr", "<STR_LIT>", "<STR_LIT>", ")", ")" ]
LLVM
TPC
TD
next_suggestion
Virtual ISA
38,264
[ "let", "PredPolarity", "=", "pred", "{", "<NUM_LIT>", "}", ";" ]
[ "class", "SpuInst_MovMaskT", "<", "bits", "<", "<NUM_LIT>", ">", "opc", ",", "RegisterClass", "Rdst", ",", "RegisterClass", "Rsrc", ",", "string", "asmstr", ">", ":", "ScalarInstBase", "<", "opc", ",", "asmstr", ">", "{", "let", "OutOperandList", "=", "(", ...
LLVM
AMDGPU
TD
stmt_completion
GPU
38,265
[ ".", "Offset", ")", ",", "<NUM_LIT>", ",", "<NUM_LIT>", ")", ";" ]
[ "bits", "<", "<NUM_LIT>", ">", "offen", "=", "!", "if", "(", "!", "eq", "(", "addrKind", ",", "BUFAddrKind", ".", "OffEn", ")", ",", "<NUM_LIT>", ",", "!", "if", "(", "!", "eq", "(", "addrKind", ",", "BUFAddrKind", ".", "BothEn", ")", ",", "<NUM_LI...
GCC
sh
CPP
next_suggestion
CPU
38,266
[ "}" ]
[ "fpscr_values", "=", "t", ";", "}", "rtx", "src", "=", "DECL_RTL", "(", "fpscr_values", ")", ";", "if", "(", "!", "can_create_pseudo_p", "(", ")", ")", "{", "emit_move_insn", "(", "scratch", ",", "XEXP", "(", "src", ",", "<NUM_LIT>", ")", ")", ";", "...
LLVM
AArch64
CPP
next_suggestion
CPU
38,267
[ "return", "SDValue", "(", ")", ";" ]
[ "SDValue", "Add", "=", "DAG", ".", "getNode", "(", "ISD", "::", "ADD", ",", "SDLoc", "(", "N", ")", ",", "VT", ",", "ShiftedVal", ",", "N", "->", "getOperand", "(", "<NUM_LIT>", ")", ")", ";", "return", "DAG", ".", "getNode", "(", "ISD", "::", "S...
GCC
rs6000
CPP
code_generation
CPU
38,268
[ "static", "bool", "rs6000_pass_by_reference", "(", "cumulative_args_t", "cum", "ATTRIBUTE_UNUSED", ",", "machine_mode", "mode", ",", "const_tree", "type", ",", "bool", "named", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "!", "type", ")", "return", "<NUM_LIT>", ";", ...
[ "A", "C", "expression", "that", "indicates", "when", "an", "argument", "must", "be", "passed", "by", "reference", ".", "If", "nonzero", "for", "an", "argument", ",", "a", "copy", "of", "that", "argument", "is", "made", "in", "memory", "and", "a", "pointe...
LLVM
AArch64
TD
stmt_completion
CPU
38,269
[ "idx", ";" ]
[ "bits", "<", "<NUM_LIT>", ">", "idx", ";", "let", "Inst", "{", "<NUM_LIT>", "}", "=" ]
GCC
i386
MD
next_suggestion
CPU
38,270
[ "(", "and", "(", "eq_attr", "<STR_LIT>", "<STR_LIT>", ")" ]
[ "(", "define_insn_reservation", "<STR_LIT>", "<NUM_LIT>", "(", "and", "(", "eq_attr", "<STR_LIT>", "<STR_LIT>", ")" ]
LLVM
PowerPC
CPP
next_suggestion
CPU
38,271
[ "OpNoForForwarding", "=", "i", ";" ]
[ "}", "}", "}", "else", "{", "ImmInstrInfo", "III", ";", "unsigned", "Opc", "=", "MI", ".", "getOpcode", "(", ")", ";", "bool", "ConvertibleImmForm", "=", "Opc", "==", "PPC", "::", "CMPWI", "||", "Opc", "==", "PPC", "::", "CMPLWI", "||", "Opc", "==", ...
GCC
avr
CPP
next_suggestion
MPU
38,272
[ "rtx", "pat", "=", "PATTERN", "(", "next", ")", ";" ]
[ "PUT_CODE", "(", "t", ",", "swap_condition", "(", "GET_CODE", "(", "t", ")", ")", ")", ";", "XEXP", "(", "pattern", ",", "<NUM_LIT>", ")", "=", "XEXP", "(", "pattern", ",", "<NUM_LIT>", ")", ";", "XEXP", "(", "pattern", ",", "<NUM_LIT>", ")", "=", ...
LLVM
AArch64
TD
next_suggestion
CPU
38,273
[ "bits", "<", "<NUM_LIT>", ">", "idx2", ";" ]
[ "def", "vi8lane", ":", "SIMDInsFromElement", "<", "<STR_LIT>", ",", "v16i8", ",", "i32", ",", "VectorIndexB", ">", "{", "bits", "<", "<NUM_LIT>", ">", "idx", ";" ]
GCC
i386
CPP
program_repair
CPU
38,274
[ "<FIXS>", "machine_mode", "cmp_mode", "=", "GET_MODE", "(", "op0", ")", ";", "<FIXE>" ]
[ "if", "(", "diff", "<NUM_LIT>", ")", "{", "<BUGS>", "enum", "machine_mode", "cmp_mode", "=", "GET_MODE", "(", "op0", ")", ";", "<BUGE>", "HOST_WIDE_INT", "tmp", ";", "tmp", "=", "ct", ",", "ct", "=", "cf", ",", "cf", "=", "tmp", ";" ]
LLVM
AMDGPU
CPP
code_generation
GPU
38,275
[ "bool", "AMDGPUAnnotateKernelFeatures", "::", "runOnModule", "(", "Module", "&", "M", ")", "{", "Triple", "TT", "(", "M", ".", "getTargetTriple", "(", ")", ")", ";", "static", "const", "StringRef", "IntrinsicToAttr", "[", "]", "[", "<NUM_LIT>", "]", "=", "...
[ "runOnModule", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "process", "the", "module", "being", "operated", "on", "." ]
LLVM
DLX
CPP
stmt_completion
CPU
38,276
[ "MF", ")", ";" ]
[ "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "override", "{", "return", "SelectionDAGISel", "::", "runOnMachineFunction", "(" ]
LLVM
Alpha
CPP
program_repair
MPU
38,277
[ "<FIXS>", "Val", "=", "DAG", ".", "getExtLoad", "(", "ISD", "::", "SEXTLOAD", ",", "MVT", "::", "i64", ",", "dl", ",", "Result", ",", "<FIXE>" ]
[ "false", ",", "false", ",", "<NUM_LIT>", ")", ";", "SDValue", "NP", "=", "DAG", ".", "getNode", "(", "ISD", "::", "ADD", ",", "dl", ",", "MVT", "::", "i64", ",", "SrcP", ",", "DAG", ".", "getConstant", "(", "<NUM_LIT>", ",", "MVT", "::", "i64", "...
LLVM
AMDGPU
CPP
next_suggestion
GPU
38,278
[ "Val", "=", "B", ".", "CreateBitCast", "(", "Val", ",", "EffectiveEltTy", ")", ";" ]
[ "ThisReplaceable", "=", "false", ";", "break", ";", "}", "}", "if", "(", "!", "ThisReplaceable", ")", "continue", ";", "for", "(", "std", "::", "pair", "<", "ReturnInst", "*", ",", "StoreInst", "*", ">", "Store", ":", "ReplaceableStores", ")", "{", "Va...
GCC
arm
CPP
stmt_completion
CPU
38,279
[ "w0_3", ",", "_", "_", "w4_7", ")", ";" ]
[ "vsha256su0q_u32", "(", "uint32x4_t", "_", "_", "w0_3", ",", "uint32x4_t", "_", "_", "w4_7", ")", "{", "return", "_", "_", "builtin_arm_crypto_sha256su0", "(", "_", "_" ]
GCC
rs6000
MD
next_suggestion
CPU
38,280
[ "<STR_LIT>" ]
[ "(", "unspec", ":", "V2SI", "[", "(", "match_operand", ":", "V2SI", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", "(", "reg", ":", "V2SI", "SPE_ACC_REGNO", ")", "]", "<NUM_LIT>", ")", ")", "(", "clobber", "(", "reg", ":", "SI", "SPEFSCR_REGNO", ")", ")", ...
LLVM
AArch64
TD
stmt_completion
CPU
38,281
[ "[", "H16", "]", ">", ",", "DwarfRegAlias", "<", "B16", ">", ";" ]
[ "def", "S16", ":", "AArch64Reg", "<", "<NUM_LIT>", ",", "<STR_LIT>", "," ]
GCC
m68k
MD
next_suggestion
MPU
38,282
[ "<STR_LIT>", ")" ]
[ "(", "const_int", "<NUM_LIT>", ")", ")", ")", "]", "<STR_LIT>", "[", "(", "set", "(", "match_dup", "<NUM_LIT>", ")", "(", "ashiftrt", ":", "DI", "(", "match_dup", "<NUM_LIT>", ")", "(", "const_int", "<NUM_LIT>", ")", ")", ")", "(", "set", "(", "match_d...
GCC
mips
MD
next_suggestion
CPU
38,283
[ "<STR_LIT>", ")" ]
[ "(", "define_insn_reservation", "<STR_LIT>", "<NUM_LIT>", "(", "and", "(", "eq_attr", "<STR_LIT>", "<STR_LIT>", ")", "(", "and", "(", "eq_attr", "<STR_LIT>", "<STR_LIT>", ")", "(", "eq_attr", "<STR_LIT>", "<STR_LIT>", ")", ")", ")" ]
GCC
microblaze
CPP
program_repair
MPU
38,284
[ "<FIXS>", "operands", "[", "<NUM_LIT>", "]", ",", "LCT_NORMAL", ",", "GET_MODE", "(", "operands", "[", "<NUM_LIT>", "]", ")", ",", "operands", "[", "<NUM_LIT>", "]", ",", "GET_MODE", "(", "operands", "[", "<NUM_LIT>", "]", ")", ",", "operands", "[", "<NU...
[ "emit_label", "(", "div_label", ")", ";", "ret", "=", "emit_library_call_value", "(", "gen_rtx_SYMBOL_REF", "(", "Pmode", ",", "<STR_LIT>", "__divsi3", "<STR_LIT>", ")", ",", "<BUGS>", "operands", "[", "<NUM_LIT>", "]", ",", "LCT_NORMAL", ",", "GET_MODE", "(", ...
LLVM
SystemZ
CPP
next_suggestion
CPU
38,285
[ "return", "true", ";" ]
[ "case", "<STR_LIT>", "::", "<STR_LIT>", ":", "case", "<STR_LIT>", "::", "<STR_LIT>", ":", "case", "<STR_LIT>", "::", "<STR_LIT>", ":", "case", "<STR_LIT>", "::", "<STR_LIT>", ":" ]
GCC
arm
MD
stmt_completion
CPU
38,286
[ "<STR_LIT>", ")", ")", "<STR_LIT>", ")" ]
[ "(", "define_insn_reservation", "<STR_LIT>", "<NUM_LIT>", "(", "and", "(", "eq_attr", "<STR_LIT>", "<STR_LIT>", ")", "(", "eq_attr", "<STR_LIT>" ]
LLVM
X86
CPP
next_suggestion
CPU
38,287
[ "}" ]
[ "if", "(", "NumElemsPow2", "!=", "NumElems", ")", "{", "for", "(", "SDValue", "&", "Op", ":", "Ops", ")", "{", "SmallVector", "<", "SDValue", ",", "<NUM_LIT>", ">", "EltsOfOp", "(", "NumElemsPow2", ",", "DAG", ".", "getUNDEF", "(", "ScalarVT", ")", ")"...
LLVM
AArch64
CPP
stmt_completion
CPU
38,288
[ "false", ";" ]
[ "return", "false", ";", "}", "if", "(", "!", "CmpBB", "->", "livein_empty", "(", ")", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "<STR_LIT>", "Can't handle live-in physregs in CmpBB.\\n", "<STR_LIT>", ")", ";", "++", "NumPhysRejs", ";", "return", "false...
LLVM
AMDGPU
CPP
program_repair
GPU
38,289
[ "<FIXS>", "}", "<FIXE>" ]
[ "const", "MCSubtargetInfo", "&", "STI", ")", "const", "override", ";", "}", ";", "<BUGS>", "}", "<BUGE>", "MCCodeEmitter", "*", "llvm", "::", "createSIMCCodeEmitter", "(", "const", "MCInstrInfo", "&", "MCII", ",", "const", "MCRegisterInfo", "&", "MRI", "," ]
LLVM
PowerPC
CPP
next_suggestion
CPU
38,290
[ "case", "PPC", "::", "DIR_PWR5X", ":" ]
[ "unsigned", "Reg", "=", "DefMO", ".", "getReg", "(", ")", ";", "const", "TargetRegisterInfo", "*", "TRI", "=", "&", "getRegisterInfo", "(", ")", ";", "bool", "IsRegCR", ";", "if", "(", "TRI", "->", "isVirtualRegister", "(", "Reg", ")", ")", "{", "const...
LLVM
MBlaze
CPP
stmt_completion
MPU
38,291
[ "(", ")", "const", "{" ]
[ "virtual", "const", "ScalarTargetTransformInfo", "*", "getScalarTargetTransformInfo" ]
LLVM
MSP430
CPP
next_suggestion
MPU
38,292
[ "case", "ISD", "::", "SETLT", ":" ]
[ "default", ":", "assert", "(", "<NUM_LIT>", "&&", "<STR_LIT>", "Invalid integer condition!", "<STR_LIT>", ")", ";", "case", "ISD", "::", "SETEQ", ":", "TargetCC", "=", "<STR_LIT>", "::", "<STR_LIT>", ";", "break", ";", "case", "ISD", "::", "SETNE", ":", "Tar...
LLVM
Hexagon
TD
next_suggestion
DSP
38,293
[ "let", "opExtendable", "=", "<NUM_LIT>", ";" ]
[ "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "<NUM_LIT>", ";", "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "<NUM_LIT>", ";", "let", "isPredicated", "=", "<NUM_LIT>", ";", "let", "hasNewValue", "=", "<NUM_LIT>", ";", "let", ...
LLVM
PowerPC
CPP
next_suggestion
CPU
38,294
[ "if", "(", "IsBookE", "&&", "TH", "!=", "<NUM_LIT>", "&&", "TH", "!=", "<NUM_LIT>", ")", "O", "<<", "(", "unsigned", "int", ")", "TH", "<<", "<STR_LIT>", ", ", "<STR_LIT>", ";" ]
[ "return", ";", "}", "}", "if", "(", "(", "MI", "->", "getOpcode", "(", ")", "==", "PPC", "::", "OR", "||", "MI", "->", "getOpcode", "(", ")", "==", "PPC", "::", "OR8", ")", "&&", "MI", "->", "getOperand", "(", "<NUM_LIT>", ")", ".", "getReg", "...
LLVM
X86
CPP
next_suggestion
CPU
38,295
[ "assert", "(", "NewFlagDef1", "&&", "NewFlagDef2", "&&", "<STR_LIT>", "Unexpected operand in reassociable instruction", "<STR_LIT>", ")", ";" ]
[ "if", "(", "!", "OldFlagDef1", "||", "!", "OldFlagDef2", ")", "return", ";", "assert", "(", "OldFlagDef1", "->", "isDead", "(", ")", "&&", "OldFlagDef2", "->", "isDead", "(", ")", "&&", "<STR_LIT>", "Must have dead EFLAGS operand in reassociable instruction", "<ST...
LLVM
AArch64
TD
next_suggestion
CPU
38,296
[ "bits", "<", "<NUM_LIT>", ">", "src1", ";" ]
[ "class", "BaseLogicalSReg", "<", "bits", "<", "<NUM_LIT>", ">", "opc", ",", "bit", "N", ",", "RegisterClass", "regtype", ",", "logical_shifted_reg", "shifted_regtype", ",", "string", "asm", ",", "list", "<", "dag", ">", "pattern", ">", ":", "I", "<", "(", ...
GCC
aarch64
CPP
stmt_completion
CPU
38,297
[ ")", "return", "std", "::", "string", "::", "npos", ";" ]
[ "if", "(", "key_pos", "==", "std", "::", "string", "::", "npos", ")", "return", "std", "::", "string", "::", "npos", ";", "sep_pos", "=", "field", ".", "find", "(", "<STR_LIT>", ":", "<STR_LIT>", ",", "key_pos", "+", "<NUM_LIT>", ")", ";", "if", "(",...
LLVM
Sparc
CPP
next_suggestion
CPU
38,298
[ "if", "(", "!", "Reg", ")", "llvm_unreachable", "(", "<STR_LIT>", "sret virtual register not created in the entry block", "<STR_LIT>", ")", ";" ]
[ "SDValue", "Flag", ";", "SmallVector", "<", "SDValue", ",", "<NUM_LIT>", ">", "RetOps", "(", "<NUM_LIT>", ",", "Chain", ")", ";", "RetOps", ".", "push_back", "(", "SDValue", "(", ")", ")", ";", "for", "(", "unsigned", "i", "=", "<NUM_LIT>", ",", "realR...
LLVM
AArch64
CPP
stmt_completion
CPU
38,299
[ ")", "{" ]
[ "AArch64PromoteConstant", "(", ")", ":", "ModulePass", "(", "ID" ]