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
mips
MD
stmt_completion
CPU
28,500
[ ")", ")", ")" ]
[ "(", "define_memory_constraint", "<STR_LIT>", "<STR_LIT>", "(", "and", "(", "match_code", "<STR_LIT>", ")", "(", "match_operand", "<NUM_LIT>", "<STR_LIT>" ]
LLVM
XCore
CPP
next_suggestion
MPU
28,501
[ "return", ";" ]
[ "void", "XCoreInstrInfo", "::", "copyPhysReg", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "DebugLoc", "DL", ",", "unsigned", "DestReg", ",", "unsigned", "SrcReg", ",", "bool", "KillSrc", ")", "const", "{", "bool...
LLVM
AMDGPU
CPP
program_repair
GPU
28,502
[ "<FIXS>", "if", "(", "TRI", "->", "spillSGPRToVGPR", "(", ")", "&&", "MFI", "->", "allocateSGPRSpillToVGPR", "(", "MF", ",", "NewFI", ")", ")", "{", "<FIXE>" ]
[ "int", "NewFI", "=", "FrameInfo", ".", "CreateStackObject", "(", "<NUM_LIT>", ",", "Align", "(", "<NUM_LIT>", ")", ",", "true", ",", "nullptr", ",", "TargetStackID", "::", "SGPRSpill", ")", ";", "<BUGS>", "if", "(", "MFI", "->", "allocateSGPRSpillToVGPR", "(...
GCC
i386
MD
stmt_completion
CPU
28,503
[ ")" ]
[ "(", "and", "(", "eq_attr", "<STR_LIT>", "<STR_LIT>", ")", "(", "and", "(", "eq_attr", "<STR_LIT>", "<STR_LIT>" ]
LLVM
Z80
CPP
next_suggestion
MPU
28,504
[ "return", "MBB", ".", "erase", "(", "I", ")", ";" ]
[ "if", "(", "I", "->", "getOpcode", "(", ")", "==", "TII", ".", "getCallFrameDestroyOpcode", "(", ")", ")", "{", "Amount", "-=", "TII", ".", "getFramePoppedByCallee", "(", "*", "I", ")", ";", "assert", "(", "TargetRegisterInfo", "::", "isPhysicalRegister", ...
LLVM
Hexagon
TD
next_suggestion
DSP
28,505
[ "let", "opNewValue", "=", "<NUM_LIT>", ";" ]
[ "def", "A2_combine_lh", ":", "HInst", "<", "(", "outs", "IntRegs", ":", "$", "Rd32", ")", ",", "(", "ins", "IntRegs", ":", "$", "Rt32", ",", "IntRegs", ":", "$", "Rs32", ")", ",", "<STR_LIT>", ",", "tc_5a2711e5", ",", "TypeALU32_3op", ">", ",", "Enc_...
LLVM
SystemZ
CPP
next_suggestion
CPU
28,506
[ "}" ]
[ "const", "char", "*", "AsmStr", "=", "MI", "->", "getOperand", "(", "<NUM_LIT>", ")", ".", "getSymbolName", "(", ")", ";", "return", "getInlineAsmLength", "(", "AsmStr", ",", "*", "MF", "->", "getTarget", "(", ")", ".", "getMCAsmInfo", "(", ")", ")", "...
GCC
pa
MD
stmt_completion
CPU
28,507
[ "<STR_LIT>", ")" ]
[ "(", "clobber", "(", "reg", ":", "SI", "<NUM_LIT>", ")", ")", "(", "use", "(", "reg", ":", "SI", "<NUM_LIT>", ")", ")", "(", "use", "(", "const_int", "<NUM_LIT>", ")", ")", "]", "<STR_LIT>", "<STR_LIT>", "[", "(", "set_attr", "<STR_LIT>" ]
GCC
aarch64
CPP
stmt_completion
CPU
28,508
[ "vectors_per_tuple", "(", ")", ";" ]
[ "inline", "tree", "function_instance", "::", "tuple_type", "(", "unsigned", "int", "i", ")", "const", "{", "unsigned", "int", "num_vectors", "=" ]
LLVM
AArch64
TD
next_suggestion
CPU
28,509
[ "}" ]
[ "def", "uimm_exact12", ":", "Operand", "<", "i32", ">", ",", "ImmLeaf", "<", "i32", ",", "[", "{", "return", "Imm", "=", "=", "<NUM_LIT>", ";", "}", "]", ">", "{", "let", "ParserMatchClass", "=", "exact12_asmoperand", ";" ]
LLVM
Hexagon
TD
next_suggestion
DSP
28,510
[ "}" ]
[ "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
AMDGPU
CPP
next_suggestion
GPU
28,511
[ "auto", "Cmp", "=", "B", ".", "buildICmp", "(", "Pred", ",", "CmpType", ",", "Src0", ",", "Src1", ")", ";" ]
[ "static", "MachineInstr", "*", "buildExpandedScalarMinMax", "(", "MachineIRBuilder", "&", "B", ",", "CmpInst", "::", "Predicate", "Pred", ",", "Register", "Dst", ",", "Register", "Src0", ",", "Register", "Src1", ")", "{", "const", "LLT", "CmpType", "=", "LLT",...
LLVM
ARM
CPP
stmt_completion
CPU
28,512
[ "<NUM_LIT>", ")", "<<", "<NUM_LIT>", ";" ]
[ "}", "return", "(", "(", "Value", "-", "<NUM_LIT>", ")", ">>", "<NUM_LIT>", ")", "&", "<NUM_LIT>", ";", "case", "ARM", "::", "fixup_arm_thumb_cb", ":", "{", "if", "(", "(", "int64_t", ")", "Value", "<", "<NUM_LIT>", "||", "Value", ">", "<NUM_LIT>", "||...
LLVM
GBZ80
CPP
next_suggestion
MPU
28,513
[ "TBB", "=", "I", "->", "getOperand", "(", "<NUM_LIT>", ")", ".", "getMBB", "(", ")", ";" ]
[ "if", "(", "!", "AllowModify", ")", "{", "TBB", "=", "I", "->", "getOperand", "(", "<NUM_LIT>", ")", ".", "getMBB", "(", ")", ";", "continue", ";", "}", "while", "(", "std", "::", "next", "(", "I", ")", "!=", "MBB", ".", "end", "(", ")", ")", ...
LLVM
Alpha
TD
stmt_completion
MPU
28,514
[ "(", "CMPLEi", "GPRC", ":", "$", "Y", ",", "immUExt8", ":", "$", "X", ")", ">", ";" ]
[ "def", ":", "Pat", "<", "(", "setge", "immUExt8", ":", "$", "X", ",", "GPRC", ":", "$", "Y", ")", "," ]
LLVM
Mips
CPP
stmt_completion
CPU
28,515
[ ")", ";" ]
[ "static", "MCInstPrinter", "*", "createMipsMCInstPrinter", "(", "const", "Target", "&", "T", ",", "unsigned", "SyntaxVariant", ",", "const", "MCAsmInfo", "&", "MAI", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "{", "return", "new", "MipsInstPrinter", "(", ...
LLVM
Hexagon
TD
next_suggestion
DSP
28,516
[ "let", "opExtendable", "=", "<NUM_LIT>", ";" ]
[ "let", "cofRelax2", "=", "<NUM_LIT>", ";", "let", "cofMax1", "=", "<NUM_LIT>", ";", "let", "Uses", "=", "[", "P0", "]", ";", "let", "Defs", "=", "[", "P0", ",", "PC", "]", ";", "let", "BaseOpcode", "=", "<STR_LIT>", ";", "let", "isTaken", "=", "Ins...
LLVM
ARM
CPP
next_suggestion
CPU
28,517
[ "if", "(", "registerDefinedBetween", "(", "Reg", ",", "CmpMI", "->", "getNextNode", "(", ")", ",", "Br", ",", "TRI", ")", ")", "return", "nullptr", ";" ]
[ "while", "(", "CmpMI", "!=", "Br", "->", "getParent", "(", ")", "->", "begin", "(", ")", ")", "{", "--", "CmpMI", ";", "if", "(", "CmpMI", "->", "modifiesRegister", "(", "ARM", "::", "CPSR", ",", "TRI", ")", ")", "break", ";", "if", "(", "CmpMI",...
LLVM
ARM
CPP
next_suggestion
CPU
28,518
[ "}" ]
[ "int", "OffImm", "=", "getMemoryOpOffset", "(", "*", "Op0", ")", ";", "if", "(", "isT2", ")", "{", "int", "Limit", "=", "(", "<NUM_LIT>", "<<", "<NUM_LIT>", ")", "*", "Scale", ";", "if", "(", "OffImm", ">=", "Limit", "||", "(", "OffImm", "<=", "-",...
LLVM
X86
CPP
next_suggestion
CPU
28,519
[ "for", "(", "int", "i", "=", "<NUM_LIT>", ";", "i", "<", "e", ";", "++", "i", ")", "if", "(", "!", "isUndefOrEqual", "(", "N", "->", "getMaskElt", "(", "e", "+", "i", ")", ",", "i", ")", ")", "return", "false", ";" ]
[ "bool", "X86", "::", "isMOVDDUPMask", "(", "ShuffleVectorSDNode", "*", "N", ")", "{", "int", "e", "=", "N", "->", "getValueType", "(", "<NUM_LIT>", ")", ".", "getVectorNumElements", "(", ")", "/", "<NUM_LIT>", ";", "for", "(", "int", "i", "=", "<NUM_LIT>...
GCC
rs6000
CPP
stmt_completion
CPU
28,520
[ "x", ",", "<NUM_LIT>", ")", ";" ]
[ "output_addr_const", "(", "asm_out_file", ",", "x", ")", ";", "fprintf", "(", "asm_out_file", ",", "<STR_LIT>", ")@fixup\\n", "<STR_LIT>", ")", ";", "fprintf", "(", "asm_out_file", ",", "<STR_LIT>", "\\t.section\\t\\\".fixup\\\",\\\"aw\\\"\\n", "<STR_LIT>", ")", ";", ...
GCC
mn10300
CPP
stmt_completion
MPU
28,521
[ "{" ]
[ "save_sp_merge", ",", "save_sp_no_merge", ",", "save_sp_partial_merge", ",", "save_a0_merge", ",", "save_a0_no_merge", "}", "strategy", ";", "unsigned", "int", "strategy_size", "=", "(", "unsigned", ")", "-", "<NUM_LIT>", ",", "this_strategy_size", ";", "rtx", "reg"...
LLVM
Z80
CPP
stmt_completion
MPU
28,522
[ "hasFP", "(", "MF", ")", ")", "*", "SlotSize", ")", ";" ]
[ "MF", ".", "getInfo", "<", "Z80MachineFunctionInfo", ">", "(", ")", "->", "setCalleeSavedFrameSize", "(", "(", "CSI", ".", "size", "(", ")", "+" ]
GCC
frv
MD
next_suggestion
VLIW
28,523
[ "[", "(", "set_attr", "<STR_LIT>", "<STR_LIT>", ")" ]
[ "(", "match_operand", ":", "SI", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", ")", ")", "]", "<STR_LIT>", "<STR_LIT>" ]
GCC
m68k
MD
next_suggestion
MPU
28,524
[ "(", "match_operand", ":", "DI", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", "]", ")", ")", "]" ]
[ "[", "(", "set", "(", "match_operand", ":", "QI", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", "(", "match_operator", "<NUM_LIT>", "<STR_LIT>", "[", "(", "match_operand", ":", "DI", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")" ]
GCC
sparc
MD
next_suggestion
CPU
28,525
[ "(", "if_then_else", "(", "eq_attr", "<STR_LIT>", "<STR_LIT>", ")" ]
[ "(", "define_insn", "<STR_LIT>", "[", "(", "set", "(", "match_operand", ":", "DI", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", "(", "mult", ":", "DI", "(", "zero_extend", ":", "DI", "(", "match_operand", ":", "SI", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")",...
LLVM
Mips
CPP
program_repair
CPU
28,526
[ "<FIXS>", "bool", "isEligibleForTailCallOptimization", "(", "const", "CCState", "&", "CCInfo", ",", "unsigned", "NextStackOffset", ",", "const", "MipsFunctionInfo", "&", "FI", ")", "const", "override", ";", "<FIXE>" ]
[ "MachineBasicBlock", "*", "MBB", ")", "const", "override", ";", "private", ":", "<BUGS>", "bool", "isEligibleForTailCallOptimization", "(", "const", "MipsCC", "&", "MipsCCInfo", ",", "unsigned", "NextStackOffset", ",", "const", "MipsFunctionInfo", "&", "FI", ")", ...
LLVM
ARM
CPP
stmt_completion
CPU
28,527
[ "[", "]", "{" ]
[ "EVT", "ValVT", "=", "TLI", "->", "getValueType", "(", "DL", ",", "ValTy", ")", ";", "int", "ISD", "=", "TLI", "->", "InstructionOpcodeToISD", "(", "Opcode", ")", ";", "if", "(", "!", "ST", "->", "hasMVEIntegerOps", "(", ")", "||", "!", "ValVT", ".",...
LLVM
PowerPC
CPP
next_suggestion
CPU
28,528
[ "OS", "<<", "<STR_LIT>", "\\t.tc ", "<STR_LIT>", "<<", "S", ".", "getName", "(", ")", "<<", "<STR_LIT>", "[TC],", "<STR_LIT>", "<<", "S", ".", "getName", "(", ")", "<<", "'", "\\n", "'", ";" ]
[ "void", "emitTCEntry", "(", "const", "MCSymbol", "&", "S", ")", "override", "{", "if", "(", "const", "MCSymbolXCOFF", "*", "XSym", "=", "dyn_cast", "<", "MCSymbolXCOFF", ">", "(", "&", "S", ")", ")", "{", "MCSymbolXCOFF", "*", "TCSym", "=", "cast", "<"...
LLVM
SystemZ
CPP
stmt_completion
CPU
28,529
[ ")", ";" ]
[ "unsigned", "RHS", "=", "DAG", ".", "ComputeNumSignBits", "(", "Op", ".", "getOperand", "(", "OpNo", "+", "<NUM_LIT>", ")", ",", "Src1DemE", ",", "Depth", "+", "<NUM_LIT>", ")", ";", "if", "(", "RHS", "==", "<NUM_LIT>", ")", "return", "<NUM_LIT>", ";", ...
LLVM
AVR
CPP
stmt_completion
MPU
28,530
[ ")", "&&", "<STR_LIT>", "can only split 16-bit registers", "<STR_LIT>", ")", ";" ]
[ "void", "AVRRegisterInfo", "::", "splitReg", "(", "Register", "Reg", ",", "Register", "&", "LoReg", ",", "Register", "&", "HiReg", ")", "const", "{", "assert", "(", "<STR_LIT>", "::", "<STR_LIT>", ".", "contains", "(", "Reg" ]
LLVM
RV16K
CPP
stmt_completion
Virtual ISA
28,531
[ "&", "TT", ")", "{" ]
[ "static", "MCRegisterInfo", "*", "createRV16KMCRegisterInfo", "(", "const", "Triple" ]
LLVM
PowerPC
CPP
next_suggestion
CPU
28,532
[ "}" ]
[ "case", "PPC", "::", "fixup_ppc_ha16", ":", "case", "PPC", "::", "fixup_ppc_lo16", ":", "RelocOffset", "+=", "<NUM_LIT>", ";", "break", ";", "default", ":", "break", ";", "}" ]
LLVM
Mips
CPP
next_suggestion
CPU
28,533
[ "}" ]
[ "void", "setOffset", "(", "int64_t", "Offset_", ")", "{", "Offset", "=", "Offset_", ";" ]
GCC
i386
MD
program_repair
CPU
28,534
[ "<FIXS>", "[", "(", "match_operand", ":", "avx512fmaskmode", ">", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", "<FIXE>" ]
[ "(", "define_insn", "<STR_LIT>", "[", "(", "unspec", "<BUGS>", "[", "(", "match_operand", ":", "avx512fmaskmode", ">", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", "<BUGE>", "(", "match_operator", ":", "V8DF", "<NUM_LIT>", "<STR_LIT>", "[", "(", "unspec", ":", ...
LLVM
X86
CPP
stmt_completion
CPU
28,535
[ "getValueType", "(", "<NUM_LIT>", ")", ",", "HasAVX", ")", ";" ]
[ "bool", "X86", "::", "isSHUFPMask", "(", "ShuffleVectorSDNode", "*", "N", ",", "bool", "HasAVX", ")", "{", "return", "::", "isSHUFPMask", "(", "N", "->", "getMask", "(", ")", ",", "N", "->" ]
GCC
sparc
CPP
stmt_completion
CPU
28,536
[ "<NUM_LIT>", ";" ]
[ "if", "(", "sparc_cpu", "==", "PROCESSOR_NIAGARA", "||", "sparc_cpu", "==", "PROCESSOR_NIAGARA2", "||", "sparc_cpu", "==", "PROCESSOR_NIAGARA3", ")", "return", "<NUM_LIT>", ";", "if", "(", "sparc_cpu", "==", "PROCESSOR_NIAGARA4", "||", "sparc_cpu", "==", "PROCESSOR_...
LLVM
Mips
TD
stmt_completion
CPU
28,537
[ "<", "<NUM_LIT>", ">", ";" ]
[ "class", "MAQ_SA_W_PHR_ENC", ":", "DPA_W_PH_FMT" ]
LLVM
X86
CPP
code_generation
CPU
28,538
[ "void", "X86FrameLowering", "::", "emitZeroCallUsedRegs", "(", "BitVector", "RegsToZero", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "const", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "MachineBasicBlock", "::",...
[ "emitZeroCallUsedRegs", "-", "Zeros", "out", "call", "used", "registers", "." ]
LLVM
AArch64
TD
stmt_completion
CPU
28,539
[ "(", "i32", "imm", ":", "$", "cc", ")", ")", ">", ";" ]
[ "def", ":", "Pat", "<", "(", "AArch64csinc", "GPR64", ":", "$", "tval", ",", "GPR64", ":", "$", "fval", ",", "(", "i32", "imm", ":", "$", "cc", ")", ",", "NZCV", ")", ",", "(", "CSINCXr", "GPR64", ":", "$", "tval", ",", "GPR64", ":", "$", "fv...
GCC
i386
CPP
stmt_completion
CPU
28,540
[ "M", ")", ";" ]
[ "extern", "_", "_", "inline", "_", "_", "m256", "_", "_", "attribute__", "(", "(", "_", "_", "gnu_inline__", ",", "_", "_", "always_inline__", ",", "_", "_", "artificial__", ")", ")", "_", "mm256_round_ps", "(", "_", "_", "m256", "_", "_", "V", ","...
LLVM
R600
CPP
stmt_completion
GPU
28,541
[ ";" ]
[ "continue", ";", "}", "if", "(", "AMDGPU", "::", "SReg_32RegClass", ".", "contains", "(", "reg", ")", ")", "{", "isSGPR", "=", "true", ";", "width", "=", "<NUM_LIT>", ";", "}", "else", "if", "(", "AMDGPU", "::", "VReg_32RegClass", ".", "contains", "(",...
LLVM
XCore
CPP
next_suggestion
MPU
28,542
[ "if", "(", "fetchFP", ")", "{" ]
[ "static", "void", "GetSpillList", "(", "SmallVectorImpl", "<", "StackSlotInfo", ">", "&", "SpillList", ",", "MachineFrameInfo", "*", "MFI", ",", "XCoreFunctionInfo", "*", "XFI", ",", "bool", "fetchLR", ",", "bool", "fetchFP", ")", "{", "if", "(", "fetchLR", ...
LLVM
SystemZ
CPP
next_suggestion
CPU
28,543
[ "Mask", "^=", "<STR_LIT>", "::", "<STR_LIT>", ";" ]
[ "Mask", "=", "<STR_LIT>", "::", "<STR_LIT>", ";", "}", "else", "{", "return", ";", "}", "PossibleJunk", ".", "insert", "(", "Cast", ")", ";", "converted", "(", "&", "I", ",", "V", ",", "Mask", ",", "true", ")", ";", "}", "else", "if", "(", "auto"...
LLVM
AArch64
TD
stmt_completion
CPU
28,544
[ "<NUM_LIT>", ";" ]
[ "def", "Xrs", ":", "BaseAddSubSReg", "<", "isSub", ",", "<NUM_LIT>", ",", "GPR64", ",", "arith_shifted_reg64", ",", "mnemonic", ",", "OpNode", ">", "{", "let", "Inst", "{", "<NUM_LIT>", "}", "=" ]
GCC
mips
MD
next_suggestion
CPU
28,545
[ "(", "set_attr", "<STR_LIT>", "<STR_LIT>", ")", "]", ")" ]
[ "<STR_LIT>", "[", "(", "set_attr", "<STR_LIT>", "<STR_LIT>", ")" ]
GCC
i386
CPP
stmt_completion
CPU
28,546
[ "_", "_", "A", ")", ";" ]
[ "return", "(", "_", "_", "m128i", ")", "_", "_", "builtin_ia32_vpopcountd_v4si", "(", "(", "_", "_", "v4si", ")" ]
GCC
m32r
CPP
stmt_completion
MPU
28,547
[ "\\t.little\\n", "<STR_LIT>", ")", ";" ]
[ "static", "void", "m32r_file_start", "(", "void", ")", "{", "default_file_start", "(", ")", ";", "if", "(", "flag_verbose_asm", ")", "fprintf", "(", "asm_out_file", ",", "<STR_LIT>", "%s M32R/D special options: -G ", "<STR_LIT>", "HOST_WIDE_INT_PRINT_UNSIGNED", "<STR_LI...
GCC
arm
CPP
stmt_completion
CPU
28,548
[ "_", "i0", ")", ";" ]
[ "return", "_", "mm_set_pi32", "(", "_", "_", "i1", ",", "_" ]
GCC
rs6000
CPP
code_generation
CPU
28,549
[ "static", "void", "rs6000_emit_stack_tie", "(", "rtx", "fp", ",", "bool", "hard_frame_needed", ")", "{", "rtvec", "p", ";", "int", "i", ";", "rtx", "regs", "[", "<NUM_LIT>", "]", ";", "i", "=", "<NUM_LIT>", ";", "regs", "[", "i", "++", "]", "=", "gen...
[ "This", "ties", "together", "stack", "memory", "(", "MEM", "with", "an", "alias", "set", "of", "rs6000_sr_alias_set", ")", "and", "the", "change", "to", "the", "stack", "pointer", "." ]
GCC
arm
CPP
stmt_completion
CPU
28,550
[ "_", "_", "b", ",", "mve_pred16_t", "_", "_", "p", ")", "{" ]
[ "_", "_", "arm_vrshlq_m_s8", "(", "int8x16_t", "_", "_", "inactive", ",", "int8x16_t", "_", "_", "a", ",", "int8x16_t" ]
GCC
ia64
MD
next_suggestion
CPU
28,551
[ "(", "plus", ":", "TF", "(", "mult", ":", "TF", "(", "match_operand", ":", "TF", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")" ]
[ "[", "(", "set", "(", "match_operand", ":", "SF", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", "(", "float_truncate", ":", "SF" ]
GCC
i386
CPP
stmt_completion
CPU
28,552
[ "m128i_u", ")", "_", "_", "A", ";" ]
[ "*", "(", "_", "_", "m128i_u", "*", ")", "_", "_", "P", "=", "(", "_", "_" ]
GCC
s390
MD
next_suggestion
MPU
28,553
[ "(", "set_attr", "<STR_LIT>", "<STR_LIT>", ")" ]
[ "[", "(", "call", "(", "mem", ":", "QI", "(", "match_operand", ":", "QI", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", ")", "(", "match_operand", ":", "SI", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", ")", "(", "clobber", "(", "match_operand", ":", "SI", ...
LLVM
ARM
CPP
next_suggestion
CPU
28,554
[ "for", "(", ";", "NumSpills", "<", "<NUM_LIT>", ";", "++", "NumSpills", ")", "if", "(", "!", "MRI", ".", "isPhysRegUsed", "(", "ARM", "::", "D8", "+", "NumSpills", ")", ")", "break", ";" ]
[ "if", "(", "MF", ".", "getTarget", "(", ")", ".", "getFrameLowering", "(", ")", "->", "getStackAlignment", "(", ")", ">=", "<NUM_LIT>", ")", "return", ";", "const", "ARMBaseRegisterInfo", "*", "RegInfo", "=", "static_cast", "<", "const", "ARMBaseRegisterInfo",...
LLVM
AMDGPU
CPP
program_repair
GPU
28,555
[ "<FIXS>", "}", "<FIXE>", "<FIXS>", "#", "endif", "<FIXE>" ]
[ "}", "}", ";", "<BUGS>", "}", "<BUGE>", "<BUGS>", "#", "endif", "<BUGE>" ]
LLVM
ARM
CPP
next_suggestion
CPU
28,556
[ "}" ]
[ "SDValue", "Table", "=", "Op", ".", "getOperand", "(", "<NUM_LIT>", ")", ";", "SDValue", "Index", "=", "Op", ".", "getOperand", "(", "<NUM_LIT>", ")", ";", "SDLoc", "dl", "(", "Op", ")", ";", "EVT", "PTy", "=", "getPointerTy", "(", "DAG", ".", "getDa...
LLVM
Mips
CPP
stmt_completion
CPU
28,557
[ ";" ]
[ "Base", "=", "CurDAG", "->", "getTargetFrameIndex", "(", "FIN", "->", "getIndex", "(", ")", ",", "ValTy", ")", ";", "Offset", "=", "CurDAG", "->", "getTargetConstant", "(", "<NUM_LIT>", ",", "ValTy", ")", ";", "return", "true", ";", "}", "if", "(", "Ad...
LLVM
AArch64
TD
stmt_completion
CPU
28,558
[ "$", "src", ")", ">", ";" ]
[ "def", ":", "Pat", "<", "(", "i64", "(", "bitconvert", "(", "v4i16", "FPR64", ":", "$", "src", ")", ")", ")", ",", "(", "FMOVxd" ]
LLVM
AMDGPU
CPP
program_repair
GPU
28,559
[ "<FIXS>", "Register", "Reg", "=", "MO", ".", "getReg", "(", ")", ";", "<FIXE>" ]
[ "if", "(", "!", "MO", ".", "isReg", "(", ")", ")", "return", "false", ";", "<BUGS>", "unsigned", "Reg", "=", "MO", ".", "getReg", "(", ")", ";", "<BUGE>", "if", "(", "!", "TRI", "->", "isVGPR", "(", "*", "MRI", ",", "Reg", ")", ")", "return", ...
LLVM
SystemZ
CPP
code_generation
CPU
28,560
[ "bool", "SystemZInstrInfo", "::", "optimizeCompareInstr", "(", "MachineInstr", "*", "Compare", ",", "unsigned", "SrcReg", ",", "unsigned", "SrcReg2", ",", "int", "Mask", ",", "int", "Value", ",", "const", "MachineRegisterInfo", "*", "MRI", ")", "const", "{", "...
[ "optimizeCompareInstr", "-", "Check", "if", "there", "exists", "an", "earlier", "instruction", "that", "operates", "on", "the", "same", "source", "operands", "and", "sets", "flags", "in", "the", "same", "way", "as", "Compare", ";", "remove", "Compare", "if", ...
GCC
aarch64
MD
stmt_completion
CPU
28,561
[ "tmp", ")" ]
[ "if", "(", "tmp", "!", "=", "operands", "[", "<NUM_LIT>", "]", ")", "emit_move_insn", "(", "operands", "[", "<NUM_LIT>", "]", "," ]
LLVM
Hexagon
CPP
next_suggestion
DSP
28,562
[ "}" ]
[ "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", "<STR_LIT>", "Hexagon Packetizer", "<STR_LIT>", ";" ]
GCC
aarch64
MD
stmt_completion
CPU
28,563
[ "<STR_LIT>", "<STR_LIT>", ")", "]" ]
[ "(", "match_operand", ":", "V2DI", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", "]", "UNSPEC_SHA512SU0", ")", ")", "]", "<STR_LIT>", "<STR_LIT>", "[", "(", "set_attr" ]
LLVM
X86
CPP
stmt_completion
CPU
28,564
[ ")", "{" ]
[ "static", "SDValue", "LowerINSERT_SUBVECTOR", "(", "SDValue", "Op", ",", "const", "X86Subtarget", "&", "Subtarget", ",", "SelectionDAG", "&", "DAG" ]
LLVM
AAP
TD
stmt_completion
MPU
28,565
[ "off3", ")", ";" ]
[ "let", "PrintMethod", "=", "<STR_LIT>", ";", "let", "ParserMatchClass", "=", "memsrc3PostIncAsmOperand", ";", "let", "MIOperandInfo", "=", "(", "ops", "GR8", "," ]
LLVM
X86
CPP
program_repair
CPU
28,566
[ "<FIXS>", "if", "(", "ForcedNoFlag", "==", "!", "(", "TSFlags", "&", "<STR_LIT>", "::", "<STR_LIT>", ")", "&&", "!", "X86", "::", "isCFCMOVCC", "(", "Opc", ")", ")", "<FIXE>", "<FIXS>", "switch", "(", "ForcedOpcodePrefix", ")", "{", "case", "OpcodePrefix_D...
[ "unsigned", "X86AsmParser", "::", "checkTargetMatchPredicate", "(", "MCInst", "&", "Inst", ")", "{", "unsigned", "Opc", "=", "Inst", ".", "getOpcode", "(", ")", ";", "const", "MCInstrDesc", "&", "MCID", "=", "MII", ".", "get", "(", "Opc", ")", ";", "if",...
LLVM
CSKY
CPP
next_suggestion
CPU
28,567
[ "}" ]
[ "bool", "CSKYConstantPool", "::", "empty", "(", ")", "{", "return", "Entries", ".", "empty", "(", ")", ";" ]
LLVM
Mips
CPP
next_suggestion
CPU
28,568
[ "if", "(", "!", "AsmParser", ".", "useOddSPReg", "(", ")", "&&", "RegIdx", ".", "Index", "&", "<NUM_LIT>", ")", "AsmParser", ".", "Error", "(", "StartLoc", ",", "<STR_LIT>", "-mno-odd-spreg prohibits the use of odd FPU ", "<STR_LIT>", "<STR_LIT>", "registers", "<S...
[ "void", "addFGR32AsmRegOperands", "(", "MCInst", "&", "Inst", ",", "unsigned", "N", ")", "const", "{", "assert", "(", "N", "==", "<NUM_LIT>", "&&", "<STR_LIT>", "Invalid number of operands!", "<STR_LIT>", ")", ";", "Inst", ".", "addOperand", "(", "MCOperand", ...
GCC
pdp11
CPP
code_generation
MPU
28,569
[ "bool", "pdp11_expand_operands", "(", "rtx", "*", "operands", ",", "rtx", "exops", "[", "]", "[", "<NUM_LIT>", "]", ",", "int", "opcount", ",", "pdp11_action", "*", "action", ",", "pdp11_partorder", "or", "der", ")", "{", "int", "words", ",", "op", ",", ...
[ "Expand", "multi-word", "operands", "(", "SImode", "or", "DImode", ")", "into", "the", "2", "or", "4", "corresponding", "HImode", "operands", ".", "The", "number", "of", "operands", "is", "given", "as", "the", "third", "argument", ",", "and", "the", "requi...
LLVM
Hexagon
CPP
stmt_completion
DSP
28,570
[ ";" ]
[ "if", "(", "!", "m_psdata", "->", "hasSectionData", "(", ")", ")", "{", "sd", "=", "IRBuilder", "::", "CreateSectionData", "(", "*", "m_psdata", ")", ";", "m_psdata", "->", "setSectionData", "(", "sd", ")", ";", "}", "sd", "=", "m_psdata", "->", "getSe...
LLVM
IA64
TD
stmt_completion
CPU
28,571
[ ",", "[", "{" ]
[ "return", "(", "v", "=", "=", "<NUM_LIT>", ")", ";", "}", "]", ">", ";", "def", "isMIX1Lable", ":", "PatLeaf", "<", "(", "i64", "imm", ")", ",", "[", "{", "return", "(", "(", "uint64_t", ")", "N", "-", ">", "getZExtValue", "(", ")", "=", "=", ...
LLVM
AArch64
CPP
code_generation
CPU
28,572
[ "std", "::", "optional", "<", "DestSourcePair", ">", "AArch64InstrInfo", "::", "isCopyInstrImpl", "(", "const", "MachineInstr", "&", "MI", ")", "const", "{", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "<STR_LIT>", "::", "<STR_LIT>", "&&", "MI", "."...
[ "If", "the", "specific", "machine", "instruction", "is", "a", "instruction", "that", "moves/copies", "value", "from", "one", "register", "to", "another", "register", "return", "destination", "and", "source", "registers", "as", "machine", "operands", "." ]
LLVM
AMDGPU
CPP
next_suggestion
GPU
28,573
[ "UDivRem", "=", "B", ".", "buildXor", "(", "S32", ",", "UDivRem", ",", "DSign", ")", ".", "getReg", "(", "<NUM_LIT>", ")", ";" ]
[ "Register", "DstReg", "=", "MI", ".", "getOperand", "(", "<NUM_LIT>", ")", ".", "getReg", "(", ")", ";", "Register", "LHS", "=", "MI", ".", "getOperand", "(", "<NUM_LIT>", ")", ".", "getReg", "(", ")", ";", "Register", "RHS", "=", "MI", ".", "getOper...
GCC
rs6000
CPP
program_repair
CPU
28,574
[ "<FIXS>", "fprintf", "(", "init_file", ",", "<STR_LIT>", " rs6000_builtin_decls", "<STR_LIT>", "<FIXE>" ]
[ "fprintf", "(", "init_file", ",", "<STR_LIT>", " }\\n", "<STR_LIT>", ")", ";", "fprintf", "(", "init_file", ",", "<STR_LIT>", " else\\n", "<STR_LIT>", ")", ";", "fprintf", "(", "init_file", ",", "<STR_LIT>", " {\\n", "<STR_LIT>", ")", ";", "<BUGS>", "fp...
LLVM
Mips
CPP
code_generation
CPU
28,575
[ "TargetLowering", "::", "ConstraintWeight", "MipsTargetLowering", "::", "getSingleConstraintMatchWeight", "(", "AsmOperandInfo", "&", "info", ",", "const", "char", "*", "constraint", ")", "const", "{", "ConstraintWeight", "weight", "=", "CW_Invalid", ";", "Value", "*"...
[ "Examine", "constraint", "string", "and", "operand", "type", "and", "determine", "a", "weight", "value", "." ]
LLVM
Hexagon
CPP
next_suggestion
DSP
28,576
[ "}" ]
[ "void", "HexagonMCInstrInfo", "::", "SetImplicitBits", "(", "MCInst", "&", "MCI", ",", "std", "::", "bitset", "<", "<NUM_LIT>", ">", "Bits", ")", "{", "SanityCheckImplicitOperands", "(", "MCI", ")", ";", "MCI", ".", "getOperand", "(", "MCI", ".", "getNumOper...
LLVM
AMDGPU
CPP
stmt_completion
GPU
28,577
[ "::", "SReg_256RegClassID", ":" ]
[ "switch", "(", "SRegClassID", ")", "{", "case", "AMDGPU", "::", "SGPR_32RegClassID", ":", "case", "AMDGPU", "::", "TTMP_32RegClassID", ":", "break", ";", "case", "AMDGPU", "::", "SGPR_64RegClassID", ":", "case", "AMDGPU", "::", "TTMP_64RegClassID", ":", "shift",...
LLVM
GBZ80
CPP
next_suggestion
MPU
28,578
[ "}" ]
[ "GBZ80TargetMachine", "::", "GBZ80TargetMachine", "(", "const", "Target", "&", "T", ",", "const", "Triple", "&", "TT", ",", "StringRef", "CPU", ",", "StringRef", "FS", ",", "const", "TargetOptions", "&", "Options", ",", "Optional", "<", "Reloc", "::", "Model...
LLVM
SystemZ
TD
stmt_completion
CPU
28,579
[ "=", "<NUM_LIT>", ";" ]
[ "bits", "<", "<NUM_LIT>", ">", "R1", ";", "bits", "<", "<NUM_LIT>", ">", "I2", ";", "bits", "<", "<NUM_LIT>", ">", "M3", ";", "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "op", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", ";", "let", "I...
LLVM
PowerPC
CPP
stmt_completion
CPU
28,580
[ "exitMBB", ")", ";" ]
[ "}", "else", "{", "Ptr1Reg", "=", "ptrB", ";", "}", "BuildMI", "(", "BB", ",", "dl", ",", "TII", "->", "get", "(", "PPC", "::", "RLWINM", ")", ",", "Shift1Reg", ")", ".", "addReg", "(", "Ptr1Reg", ")", ".", "addImm", "(", "<NUM_LIT>", ")", ".", ...
LLVM
AArch64
TD
next_suggestion
CPU
28,581
[ "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "Rd", ";" ]
[ "bits", "<", "<NUM_LIT>", ">", "Rn", ";", "let", "Inst", "{", "<NUM_LIT>", "}", "=", "<NUM_LIT>", ";", "let", "Inst", "{", "<NUM_LIT>", "}", "=", "Q", ";", "let", "Inst", "{", "<NUM_LIT>", "}", "=", "U", ";", "let", "Inst", "{", "<NUM_LIT>", "-", ...
LLVM
AArch64
CPP
next_suggestion
CPU
28,582
[ "case", "<STR_LIT>", "::", "<STR_LIT>", ":" ]
[ "case", "FK_Data_2", ":", "case", "FK_SecRel_2", ":", "return", "<NUM_LIT>", ";", "case", "<STR_LIT>", "::", "<STR_LIT>", ":", "case", "<STR_LIT>", "::", "<STR_LIT>", ":", "case", "<STR_LIT>", "::", "<STR_LIT>", ":", "case", "<STR_LIT>", "::", "<STR_LIT>", ":"...
LLVM
Mips
CPP
stmt_completion
CPU
28,583
[ "(", ")", ",", "Instructions", ")", ";" ]
[ "}", "if", "(", "hasMips32", "(", ")", ")", "{", "if", "(", "ImmValue", "==", "<NUM_LIT>", ")", "{", "emitRRI", "(", "Mips", "::", "SRL", ",", "DReg", ",", "SReg", ",", "<NUM_LIT>", ",", "Inst", ".", "getLoc", "(", ")", ",", "Instructions", ")", ...
LLVM
BPF
CPP
next_suggestion
Virtual ISA
28,584
[ "}" ]
[ "BPFAsmParser", "(", "const", "MCSubtargetInfo", "&", "STI", ",", "MCAsmParser", "&", "Parser", ",", "const", "MCInstrInfo", "&", "MII", ",", "const", "MCTargetOptions", "&", "Options", ")", ":", "MCTargetAsmParser", "(", "Options", ",", "STI", ",", "MII", "...
LLVM
ARM
CPP
stmt_completion
CPU
28,585
[ "<STR_LIT>", ")", ";" ]
[ "bool", "llvm", "::", "rewriteT2FrameIndex", "(", "MachineInstr", "&", "MI", ",", "unsigned", "FrameRegIdx", ",", "unsigned", "FrameReg", ",", "int", "&", "Offset", ",", "const", "ARMBaseInstrInfo", "&", "TII", ")", "{", "unsigned", "Opcode", "=", "MI", ".",...
GCC
mep
CPP
program_repair
CPU
28,586
[ "<FIXS>", "(", "OPTIONAL_CP_INSN", "ivc2", "-", "p1", "-", "isa", "(", "SLOTS", "P1", ")", "(", "INTRINSIC", "<STR_LIT>", "cpmula1_b", "<STR_LIT>", ")", "(", "CPTYPE", "V8QI", ")", "VOLATILE", ")", "<FIXE>" ]
[ ";", "<NUM_LIT>", "<NUM_LIT>", "qqqqq", "ppppp", "<NUM_LIT>", "cpmula1", ".", "b", "crqp", ",", "crpp", "(", "p0_1", ")", "(", "dni", "cpmula1_b_P1", "<STR_LIT>", "cpmula1.b $crqp,$crpp Pn", "<STR_LIT>", "<BUGS>", "(", "OPTIONAL_CP_INSN", "ivc2", "-", "p1", "-",...
LLVM
PowerPC
CPP
next_suggestion
CPU
28,587
[ "return", "nullptr", ";" ]
[ "if", "(", "Reg", "==", "<NUM_LIT>", "||", "!", "Register", "::", "isVirtualRegister", "(", "Reg", ")", ")", "continue", ";", "MachineInstr", "*", "DefMI", "=", "MRI", "->", "getVRegDef", "(", "Reg", ")", ";", "for", "(", "auto", "MO2", ":", "DefMI", ...
GCC
arm
CPP
code_generation
CPU
28,588
[ "void", "thumb2_asm_output_opcode", "(", "FILE", "*", "stream", ")", "{", "char", "buff", "[", "<NUM_LIT>", "]", ";", "int", "n", ";", "if", "(", "arm_condexec_mask", ")", "{", "for", "(", "n", "=", "<NUM_LIT>", ";", "n", "<", "arm_condexec_masklen", ";"...
[ "Output", "IT", "instructions", "." ]
LLVM
Hexagon
TD
next_suggestion
DSP
28,589
[ "let", "isNewValue", "=", "<NUM_LIT>", ";" ]
[ "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "<NUM_LIT>", ";", "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "<NUM_LIT>", ";", "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "<NUM_LIT>", ";", "let", "Inst", ...
LLVM
SNES
CPP
code_generation
DSP
28,590
[ "void", "SNESAsmBackend", "::", "applyFixup", "(", "const", "MCAssembler", "&", "Asm", ",", "const", "MCFixup", "&", "Fixup", ",", "const", "MCValue", "&", "Target", ",", "MutableArrayRef", "<", "char", ">", "Data", ",", "uint64_t", "Value", ",", "bool", "...
[ "Apply", "the", "Value", "for", "given", "Fixup", "into", "the", "provided", "data", "fragment", ",", "at", "the", "offset", "specified", "by", "the", "fixup", "and", "following", "the", "fixup", "kind", "as", "appropriate", "." ]
LLVM
ARM
TD
next_suggestion
CPU
28,591
[ "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "Rm", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", ";" ]
[ "bits", "<", "<NUM_LIT>", ">", "Qn", ";", "bits", "<", "<NUM_LIT>", ">", "Rm", ";", "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "<NUM_LIT>", ";", "let", "Inst", "{", "<NUM_LIT>", "}", "=", "Qd", "{", "<NUM_LIT>", "}", ";", "let", "...
GCC
i386
CPP
next_suggestion
CPU
28,592
[ "}" ]
[ "extern", "_", "_", "inline", "_", "_", "m128i", "_", "_", "attribute__", "(", "(", "_", "_", "gnu_inline__", ",", "_", "_", "always_inline__", ",", "_", "_", "artificial__", ")", ")", "_", "mm_maskz_cvttps_epu32", "(", "_", "_", "mmask8", "_", "_", ...
LLVM
R600
CPP
stmt_completion
GPU
28,593
[ "AMDGPU", "::", "V_BCNT_U32_B32_e32", ";" ]
[ "case", "AMDGPU", "::", "S_BREV_B32", ":", "return", "AMDGPU", "::", "V_BFREV_B32_e32", ";", "case", "AMDGPU", "::", "S_NOT_B32", ":", "return", "AMDGPU", "::", "V_NOT_B32_e32", ";", "case", "AMDGPU", "::", "S_NOT_B64", ":", "return", "AMDGPU", "::", "V_NOT_B3...
LLVM
TPC
TD
stmt_completion
Virtual ISA
28,594
[ "-", "<NUM_LIT>", "}", ";" ]
[ "bits", "<", "<NUM_LIT>", ">", "SrcD", "=", "<NUM_LIT>", ";", "bits", "<", "<NUM_LIT>", ">", "Dest", "=", "<NUM_LIT>", ";", "bits", "<", "<NUM_LIT>", ">", "Switches", "=", "<NUM_LIT>", ";", "bits", "<", "<NUM_LIT>", ">", "OperandType", "=", "OpType", "."...
LLVM
ARM
CPP
program_repair
CPU
28,595
[ "<FIXS>", "unsigned", "short", "NumOps", ",", "unsigned", "&", "NumOpsAdded", ",", "N2VFlag", "Flag", ",", "BO", "B", ")", "{", "<FIXE>" ]
[ "static", "bool", "DisassembleNVdVmOptImm", "(", "MCInst", "&", "MI", ",", "unsigned", "Opc", ",", "uint32_t", "insn", ",", "<BUGS>", "unsigned", "short", "NumOps", ",", "unsigned", "&", "NumOpsAdded", ",", "N2VFlag", "Flag", "=", "N2V_None", ")", "{", "<BUG...
LLVM
X86
CPP
code_generation
CPU
28,596
[ "bool", "X86InsertPrefetch", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "!", "Reader", ")", "return", "false", ";", "const", "FunctionSamples", "*", "Samples", "=", "Reader", "->", "getSamplesFor", "(", "MF", ".", "...
[ "runOnMachineFunction", "-", "Emit", "the", "function", "body", "." ]
LLVM
ARM
CPP
next_suggestion
CPU
28,597
[ "}" ]
[ "assert", "(", "BBPrevious", "&&", "<STR_LIT>", "Cannot move the function entry basic block", "<STR_LIT>", ")", ";", "MachineBasicBlock", "*", "BBNext", "=", "BB", "->", "getNextNode", "(", ")", ";", "MachineBasicBlock", "*", "BeforePrev", "=", "Before", "->", "getP...
GCC
pa
MD
stmt_completion
CPU
28,598
[ "<STR_LIT>", ")", "]", ")" ]
[ "(", "plus", ":", "DI", "(", "not", ":", "DI", "(", "match_operand", ":", "DI", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", ")", "(", "match_operand", ":", "DI", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", ")", ")", "]", "<STR_LIT>", "<STR_LIT>", "[", "(...
LLVM
R600
TD
stmt_completion
GPU
28,599
[ "[", "]", ">", ";" ]
[ "def", "S_CMPK_GE_I32", ":", "SOPK_32", "<", "<NUM_LIT>", ",", "<STR_LIT>", "," ]