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
ARM
CPP
stmt_completion
CPU
23,000
[ "SDValue", "&", "Opc", ")", "{" ]
[ "bool", "ARMInvISelDAG", "::", "SelectAddrMode3Offset", "(", "SDNode", "*", "Op", ",", "SDValue", "N", ",", "SDValue", "&", "Offset", "," ]
LLVM
Hexagon
CPP
next_suggestion
DSP
23,001
[ "}" ]
[ "for", "(", "unsigned", "P", "=", "<NUM_LIT>", ";", "P", "!=", "Order", ".", "size", "(", ")", ";", "++", "P", ")", "{", "Node", "I", "=", "Order", "[", "P", "]", ";", "if", "(", "I", "!=", "Ignore", ")", "{", "Needed", ".", "insert", "(", ...
LLVM
Lanai
CPP
stmt_completion
CPU
23,002
[ "<STR_LIT>", ")", ".", "addImm", "(", "StackSize", ")", ".", "setMIFlag", "(", "MachineInstr", "::", "FrameSetup", ")", ";" ]
[ "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "LanaiInstrInfo", "&", "LII", "=", "*", "static_cast", "<", "const", "LanaiInstrInfo", "*", ">", "(", "STI", ".", "getInstrInfo", "(", ")", ")", ";", "MachineBasicBlock...
LLVM
Hexagon
TD
stmt_completion
DSP
23,003
[ "<NUM_LIT>", "}", ";" ]
[ "bits", "<", "<NUM_LIT>", ">", "Ii", ";", "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "Ii", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", ";", "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "Ii", "{", "<NUM_LIT>", "-", "<NUM...
LLVM
Hexagon
TD
stmt_completion
DSP
23,004
[ "<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", "hasNewVal...
GCC
alpha
MD
next_suggestion
MPU
23,005
[ "(", "match_operand", "<NUM_LIT>", "<STR_LIT>", ")", ")", ")" ]
[ "(", "define_predicate", "<STR_LIT>", "(", "ior", "(", "match_operand", "<NUM_LIT>", "<STR_LIT>", ")" ]
LLVM
ARM
CPP
next_suggestion
CPU
23,006
[ "unsigned", "DestReg", "=", "createResultReg", "(", "TLI", ".", "getRegClassFor", "(", "VT", ")", ")", ";" ]
[ "unsigned", "ARMFastISel", "::", "ARMMaterializeFP", "(", "const", "ConstantFP", "*", "CFP", ",", "MVT", "VT", ")", "{", "const", "APFloat", "Val", "=", "CFP", "->", "getValueAPF", "(", ")", ";", "bool", "is64bit", "=", "VT", "==", "MVT", "::", "f64", ...
LLVM
Hexagon
TD
next_suggestion
DSP
23,007
[ "}" ]
[ "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "<NUM_LIT>", ";", "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "majOp", ";", "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "!", "if", "(", "SwapOps", ",", "Rt...
LLVM
ARM64
TD
stmt_completion
CPU
23,008
[ "=", "<NUM_LIT>", ";" ]
[ "class", "ADRI", "<", "bit", "page", ",", "string", "asm", ",", "Operand", "adr", ",", "list", "<", "dag", ">", "pattern", ">", ":", "I", "<", "(", "outs", "GPR64", ":", "$", "Xd", ")", ",", "(", "ins", "adr", ":", "$", "label", ")", ",", "as...
LLVM
AArch64
CPP
next_suggestion
CPU
23,009
[ "return", "SDValue", "(", ")", ";" ]
[ "SDValue", "Op", "=", "N", "->", "getOperand", "(", "<NUM_LIT>", ")", ";", "unsigned", "OpScalarSize", "=", "Op", ".", "getScalarValueSizeInBits", "(", ")", ";", "unsigned", "ShiftImm", "=", "N", "->", "getConstantOperandVal", "(", "<NUM_LIT>", ")", ";", "as...
LLVM
X86
CPP
next_suggestion
CPU
23,010
[ "IsBlend", "=", "false", ";" ]
[ "}", "if", "(", "isTargetShuffleEquivalent", "(", "MaskVT", ",", "Mask", ",", "{", "<NUM_LIT>", ",", "<NUM_LIT>", ",", "<NUM_LIT>", ",", "<NUM_LIT>", "}", ")", "&&", "(", "AllowFloatDomain", "||", "!", "Subtarget", ".", "hasSSE41", "(", ")", ")", ")", "{...
GCC
rs6000
CPP
stmt_completion
CPU
23,011
[ "A", ",", "(", "_", "_", "v4sf", ")", "_", "_", "B", ")", ")", ";" ]
[ "extern", "_", "_", "inline", "_", "_", "m128", "_", "_", "attribute__", "(", "(", "_", "_", "gnu_inline__", ",", "_", "_", "always_inline__", ",", "_", "_", "artificial__", ")", ")", "_", "mm_and_ps", "(", "_", "_", "m128", "_", "_", "A", ",", "...
GCC
arm
CPP
stmt_completion
CPU
23,012
[ "const", "int", "_", "_", "c", ")", "{" ]
[ "vmulq_lane_u32", "(", "uint32x4_t", "_", "_", "a", ",", "uint32x2_t", "_", "_", "b", "," ]
GCC
pdp11
MD
program_repair
MPU
23,013
[ "<FIXS>", "[", "(", "set", "(", "match_operand", ":", "SF", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", "(", "float_truncate", ":", "SF", "(", "match_operand", ":", "DF", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", ")", ")", "]", "<FIXE>", "<FIXS>", "<STR_LI...
[ "(", "define_insn", "<STR_LIT>", "<BUGS>", "[", "(", "set", "(", "match_operand", ":", "SF", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", "(", "float_truncate", ":", "SF", "(", "match_operand", ":", "DF", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", ")", ")", ...
LLVM
AArch64
TD
stmt_completion
CPU
23,014
[ ">", "{" ]
[ "def", "mrs_sysreg_op", ":", "Operand", "<", "i32" ]
LLVM
ARM
CPP
next_suggestion
CPU
23,015
[ "}" ]
[ "case", "ARM", "::", "LDRrs", ":", "case", "ARM", "::", "t2LDRs", ":", "if", "(", "MI", ".", "getOperand", "(", "<NUM_LIT>", ")", ".", "isFI", "(", ")", "&&", "MI", ".", "getOperand", "(", "<NUM_LIT>", ")", ".", "isReg", "(", ")", "&&", "MI", "."...
LLVM
JVM
CPP
stmt_completion
Virtual ISA
23,016
[ ")", "{" ]
[ "unsigned", "getNumArguments", "(" ]
GCC
i386
CPP
stmt_completion
CPU
23,017
[ "_", "v64qi", ")", "_", "_", "W", ",", "(", "_", "_", "mmask64", ")", "_", "_", "M", ")", ";" ]
[ "return", "(", "_", "_", "m512i", ")", "_", "_", "builtin_ia32_permvarqi512_mask", "(", "(", "_", "_", "v64qi", ")", "_", "_", "B", ",", "(", "_", "_", "v64qi", ")", "_", "_", "A", ",", "(", "_" ]
LLVM
X86
CPP
stmt_completion
CPU
23,018
[ "N", ")", ";" ]
[ "SDValue", "Res", ";", "if", "(", "Subtarget", "->", "hasSSE2", "(", ")", ")", "{", "EVT", "IntVT", "=", "EVT", "(", "VecVT", ")", ".", "changeVectorElementTypeToInteger", "(", ")", ";", "Op0", "=", "CurDAG", "->", "getNode", "(", "ISD", "::", "BITCAST...
GCC
aarch64
CPP
stmt_completion
CPU
23,019
[ "->", "call_via", "[", "regnum", "]", ";" ]
[ "void", "aarch64_sls_emit_blr_function_thunks", "(", "FILE", "*", "out_file", ")", "{", "if", "(", "!", "aarch64_harden_sls_blr_p", "(", ")", ")", "return", ";", "bool", "any_functions_emitted", "=", "false", ";", "section", "*", "save_text_section", "=", "in_sect...
LLVM
BPF
CPP
code_generation
Virtual ISA
23,020
[ "unsigned", "getReg", "(", ")", "const", "override", "{", "assert", "(", "Kind", "==", "Register", "&&", "<STR_LIT>", "Invalid type access!", "<STR_LIT>", ")", ";", "return", "Reg", ".", "RegNum", ";", "}" ]
[ "Returns", "the", "register", "associated", "with", "this", "edge", "." ]
LLVM
ARM
CPP
stmt_completion
CPU
23,021
[ ")", ")", "return", "false", ";" ]
[ "if", "(", "!", "isSingleSpacedVectorIndexed", "(" ]
LLVM
M88k
CPP
next_suggestion
MPU
23,022
[ "}" ]
[ "printInstruction", "(", "MI", ",", "Address", ",", "STI", ",", "O", ")", ";", "printAnnotation", "(", "O", ",", "Annot", ")", ";" ]
LLVM
X86
CPP
program_repair
CPU
23,023
[ "<FIXS>", "<FIXE>", "<FIXS>", "if", "(", "VT", ".", "getSizeInBits", "(", ")", ">", "Op", ".", "getValueSizeInBits", "(", ")", ")", "Op", "=", "widenSubVector", "(", "Op", ",", "false", ",", "Subtarget", ",", "DAG", ",", "DL", ",", "VT", ".", "getSiz...
[ "unsigned", "NumRootElts", "=", "RootVT", ".", "getVectorNumElements", "(", ")", ";", "<BUGS>", "<BUGE>", "auto", "CanonicalizeShuffleInput", "=", "[", "&", "]", "(", "MVT", "VT", ",", "SDValue", "Op", ")", "{", "<BUGS>", "if", "(", "VT", ".", "getSizeInBi...
LLVM
AArch64
CPP
next_suggestion
CPU
23,024
[ "}", "else", "if", "(", "llvm", "::", "is_contained", "(", "StridedRange", ",", "Tuple", ".", "asMCReg", "(", ")", ")", ")", "{" ]
[ "MachineInstr", "&", "MI", "=", "*", "MBBI", ";", "Register", "Tuple", "=", "MI", ".", "getOperand", "(", "<NUM_LIT>", ")", ".", "getReg", "(", ")", ";", "auto", "ContiguousRange", "=", "ContiguousClass", ".", "getRegisters", "(", ")", ";", "auto", "Stri...
LLVM
M68k
CPP
next_suggestion
MPU
23,025
[ "return", "false", ";" ]
[ "return", "false", ";", "}", "}", "else", "if", "(", "auto", "*", "CP", "=", "dyn_cast", "<", "ConstantPoolSDNode", ">", "(", "N0", ")", ")", "{", "AM", ".", "CP", "=", "CP", "->", "getConstVal", "(", ")", ";", "AM", ".", "Alignment", "=", "CP", ...
GCC
aarch64
MD
stmt_completion
CPU
23,026
[ ")" ]
[ "(", "define_cpu_unit", "<STR_LIT>", "<STR_LIT>", ")", "(", "define_cpu_unit", "<STR_LIT>", "<STR_LIT>" ]
GCC
arm
CPP
program_repair
CPU
23,027
[ "<FIXS>", "gcc_assert", "(", "GET_CODE", "(", "operands", "[", "nops", "+", "i", "]", ")", "==", "MEM", ")", ";", "<FIXE>" ]
[ "if", "(", "GET_CODE", "(", "operands", "[", "nops", "+", "i", "]", ")", "==", "SUBREG", ")", "operands", "[", "nops", "+", "i", "]", "=", "alter_subreg", "(", "operands", "+", "(", "nops", "+", "i", ")", ")", ";", "<BUGS>", "if", "(", "GET_CODE"...
LLVM
P2
CPP
next_suggestion
MPU
23,028
[ "initAsmInfo", "(", ")", ";" ]
[ "P2TargetMachine", "::", "P2TargetMachine", "(", "const", "Target", "&", "T", ",", "const", "Triple", "&", "TT", ",", "StringRef", "CPU", ",", "StringRef", "FS", ",", "const", "TargetOptions", "&", "Options", ",", "Optional", "<", "Reloc", "::", "Model", "...
LLVM
LoongArch
CPP
stmt_completion
CPU
23,029
[ ")", "const", "override", "{" ]
[ "bool", "isXRaySupported", "(" ]
GCC
rs6000
MD
next_suggestion
CPU
23,030
[ "case", "<NUM_LIT>", ":" ]
[ "(", "unspec", ":", "SF", "[", "(", "match_operand", ":", "SF", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", "(", "match_operand", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", "]", "UNSPEC_PCREL_OPT_ST_RELOC", ")", ")", "(", "clobber", "(", "match_operand", ":", ...
LLVM
ARM
CPP
stmt_completion
CPU
23,031
[ "VT", ",", "Res", ")", ";" ]
[ "default", ":", "llvm_unreachable", "(", "<STR_LIT>", "unexpected splat element type", "<STR_LIT>", ")", ";", "break", ";", "}", "}", "else", "{", "assert", "(", "VT", ".", "is128BitVector", "(", ")", "&&", "<STR_LIT>", "unknown splat vector size", "<STR_LIT>", ")...
LLVM
PowerPC
CPP
next_suggestion
CPU
23,032
[ "return", "reverseBits", "(", "Imm", "|", "RegBits", ")", ">>", "<NUM_LIT>", ";" ]
[ "const", "MCOperand", "&", "MO", "=", "MI", ".", "getOperand", "(", "OpNo", ")", ";", "assert", "(", "MO", ".", "isImm", "(", ")", ")", ";", "uint32_t", "Imm", "=", "getMachineOpValue", "(", "MI", ",", "MO", ",", "Fixups", ",", "STI", ")", ">>", ...
GCC
sparc
CPP
stmt_completion
CPU
23,033
[ "n_global_fp_regs", ";" ]
[ "HOST_WIDE_INT", "frame_size", ",", "apparent_frame_size", ";", "int", "args_size", ",", "n_global_fp_regs", "=", "<NUM_LIT>", ";", "bool", "save_local_in_regs_p", "=", "false", ";", "unsigned", "int", "i", ";", "if", "(", "leaf_function", "&&", "!", "cfun", "->...
GCC
h8300
CPP
code_generation
MPU
23,034
[ "static", "bool", "h8300_return_in_memory", "(", "const_tree", "type", ",", "const_tree", "fntype", "ATTRIBUTE_UNUSED", ")", "{", "return", "(", "TYPE_MODE", "(", "type", ")", "==", "BLKmode", "||", "GET_MODE_SIZE", "(", "TYPE_MODE", "(", "type", ")", ")", ">"...
[ "Worker", "function", "for", "TARGET_RETURN_IN_MEMORY", "." ]
GCC
mips
MD
program_repair
CPU
23,035
[ "<FIXS>", "[", "(", "set_attr", "<STR_LIT>", "\t", "<STR_LIT>", ")", "<FIXE>" ]
[ "(", "match_operand", ":", "SF", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", ")", "]", "<STR_LIT>", "<STR_LIT>", "<BUGS>", "[", "(", "set_attr", "<STR_LIT>", "\t", "<STR_LIT>", ")", "<BUGE>", "(", "set_attr", "<STR_LIT>", "\t", "<STR_LIT>", ")", "(", "set_attr...
GCC
powerpcspe
CPP
stmt_completion
CPU
23,036
[ "ABI_DARWIN", ":" ]
[ "switch", "(", "DEFAULT_ABI", ")", "{", "default", ":", "gcc_unreachable", "(", ")", ";", "case", "ABI_AIX", ":", "{", "rtx", "fnmem", ",", "fn_reg", ",", "toc_reg", ";", "if", "(", "!", "TARGET_POINTERS_TO_NESTED_FUNCTIONS", ")", "error", "(", "<STR_LIT>", ...
GCC
arm
CPP
stmt_completion
CPU
23,037
[ "_", "_", "a", ";" ]
[ "return", "(", "float16x4_t", ")" ]
LLVM
SystemZ
TD
program_repair
CPU
23,038
[ "<FIXS>", "def", ":", "InstRW", "[", "VecBF2", ",", "LSU", ",", "Lat12", ",", "GroupAlone", "]", ",", "(", "instregex", "<STR_LIT>", ")", ">", ";", "<FIXE>", "<FIXS>", "def", ":", "InstRW", "[", "VecBF2", ",", "LSU", ",", "Lat12", ",", "GroupAlone", ...
[ "def", ":", "InstRW", "[", "VecDF2", ",", "VecDF2", ",", "Lat20", ",", "GroupAlone", "]", ",", "(", "instregex", "<STR_LIT>", ")", ">", ";", "<BUGS>", "def", ":", "InstRW", "[", "VecBF", ",", "LSU", ",", "Lat12", ",", "GroupAlone", "]", ",", "(", "...
LLVM
DirectX
CPP
stmt_completion
Virtual ISA
23,039
[ "(", ")", ";" ]
[ "NameAbbrev", "=", "Stream", ".", "EmitAbbrev", "(", "std", "::", "move", "(", "Abbv", ")", ")", ";", "}", "SmallVector", "<", "uint64_t", ",", "<NUM_LIT>", ">", "Record", ";", "writeMetadataStrings", "(", "VE", ".", "getMDStrings", "(", ")", ",", "Recor...
LLVM
X86
CPP
next_suggestion
CPU
23,040
[ "if", "(", "!", "handleAssignments", "(", "MIRBuilder", ",", "SplitArgs", ",", "Handler", ")", ")", "return", "false", ";" ]
[ "LLVMContext", "&", "Ctx", "=", "Val", "->", "getType", "(", ")", "->", "getContext", "(", ")", ";", "const", "X86TargetLowering", "&", "TLI", "=", "*", "getTLI", "<", "X86TargetLowering", ">", "(", ")", ";", "SmallVector", "<", "EVT", ",", "<NUM_LIT>", ...
LLVM
Hexagon
TD
next_suggestion
DSP
23,041
[ "let", "prefersSlot3", "=", "<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>", ";" ]
GCC
i386
MD
stmt_completion
CPU
23,042
[ "<STR_LIT>", ")" ]
[ "(", "define_reservation", "<STR_LIT>", "<STR_LIT>", ")", "(", "define_reservation", "<STR_LIT>" ]
GCC
c6x
MD
next_suggestion
VLIW
23,043
[ "(", "set_attr", "<STR_LIT>", "<STR_LIT>", ")" ]
[ "[", "(", "unspec", "[", "(", "match_operand", ":", "SI", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", "(", "mult", ":", "SI", "(", "zero_extend", ":", "SI", "(", "match_operand", ":", "HI", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", ")", "(", "match_opera...
LLVM
Hexagon
TD
next_suggestion
DSP
23,044
[ "}" ]
[ "def", "A4_vcmpbgtui", ":", "HInst", "<", "(", "outs", "PredRegs", ":", "$", "Pd4", ")", ",", "(", "ins", "DoubleRegs", ":", "$", "Rss32", ",", "u7_0Imm", ":", "$", "Ii", ")", ",", "<STR_LIT>", ",", "tc_643b4717", ",", "TypeALU64", ">", ",", "Enc_368...
LLVM
R600
CPP
next_suggestion
GPU
23,045
[ "return", "<NUM_LIT>", ";" ]
[ "case", "AMDGPU", "::", "SI_SPILL_S512_SAVE", ":", "case", "AMDGPU", "::", "SI_SPILL_S512_RESTORE", ":", "return", "<NUM_LIT>", ";", "case", "AMDGPU", "::", "SI_SPILL_S256_SAVE", ":", "case", "AMDGPU", "::", "SI_SPILL_S256_RESTORE", ":", "return", "<NUM_LIT>", ";", ...
LLVM
AArch64
TD
stmt_completion
CPU
23,046
[ "Rn", ";" ]
[ "let", "Inst", "{", "<NUM_LIT>", "}", "=", "U", ";", "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "<NUM_LIT>", ";", "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "size", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", ";", "le...
GCC
rs6000
CPP
program_repair
CPU
23,047
[ "<FIXS>", "num_insns_constant", "(", "rtx", "op", ",", "machine_mode", "mode", ")", "<FIXE>" ]
[ "}", "int", "<BUGS>", "num_insns_constant", "(", "rtx", "op", ",", "enum", "machine_mode", "mode", ")", "<BUGE>", "{", "HOST_WIDE_INT", "low", ",", "high", ";" ]
GCC
i386
CPP
next_suggestion
CPU
23,048
[ "}" ]
[ "extern", "_", "_", "inline", "_", "_", "m512i", "_", "_", "attribute__", "(", "(", "_", "_", "gnu_inline__", ",", "_", "_", "always_inline__", ",", "_", "_", "artificial__", ")", ")", "_", "mm512_cvtps_epi32", "(", "_", "_", "m512", "_", "_", "A", ...
GCC
rs6000
MD
stmt_completion
CPU
23,049
[ "]", ")" ]
[ "(", "clobber", "(", "match_scratch", ":", "DI", "<NUM_LIT>", "<STR_LIT>", ")", ")", "]", "<STR_LIT>", "<STR_LIT>", "[", "(", "set_attr", "<STR_LIT>", "<STR_LIT>", ")", "(", "set_attr", "<STR_LIT>", "<STR_LIT>", ")" ]
LLVM
PowerPC
CPP
next_suggestion
CPU
23,050
[ "return", "Flags", ";" ]
[ "return", "DAG", ".", "getNode", "(", "ISD", "::", "BITCAST", ",", "dl", ",", "Op", ".", "getValueType", "(", ")", ",", "Tmp", ")", ";", "}", "SDValue", "Ops", "[", "]", "=", "{", "Op", ".", "getOperand", "(", "<NUM_LIT>", ")", ",", "Op", ".", ...
LLVM
Cpu0
CPP
stmt_completion
CPU
23,051
[ ";" ]
[ "Data32bitsDirective", "=", "<STR_LIT>", "\\t.4byte\\t", "<STR_LIT>", ";", "Data64bitsDirective", "=", "<STR_LIT>", "\\t.8byte\\t", "<STR_LIT>", ";", "PrivateGlobalPrefix", "=", "<STR_LIT>", "$", "<STR_LIT>", ";", "PrivateLabelPrefix", "=", "<STR_LIT>", "$", "<STR_LIT>", ...
LLVM
XCore
CPP
next_suggestion
MPU
23,052
[ "return", "Chain", ";" ]
[ "for", "(", "unsigned", "i", "=", "<NUM_LIT>", ",", "e", "=", "ResultMemLocs", ".", "size", "(", ")", ";", "i", "!=", "e", ";", "++", "i", ")", "{", "int", "offset", "=", "ResultMemLocs", "[", "i", "]", ".", "first", ";", "unsigned", "index", "="...
LLVM
ARM64
TD
next_suggestion
CPU
23,053
[ "}" ]
[ "return", "(", "(", "(", "uint32_t", ")", "Imm", ")", ">", "<NUM_LIT>", ")", "&", "&", "(", "(", "(", "uint32_t", ")", "Imm", ")", "<", "<NUM_LIT>", ")", ";", "}", "]", ">", "{", "let", "EncoderMethod", "=", "<STR_LIT>", ";", "let", "DecoderMethod"...
LLVM
PowerPC
CPP
next_suggestion
CPU
23,054
[ "}" ]
[ "SDValue", "PPCTargetLowering", "::", "LowerFormalArguments", "(", "SDValue", "Chain", ",", "CallingConv", "::", "ID", "CallConv", ",", "bool", "isVarArg", ",", "const", "SmallVectorImpl", "<", "ISD", "::", "InputArg", ">", "&", "Ins", ",", "DebugLoc", "dl", "...
LLVM
Sparc
CPP
next_suggestion
CPU
23,055
[ "else", "if", "(", "RC", "==", "<STR_LIT>", "::", "<STR_LIT>", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "<STR_LIT>", "::", "<STR_LIT>", ")", ",", "DestReg", ")", ".", "addFrameIndex", "(", "FI", ")", ".", "addImm", "(", "<N...
[ "if", "(", "I", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "I", "->", "getDebugLoc", "(", ")", ";", "if", "(", "RC", "==", "<STR_LIT>", "::", "<STR_LIT>", ")", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "<STR_LIT>", ...
GCC
aarch64
CPP
stmt_completion
CPU
23,056
[ ",", "false", ")", ";" ]
[ "rtl_opt_pass", "*", "make_pass_track_speculation", "(", "gcc", "::", "context", "*", "ctxt", ")", "{", "return", "new", "pass_track_speculation", "(", "ctxt" ]
LLVM
Hexagon
TD
next_suggestion
DSP
23,057
[ "let", "isPredicated", "=", "<NUM_LIT>", ";" ]
[ "def", "J4_cmpgtui_fp1_jump_t", ":", "HInst", "<", "(", "outs", ")", ",", "(", "ins", "GeneralSubRegs", ":", "$", "Rs16", ",", "u5_0Imm", ":", "$", "II", ",", "b30_2Imm", ":", "$", "Ii", ")", ",", "<STR_LIT>", ",", "tc_3d495a39", ",", "TypeCJ", ">", ...
GCC
arm
MD
stmt_completion
CPU
23,058
[ ")", ")" ]
[ "(", "define_insn", "<STR_LIT>", "[", "(", "parallel", "[", "(", "set", "(", "pc", ")", "(", "unspec", "[", "(", "reg", ":", "SI", "<NUM_LIT>", ")", "(", "label_ref", "(", "match_operand", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>" ]
GCC
arm
CPP
next_suggestion
CPU
23,059
[ "}" ]
[ "vrev64_f32", "(", "float32x2_t", "_", "_", "a", ")", "{", "return", "(", "float32x2_t", ")", "_", "_", "builtin_shuffle", "(", "_", "_", "a", ",", "(", "uint32x2_t", ")", "{", "<NUM_LIT>", ",", "<NUM_LIT>", "}", ")", ";" ]
GCC
rs6000
MD
stmt_completion
CPU
23,060
[ ")", "]", ")" ]
[ "UNSPECV_MFFSCRN", ")", ")", "]", "<STR_LIT>", "<STR_LIT>", "[", "(", "set_attr", "<STR_LIT>", "<STR_LIT>" ]
LLVM
AMDGPU
CPP
next_suggestion
GPU
23,061
[ "}", "else", "{" ]
[ "const", "MCRegisterInfo", "*", "TRI", "=", "getContext", "(", ")", ".", "getRegisterInfo", "(", ")", ";", "if", "(", "getLexer", "(", ")", ".", "is", "(", "AsmToken", "::", "Identifier", ")", ")", "{", "StringRef", "RegName", "=", "Parser", ".", "getT...
GCC
rs6000
CPP
next_suggestion
CPU
23,062
[ "}" ]
[ "if", "(", "(", "(", "const", "struct", "toc_hash_struct", "*", ")", "h1", ")", "->", "key_mode", "!=", "(", "(", "const", "struct", "toc_hash_struct", "*", ")", "h2", ")", "->", "key_mode", ")", "return", "<NUM_LIT>", ";", "return", "rtx_equal_p", "(", ...
LLVM
Mips
CPP
next_suggestion
CPU
23,063
[ "}" ]
[ "MCAssembler", "&", "MCA", "=", "getStreamer", "(", ")", ".", "getAssembler", "(", ")", ";", "MCContext", "&", "Context", "=", "MCA", ".", "getContext", "(", ")", ";", "MCStreamer", "&", "OS", "=", "getStreamer", "(", ")", ";", "MCSectionELF", "*", "Se...
LLVM
Hexagon
TD
stmt_completion
DSP
23,064
[ "<NUM_LIT>", ";" ]
[ "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "<NUM_LIT>", ";", "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "<NUM_LIT>", ";", "let", "prefersSlot3", "=" ]
GCC
i386
CPP
stmt_completion
CPU
23,065
[ "_", "artificial__", ")", ")", "_", "mm512_maskz_cvttph_epi16", "(", "_", "_", "mmask32", "_", "_", "A", ",", "_", "_", "m512h", "_", "_", "B", ")", "{" ]
[ "extern", "_", "_", "inline", "_", "_", "m512i", "_", "_", "attribute__", "(", "(", "_", "_", "gnu_inline__", ",", "_", "_", "always_inline__", ",", "_" ]
LLVM
AMDGPU
CPP
next_suggestion
GPU
23,066
[ "if", "(", "DoShiftOpt", ")", "{" ]
[ "unsigned", "AS", "=", "KernArgSegment", "->", "getType", "(", ")", "->", "getPointerAddressSpace", "(", ")", ";", "uint64_t", "ExplicitArgOffset", "=", "<NUM_LIT>", ";", "for", "(", "Argument", "&", "Arg", ":", "F", ".", "args", "(", ")", ")", "{", "Typ...
LLVM
AVR
CPP
code_generation
MPU
23,067
[ "AVRTargetLowering", "::", "ConstraintType", "AVRTargetLowering", "::", "getConstraintType", "(", "StringRef", "Constraint", ")", "const", "{", "if", "(", "Constraint", ".", "size", "(", ")", "==", "<NUM_LIT>", ")", "{", "switch", "(", "Constraint", "[", "<NUM_L...
[ "Given", "a", "constraint", "letter", ",", "return", "the", "type", "of", "constraint", "for", "this", "target", "." ]
LLVM
AMDGPU
CPP
stmt_completion
GPU
23,068
[ "Op", ".", "getNode", "(", ")", ",", "<NUM_LIT>", ")", "}", ",", "DL", ")", ";" ]
[ "MachineMemOperand", "*", "OpDWordsMMO", "=", "MF", ".", "getMachineMemOperand", "(", "MMO", ",", "<NUM_LIT>", ",", "NumOpDWords", "*", "<NUM_LIT>", ")", ";", "SDValue", "Op", "=", "getMemIntrinsicNode", "(", "Opcode", ",", "DL", ",", "OpDWordsVTList", ",", "O...
LLVM
SystemZ
CPP
next_suggestion
CPU
23,069
[ "}" ]
[ "switch", "(", "ScalarBits", ")", "{", "case", "<NUM_LIT>", ":", "{", "if", "(", "ST", "->", "hasVectorEnhancements1", "(", ")", ")", "return", "NumVectors", ";", "unsigned", "ScalarCost", "=", "getArithmeticInstrCost", "(", "Opcode", ",", "Ty", "->", "getSc...
GCC
mips
MD
next_suggestion
CPU
23,070
[ "(", "eq_attr", "<STR_LIT>", "<STR_LIT>", ")", ")" ]
[ "(", "define_insn_reservation", "<STR_LIT>", "<NUM_LIT>", "(", "and", "(", "eq_attr", "<STR_LIT>", "<STR_LIT>", ")" ]
LLVM
Mips
CPP
stmt_completion
CPU
23,071
[ "GO", ",", "TM", ",", "Kind", ")", ")", "return", "SmallDataSection", ";" ]
[ "if", "(", "Kind", ".", "isBSS", "(", ")", "&&", "IsGlobalInSmallSection", "(", "GO", ",", "TM", ",", "Kind", ")", ")", "return", "SmallBSSSection", ";", "if", "(", "Kind", ".", "isData", "(", ")", "&&", "IsGlobalInSmallSection", "(" ]
GCC
arm
CPP
next_suggestion
CPU
23,072
[ "}" ]
[ "vdup_lane_u64", "(", "uint64x1_t", "_", "_", "a", ",", "const", "int", "_", "_", "b", ")", "{", "return", "(", "uint64x1_t", ")", "_", "_", "builtin_neon_vdup_lanedi", "(", "(", "int64x1_t", ")", "_", "_", "a", ",", "_", "_", "b", ")", ";" ]
LLVM
M68k
CPP
program_repair
MPU
23,073
[ "<FIXS>", "const", "MachineFrameInfo", "&", "MFI", "=", "MBB", ".", "getParent", "(", ")", "->", "getFrameInfo", "(", ")", ";", "assert", "(", "MFI", ".", "getObjectSize", "(", "FrameIndex", ")", ">=", "TRI", "->", "getSpillSize", "(", "*", "RC", ")", ...
[ "int", "FrameIndex", ",", "const", "TargetRegisterClass", "*", "RC", ",", "const", "TargetRegisterInfo", "*", "TRI", ")", "const", "{", "<BUGS>", "const", "MachineFunction", "&", "MF", "=", "*", "MBB", ".", "getParent", "(", ")", ";", "assert", "(", "MF", ...
GCC
m68k
MD
program_repair
MPU
23,074
[ "<FIXS>", "<STR_LIT>", "[", "(", "set_attr", "<STR_LIT>", "<STR_LIT>", ")", "]", ")", "<FIXE>" ]
[ "[", "(", "set", "(", "match_operand", ":", "SI", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", "(", "clz", ":", "SI", "(", "match_operand", ":", "SI", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", ")", ")", "]", "<STR_LIT>", "<BUGS>", "<STR_LIT>", ")", "<BUGE...
GCC
avr
CPP
program_repair
MPU
23,075
[ "<FIXS>", "#", "define", "X_NODEVLIB", "<STR_LIT>", "%<nodevicelib %<nodevicespecs", "<STR_LIT>", "<FIXE>" ]
[ "#", "include", "<STR_LIT>", "diagnostic.h", "<STR_LIT>", "#", "include", "<STR_LIT>", "tm.h", "<STR_LIT>", "<BUGS>", "#", "define", "X_NODEVLIB", "<STR_LIT>", "%<nodevicelib", "<STR_LIT>", "<BUGE>", "static", "const", "char", "dir_separator_str", "[", "]", "=", "{"...
GCC
mips
CPP
program_repair
CPU
23,076
[ "<FIXS>", "if", "(", "mode", "==", "DImode", "||", "mode", "==", "DFmode", "||", "mode", "==", "DQmode", "||", "mode", "==", "UDQmode", "||", "mode", "==", "DAmode", "||", "mode", "==", "UDAmode", ")", "<FIXE>" ]
[ "int", "size", ";", "<BUGS>", "if", "(", "mode", "==", "DImode", "||", "mode", "==", "DFmode", ")", "<BUGE>", "return", "<NUM_LIT>", ";", "size", "=", "type", "?", "int_size_in_bytes", "(", "type", ")", ":", "GET_MODE_SIZE", "(", "mode", ")", ";" ]
LLVM
AAP
CPP
stmt_completion
MPU
23,077
[ "::", "createImm", "(", "CE", "->", "getValue", "(", ")", ")", ")", ";" ]
[ "else", "if", "(", "const", "MCConstantExpr", "*", "CE", "=", "dyn_cast", "<", "MCConstantExpr", ">", "(", "Expr", ")", ")", "Inst", ".", "addOperand", "(", "MCOperand" ]
LLVM
Mips
CPP
next_suggestion
CPU
23,078
[ "}" ]
[ "MachineInstrBuilder", "emitInstStore", "(", "unsigned", "Opc", ",", "unsigned", "SrcReg", ",", "unsigned", "MemReg", ",", "int64_t", "MemOffset", ")", "{", "return", "emitInst", "(", "Opc", ")", ".", "addReg", "(", "SrcReg", ")", ".", "addReg", "(", "MemReg...
LLVM
X86
CPP
stmt_completion
CPU
23,079
[ ",", "DAG", ")", ";" ]
[ "const", "GlobalValue", "*", "GV", "=", "cast", "<", "GlobalAddressSDNode", ">", "(", "Op", ")", "->", "getGlobal", "(", ")", ";", "int64_t", "Offset", "=", "cast", "<", "GlobalAddressSDNode", ">", "(", "Op", ")", "->", "getOffset", "(", ")", ";", "ret...
GCC
rs6000
MD
program_repair
CPU
23,080
[ "<FIXS>", "<STR_LIT>", "<FIXE>" ]
[ "<STR_LIT>", "<STR_LIT>", "<BUGS>", "<STR_LIT>", "<BUGE>", "[", "(", "pc", ")", "]", "{", "rtx", "dest", "=", "operands", "[", "<NUM_LIT>", "]" ]
LLVM
MBlaze
CPP
stmt_completion
MPU
23,081
[ "f32", ";" ]
[ "return", "VT", "!=", "MVT", "::" ]
GCC
aarch64
MD
next_suggestion
CPU
23,082
[ "}" ]
[ "<STR_LIT>", ")", "(", "match_operand", "<NUM_LIT>", "<STR_LIT>", ")", ")", ")", "]", "<STR_LIT>", "[", "(", "set", "(", "match_dup", "<NUM_LIT>", ")", "(", "zero_extend", ":", "DI", "(", "lshiftrt", ":", "SI", "(", "match_dup", "<NUM_LIT>", ")", "(", "m...
LLVM
ARM
CPP
next_suggestion
CPU
23,083
[ "if", "(", "Subtarget", "->", "hasFPARMv8Base", "(", ")", "&&", "!", "(", "isFloatingPointZero", "(", "RHS", ")", "&&", "TrueVal", ".", "getValueType", "(", ")", "!=", "MVT", "::", "f16", ")", "&&", "(", "TrueVal", ".", "getValueType", "(", ")", "==", ...
[ "}", "SDValue", "LHS", "=", "Op", ".", "getOperand", "(", "<NUM_LIT>", ")", ";", "SDValue", "RHS", "=", "Op", ".", "getOperand", "(", "<NUM_LIT>", ")", ";", "ISD", "::", "CondCode", "CC", "=", "cast", "<", "CondCodeSDNode", ">", "(", "Op", ".", "getO...
LLVM
WebAssembly
CPP
next_suggestion
Virtual ISA
23,084
[ "WasmSym", "->", "setParams", "(", "std", "::", "move", "(", "Params", ")", ")", ";" ]
[ "uint8_t", "(", "Subtarget", ".", "hasAddr64", "(", ")", "?", "<STR_LIT>", "::", "<STR_LIT>", ":", "<STR_LIT>", "::", "<STR_LIT>", ")", ",", "true", "}", ")", ";", "return", "WasmSym", ";", "}", "SmallVector", "<", "<STR_LIT>", "::", "<STR_LIT>", ",", "<...
LLVM
SPIRV
TD
stmt_completion
Virtual ISA
23,085
[ ">", ";" ]
[ "def", "OpUMulExtended", ":", "BinOp", "<", "<STR_LIT>", ",", "<NUM_LIT>" ]
GCC
powerpcspe
CPP
next_suggestion
CPU
23,086
[ "return", "<STR_LIT>", "<STR_LIT>", ";" ]
[ "int", "i", ",", "j", ";", "int", "words", "=", "XVECLEN", "(", "operands", "[", "<NUM_LIT>", "]", ",", "<NUM_LIT>", ")", ";", "rtx", "xop", "[", "<NUM_LIT>", "]", ";", "if", "(", "XVECLEN", "(", "operands", "[", "<NUM_LIT>", "]", ",", "<NUM_LIT>", ...
GCC
mips
CPP
code_generation
CPU
23,087
[ "static", "rtx_insn", "*", "mips_call_tls_get_addr", "(", "rtx", "sym", ",", "enum", "mips_symbol_type", "type", ",", "rtx", "v0", ")", "{", "rtx", "loc", ",", "a0", ";", "rtx_insn", "*", "insn", ";", "a0", "=", "gen_rtx_REG", "(", "Pmode", ",", "GP_ARG_...
[ "Return", "an", "instruction", "sequence", "that", "calls", "__tls_get_addr", ".", "SYM", "is", "the", "TLS", "symbol", "we", "are", "referencing", "and", "TYPE", "is", "the", "symbol", "type", "to", "use", "(", "either", "global", "dynamic", "or", "local", ...
GCC
arm
CPP
code_generation
CPU
23,088
[ "static", "rtx", "arm_expand_neon_builtin", "(", "int", "fcode", ",", "tree", "exp", ",", "rtx", "target", ")", "{", "if", "(", "!", "TARGET_NEON", ")", "{", "fatal_error", "(", "input_location", ",", "<STR_LIT>", "You must enable NEON instructions (e.g. -mfloat-abi...
[ "Expand", "a", "Neon", "builtin", ",", "i.e", ".", "those", "registered", "only", "if", "TARGET_NEON", "holds", ".", "Most", "of", "these", "are", "``", "special", "''", "because", "they", "do", "n't", "have", "symbolic", "constants", "defined", "per-instruc...
LLVM
ARM
CPP
stmt_completion
CPU
23,089
[ "const", "MachineFunction", "*", "MF", ")", "const", "{" ]
[ "const", "uint16_t", "*", "ARMBaseRegisterInfo", "::", "getCalleeSavedRegs", "(" ]
LLVM
Hexagon
TD
next_suggestion
DSP
23,090
[ "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "<NUM_LIT>", ";" ]
[ "def", "A2_vmaxb", ":", "HInst", "<", "(", "outs", "DoubleRegs", ":", "$", "Rdd32", ")", ",", "(", "ins", "DoubleRegs", ":", "$", "Rtt32", ",", "DoubleRegs", ":", "$", "Rss32", ")", ",", "<STR_LIT>", ",", "tc_779080bf", ",", "TypeALU64", ">", ",", "E...
LLVM
MBlaze
CPP
program_repair
MPU
23,091
[ "<FIXS>", "default", ":", "llvm_unreachable", "(", "<STR_LIT>", "Cannot fixup unknown value.", "<STR_LIT>", ")", ";", "case", "<NUM_LIT>", ":", "llvm_unreachable", "(", "<STR_LIT>", "Cannot fixup 1 byte value.", "<STR_LIT>", ")", ";", "case", "<NUM_LIT>", ":", "llvm_unr...
[ "void", "ELFMBlazeAsmBackend", "::", "ApplyFixup", "(", "const", "MCFixup", "&", "Fixup", ",", "MCDataFragment", "&", "DF", ",", "uint64_t", "Value", ")", "const", "{", "unsigned", "Size", "=", "getFixupKindSize", "(", "Fixup", ".", "getKind", "(", ")", ")",...
LLVM
Hexagon
CPP
next_suggestion
DSP
23,092
[ "return", "Sym", ";" ]
[ "}", "else", "{", "assert", "(", "Imm", ".", "isExpr", "(", ")", "&&", "<STR_LIT>", "Expected expression and found none", "<STR_LIT>", ")", ";", "const", "MachineOperand", "&", "MO", "=", "MI", ".", "getOperand", "(", "<NUM_LIT>", ")", ";", "assert", "(", ...
LLVM
Mips
CPP
next_suggestion
CPU
23,093
[ "if", "(", "And1", ".", "getOpcode", "(", ")", "!=", "ISD", "::", "AND", ")", "return", "SDValue", "(", ")", ";" ]
[ "if", "(", "DCI", ".", "isBeforeLegalizeOps", "(", ")", "||", "!", "Subtarget", ".", "hasExtractInsert", "(", ")", ")", "return", "SDValue", "(", ")", ";", "SDValue", "And0", "=", "N", "->", "getOperand", "(", "<NUM_LIT>", ")", ",", "And1", "=", "N", ...
GCC
rs6000
CPP
program_repair
CPU
23,094
[ "<FIXS>", "gcc_assert", "(", "SYMBOL_REF_P", "(", "tmp", ")", ")", ";", "<FIXE>" ]
[ "tmp", "=", "XEXP", "(", "XEXP", "(", "tmp", ",", "<NUM_LIT>", ")", ",", "<NUM_LIT>", ")", ";", "}", "<BUGS>", "gcc_assert", "(", "GET_CODE", "(", "tmp", ")", "==", "SYMBOL_REF", ")", ";", "<BUGE>", "model", "=", "SYMBOL_REF_TLS_MODEL", "(", "tmp", ")"...
LLVM
HSAIL
CPP
next_suggestion
Virtual ISA
23,095
[ "if", "(", "!", "nameStr", ".", "compare", "(", "<NUM_LIT>", ",", "nameStr", ".", "length", "(", ")", "-", "<NUM_LIT>", ",", "argName", ")", ")", "return", "true", ";" ]
[ "if", "(", "!", "GV", "||", "!", "GV", "->", "hasInitializer", "(", ")", ")", "return", "false", ";", "const", "ConstantArray", "*", "CA", "=", "dyn_cast", "<", "ConstantArray", ">", "(", "GV", "->", "getInitializer", "(", ")", ")", ";", "if", "(", ...
LLVM
SystemZ
TD
next_suggestion
CPU
23,096
[ "}" ]
[ "class", "InherentRRE", "<", "string", "mnemonic", ",", "bits", "<", "<NUM_LIT>", ">", "opcode", ",", "RegisterOperand", "cls", ",", "SDPatternOperator", "operator", ">", ":", "InstRRE", "<", "opcode", ",", "(", "outs", "cls", ":", "$", "R1", ")", ",", "...
LLVM
WebAssembly
CPP
program_repair
Virtual ISA
23,097
[ "<FIXS>", "FixupKind", "=", "MCFixupKind", "(", "WebAssembly", "::", "fixup_uleb128_i32", ")", ";", "<FIXE>" ]
[ "case", "WebAssembly", "::", "OPERAND_TYPEINDEX", ":", "case", "WebAssembly", "::", "OPERAND_GLOBAL", ":", "case", "WebAssembly", "::", "OPERAND_EVENT", ":", "<BUGS>", "FixupKind", "=", "MCFixupKind", "(", "WebAssembly", "::", "fixup_code_uleb128_i32", ")", ";", "<B...
LLVM
AArch64
TD
next_suggestion
CPU
23,098
[ "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "MRm", ";" ]
[ "def", "SQDMULHssv_4S", ":", "NeonI_ScalarXIndexedElemArith", "<", "<STR_LIT>", ",", "<NUM_LIT>", ",", "<STR_LIT>", ",", "<NUM_LIT>", ",", "<NUM_LIT>", ",", "<NUM_LIT>", ",", "FPR32", ",", "FPR32", ",", "VPR128", ",", "neon_uimm2_bare", ">", "{", "let", "Inst", ...
LLVM
TPC
TD
stmt_completion
Virtual ISA
23,099
[ "=", "<NUM_LIT>", ";" ]
[ "let", "Pattern", "=", "pattern", ";", "let", "Itinerary", "=", "IIC_LoadComplexOp", ";", "let", "isNotUsedInDisasm", "=", "<NUM_LIT>", ";", "bits", "<", "<NUM_LIT>", ">", "dest", ";", "bits", "<", "<NUM_LIT>", ">", "tensor", ";", "bits", "<", "<NUM_LIT>", ...