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
Hexagon
TD
next_suggestion
DSP
31,100
[ "}" ]
[ "let", "cofMax1", "=", "<NUM_LIT>", ";", "let", "isRestrictNoSlot1Store", "=", "<NUM_LIT>", ";", "let", "isReturn", "=", "<NUM_LIT>", ";", "let", "Uses", "=", "[", "FRAMEKEY", "]", ";", "let", "Defs", "=", "[", "PC", ",", "R29", "]", ";", "let", "BaseO...
GCC
bfin
CPP
program_repair
DSP
31,101
[ "<FIXS>", "rtx_insn", "*", "prev", "=", "BB_END", "(", "loop", "->", "incoming_src", ")", ";", "<FIXE>" ]
[ "if", "(", "loop", "->", "incoming_src", ")", "{", "<BUGS>", "rtx", "prev", "=", "BB_END", "(", "loop", "->", "incoming_src", ")", ";", "<BUGE>", "if", "(", "vec_safe_length", "(", "loop", "->", "incoming", ")", ">", "<NUM_LIT>", "||", "!", "(", "loop"...
LLVM
Hexagon
TD
next_suggestion
DSP
31,102
[ "let", "isExtendable", "=", "<NUM_LIT>", ";" ]
[ "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "<NUM_LIT>", ";", "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "<NUM_LIT>", ";", "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "<NUM_LIT>", ";", "let", "isPredica...
LLVM
X86
CPP
stmt_completion
CPU
31,103
[ ")", ";" ]
[ "SDValue", "A2", "=", "b", ".", "BITCAST", "(", "Op", ".", "getOperand", "(", "<NUM_LIT>", ")", ",", "FullVT", ")", ";", "SDValue", "Tmp", "=", "b", ".", "XOR", "(", "A1", ",", "A2", ")", ";", "SDValue", "TmpAns", "=", "b", ".", "AND", "(", "b"...
LLVM
PTX
CPP
stmt_completion
GPU
31,104
[ ",", "OutVals", "[", "i", "]", ")", ";" ]
[ "}", "MachineFunction", "&", "MF", "=", "DAG", ".", "getMachineFunction", "(", ")", ";", "PTXMachineFunctionInfo", "*", "MFI", "=", "MF", ".", "getInfo", "<", "PTXMachineFunctionInfo", ">", "(", ")", ";", "PTXParamManager", "&", "PM", "=", "MFI", "->", "ge...
LLVM
Mips
CPP
next_suggestion
CPU
31,105
[ "if", "(", "!", "IsPIC", ")", "Callee", "=", "DAG", ".", "getTargetExternalSymbol", "(", "Sym", ",", "getPointerTy", "(", "DAG", ".", "getDataLayout", "(", ")", ")", ",", "<STR_LIT>", "::", "<STR_LIT>", ")", ";" ]
[ "UseUpperBits", "=", "true", ";", "[", "[", "fallthrough", "]", "]", ";", "case", "CCValAssign", "::", "AExt", ":", "Arg", "=", "DAG", ".", "getNode", "(", "ISD", "::", "ANY_EXTEND", ",", "DL", ",", "LocVT", ",", "Arg", ")", ";", "break", ";", "}",...
LLVM
X86
CPP
next_suggestion
CPU
31,106
[ "}" ]
[ "for", "(", "unsigned", "i", "=", "<NUM_LIT>", ";", "i", "!=", "Half", ";", "++", "i", ")", "{", "MaskVec", ".", "push_back", "(", "DAG", ".", "getConstant", "(", "i", "+", "Half", ",", "BaseVT", ")", ")", ";", "MaskVec", ".", "push_back", "(", "...
LLVM
ARM
TD
next_suggestion
CPU
31,107
[ "let", "Inst", "{", "<NUM_LIT>", "}", "=", "<NUM_LIT>", ";" ]
[ "class", "MVE_VCMPqqu", "<", "string", "suffix", ",", "bits", "<", "<NUM_LIT>", ">", "size", ">", ":", "MVE_VCMPqq", "<", "suffix", ",", "<NUM_LIT>", ",", "size", ",", "pred_basic_u", ">", "{", "let", "Inst", "{", "<NUM_LIT>", "}", "=", "<NUM_LIT>", ";" ...
LLVM
Mips
CPP
program_repair
CPU
31,108
[ "<FIXS>", "}", "#", "endif", "<FIXE>" ]
[ "void", "emitInterruptPrologueStub", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", ";", "}", ";", "<BUGS>", "}", "#", "endif", "<BUGE>" ]
GCC
c6x
CPP
stmt_completion
VLIW
31,109
[ ")", ";" ]
[ "static", "void", "reorg_split_calls", "(", "rtx_insn", "*", "*", "call_labels", ")", "{", "unsigned", "int", "reservation_mask", "=", "<NUM_LIT>", ";", "rtx_insn", "*", "insn", "=", "get_insns", "(", ")", ";", "gcc_assert", "(", "NOTE_P", "(", "insn", ")", ...
LLVM
Hexagon
TD
next_suggestion
DSP
31,110
[ "let", "opExtendable", "=", "<NUM_LIT>", ";" ]
[ "let", "cofRelax1", "=", "<NUM_LIT>", ";", "let", "cofRelax2", "=", "<NUM_LIT>", ";", "let", "cofMax1", "=", "<NUM_LIT>", ";", "let", "Defs", "=", "[", "PC", "]", ";", "let", "InputType", "=", "<STR_LIT>", ";", "let", "BaseOpcode", "=", "<STR_LIT>", ";",...
LLVM
Mips
CPP
stmt_completion
CPU
31,111
[ ";" ]
[ "void", "MipsPassConfig", "::", "addPreSched2", "(", ")", "{", "addPass", "(", "createMipsExpandPseudoPass", "(", ")", ")" ]
LLVM
Hexagon
TD
stmt_completion
DSP
31,112
[ "-", "<NUM_LIT>", "}", ";" ]
[ "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "Vu32", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", ";", "bits", "<", "<NUM_LIT>", ">", "Rtt32", ";", "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "Rtt32", "{", "<NUM_LIT>" ]
LLVM
AMDGPU
CPP
next_suggestion
GPU
31,113
[ "NewGlob", "->", "addOperand", "(", "MF", ",", "MachineOperand", "::", "CreateReg", "(", "BaseReg", ",", "false", ")", ")", ";" ]
[ "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "<STR_LIT>", "Global Mem opp ", "<STR_LIT>", "<<", "MI", "<<", "'", "\\n", "'", ")", ";", "unsigned", "BaseReg", "=", "<NUM_LIT>", ";", "unsigned", "IndexReg", "=", "<NUM_LIT>", ";", "MachineOperand", "*", "Op", "...
LLVM
X86
CPP
next_suggestion
CPU
31,114
[ "case", "X86", "::", "VCMPPHZ256rmi", ":", "case", "X86", "::", "VCMPPHZ256rri", ":" ]
[ "case", "X86", "::", "VCMPPSZ128rmi", ":", "case", "X86", "::", "VCMPPSZ128rri", ":", "case", "X86", "::", "VCMPPSZ256rmi", ":", "case", "X86", "::", "VCMPPSZ256rri", ":", "case", "X86", "::", "VCMPPSZrmi", ":", "case", "X86", "::", "VCMPPSZrri", ":", "cas...
LLVM
ARM64
TD
next_suggestion
CPU
31,115
[ "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "<NUM_LIT>", ";" ]
[ "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "sz", ";", "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "<NUM_LIT>", ";", "let", "Inst", "{", "<NUM_LIT>", "}", "=", "V", ";", "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LI...
GCC
s390
MD
stmt_completion
MPU
31,116
[ "<NUM_LIT>", "<STR_LIT>" ]
[ "(", "define_bypass" ]
LLVM
HSAIL
CPP
next_suggestion
Virtual ISA
31,117
[ "if", "(", "NElts", "!=", "<NUM_LIT>", ")", "O", "<<", "'", "[", "'", "<<", "NElts", "<<", "'", "]", "'", ";" ]
[ "unsigned", "ABIAlign", "=", "DL", ".", "getABITypeAlignment", "(", "Ty", ")", ";", "if", "(", "ABIAlign", "!=", "DL", ".", "getABITypeAlignment", "(", "EltTy", ")", ")", "O", "<<", "<STR_LIT>", "align(", "<STR_LIT>", "<<", "ABIAlign", "<<", "<STR_LIT>", "...
LLVM
PowerPC
TD
stmt_completion
CPU
31,118
[ "FMUL_rec", ",", "FMULS_rec", ",", "FSUB_rec", ",", "FSUBS_rec", ")", ">", ";" ]
[ "def", ":", "InstRW", "<", "[", "P10W_BF_7C", ",", "P10W_DISP_EVEN", ",", "P10W_FX_3C", ",", "P10W_DISP_ANY", "]", ",", "(", "instrs", "FADD_rec", ",", "FADDS_rec", "," ]
LLVM
AArch64
CPP
program_repair
CPU
31,119
[ "<FIXS>", "Operands", ".", "push_back", "(", "AArch64Operand", "::", "CreateToken", "(", "<STR_LIT>", "sys", "<STR_LIT>", ",", "NameLoc", ",", "getContext", "(", ")", ")", ")", ";", "<FIXE>" ]
[ "return", "TokError", "(", "<STR_LIT>", "invalid operand", "<STR_LIT>", ")", ";", "Mnemonic", "=", "Name", ";", "<BUGS>", "Operands", ".", "push_back", "(", "AArch64Operand", "::", "CreateToken", "(", "<STR_LIT>", "sys", "<STR_LIT>", ",", "false", ",", "NameLoc"...
GCC
s390
MD
stmt_completion
MPU
31,120
[ ")", ")" ]
[ "(", "define_insn", "<STR_LIT>", "[", "(", "set", "(", "reg", "CC_REGNUM", ")", "(", "compare", "(", "xor", ":", "DI", "(", "match_operand", ":", "DI", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", "(", "match_operand", ":", "DI", "<NUM_LIT>", "<STR_LIT>", "...
LLVM
ARM
TD
next_suggestion
CPU
31,121
[ "}" ]
[ "bits", "<", "<NUM_LIT>", ">", "imm", ";", "let", "Inst", "{", "<NUM_LIT>", "}", "=", "<NUM_LIT>", ";", "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "Rd", ";", "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "Rn", ";", ...
LLVM
AMDGPU
CPP
stmt_completion
GPU
31,122
[ "(", "I", ")", ";" ]
[ "const", "GCNSubtarget", "&", "ST", "=", "MF", ".", "getSubtarget", "<", "GCNSubtarget", ">", "(", ")", ";", "TII", "=", "ST", ".", "getInstrInfo", "(", ")", ";", "MRI", "=", "&", "MF", ".", "getRegInfo", "(", ")", ";", "LIS", "=", "&", "getAnalysi...
LLVM
X86
CPP
stmt_completion
CPU
31,123
[ "const", "{" ]
[ "EDInstInfo", "*", "X86GenericDisassembler", "::", "getEDInfo", "(", ")" ]
LLVM
AArch64
TD
stmt_completion
CPU
31,124
[ "<NUM_LIT>", ",", "<NUM_LIT>", ">", ";" ]
[ "def", "UImm6s8Operand", ":", "UImmScaledMemoryIndexed", "<" ]
LLVM
PowerPC
CPP
next_suggestion
CPU
31,125
[ "if", "(", "GVar", "&&", "GVar", "->", "isConstant", "(", ")", "&&", "GVar", "->", "getInitializer", "(", ")", "->", "needsRelocation", "(", ")", ")", "Kind", "=", "SectionKind", "::", "getReadOnlyWithRel", "(", ")", ";" ]
[ "if", "(", "Kind", ".", "isReadOnly", "(", ")", ")", "{", "const", "GlobalVariable", "*", "GVar", "=", "dyn_cast", "<", "GlobalVariable", ">", "(", "GV", ")", ";" ]
LLVM
WebAssembly
CPP
code_generation
Virtual ISA
31,126
[ "bool", "WebAssemblyInstrInfo", "::", "analyzeBranch", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "*", "&", "TBB", ",", "MachineBasicBlock", "*", "&", "FBB", ",", "SmallVectorImpl", "<", "MachineOperand", ">", "&", "Cond", ",", "bool", ")", ...
[ "analyzeBranch", "-", "Analyze", "the", "branching", "code", "at", "the", "end", "of", "MBB", ",", "returning", "true", "if", "it", "can", "not", "be", "understood", "(", "e.g", "." ]
LLVM
AMDGPU
CPP
next_suggestion
GPU
31,127
[ "I", ".", "replaceAllUsesWith", "(", "Fract", ")", ";" ]
[ "Value", "*", "FractArg", "=", "matchFractPat", "(", "I", ")", ";", "if", "(", "!", "FractArg", ")", "return", "false", ";", "if", "(", "!", "I", ".", "hasNoNaNs", "(", ")", "&&", "!", "isKnownNeverNaN", "(", "FractArg", ",", "*", "DL", ",", "TLInf...
GCC
rs6000
CPP
next_suggestion
CPU
31,128
[ "}" ]
[ "if", "(", "REG_NOTE_KIND", "(", "link", ")", "!=", "<NUM_LIT>", ")", "return", "<NUM_LIT>", ";", "if", "(", "REG_NOTE_KIND", "(", "link", ")", "==", "<NUM_LIT>", ")", "{", "if", "(", "rs6000_sched_groups", "&&", "GET_CODE", "(", "PATTERN", "(", "insn", ...
LLVM
X86
CPP
program_repair
CPU
31,129
[ "<FIXS>", "BuildMI", "(", "*", "thisMBB", ",", "MI", ",", "DL", ",", "TII", "->", "get", "(", "IJmpOpc", ")", ")", ".", "addReg", "(", "Tmp", ")", ";", "<FIXE>", "<FIXS>", "return", "thisMBB", ";", "<FIXE>" ]
[ "MIB", ".", "add", "(", "MI", ".", "getOperand", "(", "i", ")", ")", ";", "}", "MIB", ".", "setMemRefs", "(", "MMOBegin", ",", "MMOEnd", ")", ";", "<BUGS>", "BuildMI", "(", "*", "MBB", ",", "MI", ",", "DL", ",", "TII", "->", "get", "(", "IJmpOp...
GCC
mep
CPP
next_suggestion
CPU
31,130
[ "}" ]
[ "if", "(", "GET_CODE", "(", "arg", ")", "!=", "CONST_INT", "||", "INTVAL", "(", "arg", ")", "<", "<NUM_LIT>", "||", "INTVAL", "(", "arg", ")", ">=", "regnum", "->", "count", ")", "return", "<NUM_LIT>", ";", "return", "gen_rtx_REG", "(", "SImode", ",", ...
LLVM
ARM
TD
stmt_completion
CPU
31,131
[ "=", "<NUM_LIT>", ";" ]
[ "class", "VST3D", "<", "bits", "<", "<NUM_LIT>", ">", "op11_8", ",", "bits", "<", "<NUM_LIT>", ">", "op7_4", ",", "string", "Dt", ">", ":", "NLdSt", "<", "<NUM_LIT>", ",", "<NUM_LIT>", ",", "op11_8", ",", "op7_4", ",", "(", "outs", ")", ",", "(", "...
LLVM
Hexagon
TD
stmt_completion
DSP
31,132
[ "=", "<STR_LIT>", ";" ]
[ "let", "isTerminator", "=", "<NUM_LIT>", ";", "let", "isBranch", "=", "<NUM_LIT>", ";", "let", "isPredicatedNew", "=", "<NUM_LIT>", ";", "let", "cofRelax1", "=", "<NUM_LIT>", ";", "let", "cofRelax2", "=", "<NUM_LIT>", ";", "let", "cofMax1", "=", "<NUM_LIT>", ...
LLVM
ARM64
CPP
next_suggestion
CPU
31,133
[ "if", "(", "MI", "->", "getOperand", "(", "<NUM_LIT>", ")", ".", "getImm", "(", ")", "==", "<NUM_LIT>", ")", "{" ]
[ "if", "(", "MI", "->", "getOperand", "(", "<NUM_LIT>", ")", ".", "getReg", "(", ")", "==", "<STR_LIT>", "::", "<STR_LIT>", ")", "{", "assert", "(", "MI", "->", "getDesc", "(", ")", ".", "getNumOperands", "(", ")", "==", "<NUM_LIT>", "&&", "MI", "->",...
LLVM
ARM
CPP
program_repair
CPU
31,134
[ "<FIXS>", "<FIXE>", "<FIXS>", "void", "ARMAsmParser", "::", "<FIXE>" ]
[ "(", "(", "ARMOperand", "*", ")", "Operands", "[", "<NUM_LIT>", "]", ")", "->", "addMemImm8s4OffsetOperands", "(", "Inst", ",", "<NUM_LIT>", ")", ";", "(", "(", "ARMOperand", "*", ")", "Operands", "[", "<NUM_LIT>", "]", ")", "->", "addCondCodeOperands", "(...
LLVM
AArch64
CPP
next_suggestion
CPU
31,135
[ "}" ]
[ "static", "inline", "const", "char", "*", "getGPROffsetExtTypeName", "(", "StringRef", "Name", ")", "{", "const", "char", "*", "res", "=", "StringSwitch", "<", "const", "char", "*", ">", "(", "Name", ".", "lower", "(", ")", ")", ".", "Case", "(", "<STR...
LLVM
Hexagon
TD
next_suggestion
DSP
31,136
[ "let", "opExtentAlign", "=", "<NUM_LIT>", ";" ]
[ "let", "isCompare", "=", "<NUM_LIT>", ";", "let", "isExtendable", "=", "<NUM_LIT>", ";", "let", "opExtendable", "=", "<NUM_LIT>", ";", "let", "isExtentSigned", "=", "<NUM_LIT>", ";", "let", "opExtentBits", "=", "<NUM_LIT>", ";" ]
GCC
arm
MD
next_suggestion
CPU
31,137
[ "(", "match_operand", ":", "SI", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", ")" ]
[ "(", "match_operand", ":", "SI", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", ")", "(", "set", "(", "match_operand", ":", "SI", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", "(", "match_dup", "<NUM_LIT>", ")", ")", "(", "set", "(", "match_operand", ":", "SI", ...
LLVM
X86
CPP
next_suggestion
CPU
31,138
[ "Row", "=", "II", "->", "getArgOperand", "(", "<NUM_LIT>", ")", ";" ]
[ "if", "(", "LDSet", ".", "empty", "(", ")", ")", "return", "false", ";", "for", "(", "auto", "&", "Inst", ":", "LDSet", ")", "{", "int", "Count", "=", "<NUM_LIT>", ";", "Value", "*", "NewInst", "=", "nullptr", ";", "for", "(", "auto", "I", "=", ...
LLVM
AMDGPU
CPP
program_repair
GPU
31,139
[ "<FIXS>", "void", "MetadataStreamerV3", "::", "begin", "(", "const", "Module", "&", "Mod", ",", "const", "IsaInfo", "::", "AMDGPUTargetID", "&", "TargetID", ")", "{", "<FIXE>" ]
[ "return", "TargetStreamer", ".", "EmitHSAMetadata", "(", "*", "HSAMetadataDoc", ",", "true", ")", ";", "}", "<BUGS>", "void", "MetadataStreamerV3", "::", "begin", "(", "const", "Module", "&", "Mod", ")", "{", "<BUGE>", "emitVersion", "(", ")", ";", "emitPrin...
LLVM
Mips
CPP
next_suggestion
CPU
31,140
[ "}" ]
[ "const", "TargetRegisterClass", "*", "RC", "=", "RegInfo", ".", "intRegClass", "(", "<NUM_LIT>", ")", ";", "Register", "VR", "=", "MRI", ".", "createVirtualRegister", "(", "RC", ")", ";", "Register", "Dst", "=", "I", "->", "getOperand", "(", "<NUM_LIT>", "...
GCC
s390
CPP
next_suggestion
MPU
31,141
[ "emit_move_insn", "(", "adjust_address", "(", "dst", ",", "QImode", ",", "<NUM_LIT>", ")", ",", "val", ")", ";" ]
[ "rtx_code_label", "*", "restbyte_end_label", "=", "gen_label_rtx", "(", ")", ";", "machine_mode", "mode", ";", "mode", "=", "GET_MODE", "(", "len", ")", ";", "if", "(", "mode", "==", "VOIDmode", ")", "mode", "=", "Pmode", ";", "dst_addr", "=", "gen_reg_rtx...
GCC
arm
CPP
code_generation
CPU
31,142
[ "static", "void", "build_all", "(", "function_builder", "&", "b", ",", "const", "char", "*", "signature", ",", "const", "function_group_info", "&", "group", ",", "mode_suffix_index", "mode_suffix_id", ",", "bool", "preserve_user_namespace", ",", "bool", "force_direc...
[ "Add", "a", "function", "instance", "for", "every", "operand", "&", "&", "predicate", "&", "&", "args", "combination", "in", "GROUP", ".", "Take", "the", "function", "base", "name", "from", "GROUP", "&", "&", "operand", "suffix", "from", "operand_suffixes", ...
LLVM
Hexagon
TD
next_suggestion
DSP
31,143
[ "bits", "<", "<NUM_LIT>", ">", "Pd4", ";" ]
[ "bits", "<", "<NUM_LIT>", ">", "Ii", ";", "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "Ii", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", ";", "bits", "<", "<NUM_LIT>", ">", "Rs32", ";", "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", ...
LLVM
TVM
CPP
stmt_completion
Virtual ISA
31,144
[ "RollOp", ";" ]
[ "roll", "RollOp", "(", "-", "static_cast", "<", "int", ">", "(", "toDeepElem", ")", ")", ";", "if", "(", "RollOp", ".", "isImmRoll", "(", ")", ")", "return", "RollOp", ";", "if", "(", "blkswap", "::", "goodFor", "(", "toDeepElem", ",", "<NUM_LIT>", "...
GCC
rs6000
CPP
stmt_completion
CPU
31,145
[ "v2di", ")", "{", "_", "_", "q0", ",", "_", "_", "q1", "}", ";" ]
[ "return", "_", "_", "extension__", "(", "_", "_", "m128i", ")", "(", "_", "_" ]
LLVM
Sparc
CPP
next_suggestion
CPU
31,146
[ "}" ]
[ "SDLoc", "dl", "(", "Op", ")", ";", "EVT", "VT", "=", "Op", ".", "getValueType", "(", ")", ";", "assert", "(", "VT", "==", "MVT", "::", "i32", "||", "VT", "==", "MVT", "::", "i64", ")", ";", "if", "(", "Op", ".", "getOperand", "(", "<NUM_LIT>",...
LLVM
SPIRV
CPP
next_suggestion
Virtual ISA
31,147
[ "}" ]
[ "for", "(", "auto", "&", "F", ":", "M", ")", "{", "if", "(", "!", "F", ".", "isDeclaration", "(", ")", "&&", "!", "F", ".", "isIntrinsic", "(", ")", ")", "{", "const", "SPIRVSubtarget", "&", "ST", "=", "TM", "->", "getSubtarget", "<", "SPIRVSubta...
LLVM
X86
CPP
next_suggestion
CPU
31,148
[ "if", "(", "IdxVal", "==", "<NUM_LIT>", ")", "return", "Op", ";" ]
[ "static", "SDValue", "LowerEXTRACT_SUBVECTOR", "(", "SDValue", "Op", ",", "const", "X86Subtarget", "&", "Subtarget", ",", "SelectionDAG", "&", "DAG", ")", "{", "assert", "(", "Op", ".", "getSimpleValueType", "(", ")", ".", "getVectorElementType", "(", ")", "==...
LLVM
AVR
CPP
stmt_completion
MPU
31,149
[ "F", ")", "{" ]
[ "static", "bool", "ShouldInstrument", "(", "Function", "&" ]
GCC
rs6000
CPP
code_generation
CPU
31,150
[ "rtx", "rs6000_longcall_ref", "(", "rtx", "call_ref", ")", "{", "const", "char", "*", "call_name", ";", "tree", "node", ";", "if", "(", "GET_CODE", "(", "call_ref", ")", "!=", "SYMBOL_REF", ")", "return", "call_ref", ";", "call_name", "=", "XSTR", "(", "...
[ "Return", "a", "reference", "suitable", "for", "calling", "a", "function", "with", "the", "longcall", "attribute", "." ]
LLVM
X86
CPP
stmt_completion
CPU
31,151
[ "SubLaneMask", ")", ";" ]
[ "SmallVector", "<", "int", ",", "<NUM_LIT>", ">", "Dst2SrcSubLanes", "(", "(", "unsigned", ")", "NumSubLanes", ",", "-", "<NUM_LIT>", ")", ";", "for", "(", "int", "i", "=", "<NUM_LIT>", ";", "i", "!=", "NumElts", ";", "++", "i", ")", "{", "int", "M",...
GCC
alpha
MD
program_repair
MPU
31,152
[ "<FIXS>", "(", "define_insn", "<STR_LIT>", "<FIXE>" ]
[ "<STR_LIT>", "[", "(", "set_attr", "<STR_LIT>", "<STR_LIT>", ")", "]", ")", "<BUGS>", "(", "define_insn", "<STR_LIT>", "<BUGE>", "[", "(", "set", "(", "match_operand", ":", "DI", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", "(", "ior", ":", "DI", "(", "not"...
LLVM
WebAssembly
CPP
stmt_completion
Virtual ISA
31,153
[ "true", ";" ]
[ "auto", "&", "Flt", "=", "Lexer", ".", "getTok", "(", ")", ";", "auto", "S", "=", "Flt", ".", "getString", "(", ")", ";", "double", "Val", ";", "if", "(", "S", ".", "compare_insensitive", "(", "<STR_LIT>", "infinity", "<STR_LIT>", ")", "==", "<NUM_LI...
GCC
xtensa
CPP
program_repair
MPU
31,154
[ "<FIXS>", "xtensa_return_in_msb", "(", "const_tree", "valtype", ")", "<FIXE>" ]
[ "static", "bool", "<BUGS>", "xtensa_return_in_msb", "(", "tree", "valtype", ")", "<BUGE>", "{", "return", "(", "TARGET_BIG_ENDIAN", "&&", "AGGREGATE_TYPE_P", "(", "valtype", ")" ]
LLVM
Mips
CPP
next_suggestion
CPU
31,155
[ "int64_t", "Val", "=", "MCE", "->", "getValue", "(", ")", ";" ]
[ "if", "(", "Parser", ".", "getTok", "(", ")", ".", "is", "(", "AsmToken", "::", "Dollar", ")", ")", "return", "MatchOperand_NoMatch", ";", "SMLoc", "S", "=", "Parser", ".", "getTok", "(", ")", ".", "getLoc", "(", ")", ";", "if", "(", "getParser", "...
LLVM
AArch64
CPP
stmt_completion
CPU
31,156
[ ":" ]
[ "case", "FK_Data_1", ":", "return", "<NUM_LIT>", ";", "case", "FK_Data_2", ":", "case", "FK_SecRel_2", ":", "return", "<NUM_LIT>", ";", "case", "<STR_LIT>", "::", "<STR_LIT>", ":", "case", "<STR_LIT>", "::", "<STR_LIT>", ":", "case", "<STR_LIT>", "::", "<STR_L...
LLVM
PowerPC
CPP
next_suggestion
CPU
31,157
[ "}", "else", "{" ]
[ "return", "true", ";", "}", "else", "if", "(", "PPC", "::", "VRRCRegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "{", "NewMIs", ".", "push_back", "(", "addFrameReference", "(", "BuildMI", "(", "MF", ",", "DL", ",", "get", "(", "PPC", "::", "STV...
LLVM
AArch64
CPP
next_suggestion
CPU
31,158
[ "CCAssignFn", "*", "AssignFn", "=", "TLI", ".", "CCAssignFnForCall", "(", "F", ".", "getCallingConv", "(", ")", ",", "false", ")", ";" ]
[ "const", "Function", "&", "F", "=", "*", "MF", ".", "getFunction", "(", ")", ";", "SmallVector", "<", "MVT", ",", "<NUM_LIT>", ">", "ArgTys", ";", "for", "(", "auto", "&", "Arg", ":", "Args", ")", "ArgTys", ".", "push_back", "(", "MVT", "::", "getV...
LLVM
ARM
CPP
stmt_completion
CPU
31,159
[ ".", "ImplicitDefs", "[", "<NUM_LIT>", "]", ")", ")", ";" ]
[ "if", "(", "II", ".", "getNumDefs", "(", ")", ">=", "<NUM_LIT>", ")", "{", "AddOptionalDefs", "(", "BuildMI", "(", "*", "FuncInfo", ".", "MBB", ",", "FuncInfo", ".", "InsertPt", ",", "DL", ",", "II", ",", "ResultReg", ")", ".", "addReg", "(", "Op0", ...
LLVM
AArch64
CPP
stmt_completion
CPU
31,160
[ "lookup", "(", "Section", ")", ";" ]
[ "virtual", "void", "ChangeSection", "(", "const", "MCSection", "*", "Section", ")", "{", "LastMappingSymbols", "[", "getPreviousSection", "(", ")", "]", "=", "LastEMS", ";", "LastEMS", "=", "LastMappingSymbols", "." ]
LLVM
ARM
CPP
program_repair
CPU
31,161
[ "<FIXS>", "if", "(", "Offset", "<NUM_LIT>", "&&", "(", "!", "HasCCOut", "||", "MI", ".", "getOperand", "(", "MI", ".", "getNumOperands", "(", ")", "-", "<NUM_LIT>", ")", ".", "getReg", "(", ")", "==", "<NUM_LIT>", ")", ")", "{", "<FIXE>" ]
[ "if", "(", "<STR_LIT>", "::", "<STR_LIT>", "(", "Offset", ")", "!=", "-", "<NUM_LIT>", ")", "{", "MI", ".", "getOperand", "(", "FrameRegIdx", ")", ".", "ChangeToRegister", "(", "FrameReg", ",", "false", ")", ";", "MI", ".", "getOperand", "(", "FrameRegId...
LLVM
Hexagon
TD
stmt_completion
DSP
31,162
[ "<NUM_LIT>", ";" ]
[ "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "<NUM_LIT>", ";", "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "<NUM_LIT>", ";", "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=" ]
GCC
pa
MD
stmt_completion
CPU
31,163
[ "<NUM_LIT>", ")" ]
[ "(", "match_operand", ":", "DI", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", ")", ")", "(", "trap_if", "(", "ne", "(", "plus", ":", "TI", "(", "sign_extend", ":", "TI", "(", "match_dup", "<NUM_LIT>", ")", ")", "(", "sign_extend", ":", "TI", "(", "match...
LLVM
R600
CPP
stmt_completion
GPU
31,164
[ "<STR_LIT>", "::", "<STR_LIT>", ")", ";" ]
[ "bool", "AMDGPUDAGToDAGISel", "::", "isLocalLoad", "(", "const", "LoadSDNode", "*", "N", ")", "const", "{", "return", "checkType", "(", "N", "->", "getSrcValue", "(", ")", "," ]
LLVM
AVR
CPP
stmt_completion
MPU
31,165
[ "(", "S", ")", ";" ]
[ "static", "MCTargetStreamer", "*", "createMCAsmTargetStreamer", "(", "MCStreamer", "&", "S", ",", "formatted_raw_ostream", "&", "OS", ",", "MCInstPrinter", "*", "InstPrint", ",", "bool", "isVerboseAsm", ")", "{", "return", "new", "AVRTargetAsmStreamer" ]
LLVM
ARM
CPP
next_suggestion
CPU
31,166
[ "(", "*", "MIB", ")", ".", "setDesc", "(", "get", "(", "ARM", "::", "tPOP_RET", ")", ")", ";" ]
[ "ARMFunctionInfo", "*", "AFI", "=", "MF", ".", "getInfo", "<", "ARMFunctionInfo", ">", "(", ")", ";", "if", "(", "CSI", ".", "empty", "(", ")", ")", "return", "false", ";", "bool", "isVarArg", "=", "AFI", "->", "getVarArgsRegSaveSize", "(", ")", ">", ...
GCC
mips
MD
program_repair
CPU
31,167
[ "<FIXS>", "(", "eq_attr", "<STR_LIT>", "<STR_LIT>", ")", ")", ")", "<FIXE>" ]
[ "(", "define_function_unit", "<STR_LIT>", "<NUM_LIT>", "<NUM_LIT>", "(", "and", "(", "eq_attr", "<STR_LIT>", "<STR_LIT>", ")", "(", "and", "(", "eq_attr", "<STR_LIT>", "<STR_LIT>", ")", "<BUGS>", "(", "eq_attr", "<STR_LIT>", "<STR_LIT>", ")", ")", ")", "<BUGE>",...
LLVM
Hexagon
TD
next_suggestion
DSP
31,168
[ "}" ]
[ "let", "isPredicated", "=", "<NUM_LIT>", ";", "let", "isTerminator", "=", "<NUM_LIT>", ";", "let", "isBranch", "=", "<NUM_LIT>", ";", "let", "isPredicatedNew", "=", "<NUM_LIT>", ";", "let", "cofRelax1", "=", "<NUM_LIT>", ";", "let", "cofRelax2", "=", "<NUM_LIT...
GCC
i386
CPP
next_suggestion
CPU
31,169
[ "}" ]
[ "extern", "_", "_", "inline", "_", "_", "mmask8", "_", "_", "attribute__", "(", "(", "_", "_", "gnu_inline__", ",", "_", "_", "always_inline__", ",", "_", "_", "artificial__", ")", ")", "_", "mm_mask_cmpgt_epu64_mask", "(", "_", "_", "mmask8", "_", "_"...
LLVM
X86
CPP
stmt_completion
CPU
31,170
[ "(", "Val", ")", ";" ]
[ "Chain", "=", "DAG", ".", "getCopyFromReg", "(", "Chain", ",", "dl", ",", "VA", ".", "getLocReg", "(", ")", ",", "CopyVT", ",", "InFlag", ")", ".", "getValue", "(", "<NUM_LIT>", ")", ";", "SDValue", "Val", "=", "Chain", ".", "getValue", "(", "<NUM_LI...
GCC
aarch64
MD
next_suggestion
CPU
31,171
[ "{" ]
[ "[", "(", "match_dup", "<NUM_LIT>", ")", "(", "mult", ":", "SVE_I", "(", "match_operand", ":", "SVE_I", "<NUM_LIT>", "<STR_LIT>", ")", "(", "match_operand", ":", "SVE_I", "<NUM_LIT>", "<STR_LIT>", ")", ")", "]", "UNSPEC_MERGE_PTRUE", ")", ")", "]", "<STR_LIT...
LLVM
X86
TD
stmt_completion
CPU
31,172
[ ",", "<STR_LIT>", ",", "[", "]", ">", ";" ]
[ "def", "HLT", ":", "I", "<", "<NUM_LIT>", ",", "RawFrm", ",", "(", "outs", ")", ",", "(", "ins", ")" ]
LLVM
Hexagon
CPP
next_suggestion
DSP
31,173
[ "}" ]
[ "MI", ".", "setDesc", "(", "HII", ".", "get", "(", "Hexagon", "::", "A2_nop", ")", ")", ";", "while", "(", "MI", ".", "getNumOperands", "(", ")", ">", "<NUM_LIT>", ")", "MI", ".", "RemoveOperand", "(", "<NUM_LIT>", ")", ";" ]
GCC
m68k
MD
next_suggestion
MPU
31,174
[ "<STR_LIT>", ")" ]
[ "(", "eq_attr", "<STR_LIT>", "<STR_LIT>", ")", ")", "(", "eq_attr", "<STR_LIT>", "<STR_LIT>", ")", ")", "(", "eq_attr", "<STR_LIT>", "<STR_LIT>", ")", ")" ]
LLVM
TMS320C64X
CPP
stmt_completion
VLIW
31,175
[ "c", ";" ]
[ "ScheduledCyclesPre", "=" ]
LLVM
Hexagon
TD
next_suggestion
DSP
31,176
[ "let", "opExtentAlign", "=", "<NUM_LIT>", ";" ]
[ "let", "isPredicatedFalse", "=", "<NUM_LIT>", ";", "let", "isTerminator", "=", "<NUM_LIT>", ";", "let", "isBranch", "=", "<NUM_LIT>", ";", "let", "isPredicatedNew", "=", "<NUM_LIT>", ";", "let", "cofRelax1", "=", "<NUM_LIT>", ";", "let", "cofRelax2", "=", "<NU...
LLVM
Hexagon
TD
stmt_completion
DSP
31,177
[ "<STR_LIT>", ";" ]
[ "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "<NUM_LIT>", ";", "let", "isPredicated", "=", "<NUM_LIT>", ";", "let", "isPredicatedFalse", "=", "<NUM_LIT>", ";", "let", "hasNewValue", "=", "<NUM_LIT>", ";", "let", "opNewValue", "=", "<NUM_LIT>", ...
LLVM
R600
CPP
program_repair
GPU
31,178
[ "<FIXS>", "virtual", "const", "TargetRegisterClass", "*", "getIndirectAddrRegClass", "(", ")", "const", ";", "<FIXE>" ]
[ "virtual", "unsigned", "calculateIndirectAddress", "(", "unsigned", "RegIndex", ",", "unsigned", "Channel", ")", "const", ";", "<BUGS>", "virtual", "const", "TargetRegisterClass", "*", "getIndirectAddrStoreRegClass", "(", "unsigned", "SourceReg", ")", "const", ";", "v...
LLVM
PowerPC
TD
next_suggestion
CPU
31,179
[ "}" ]
[ "class", "DForm_4_fixedreg_zero", "<", "bits", "<", "<NUM_LIT>", ">", "opcode", ",", "bits", "<", "<NUM_LIT>", ">", "R", ",", "dag", "OOL", ",", "dag", "IOL", ",", "string", "asmstr", ",", "InstrItinClass", "itin", ",", "list", "<", "dag", ">", "pattern"...
LLVM
Hexagon
CPP
next_suggestion
DSP
31,180
[ "}" ]
[ "bool", "HexagonTargetObjectFile", "::", "shouldPutJumpTableInFunctionSection", "(", "bool", "UsesLabelDifference", ",", "const", "Function", "&", "F", ")", "const", "{", "return", "EmitJtInText", ";" ]
GCC
arm
CPP
stmt_completion
CPU
31,181
[ ",", "mve_pred16_t", "_", "_", "p", ")", "{" ]
[ "_", "_", "arm_vmovltq_x_u8", "(", "uint8x16_t", "_", "_", "a" ]
LLVM
AMDGPU
CPP
code_generation
GPU
31,182
[ "InstructionCost", "GCNTTIImpl", "::", "getIntrinsicInstrCost", "(", "const", "IntrinsicCostAttributes", "&", "ICA", ",", "TTI", "::", "TargetCostKind", "CostKind", ")", "{", "if", "(", "ICA", ".", "getID", "(", ")", "==", "Intrinsic", "::", "fabs", ")", "retu...
[ "Get", "intrinsic", "cost", "based", "on", "arguments", "." ]
GCC
m68k
MD
stmt_completion
MPU
31,183
[ ")", ")" ]
[ "(", "eq_attr", "<STR_LIT>", "<STR_LIT>", ")", ")", "(", "eq_attr", "<STR_LIT>", "<STR_LIT>" ]
LLVM
Hexagon
TD
stmt_completion
DSP
31,184
[ "=", "<NUM_LIT>", ";" ]
[ "let", "isPredicated", "=", "<NUM_LIT>", ";", "let", "isPredicatedFalse", "=", "<NUM_LIT>", ";", "let", "isTerminator", "=", "<NUM_LIT>", ";", "let", "isBranch", "=", "<NUM_LIT>", ";", "let", "isPredicatedNew", "=", "<NUM_LIT>", ";", "let", "cofRelax1", "=", "...
LLVM
AMDGPU
CPP
stmt_completion
GPU
31,185
[ "<NUM_LIT>", ";" ]
[ "unsigned", "PipelineSolver", "::", "computeProblemSize", "(", ")", "{", "unsigned", "ProblemSize", "=" ]
GCC
i386
CPP
stmt_completion
CPU
31,186
[ ",", "<NUM_LIT>", ")", ";" ]
[ "extern", "_", "_", "inline", "_", "_", "m256d", "_", "_", "attribute__", "(", "(", "_", "_", "gnu_inline__", ",", "_", "_", "always_inline__", ",", "_", "_", "artificial__", ")", ")", "_", "mm512_castpd512_pd256", "(", "_", "_", "m512d", "_", "_", "...
LLVM
PowerPC
CPP
stmt_completion
CPU
31,187
[ ".", "getDataLayout", "(", ")", ")", ";" ]
[ "Bits", "=", "DAG", ".", "getMemIntrinsicNode", "(", "<STR_LIT>", "::", "<STR_LIT>", ",", "dl", ",", "DAG", ".", "getVTList", "(", "MVT", "::", "f64", ",", "MVT", "::", "Other", ")", ",", "Ops", ",", "MVT", "::", "i32", ",", "MMO", ")", ";", "splic...
GCC
i386
CPP
stmt_completion
CPU
31,188
[ "_", "_", "B", ")", ";" ]
[ "return", "(", "_", "_", "m128i", ")", "_", "_", "builtin_ia32_paddq128", "(", "(", "_", "_", "v2di", ")", "_", "_", "A", ",", "(", "_", "_", "v2di", ")" ]
LLVM
ARM
CPP
next_suggestion
CPU
31,189
[ "}" ]
[ "bool", "CustomExpandInst", "(", "const", "MCInst", "&", "Inst", ",", "MCStreamer", "&", "Out", ")", "const", "{", "return", "CustomExpandInstNaClARM", "(", "Inst", ",", "Out", ")", ";" ]
LLVM
X86
CPP
stmt_completion
CPU
31,190
[ "I", ",", "New", ")", ";" ]
[ "if", "(", "New", ")", "{", "New", "->", "getOperand", "(", "<NUM_LIT>", ")", ".", "setIsDead", "(", ")", ";", "MBB", ".", "insert", "(", "I", ",", "New", ")", ";", "}", "}", "}", "else", "if", "(", "I", "->", "getOpcode", "(", ")", "==", "ge...
GCC
aarch64
CPP
next_suggestion
CPU
31,191
[ "}" ]
[ "if", "(", "wi", "::", "to_widest", "(", "amount", ")", ">=", "-", "element_bits", ")", "{", "amount", "=", "wide_int_to_tree", "(", "TREE_TYPE", "(", "amount", ")", ",", "-", "wi", "::", "to_wide", "(", "amount", ")", ")", ";", "function_instance", "i...
GCC
rx
MD
next_suggestion
CPU
31,192
[ "rx_emit_stack_popm", "(", "operands", ",", "false", ")" ]
[ "(", "plus", ":", "SI", "(", "reg", ":", "SI", "SP_REG", ")", "(", "match_operand", ":", "SI", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", ")", ")", "]", ")", "(", "return", ")", "]", "<STR_LIT>", "{" ]
LLVM
ARM
CPP
next_suggestion
CPU
31,193
[ "int64_t", "Val", "=", "CE", "->", "getValue", "(", ")", ";" ]
[ "bool", "isAM2OffsetImm", "(", ")", "const", "{", "if", "(", "!", "isImm", "(", ")", ")", "return", "false", ";", "const", "MCConstantExpr", "*", "CE", "=", "dyn_cast", "<", "MCConstantExpr", ">", "(", "getImm", "(", ")", ")", ";", "if", "(", "!", ...
LLVM
DirectX
CPP
next_suggestion
Virtual ISA
31,194
[ "}" ]
[ "initializeDXILOpLoweringLegacyPass", "(", "*", "PR", ")", ";", "initializeDXILTranslateMetadataPass", "(", "*", "PR", ")", ";", "initializeDXILResourceWrapperPass", "(", "*", "PR", ")", ";", "initializeShaderFlagsAnalysisWrapperPass", "(", "*", "PR", ")", ";" ]
GCC
nds32
MD
stmt_completion
CPU
31,195
[ "=", "<NUM_LIT>" ]
[ "(", "define_predicate", "<STR_LIT>", "(", "match_code", "<STR_LIT>", ")", "{", "return", "INTVAL", "(", "op", ")", "=", "=", "<NUM_LIT>", "|", "|", "INTVAL", "(", "op", ")", "=", "=", "<NUM_LIT>", "|", "|", "INTVAL", "(", "op", ")", "=" ]
LLVM
AArch64
CPP
next_suggestion
CPU
31,196
[ "tagAlloca", "(", "AI", ",", "&", "*", "IRB", ".", "GetInsertPoint", "(", ")", ",", "Ptr", ",", "Size", ")", ";" ]
[ "for", "(", "Value", "*", "V", ":", "DVI", "->", "location_ops", "(", ")", ")", "if", "(", "auto", "*", "AI", "=", "dyn_cast_or_null", "<", "AllocaInst", ">", "(", "V", ")", ")", "if", "(", "Allocas", "[", "AI", "]", ".", "DbgVariableIntrinsics", "...
GCC
i386
MD
next_suggestion
CPU
31,197
[ "<STR_LIT>" ]
[ "(", "match_operand", ":", "FMAMODE", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", "(", "match_operand", ":", "FMAMODE", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", "(", "neg", ":", "FMAMODE", "(", "match_operand", ":", "FMAMODE", "<NUM_LIT>", "<STR_LIT>", "<STR_LI...
LLVM
ARM
TD
next_suggestion
CPU
31,198
[ "}" ]
[ "bits", "<", "<NUM_LIT>", ">", "Rn", ";", "bits", "<", "<NUM_LIT>", ">", "shift", ";", "let", "Inst", "{", "<NUM_LIT>", "}", "=", "<NUM_LIT>", ";", "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "Rn", ";", "let", "Inst", "{", "<NUM_LIT>...
LLVM
Hexagon
TD
next_suggestion
DSP
31,199
[ "let", "opExtentAlign", "=", "<NUM_LIT>", ";" ]
[ "let", "cofMax1", "=", "<NUM_LIT>", ";", "let", "isRestrictNoSlot1Store", "=", "<NUM_LIT>", ";", "let", "Defs", "=", "[", "PC", "]", ";", "let", "isTaken", "=", "Inst", "{", "<NUM_LIT>", "}", ";", "let", "isExtendable", "=", "<NUM_LIT>", ";", "let", "opE...