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
SystemZ
CPP
next_suggestion
CPU
39,600
[ "}" ]
[ "if", "(", "(", "Value", "==", "-", "<NUM_LIT>", "&&", "C", ".", "CCMask", "==", "<STR_LIT>", "::", "<STR_LIT>", ")", "||", "(", "Value", "==", "-", "<NUM_LIT>", "&&", "C", ".", "CCMask", "==", "<STR_LIT>", "::", "<STR_LIT>", ")", "||", "(", "Value",...
LLVM
PowerPC
CPP
next_suggestion
CPU
39,601
[ "const", "SCEVConstant", "*", "PHIBasePtrIncSCEV", "=", "dyn_cast", "<", "SCEVConstant", ">", "(", "PHIBasePtrSCEV", "->", "getStepRecurrence", "(", "*", "SE", ")", ")", ";" ]
[ "BasicBlock", "*", "LatchBB", "=", "L", "->", "getLoopLatch", "(", ")", ";", "if", "(", "!", "PredBB", "||", "!", "LatchBB", ")", "return", "false", ";", "iterator_range", "<", "BasicBlock", "::", "phi_iterator", ">", "PHIIter", "=", "BB", "->", "phis", ...
LLVM
AArch64
TD
next_suggestion
CPU
39,602
[ "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "Rn", ";" ]
[ "class", "AuthBranchTwoOperands", "<", "bits", "<", "<NUM_LIT>", ">", "op", ",", "bits", "<", "<NUM_LIT>", ">", "M", ",", "string", "asm", ">", ":", "AuthBase", "<", "M", ",", "(", "outs", ")", ",", "(", "ins", "GPR64", ":", "$", "Rn", ",", "GPR64s...
LLVM
SPIRV
CPP
next_suggestion
Virtual ISA
39,603
[ "if", "(", "ST", "->", "isOpenCLEnv", "(", ")", "&&", "!", "M", ".", "getNamedMetadata", "(", "<STR_LIT>", "spirv.ExecutionMode", "<STR_LIT>", ")", "&&", "!", "M", ".", "getNamedMetadata", "(", "<STR_LIT>", "opencl.enable.FP_CONTRACT", "<STR_LIT>", ")", ")", "...
[ "Register", "FReg", "=", "MAI", "->", "getFuncReg", "(", "&", "F", ")", ";", "assert", "(", "FReg", ".", "isValid", "(", ")", ")", ";", "if", "(", "MDNode", "*", "Node", "=", "F", ".", "getMetadata", "(", "<STR_LIT>", "reqd_work_group_size", "<STR_LIT>...
LLVM
Hexagon
CPP
stmt_completion
DSP
39,604
[ "(", ")", "{" ]
[ "FunctionPass", "*", "llvm", "::", "createHexagonTfrCleanup" ]
LLVM
Hexagon
TD
next_suggestion
DSP
39,605
[ "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "Rs32", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", ";" ]
[ "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "Ii", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", ";", "bits", "<", "<NUM_LIT>", ">", "Rs32", ";" ]
GCC
mt
CPP
program_repair
CPU
39,606
[ "<FIXS>", ";", ";", "Suffix", "specifying", "source", "operand", "format", "<FIXE>" ]
[ "(", "define_mode_attr", "round", "[", "(", "SF", "<STR_LIT>", "%$", "<STR_LIT>", ")", "(", "DF", "<STR_LIT>", "%&", "<STR_LIT>", ")", "(", "XF", "<STR_LIT>", "<STR_LIT>", ")", "]", ")", "(", "define_mode_attr", "round_mul", "[", "(", "SF", "<STR_LIT>", "s...
LLVM
Hexagon
TD
stmt_completion
DSP
39,607
[ ",", "<NUM_LIT>", ",", "<NUM_LIT>", ",", "<NUM_LIT>", ">", ";" ]
[ "def", "A2_vavgwr", ":", "T_VectALU_64", "<", "<STR_LIT>", ",", "<NUM_LIT>", ",", "<NUM_LIT>", ",", "<NUM_LIT>" ]
GCC
rs6000
CPP
stmt_completion
CPU
39,608
[ ")", ")", "return", "true", ";" ]
[ "if", "(", "DECIMAL_FLOAT_MODE_P", "(", "mode", ")", ")", "return", "default_decimal_float_supported_p", "(", ")", ";", "else", "if", "(", "TARGET_FLOAT128_TYPE", "&&", "(", "mode", "==", "KFmode", "||", "mode", "==", "IFmode" ]
GCC
avr
CPP
program_repair
MPU
39,609
[ "<FIXS>", "machine_mode", "loop_mode", ";", "<FIXE>" ]
[ "avr_emit_movmemhi", "(", "rtx", "*", "xop", ")", "{", "HOST_WIDE_INT", "count", ";", "<BUGS>", "enum", "machine_mode", "loop_mode", ";", "<BUGE>", "addr_space_t", "as", "=", "MEM_ADDR_SPACE", "(", "xop", "[", "<NUM_LIT>", "]", ")", ";", "rtx", "loop_reg", "...
GCC
aarch64
CPP
next_suggestion
CPU
39,610
[ "}" ]
[ "for", "(", "tree", "field", "=", "TYPE_FIELDS", "(", "type", ")", ";", "field", ";", "field", "=", "DECL_CHAIN", "(", "field", ")", ")", "if", "(", "TREE_CODE", "(", "field", ")", "==", "FIELD_DECL", ")", "return", "field", ";", "gcc_unreachable", "("...
LLVM
X86
CPP
program_repair
CPU
39,611
[ "<FIXS>", "if", "(", "Subtarget", "->", "hasXMMInt", "(", ")", ")", "{", "<FIXE>" ]
[ "}", "}", "<BUGS>", "if", "(", "Subtarget", "->", "hasSSE2", "(", ")", "||", "Subtarget", "->", "hasAVX", "(", ")", ")", "{", "<BUGE>", "setOperationAction", "(", "ISD", "::", "SRL", ",", "MVT", "::", "v2i64", ",", "Custom", ")", ";", "setOperationActi...
GCC
powerpcspe
CPP
next_suggestion
CPU
39,612
[ "rs6000_emit_le_vsx_load", "(", "dest", ",", "source", ",", "mode", ")", ";" ]
[ "void", "rs6000_emit_le_vsx_move", "(", "rtx", "dest", ",", "rtx", "source", ",", "machine_mode", "mode", ")", "{", "gcc_assert", "(", "!", "BYTES_BIG_ENDIAN", "&&", "VECTOR_MEM_VSX_P", "(", "mode", ")", "&&", "!", "TARGET_P9_VECTOR", "&&", "!", "gpr_or_gpr_p", ...
GCC
visium
MD
stmt_completion
Virtual ISA
39,613
[ "<NUM_LIT>", ")" ]
[ "(", "define_insn", "<STR_LIT>", "[", "(", "set", "(", "zero_extract", ":", "SI", "(", "match_operand", ":", "SI", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", "(", "const_int" ]
GCC
arm
MD
stmt_completion
CPU
39,614
[ ")", ")", "]", ")", "]" ]
[ "[", "(", "set", "(", "match_operand", ":", "SI", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", "(", "mem", ":", "SI", "(", "plus", ":", "SI", "(", "match_operand", ":", "SI", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", "(", "const_int", "<NUM_LIT>", ")", ...
LLVM
Mips
CPP
next_suggestion
CPU
39,615
[ "if", "(", "FirstIdx", "<", "<NUM_LIT>", ")", "State", ".", "addLoc", "(", "CCValAssign", "::", "getReg", "(", "ValNo", ",", "ValVT", ",", "Mips64IntRegs", "[", "FirstIdx", "]", ",", "LocVT", ",", "LocInfo", ")", ")", ";" ]
[ "unsigned", "Size", "=", "(", "ArgFlags", ".", "getByValSize", "(", ")", "+", "<NUM_LIT>", ")", "/", "<NUM_LIT>", "*", "<NUM_LIT>", ";", "unsigned", "FirstIdx", "=", "State", ".", "getFirstUnallocated", "(", "Mips64IntRegs", ",", "<NUM_LIT>", ")", ";", "asse...
GCC
arm
CPP
program_repair
CPU
39,616
[ "<FIXS>", "rtx_insn", "*", "insn", ";", "<FIXE>" ]
[ "intarm_debugger_arg_offset", "(", "int", "value", ",", "rtx", "addr", ")", "{", "<BUGS>", "rtx", "insn", ";", "<BUGE>", "if", "(", "value", "!=", "<NUM_LIT>", ")" ]
LLVM
ARM
TD
stmt_completion
CPU
39,617
[ "#", "NumAddr", ">", ";" ]
[ "foreach", "NumAddr", "=", "<NUM_LIT>", "-", "<NUM_LIT>", "in", "{", "def", "SwiftLMAddr", "#", "NumAddr", "#", "Pred", ":", "SchedPredicate", "<", "<STR_LIT>" ]
LLVM
Hexagon
TD
next_suggestion
DSP
39,618
[ "let", "hasNewValue", "=", "<NUM_LIT>", ";" ]
[ "def", "A2_minu", ":", "HInst", "<", "(", "outs", "IntRegs", ":", "$", "Rd32", ")", ",", "(", "ins", "IntRegs", ":", "$", "Rt32", ",", "IntRegs", ":", "$", "Rs32", ")", ",", "<STR_LIT>", ",", "tc_779080bf", ",", "TypeALU64", ">", ",", "Enc_bd6011", ...
LLVM
ARM64
TD
stmt_completion
CPU
39,619
[ ",", "<NUM_LIT>", ",", "GPR64", ",", "<STR_LIT>", ">", ";" ]
[ "def", "LDRSHXpost", ":", "LoadPostIdx", "<", "<NUM_LIT>", ",", "<NUM_LIT>" ]
LLVM
Patmos
CPP
stmt_completion
VLIW
39,620
[ "++", "i", ")", "{" ]
[ "bool", "MCallGraph", "::", "isInSCC", "(", "MachineInstr", "*", "MI", ")", "{", "if", "(", "!", "MI", ")", "return", "false", ";", "MachineBasicBlock", "*", "MBB", "=", "MI", "->", "getParent", "(", ")", ";", "MachineFunction", "*", "MF", "=", "MBB", ...
GCC
sparc
MD
stmt_completion
CPU
39,621
[ "<STR_LIT>", ")", ")", ")", "]" ]
[ "[", "(", "set", "(", "match_operand", ":", "DF", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", "(", "sqrt", ":", "DF", "(", "match_operand", ":", "DF", "<NUM_LIT>", "<STR_LIT>" ]
GCC
i386
CPP
stmt_completion
CPU
39,622
[ ",", "_", "_", "count", ")", ";" ]
[ "extern", "_", "_", "inline", "_", "_", "m64", "_", "_", "attribute__", "(", "(", "_", "_", "gnu_inline__", ",", "_", "_", "always_inline__", ",", "_", "_", "artificial__", ")", ")", "_", "mm_srai_pi16", "(", "_", "_", "m64", "_", "_", "m", ",", ...
LLVM
Sparc
CPP
next_suggestion
CPU
39,623
[ "}" ]
[ "SparcTargetMachine", "::", "SparcTargetMachine", "(", "const", "Target", "&", "T", ",", "StringRef", "TT", ",", "StringRef", "CPU", ",", "StringRef", "FS", ",", "const", "TargetOptions", "&", "Options", ",", "Reloc", "::", "Model", "RM", ",", "CodeModel", "...
GCC
c6x
MD
next_suggestion
VLIW
39,624
[ "(", "set_attr", "<STR_LIT>", "<STR_LIT>", ")" ]
[ "(", "define_insn", "<STR_LIT>", "[", "(", "set", "(", "match_operand", ":", "SI", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", "(", "mult", ":", "SI", "(", "zero_extend", ":", "SI", "(", "match_operand", ":", "HI", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")",...
LLVM
AMDGPU
CPP
code_generation
GPU
39,625
[ "bool", "AMDGPUPromoteAlloca", "::", "doInitialization", "(", "Module", "&", "M", ")", "{", "if", "(", "!", "TM", ")", "return", "false", ";", "Mod", "=", "&", "M", ";", "MDBuilder", "MDB", "(", "Mod", "->", "getContext", "(", ")", ")", ";", "MaxWork...
[ "Set", "up", "the", "AsmPrinter", "when", "we", "are", "working", "on", "a", "new", "module", "." ]
LLVM
PowerPC
TD
program_repair
CPU
39,626
[ "<FIXS>", "(", "outs", "vsrc", ":", "$", "XT", ")", ",", "(", "ins", "vsrc", ":", "$", "XA", ",", "vsrc", ":", "$", "XB", ",", "u2imm", ":", "$", "D", ")", ",", "<STR_LIT>", ",", "IIC_VecPerm", ",", "<FIXE>", "<FIXS>", "imm32SExt16", ":", "$", ...
[ "<STR_LIT>", ",", "IIC_VecPerm", ",", "[", "]", ">", ";", "def", "XXPERMDI", ":", "XX3Form_2", "<NUM_LIT>", ",", "<NUM_LIT>", ",", "<BUGS>", "(", "outs", "vsrc", ":", "$", "XT", ")", ",", "(", "ins", "vsrc", ":", "$", "XA", ",", "vsrc", ":", "$", ...
LLVM
AMDGPU
CPP
next_suggestion
GPU
39,627
[ "}" ]
[ "if", "(", "getForcedEncodingSize", "(", ")", "==", "<NUM_LIT>", ")", "{", "static", "const", "unsigned", "Variants", "[", "]", "=", "{", "AMDGPUAsmVariants", "::", "DEFAULT", "}", ";", "return", "makeArrayRef", "(", "Variants", ")", ";", "}", "if", "(", ...
LLVM
Hexagon
TD
next_suggestion
DSP
39,628
[ "let", "InputType", "=", "<STR_LIT>", ";" ]
[ "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "<NUM_LIT>", ";", "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "<NUM_LIT>", ";", "let", "CextOpcode", "=", "<STR_LIT>", ";" ]
GCC
i386
CPP
next_suggestion
CPU
39,629
[ "}" ]
[ "case", "QUAL_UNION_TYPE", ":", "{", "tree", "field", ";", "for", "(", "field", "=", "TYPE_FIELDS", "(", "type", ")", ";", "field", ";", "field", "=", "DECL_CHAIN", "(", "field", ")", ")", "{", "if", "(", "TREE_CODE", "(", "field", ")", "==", "FIELD_...
LLVM
AMDGPU
CPP
stmt_completion
GPU
39,630
[ "AMDGPUASI", ".", "CONSTANT_ADDRESS", "||", "N", "->", "getAddressSpace", "(", ")", "==", "AMDGPUASI", ".", "CONSTANT_ADDRESS_32BIT", ";" ]
[ "if", "(", "CbId", "==", "-", "<NUM_LIT>", ")", "return", "N", "->", "getAddressSpace", "(", ")", "==" ]
LLVM
ARM
CPP
stmt_completion
CPU
39,631
[ ">", "Mask", ",", "unsigned", "Index", ")", "{" ]
[ "static", "unsigned", "SelectPairHalf", "(", "unsigned", "Elements", ",", "ArrayRef", "<", "int" ]
LLVM
Hexagon
TD
stmt_completion
DSP
39,632
[ "<NUM_LIT>", "}", ";" ]
[ "def", "J4_tstbit0_tp0_jump_nt", ":", "HInst", "<", "(", "outs", ")", ",", "(", "ins", "GeneralSubRegs", ":", "$", "Rs16", ",", "b30_2Imm", ":", "$", "Ii", ")", ",", "<STR_LIT>", ",", "tc_2332b92e", ",", "TypeCJ", ">", ",", "Enc_ad1c74", "{", "let", "I...
LLVM
ARM
TD
next_suggestion
CPU
39,633
[ "let", "ParserMethod", "=", "<STR_LIT>", ";" ]
[ "def", "PostIdxRegShiftedAsmOperand", ":", "AsmOperandClass", "{", "let", "Name", "=", "<STR_LIT>", ";" ]
LLVM
PowerPC
CPP
stmt_completion
CPU
39,634
[ ")", ",", "DestReg", ")", ".", "addImm", "(", "<NUM_LIT>", ")", ".", "addReg", "(", "TmpReg2", ")", ";" ]
[ "MachineMemOperand", "*", "MMO", "=", "FuncInfo", ".", "MF", "->", "getMachineMemOperand", "(", "MachinePointerInfo", "::", "getConstantPool", "(", "*", "FuncInfo", ".", "MF", ")", ",", "MachineMemOperand", "::", "MOLoad", ",", "(", "VT", "==", "MVT", "::", ...
LLVM
SystemZ
TD
next_suggestion
CPU
39,635
[ "let", "Inst", "{", "<NUM_LIT>", "}", "=", "V3", "{", "<NUM_LIT>", "}", ";" ]
[ "bits", "<", "<NUM_LIT>", ">", "M4", ";", "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "op", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", ";", "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "V1", "{", "<NUM_LIT>", "-", "<NUM...
GCC
aarch64
MD
stmt_completion
CPU
39,636
[ "const_int", "<NUM_LIT>", ")", "]", ")", ")", ")", "]" ]
[ "[", "(", "match_operand", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", "(" ]
GCC
arm
CPP
stmt_completion
CPU
39,637
[ "_", "_", "o", ",", "_", "_", "c", ")", ";" ]
[ "_", "_", "builtin_neon_vst3_lanev4bf", "(", "_", "_", "a", ",", "_", "_", "bu", "." ]
GCC
m32c
CPP
next_suggestion
MPU
39,638
[ "if", "(", "reg_mentioned_p", "(", "sp", ",", "insn", ")", ")", "return", "true", ";" ]
[ "rtx", "sp", "=", "gen_rtx_REG", "(", "Pmode", ",", "SP_REGNO", ")", ";", "rtx", "fb", "=", "gen_rtx_REG", "(", "Pmode", ",", "FB_REGNO", ")", ";", "for", "(", "insn", "=", "get_topmost_sequence", "(", ")", "->", "first", ";", "insn", ";", "insn", "=...
GCC
stormy16
CPP
code_generation
CPU
39,639
[ "void", "xstormy16_expand_move", "(", "machine_mode", "mode", ",", "rtx", "dest", ",", "rtx", "src", ")", "{", "if", "(", "MEM_P", "(", "dest", ")", "&&", "(", "GET_CODE", "(", "XEXP", "(", "dest", ",", "<NUM_LIT>", ")", ")", "==", "PRE_MODIFY", ")", ...
[ "Expander", "for", "the", "'move", "'", "patterns", ".", "Emit", "insns", "to", "copy", "a", "value", "of", "mode", "MODE", "from", "SRC", "to", "DEST", "." ]
LLVM
Hexagon
TD
next_suggestion
DSP
39,640
[ "let", "isExtendable", "=", "<NUM_LIT>", ";" ]
[ "def", "A4_cmpheqi", ":", "HInst", "<", "(", "outs", "PredRegs", ":", "$", "Pd4", ")", ",", "(", "ins", "IntRegs", ":", "$", "Rs32", ",", "s32_0Imm", ":", "$", "Ii", ")", ",", "<STR_LIT>", ",", "tc_643b4717", ",", "TypeALU64", ">", ",", "Enc_08d755",...
GCC
i386
MD
stmt_completion
CPU
39,641
[ "<STR_LIT>", "<STR_LIT>", ")" ]
[ "(", "and", "(", "eq_attr", "<STR_LIT>", "<STR_LIT>", ")", "(", "and", "(", "eq_attr" ]
LLVM
BPF
CPP
stmt_completion
Virtual ISA
39,642
[ "<NUM_LIT>", ",", "size", ",", "new", "_", "val", ".", "c", ")", ";" ]
[ "uint64_t", "size", "=", "LD", "->", "getMemOperand", "(", ")", "->", "getSize", "(", ")", ";", "if", "(", "!", "size", "||", "size", ">", "<NUM_LIT>", "||", "(", "size", "&", "(", "size", "-", "<NUM_LIT>", ")", ")", "||", "!", "LD", "->", "isSim...
LLVM
X86
TD
stmt_completion
CPU
39,643
[ "scalar_to_vector", "GR32", ":", "$", "src", ")", ")", ")", "]", ">", ",", "Sched", "<", "[", "WriteVecMoveFromGpr", "]", ">", ";" ]
[ "def", "MOVDI2PDIrr", ":", "S2I", "<", "<NUM_LIT>", ",", "MRMSrcReg", ",", "(", "outs", "VR128", ":", "$", "dst", ")", ",", "(", "ins", "GR32", ":", "$", "src", ")", ",", "<STR_LIT>", ",", "[", "(", "set", "VR128", ":", "$", "dst", ",", "(", "v...
GCC
rs6000
MD
stmt_completion
CPU
39,644
[ ")" ]
[ "(", "define_insn_reservation", "<STR_LIT>", "<NUM_LIT>", "(", "and", "(", "eq_attr", "<STR_LIT>", "<STR_LIT>", ")", "(", "eq_attr", "<STR_LIT>", "<STR_LIT>", ")", "(", "eq_attr", "<STR_LIT>", "<STR_LIT>" ]
LLVM
ARM
CPP
next_suggestion
CPU
39,645
[ "}" ]
[ "virtual", "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", "<STR_LIT>", "ARM PIC Global Base Reg Initialization", "<STR_LIT>", ";" ]
LLVM
SystemZ
TD
next_suggestion
CPU
39,646
[ "}" ]
[ "class", "FixedCondBranchRXY", "<", "CondVariant", "V", ",", "string", "mnemonic", ",", "bits", "<", "<NUM_LIT>", ">", "opcode", ",", "SDPatternOperator", "operator", "=", "null_frag", ">", ":", "InstRXYb", "<", "opcode", ",", "(", "outs", ")", ",", "(", "...
LLVM
DLX
CPP
next_suggestion
CPU
39,647
[ "return", "Dis", "->", "tryAddingSymbolicOperand", "(", "MI", ",", "Value", ",", "Address", ",", "IsBranch", ",", "Offset", ",", "Width", ")", ";" ]
[ "static", "bool", "tryAddingSymbolicOperand", "(", "int64_t", "Value", ",", "bool", "IsBranch", ",", "uint64_t", "Address", ",", "uint64_t", "Offset", ",", "uint64_t", "Width", ",", "MCInst", "&", "MI", ",", "const", "void", "*", "Decoder", ")", "{", "const"...
GCC
mips
CPP
program_repair
CPU
39,648
[ "<FIXS>", "int", "n", "=", "mips_address_insns", "(", "XEXP", "(", "x", ",", "<NUM_LIT>", ")", ",", "GET_MODE", "(", "x", ")", ")", ";", "if", "(", "n", ">", "<NUM_LIT>", ")", "{", "*", "total", "=", "COSTS_N_INSNS", "(", "n", "+", "<NUM_LIT>", ")"...
[ "case", "MEM", ":", "{", "<BUGS>", "int", "n", "=", "mips_address_insns", "(", "XEXP", "(", "x", ",", "<NUM_LIT>", ")", ",", "GET_MODE", "(", "x", ")", ")", ";", "if", "(", "n", ">", "<NUM_LIT>", ")", "{", "*", "total", "=", "COSTS_N_INSNS", "(", ...
LLVM
X86
CPP
stmt_completion
CPU
39,649
[ "getImm", "(", ")", ";" ]
[ "void", "X86ATTAsmPrinter", "::", "print_pcrel_imm", "(", "const", "MCInst", "*", "MI", ",", "unsigned", "OpNo", ")", "{", "const", "MCOperand", "&", "Op", "=", "MI", "->", "getOperand", "(", "OpNo", ")", ";", "if", "(", "Op", ".", "isImm", "(", ")", ...
LLVM
OR1K
CPP
stmt_completion
CPU
39,650
[ ",", "MRI", ")", ";" ]
[ "static", "MCInstPrinter", "*", "createOR1KMCInstPrinter", "(", "const", "Target", "&", "T", ",", "unsigned", "SyntaxVariant", ",", "const", "MCAsmInfo", "&", "MAI", ",", "const", "MCInstrInfo", "&", "MII", ",", "const", "MCRegisterInfo", "&", "MRI", ",", "con...
GCC
spu
CPP
stmt_completion
MPU
39,651
[ ")", "==", "<NUM_LIT>", ")", ")", ";" ]
[ "return", "(", "(", "int", ")", "(", "spu_extract", "(", "spu_gather", "(", "spu_cmpeq", "(", "a", ",", "b", ")", ")", ",", "<NUM_LIT>" ]
LLVM
ARM
CPP
stmt_completion
CPU
39,652
[ "return", "false", ";" ]
[ "bool", "SelectShiftImmShifterOperandOneUse", "(", "SDValue", "N", ",", "SDValue", "&", "A", ",", "SDValue", "&", "B", ")", "{", "if", "(", "!", "N", ".", "hasOneUse", "(", ")", ")" ]
GCC
sh
MD
stmt_completion
CPU
39,653
[ ")", ")" ]
[ "(", "define_insn_and_split", "<STR_LIT>", "[", "(", "set", "(", "match_operand", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", "(", "call", "(", "mem", ":", "SI", "(", "match_operand", ":", "SI", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", ")", "(", "match_oper...
LLVM
XCore
CPP
code_generation
MPU
39,654
[ "XCoreTargetMachine", "::", "XCoreTargetMachine", "(", "const", "Target", "&", "T", ",", "const", "std", "::", "string", "&", "TT", ",", "const", "std", "::", "string", "&", "FS", ")", ":", "LLVMTargetMachine", "(", "T", ",", "TT", ")", ",", "Subtarget",...
[ "Create", "an", "ILP32", "architecture", "model", "." ]
GCC
bfin
MD
stmt_completion
DSP
39,655
[ "<STR_LIT>", "<NUM_LIT>" ]
[ "(", "define_insn_reservation" ]
LLVM
J2
CPP
next_suggestion
MPU
39,656
[ "}" ]
[ "TargetRegistry", "::", "RegisterTarget", "(", "getTheJ2Target", "(", ")", ",", "<STR_LIT>", "j2", "<STR_LIT>", ",", "<STR_LIT>", "J-Core 2", "<STR_LIT>", ",", "<STR_LIT>", "J2", "<STR_LIT>", ",", "[", "]", "(", "Triple", "::", "ArchType", ")", "{", "return", ...
LLVM
X86
CPP
stmt_completion
CPU
39,657
[ "Address", ")", ";" ]
[ "else", "{", "assert", "(", "Op", ".", "isExpr", "(", ")", "&&", "<STR_LIT>", "unknown pcrel immediate operand", "<STR_LIT>", ")", ";", "const", "MCConstantExpr", "*", "BranchTarget", "=", "dyn_cast", "<", "MCConstantExpr", ">", "(", "Op", ".", "getExpr", "(",...
LLVM
Hexagon
CPP
next_suggestion
DSP
39,658
[ "CLI", ".", "setDebugLoc", "(", "dl", ")", ".", "setChain", "(", "Chain", ")", ".", "setLibCallee", "(", "TLI", ".", "getLibcallCallingConv", "(", "RTLIB", "::", "MEMCPY", ")", ",", "Type", "::", "getVoidTy", "(", "*", "DAG", ".", "getContext", "(", ")...
[ "Entry", ".", "Node", "=", "Size", ";", "Args", ".", "push_back", "(", "Entry", ")", ";", "const", "char", "*", "SpecialMemcpyName", "=", "<STR_LIT>", "__hexagon_memcpy_likely_aligned_min32bytes_mult8bytes", "<STR_LIT>", ";", "const", "MachineFunction", "&", "MF", ...
LLVM
Lanai
CPP
next_suggestion
CPU
39,659
[ "}" ]
[ "ArrayRef", "<", "std", "::", "pair", "<", "unsigned", ",", "const", "char", "*", ">>", "LanaiInstrInfo", "::", "getSerializableDirectMachineOperandTargetFlags", "(", ")", "const", "{", "using", "namespace", "LanaiII", ";", "static", "const", "std", "::", "pair"...
LLVM
X86
CPP
next_suggestion
CPU
39,660
[ "}", "else", "{" ]
[ "switch", "(", "RetVT", ".", "SimpleTy", ")", "{", "default", ":", "return", "false", ";", "case", "MVT", "::", "i8", ":", "Opc", "=", "X86", "::", "CMOV_GR8", ";", "break", ";", "case", "MVT", "::", "i16", ":", "Opc", "=", "X86", "::", "CMOV_GR16"...
LLVM
ARM
CPP
stmt_completion
CPU
39,661
[ "(", "ArgTy", ")", ";" ]
[ "Align", "ARMTargetLowering", "::", "getABIAlignmentForCallingConv", "(", "Type", "*", "ArgTy", ",", "const", "DataLayout", "&", "DL", ")", "const", "{", "const", "Align", "ABITypeAlign", "=", "DL", ".", "getABITypeAlign" ]
GCC
aarch64
MD
program_repair
CPU
39,662
[ "<FIXS>", "(", "define_insn", "<STR_LIT>", "<FIXE>" ]
[ "(", "set_attr", "<STR_LIT>", "<STR_LIT>", ")", "]", ")", "<BUGS>", "(", "define_insn", "<STR_LIT>", "<BUGE>", "[", "(", "set", "(", "match_operand", ":", "DI", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", "(", "zero_extract", ":", "DI", "(", "match_operand", ...
GCC
sparc
MD
stmt_completion
CPU
39,663
[ ")", ")" ]
[ "(", "define_insn_reservation", "<STR_LIT>", "<NUM_LIT>", "(", "and", "(", "eq_attr", "<STR_LIT>", "<STR_LIT>", ")", "(", "eq_attr", "<STR_LIT>", "<STR_LIT>" ]
GCC
i386
MD
stmt_completion
CPU
39,664
[ "V64SI", "<STR_LIT>", ")", "]", ")" ]
[ "(", "define_mode_attr", "imod4_narrow", "[", "(", "V64SF", "<STR_LIT>", ")", "(" ]
GCC
i386
MD
next_suggestion
CPU
39,665
[ "(", "set_attr", "<STR_LIT>", "<STR_LIT>", ")", "]", ")" ]
[ "<STR_LIT>", "[", "(", "set_attr", "<STR_LIT>", "<STR_LIT>", ")", "(", "set_attr", "<STR_LIT>", "<STR_LIT>", ")" ]
GCC
aarch64
MD
next_suggestion
CPU
39,666
[ "MEM_VOLATILE_P", "(", "operands", "[", "<NUM_LIT>", "]", ")", "=", "<NUM_LIT>" ]
[ "(", "define_expand", "<STR_LIT>", "[", "(", "set", "(", "match_dup", "<NUM_LIT>", ")", "(", "unspec", ":", "BLK", "[", "(", "match_dup", "<NUM_LIT>", ")", "(", "match_operand", ":", "SI", "<NUM_LIT>", "<STR_LIT>", ")", "]", "UNSPEC_MB", ")", ")", "]", "...
GCC
arm
CPP
next_suggestion
CPU
39,667
[ "attrs", "=", "get_attributes", "(", "instance", ")", ";" ]
[ "registered_function", "&", "rfn", "=", "add_function", "(", "instance", ",", "name", ",", "fntype", ",", "attrs", ",", "requires_float", ",", "false", ",", "false", ")", ";", "hashval_t", "hash", "=", "instance", ".", "hash", "(", ")", ";", "registered_fu...
GCC
i386
CPP
program_repair
CPU
39,668
[ "<FIXS>", "else", "{", "gcc_assert", "(", "ISDIGIT", "(", "*", "name", ")", ")", ";", "name", "++", ";", "gcc_assert", "(", "name", "==", "p", ")", ";", "}", "<FIXE>" ]
[ "if", "(", "ISDIGIT", "(", "p", "[", "<NUM_LIT>", "]", ")", ")", "name", "=", "ggc_alloc_string", "(", "name", ",", "p", "-", "name", ")", ";", "<BUGS>", "else", "if", "(", "!", "ISDIGIT", "(", "*", "name", ")", "||", "++", "name", "!=", "p", "...
GCC
arm
MD
next_suggestion
CPU
39,669
[ "<STR_LIT>", ")" ]
[ "(", "define_insn_reservation", "<STR_LIT>", "<NUM_LIT>", "(", "and", "(", "eq_attr", "<STR_LIT>", "<STR_LIT>", ")", "(", "eq_attr", "<STR_LIT>", "<STR_LIT>", ")", ")" ]
GCC
i386
CPP
stmt_completion
CPU
39,670
[ "-", "(", "_", "_", "v16hf", ")", "_", "_", "B", ")", ";" ]
[ "extern", "_", "_", "inline", "_", "_", "m256h", "_", "_", "attribute__", "(", "(", "_", "_", "gnu_inline__", ",", "_", "_", "always_inline__", ",", "_", "_", "artificial__", ")", ")", "_", "mm256_sub_ph", "(", "_", "_", "m256h", "_", "_", "A", ","...
LLVM
R600
CPP
next_suggestion
GPU
39,671
[ "}" ]
[ "void", "AMDGPUPassConfig", "::", "addCodeGenPrepare", "(", ")", "{", "const", "AMDGPUSubtarget", "&", "ST", "=", "*", "getAMDGPUTargetMachine", "(", ")", ".", "getSubtargetImpl", "(", ")", ";", "if", "(", "ST", ".", "isPromoteAllocaEnabled", "(", ")", ")", ...
LLVM
BPF
CPP
next_suggestion
Virtual ISA
39,672
[ "return", "SelectionDAGISel", "::", "runOnMachineFunction", "(", "MF", ")", ";" ]
[ "bool", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "override", "{", "Subtarget", "=", "&", "MF", ".", "getSubtarget", "<", "BPFSubtarget", ">", "(", ")", ";" ]
LLVM
ARM64
TD
stmt_completion
CPU
39,673
[ ";" ]
[ "def", "MemoryUnscaledOperand", ":", "AsmOperandClass", "{", "let", "Name", "=", "<STR_LIT>" ]
GCC
frv
MD
stmt_completion
VLIW
39,674
[ "<STR_LIT>", "<STR_LIT>", ")" ]
[ "(", "define_bypass", "<NUM_LIT>" ]
GCC
nds32
CPP
next_suggestion
CPU
39,675
[ "}" ]
[ "if", "(", "TARGET_16_BIT", ")", "return", "<STR_LIT>", "jr5\\t%2", "<STR_LIT>", ";", "else", "return", "<STR_LIT>", "jr\\t%2", "<STR_LIT>", ";" ]
GCC
ia64
CPP
code_generation
CPU
39,676
[ "static", "int", "find_gr_spill", "(", "int", "try_locals", ")", "{", "int", "regno", ";", "if", "(", "current_function_is_leaf", ")", "{", "for", "(", "regno", "=", "GR_REG", "(", "<NUM_LIT>", ")", ";", "regno", "<=", "GR_REG", "(", "<NUM_LIT>", ")", ";...
[ "Helper", "function", "for", "ia64_compute_frame_size", ":", "find", "an", "appropriate", "general", "register", "to", "spill", "some", "special", "register", "to", ".", "SPECIAL_SPILL_MASK", "contains", "bits", "in", "GR0", "to", "GR31", "that", "have", "already"...
LLVM
X86
TD
program_repair
CPU
39,677
[ "<FIXS>", "def", "FNSTSWm", ":", "FPI", "<NUM_LIT>", ",", "MRM7m", ",", "(", "outs", "f32mem", ":", "$", "dst", ")", ",", "(", "ins", ")", ",", "<STR_LIT>", ">", ";", "<FIXE>" ]
[ "def", "FRSTORm", ":", "FPI", "<NUM_LIT>", ",", "MRM4m", ",", "(", "outs", "f32mem", ":", "$", "dst", ")", ",", "(", "ins", ")", ",", "<STR_LIT>", ">", ";", "def", "FSAVEm", ":", "FPI", "<NUM_LIT>", ",", "MRM6m", ",", "(", "outs", "f32mem", ":", ...
LLVM
Hexagon
CPP
stmt_completion
DSP
39,678
[ "F", ".", "optForMinSize", "(", ")", ";" ]
[ "return", "F", ".", "optForSize", "(", ")", "&&", "!" ]
LLVM
X86
CPP
code_generation
CPU
39,679
[ "MachineBasicBlock", "::", "iterator", "X86FrameLowering", "::", "restoreWin32EHStackPointers", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MBBI", ",", "DebugLoc", "DL", ",", "bool", "RestoreSP", ")", "const", "{", "assert", "(...
[ "Sets", "up", "EBP", "and", "optionally", "ESI", "based", "on", "the", "incoming", "EBP", "value", "." ]
GCC
arm
MD
next_suggestion
CPU
39,680
[ "[", "(", "set_attr", "<STR_LIT>", "<STR_LIT>", ")" ]
[ "(", "if_then_else", ":", "SI", "(", "match_operator", "<NUM_LIT>", "<STR_LIT>", "[", "(", "match_operator", "<NUM_LIT>", "<STR_LIT>", "[", "(", "match_operand", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", "(", "const_int", "<NUM_LIT>", ")", "]", ")", "(", "cons...
LLVM
X86
CPP
next_suggestion
CPU
39,681
[ "}" ]
[ "bool", "X86RegisterInfo", "::", "hasReservedSpillSlot", "(", "MachineFunction", "&", "MF", ",", "unsigned", "Reg", ",", "int", "&", "FrameIdx", ")", "const", "{", "if", "(", "Reg", "==", "FramePtr", "&&", "hasFP", "(", "MF", ")", ")", "{", "FrameIdx", "...
LLVM
AArch64
TD
stmt_completion
CPU
39,682
[ ";" ]
[ "def", "A64FXWrite_3Cyc_GI1", ":", "SchedWriteRes", "<", "[", "A64FXGI1", "]", ">", "{", "let", "Latency", "=", "<NUM_LIT>" ]
LLVM
AArch64
CPP
program_repair
CPU
39,683
[ "<FIXS>", "CHECK_PARTIALMAP", "(", "PMI_GPR32", ",", "<NUM_LIT>", ",", "<NUM_LIT>", ",", "RBGPR", ")", ";", "CHECK_PARTIALMAP", "(", "PMI_GPR64", ",", "<NUM_LIT>", ",", "<NUM_LIT>", ",", "RBGPR", ")", ";", "CHECK_PARTIALMAP", "(", "PMI_FPR32", ",", "<NUM_LIT>", ...
[ "Map", ".", "RegBank", "==", "&", "RB", "&&", "#", "Idx", "<STR_LIT>", " is incorrectly initialized", "<STR_LIT>", ")", ";", "\\", "}", "while", "(", "<NUM_LIT>", ")", "<BUGS>", "CHECK_PARTIALMAP", "(", "GPR32", ",", "<NUM_LIT>", ",", "<NUM_LIT>", ",", "RBGP...
GCC
spu
MD
stmt_completion
MPU
39,684
[ "]", ")" ]
[ "[", "(", "call", "(", "match_operand", ":", "QI", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", "(", "match_operand", ":", "QI", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", ")", "(", "use", "(", "reg", ":", "SI", "<NUM_LIT>", ")", ")", "]", ")", "]", "<...
LLVM
ARM
CPP
next_suggestion
CPU
39,685
[ "Inst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "Val", ")", ")", ";" ]
[ "Inst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "<NUM_LIT>", ")", ")", ";", "return", ";", "}", "int32_t", "Val", "=", "Memory", ".", "OffsetImm", "?", "Memory", ".", "OffsetImm", "->", "getValue", "(", ")", ":", "<NUM_LIT>", ";", ...
LLVM
Mips
CPP
next_suggestion
CPU
39,686
[ "assert", "(", "FrameLowering", "&&", "<STR_LIT>", "null frame lowering SE", "<STR_LIT>", ")", ";" ]
[ "TLInfo", ".", "reset", "(", "MipsTargetLowering", "::", "create", "(", "*", "this", ")", ")", ";", "}", "else", "{", "InstrInfoSE", ".", "swap", "(", "InstrInfo", ")", ";", "FrameLoweringSE", ".", "swap", "(", "FrameLowering", ")", ";", "TLInfoSE", ".",...
GCC
aarch64
MD
program_repair
CPU
39,687
[ "<FIXS>", "[", "(", "set", "(", "match_operand", ":", "VDBL", ">", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", "<FIXE>" ]
[ ")", "(", "define_insn", "<STR_LIT>", "<BUGS>", "[", "(", "set", "(", "match_operand", ":", "VDBL", ">", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", "<BUGE>", "(", "vec_concat", ":", "VDBL", ">", "(", "match_operand", ":", "VDC", "<NUM_LIT>", "<STR_LIT>", "<...
LLVM
TPC
CPP
stmt_completion
Virtual ISA
39,688
[ "*", "val", ")", "{" ]
[ "void", "setChildToVisit", "(", "CostLeaf" ]
GCC
sh
CPP
stmt_completion
CPU
39,689
[ "m_counter", ";" ]
[ "int", "count", "(", "void", ")", "const", "{", "return" ]
LLVM
XCore
CPP
program_repair
MPU
39,690
[ "<FIXS>", "errs", "(", ")", "<<", "<STR_LIT>", "LowerFORMAL_ARGUMENTS Unhandled argument type: ", "<STR_LIT>", "<<", "VA", ".", "getLocVT", "(", ")", ".", "getSimpleVT", "(", ")", "<<", "<STR_LIT>", "\\n", "<STR_LIT>", ";", "<FIXE>" ]
[ "unsigned", "ObjSize", "=", "VA", ".", "getLocVT", "(", ")", ".", "getSizeInBits", "(", ")", "/", "<NUM_LIT>", ";", "if", "(", "ObjSize", ">", "StackSlotSize", ")", "{", "<BUGS>", "cerr", "<<", "<STR_LIT>", "LowerFORMAL_ARGUMENTS Unhandled argument type: ", "<ST...
GCC
i386
MD
next_suggestion
CPU
39,691
[ "[", "(", "set_attr", "<STR_LIT>", "<STR_LIT>", ")" ]
[ "(", "define_insn", "<STR_LIT>", "[", "(", "set", "(", "match_operand", ":", "<", "avx512fmaskmode", ">", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", "(", "match_operator", ":", "<", "avx512fmaskmode", ">", "<NUM_LIT>", "<STR_LIT>", "[", "(", "match_operand", ":...
LLVM
ARM
CPP
program_repair
CPU
39,692
[ "<FIXS>", "if", "(", "STI", ".", "isTargetIOS", "(", ")", ")", "<FIXE>", "<FIXS>", "else", "<FIXE>", "<FIXS>", "<FIXE>", "<FIXS>", "if", "(", "Reg", "ARM", "::", "D8", "||", "Reg", ">=", "ARM", "::", "D8", "+", "AFI", "->", "getNumAlignedDPRCS2Regs", "...
[ "case", "ARM", "::", "R12", ":", "if", "(", "Reg", "==", "FramePtr", ")", "FramePtrSpillFI", "=", "FI", ";", "<BUGS>", "if", "(", "STI", ".", "isTargetIOS", "(", ")", ")", "{", "AFI", "->", "addGPRCalleeSavedArea2Frame", "(", "FI", ")", ";", "<BUGE>", ...
GCC
ia64
CPP
stmt_completion
CPU
39,693
[ "'", ")", "return", "TFmode", ";" ]
[ "static", "machine_mode", "ia64_c_mode_for_suffix", "(", "char", "suffix", ")", "{", "if", "(", "suffix", "==", "'", "q" ]
LLVM
Hexagon
TD
stmt_completion
DSP
39,694
[ "<NUM_LIT>", ";" ]
[ "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "<NUM_LIT>", ";", "let", "isPredicated", "=", "<NUM_LIT>", ";", "let", "isPredicatedFalse", "=", "<NUM_LIT>", ";", "let", "isTerminator", "=", "<NUM_LIT>", ";", "let", "isBranch", "=", "<NUM_LIT>", ...
LLVM
AMDGPU
CPP
stmt_completion
GPU
39,695
[ ",", "MaxWaves", ")", ";" ]
[ "return", "std", "::", "min", "(", "std", "::", "max", "(", "getTotalNumVGPRs", "(", ")", "/", "RoundedRegs", ",", "<NUM_LIT>", "u", ")" ]
LLVM
AVR
CPP
stmt_completion
MPU
39,696
[ "<STR_LIT>", ")", ".", "addReg", "(", "<STR_LIT>", "::", "<STR_LIT>", ",", "RegState", "::", "Kill", ")", ";" ]
[ "return", "MBB", ".", "erase", "(", "MI", ")", ";", "}", "DebugLoc", "DL", "=", "MI", "->", "getDebugLoc", "(", ")", ";", "unsigned", "int", "Opcode", "=", "MI", "->", "getOpcode", "(", ")", ";", "int", "Amount", "=", "TII", ".", "getFrameSize", "(...
GCC
i386
CPP
stmt_completion
CPU
39,697
[ "_", "v32hf", ")", "_", "_", "B", ")", ";" ]
[ "extern", "_", "_", "inline", "_", "_", "m512h", "_", "_", "attribute__", "(", "(", "_", "_", "gnu_inline__", ",", "_", "_", "always_inline__", ",", "_", "_", "artificial__", ")", ")", "_", "mm512_mul_ph", "(", "_", "_", "m512h", "_", "_", "A", ","...
LLVM
AArch64
CPP
next_suggestion
CPU
39,698
[ "PendingMembers", ".", "clear", "(", ")", ";" ]
[ "const", "Align", "Alignment", "=", "std", "::", "min", "(", "OrigAlign", ",", "StackAlign", ")", ";", "for", "(", "auto", "&", "It", ":", "PendingMembers", ")", "{", "It", ".", "convertToMem", "(", "State", ".", "AllocateStack", "(", "Size", ",", "std...
LLVM
X86
CPP
next_suggestion
CPU
39,699
[ "V2", "=", "widenSubVector", "(", "V2", ",", "false", ",", "Subtarget", ",", "DAG", ",", "DL", ",", "<NUM_LIT>", ")", ";" ]
[ "static", "SDValue", "lowerShuffleWithPERMV", "(", "const", "SDLoc", "&", "DL", ",", "MVT", "VT", ",", "ArrayRef", "<", "int", ">", "Mask", ",", "SDValue", "V1", ",", "SDValue", "V2", ",", "const", "X86Subtarget", "&", "Subtarget", ",", "SelectionDAG", "&"...