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
aarch64
CPP
code_generation
CPU
500
[ "static", "void", "aarch64_init_fpsr_fpcr_builtins", "(", "void", ")", "{", "tree", "ftype_set", "=", "build_function_type_list", "(", "void_type_node", ",", "unsigned_type_node", ",", "NULL", ")", ";", "tree", "ftype_get", "=", "build_function_type_list", "(", "unsig...
[ "Initialize", "fpsr", "fpcr", "getters", "and", "setters", "." ]
LLVM
SystemZ
CPP
stmt_completion
CPU
501
[ "getOperand", "(", "OpNum", "+", "<NUM_LIT>", ")", ".", "getReg", "(", ")", ",", "O", ")", ";" ]
[ "printAddress", "(", "MI", "->", "getOperand", "(", "OpNum", ")", ".", "getReg", "(", ")", ",", "MI", "->", "getOperand", "(", "OpNum", "+", "<NUM_LIT>", ")", ".", "getImm", "(", ")", ",", "MI", "->" ]
LLVM
TPC
TD
next_suggestion
Virtual ISA
502
[ "let", "PredPolarity", "=", "pred", "{", "<NUM_LIT>", "}", ";" ]
[ "let", "SrcB", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "sw", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", ";", "let", "Switches", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "sw", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", ";", "let", "Dest", "=", ...
LLVM
AMDGPU
CPP
stmt_completion
GPU
503
[ ";" ]
[ "if", "(", "(", "(", "I", "+", "<NUM_LIT>", ")", ">=", "EndIdx", ")", "||", "(", "(", "NumGradients", "/", "<NUM_LIT>", ")", "%", "<NUM_LIT>", "==", "<NUM_LIT>", "&&", "(", "I", "==", "DimIdx", "+", "(", "NumGradients", "/", "<NUM_LIT>", ")", "-", ...
LLVM
Mips
TD
stmt_completion
CPU
504
[ "MSA128WOpnd", ">", ";" ]
[ "class", "FSNE_W_DESC", ":", "MSA_3RF_DESC_BASE", "<", "<STR_LIT>", ",", "int_mips_fsne_w", "," ]
LLVM
AArch64
TD
next_suggestion
CPU
505
[ "}" ]
[ "let", "Latency", "=", "<NUM_LIT>", ";", "let", "NumMicroOps", "=", "<NUM_LIT>", ";" ]
GCC
sh
MD
next_suggestion
CPU
506
[ "DONE" ]
[ "(", "clobber", "(", "scratch", ":", "SI", ")", ")", "]", ")", "]", "<STR_LIT>", "{", "emit_insn", "(", "gen_ic_invalidate_line_sh4a", "(", "operands", "[", "<NUM_LIT>", "]", ")", ")" ]
GCC
ia64
MD
stmt_completion
CPU
507
[ ")", ")", ")" ]
[ "(", "ior", "(", "match_code", "<STR_LIT>", ")", "(", "match_operand", "<NUM_LIT>", "<STR_LIT>" ]
LLVM
SystemZ
CPP
code_generation
CPU
508
[ "SDValue", "SystemZSelectionDAGInfo", "::", "EmitTargetCodeForMemcpy", "(", "SelectionDAG", "&", "DAG", ",", "SDLoc", "DL", ",", "SDValue", "Chain", ",", "SDValue", "Dst", ",", "SDValue", "Src", ",", "SDValue", "Size", ",", "unsigned", "Align", ",", "bool", "I...
[ "Emit", "target-specific", "code", "that", "performs", "a", "memcpy", "." ]
LLVM
Hexagon
TD
next_suggestion
DSP
509
[ "let", "isExtendable", "=", "<NUM_LIT>", ";" ]
[ "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "<NUM_LIT>", ";", "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "<NUM_LIT>", ";", "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "<NUM_LIT>", ";", "let", "isPredica...
GCC
i386
MD
stmt_completion
CPU
510
[ ")" ]
[ "(", "match_operand", ":", "BND", "<NUM_LIT>", "<STR_LIT>", ")", ")", "]", "<STR_LIT>", "{", "ix86_expand_move", "(", "<", "MODE", ">", "mode", ",", "operands" ]
LLVM
Z80
CPP
code_generation
MPU
511
[ "unsigned", "Z80MCCodeEmitter", "::", "getMachineOpValue", "(", "const", "MCInst", "&", "MI", ",", "const", "MCOperand", "&", "MO", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ")", "const", "{", "if", "(", "MO", ".", "isReg", "(", ")", ")...
[ "getMachineOpValue", "-", "Return", "binary", "encoding", "of", "operand", "." ]
LLVM
X86
TD
program_repair
CPU
512
[ "<FIXS>", "Sched", "[", "WriteFMove", "]", ">", ";", "<FIXE>", "<FIXS>", "Sched", "[", "WriteFLoad", "]", ">", ";", "<FIXE>" ]
[ "let", "hasSideEffects", "=", "<NUM_LIT>", "indef", "rr", ":", "PI", "opc", ",", "MRMSrcReg", ",", "(", "outs", "RC", ":", "$", "dst", ")", ",", "(", "ins", "RC", ":", "$", "src", ")", ",", "!", "strconcat", "(", "asm", ",", "<STR_LIT>", ")", ","...
LLVM
M68k
CPP
next_suggestion
MPU
513
[ "return", "false", ";" ]
[ "case", "M68k", "::", "COND_LS", ":", "case", "M68k", "::", "COND_CC", ":", "return", "true", ";", "case", "M68k", "::", "COND_GT", ":", "case", "M68k", "::", "COND_GE", ":", "case", "M68k", "::", "COND_LT", ":", "case", "M68k", "::", "COND_LE", ":" ]
LLVM
ARM
TD
next_suggestion
CPU
514
[ "}" ]
[ "let", "Inst", "{", "<NUM_LIT>", "}", "=", "<NUM_LIT>", ";", "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "addr", ";", "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "offset", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", ";", ...
LLVM
Mips
CPP
stmt_completion
CPU
515
[ "?", "<NUM_LIT>", ":", "<NUM_LIT>", ")", ";" ]
[ "SDValue", "Value", "=", "SD", "->", "getValue", "(", ")", ",", "Chain", "=", "SD", "->", "getChain", "(", ")", ";", "EVT", "VT", "=", "Value", ".", "getValueType", "(", ")", ";", "if", "(", "(", "VT", "==", "MVT", "::", "i32", ")", "||", "SD",...
LLVM
M68k
CPP
next_suggestion
MPU
516
[ "}" ]
[ "return", "C_Immediate", ";", "case", "'", "C", "'", ":", "if", "(", "Constraint", ".", "size", "(", ")", "==", "<NUM_LIT>", ")", "switch", "(", "Constraint", "[", "<NUM_LIT>", "]", ")", "{", "case", "'", "<NUM_LIT>", "'", ":", "case", "'", "i", "'...
LLVM
AMDGPU
CPP
stmt_completion
GPU
517
[ "getParent", "(", ")", "->", "getParent", "(", ")", ";" ]
[ "Register", "Dest", "=", "MI", ".", "getOperand", "(", "<NUM_LIT>", ")", ".", "getReg", "(", ")", ";", "const", "MachineFunction", "&", "MF", "=", "*", "MI", "." ]
LLVM
Hexagon
TD
next_suggestion
DSP
518
[ "let", "isExtendable", "=", "<NUM_LIT>", ";" ]
[ "let", "isPredicated", "=", "<NUM_LIT>", ";", "let", "isPredicatedFalse", "=", "<NUM_LIT>", ";", "let", "isTerminator", "=", "<NUM_LIT>", ";", "let", "isBranch", "=", "<NUM_LIT>", ";", "let", "isPredicatedNew", "=", "<NUM_LIT>", ";", "let", "cofRelax1", "=", "...
LLVM
Mips
CPP
stmt_completion
CPU
519
[ "++", "i", ")", "{" ]
[ "for", "(", "auto", "&", "Arg", ":", "Args", ")", "{", "EVT", "VT", "=", "TLI", ".", "getValueType", "(", "DL", ",", "Arg", ".", "Ty", ")", ";", "MVT", "RegisterVT", "=", "TLI", ".", "getRegisterTypeForCallingConv", "(", "F", ".", "getContext", "(", ...
LLVM
Hexagon
TD
stmt_completion
DSP
520
[ "<NUM_LIT>", ";" ]
[ "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "<NUM_LIT>", ";", "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "<NUM_LIT>", ";", "let", "prefersSlot3", "=" ]
LLVM
ARM
CPP
next_suggestion
CPU
521
[ "}" ]
[ "if", "(", "Arg", ".", "Flags", ".", "isByVal", "(", ")", ")", "return", "false", ";", "splitToValueTypes", "(", "Arg", ",", "ArgInfos", ",", "MF", ",", "[", "&", "]", "(", "Register", "Reg", ")", "{", "llvm_unreachable", "(", "<STR_LIT>", "Function ar...
LLVM
AMDGPU
CPP
next_suggestion
GPU
522
[ "default", ":" ]
[ "if", "(", "Cond", ".", "size", "(", ")", "==", "<NUM_LIT>", ")", "{", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "AMDGPU", "::", "V_CNDMASK_B32_e64", ")", ",", "DstReg", ")", ".", "addReg", "(", "FalseReg", ")", ".", "addReg", ...
LLVM
PowerPC
CPP
stmt_completion
CPU
523
[ "ReplNewPtr", ")", ";" ]
[ "Value", "*", "Ptr", "=", "getPointerOperandAndType", "(", "Element", ".", "Instr", ")", ";", "assert", "(", "Ptr", "&&", "<STR_LIT>", "No pointer operand", "<STR_LIT>", ")", ";", "Instruction", "*", "RealNewPtr", ";", "if", "(", "!", "Element", ".", "Offset...
LLVM
ARM
TD
next_suggestion
CPU
524
[ "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "<NUM_LIT>", ";" ]
[ "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "<NUM_LIT>", ";", "let", "Inst", "{", "<NUM_LIT>", "}", "=", "<NUM_LIT>", ";", "let", "Inst", "{", "<NUM_LIT>", "}", "=", "wb", ";", "let", "Inst", "{", "<NUM_LIT>", "}", "=", "<NUM_LIT>", ...
LLVM
Hexagon
TD
next_suggestion
DSP
525
[ "let", "opExtentAlign", "=", "<NUM_LIT>", ";" ]
[ "let", "isTerminator", "=", "<NUM_LIT>", ";", "let", "isBranch", "=", "<NUM_LIT>", ";", "let", "isPredicatedNew", "=", "<NUM_LIT>", ";", "let", "cofRelax1", "=", "<NUM_LIT>", ";", "let", "cofRelax2", "=", "<NUM_LIT>", ";", "let", "cofMax1", "=", "<NUM_LIT>", ...
LLVM
ARM
CPP
program_repair
CPU
526
[ "<FIXS>", "void", "ARMTargetAsmStreamer", "::", "switchVendor", "(", "StringRef", "Vendor", ")", "{", "}", "<FIXE>" ]
[ "OS", "<<", "<STR_LIT>", "}\\n", "<STR_LIT>", ";", "}", "<BUGS>", "void", "ARMTargetAsmStreamer", "::", "switchVendor", "(", "StringRef", "Vendor", ")", "{", "}", "<BUGE>", "void", "ARMTargetAsmStreamer", "::", "emitAttribute", "(", "unsigned", "Attribute", ",", ...
GCC
mt
CPP
code_generation
CPU
527
[ "const", "char", "*", "mt_asm_output_opcode", "(", "FILE", "*", "f", "ATTRIBUTE_UNUSED", ",", "const", "char", "*", "ptr", ")", "{", "if", "(", "mt_nops_required", ")", "fprintf", "(", "f", ",", "<STR_LIT>", ";# need %d nops because of %s\\n\\t", "<STR_LIT>", ",...
[ "Implement", "ASM_OUTPUT_OPCODE", "." ]
LLVM
AArch64
CPP
next_suggestion
CPU
528
[ "Inst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "pstate_field", ")", ")", ";" ]
[ "uint64_t", "crm", "=", "fieldFromInstruction", "(", "insn", ",", "<NUM_LIT>", ",", "<NUM_LIT>", ")", ";", "uint64_t", "pstate_field", "=", "(", "op1", "<<", "<NUM_LIT>", ")", "|", "op2", ";", "switch", "(", "pstate_field", ")", "{", "case", "<NUM_LIT>", "...
LLVM
Hexagon
TD
next_suggestion
DSP
529
[ "}" ]
[ "def", "J4_cmpgti_tp1_jump_nt", ":", "HInst", "<", "(", "outs", ")", ",", "(", "ins", "GeneralSubRegs", ":", "$", "Rs16", ",", "u5_0Imm", ":", "$", "II", ",", "b30_2Imm", ":", "$", "Ii", ")", ",", "<STR_LIT>", ",", "tc_3d495a39", ",", "TypeCJ", ">", ...
LLVM
PowerPC
CPP
stmt_completion
CPU
530
[ "U", ";" ]
[ "MustSaveLR", "=" ]
LLVM
Hexagon
CPP
stmt_completion
DSP
531
[ "B", "->", "getInstList", "(", ")", ";" ]
[ "for", "(", "unsigned", "i", "=", "<NUM_LIT>", ";", "i", "<", "BO", ".", "size", "(", ")", ";", "++", "i", ")", "{", "BasicBlock", "*", "B", "=", "cast", "<", "BasicBlock", ">", "(", "BO", "[", "i", "]", ")", ";", "DomTreeNode", "*", "N", "="...
LLVM
Hexagon
TD
program_repair
DSP
532
[ "<FIXS>", "(", "sequence", "<STR_LIT>", ",", "<NUM_LIT>", ",", "<NUM_LIT>", ")", ",", "PC", ",", "GP", ")", ">", "{", "<FIXE>" ]
[ "def", "CRRegs", ":", "RegisterClass", "<STR_LIT>", ",", "[", "i32", "]", ",", "<NUM_LIT>", ",", "(", "add", "(", "sequence", "<STR_LIT>", ",", "<NUM_LIT>", ",", "<NUM_LIT>", ")", ",", "<BUGS>", "(", "sequence", "<STR_LIT>", ",", "<NUM_LIT>", ",", "<NUM_LI...
LLVM
SPIRV
CPP
stmt_completion
Virtual ISA
533
[ ")", "return", "NewTy", ";" ]
[ "if", "(", "Type", "*", "NewTy", "=", "applyWrappers", "(", "Ty", ")", ";", "NewTy", "!=", "Ty" ]
LLVM
Mips
CPP
stmt_completion
CPU
534
[ ")", "{" ]
[ "unsigned", "MipsAsmParser", "::", "getGPR", "(", "int", "RegNo" ]
GCC
c4x
CPP
stmt_completion
DSP
535
[ ")", ";" ]
[ "static", "void", "c4x_add_gc_roots", "(", ")", "{", "ggc_add_rtx_root", "(", "&", "c4x_compare_op0", ",", "<NUM_LIT>", ")", ";", "ggc_add_rtx_root", "(", "&", "c4x_compare_op1", ",", "<NUM_LIT>", ")", ";", "ggc_add_tree_root", "(", "&", "code_tree", ",", "<NUM_...
LLVM
Hexagon
TD
next_suggestion
DSP
536
[ "}" ]
[ "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...
GCC
arm
MD
next_suggestion
CPU
537
[ "<STR_LIT>", ")" ]
[ "(", "and", "(", "eq_attr", "<STR_LIT>", "<STR_LIT>", ")", "(", "eq_attr", "<STR_LIT>", "<STR_LIT>", ")", ")" ]
LLVM
Mips
CPP
code_generation
CPU
538
[ "SDValue", "MipsTargetLowering", "::", "LowerReturn", "(", "SDValue", "Chain", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "IsVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "OutputArg", ">", "&", "Outs", ",", "const", "SmallVectorImpl",...
[ "This", "hook", "must", "be", "implemented", "to", "lower", "outgoing", "return", "values", ",", "described", "by", "the", "Outs", "array", ",", "into", "the", "specified", "DAG", "." ]
LLVM
MBlaze
CPP
code_generation
MPU
539
[ "void", "MBlazeInstrInfo", "::", "storeRegToStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "unsigned", "SrcReg", ",", "bool", "isKill", ",", "int", "FI", ",", "const", "TargetRegisterClass", "*", "RC", ","...
[ "Store", "the", "specified", "register", "of", "the", "given", "register", "class", "to", "the", "specified", "stack", "frame", "index", "." ]
LLVM
ARM
CPP
program_repair
CPU
540
[ "<FIXS>", "fixup_arm_uncondbl", ",", "fixup_arm_condbl", ",", "<FIXE>" ]
[ "fixup_arm_thumb_br", ",", "<BUGS>", "fixup_arm_bl", ",", "<BUGE>", "fixup_arm_blx", "," ]
GCC
c4x
CPP
stmt_completion
DSP
541
[ "(", "XVECEXP", "(", "x", ",", "i", ",", "j", ")", ",", "code_label", ")", ")", "return", "<NUM_LIT>", ";" ]
[ "code", "=", "GET_CODE", "(", "x", ")", ";", "if", "(", "code", "==", "LABEL_REF", ")", "return", "INSN_UID", "(", "XEXP", "(", "x", ",", "<NUM_LIT>", ")", ")", "==", "INSN_UID", "(", "code_label", ")", ";", "fmt", "=", "GET_RTX_FORMAT", "(", "code",...
LLVM
X86
CPP
stmt_completion
CPU
542
[ ";", "MI", "!=", "ME", ";", "MI", "++", ")", "if", "(", "MI", "->", "isReturn", "(", ")", ")", "return", "true", ";" ]
[ "static", "bool", "isReturnBlock", "(", "const", "MachineBasicBlock", "*", "MBB", ")", "{", "for", "(", "auto", "MI", "=", "MBB", "->", "begin", "(", ")", ",", "ME", "=", "MBB", "->", "end", "(", ")" ]
LLVM
ARM64
CPP
next_suggestion
CPU
543
[ "}" ]
[ "assert", "(", "N", "==", "<NUM_LIT>", "&&", "<STR_LIT>", "Invalid number of operands!", "<STR_LIT>", ")", ";", "const", "MCConstantExpr", "*", "MCE", "=", "dyn_cast", "<", "MCConstantExpr", ">", "(", "getImm", "(", ")", ")", ";", "assert", "(", "MCE", "&&",...
LLVM
BPF
CPP
stmt_completion
Virtual ISA
544
[ ")", "{" ]
[ "}", ")", ";", "PB", ".", "registerPeepholeEPCallback", "(", "[", "=", "]", "(", "FunctionPassManager", "&", "FPM", ",", "PassBuilder", "::", "OptimizationLevel", "Level", ")", "{", "FPM", ".", "addPass", "(", "SimplifyCFGPass", "(", "SimplifyCFGOptions", "(",...
LLVM
AMDGPU
CPP
program_repair
GPU
545
[ "<FIXS>", "if", "(", "TRI", "->", "isVectorRegister", "(", "*", "MRI", ",", "PHIRes", ")", "||", "RC0", "==", "&", "AMDGPU", "::", "VReg_1RegClass", ")", "{", "<FIXE>" ]
[ "}", "}", "<BUGS>", "bool", "hasVGPRInput", "=", "false", ";", "for", "(", "unsigned", "i", "=", "<NUM_LIT>", ";", "i", "MI", ".", "getNumOperands", "(", ")", ";", "i", "+=", "<NUM_LIT>", ")", "{", "Register", "InputReg", "=", "MI", ".", "getOperand", ...
LLVM
Hexagon
TD
next_suggestion
DSP
546
[ "let", "Defs", "=", "[", "P1", ",", "PC", "]", ";" ]
[ "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "<NUM_LIT>", ";", "let", "isPredicated", "=", "<NUM_LIT>", ";", "let", "isTerminator", "=", "<NUM_LIT>", ";", "let", "isBranch", "=", "<NUM_LIT>", ";", "let", "isPredicatedNew", "=", "<NUM_LIT>", "...
LLVM
SystemZ
TD
stmt_completion
CPU
547
[ ",", "mode", ">", ";" ]
[ "def", "<STR_LIT>", ":", "CondStoreRSY", "<", "mnemonic", ",", "opcode", ",", "cls", ",", "bytes" ]
GCC
rs6000
CPP
program_repair
CPU
548
[ "<FIXS>", "TOC_REGNUM", ",", "frame_off", "+", "RS6000_TOC_SAVE_SLOT", ",", "<FIXE>" ]
[ "LABEL_NUSES", "(", "toc_save_done", ")", "+=", "<NUM_LIT>", ";", "save_insn", "=", "emit_frame_save", "(", "frame_reg_rtx", ",", "reg_mode", ",", "<BUGS>", "TOC_REGNUM", ",", "frame_off", "+", "<NUM_LIT>", "*", "reg_size", ",", "<BUGE>", "sp_off", "-", "frame_o...
LLVM
LoongArch
CPP
next_suggestion
CPU
549
[ "}" ]
[ "SDValue", "LoongArchTargetLowering", "::", "lowerConstantPool", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "return", "getAddr", "(", "cast", "<", "ConstantPoolSDNode", ">", "(", "Op", ")", ",", "DAG", ",", "DAG", ".", "getTarg...
LLVM
TPC
TD
next_suggestion
Virtual ISA
550
[ "int", "SW_CNVRT_INT32", "=", "<NUM_LIT>", ";" ]
[ "int", "RM_RHNE", "=", "<NUM_LIT>", ";", "int", "RM_RZ", "=", "<NUM_LIT>", ";", "int", "RM_RU", "=", "<NUM_LIT>", ";", "int", "RM_RD", "=", "<NUM_LIT>", ";", "int", "RM_SR", "=", "<NUM_LIT>", ";", "int", "RM_RHAZ", "=", "<NUM_LIT>", ";", "int", "TO_FP32"...
LLVM
Hexagon
CPP
stmt_completion
DSP
551
[ ")", ";" ]
[ "TargetRegistry", "::", "RegisterMCSubtargetInfo", "(", "TheHexagonTarget", ",", "createHexagonMCSubtargetInfo", ")", ";", "TargetRegistry", "::", "RegisterMCCodeEmitter", "(", "TheHexagonTarget", ",", "createHexagonMCCodeEmitter", ")", ";", "TargetRegistry", "::", "RegisterM...
GCC
i386
CPP
next_suggestion
CPU
552
[ "}" ]
[ "extern", "_", "_", "inline", "void", "_", "_", "attribute__", "(", "(", "_", "_", "gnu_inline__", ",", "_", "_", "always_inline__", ",", "_", "_", "artificial__", ")", ")", "_", "wrssd", "(", "unsigned", "int", "_", "_", "B", ",", "void", "*", "_"...
GCC
stormy16
CPP
code_generation
CPU
553
[ "void", "xstormy16_split_move", "(", "machine_mode", "mode", ",", "rtx", "dest", ",", "rtx", "src", ")", "{", "int", "num_words", "=", "GET_MODE_BITSIZE", "(", "mode", ")", "/", "BITS_PER_WORD", ";", "int", "direction", ",", "end", ",", "i", ";", "int", ...
[ "Splitter", "for", "the", "'move", "'", "patterns", ",", "for", "modes", "not", "directly", "implemeted", "by", "hardware", ".", "Emit", "insns", "to", "copy", "a", "value", "of", "mode", "MODE", "from", "SRC", "to", "DEST", ".", "This", "function", "is"...
LLVM
AArch64
TD
next_suggestion
CPU
554
[ "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "opc", ";" ]
[ "bits", "<", "<NUM_LIT>", ">", "Rd", ";", "bits", "<", "<NUM_LIT>", ">", "Rn", ";", "let", "Inst", "{", "<NUM_LIT>", "}", "=", "<NUM_LIT>", ";", "let", "Inst", "{", "<NUM_LIT>", "}", "=", "Q", ";", "let", "Inst", "{", "<NUM_LIT>", "}", "=", "U", ...
GCC
i386
CPP
stmt_completion
CPU
555
[ "_", "m512i", "_", "_", "B", ")", "{" ]
[ "extern", "_", "_", "inline", "_", "_", "m512i", "_", "_", "attribute__", "(", "(", "_", "_", "gnu_inline__", ",", "_", "_", "always_inline__", ",", "_", "_", "artificial__", ")", ")", "_", "mm512_mask_sub_epi8", "(", "_", "_", "m512i", "_", "_", "W"...
LLVM
ARM
CPP
next_suggestion
CPU
556
[ "if", "(", "I", "->", "getOpcode", "(", ")", "==", "Instruction", "::", "Or", ")", "return", "std", "::", "optional", "<", "int64_t", ">", "{", "*", "Op0", "|", "*", "Op1", "}", ";" ]
[ "if", "(", "!", "Op0", "||", "!", "Op1", ")", "return", "std", "::", "optional", "<", "int64_t", ">", "{", "}", ";", "if", "(", "I", "->", "getOpcode", "(", ")", "==", "Instruction", "::", "Add", ")", "return", "std", "::", "optional", "<", "int6...
LLVM
AArch64
CPP
program_repair
CPU
557
[ "<FIXS>", "SmallVector", "std", "::", "pair", "MachineInstr", "*", ",", "unsigned", ">", ",", "<NUM_LIT>", ">", "ReturnInstructions", ";", "SmallVector", "std", "::", "pair", "MachineInstr", "*", ",", "unsigned", ">", ",", "<NUM_LIT>", ">", "CallInstructions", ...
[ "}", "<BUGS>", "{", "SmallVector", "MachineInstr", "*", ",", "<NUM_LIT>", ">", "ReturnInstructions", ";", "SmallVector", "MachineInstr", "*", ",", "<NUM_LIT>", ">", "CallInstructions", ";", "<BUGE>", "<BUGS>", "for", "(", "MachineInstr", "&", "MI", ":", "MBB", ...
LLVM
Mips
TD
stmt_completion
CPU
558
[ "sub", ",", "vsplati32_uimm5", ",", "MSA128WOpnd", ">", ";" ]
[ "class", "SUBVI_W_DESC", ":", "MSA_I5_DESC_BASE", "<", "<STR_LIT>", "," ]
GCC
sh
MD
program_repair
CPU
559
[ "<FIXS>", "(", "unspec", ":", "SI", "[", "(", "match_operand", ":", "SI", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", "<FIXE>" ]
[ "(", "define_insn", "<STR_LIT>", "[", "(", "set", "(", "reg", ":", "SI", "T_REG", ")", "<BUGS>", "(", "unspec", ":", "SI", "[", "(", "match_operand", ":", "SI", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", "<BUGE>", "(", "match_operand", ":", "SI", "<NUM_...
GCC
i386
CPP
stmt_completion
CPU
560
[ ")", ",", "(", "_", "_", "mmask8", ")", "_", "_", "U", ")", ";" ]
[ "return", "(", "_", "_", "m128", ")", "_", "_", "builtin_ia32_unpckhps128_mask", "(", "(", "_", "_", "v4sf", ")", "_", "_", "A", ",", "(", "_", "_", "v4sf", ")", "_", "_", "B", ",", "(", "_", "_", "v4sf", ")", "_", "mm_setzero_ps", "(" ]
LLVM
ARM
CPP
next_suggestion
CPU
561
[ "else", "FB", "&=", "~", "ComputeAvailableFeatures", "(", "Extensions", "[", "EI", "]", ".", "Features", ")", ";" ]
[ "if", "(", "Extensions", "[", "EI", "]", ".", "Extension", "!=", "Extension", ")", "continue", ";", "unsigned", "FB", "=", "getAvailableFeatures", "(", ")", ";", "if", "(", "(", "FB", "&", "Extensions", "[", "EI", "]", ".", "ArchCheck", ")", "!=", "E...
LLVM
AMDGPU
CPP
next_suggestion
GPU
562
[ "SDValue", "HiAnd", "=", "DAG", ".", "getNode", "(", "Opc", ",", "SL", ",", "MVT", "::", "i32", ",", "Hi", ",", "HiRHS", ")", ";" ]
[ "SDValue", "LoRHS", "=", "DAG", ".", "getConstant", "(", "ValLo", ",", "SL", ",", "MVT", "::", "i32", ")", ";", "SDValue", "HiRHS", "=", "DAG", ".", "getConstant", "(", "ValHi", ",", "SL", ",", "MVT", "::", "i32", ")", ";", "SDValue", "LoAnd", "=",...
LLVM
Mips
CPP
next_suggestion
CPU
563
[ "return", "ELF", "::", "R_MICROMIPS_GOT_PAGE", ";" ]
[ "case", "Mips", "::", "fixup_Mips_TPREL_HI", ":", "return", "ELF", "::", "R_MIPS_TLS_TPREL_HI16", ";", "case", "Mips", "::", "fixup_Mips_TPREL_LO", ":", "return", "ELF", "::", "R_MIPS_TLS_TPREL_LO16", ";", "case", "Mips", "::", "fixup_Mips_TLSLDM", ":", "return", ...
LLVM
X86
CPP
stmt_completion
CPU
564
[ ";" ]
[ "if", "(", "ZExtReg", "==", "<NUM_LIT>", ")", "return", "false", ";", "ResultReg", "=", "createResultReg", "(", "&", "X86", "::", "GR8RegClass", ")", ";", "BuildMI", "(", "*", "FuncInfo", ".", "MBB", ",", "FuncInfo", ".", "InsertPt", ",", "DbgLoc", ",", ...
GCC
s390
MD
next_suggestion
MPU
565
[ "[", "(", "set_attr", "<STR_LIT>", "<STR_LIT>", ")", "]", ")" ]
[ "(", "and", ":", "VT", "(", "match_operand", ":", "VT", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", "(", "match_operand", ":", "VT", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", ")", ")", "]", "<STR_LIT>", "<STR_LIT>" ]
LLVM
Hexagon
CPP
next_suggestion
DSP
566
[ "}" ]
[ "bool", "CopyPropagation", "::", "isCopyReg", "(", "unsigned", "Opc", ",", "bool", "NoConv", ")", "{", "switch", "(", "Opc", ")", "{", "case", "TargetOpcode", "::", "COPY", ":", "case", "TargetOpcode", "::", "REG_SEQUENCE", ":", "case", "Hexagon", "::", "A...
LLVM
XCore
CPP
code_generation
MPU
567
[ "bool", "XCoreInstrInfo", "::", "spillCalleeSavedRegisters", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "const", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", ")", "const", "{", "if", "(", "CS...
[ "spillCalleeSavedRegisters", "-", "Issues", "instruction", "(", "s", ")", "to", "spill", "all", "callee", "saved", "registers", "and", "returns", "true", "if", "it", "is", "n't", "possible", "/", "profitable", "to", "do", "so", "by", "issuing", "a", "series"...
GCC
i386
CPP
next_suggestion
CPU
568
[ "_", "_", "cpuid", "(", "_", "_", "leaf", ",", "*", "_", "_", "eax", ",", "*", "_", "_", "ebx", ",", "*", "_", "_", "ecx", ",", "*", "_", "_", "edx", ")", ";" ]
[ "unsigned", "int", "_", "_", "ext", "=", "_", "_", "leaf", "&", "<NUM_LIT>", ";", "unsigned", "int", "_", "_", "maxlevel", "=", "_", "_", "get_cpuid_max", "(", "_", "_", "ext", ",", "<NUM_LIT>", ")", ";", "if", "(", "_", "_", "maxlevel", "==", "<...
GCC
pdp11
CPP
code_generation
MPU
569
[ "static", "void", "pdp11_conditional_register_usage", "(", "void", ")", "{", "int", "i", ";", "HARD_REG_SET", "x", ";", "if", "(", "!", "TARGET_FPU", ")", "{", "COPY_HARD_REG_SET", "(", "x", ",", "reg_class_contents", "[", "(", "int", ")", "FPU_REGS", "]", ...
[ "Make", "sure", "everything", "'s", "fine", "if", "we", "*", "do", "n't", "*", "have", "an", "FPU", ".", "This", "assumes", "that", "putting", "a", "register", "in", "fixed_regs", "will", "keep", "the", "compiler", "'s", "mitts", "completely", "off", "it...
LLVM
Hexagon
TD
next_suggestion
DSP
570
[ "let", "opExtentBits", "=", "<NUM_LIT>", ";" ]
[ "def", "J2_loop1r", ":", "HInst", "<", "(", "outs", ")", ",", "(", "ins", "b30_2Imm", ":", "$", "Ii", ",", "IntRegs", ":", "$", "Rs32", ")", ",", "<STR_LIT>", ",", "tc_df3319ed", ",", "TypeCR", ">", ",", "Enc_864a5a", "{", "let", "Inst", "{", "<NUM...
LLVM
PIC16
CPP
stmt_completion
MPU
571
[ "<NUM_LIT>", ";" ]
[ "if", "(", "Cond", ".", "empty", "(", ")", ")", "{", "DebugLoc", "dl", ";", "BuildMI", "(", "&", "MBB", ",", "dl", ",", "get", "(", "<STR_LIT>", "::", "<STR_LIT>", ")", ")", ".", "addMBB", "(", "TBB", ")", ";", "}", "return", "<NUM_LIT>", ";", ...
LLVM
AMDGPU
CPP
stmt_completion
GPU
572
[ ")", ")", ";" ]
[ "WaitStates", "=", "std", "::", "max", "(", "WaitStates", ",", "checkFPAtomicToDenormModeHazard", "(", "MI", ")", ")", ";", "if", "(", "ST", ".", "hasNoDataDepHazard", "(", ")", ")", "return", "WaitStates", ";", "if", "(", "SIInstrInfo", "::", "isVALU", "(...
LLVM
TOY
CPP
code_generation
CPU
573
[ "BitVector", "TOYRegisterInfo", "::", "getReservedRegs", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "Reserved", ".", "set", "(", "<STR_LIT>", "::", "<STR_LIT>", ")", ";", "Re...
[ "getReservedRegs", "-", "Returns", "a", "bitset", "indexed", "by", "physical", "register", "number", "indicating", "if", "a", "register", "is", "a", "special", "register", "that", "has", "particular", "uses", "and", "should", "be", "considered", "unavailable", "...
LLVM
AArch64
CPP
next_suggestion
CPU
574
[ "if", "(", "IdxVal", ">=", "<NUM_LIT>", "&&", "IdxVal", "<", "int64_t", "(", "<NUM_LIT>", "/", "Ty", ".", "getVectorElementType", "(", ")", ".", "getSizeInBits", "(", ")", ")", ")", "return", "Op", ";" ]
[ "EVT", "PredVT", "=", "Ty", ".", "changeVectorElementType", "(", "MVT", "::", "i1", ")", ";", "SDValue", "Pred", "=", "getPTrue", "(", "DAG", ",", "DL", ",", "PredVT", ",", "*", "PredPattern", ")", ";", "Pred", "=", "DAG", ".", "getNode", "(", "ISD",...
GCC
sh
CPP
code_generation
CPU
575
[ "static", "void", "output_stack_adjust", "(", "int", "size", ",", "rtx", "reg", ",", "int", "epilogue_p", ",", "HARD_REG_SET", "*", "live_regs_mask", ",", "bool", "frame_p", ")", "{", "rtx_insn", "*", "(", "*", "emit_fn", ")", "(", "rtx", ")", "=", "fram...
[ "Adjust", "the", "stack", "and", "return", "the", "number", "of", "bytes", "taken", "to", "do", "it" ]
GCC
i386
MD
program_repair
CPU
576
[ "<FIXS>", "[", "(", "set", "(", "match_dup", "<NUM_LIT>", ")", "<FIXE>", "<FIXS>", "(", "parallel", "[", "(", "set", "(", "match_dup", "<NUM_LIT>", ")", "(", "fix", ":", "DI", "(", "fix", ":", "DF", "(", "match_dup", "<NUM_LIT>", ")", ")", ")", ")", ...
[ "(", "define_expand", "<STR_LIT>", "<BUGS>", "[", "(", "set", "(", "match_dup", "<NUM_LIT>", ")", "<BUGE>", "(", "match_operand", ":", "DF", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", ")", "<BUGS>", "(", "parallel", "[", "(", "set", "(", "match_dup", "<NUM_...
LLVM
Sparc
CPP
stmt_completion
CPU
577
[ ";" ]
[ "virtual", "MachineInstr", "*", "foldMemoryOperandImpl", "(", "MachineFunction", "&", "MF", ",", "MachineInstr", "*", "MI", ",", "const", "SmallVectorImpl", "<", "unsigned", ">", "&", "Ops", ",", "MachineInstr", "*", "LoadMI", ")", "const", "{", "return", "<NU...
LLVM
AArch64
TD
stmt_completion
CPU
578
[ "(", "set", "(", "ResTy", "VPR128", ":", "$", "Rd", ")", ",", "(", "ResTy", "(", "opnode", "(", "OpTy", "VPR128", ":", "$", "Rn", ")", ",", "(", "OpTy", "VPR128", ":", "$", "Rm", ")", ")", ")", ")", "]", ",", "NoItinerary", ">", ";" ]
[ "class", "NeonI_3VDL2_2Op_mull", "<", "bit", "q", ",", "bit", "u", ",", "bits", "<", "<NUM_LIT>", ">", "size", ",", "bits", "<", "<NUM_LIT>", ">", "opcode", ",", "string", "asmop", ",", "string", "ResS", ",", "string", "OpS", ",", "SDPatternOperator", "o...
LLVM
TGSI
CPP
stmt_completion
Virtual ISA
579
[ "MI", ",", "MachineBasicBlock", "*", "MBB", ")", "{" ]
[ "void", "TGSICFGStructurizer", "::", "setTrueBranch", "(", "MachineInstr", "*" ]
GCC
i386
CPP
stmt_completion
CPU
580
[ "_", "W", ",", "(", "_", "_", "mmask8", ")", "_", "_", "U", ")", ";" ]
[ "return", "(", "_", "_", "m128i", ")", "_", "_", "builtin_ia32_pavgw128_mask", "(", "(", "_", "_", "v8hi", ")", "_", "_", "A", ",", "(", "_", "_", "v8hi", ")", "_", "_", "B", ",", "(", "_", "_", "v8hi", ")", "_" ]
LLVM
AArch64
CPP
next_suggestion
CPU
581
[ "return", "<NUM_LIT>", ";" ]
[ "return", "<NUM_LIT>", ";", "case", "MVT", "::", "i16", ":", "return", "<NUM_LIT>", ";", "case", "MVT", "::", "i32", ":", "case", "MVT", "::", "f32", ":", "return", "<NUM_LIT>", ";", "case", "MVT", "::", "i64", ":", "case", "MVT", "::", "f64", ":" ]
LLVM
AArch64
TD
next_suggestion
CPU
582
[ "}" ]
[ "def", "KryoWrite_2cyc_XY_noRSV_234ln", ":", "SchedWriteRes", "<", "[", "KryoUnitXY", "]", ">", "{", "let", "Latency", "=", "<NUM_LIT>", ";", "let", "NumMicroOps", "=", "<NUM_LIT>", ";" ]
GCC
powerpcspe
MD
stmt_completion
CPU
583
[ ")" ]
[ "(", "define_bypass", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>" ]
LLVM
PowerPC
CPP
next_suggestion
CPU
584
[ "unsigned", "Idx", "=", "IsLittleEndian", "?", "i", ":", "(", "NumBytes", "-", "<NUM_LIT>", "-", "i", ")", ";" ]
[ "unsigned", "Offset", "=", "Fixup", ".", "getOffset", "(", ")", ";", "unsigned", "NumBytes", "=", "getFixupKindNumBytes", "(", "Fixup", ".", "getKind", "(", ")", ")", ";", "for", "(", "unsigned", "i", "=", "<NUM_LIT>", ";", "i", "!=", "NumBytes", ";", ...
LLVM
Hexagon
CPP
stmt_completion
DSP
585
[ "(", ")", "{" ]
[ "LLVM_EXTERNAL_VISIBILITY", "void", "LLVMInitializeHexagonAsmPrinter" ]
LLVM
ARM
TD
stmt_completion
CPU
586
[ ",", "<NUM_LIT>", ",", "<STR_LIT>", ">", ";" ]
[ "def", "USAX", ":", "AAI", "<", "<NUM_LIT>" ]
GCC
v850
CPP
next_suggestion
MPU
587
[ "}" ]
[ "if", "(", "size", "<=", "<NUM_LIT>", ")", ";", "else", "if", "(", "size", "<=", "small_memory_max", "[", "(", "int", ")", "SMALL_MEMORY_TDA", "]", ")", "v850_set_data_area", "(", "decl", ",", "DATA_AREA_TDA", ")", ";", "else", "if", "(", "size", "<=", ...
GCC
iq2000
MD
stmt_completion
CPU
588
[ ")", ")", ")", ")" ]
[ "(", "if_then_else", "(", "ne", "(", "symbol_ref", "<STR_LIT>", ")", "(", "const_int", "<NUM_LIT>", ")", ")", "(", "const_string", "<STR_LIT>", ")", "(", "const_string", "<STR_LIT>" ]
GCC
pa
MD
next_suggestion
CPU
589
[ "<STR_LIT>", ")" ]
[ "(", "define_expand", "<STR_LIT>", "[", "(", "set", "(", "match_operand", ":", "SI", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", "(", "zero_extend", ":", "SI", "(", "match_operand", ":", "HI", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", ")", ")", "]", "<STR_...
LLVM
Hexagon
CPP
next_suggestion
DSP
590
[ "}" ]
[ "HexagonGenExtract", "(", ")", ":", "FunctionPass", "(", "ID", ")", ",", "ExtractCount", "(", "<NUM_LIT>", ")", "{", "initializeHexagonGenExtractPass", "(", "*", "PassRegistry", "::", "getPassRegistry", "(", ")", ")", ";" ]
GCC
rs6000
CPP
next_suggestion
CPU
591
[ "rtx", "par", "=", "gen_rtx_PARALLEL", "(", "mode", ",", "gen_rtvec", "(", "<NUM_LIT>", ",", "store", ",", "stvx", ")", ")", ";" ]
[ "rtx", "tmp", "=", "gen_reg_rtx", "(", "mode", ")", ";", "rtx", "store", "=", "gen_rtx_SET", "(", "VOIDmode", ",", "op0", ",", "tmp", ")", ";", "rtx", "stvx", "=", "gen_rtx_UNSPEC", "(", "mode", ",", "gen_rtvec", "(", "<NUM_LIT>", ",", "const0_rtx", ")...
LLVM
X86
CPP
next_suggestion
CPU
592
[ "}" ]
[ "void", "X86ATTInstPrinter", "::", "print_pcrel_imm", "(", "const", "MCInst", "*", "MI", ",", "unsigned", "OpNo", ",", "raw_ostream", "&", "O", ")", "{", "const", "MCOperand", "&", "Op", "=", "MI", "->", "getOperand", "(", "OpNo", ")", ";", "if", "(", ...
GCC
i386
MD
stmt_completion
CPU
593
[ ")", ")" ]
[ "(", "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>", ")" ]
LLVM
X86
CPP
stmt_completion
CPU
594
[ ",", "SubVectorOps", ")", ")", "{" ]
[ "return", "DAG", ".", "getNode", "(", "ISD", "::", "INSERT_SUBVECTOR", ",", "dl", ",", "OpVT", ",", "getZeroVector", "(", "OpVT", ",", "Subtarget", ",", "DAG", ",", "dl", ")", ",", "SubVec", ".", "getOperand", "(", "<NUM_LIT>", ")", ",", "DAG", ".", ...
GCC
i386
MD
stmt_completion
CPU
595
[ "us_minus", "]", ")" ]
[ "(", "define_code_iterator", "sat_plusminus", "[", "ss_plus", "us_plus", "ss_minus" ]
LLVM
MSP430
CPP
next_suggestion
MPU
596
[ "(", "void", ")", "FrameIdx", ";" ]
[ "void", "MSP430FrameLowering", "::", "processFunctionBeforeFrameFinalized", "(", "MachineFunction", "&", "MF", ",", "RegScavenger", "*", ")", "const", "{", "if", "(", "hasFP", "(", "MF", ")", ")", "{", "int", "FrameIdx", "=", "MF", ".", "getFrameInfo", "(", ...
LLVM
R600
CPP
next_suggestion
GPU
597
[ "return", "false", ";" ]
[ "bool", "AMDGPUTargetLowering", "::", "isFPImmLegal", "(", "const", "APFloat", "&", "Imm", ",", "EVT", "VT", ")", "const", "{", "if", "(", "VT", ".", "getScalarType", "(", ")", ".", "getSimpleVT", "(", ")", ".", "SimpleTy", "==", "MVT", "::", "f32", "|...
GCC
nds32
MD
next_suggestion
CPU
598
[ "(", "and", "(", "match_code", "<STR_LIT>", ")" ]
[ "(", "define_constraint", "<STR_LIT>", "<STR_LIT>" ]
GCC
mips
CPP
next_suggestion
CPU
599
[ "}" ]
[ "virtual", "bool", "gate", "(", "function", "*", ")", "{", "return", "TARGET_OLDABI", "&&", "flag_frame_header_optimization", "&&", "optimize", ">", "<NUM_LIT>", ";" ]