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
Mips
CPP
next_suggestion
CPU
22,000
[ "}" ]
[ "const", "APInt", "&", "RHS", "=", "N", "->", "getConstantOperandAPInt", "(", "<NUM_LIT>", ")", ";", "if", "(", "RHS", ".", "countr_one", "(", ")", ">=", "ShAmtBits", ")", "{", "LLVM_DEBUG", "(", "dbgs", "(", ")", "<<", "DEBUG_TYPE", "<<", "<STR_LIT>", ...
GCC
avr
MD
program_repair
MPU
22,001
[ "<FIXS>", "{", "operands", "[", "<NUM_LIT>", "]", "=", "gen_reg_rtx", "(", "HImode", ")", "}", ")", "<FIXE>" ]
[ "(", "use", "(", "label_ref", "(", "match_dup", "<NUM_LIT>", ")", ")", ")", "(", "clobber", "(", "match_dup", "<NUM_LIT>", ")", ")", "]", ")", "]", "<STR_LIT>", "<BUGS>", "<STR_LIT>", ")", "<BUGE>" ]
GCC
mips
MD
next_suggestion
CPU
22,002
[ "(", "define_reservation", "<STR_LIT>", "<STR_LIT>", ")" ]
[ "(", "define_reservation", "<STR_LIT>", "<STR_LIT>", ")", "(", "define_reservation", "<STR_LIT>", "<STR_LIT>", ")" ]
LLVM
Hexagon
CPP
next_suggestion
DSP
22,003
[ "}" ]
[ "MachineBasicBlock", "::", "const_iterator", "I", "=", "B", "->", "getFirstTerminator", "(", ")", ",", "E", "=", "B", "->", "end", "(", ")", ";", "while", "(", "I", "!=", "E", ")", "{", "if", "(", "I", "->", "isBarrier", "(", ")", ")", "return", ...
GCC
aarch64
CPP
stmt_completion
CPU
22,004
[ ";" ]
[ "gcc_assert", "(", "x", ")", ";", "aarch64_emit_move", "(", "x", ",", "value", ")", ";", "return", "x" ]
LLVM
Mips
TD
stmt_completion
CPU
22,005
[ "=", "<STR_LIT>", ";" ]
[ "let", "RenderMethod", "=", "<STR_LIT>", ";", "let", "ParserMethod", "=", "<STR_LIT>", ";", "let", "PredicateMethod" ]
GCC
mn10300
MD
program_repair
MPU
22,006
[ "<FIXS>", "mn10300_store_multiple_regs", "(", "operands", "[", "<NUM_LIT>", "]", ")", ")", "<FIXE>" ]
[ "{", "fputs", "(", "<STR_LIT>", ",", "asm_out_file", ")", "mn10300_print_reg_list", "(", "asm_out_file", ",", "<BUGS>", "mn10300_store_multiple_operation", "(", "operands", "[", "<NUM_LIT>", "]", ",", "VOIDmode", ")", ")", "<BUGE>", "fprintf", "(", "asm_out_file", ...
LLVM
Hexagon
TD
next_suggestion
DSP
22,007
[ "let", "opExtentAlign", "=", "<NUM_LIT>", ";" ]
[ "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "<NUM_LIT>", ";", "let", "isPredicated", "=", "<NUM_LIT>", ";", "let", "isTerminator", "=", "<NUM_LIT>", ";", "let", "isBranch", "=", "<NUM_LIT>", ";", "let", "isPredicatedNew", "=", "<NUM_LIT>", "...
GCC
i386
CPP
next_suggestion
CPU
22,008
[ "}" ]
[ "extern", "_", "_", "inline", "_", "_", "mmask8", "_", "_", "attribute__", "(", "(", "_", "_", "gnu_inline__", ",", "_", "_", "always_inline__", ",", "_", "_", "artificial__", ")", ")", "_", "mm256_cmp_epi64_mask", "(", "_", "_", "m256i", "_", "_", "...
LLVM
PowerPC
CPP
next_suggestion
CPU
22,009
[ "}" ]
[ "assert", "(", "N", "==", "<NUM_LIT>", "&&", "<STR_LIT>", "Invalid number of operands!", "<STR_LIT>", ")", ";", "Inst", ".", "addOperand", "(", "MCOperand", "::", "CreateReg", "(", "CRBITRegs", "[", "getCRBit", "(", ")", "]", ")", ")", ";" ]
LLVM
SPIRV
CPP
program_repair
Virtual ISA
22,010
[ "<FIXS>", "addNumImm", "(", "APInt", "(", "BitWidth", ",", "Val", ")", ",", "MIB", ")", ";", "<FIXE>" ]
[ "MIB", "=", "BuildMI", "(", "BB", ",", "I", ",", "I", ".", "getDebugLoc", "(", ")", ",", "TII", ".", "get", "(", "<STR_LIT>", "::", "<STR_LIT>", ")", ")", ".", "addDef", "(", "Res", ")", ".", "addUse", "(", "getSPIRVTypeID", "(", "SpvType", ")", ...
LLVM
AMDGPU
CPP
next_suggestion
GPU
22,011
[ "return", "false", ";" ]
[ "PHIInfoElementT", "*", "InfoElement", "=", "findPHIInfoElementFromSource", "(", "SourceReg", ",", "SourceMBB", ")", ";", "if", "(", "InfoElement", "!=", "nullptr", ")", "{", "DestReg", "=", "phiInfoElementGetDest", "(", "InfoElement", ")", ";", "return", "true", ...
LLVM
Hexagon
CPP
stmt_completion
DSP
22,012
[ "return", "ByteTy", ";" ]
[ "auto", "<STR_LIT>", "::", "<STR_LIT>", "(", "int", "ElemCount", ")", "const", "->", "Type", "*", "{", "assert", "(", "ElemCount", ">=", "<NUM_LIT>", ")", ";", "IntegerType", "*", "ByteTy", "=", "Type", "::", "getInt8Ty", "(", "F", ".", "getContext", "("...
GCC
arm
CPP
stmt_completion
CPU
22,013
[ "_", "a", ")", ";" ]
[ "return", "(", "uint8x8_t", ")", "_", "_", "builtin_neon_vqmovnuv8hi", "(", "(", "int16x8_t", ")", "_" ]
GCC
i386
CPP
stmt_completion
CPU
22,014
[ "gen_avx512f_vpermt2varv8df3", ";" ]
[ "break", ";", "case", "E_V32QImode", ":", "if", "(", "TARGET_AVX512VL", "&&", "TARGET_AVX512VBMI", ")", "gen", "=", "gen_avx512vl_vpermt2varv32qi3", ";", "break", ";", "case", "E_V64QImode", ":", "if", "(", "TARGET_AVX512VBMI", ")", "gen", "=", "gen_avx512bw_vperm...
LLVM
X86
CPP
next_suggestion
CPU
22,015
[ "return", "DAG", ".", "getNode", "(", "ISD", "::", "EXTRACT_VECTOR_ELT", ",", "DL", ",", "Type", ",", "SAD", ",", "Extract", "->", "getOperand", "(", "<NUM_LIT>", ")", ")", ";" ]
[ "SmallVector", "<", "int", ",", "<NUM_LIT>", ">", "Mask", "(", "SadElems", ",", "-", "<NUM_LIT>", ")", ";", "for", "(", "unsigned", "j", "=", "<NUM_LIT>", ",", "MaskEnd", "=", "<NUM_LIT>", "<<", "(", "i", "-", "<NUM_LIT>", ")", ";", "j", "<", "MaskEn...
LLVM
WebAssembly
CPP
code_generation
Virtual ISA
22,016
[ "bool", "WebAssemblyRegisterInfo", "::", "canRealignStack", "(", "const", "MachineFunction", "&", "MF", ")", "const", "{", "return", "!", "MF", ".", "getFunction", "(", ")", "->", "hasFnAttribute", "(", "<STR_LIT>", "no-realign-stack", "<STR_LIT>", ")", ";", "}"...
[ "True", "if", "the", "stack", "can", "be", "realigned", "for", "the", "target", "." ]
LLVM
Hexagon
TD
next_suggestion
DSP
22,017
[ "let", "opExtendable", "=", "<NUM_LIT>", ";" ]
[ "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "<NUM_LIT>", ";", "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "<NUM_LIT>", ";", "let", "addrMode", "=", "BaseImmOffset", ";", "let", "accessSize", "=", "WordAccess", ";", "let", ...
LLVM
Hexagon
TD
next_suggestion
DSP
22,018
[ "let", "isCompare", "=", "<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", "isFP", ...
LLVM
Hexagon
CPP
program_repair
DSP
22,019
[ "<FIXS>", "<FIXE>", "<FIXS>", "using", "RegisterId", "=", "uint32_t", ";", "<FIXE>" ]
[ "#", "define", "LLVM_LIB_TARGET_HEXAGON_RDFREGISTERS_H", "#", "include", "<STR_LIT>", "llvm/ADT/BitVector.h", "<STR_LIT>", "#", "include", "<STR_LIT>", "llvm/Target/TargetRegisterInfo.h", "<STR_LIT>", "#", "include", "set", ">", "<BUGS>", "#", "include", "unordered_map", ">...
LLVM
SystemZ
CPP
code_generation
CPU
22,020
[ "const", "char", "*", "SystemZTargetLowering", "::", "getTargetNodeName", "(", "unsigned", "Opcode", ")", "const", "{", "switch", "(", "(", "<STR_LIT>", "::", "<STR_LIT>", ")", "Opcode", ")", "{", "case", "<STR_LIT>", "::", "<STR_LIT>", ":", "break", ";", "O...
[ "getTargetNodeName", "-", "This", "method", "returns", "the", "name", "of", "a", "target", "specific" ]
LLVM
AArch64
TD
next_suggestion
CPU
22,021
[ "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "<NUM_LIT>", ";" ]
[ "bits", "<", "<NUM_LIT>", ">", "Rm", ";", "bits", "<", "<NUM_LIT>", ">", "nzcv", ";", "bits", "<", "<NUM_LIT>", ">", "cond", ";", "let", "Inst", "{", "<NUM_LIT>", "}", "=", "op", ";", "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "<N...
GCC
s390
MD
stmt_completion
MPU
22,022
[ "<STR_LIT>", ")" ]
[ "(", "define_insn_reservation", "<STR_LIT>", "<NUM_LIT>", "(", "and", "(", "eq_attr", "<STR_LIT>", "<STR_LIT>", ")", "(", "eq_attr", "<STR_LIT>", "<STR_LIT>", ")", ")" ]
LLVM
ARM
TD
next_suggestion
CPU
22,023
[ "}" ]
[ "def", "VLD4LNq16_UPD", ":", "VLD4LNWB", "<", "<NUM_LIT>", ",", "{", "?", ",", "?", ",", "<NUM_LIT>", ",", "?", "}", ",", "<STR_LIT>", ">", "{", "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "lane", "{", "<NUM_LIT>", "-", "<NUM_LIT>", ...
GCC
s390
MD
stmt_completion
MPU
22,024
[ ")" ]
[ "(", "define_bypass", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", "<STR_LIT>" ]
GCC
i386
CPP
next_suggestion
CPU
22,025
[ "}" ]
[ "extern", "_", "_", "inline", "_", "_", "m512i", "_", "_", "attribute__", "(", "(", "_", "_", "gnu_inline__", ",", "_", "_", "always_inline__", ",", "_", "_", "artificial__", ")", ")", "_", "mm512_mask_add_epi32", "(", "_", "_", "m512i", "_", "_", "W...
GCC
i386
CPP
program_repair
CPU
22,026
[ "<FIXS>", "case", "E_V4HImode", ":", "case", "E_V8QImode", ":", "<FIXE>" ]
[ "ix86_expand_vector_init_interleave", "(", "mode", ",", "target", ",", "ops", ",", "n", ">>", "<NUM_LIT>", ")", ";", "return", ";", "<BUGS>", "case", "V4HImode", ":", "case", "V8QImode", ":", "<BUGE>", "break", ";", "default", ":" ]
LLVM
ARM
CPP
code_generation
CPU
22,027
[ "TTI", "::", "AddressingModeKind", "ARMTTIImpl", "::", "getPreferredAddressingMode", "(", "const", "Loop", "*", "L", ",", "ScalarEvolution", "*", "SE", ")", "const", "{", "if", "(", "ST", "->", "hasMVEIntegerOps", "(", ")", ")", "return", "TTI", "::", "AMK_P...
[ "Return", "the", "preferred", "addressing", "mode", "LSR", "should", "make", "efforts", "to", "generate", "." ]
GCC
i386
CPP
stmt_completion
CPU
22,028
[ "_", "_", "A", ")", ";" ]
[ "return", "(", "_", "_", "m256i", ")", "_", "_", "builtin_ia32_vcvttph2uw256_mask", "(", "_", "_", "B", ",", "(", "_", "_", "v16hi", ")", "_", "mm256_setzero_si256", "(", ")", "," ]
GCC
i386
CPP
stmt_completion
CPU
22,029
[ "_", "m2", ")", ";" ]
[ "return", "(", "_", "_", "m64", ")", "_", "_", "builtin_ia32_paddusb", "(", "(", "_", "_", "v8qi", ")", "_", "_", "m1", ",", "(", "_", "_", "v8qi", ")", "_" ]
LLVM
Hexagon
CPP
stmt_completion
DSP
22,030
[ ")", ".", "TSFlags", ";" ]
[ "unsigned", "HexagonInstrInfo", "::", "getCExtOpNum", "(", "const", "MachineInstr", "&", "MI", ")", "const", "{", "const", "uint64_t", "F", "=", "MI", ".", "getDesc", "(" ]
LLVM
AArch64
CPP
next_suggestion
CPU
22,031
[ "llvm_unreachable", "(", "<STR_LIT>", "Invalid MemSize in DecodeLoadPairExclusiveInstruction", "<STR_LIT>", ")", ";" ]
[ "unsigned", "Rt", "=", "fieldFromInstruction", "(", "Val", ",", "<NUM_LIT>", ",", "<NUM_LIT>", ")", ";", "unsigned", "Rn", "=", "fieldFromInstruction", "(", "Val", ",", "<NUM_LIT>", ",", "<NUM_LIT>", ")", ";", "unsigned", "Rt2", "=", "fieldFromInstruction", "(...
LLVM
Hexagon
TD
stmt_completion
DSP
22,032
[ "=", "<NUM_LIT>", ";" ]
[ "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "<NUM_LIT>", ";", "let", "hasNewValue", "=", "<NUM_LIT>", ";", "let", "opNewValue", "=", "<NUM_LIT>", ";", "let", "prefersSlot3" ]
LLVM
Hexagon
TD
next_suggestion
DSP
22,033
[ "}" ]
[ "bits", "<", "<NUM_LIT>", ">", "n1", ";", "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "n1", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", ";" ]
LLVM
SystemZ
TD
next_suggestion
CPU
22,034
[ "}" ]
[ "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "BD2", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", ";", "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "<NUM_LIT>", ";", "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "="...
LLVM
Hexagon
TD
program_repair
DSP
22,035
[ "<FIXS>", "let", "Itinerary", "=", "ALU64_tc_1_SLOT23", "in", "{", "<FIXE>", "<FIXS>", "let", "Defs", "=", "[", "USR_OVF", "]", "in", "{", "<FIXE>" ]
[ "}", "<BUGS>", "let", "Itinerary", "=", "ALU64_tc_1_SLOT23", ",", "isCodeGenOnly", "=", "<NUM_LIT>", "in", "{", "<BUGE>", "def", "A2_vsubub", ":", "T_VectALU_64", "<STR_LIT>", ",", "<NUM_LIT>", ",", "<NUM_LIT>", ",", "<NUM_LIT>", ",", "<NUM_LIT>", ",", "<NUM_LIT...
LLVM
SystemZ
CPP
stmt_completion
CPU
22,036
[ "ToBits", ";" ]
[ "unsigned", "FromBits", "=", "FromVT", ".", "getFixedSizeInBits", "(", ")", ";", "unsigned", "ToBits", "=", "ToVT", ".", "getFixedSizeInBits", "(", ")", ";", "return", "FromBits", ">" ]
GCC
i386
MD
stmt_completion
CPU
22,037
[ ")", ")" ]
[ "(", "zero_extend", ":", "DI", "(", "<", "paired_mod", ">", ":", "SI", "(", "match_operand", ":", "SI", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", "(", "match_operand", ":", "SI", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", ")", ")", ")", "(", "set", "(...
LLVM
Hexagon
CPP
next_suggestion
DSP
22,038
[ "}" ]
[ "bool", "HasAlloca", "=", "MFI", ".", "hasVarSizedObjects", "(", ")", ";", "if", "(", "MF", ".", "getTarget", "(", ")", ".", "getOptLevel", "(", ")", "==", "CodeGenOpt", "::", "None", ")", "return", "true", ";", "if", "(", "(", "HasFixed", "||", "Has...
LLVM
X86
CPP
stmt_completion
CPU
22,039
[ ",", "X86", "::", "KMOVBmk", ")", ";" ]
[ "createReplacer", "(", "X86", "::", "MOV64rr", ",", "X86", "::", "KMOVQkk", ")", ";", "createReplacer", "(", "X86", "::", "SHR32ri", ",", "X86", "::", "KSHIFTRDri", ")", ";", "createReplacer", "(", "X86", "::", "SHR64ri", ",", "X86", "::", "KSHIFTRQri", ...
GCC
m68k
CPP
stmt_completion
MPU
22,040
[ "exp", ";" ]
[ "exp", "=", "real_exponent", "(", "&", "r", ")", ";", "real_2expN", "(", "&", "r1", ",", "exp", ")", ";", "if", "(", "REAL_VALUES_EQUAL", "(", "r1", ",", "r", ")", ")", "return" ]
GCC
arm
MD
next_suggestion
CPU
22,041
[ "[", "(", "set_attr", "<STR_LIT>", "<STR_LIT>", ")" ]
[ "(", "plus", ":", "ADDSUB", "(", "match_operand", ":", "ADDSUB", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", "(", "match_operand", ":", "ADDSUB", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", ")", ")", "]", "<STR_LIT>", "<STR_LIT>" ]
LLVM
BPF
CPP
next_suggestion
Virtual ISA
22,042
[ "}" ]
[ "if", "(", "auto", "*", "CE", "=", "dyn_cast", "<", "MCConstantExpr", ">", "(", "Expr", ")", ")", "Inst", ".", "addOperand", "(", "MCOperand", "::", "createImm", "(", "CE", "->", "getValue", "(", ")", ")", ")", ";", "else", "Inst", ".", "addOperand",...
LLVM
AArch64
CPP
stmt_completion
CPU
22,043
[ "return", "false", ";" ]
[ "if", "(", "EnableRedZone", ")", "return", "false", ";", "if", "(", "needsWinCFI", "(", "MF", ")", ")", "return", "false", ";", "if", "(", "getSVEStackSize", "(", "MF", ")", ")", "return", "false", ";", "const", "MachineFrameInfo", "&", "MFI", "=", "MF...
LLVM
AArch64
TD
stmt_completion
CPU
22,044
[ "<STR_LIT>", ">", ";" ]
[ "def", "XPACD", ":", "SignAuthZero", "<", "<NUM_LIT>", ",", "<NUM_LIT>", "," ]
LLVM
Hexagon
CPP
next_suggestion
DSP
22,045
[ "case", "Hexagon", "::", "Sched", "::", "tc_1a2fd869", ":" ]
[ "inline", "bool", "is_TC3x", "(", "unsigned", "SchedClass", ")", "{", "switch", "(", "SchedClass", ")", "{", "case", "Hexagon", "::", "Sched", "::", "tc_05d3a09b", ":", "case", "Hexagon", "::", "Sched", "::", "tc_0d8f5752", ":", "case", "Hexagon", "::", "S...
GCC
aarch64
CPP
stmt_completion
CPU
22,046
[ ";" ]
[ "unsigned", "int", "vec_flags", "=", "aarch64_classify_vector_mode", "(", "mode", ")", ";", "if", "(", "vec_flags", "&", "VEC_SVE_PRED", ")", "return", "PR_REGNUM_P", "(", "regno", ")", ";", "if", "(", "PR_REGNUM_P", "(", "regno", ")", ")", "return", "<NUM_L...
GCC
aarch64
CPP
program_repair
CPU
22,047
[ "<FIXS>", "frame", ".", "wb_push_candidate1", "=", "R29_REGNUM", ";", "<FIXE>", "<FIXS>", "frame", ".", "wb_push_candidate2", "=", "R30_REGNUM", ";", "<FIXE>" ]
[ "{", "frame", ".", "reg_offset", "[", "R29_REGNUM", "]", "=", "offset", ";", "<BUGS>", "frame", ".", "wb_candidate1", "=", "R29_REGNUM", ";", "<BUGE>", "frame", ".", "reg_offset", "[", "R30_REGNUM", "]", "=", "offset", "+", "UNITS_PER_WORD", ";", "<BUGS>", ...
LLVM
X86
CPP
next_suggestion
CPU
22,048
[ "return", "DAG", ".", "getNode", "(", "<STR_LIT>", "::", "<STR_LIT>", ",", "DL", ",", "MVT", "::", "v4f64", ",", "V1", ",", "DAG", ".", "getConstant", "(", "VPERMILPMask", ",", "DL", ",", "MVT", "::", "i8", ")", ")", ";" ]
[ "if", "(", "SDValue", "V", "=", "lowerV2X128Shuffle", "(", "DL", ",", "MVT", "::", "v4f64", ",", "V1", ",", "V2", ",", "Mask", ",", "Zeroable", ",", "Subtarget", ",", "DAG", ")", ")", "return", "V", ";", "if", "(", "V2", ".", "isUndef", "(", ")",...
LLVM
ARM
CPP
next_suggestion
CPU
22,049
[ "}" ]
[ "static", "bool", "isEntryPredicatedOnVCTP", "(", "VPTState", "&", "Block", ",", "bool", "Exclusive", "=", "false", ")", "{", "SmallVectorImpl", "<", "MachineInstr", "*", ">", "&", "Insts", "=", "Block", ".", "getInsts", "(", ")", ";", "return", "isPredicate...
GCC
rs6000
MD
next_suggestion
CPU
22,050
[ "<STR_LIT>", ")" ]
[ "(", "and", "(", "eq_attr", "<STR_LIT>", "<STR_LIT>", ")", "(", "eq_attr", "<STR_LIT>", "<STR_LIT>", ")", ")" ]
LLVM
SystemZ
CPP
stmt_completion
CPU
22,051
[ ")", ";" ]
[ "static", "uint64_t", "extractBitsForFixup", "(", "MCFixupKind", "Kind", ",", "uint64_t", "Value", ")", "{", "if", "(", "Kind", "<", "FirstTargetFixupKind", ")", "return", "Value", ";", "switch", "(", "unsigned", "(", "Kind", ")", ")", "{", "case", "<STR_LIT...
LLVM
AMDGPU
CPP
next_suggestion
GPU
22,052
[ "}" ]
[ "SUnits", "[", "i", "]", ".", "WeakPredsLeft", "=", "SUnitsLinksBackup", "[", "i", "]", ".", "WeakPredsLeft", ";", "SUnits", "[", "i", "]", ".", "NumPredsLeft", "=", "SUnitsLinksBackup", "[", "i", "]", ".", "NumPredsLeft", ";", "SUnits", "[", "i", "]", ...
GCC
arm
MD
stmt_completion
CPU
22,053
[ ")", ")" ]
[ "(", "eq_attr", "<STR_LIT>", "<STR_LIT>" ]
LLVM
Mips
CPP
next_suggestion
CPU
22,054
[ "return", "MFI", ".", "getObjectOffset", "(", "FI", ")", "+", "MFI", ".", "getStackSize", "(", ")", "-", "getOffsetOfLocalArea", "(", ")", "+", "MFI", ".", "getOffsetAdjustment", "(", ")", ";" ]
[ "int", "MipsSEFrameLowering", "::", "getFrameIndexReference", "(", "const", "MachineFunction", "&", "MF", ",", "int", "FI", ",", "unsigned", "&", "FrameReg", ")", "const", "{", "const", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ...
LLVM
Hexagon
TD
stmt_completion
DSP
22,055
[ "}", "=", "Rs", ";" ]
[ "bits", "<", "<NUM_LIT>", ">", "Rd", ";", "bits", "<", "<NUM_LIT>", ">", "Pu", ";", "bits", "<", "<NUM_LIT>", ">", "Rs", ";", "bits", "<", "<NUM_LIT>", ">", "s8", ";", "let", "isPredicatedNew", "=", "PredNew", ";", "let", "IClass", "=", "<NUM_LIT>", ...
LLVM
Cpu0
CPP
stmt_completion
CPU
22,056
[ ")", ")", ";" ]
[ "GetInstSeqLs", "(", "Imm", "&", "<NUM_LIT>", "ULL", ",", "RemSize", ",", "SeqLs", ")", ";", "AddInstr", "(", "SeqLs", ",", "Inst", "(", "ORi", ",", "Imm", "&", "<NUM_LIT>", "ULL" ]
GCC
h8300
MD
stmt_completion
MPU
22,057
[ ")" ]
[ "[", "(", "set", "(", "zero_extract", ":", "SI", "(", "match_operand", ":", "SI", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", "(", "const_int", "<NUM_LIT>", ")", "(", "const_int", "<NUM_LIT>", ")", ")", "(", "match_operand", ":", "SI", "<NUM_LIT>", "<STR_LIT...
LLVM
ARM
CPP
code_generation
CPU
22,058
[ "std", "::", "pair", "<", "unsigned", ",", "unsigned", ">", "ARMBaseInstrInfo", "::", "decomposeMachineOperandsTargetFlags", "(", "unsigned", "TF", ")", "const", "{", "const", "unsigned", "Mask", "=", "<STR_LIT>", "::", "<STR_LIT>", ";", "return", "std", "::", ...
[ "Decompose", "the", "machine", "operand", "'s", "target", "flags", "into", "two", "values", "-", "the", "direct", "target", "flag", "value", "and", "any", "of", "bit", "flags", "that", "are", "applied", "." ]
GCC
aarch64
CPP
stmt_completion
CPU
22,059
[ "b", ")", ";" ]
[ "return", "(", "uint32x2_t", ")", "_", "_", "builtin_aarch64_sqshrun_nv2di", "(", "_", "_", "a", ",", "_", "_" ]
GCC
nios2
CPP
stmt_completion
MPU
22,060
[ "(", "addr", ")", ")", ";" ]
[ "addr", "=", "XEXP", "(", "x", ",", "<NUM_LIT>", ")", ";", "return", "(", "nios2_large_constant_p", "(", "addr", ")", "||", "nios2_plus_large_constant_p" ]
GCC
loongarch
CPP
next_suggestion
CPU
22,061
[ "}" ]
[ "extern", "_", "_", "inline", "_", "_", "attribute__", "(", "(", "_", "_", "gnu_inline__", ",", "_", "_", "always_inline__", ",", "_", "_", "artificial__", ")", ")", "_", "_", "m128i", "_", "_", "lsx_vmuh_d", "(", "_", "_", "m128i", "_", "<NUM_LIT>",...
GCC
arm
CPP
program_repair
CPU
22,062
[ "<FIXS>", "val", "=", "force_operand", "(", "plus_constant", "(", "Pmode", ",", "xop0", ",", "n", ")", ",", "NULL_RTX", ")", ";", "<FIXE>", "<FIXS>", "x", "=", "plus_constant", "(", "Pmode", ",", "base_reg", ",", "low_n", ")", ";", "<FIXE>" ]
[ "}", "base_reg", "=", "gen_reg_rtx", "(", "SImode", ")", ";", "<BUGS>", "val", "=", "force_operand", "(", "plus_constant", "(", "xop0", ",", "n", ")", ",", "NULL_RTX", ")", ";", "<BUGE>", "emit_move_insn", "(", "base_reg", ",", "val", ")", ";", "<BUGS>",...
GCC
rs6000
CPP
stmt_completion
CPU
22,063
[ "_", "_", "B", ")", ";" ]
[ "return", "(", "_", "_", "m128", ")", "(", "(", "_", "_", "v4sf", ")", "_", "_", "A", "-", "(", "_", "_", "v4sf", ")" ]
LLVM
X86
TD
next_suggestion
CPU
22,064
[ "}" ]
[ "let", "Name", "=", "<STR_LIT>", ";", "let", "RenderMethod", "=", "<STR_LIT>", ";", "let", "SuperClasses", "=", "[", "X86AbsMemAsmOperand", "]", ";" ]
LLVM
Hexagon
TD
next_suggestion
DSP
22,065
[ "let", "isPredicatedFalse", "=", "<NUM_LIT>", ";" ]
[ "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "<NUM_LIT>", ";", "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "<NUM_LIT>", ";", "let", "isPredicated", "=", "<NUM_LIT>", ";" ]
GCC
vax
MD
stmt_completion
CPU
22,066
[ "<NUM_LIT>", ")" ]
[ "(", "clobber", "(", "reg", ":", "CC", "VAX_PSL_REGNUM", ")", ")", "]", "<STR_LIT>", "[", "(", "set", "(", "reg", ":", "VAXccnz", "VAX_PSL_REGNUM", ")", "(", "compare", ":", "VAXccnz", "(", "match_dup" ]
LLVM
CSKY
CPP
next_suggestion
CPU
22,067
[ "}" ]
[ "bool", "isConstPoolOp", "(", ")", "const", "{", "return", "Kind", "==", "CPOP", ";" ]
GCC
sh
MD
stmt_completion
CPU
22,068
[ ")", ")", "]" ]
[ "[", "(", "set", "(", "match_operand", ":", "V4SF", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", "(", "match_operand", ":", "V4SF", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>" ]
GCC
arm
CPP
code_generation
CPU
22,069
[ "static", "void", "arm_trampoline_init", "(", "rtx", "m_tramp", ",", "tree", "fndecl", ",", "rtx", "chain_value", ")", "{", "rtx", "fnaddr", ",", "mem", ",", "a_tramp", ";", "emit_block_move", "(", "m_tramp", ",", "assemble_trampoline_template", "(", ")", ",",...
[ "Emit", "RTL", "insns", "to", "initialize", "the", "variable", "parts", "of", "a", "trampoline", "." ]
GCC
moxie
MD
stmt_completion
CPU
22,070
[ "<STR_LIT>", "<STR_LIT>", ")", ")", ")", "]" ]
[ "(", "match_operand", ":", "SI", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", "(", "match_operand", ":", "SI", "<NUM_LIT>" ]
LLVM
AArch64
CPP
stmt_completion
CPU
22,071
[ ")", ";" ]
[ "EVT", "VT", "=", "Node", "->", "getValueType", "(", "<NUM_LIT>", ")", ";", "Chain", "=", "DAG", ".", "getCALLSEQ_START", "(", "Chain", ",", "<NUM_LIT>", ",", "<NUM_LIT>", ",", "dl", ")", ";", "Chain", "=", "LowerWindowsDYNAMIC_STACKALLOC", "(", "Op", ",",...
GCC
rs6000
MD
stmt_completion
CPU
22,072
[ ")", ")" ]
[ "(", "define_predicate", "<STR_LIT>", "(", "and", "(", "match_code", "<STR_LIT>", ")", "(", "match_test", "<STR_LIT>", ")" ]
LLVM
ARM
CPP
stmt_completion
CPU
22,073
[ "(", "GV", ")", ";" ]
[ "if", "(", "const", "GlobalAlias", "*", "GA", "=", "dyn_cast", "<", "GlobalAlias", ">", "(", "GV", ")", ")", "if", "(", "!", "(", "GV", "=", "GA", "->", "getBaseObject", "(", ")", ")", ")", "return", "false", ";", "if", "(", "const", "auto", "*",...
GCC
tilepro
MD
stmt_completion
VLIW
22,074
[ ")", "]" ]
[ "[", "(", "set", "(", "match_operand", ":", "SI", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", "(", "binop_with_imm", ":", "SI", "(", "unspec_volatile", ":", "SI", "[", "(", "match_operand", ":", "SI", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", "(", "reg", ...
GCC
loongarch
CPP
stmt_completion
CPU
22,075
[ "v2i64", ")", "_", "<NUM_LIT>", ",", "(", "v2i64", ")", "_", "<NUM_LIT>", ")", ";" ]
[ "extern", "_", "_", "inline", "_", "_", "attribute__", "(", "(", "_", "_", "gnu_inline__", ",", "_", "_", "always_inline__", ",", "_", "_", "artificial__", ")", ")", "_", "_", "m128i", "_", "_", "lsx_vmsub_d", "(", "_", "_", "m128i", "_", "<NUM_LIT>"...
LLVM
TPC
CPP
stmt_completion
Virtual ISA
22,076
[ "TPCFeatures", "[", "<STR_LIT>", "::", "<STR_LIT>", "]", ")", "{" ]
[ "static", "const", "std", "::", "map", "<", "Fields", ",", "Field", ">", "getSTInstrLayout", "(", "bool", "compressed", ",", "const", "FeatureBitset", "&", "TPCFeatures", ")", "{", "if", "(", "TPCFeatures", "[", "<STR_LIT>", "::", "<STR_LIT>", "]", "||" ]
LLVM
X86
CPP
next_suggestion
CPU
22,077
[ "MIB", "=", "BuildMI", "(", "*", "SinkMBB", ",", "SinkInsertionPoint", ",", "MIMD", ",", "TII", "->", "get", "(", "X86", "::", "PHI", ")", ",", "DestReg", ")", ".", "addReg", "(", "Op1Reg", ")", ".", "addMBB", "(", "FalseMBB", ")", ".", "addReg", "...
[ "Register", "DestReg", "=", "MIIt", "->", "getOperand", "(", "<NUM_LIT>", ")", ".", "getReg", "(", ")", ";", "Register", "Op1Reg", "=", "MIIt", "->", "getOperand", "(", "<NUM_LIT>", ")", ".", "getReg", "(", ")", ";", "Register", "Op2Reg", "=", "MIIt", ...
GCC
rs6000
MD
next_suggestion
CPU
22,078
[ "(", "match_operand", ":", "QHI", "<NUM_LIT>", "<STR_LIT>", ")", ")", ")" ]
[ "(", "define_expand", "<STR_LIT>", "[", "(", "parallel", "[", "(", "set", "(", "match_operand", ":", "SFDF", "<NUM_LIT>", "<STR_LIT>", ")", "(", "unsigned_float", ":", "SFDF" ]
LLVM
AArch64
TD
stmt_completion
CPU
22,079
[ "ParserMatchClass", "=", "Imm0_255Operand", ";" ]
[ "def", "imm0_255", ":", "Operand", "<", "i32", ">", ",", "ImmLeaf", "<", "i32", ",", "[", "{", "return", "(", "(", "uint32_t", ")", "Imm", ")", "<", "<NUM_LIT>", ";", "}", "]", ">", "{", "let" ]
LLVM
ARM
CPP
next_suggestion
CPU
22,080
[ "}" ]
[ "SDValue", "ARMSelectionDAGInfo", "::", "EmitTargetCodeForMemmove", "(", "SelectionDAG", "&", "DAG", ",", "SDLoc", "dl", ",", "SDValue", "Chain", ",", "SDValue", "Dst", ",", "SDValue", "Src", ",", "SDValue", "Size", ",", "unsigned", "Align", ",", "bool", "isVo...
LLVM
X86
CPP
stmt_completion
CPU
22,081
[ "BB", ";" ]
[ "default", ":", "llvm_unreachable", "(", "<STR_LIT>", "illegal opcode!", "<STR_LIT>", ")", ";", "case", "X86", "::", "PCMPISTRM128REG", ":", "Opc", "=", "X86", "::", "PCMPISTRM128rr", ";", "break", ";", "case", "X86", "::", "VPCMPISTRM128REG", ":", "Opc", "=",...
LLVM
Sparc
CPP
next_suggestion
CPU
22,082
[ "}" ]
[ "bool", "Filler", "::", "needsUnimp", "(", "MachineBasicBlock", "::", "iterator", "I", ",", "unsigned", "&", "StructSize", ")", "{", "if", "(", "!", "I", "->", "isCall", "(", ")", ")", "return", "false", ";", "unsigned", "structSizeOpNum", "=", "<NUM_LIT>"...
GCC
arm
CPP
stmt_completion
CPU
22,083
[ "c", ")", ";" ]
[ "vmlaq_f32", "(", "float32x4_t", "_", "_", "a", ",", "float32x4_t", "_", "_", "b", ",", "float32x4_t", "_", "_", "c", ")", "{", "return", "(", "float32x4_t", ")", "_", "_", "builtin_neon_vmlav4sf", "(", "_", "_", "a", ",", "_", "_", "b", ",", "_", ...
GCC
frv
MD
stmt_completion
VLIW
22,084
[ ")" ]
[ "(", "div", ":", "SI", "(", "match_operand", ":", "SI", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", "(", "match_operand", ":", "SI", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", ")", ")", "]", "<STR_LIT>", "<STR_LIT>", "[", "(", "set_attr", "<STR_LIT>", "<STR...
LLVM
AArch64
TD
stmt_completion
CPU
22,085
[ "idx", ";" ]
[ "def", "vi64gpr", ":", "SIMDInsFromMain", "<", "<STR_LIT>", ",", "v2i64", ",", "GPR64", ",", "VectorIndexD", ">", "{", "bits", "<", "<NUM_LIT>", ">", "idx", ";", "let", "Inst", "{", "<NUM_LIT>", "}", "=" ]
GCC
sh
CPP
next_suggestion
CPU
22,086
[ "x", "=", "gen_movml_push_banked", "(", "sp_reg", ")", ";" ]
[ "}", "if", "(", "i", "!=", "PR_REG", "&&", "(", "i", "!=", "FPSCR_REG", "||", "!", "skip_fpscr", ")", "&&", "TEST_HARD_REG_BIT", "(", "*", "mask", ",", "i", ")", ")", "{", "if", "(", "!", "(", "sh_cfun_resbank_handler_p", "(", ")", "&&", "(", "(", ...
LLVM
ARM
CPP
stmt_completion
CPU
22,087
[ "getIndex", "(", ")", ",", "ARM", "::", "reloc_arm_so_imm_cp_entry", ")", ";" ]
[ "Binary", "|=", "getMachineOpValue", "(", "MI", ",", "<NUM_LIT>", ")", "<<", "<STR_LIT>", "::", "<STR_LIT>", ";", "Binary", "|=", "getARMRegisterNumbering", "(", "ARM", "::", "PC", ")", "<<", "<STR_LIT>", "::", "<STR_LIT>", ";", "Binary", "|=", "<NUM_LIT>", ...
LLVM
Hexagon
TD
next_suggestion
DSP
22,088
[ "let", "opExtentBits", "=", "<NUM_LIT>", ";" ]
[ "let", "mayLoad", "=", "<NUM_LIT>", ";", "let", "Uses", "=", "[", "GP", "]", ";", "let", "BaseOpcode", "=", "<STR_LIT>", ";", "let", "isPredicable", "=", "<NUM_LIT>", ";", "let", "opExtendable", "=", "<NUM_LIT>", ";", "let", "isExtentSigned", "=", "<NUM_LI...
LLVM
AArch64
TD
stmt_completion
CPU
22,089
[ "Zm", ";" ]
[ "bits", "<", "<NUM_LIT>", ">", "Zm", ";", "bits", "<", "<NUM_LIT>", ">", "iop", ";", "let", "Inst", "{", "<NUM_LIT>", "}", "=", "iop", "{", "<NUM_LIT>", "}", ";", "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "iop", "{", "<NUM_LIT>", ...
LLVM
Hexagon
TD
next_suggestion
DSP
22,090
[ "let", "Defs", "=", "[", "USR_OVF", "]", ";" ]
[ "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "<NUM_LIT>", ";", "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "<NUM_LIT>", ";", "let", "prefersSlot3", "=", "<NUM_LIT>", ";" ]
GCC
arm
MD
stmt_completion
CPU
22,091
[ "<STR_LIT>", "<STR_LIT>", ")" ]
[ "(", "define_reservation", "<STR_LIT>", "<STR_LIT>", ")", "(", "define_reservation" ]
LLVM
Hexagon
CPP
next_suggestion
DSP
22,092
[ "MCOperand", "const", "&", "MCO", "=", "MCI", ".", "getOperand", "(", "O", ")", ";" ]
[ "if", "(", "HexagonMCInstrInfo", "::", "hasTmpDst", "(", "MCII", ",", "MCI", ")", ")", "{", "static", "MCOperand", "MCO", "=", "MCOperand", "::", "createReg", "(", "Hexagon", "::", "VTMP", ")", ";", "return", "(", "MCO", ")", ";", "}", "else", "{", "...
LLVM
AMDGPU
CPP
next_suggestion
GPU
22,093
[ "std", "::", "vector", "<", "unsigned", ">", "::", "iterator", "ChanPos", "=", "std", "::", "find", "(", "UpdatedUndef", ".", "begin", "(", ")", ",", "UpdatedUndef", ".", "end", "(", ")", ",", "Chan", ")", ";" ]
[ "unsigned", "Reg", "=", "RSI", "->", "Instr", "->", "getOperand", "(", "<NUM_LIT>", ")", ".", "getReg", "(", ")", ";", "MachineBasicBlock", "::", "iterator", "Pos", "=", "RSI", "->", "Instr", ";", "MachineBasicBlock", "&", "MBB", "=", "*", "Pos", "->", ...
LLVM
AMDGPU
TD
stmt_completion
GPU
22,094
[ ")", ",", "(", "V_FRACT_F64_e64", "$", "mods", ",", "$", "x", ",", "DSTCLAMP", ".", "NONE", ",", "DSTOMOD", ".", "NONE", ")", ">", ";" ]
[ "def", ":", "GCNPat", "<", "(", "f64", "(", "fadd", "(", "f64", "(", "VOP3Mods", "f64", ":", "$", "x", ",", "i32", ":", "$", "mods", ")", ")", ",", "(", "f64", "(", "fneg", "(", "f64", "(", "ffloor", "(", "f64", "(", "VOP3Mods", "f64", ":", ...
GCC
sh
MD
stmt_completion
CPU
22,095
[ "]", ",", "const0_rtx", ")" ]
[ "(", "and", ":", "SI", "(", "match_operand", ":", "SI", "<NUM_LIT>", "<STR_LIT>", ")", "(", "const_int", "<NUM_LIT>", ")", ")", ")", "]", "<STR_LIT>", "<STR_LIT>", "<STR_LIT>", "[", "(", "const_int", "<NUM_LIT>", ")", "]", "{", "emit_insn", "(", "TARGET_SH...
GCC
i386
CPP
next_suggestion
CPU
22,096
[ "for", "(", "i", "=", "<NUM_LIT>", ";", "i", "<", "FIRST_PSEUDO_REGISTER", ";", "i", "++", ")", "if", "(", "GENERAL_REGNO_P", "(", "i", ")", "&&", "i", "!=", "R10_REG", "&&", "(", "r11_ok", "||", "i", "!=", "R11_REG", ")", "&&", "i", "!=", "R11_REG...
[ "static", "int", "x86_64_select_profile_regnum", "(", "bool", "r11_ok", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "ix86_profile_before_prologue", "(", ")", "||", "!", "crtl", "->", "drap_reg", "||", "REGNO", "(", "crtl", "->", "drap_reg", ")", "!=", "R10_REG", ...
LLVM
AGC
CPP
next_suggestion
MPU
22,097
[ "}" ]
[ "int64_t", "getConstantImm", "(", ")", "const", "{", "uint64_t", "Val", "=", "static_cast", "<", "const", "MCConstantExpr", "*", ">", "(", "getImm", "(", ")", ")", "->", "getValue", "(", ")", ";", "return", "Val", ";" ]
LLVM
X86
CPP
stmt_completion
CPU
22,098
[ "FunctionPass", "(", "ID", ")", "{" ]
[ "X86LowerAMXIntrinsicsLegacyPass", "(", ")", ":" ]
LLVM
AMDGPU
CPP
stmt_completion
GPU
22,099
[ "::", "f32", ")", ";" ]
[ "bool", "AMDGPUOperand", "::", "isSDWAFP32Operand", "(", ")", "const", "{", "return", "isSDWAOperand", "(", "MVT" ]