Compiler_Type
stringclasses
2 values
Target
stringclasses
176 values
Programming Language
stringclasses
3 values
Task
stringclasses
4 values
Target_Type
stringclasses
7 values
Idx
int64
0
636k
Ground_Truth
listlengths
0
2.32k
Input
listlengths
1
1.02k
GCC
mips
CPP
program_repair
CPU
35,300
[ "<FIXS>", "rtx", "insn", "=", "mips_emit_move", "(", "hard_frame_pointer_rtx", ",", "stack_pointer_rtx", ")", ";", "<FIXE>", "<FIXS>", "rtx", "insn", "=", "gen_add3_insn", "(", "hard_frame_pointer_rtx", ",", "stack_pointer_rtx", ",", "GEN_INT", "(", "offset", ")", ...
[ "offset", "=", "frame", "->", "hard_frame_pointer_offset", ";", "if", "(", "offset", "==", "<NUM_LIT>", ")", "{", "<BUGS>", "insn", "=", "mips_emit_move", "(", "hard_frame_pointer_rtx", ",", "stack_pointer_rtx", ")", ";", "<BUGE>", "RTX_FRAME_RELATED_P", "(", "ins...
GCC
arm
CPP
stmt_completion
CPU
35,301
[ "_", "a", ";" ]
[ "vreinterpret_u8_bf16", "(", "bfloat16x4_t", "_", "_", "a", ")", "{", "return", "(", "uint8x8_t", ")", "_" ]
LLVM
AArch64
TD
stmt_completion
CPU
35,302
[ "=", "isSub", ";" ]
[ "class", "BaseBaseAddSubCarry", "<", "bit", "isSub", ",", "RegisterClass", "regtype", ",", "string", "asm", ",", "list", "<", "dag", ">", "pattern", ">", ":", "I", "<", "(", "outs", "regtype", ":", "$", "Rd", ")", ",", "(", "ins", "regtype", ":", "$"...
LLVM
X86
CPP
stmt_completion
CPU
35,303
[ "::", "GS", ",", "MVT", "::", "i16", ")", ";" ]
[ "AM", ".", "IndexReg", "=", "Mgs", "->", "getIndex", "(", ")", ";", "AM", ".", "Scale", "=", "cast", "<", "ConstantSDNode", ">", "(", "Mgs", "->", "getScale", "(", ")", ")", "->", "getZExtValue", "(", ")", ";", "unsigned", "AddrSpace", "=", "cast", ...
GCC
aarch64
MD
next_suggestion
CPU
35,304
[ "[", "(", "set_attr", "<STR_LIT>", "<STR_LIT>", ")", "]" ]
[ "(", "compare", ":", "CC_NZV", "(", "and", ":", "SI", "(", "match_operand", ":", "SI", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", "(", "match_operand", ":", "SI", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", ")", "(", "const_int", "<NUM_LIT>", ")", ")", ")...
LLVM
AArch64
TD
stmt_completion
CPU
35,305
[ "<NUM_LIT>", ",", "<NUM_LIT>", ",", "GPR32", ",", "<STR_LIT>", ">", ";" ]
[ "def", "STLXPW", ":", "StoreExclusivePair", "<", "<NUM_LIT>", ",", "<NUM_LIT>", ",", "<NUM_LIT>", "," ]
GCC
m68k
CPP
stmt_completion
MPU
35,306
[ "-", "temp", ";" ]
[ "_", "_", "inline", "static", "double", "modf", "(", "double", "x", ",", "double", "*", "ip", ")", "{", "double", "temp", ";", "_", "_", "asm", "(", "<STR_LIT>", "fintrz%.x %1,%0", "<STR_LIT>", ":", "<STR_LIT>", "=f", "<STR_LIT>", "(", "temp", ")", ":"...
LLVM
X86
TD
stmt_completion
CPU
35,307
[ "]", ";" ]
[ "def", ":", "WriteRes", "<", "WritePCmpEStrI", ",", "[", "ICXPort0", ",", "ICXPort5", ",", "ICXPort0156", "]", ">", "{", "let", "Latency", "=", "<NUM_LIT>", ";", "let", "NumMicroOps", "=", "<NUM_LIT>", ";", "let", "ResourceCycles", "=", "[", "<NUM_LIT>", "...
GCC
i386
CPP
next_suggestion
CPU
35,308
[ "}" ]
[ "*", "f", "++", "=", "'", "r", "'", ";", "}", "else", "{", "if", "(", "flags", "&", "SECTION_CODE", ")", "*", "f", "++", "=", "'", "x", "'", ";", "if", "(", "flags", "&", "SECTION_WRITE", ")", "*", "f", "++", "=", "'", "w", "'", ";", "if"...
LLVM
Mips
CPP
stmt_completion
CPU
35,309
[ ",", "STI", ")", ";" ]
[ "Is32BitAddress", "=", "false", ";", "}", "if", "(", "!", "Is32BitAddress", "&&", "!", "hasMips3", "(", ")", ")", "{", "Error", "(", "IDLoc", ",", "<STR_LIT>", "instruction requires a 64-bit architecture", "<STR_LIT>", ")", ";", "return", "true", ";", "}", "...
LLVM
ARM
TD
stmt_completion
CPU
35,310
[ "=", "A", ";" ]
[ "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "<NUM_LIT>", ";", "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "<NUM_LIT>", ";", "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "RdaLo", "{", "<NUM_LIT>", "-", "...
GCC
i386
CPP
stmt_completion
CPU
35,311
[ "_", "_", "E", ",", "(", "_", "_", "v32hi", ")", "_", "_", "A", ",", "(", "_", "_", "mmask32", ")", "_", "_", "B", ")", ";" ]
[ "return", "(", "_", "_", "m512i", ")", "_", "_", "builtin_ia32_vpshld_v32hi_mask", "(", "(", "_", "_", "v32hi", ")", "_", "_", "C", ",", "(", "_", "_", "v32hi", ")", "_", "_", "D", "," ]
LLVM
ARM
CPP
next_suggestion
CPU
35,312
[ "return", "false", ";" ]
[ "if", "(", "MBB", "->", "pred_size", "(", ")", "!=", "<NUM_LIT>", "||", "MBB", "->", "succ_size", "(", ")", "!=", "<NUM_LIT>", ")", "return", "false", ";", "MachineBasicBlock", "*", "Succ", "=", "*", "MBB", "->", "succ_begin", "(", ")", ";", "MachineBa...
LLVM
X86
CPP
stmt_completion
CPU
35,313
[ ".", "getSymbolName", "(", ")", ")", ";" ]
[ "O", "<<", "*", "GetCPISymbol", "(", "MO", ".", "getIndex", "(", ")", ")", ";", "printOffset", "(", "MO", ".", "getOffset", "(", ")", ",", "O", ")", ";", "break", ";", "case", "MachineOperand", "::", "MO_GlobalAddress", ":", "{", "const", "GlobalValue"...
GCC
alpha
MD
program_repair
MPU
35,314
[ "<FIXS>", "<STR_LIT>", "<FIXE>", "<FIXS>", "(", "set_attr", "<STR_LIT>", "<STR_LIT>", ")", "(", "set_attr", "<STR_LIT>", "<STR_LIT>", ")", "]", ")", "<FIXE>" ]
[ "[", "(", "match_operand", ":", "DF", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", "(", "match_operand", ":", "DF", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", "]", ")", ")", "]", "<STR_LIT>", "<BUGS>", "<STR_LIT>", "<BUGE>", "[", "(", "set_attr", "<STR_LIT>", ...
LLVM
PowerPC
CPP
next_suggestion
CPU
35,315
[ "LLVM_DEBUG", "(", "dumpSwapVector", "(", ")", ")", ";" ]
[ "}", "}", "}", "else", "if", "(", "SwapVector", "[", "EntryIdx", "]", ".", "IsStore", "&&", "SwapVector", "[", "EntryIdx", "]", ".", "IsSwap", ")", "{", "MachineInstr", "*", "MI", "=", "SwapVector", "[", "EntryIdx", "]", ".", "VSEMI", ";", "Register", ...
GCC
xtensa
CPP
code_generation
MPU
35,316
[ "static", "void", "xtensa_function_arg_advance", "(", "cumulative_args_t", "cum", ",", "machine_mode", "mode", ",", "const_tree", "type", ",", "bool", "named", "ATTRIBUTE_UNUSED", ")", "{", "int", "words", ",", "max", ";", "int", "*", "arg_words", ";", "arg_word...
[ "Advance", "the", "argument", "to", "the", "next", "argument", "position", "." ]
LLVM
PowerPC
CPP
stmt_completion
CPU
35,317
[ "dl", ",", "ObjectVT", ",", "ArgVal", ")", ";" ]
[ "else", "if", "(", "Flags", ".", "isZExt", "(", ")", ")", "ArgVal", "=", "DAG", ".", "getNode", "(", "ISD", "::", "AssertZext", ",", "dl", ",", "MVT", "::", "i64", ",", "ArgVal", ",", "DAG", ".", "getValueType", "(", "ObjectVT", ")", ")", ";", "r...
LLVM
ARM64
TD
stmt_completion
CPU
35,318
[ ">", ";" ]
[ "def", "logical_shifted_reg32", ":", "logical_shifted_reg", "<", "i32", ",", "GPR32" ]
LLVM
Hexagon
CPP
code_generation
DSP
35,319
[ "bool", "HexagonSplitConst32AndConst64", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "Fn", ")", "{", "auto", "&", "HST", "=", "Fn", ".", "getSubtarget", "<", "HexagonSubtarget", ">", "(", ")", ";", "auto", "&", "HTM", "=", "static_cast", "<", ...
[ "runOnMachineFunction", "-", "Emit", "the", "function", "body", "." ]
LLVM
X86
CPP
program_repair
CPU
35,320
[ "<FIXS>", "}", "else", "if", "(", "(", "RetOpcode", "==", "X86", "::", "RETQ", "||", "RetOpcode", "==", "X86", "::", "RETI", "||", "RetOpcode", "==", "X86", "::", "RETL", ")", "&&", "(", "X86FI", "->", "getTCReturnAddrDelta", "(", ")", "<NUM_LIT>", ")"...
[ "MBB", ".", "erase", "(", "MBBI", ")", ";", "<BUGS>", "}", "else", "if", "(", "(", "RetOpcode", "==", "X86", "::", "RET", "||", "RetOpcode", "==", "X86", "::", "RETI", ")", "&&", "(", "X86FI", "->", "getTCReturnAddrDelta", "(", ")", "<NUM_LIT>", ")",...
LLVM
AArch64
CPP
next_suggestion
CPU
35,321
[ "}" ]
[ "EmitDataMappingSymbol", "(", ")", ";", "MCELFStreamer", "::", "EmitValueImpl", "(", "Value", ",", "Size", ")", ";" ]
LLVM
AArch64
CPP
next_suggestion
CPU
35,322
[ "return", "BuildMI", "(", "*", "MI", ".", "getParent", "(", ")", ",", "MI", ",", "MI", ".", "getDebugLoc", "(", ")", ",", "TII", "->", "get", "(", "<STR_LIT>", "::", "<STR_LIT>", ")", ")", ".", "addImm", "(", "CC", ")", ".", "addMBB", "(", "Targe...
[ "case", "<STR_LIT>", "::", "<STR_LIT>", ":", "case", "<STR_LIT>", "::", "<STR_LIT>", ":", "CC", "=", "<STR_LIT>", "::", "<STR_LIT>", ";", "break", ";", "}" ]
GCC
microblaze
CPP
next_suggestion
MPU
35,323
[ "emit_jump_insn", "(", "gen_condjump", "(", "condition", ",", "operands", "[", "<NUM_LIT>", "]", ")", ")", ";" ]
[ "rtx", "cmp_op1", "=", "XEXP", "(", "operands", "[", "<NUM_LIT>", "]", ",", "<NUM_LIT>", ")", ";", "rtx", "comp_reg", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "emit_insn", "(", "gen_cstoresf4", "(", "comp_reg", ",", "operands", "[", "<NUM_LIT>", "]", ...
LLVM
R600
CPP
code_generation
GPU
35,324
[ "SUnit", "*", "R600SchedStrategy", "::", "pickNode", "(", "bool", "&", "IsTopNode", ")", "{", "SUnit", "*", "SU", "=", "<NUM_LIT>", ";", "NextInstKind", "=", "IDOther", ";", "IsTopNode", "=", "false", ";", "bool", "AllowSwitchToAlu", "=", "(", "CurEmitted", ...
[ "Pick", "the", "next", "node", "to", "schedule", ",", "or", "return", "NULL", "." ]
GCC
rl78
MD
stmt_completion
MPU
35,325
[ "<STR_LIT>", ")" ]
[ "(", "define_predicate", "<STR_LIT>", "(", "and", "(", "match_code" ]
LLVM
HSAIL
CPP
next_suggestion
Virtual ISA
35,326
[ "}" ]
[ "unsigned", "Count", "=", "<NUM_LIT>", ";", "while", "(", "I", "!=", "MBB", ".", "begin", "(", ")", ")", "{", "--", "I", ";", "if", "(", "I", "->", "isDebugValue", "(", ")", ")", "continue", ";", "if", "(", "I", "->", "getOpcode", "(", ")", "!=...
LLVM
ARM
TD
next_suggestion
CPU
35,327
[ "let", "EncoderMethod", "=", "<STR_LIT>", ";" ]
[ "class", "MVE_VCVT_imm", "<", "int", "Bits", ">", ":", "Operand", "<", "i32", ">", "{", "let", "ParserMatchClass", "=", "MVE_VCVT_imm_asmop", "<", "Bits", ">", ";" ]
LLVM
AArch64
TD
stmt_completion
CPU
35,328
[ "=", "FPImmOperand", ";" ]
[ "uint32_t", "enc", "=", "AArch64_AM", ":", ":", "getFP64Imm", "(", "InVal", ")", ";", "return", "CurDAG", "-", ">", "getTargetConstant", "(", "enc", ",", "SDLoc", "(", "N", ")", ",", "MVT", ":", ":", "i32", ")", ";", "}", "]", ">", ";", "def", "f...
LLVM
PowerPC
TD
stmt_completion
CPU
35,329
[ ",", "(", "fneg", "f128", ":", "$", "vB", ")", ")", "]", ">", ";" ]
[ "def", "XSNEGQP", ":", "X_VT5_XO5_VB5", "<", "<NUM_LIT>", ",", "<NUM_LIT>", ",", "<NUM_LIT>", ",", "<STR_LIT>", ",", "[", "(", "set", "f128", ":", "$", "vT" ]
LLVM
ARM
CPP
stmt_completion
CPU
35,330
[ ")", ".", "allowReassoc", "(", ")", ";" ]
[ "bool", "shouldExpandReduction", "(", "const", "IntrinsicInst", "*", "II", ")", "const", "{", "switch", "(", "II", "->", "getIntrinsicID", "(", ")", ")", "{", "case", "Intrinsic", "::", "experimental_vector_reduce_v2_fadd", ":", "case", "Intrinsic", "::", "exper...
LLVM
Hexagon
CPP
next_suggestion
DSP
35,331
[ "for", "(", "unsigned", "I", "=", "Begin", ";", "I", "!=", "End", ";", "++", "I", ")", "{" ]
[ "std", "::", "vector", "<", "OffsetRange", ">", "Ranges", "(", "End", "-", "Begin", ")", ";", "for", "(", "unsigned", "I", "=", "Begin", ";", "I", "!=", "End", ";", "++", "I", ")", "{", "const", "ExtDesc", "&", "ED", "=", "Extenders", "[", "I", ...
LLVM
Hexagon
CPP
next_suggestion
DSP
35,332
[ "}" ]
[ "}", ")", ";", "NodeId", "ReachedID", "=", "RDN", ".", "Addr", "->", "getReachedDef", "(", ")", ";", "if", "(", "!", "ReachedID", ")", "return", "ReachedDefMI", ";", "NodeAddr", "<", "DefNode", "*", ">", "ReachedDN", "=", "DFG", "->", "addr", "<", "D...
LLVM
PowerPC
CPP
next_suggestion
CPU
35,333
[ "ConstantSDNode", "*", "RHSConst", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "RHS", ")", ";" ]
[ "if", "(", "CmpInGPR", "==", "ICGPR_I32", "||", "CmpInGPR", "==", "ICGPR_SextI32", "||", "CmpInGPR", "==", "ICGPR_ZextI32", "||", "CmpInGPR", "==", "ICGPR_Sext", ")", "return", "SDValue", "(", ")", ";", "bool", "IsRHSZero", "=", "RHSValue", "==", "<NUM_LIT>", ...
LLVM
XCore
CPP
next_suggestion
MPU
35,334
[ "unsigned", "ObjSize", "=", "VA", ".", "getLocVT", "(", ")", ".", "getSizeInBits", "(", ")", "/", "<NUM_LIT>", ";" ]
[ "CCState", "CCInfo", "(", "CallConv", ",", "isVarArg", ",", "DAG", ".", "getMachineFunction", "(", ")", ",", "RVLocs", ",", "*", "DAG", ".", "getContext", "(", ")", ")", ";", "if", "(", "!", "isVarArg", ")", "CCInfo", ".", "AllocateStack", "(", "XFI", ...
LLVM
AVR
TD
stmt_completion
MPU
35,335
[ "<NUM_LIT>", ",", "relbrtarget_7", ":", "$", "k", ")", ">", ";" ]
[ "def", ":", "InstAlias", "<", "<STR_LIT>", ",", "(", "BRBSsk" ]
LLVM
AArch64
TD
stmt_completion
CPU
35,336
[ "Instruction", ">", "(", "NAME", "#", "<STR_LIT>", ")", "V128", ":", "$", "Rn", ",", "V128", ":", "$", "Rm", ")", ">", ";" ]
[ "def", ":", "Pat", "<", "(", "v8f16", "(", "OpNode", "V128", ":", "$", "Rn", ",", "V128", ":", "$", "Rm", ")", ")", ",", "(", "!", "cast", "<" ]
GCC
s390
CPP
next_suggestion
MPU
35,337
[ "}" ]
[ "else", "insn", "=", "gen_movsi", "(", "addr", ",", "gen_rtx_REG", "(", "Pmode", ",", "first", ")", ")", ";", "RTX_FRAME_RELATED_P", "(", "insn", ")", "=", "<NUM_LIT>", ";", "return", "insn", ";", "}", "insn", "=", "gen_store_multiple", "(", "addr", ",",...
LLVM
Hexagon
TD
stmt_completion
DSP
35,338
[ "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", ";" ]
[ "bits", "<", "<NUM_LIT>", ">", "II", ";", "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "II", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", ";", "bits", "<", "<NUM_LIT>", ">", "Ii", ";", "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}...
LLVM
ARM
CPP
stmt_completion
CPU
35,339
[ "getOpcode", "(", ")", ";" ]
[ "unsigned", "FirstOpcode", "=", "FirstMI", "?", "FirstMI", "->", "getOpcode", "(", ")", ":", "static_cast", "<", "unsigned", ">", "(", "ARM", "::", "INSTRUCTION_LIST_END", ")", ";", "unsigned", "SecondOpcode", "=", "SecondMI", "." ]
LLVM
Sparc
CPP
code_generation
CPU
35,340
[ "void", "SparcTargetLowering", "::", "computeKnownBitsForTargetNode", "(", "const", "SDValue", "Op", ",", "KnownBits", "&", "Known", ",", "const", "APInt", "&", "DemandedElts", ",", "const", "SelectionDAG", "&", "DAG", ",", "unsigned", "Depth", ")", "const", "{"...
[ "Determine", "which", "of", "the", "bits", "specified", "in", "Mask", "are", "known", "to", "be", "either", "zero", "or", "one", "and", "return", "them", "in", "the", "KnownZero/KnownOne", "bitsets", "." ]
GCC
s390
MD
stmt_completion
MPU
35,341
[ ")" ]
[ "(", "and", "(", "eq_attr", "<STR_LIT>", "<STR_LIT>" ]
GCC
h8300
MD
stmt_completion
MPU
35,342
[ "<STR_LIT>", "<STR_LIT>", ")", ")" ]
[ "(", "zero_extract", ":", "SI", "(", "xor", ":", "HI", "(", "match_operand", ":", "HI", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", "(", "match_operand", ":", "HI", "<NUM_LIT>" ]
LLVM
AMDGPU
CPP
stmt_completion
GPU
35,343
[ "ImmTyOffen", ")", ";" ]
[ "bool", "isOffen", "(", ")", "const", "{", "return", "isImmTy", "(" ]
GCC
sh
MD
program_repair
CPU
35,344
[ "<FIXS>", "[", "(", "set_attr", "<STR_LIT>", "<STR_LIT>", ")", "(", "set_attr", "<STR_LIT>", "<STR_LIT>", ")", "]", ")", "<FIXE>" ]
[ "(", "parallel", "[", "(", "const_int", "<NUM_LIT>", ")", "(", "const_int", "<NUM_LIT>", ")", "(", "const_int", "<NUM_LIT>", ")", "(", "const_int", "<NUM_LIT>", ")", "]", ")", ")", ")", "]", "<STR_LIT>", "<STR_LIT>", "<BUGS>", "[", "(", "set_attr", "<STR_L...
LLVM
AArch64
CPP
next_suggestion
CPU
35,345
[ "return", "OffsetConst", "&&", "isValidImmForSVEVecImmAddrMode", "(", "OffsetConst", "->", "getZExtValue", "(", ")", ",", "ScalarSizeInBytes", ")", ";" ]
[ "static", "bool", "isValidImmForSVEVecImmAddrMode", "(", "SDValue", "Offset", ",", "unsigned", "ScalarSizeInBytes", ")", "{", "ConstantSDNode", "*", "OffsetConst", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "Offset", ".", "getNode", "(", ")", ")", ";" ]
GCC
sparc
MD
stmt_completion
CPU
35,346
[ ")" ]
[ "(", "define_cpu_unit", "<STR_LIT>", "<STR_LIT>" ]
LLVM
ARM
CPP
stmt_completion
CPU
35,347
[ ",", "CCR", ",", "InFlag", "}", ";" ]
[ "SDNode", "*", "Res", "=", "SelectARMCMOVShiftOp", "(", "N", ",", "FalseVal", ",", "TrueVal", ",", "CCVal", ",", "CCR", ",", "InFlag", ")", ";", "if", "(", "!", "Res", ")", "Res", "=", "SelectARMCMOVShiftOp", "(", "N", ",", "TrueVal", ",", "FalseVal", ...
LLVM
AArch64
TD
next_suggestion
CPU
35,348
[ "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "op2", ";" ]
[ "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "op1", ";", "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "Cn", ";", "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "Cm", ";" ]
LLVM
AArch64
TD
stmt_completion
CPU
35,349
[ ";" ]
[ "let", "RenderMethod", "=", "<STR_LIT>" ]
LLVM
X86
CPP
next_suggestion
CPU
35,350
[ "if", "(", "isF64", ")", "return", "CallResult", ".", "first", ";" ]
[ "Entry", ".", "Ty", "=", "ArgTy", ";", "Entry", ".", "isSExt", "=", "false", ";", "Entry", ".", "isZExt", "=", "false", ";", "Args", ".", "push_back", "(", "Entry", ")", ";", "bool", "isF64", "=", "ArgVT", "==", "MVT", "::", "f64", ";", "const", ...
LLVM
RV16K
CPP
stmt_completion
Virtual ISA
35,351
[ "getMBB", "(", ")", ";" ]
[ "case", "<STR_LIT>", "::", "<STR_LIT>", ":", "case", "<STR_LIT>", "::", "<STR_LIT>", ":", "return", "MI", ".", "getOperand", "(", "<NUM_LIT>", ")", ".", "getMBB", "(", ")", ";", "default", ":", "return", "MI", ".", "getOperand", "(", "MI", ".", "getNumEx...
LLVM
Hexagon
TD
next_suggestion
DSP
35,352
[ "let", "hasNewValue", "=", "<NUM_LIT>", ";" ]
[ "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "<NUM_LIT>", ";", "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "<NUM_LIT>", ";" ]
LLVM
Hexagon
TD
stmt_completion
DSP
35,353
[ "=", "<NUM_LIT>", ";" ]
[ "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "<NUM_LIT>", ";", "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "<NUM_LIT>", ";", "let", "prefersSlot3" ]
LLVM
Mips
CPP
next_suggestion
CPU
35,354
[ "AssemblerOptions", ".", "back", "(", ")", "->", "setFeatures", "(", "AssemblerOptions", ".", "front", "(", ")", "->", "getFeatures", "(", ")", ")", ";" ]
[ "bool", "MipsAsmParser", "::", "parseSetMips0Directive", "(", ")", "{", "Parser", ".", "Lex", "(", ")", ";", "if", "(", "getLexer", "(", ")", ".", "isNot", "(", "AsmToken", "::", "EndOfStatement", ")", ")", "return", "reportParseError", "(", "<STR_LIT>", "...
LLVM
AArch64
TD
stmt_completion
CPU
35,355
[ "val", ";" ]
[ "bits", "<", "<NUM_LIT>", ">", "Value", "=" ]
LLVM
ARM
CPP
code_generation
CPU
35,356
[ "void", "Thumb1InstrInfo", "::", "loadRegFromStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "I", ",", "unsigned", "DestReg", ",", "int", "FI", ",", "const", "TargetRegisterClass", "*", "RC", ")", "const", "{", "Debu...
[ "Load", "the", "specified", "register", "of", "the", "given", "register", "class", "from", "the", "specified", "stack", "frame", "index", "." ]
LLVM
X86
CPP
stmt_completion
CPU
35,357
[ "nullptr", ";" ]
[ "const", "IntrinsicData", "*", "Data", "=", "lower_bound", "(", "IntrinsicsWithChain", ",", "IntNo", ")", ";", "if", "(", "Data", "!=", "std", "::", "end", "(", "IntrinsicsWithChain", ")", "&&", "Data", "->", "Id", "==", "IntNo", ")", "return", "Data", "...
GCC
rs6000
CPP
code_generation
CPU
35,358
[ "void", "rs6000_xcoff_asm_output_aligned_decl_common", "(", "FILE", "*", "stream", ",", "tree", "decl", "ATTRIBUTE_UNUSED", ",", "const", "char", "*", "name", ",", "unsigned", "HOST_WIDE_INT", "size", ",", "unsigned", "int", "align", ")", "{", "unsigned", "int", ...
[ "Output", "assembly", "language", "to", "define", "a", "symbol", "as", "COMMON", "from", "a", "DECL", ",", "possibly", "with", "visibility", "." ]
GCC
mn10300
CPP
next_suggestion
MPU
35,359
[ "if", "(", "REG_P", "(", "index", ")", ")", "{" ]
[ "rtx", "base", ",", "index", ";", "if", "(", "CONSTANT_ADDRESS_P", "(", "x", ")", ")", "return", "!", "flag_pic", "||", "mn10300_legitimate_pic_operand_p", "(", "x", ")", ";", "if", "(", "RTX_OK_FOR_BASE_P", "(", "x", ",", "strict", ")", ")", "return", "...
LLVM
PowerPC
CPP
next_suggestion
CPU
35,360
[ "if", "(", "needsFP", "(", "MF", ")", ")", "Reserved", ".", "set", "(", "PPC", "::", "R31", ")", ";" ]
[ "Reserved", ".", "set", "(", "PPC", "::", "R1", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "LR", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "LR8", ")", ";", "Reserved", ".", "set", "(", "PPC", "::", "RM", ")", ";", "if", "("...
LLVM
AArch64
TD
next_suggestion
CPU
35,361
[ "}" ]
[ "class", "BaseCondSelect", "<", "bit", "op", ",", "bits", "<", "<NUM_LIT>", ">", "op2", ",", "RegisterClass", "regtype", ",", "string", "asm", ">", ":", "I", "<", "(", "outs", "regtype", ":", "$", "Rd", ")", ",", "(", "ins", "regtype", ":", "$", "R...
GCC
arm
MD
next_suggestion
CPU
35,362
[ ")" ]
[ "(", "compare", ":", "CCFP", "(", "match_operand", ":", "SF", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", "(", "match_operand", ":", "SF", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", ")", ")", "]", "<STR_LIT>", "<STR_LIT>", "<STR_LIT>", "[", "(", "set", "(",...
LLVM
Z80
CPP
code_generation
MPU
35,363
[ "void", "Z80RegisterInfo", "::", "eliminateFrameIndex", "(", "MachineBasicBlock", "::", "iterator", "MII", ",", "int", "SPAdj", ",", "unsigned", "FIOperandNum", ",", "RegScavenger", "*", "RS", ")", "const", "{", "MachineInstr", "&", "MI", "=", "*", "MII", ";",...
[ "This", "method", "must", "be", "overriden", "to", "eliminate", "abstract", "frame", "indices", "from", "instructions", "which", "may", "use", "them", "." ]
LLVM
Mips
CPP
stmt_completion
CPU
35,364
[ ")", ",", "CallSym", ",", "Comp", ")", ";" ]
[ "<STR_LIT>", "__addtf3", "<STR_LIT>", ",", "<STR_LIT>", "__divtf3", "<STR_LIT>", ",", "<STR_LIT>", "__eqtf2", "<STR_LIT>", ",", "<STR_LIT>", "__extenddftf2", "<STR_LIT>", ",", "<STR_LIT>", "__extendsftf2", "<STR_LIT>", ",", "<STR_LIT>", "__fixtfdi", "<STR_LIT>", ",", ...
GCC
i386
CPP
stmt_completion
CPU
35,365
[ "_", "_", "index", ",", "(", "_", "_", "v2df", ")", "_", "_", "mask", ",", "_", "_", "scale", ")", ";" ]
[ "return", "(", "_", "_", "m128d", ")", "_", "_", "builtin_ia32_gathersiv2df", "(", "(", "_", "_", "v2df", ")", "_", "_", "src", ",", "_", "_", "base", ",", "(", "_", "_", "v4si", ")" ]
LLVM
AMDGPU
CPP
stmt_completion
GPU
35,366
[ ")", ")", "return", "true", ";" ]
[ "if", "(", "DomIt", "!=", "Visited", ".", "end", "(", ")", "&&", "DomIt", "->", "second", "<=", "LoopLevel", ")", "return", "true", ";", "if", "(", "llvm", "::", "is_contained", "(", "Blocks", ",", "&", "MBB" ]
LLVM
XCore
CPP
program_repair
MPU
35,367
[ "<FIXS>", "}", "<FIXE>" ]
[ "bool", "addInstSelector", "(", ")", "override", ";", "void", "addPreEmitPass", "(", ")", "override", ";", "}", ";", "<BUGS>", "}", "<BUGE>", "TargetPassConfig", "*", "XCoreTargetMachine", "::", "createPassConfig", "(", "PassManagerBase", "&", "PM", ")", "{", ...
LLVM
Hexagon
CPP
stmt_completion
DSP
35,368
[ ",", "DAG", ")", ";" ]
[ "for", "(", "unsigned", "i", "=", "<NUM_LIT>", ";", "i", "!=", "Size", ";", "++", "i", ")", "Ops", ".", "push_back", "(", "Op", ".", "getOperand", "(", "i", ")", ")", ";", "if", "(", "VecTy", ".", "getVectorElementType", "(", ")", "==", "MVT", ":...
LLVM
AMDGPU
CPP
stmt_completion
GPU
35,369
[ "nullptr", ";" ]
[ "NODE_NAME_CASE", "(", "IF", ")", "NODE_NAME_CASE", "(", "ELSE", ")", "NODE_NAME_CASE", "(", "LOOP", ")", "NODE_NAME_CASE", "(", "CALL", ")", "NODE_NAME_CASE", "(", "TC_RETURN", ")", "NODE_NAME_CASE", "(", "TRAP", ")", "NODE_NAME_CASE", "(", "RET_FLAG", ")", "...
GCC
mep
MD
stmt_completion
CPU
35,370
[ ")" ]
[ "(", "define_automaton", "<STR_LIT>", ")", "(", "define_cpu_unit", "<STR_LIT>", "<STR_LIT>" ]
LLVM
ARM64
TD
stmt_completion
CPU
35,371
[ "<NUM_LIT>", ";" ]
[ "class", "LoadStore128RO", "<", "bits", "<", "<NUM_LIT>", ">", "sz", ",", "bit", "V", ",", "bits", "<", "<NUM_LIT>", ">", "opc", ",", "RegisterClass", "regtype", ",", "string", "asm", ",", "dag", "ins", ",", "dag", "outs", ",", "list", "<", "dag", ">...
GCC
mips
MD
next_suggestion
CPU
35,372
[ "(", "set_attr", "<STR_LIT>", "<STR_LIT>", ")", "]", ")" ]
[ "(", "parallel", "[", "(", "const_int", "<NUM_LIT>", ")", "(", "const_int", "<NUM_LIT>", ")", "]", ")", ")", ")", "(", "any_extend", ":", "V2DI", "(", "vec_select", ":", "V2SI", "(", "match_dup", "<NUM_LIT>", ")", "(", "parallel", "[", "(", "const_int", ...
GCC
s390
MD
next_suggestion
MPU
35,373
[ "operands", "[", "<NUM_LIT>", "]", "=", "operand_subword", "(", "operands", "[", "<NUM_LIT>", "]", ",", "<NUM_LIT>", ",", "<NUM_LIT>", ",", "<", "MODE", ">", "mode", ")" ]
[ "{", "operands", "[", "<NUM_LIT>", "]", "=", "operand_subword", "(", "operands", "[", "<NUM_LIT>", "]", ",", "<NUM_LIT>", ",", "<NUM_LIT>", ",", "<", "MODE", ">", "mode", ")", "operands", "[", "<NUM_LIT>", "]", "=", "operand_subword", "(", "operands", "[",...
GCC
sh
MD
stmt_completion
CPU
35,374
[ "const_string", "<STR_LIT>", ")", ")" ]
[ "(", "define_attr", "<STR_LIT>", "<STR_LIT>", "(" ]
LLVM
ARM
TD
stmt_completion
CPU
35,375
[ ",", "<STR_LIT>", ">", ";" ]
[ "def", "VLD4q16", ":", "VLD4D", "<", "<NUM_LIT>", ",", "{", "<NUM_LIT>", ",", "<NUM_LIT>", ",", "?", ",", "?", "}" ]
GCC
iq2000
CPP
code_generation
CPU
35,376
[ "void", "final_prescan_insn", "(", "rtx_insn", "*", "insn", ",", "rtx", "opvec", "[", "]", "ATTRIBUTE_UNUSED", ",", "int", "noperands", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "dslots_number_nops", ">", "<NUM_LIT>", ")", "{", "rtx", "pattern", "=", "PATTERN",...
[ "If", "defined", ",", "a", "C", "statement", "to", "be", "executed", "just", "prior", "to", "the", "output", "of", "assembler", "code", "for", "INSN", ",", "to", "modify", "the", "extracted", "operands", "so", "they", "will", "be", "output", "differently",...
LLVM
AMDGPU
CPP
next_suggestion
GPU
35,377
[ "VLIW5", "=", "!", "ST", ".", "hasCaymanISA", "(", ")", ";" ]
[ "void", "R600SchedStrategy", "::", "initialize", "(", "ScheduleDAGMI", "*", "dag", ")", "{", "assert", "(", "dag", "->", "hasVRegLiveness", "(", ")", "&&", "<STR_LIT>", "R600SchedStrategy needs vreg liveness", "<STR_LIT>", ")", ";", "DAG", "=", "static_cast", "<",...
LLVM
ARM
CPP
stmt_completion
CPU
35,378
[ "DisableFramePointerElim", "(", "MF", ")", ")", "return", "true", ";" ]
[ "const", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "if", "(", "MF", ".", "getTarget", "(", ")", ".", "Options", "." ]
GCC
rs6000
CPP
stmt_completion
CPU
35,379
[ "_", "_", "B", "[", "<NUM_LIT>", "]", ";" ]
[ "extern", "_", "_", "inline", "_", "_", "m128", "_", "_", "attribute__", "(", "(", "_", "_", "gnu_inline__", ",", "_", "_", "always_inline__", ",", "_", "_", "artificial__", ")", ")", "_", "mm_sub_ss", "(", "_", "_", "m128", "_", "_", "A", ",", "...
GCC
s390
CPP
stmt_completion
MPU
35,380
[ "->", "atia", ";" ]
[ "extern", "_", "_", "inline", "long", "_", "_", "attribute__", "(", "(", "_", "_", "gnu_inline__", ",", "_", "_", "always_inline__", ",", "_", "_", "artificial__", ")", ")", "_", "_", "TM_failure_address", "(", "void", "*", "const", "tdb_ptr", ")", "{"...
LLVM
X86
CPP
stmt_completion
CPU
35,381
[ "Form213", "]", ";" ]
[ "assert", "(", "MemOpcodes", "&&", "<STR_LIT>", "The group does not have memory opcodes.", "<STR_LIT>", ")", ";", "return", "MemOpcodes", "[" ]
GCC
i386
CPP
stmt_completion
CPU
35,382
[ "data1", ",", "flags", ")", ";" ]
[ "_", "_", "attribute__", "(", "(", "_", "_", "gnu_inline__", ",", "_", "_", "always_inline__", ",", "_", "_", "artificial__", ")", ")", "_", "_", "lwpins64", "(", "unsigned", "long", "long", "data2", ",", "unsigned", "int", "data1", ",", "unsigned", "i...
LLVM
AArch64
CPP
stmt_completion
CPU
35,383
[ "<STR_LIT>", "::", "<STR_LIT>", ")", ";" ]
[ "if", "(", "MRI", ".", "getType", "(", "ExtReg", ")", ".", "getSizeInBits", "(", ")", "==", "<NUM_LIT>", ")", "return", "ExtReg", ";", "Register", "NarrowReg", "=", "MRI", ".", "createVirtualRegister", "(", "&" ]
LLVM
Hexagon
CPP
next_suggestion
DSP
35,384
[ "}" ]
[ "Op", "->", "Tok", ".", "Data", "=", "Str", ".", "data", "(", ")", ";", "Op", "->", "Tok", ".", "Length", "=", "Str", ".", "size", "(", ")", ";", "Op", "->", "StartLoc", "=", "S", ";", "Op", "->", "EndLoc", "=", "S", ";", "return", "std", "...
LLVM
Mips
CPP
stmt_completion
CPU
35,385
[ "Chain", ",", "Tgt", ",", "*", "PtrInfo", ")", ";" ]
[ "Off", "=", "DAG", ".", "getNode", "(", "<STR_LIT>", "::", "<STR_LIT>", ",", "DL", ",", "MVT", "::", "i64", ",", "Off", ",", "getTargetNode", "(", "N", ",", "MVT", "::", "i64", ",", "DAG", ",", "LoFlag", ")", ")", ";", "SDValue", "Tgt", "=", "DAG...
LLVM
AMDGPU
CPP
program_repair
GPU
35,386
[ "<FIXS>", "dbgs", "(", ")", "<<", "*", "OldOpndValue", ";", "dbgs", "(", ")", "<<", "<STR_LIT>", ", bound_ctrl=", "<STR_LIT>", "<<", "CombBCZ", "<<", "'", "\\n", "'", ")", ";", "SmallVector", "MachineInstr", "*", ",", "<NUM_LIT>", ">", "OrigMIs", ",", "D...
[ "if", "(", "!", "OldOpndValue", ")", "dbgs", "(", ")", "<<", "<STR_LIT>", "undef", "<STR_LIT>", ";", "else", "<BUGS>", "dbgs", "(", ")", "<<", "OldOpndValue", "->", "getImm", "(", ")", ";", "dbgs", "(", ")", "<<", "<STR_LIT>", ", bound_ctrl=", "<STR_LIT>...
GCC
rs6000
MD
stmt_completion
CPU
35,387
[ ")", ")" ]
[ "(", "define_insn_reservation", "<STR_LIT>", "<NUM_LIT>", "(", "and", "(", "eq_attr", "<STR_LIT>", "<STR_LIT>", ")", "(", "eq_attr", "<STR_LIT>", "<STR_LIT>" ]
LLVM
PowerPC
CPP
stmt_completion
CPU
35,388
[ "(", "VT", ".", "isInteger", "(", ")", "?", "<NUM_LIT>", ":", "<NUM_LIT>", ",", "MVT", "::", "i32", ")", ")", ";" ]
[ "SDValue", "FprIndex", "=", "DAG", ".", "getExtLoad", "(", "ISD", "::", "ZEXTLOAD", ",", "dl", ",", "MVT", "::", "i32", ",", "InChain", ",", "FprPtr", ",", "MachinePointerInfo", "(", "SV", ")", ",", "MVT", "::", "i8", ",", "false", ",", "false", ",",...
LLVM
PowerPC
CPP
next_suggestion
CPU
35,389
[ "const", "static", "MCFixupKindInfo", "InfosLE", "[", "PPC", "::", "NumTargetFixupKinds", "]", "=", "{" ]
[ "const", "static", "MCFixupKindInfo", "InfosBE", "[", "PPC", "::", "NumTargetFixupKinds", "]", "=", "{", "{", "<STR_LIT>", "fixup_ppc_br24", "<STR_LIT>", ",", "<NUM_LIT>", ",", "<NUM_LIT>", ",", "MCFixupKindInfo", "::", "FKF_IsPCRel", "}", ",", "{", "<STR_LIT>", ...
LLVM
Hexagon
CPP
code_generation
DSP
35,390
[ "Register", "HexagonInstrInfo", "::", "isStoreToStackSlot", "(", "const", "MachineInstr", "&", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "Hexagon...
[ "isStoreToStackSlot", "-", "If", "the", "specified", "machine", "instruction", "is", "a", "direct", "store", "to", "a", "stack", "slot", ",", "return", "the", "virtual", "or", "physical", "register", "number", "of", "the", "source", "reg", "along", "with", "...
GCC
s390
MD
next_suggestion
MPU
35,391
[ "(", "rotate", ":", "V2DI" ]
[ "<STR_LIT>", "[", "(", "set", "(", "match_dup", "<NUM_LIT>", ")", "(", "vec_select", ":", "V_HW_4", "(", "vec_concat", ":", "<", "vec_2x_nelts", ">", "(", "match_dup", "<NUM_LIT>", ")", "(", "match_dup", "<NUM_LIT>", ")", ")", "(", "parallel", "[", "(", ...
LLVM
AArch64
TD
next_suggestion
CPU
35,392
[ "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "Rn", ";" ]
[ "bits", "<", "<NUM_LIT>", ">", "cond", ";", "let", "Inst", "{", "<NUM_LIT>", "}", "=", "op", ";", "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "<NUM_LIT>", ";", "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "Rm", ";", ...
GCC
vax
MD
next_suggestion
CPU
35,393
[ "<STR_LIT>", ")" ]
[ "(", "define_insn", "<STR_LIT>", "[", "(", "call", "(", "match_operand", ":", "QI", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", "(", "match_operand", ":", "SI", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", ")", "]", "<STR_LIT>" ]
LLVM
WebAssembly
CPP
next_suggestion
Virtual ISA
35,394
[ "if", "(", "WasmSym", "->", "isGlobal", "(", ")", ")", "report_fatal_error", "(", "<STR_LIT>", "Global indexes with offsets not supported", "<STR_LIT>", ")", ";" ]
[ "Kind", "=", "MCSymbolRefExpr", "::", "VK_WASM_TBREL", ";", "break", ";", "default", ":", "llvm_unreachable", "(", "<STR_LIT>", "Unknown target flag on GV operand", "<STR_LIT>", ")", ";", "}", "const", "MCExpr", "*", "Expr", "=", "MCSymbolRefExpr", "::", "create", ...
LLVM
ARM64
TD
next_suggestion
CPU
35,395
[ "}" ]
[ "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "<NUM_LIT>", ";", "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "size", ";", "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "<NUM_LIT>", ";", "let", "Inst", "{", ...
LLVM
M88k
CPP
next_suggestion
MPU
35,396
[ "default", ":" ]
[ "case", "<STR_LIT>", "::", "<STR_LIT>", ":", "case", "<STR_LIT>", "::", "<STR_LIT>", ":", "{", "unsigned", "CC", "=", "Cond", "[", "<NUM_LIT>", "]", ".", "getImm", "(", ")", ";", "CC", "=", "(", "CC", "&", "~", "<NUM_LIT>", ")", "|", "(", "<NUM_LIT>"...
GCC
pdp11
CPP
stmt_completion
MPU
35,397
[ ";" ]
[ "if", "(", "speed", "&&", "!", "CONSTANT_P", "(", "addr", ")", ")", "cost", "+=", "(", "mode", "==", "QImode", ")", "?", "<NUM_LIT>", ":", "GET_MODE_SIZE", "(", "mode", ")", ";", "}", "return", "cost" ]
GCC
rs6000
CPP
program_repair
CPU
35,398
[ "<FIXS>", "tree", "thunk_fndecl", "ATTRIBUTE_UNUSED", ";", "<FIXE>", "<FIXS>", "const", "char", "*", "this_reg", "=", "reg_names", "[", "aggregate_value_p", "(", "TREE_TYPE", "(", "TREE_TYPE", "(", "function", ")", ")", ")", "?", "<NUM_LIT>", ":", "<NUM_LIT>", ...
[ "voidoutput_mi_thunk", "(", "file", ",", "thunk_fndecl", ",", "delta", ",", "function", ")", "FILE", "*", "file", ";", "<BUGS>", "tree", "thunk_fndecl", ";", "<BUGE>", "int", "delta", ";", "tree", "function", ";", "{", "<BUGS>", "char", "*", "this_reg", "=...
GCC
csky
MD
next_suggestion
CPU
35,399
[ "<STR_LIT>", ")" ]
[ "[", "(", "set", "(", "reg", ":", "CC", "<NUM_LIT>", ")", "(", "ne", ":", "CC", "(", "match_operand", ":", "DF", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", "(", "match_operand", ":", "DF", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", ")", ")", "]", "<S...