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
TGSI
CPP
stmt_completion
Virtual ISA
622,500
[ "CPU", ",", "FS", ")", ";" ]
[ "static", "MCSubtargetInfo", "*", "createTGSIMCSubtargetInfo", "(", "const", "Triple", "&", "TT", ",", "StringRef", "CPU", ",", "StringRef", "FS", ")", "{", "return", "createTGSIMCSubtargetInfoImpl", "(", "TT", "," ]
GCC
i386
CPP
program_repair
CPU
622,501
[ "<FIXS>", "t", "=", "make_tree", "(", "type", ",", "crtl", "->", "args", ".", "internal_arg_pointer", ")", ";", "<FIXE>" ]
[ "type", "=", "TREE_TYPE", "(", "ovf", ")", ";", "<BUGS>", "t", "=", "make_tree", "(", "type", ",", "virtual_incoming_args_rtx", ")", ";", "<BUGE>", "if", "(", "words", "!=", "<NUM_LIT>", ")", "t", "=", "build2", "(", "POINTER_PLUS_EXPR", ",", "type", ","...
LLVM
Hexagon
TD
next_suggestion
DSP
622,502
[ "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "<NUM_LIT>", ";" ]
[ "def", "F2_sffixupd", ":", "HInst", "<", "(", "outs", "IntRegs", ":", "$", "Rd32", ")", ",", "(", "ins", "IntRegs", ":", "$", "Rs32", ",", "IntRegs", ":", "$", "Rt32", ")", ",", "<STR_LIT>", ",", "tc_3b470976", ",", "TypeM", ">", ",", "Enc_5ab2be", ...
GCC
csky
MD
next_suggestion
CPU
622,503
[ "return", "<NUM_LIT>" ]
[ "if", "(", "CONST_INT_P", "(", "op", ")", "&", "&", "(", "CSKY_CONST_OK_FOR_K", "(", "INTVAL", "(", "op", ")", ")", "|", "|", "CSKY_CONST_OK_FOR_Uh", "(", "INTVAL", "(", "op", ")", ")", ")", ")", "return", "<NUM_LIT>" ]
GCC
i386
MD
stmt_completion
CPU
622,504
[ "<STR_LIT>", "<STR_LIT>", ")" ]
[ "(", "define_insn", "<STR_LIT>", "[", "(", "set", "(", "reg", ":", "CC", "<NUM_LIT>", ")", "(", "unspec", ":", "CC", "[", "(", "match_operand", ":", "QI", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", "(", "match_operand", ":", "QI", "<NUM_LIT>", "<STR_LIT>"...
GCC
mips
CPP
next_suggestion
CPU
622,505
[ "case", "GT", ":" ]
[ "case", "ROTATERT", ":", "return", "ISA_HAS_ROR", ";", "case", "AND", ":", "case", "IOR", ":", "case", "XOR", ":", "return", "SMALL_OPERAND_UNSIGNED", "(", "x", ")", ";", "case", "PLUS", ":", "case", "LT", ":", "case", "LTU", ":", "return", "SMALL_OPERAN...
LLVM
X86
CPP
stmt_completion
CPU
622,506
[ "(", "N", "->", "getOperand", "(", "<NUM_LIT>", ")", ",", "<NUM_LIT>", ")", "&&", "isUndefOrEqual", "(", "N", "->", "getOperand", "(", "<NUM_LIT>", ")", ",", "<NUM_LIT>", ")", ";" ]
[ "return", "isUndefOrEqual", "(", "N", "->", "getOperand", "(", "<NUM_LIT>", ")", ",", "<NUM_LIT>", ")", "&&", "isUndefOrEqual", "(", "N", "->", "getOperand", "(", "<NUM_LIT>", ")", ",", "<NUM_LIT>", ")", "&&", "isUndefOrEqual" ]
LLVM
AMDGPU
CPP
next_suggestion
GPU
622,507
[ "if", "(", "MCOpcode", "==", "-", "<NUM_LIT>", ")", "{" ]
[ "lowerOperand", "(", "MI", "->", "getOperand", "(", "<NUM_LIT>", ")", ",", "Dest", ")", ";", "lowerOperand", "(", "MI", "->", "getOperand", "(", "<NUM_LIT>", ")", ",", "Src", ")", ";", "OutMI", ".", "addOperand", "(", "Dest", ")", ";", "OutMI", ".", ...
LLVM
ARM
TD
stmt_completion
CPU
622,508
[ "Imm", "<", "<NUM_LIT>", ";" ]
[ "if", "(", "Subtarget", "-", ">", "useMovt", "(", "*", "MF", ")", ")", "return", "true", ";", "return", "ARM_AM", ":", ":", "isSOImmTwoPartVal", "(", "(", "unsigned", ")", "N", "-", ">", "getZExtValue", "(", ")", ")", ";", "}", "]", ">", ";", "de...
LLVM
X86
CPP
stmt_completion
CPU
622,509
[ "getNode", "(", ")", "->", "getNodeId", "(", ")", ")", "{" ]
[ "if", "(", "!", "MatchAddress", "(", "N", ".", "getNode", "(", ")", "->", "getOperand", "(", "<NUM_LIT>", ")", ",", "AM", ",", "false", ",", "Depth", "+", "<NUM_LIT>", ")", "&&", "!", "MatchAddress", "(", "N", ".", "getNode", "(", ")", "->", "getOp...
GCC
arm
MD
next_suggestion
CPU
622,510
[ ")" ]
[ "(", "define_reservation", "<STR_LIT>", "<STR_LIT>" ]
LLVM
Hexagon
TD
stmt_completion
DSP
622,511
[ "<NUM_LIT>", ";" ]
[ "def", "A2_svsubhs", ":", "HInst", "<", "(", "outs", "IntRegs", ":", "$", "Rd32", ")", ",", "(", "ins", "IntRegs", ":", "$", "Rt32", ",", "IntRegs", ":", "$", "Rs32", ")", ",", "<STR_LIT>", ",", "tc_61830035", ",", "TypeALU32_3op", ">", ",", "Enc_bd6...
LLVM
X86
CPP
code_generation
CPU
622,512
[ "SDValue", "X86SelectionDAGInfo", "::", "EmitTargetCodeForMemcpy", "(", "SelectionDAG", "&", "DAG", ",", "DebugLoc", "dl", ",", "SDValue", "Chain", ",", "SDValue", "Dst", ",", "SDValue", "Src", ",", "SDValue", "Size", ",", "unsigned", "Align", ",", "bool", "is...
[ "Emit", "target-specific", "code", "that", "performs", "a", "memcpy", "." ]
LLVM
SystemZ
CPP
stmt_completion
CPU
622,513
[ ";" ]
[ "static", "bool", "isImmZExt12", "(", "int64_t", "Val", ",", "int64_t", "&", "Imm", ")", "{", "if", "(", "Val", ">=", "<NUM_LIT>", "&&", "Val", "<=", "<NUM_LIT>", ")", "{", "Imm", "=", "Val", ";", "return", "true" ]
LLVM
Mips
CPP
next_suggestion
CPU
622,514
[ "else", "if", "(", "fitsRegularPattern", "<", "int", ">", "(", "Begin", "+", "<NUM_LIT>", ",", "<NUM_LIT>", ",", "End", ",", "Indices", ".", "size", "(", ")", "+", "HalfSize", ",", "<NUM_LIT>", ")", ")", "Ws", "=", "Op", "->", "getOperand", "(", "<NU...
[ "SDValue", "Ws", ";", "const", "auto", "&", "Begin", "=", "Indices", ".", "begin", "(", ")", ";", "const", "auto", "&", "End", "=", "Indices", ".", "end", "(", ")", ";", "if", "(", "fitsRegularPattern", "<", "int", ">", "(", "Begin", ",", "<NUM_LIT...
LLVM
AArch64
CPP
next_suggestion
CPU
622,515
[ "if", "(", "ST", ".", "hasFuseCCSelect", "(", ")", "&&", "isCCSelectPair", "(", "FirstMI", ",", "SecondMI", ")", ")", "return", "true", ";" ]
[ "bool", "CmpOnly", "=", "!", "ST", ".", "hasArithmeticBccFusion", "(", ")", ";", "if", "(", "isArithmeticBccPair", "(", "FirstMI", ",", "SecondMI", ",", "CmpOnly", ")", ")", "return", "true", ";", "}", "if", "(", "ST", ".", "hasArithmeticCbzFusion", "(", ...
GCC
frv
MD
stmt_completion
VLIW
622,516
[ "<STR_LIT>", "<STR_LIT>", ")" ]
[ "[", "(", "set", "(", "match_operand", ":", "SI", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", "(", "unspec", ":", "SI", "[", "(", "match_operand", ":", "SI", "<NUM_LIT>" ]
LLVM
Hexagon
TD
program_repair
DSP
622,517
[ "<FIXS>", "let", "opExtentBits", "=", "<NUM_LIT>", ",", "accessSize", "=", "ByteAccess", "in", "<FIXE>", "<FIXS>", "let", "opExtentBits", "=", "<NUM_LIT>", ",", "accessSize", "=", "HalfWordAccess", "in", "<FIXE>", "<FIXS>", "let", "opExtentBits", "=", "<NUM_LIT>",...
[ "let", "isExtendable", "=", "<NUM_LIT>", ",", "opExtendable", "=", "<NUM_LIT>", ",", "isExtentSigned", "=", "<NUM_LIT>", ",", "validSubTargets", "=", "HasV4SubT", "in", "{", "<BUGS>", "let", "opExtentBits", "=", "<NUM_LIT>", ",", "accessSize", "=", "ByteAccess", ...
LLVM
Hexagon
TD
stmt_completion
DSP
622,518
[ "=", "<NUM_LIT>", ";" ]
[ "let", "Defs", "=", "[", "PC", ",", "R31", "]", ";", "let", "BaseOpcode", "=", "<STR_LIT>", ";", "let", "isPredicable", "=", "<NUM_LIT>", ";", "let", "hasSideEffects", "=", "<NUM_LIT>", ";", "let", "isExtendable", "=", "<NUM_LIT>", ";", "let", "opExtendabl...
GCC
avr
CPP
next_suggestion
MPU
622,519
[ "TYPE_FBIT", "(", "*", "node", ")", "=", "GET_MODE_FBIT", "(", "mode", ")", ";" ]
[ "static", "void", "avr_adjust_type_node", "(", "tree", "*", "node", ",", "machine_mode", "mode", ",", "int", "sat_p", ")", "{", "*", "node", "=", "make_node", "(", "FIXED_POINT_TYPE", ")", ";", "TYPE_SATURATING", "(", "*", "node", ")", "=", "sat_p", ";", ...
LLVM
AMDGPU
CPP
stmt_completion
GPU
622,520
[ ")", ";" ]
[ "for", "(", "int", "I", "=", "NumDefs", ",", "NumOps", "=", "MI", ".", "getNumOperands", "(", ")", ";", "I", "!=", "NumOps", ";", "++", "I", ")", "{", "if", "(", "!", "MI", ".", "getOperand", "(", "I", ")", ".", "isReg", "(", ")", ")", "conti...
GCC
gcn
MD
next_suggestion
GPU
622,521
[ "[", "(", "set_attr", "<STR_LIT>", "<STR_LIT>", ")", "]", ")" ]
[ "[", "(", "unspec_volatile", "[", "(", "match_operand", "<NUM_LIT>", "<STR_LIT>", ")", "]", "UNSPECV_PROLOGUE_USE", ")", "]", "<STR_LIT>", "<STR_LIT>" ]
GCC
mips
MD
stmt_completion
CPU
622,522
[ "<STR_LIT>", ")" ]
[ "(", "define_insn_reservation", "<STR_LIT>", "<NUM_LIT>", "(", "and", "(", "eq_attr", "<STR_LIT>" ]
GCC
frv
MD
next_suggestion
VLIW
622,523
[ "(", "eq_attr", "<STR_LIT>", "<STR_LIT>", ")", ")", ")" ]
[ "(", "and", "(", "eq_attr", "<STR_LIT>", "<STR_LIT>", ")", "(", "and", "(", "eq_attr", "<STR_LIT>", "<STR_LIT>", ")" ]
LLVM
Hexagon
CPP
next_suggestion
DSP
622,524
[ "MachineInstr", "*", "LoopInst", "=", "findLoopInstr", "(", "LoopBB", ",", "I", "->", "getOpcode", "(", ")", ",", "I", "->", "getOperand", "(", "<NUM_LIT>", ")", ".", "getMBB", "(", ")", ",", "VisitedBBs", ")", ";" ]
[ "MachineBasicBlock", "::", "iterator", "I", "=", "LoopBB", "->", "getFirstTerminator", "(", ")", ";", "if", "(", "I", "!=", "LoopBB", "->", "end", "(", ")", "&&", "isEndLoopN", "(", "I", "->", "getOpcode", "(", ")", ")", ")", "{", "SmallPtrSet", "<", ...
LLVM
Hexagon
CPP
program_repair
DSP
622,525
[ "<FIXS>", "MCI", "->", "addOperand", "(", "MCO", ")", ";", "<FIXE>" ]
[ "break", ";", "}", "<BUGS>", "MCI", ".", "addOperand", "(", "MCO", ")", ";", "<BUGE>", "}", "}" ]
LLVM
Hexagon
TD
next_suggestion
DSP
622,526
[ "let", "Uses", "=", "[", "USR", "]", ";" ]
[ "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "<NUM_LIT>", ";", "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "<NUM_LIT>", ";", "let", "isFP", "=", "<NUM_LIT>", ";" ]
LLVM
ARM
CPP
code_generation
CPU
622,527
[ "bool", "Thumb1FrameLowering", "::", "restoreCalleeSavedRegisters", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "const", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", ",", "const", "TargetRegisterInf...
[ "restoreCalleeSavedRegisters", "-", "Issues", "instruction", "(", "s", ")", "to", "restore", "all", "callee", "saved", "registers", "and", "returns", "true", "if", "it", "is", "n't", "possible", "/", "profitable", "to", "do", "so", "by", "issuing", "a", "ser...
LLVM
X86
CPP
stmt_completion
CPU
622,528
[ ";" ]
[ "unsigned", "ElemsPerChunk", "=", "<NUM_LIT>", "/", "ElVT", ".", "getSizeInBits", "(", ")", ";", "unsigned", "NormalizedIdxVal", "=", "(", "(", "(", "IdxVal", "*", "ElVT", ".", "getSizeInBits", "(", ")", ")", "/", "<NUM_LIT>", ")", "*", "ElemsPerChunk", ")...
GCC
arm
CPP
stmt_completion
CPU
622,529
[ "_", "_", "b", ",", "_", "_", "p", ")", ";" ]
[ "_", "_", "arm_vandq_m_s16", "(", "int16x8_t", "_", "_", "inactive", ",", "int16x8_t", "_", "_", "a", ",", "int16x8_t", "_", "_", "b", ",", "mve_pred16_t", "_", "_", "p", ")", "{", "return", "_", "_", "builtin_mve_vandq_m_sv8hi", "(", "_", "_", "inacti...
GCC
i386
MD
stmt_completion
CPU
622,530
[ "]", ")" ]
[ "(", "match_operand", ":", "V16FI", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", "(", "parallel", "[", "(", "match_operand", "<NUM_LIT>", "<STR_LIT>", ")", "(", "match_operand", "<NUM_LIT>", "<STR_LIT>", ")", "(", "match_operand", "<NUM_LIT>", "<STR_LIT>", ")", "("...
LLVM
AMDGPU
CPP
next_suggestion
GPU
622,531
[ "}" ]
[ "void", "setRepeat", "(", "SIScheduleCandReason", "R", ")", "{", "RepeatReasonSet", "|=", "(", "<NUM_LIT>", "<<", "R", ")", ";" ]
GCC
c6x
CPP
code_generation
VLIW
622,532
[ "static", "int", "get_unit_reqs", "(", "rtx_insn", "*", "insn", ",", "int", "*", "req1", ",", "int", "*", "side1", ",", "int", "*", "req2", ",", "int", "*", "side2", ")", "{", "enum", "attr_units", "units", ";", "enum", "attr_cross", "cross", ";", "i...
[ "Examine", "INSN", ",", "and", "store", "in", "REQ1/SIDE1", "and", "REQ2/SIDE2", "the", "unit", "requirements", ".", "Returns", "zero", "if", "INSN", "ca", "n't", "be", "handled", ",", "otherwise", "either", "one", "or", "two", "to", "show", "how", "many",...
LLVM
X86
CPP
next_suggestion
CPU
622,533
[ "}" ]
[ "if", "(", "!", "DstTy", ".", "isVector", "(", ")", "||", "!", "SrcTy", ".", "isVector", "(", ")", ")", "return", "false", ";", "assert", "(", "SrcTy", ".", "getSizeInBits", "(", ")", "<", "DstTy", ".", "getSizeInBits", "(", ")", "&&", "<STR_LIT>", ...
LLVM
ARM
CPP
stmt_completion
CPU
622,534
[ "(", ")", ";" ]
[ "SMLoc", "S", "=", "Parser", ".", "getTok", "(", ")", ".", "getLoc", "(", ")", ";", "const", "AsmToken", "&", "Tok", "=", "Parser", ".", "getTok", "(", ")", ";", "if", "(", "Tok", ".", "isNot", "(", "AsmToken", "::", "Identifier", ")", ")", "retu...
LLVM
AArch64
TD
stmt_completion
CPU
622,535
[ ",", "GPR32", ">", ";" ]
[ "def", "LDAPRH", ":", "RCPCLoad", "<", "<NUM_LIT>", ",", "<STR_LIT>" ]
LLVM
X86
CPP
next_suggestion
CPU
622,536
[ "EmitLEA", "(", "*", "DispOp", ",", "VT", ",", "Reg", ",", "Out", ")", ";" ]
[ "if", "(", "IsStackReg", "(", "Op", ".", "getMemIndexReg", "(", ")", ")", ")", "Displacement", "-=", "OrigSPOffset", "*", "Op", ".", "getMemScale", "(", ")", ";", "assert", "(", "Displacement", ">=", "<NUM_LIT>", ")", ";", "if", "(", "Displacement", "=="...
GCC
aarch64
CPP
next_suggestion
CPU
622,537
[ "}" ]
[ "src", "=", "XEXP", "(", "src", ",", "<NUM_LIT>", ")", ";", "if", "(", "GET_CODE", "(", "src", ")", "!=", "MEM", "||", "GET_MODE", "(", "src", ")", "!=", "SImode", ")", "return", "SCHED_FUSION_NONE", ";", "}", "if", "(", "GET_CODE", "(", "src", ")"...
LLVM
ARM64
TD
next_suggestion
CPU
622,538
[ "let", "Inst", "{", "<NUM_LIT>", "}", "=", "Q", ";" ]
[ "class", "BaseSIMDThreeSameVector", "<", "bit", "Q", ",", "bit", "U", ",", "bits", "<", "<NUM_LIT>", ">", "size", ",", "bits", "<", "<NUM_LIT>", ">", "opcode", ",", "RegisterOperand", "regtype", ",", "string", "asm", ",", "string", "kind", ",", "list", "...
LLVM
X86
CPP
program_repair
CPU
622,539
[ "<FIXS>", "DAG", ".", "getUNDEF", "(", "PVT", ")", ",", "Mask", ")", ";", "<FIXE>" ]
[ "V1", "=", "DAG", ".", "getNode", "(", "ISD", "::", "BIT_CONVERT", ",", "dl", ",", "PVT", ",", "V1", ")", ";", "SDValue", "Shuffle", "=", "DAG", ".", "getNode", "(", "ISD", "::", "VECTOR_SHUFFLE", ",", "dl", ",", "PVT", ",", "V1", ",", "<BUGS>", ...
LLVM
AArch64
CPP
stmt_completion
CPU
622,540
[ "Reg", ")", ")", "return", ";" ]
[ "static", "void", "handleRegMaskClobber", "(", "const", "uint32_t", "*", "RegMask", ",", "MCPhysReg", "Reg", ",", "LOHInfo", "*", "LOHInfos", ")", "{", "if", "(", "!", "MachineOperand", "::", "clobbersPhysReg", "(", "RegMask", "," ]
LLVM
Patmos
CPP
program_repair
VLIW
622,541
[ "<FIXS>", "Align", "Alignment", ")", "=", "<NUM_LIT>", ";", "<FIXE>" ]
[ "virtual", "void", "EmitFStart", "(", "const", "MCSymbol", "*", "Start", ",", "const", "MCExpr", "*", "Size", ",", "<BUGS>", "unsigned", "Alignment", ")", "=", "<NUM_LIT>", ";", "<BUGE>", "}", ";" ]
LLVM
AMDGPU
CPP
next_suggestion
GPU
622,542
[ "Register", "Op0", "=", "constrainRegToBank", "(", "MRI", ",", "B", ",", "InsRegs", "[", "L", "]", ",", "DstBank", ")", ";" ]
[ "bool", "IsDivergentIdx", "=", "IdxBank", "!=", "AMDGPU", "::", "SGPRRegBank", ";", "LLT", "VecTy", "=", "MRI", ".", "getType", "(", "VecReg", ")", ";", "unsigned", "EltSize", "=", "VecTy", ".", "getScalarSizeInBits", "(", ")", ";", "unsigned", "NumElem", ...
GCC
i386
MD
stmt_completion
CPU
622,543
[ "V4HF", "V4HI", "]", ")" ]
[ "(", "define_mode_iterator", "V24FI", "[", "V2SF", "V2SI" ]
LLVM
TPC
CPP
next_suggestion
Virtual ISA
622,544
[ "Res", "->", "MovDualGroup", ".", "Name", "=", "Name", ";" ]
[ "auto", "Res", "=", "std", "::", "make_unique", "<", "TPCOperand", ">", "(", "OpKind", "::", "WEG", ",", "StartLoc", ",", "EndLoc", ")", ";", "Res", "->", "MovDualGroup", ".", "Val", "=", "Val", ";" ]
LLVM
Hexagon
TD
stmt_completion
DSP
622,545
[ "<NUM_LIT>", ";" ]
[ "def", "L2_loadbzw4_pbr", ":", "HInst", "<", "(", "outs", "DoubleRegs", ":", "$", "Rdd32", ",", "IntRegs", ":", "$", "Rx32", ")", ",", "(", "ins", "IntRegs", ":", "$", "Rx32in", ",", "ModRegs", ":", "$", "Mu2", ")", ",", "<STR_LIT>", ",", "tc_44d3da2...
LLVM
X86
TD
stmt_completion
CPU
622,546
[ "<NUM_LIT>", "]", ";" ]
[ "let", "NumMicroOps", "=", "<NUM_LIT>", ";", "let", "ResourceCycles", "=", "[", "<NUM_LIT>", "," ]
LLVM
Lanai
CPP
stmt_completion
CPU
622,547
[ "::", "i32", ",", "Hi", ")", ";" ]
[ "}", "else", "{", "uint8_t", "OpFlagHi", "=", "<STR_LIT>", "::", "<STR_LIT>", ";", "uint8_t", "OpFlagLo", "=", "<STR_LIT>", "::", "<STR_LIT>", ";", "SDValue", "Hi", "=", "DAG", ".", "getTargetConstantPool", "(", "C", ",", "MVT", "::", "i32", ",", "N", "-...
LLVM
X86
CPP
next_suggestion
CPU
622,548
[ "break", ";" ]
[ "case", "X86", "::", "FsFLD0SD", ":", "Alignment", "=", "<NUM_LIT>", ";", "break", ";", "case", "X86", "::", "FsFLD0SS", ":", "Alignment", "=", "<NUM_LIT>", ";", "break", ";", "default", ":", "return", "<NUM_LIT>", ";", "}", "if", "(", "Ops", ".", "siz...
LLVM
AArch64
CPP
next_suggestion
CPU
622,549
[ "O", "<<", "<STR_LIT>", "#0x", "<STR_LIT>", ";" ]
[ "void", "AArch64InstPrinter", "::", "printLogicalImm", "(", "const", "MCInst", "*", "MI", ",", "unsigned", "OpNum", ",", "const", "MCSubtargetInfo", "&", "STI", ",", "raw_ostream", "&", "O", ")", "{", "uint64_t", "Val", "=", "MI", "->", "getOperand", "(", ...
LLVM
X86
CPP
stmt_completion
CPU
622,550
[ "Flags", ";" ]
[ "static", "StructReturnType", "callIsStructReturn", "(", "const", "SmallVectorImpl", "<", "ISD", "::", "OutputArg", ">", "&", "Outs", ")", "{", "if", "(", "Outs", ".", "empty", "(", ")", ")", "return", "NotStructReturn", ";", "const", "ISD", "::", "ArgFlagsT...
GCC
vax
CPP
next_suggestion
CPU
622,551
[ "}" ]
[ "static", "bool", "indirectable_constant_address_p", "(", "rtx", "x", ",", "bool", "indirect", "ATTRIBUTE_UNUSED", ")", "{", "return", "CONSTANT_ADDRESS_P", "(", "x", ")", ";" ]
GCC
sh
CPP
stmt_completion
CPU
622,552
[ "(", "x", ")", ")", ")", "return", "GENERAL_REGS", ";" ]
[ "return", "NO_REGS", ";", "case", "E_DFmode", ":", "sri", "->", "icode", "=", "CODE_FOR_reload_indf__frn", ";", "return", "NO_REGS", ";", "case", "E_SImode", ":", "return", "FPUL_REGS", ";", "default", ":", "abort", "(", ")", ";", "}", "if", "(", "rclass",...
LLVM
ARM
CPP
next_suggestion
CPU
622,553
[ "for", "(", "int", "i", "=", "MI", "->", "getNumOperands", "(", ")", "-", "<NUM_LIT>", ";", "i", ">=", "RegListIdx", ";", "--", "i", ")", "MI", "->", "removeOperand", "(", "i", ")", ";" ]
[ "for", "(", "int", "CurRegEnc", "=", "FirstRegEnc", "-", "<NUM_LIT>", ";", "CurRegEnc", ">=", "<NUM_LIT>", "&&", "RegsNeeded", ";", "--", "CurRegEnc", ")", "{", "unsigned", "CurReg", "=", "RegClass", "->", "getRegister", "(", "CurRegEnc", ")", ";", "if", "...
LLVM
ARM
CPP
stmt_completion
CPU
622,554
[ "else", "{" ]
[ "SwitchToDataSection", "(", "<STR_LIT>", ".lazy_symbol_pointer", "<STR_LIT>", ",", "<NUM_LIT>", ")", ";", "printSuffixedName", "(", "p", ",", "<STR_LIT>", "$lazy_ptr", "<STR_LIT>", ")", ";", "O", "<<", "<STR_LIT>", ":\\n", "<STR_LIT>", ";", "O", "<<", "<STR_LIT>",...
LLVM
X86
TD
stmt_completion
CPU
622,555
[ "]", ",", "IIC_OUTS", ">", ",", "OpSize16", ";" ]
[ "def", "OUTSW", ":", "I", "<", "<NUM_LIT>", ",", "RawFrmSrc", ",", "(", "outs", ")", ",", "(", "ins", "srcidx16", ":", "$", "src", ")", ",", "<STR_LIT>", ",", "[" ]
GCC
ft32
MD
next_suggestion
MPU
622,556
[ "<STR_LIT>" ]
[ "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", ")", "(", "match_operand", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", ")", ")", "]" ]
LLVM
ARM
CPP
next_suggestion
CPU
622,557
[ "O", "<<", "<STR_LIT>", "]", "<STR_LIT>", ";" ]
[ "O", "<<", "<STR_LIT>", "[", "<STR_LIT>", "<<", "TRI", "->", "getAsmName", "(", "MO1", ".", "getReg", "(", ")", ")", ";", "if", "(", "MO2", ".", "getReg", "(", ")", ")", "{", "O", "<<", "<STR_LIT>", ", ", "<STR_LIT>", "<<", "(", "char", ")", "<ST...
GCC
iq2000
MD
stmt_completion
CPU
622,558
[ "<STR_LIT>", ")" ]
[ "(", "define_attr", "<STR_LIT>", "<STR_LIT>", "(", "if_then_else", "(", "eq_attr", "<STR_LIT>" ]
LLVM
ARM
CPP
stmt_completion
CPU
622,559
[ "!=", "v", "[", "i", "]", ".", "first", "+", "<NUM_LIT>", ")", "result", ".", "push_back", "(", "{", "v", "[", "i", "]", ".", "first", "+", "<NUM_LIT>", ",", "LegacyLegalizeActions", "::", "Unsupported", "}", ")", ";" ]
[ "if", "(", "i", "+", "<NUM_LIT>", "<", "v", "[", "i", "]", ".", "first", "&&", "i", "+", "<NUM_LIT>", "<", "v", ".", "size", "(", ")", "&&", "v", "[", "i", "+", "<NUM_LIT>", "]", ".", "first" ]
GCC
i386
CPP
next_suggestion
CPU
622,560
[ "}" ]
[ "extern", "_", "_", "inline", "_", "_", "mmask8", "_", "_", "attribute__", "(", "(", "_", "_", "gnu_inline__", ",", "_", "_", "always_inline__", ",", "_", "_", "artificial__", ")", ")", "_", "mm256_cmpneq_epi32_mask", "(", "_", "_", "m256i", "_", "_", ...
GCC
epiphany
CPP
program_repair
MPU
622,561
[ "<FIXS>", "todo", ".", "release", "(", ")", ";", "<FIXE>" ]
[ "insert_insn_on_edge", "(", "seq", ",", "e", ")", ";", "}", "}", "<BUGS>", "VEC_free", "(", "basic_block", ",", "heap", ",", "todo", ")", ";", "<BUGE>", "sbitmap_free", "(", "pushed", ")", ";", "if", "(", "need_commit", ")", "commit_edge_insertions", "(", ...
LLVM
Mips
TD
program_repair
CPU
622,562
[ "<FIXS>", "def", "MipsExtractHI", ":", "SDNode", "<STR_LIT>", ",", "SDT_ExtractLOHI", ">", ";", "def", "MipsExtractLO", ":", "SDNode", "<STR_LIT>", ",", "SDT_ExtractLOHI", ">", ";", "<FIXE>" ]
[ "[", "SDNPHasChain", ",", "SDNPSideEffect", ",", "SDNPOptInGlue", ",", "SDNPOutGlue", "]", ">", ";", "<BUGS>", "def", "ExtractLOHI", ":", "SDNode", "<STR_LIT>", ",", "SDT_ExtractLOHI", ">", ";", "<BUGE>", "def", "InsertLOHI", ":", "SDNode", "<STR_LIT>", ",", "...
GCC
i386
CPP
stmt_completion
CPU
622,563
[ "const", "int", "_", "_", "M", ")", "{" ]
[ "extern", "_", "_", "inline", "_", "_", "m256d", "_", "_", "attribute__", "(", "(", "_", "_", "gnu_inline__", ",", "_", "_", "always_inline__", ",", "_", "_", "artificial__", ")", ")", "_", "mm256_permute4x64_pd", "(", "_", "_", "m256d", "_", "_", "X...
GCC
rs6000
MD
stmt_completion
CPU
622,564
[ "<STR_LIT>", "<STR_LIT>", ")", ")", ")" ]
[ "(", "ior", "(", "eq_attr", "<STR_LIT>", "<STR_LIT>", ")", "(", "eq_attr" ]
GCC
powerpcspe
CPP
stmt_completion
CPU
622,565
[ "qword", "a", ",", "qword", "b", ")", "{" ]
[ "static", "_", "_", "inline", "qword", "si_clgth", "(" ]
GCC
sparc
MD
next_suggestion
CPU
622,566
[ "(", "reg", ":", "DI", "GSR_REG", ")", "]" ]
[ "[", "(", "set", "(", "match_operand", ":", "V4QI", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", "(", "unspec", ":", "V4QI", "[", "(", "match_operand", ":", "V4HI", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")" ]
LLVM
SystemZ
TD
stmt_completion
CPU
622,567
[ "}", "=", "BD2", ";" ]
[ "bits", "<", "<NUM_LIT>", ">", "I3", ";", "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "op", ";", "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "BDL1", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", ";", "let", "Inst", "{", ...
LLVM
ARM
CPP
program_repair
CPU
622,568
[ "<FIXS>", "Register", "ResultReg", ";", "<FIXE>" ]
[ "}", "bool", "RV", ";", "<BUGS>", "unsigned", "ResultReg", ";", "<BUGE>", "RV", "=", "ARMEmitLoad", "(", "VT", ",", "ResultReg", ",", "Src", ")", ";", "assert", "(", "RV", "&&", "<STR_LIT>", "Should be able to handle this load.", "<STR_LIT>", ")", ";", "RV",...
GCC
i386
CPP
stmt_completion
CPU
622,569
[ "_", "mm512_rsqrt28_round_pd", "(", "_", "_", "m512d", "_", "_", "A", ",", "int", "_", "_", "R", ")", "{" ]
[ "extern", "_", "_", "inline", "_", "_", "m512d", "_", "_", "attribute__", "(", "(", "_", "_", "gnu_inline__", ",", "_", "_", "always_inline__", ",", "_", "_", "artificial__", ")", ")" ]
LLVM
ARM
CPP
stmt_completion
CPU
622,570
[ "true", ")", ";" ]
[ "bool", "isThumb", "=", "ThunkIt", "->", "isThumb", ";", "const", "TargetInstrInfo", "*", "TII", "=", "MF", ".", "getSubtarget", "<", "ARMSubtarget", ">", "(", ")", ".", "getInstrInfo", "(", ")", ";", "MachineBasicBlock", "*", "Entry", "=", "&", "MF", "....
GCC
v850
CPP
code_generation
MPU
622,571
[ "static", "int", "const_costs", "(", "rtx", "r", ",", "enum", "rtx_code", "c", ")", "{", "HOST_WIDE_INT", "high", ",", "low", ";", "switch", "(", "c", ")", "{", "case", "CONST_INT", ":", "return", "const_costs_int", "(", "INTVAL", "(", "r", ")", ",", ...
[ "Return", "the", "cost", "of", "the", "rtx", "R", "with", "code", "CODE", "." ]
LLVM
Hexagon
TD
next_suggestion
DSP
622,572
[ "let", "isTerminator", "=", "<NUM_LIT>", ";" ]
[ "def", "J4_cmpeqn1_fp0_jump_nt", ":", "HInst", "<", "(", "outs", ")", ",", "(", "ins", "GeneralSubRegs", ":", "$", "Rs16", ",", "n1Const", ":", "$", "n1", ",", "b30_2Imm", ":", "$", "Ii", ")", ",", "<STR_LIT>", ",", "tc_3d495a39", ",", "TypeCJ", ">", ...
LLVM
R600
CPP
stmt_completion
GPU
622,573
[ "::", "ALU_CONST", ")", "{" ]
[ "SmallVector", "<", "std", "::", "pair", "<", "MachineOperand", "*", ",", "int64_t", ">", ",", "<NUM_LIT>", ">", "R600InstrInfo", "::", "getSrcs", "(", "MachineInstr", "*", "MI", ")", "const", "{", "SmallVector", "<", "std", "::", "pair", "<", "MachineOper...
LLVM
Cpu0
CPP
stmt_completion
CPU
622,574
[ "|0", "<STR_LIT>", ";" ]
[ "if", "(", "i", "!=", "<NUM_LIT>", ")", "{", "O", "<<", "<STR_LIT>", ", ", "<STR_LIT>", ";", "}", "O", "<<", "<STR_LIT>", "$r", "<STR_LIT>", "<<", "i", "<<", "<STR_LIT>" ]
LLVM
Mips
CPP
program_repair
CPU
622,575
[ "<FIXS>", "using", "RegIter", "=", "TargetRegisterClass", "::", "const_iterator", ";", "<FIXE>" ]
[ "BitVector", "Reserved", "(", "getNumRegs", "(", ")", ")", ";", "const", "MipsSubtarget", "&", "Subtarget", "=", "MF", ".", "getSubtarget", "MipsSubtarget", ">", "(", ")", ";", "<BUGS>", "typedef", "TargetRegisterClass", "::", "const_iterator", "RegIter", ";", ...
GCC
xtensa
MD
stmt_completion
MPU
622,576
[ "<STR_LIT>", ")", "]", ")" ]
[ "[", "(", "unspec", "[", "(", "const_int", "<NUM_LIT>", ")", "]", "UNSPEC_NOP", ")", "]", "<STR_LIT>", "<STR_LIT>", "[", "(", "set_attr", "<STR_LIT>", "\t", "<STR_LIT>", ")", "(", "set_attr", "<STR_LIT>", "\t", "<STR_LIT>", ")", "(", "set_attr", "<STR_LIT>",...
LLVM
AArch64
TD
next_suggestion
CPU
622,577
[ "let", "ParserMatchClass", "=", "Imm0_15Operand", ";" ]
[ "}", "]", ">", "{", "let", "EncoderMethod", "=", "<STR_LIT>", ";", "let", "DecoderMethod", "=", "<STR_LIT>", ";" ]
LLVM
ARM
CPP
stmt_completion
CPU
622,578
[ ")", ";" ]
[ "}", "}", "if", "(", "Subtarget", "->", "isThumb1Only", "(", ")", ")", "{", "SDValue", "RHS", "=", "N", "->", "getOperand", "(", "<NUM_LIT>", ")", ";", "if", "(", "ConstantSDNode", "*", "C", "=", "dyn_cast", "<", "ConstantSDNode", ">", "(", "RHS", ")...
LLVM
AMDGPU
CPP
stmt_completion
GPU
622,579
[ ")", ";" ]
[ "Register", "NewDest", "=", "MRI", ".", "createVirtualRegister", "(", "&", "AMDGPU", "::", "SReg_32RegClass", ")", ";", "Register", "Interm", "=", "MRI", ".", "createVirtualRegister", "(", "&", "AMDGPU", "::", "SReg_32RegClass", ")", ";", "MachineInstr", "&", ...
LLVM
Hexagon
TD
stmt_completion
DSP
622,580
[ ";" ]
[ "def", "C2_cmpltu", ":", "HInst", "<", "(", "outs", "PredRegs", ":", "$", "Pd4", ")", ",", "(", "ins", "IntRegs", ":", "$", "Rs32", ",", "IntRegs", ":", "$", "Rt32", ")", ",", "<STR_LIT>", ",", "tc_56f114f4", ",", "TypeALU32_3op", ">", "{", "let", ...
LLVM
TPC
TD
next_suggestion
Virtual ISA
622,581
[ "let", "Constraints", "=", "<STR_LIT>", ";" ]
[ "let", "isNotUsedInDisasm", "=", "!", "if", "(", "!", "eq", "(", "!", "cast", "<", "string", ">", "(", "Rsrc", ")", ",", "<STR_LIT>", ")", ",", "<NUM_LIT>", ",", "<NUM_LIT>", ")", ";", "bits", "<", "<NUM_LIT>", ">", "dest", ";", "bits", "<", "<NUM_...
LLVM
SPIRV
CPP
next_suggestion
Virtual ISA
622,582
[ "return", "NewI", ";" ]
[ "IRBuilder", "<", ">", "B", "(", "I", ".", "getParent", "(", ")", ")", ";", "B", ".", "SetInsertPoint", "(", "&", "I", ")", ";", "SmallVector", "<", "Value", "*", ">", "Args", "(", "I", ".", "op_begin", "(", ")", ",", "I", ".", "op_end", "(", ...
LLVM
CellSPU
CPP
stmt_completion
MPU
622,583
[ "{" ]
[ "}", "else", "{", "unsigned", "Opc", "=", "<NUM_LIT>", ";", "if", "(", "RC", "==", "<STR_LIT>", "::", "<STR_LIT>", ")", "{", "}", "else", "if", "(", "RC", "==", "<STR_LIT>", "::", "<STR_LIT>", ")", "{", "}", "else", "if", "(", "RC", "==", "<STR_LIT...
LLVM
AMDGPU
CPP
program_repair
GPU
622,584
[ "<FIXS>", "Error", "(", "getLoc", "(", ")", ",", "Msg", ")", ";", "<FIXE>" ]
[ "StringRef", "Msg", "=", "(", "Res", "==", "MatchOperand_ParseFail", ")", "?", "<STR_LIT>", "failed parsing operand.", "<STR_LIT>", ":", "<STR_LIT>", "not a valid operand.", "<STR_LIT>", ";", "<BUGS>", "Error", "(", "getLexer", "(", ")", ".", "getLoc", "(", ")", ...
LLVM
Hexagon
CPP
stmt_completion
DSP
622,585
[ "::", "LDw_GP_cNotPt_V4", ":" ]
[ "case", "Hexagon", "::", "STrib_indexed_shl_cdnNotPt_V4", ":", "case", "Hexagon", "::", "POST_STbri_cNotPt", ":", "case", "Hexagon", "::", "POST_STbri_cdnNotPt_V4", ":", "case", "Hexagon", "::", "STrih_cNotPt", ":", "case", "Hexagon", "::", "STrih_cdnNotPt_V4", ":", ...
LLVM
AMDGPU
CPP
stmt_completion
GPU
622,586
[ "const", "{" ]
[ "bool", "hasIntClamp", "(", ")" ]
LLVM
PowerPC
CPP
next_suggestion
CPU
622,587
[ "auto", "NodeTy", "=", "(", "MemVT", "==", "MVT", "::", "i8", ")", "?", "<STR_LIT>", "::", "<STR_LIT>", ":", "<STR_LIT>", "::", "<STR_LIT>", ";" ]
[ "auto", "*", "AtomicNode", "=", "cast", "<", "AtomicSDNode", ">", "(", "Op", ".", "getNode", "(", ")", ")", ";", "EVT", "MemVT", "=", "AtomicNode", "->", "getMemoryVT", "(", ")", ";", "if", "(", "MemVT", ".", "getSizeInBits", "(", ")", ">=", "<NUM_LI...
GCC
aarch64
CPP
stmt_completion
CPU
622,588
[ ";" ]
[ "rtx", "op0", "=", "XEXP", "(", "base", ",", "<NUM_LIT>", ")", ";", "rtx", "op1", "=", "XEXP", "(", "base", ",", "<NUM_LIT>", ")", ";", "op0", "=", "force_reg", "(", "Pmode", ",", "op0", ")", ";", "op1", "=", "force_reg", "(", "Pmode", ",", "op1"...
LLVM
Hexagon
TD
next_suggestion
DSP
622,589
[ "let", "hasNewValue", "=", "<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>", ";" ]
LLVM
ARM
TD
next_suggestion
CPU
622,590
[ "}" ]
[ "let", "Rm", "=", "<NUM_LIT>", ";", "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "Rn", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", ";", "let", "DecoderMethod", "=", "<STR_LIT>", ";" ]
LLVM
SystemZ
CPP
stmt_completion
CPU
622,591
[ ")", ";" ]
[ "return", "parseAnyRegister", "(", "Operands" ]
GCC
mips
MD
next_suggestion
CPU
622,592
[ "<STR_LIT>", ")" ]
[ "(", "define_insn_reservation", "<STR_LIT>", "<NUM_LIT>", "(", "and", "(", "eq_attr", "<STR_LIT>", "<STR_LIT>", ")", "(", "and", "(", "eq_attr", "<STR_LIT>", "<STR_LIT>", ")", "(", "eq_attr", "<STR_LIT>", "<STR_LIT>", ")", ")", ")" ]
GCC
aarch64
CPP
code_generation
CPU
622,593
[ "rtx", "aarch64_reverse_mask", "(", "enum", "machine_mode", "mode", ")", "{", "rtx", "mask", ";", "rtvec", "v", "=", "rtvec_alloc", "(", "<NUM_LIT>", ")", ";", "int", "i", ",", "j", ";", "int", "nunits", "=", "GET_MODE_NUNITS", "(", "mode", ")", ";", "...
[ "Generate", "a", "byte", "permute", "mask", "for", "a", "register", "of", "mode", "MODE", ",", "which", "has", "NUNITS", "units", "." ]
GCC
alpha
MD
next_suggestion
MPU
622,594
[ "(", "set_attr", "<STR_LIT>", "<STR_LIT>", ")" ]
[ "(", "match_operand", ":", "SF", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", ")", "]", ")", ")", "]", "<STR_LIT>", "<STR_LIT>", "[", "(", "set_attr", "<STR_LIT>", "<STR_LIT>", ")" ]
LLVM
Hexagon
TD
next_suggestion
DSP
622,595
[ "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "<NUM_LIT>", ";" ]
[ "def", "A4_tfrcpp", ":", "HInst", "<", "(", "outs", "DoubleRegs", ":", "$", "Rdd32", ")", ",", "(", "ins", "CtrRegs64", ":", "$", "Css32", ")", ",", "<STR_LIT>", ",", "tc_b9272d6c", ",", "TypeCR", ">", ",", "Enc_667b39", "{", "let", "Inst", "{", "<NU...
LLVM
AMDGPU
CPP
next_suggestion
GPU
622,596
[ "AMDGPUPerfHint", "Analyzer", "(", "FIM", ",", "ST", "->", "getTargetLowering", "(", ")", ")", ";" ]
[ "Function", "*", "F", "=", "I", "->", "getFunction", "(", ")", ";", "if", "(", "!", "F", "||", "F", "->", "isDeclaration", "(", ")", ")", "continue", ";", "const", "TargetSubtargetInfo", "*", "ST", "=", "TM", ".", "getSubtargetImpl", "(", "*", "F", ...
LLVM
AMDGPU
CPP
program_repair
GPU
622,597
[ "<FIXS>", "bool", "SIInsertWaitcnts", "::", "isLoopBottom", "(", "const", "MachineLoop", "*", "Loop", ",", "const", "MachineBasicBlock", "*", "Block", ")", "{", "for", "(", "MachineBasicBlock", "*", "MBB", ":", "Loop", "->", "blocks", "(", ")", ")", "{", "...
[ "}", "}", "<BUGS>", "MachineBasicBlock", "*", "SIInsertWaitcnts", "::", "loopBottom", "(", "const", "MachineLoop", "*", "Loop", ")", "{", "MachineBasicBlock", "*", "Bottom", "=", "Loop", "->", "getHeader", "(", ")", ";", "for", "(", "MachineBasicBlock", "*", ...
LLVM
R600
CPP
stmt_completion
GPU
622,598
[ ";" ]
[ "MCFixupKind", "Kind", "=", "MCFixupKind", "(", "FK_PCRel_4", ")", ";", "Fixups", ".", "push_back", "(", "MCFixup", "::", "Create", "(", "<NUM_LIT>", ",", "Expr", ",", "Kind", ",", "MI", ".", "getLoc", "(", ")", ")", ")", ";", "return", "<NUM_LIT>", ";...
LLVM
ARM
CPP
next_suggestion
CPU
622,599
[ "Inst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "align", ")", ")", ";" ]
[ "Rd", "|=", "fieldFromInstruction", "(", "Insn", ",", "<NUM_LIT>", ",", "<NUM_LIT>", ")", "<<", "<NUM_LIT>", ";", "unsigned", "Rn", "=", "fieldFromInstruction", "(", "Insn", ",", "<NUM_LIT>", ",", "<NUM_LIT>", ")", ";", "unsigned", "Rm", "=", "fieldFromInstruc...