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
PIC16
CPP
code_generation
MPU
17,800
[ "bool", "PIC16AsmPrinter", "::", "doFinalization", "(", "Module", "&", "M", ")", "{", "EmitAllAutos", "(", "M", ")", ";", "printLibcallDecls", "(", ")", ";", "DbgInfo", ".", "EndModule", "(", "M", ")", ";", "OutStreamer", ".", "EmitRawText", "(", "StringRe...
[ "doFinalization", "-", "Virtual", "method", "overriden", "by", "subclasses", "to", "do", "any", "necessary", "clean", "up", "after", "all", "passes", "have", "run", "." ]
LLVM
AArch64
TD
next_suggestion
CPU
17,801
[ "let", "RenderMethod", "=", "<STR_LIT>", ";" ]
[ "def", "MovWSymbolG3AsmOperand", ":", "AsmOperandClass", "{", "let", "Name", "=", "<STR_LIT>", ";" ]
GCC
h8300
MD
next_suggestion
MPU
17,802
[ "<STR_LIT>" ]
[ "[", "(", "set", "(", "match_operand", ":", "QI", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", "(", "match_operand", ":", "QI", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", ")", "]", "<STR_LIT>" ]
LLVM
PowerPC
CPP
next_suggestion
CPU
17,803
[ "}" ]
[ "FunctionPass", "*", "llvm", "::", "createPPCBranchCoalescingPass", "(", ")", "{", "return", "new", "PPCBranchCoalescing", "(", ")", ";" ]
LLVM
AArch64
TD
next_suggestion
CPU
17,804
[ "}" ]
[ "class", "SIMDDupFromMain", "<", "bit", "Q", ",", "bits", "<", "<NUM_LIT>", ">", "imm5", ",", "string", "size", ",", "ValueType", "vectype", ",", "RegisterOperand", "vecreg", ",", "RegisterClass", "regtype", ">", ":", "BaseSIMDInsDup", "<", "Q", ",", "<NUM_L...
LLVM
ARM
CPP
next_suggestion
CPU
17,805
[ "}" ]
[ "static", "SDValue", "PerformSTORECombine", "(", "SDNode", "*", "N", ",", "TargetLowering", "::", "DAGCombinerInfo", "&", "DCI", ")", "{", "StoreSDNode", "*", "St", "=", "cast", "<", "StoreSDNode", ">", "(", "N", ")", ";", "SDValue", "StVal", "=", "St", ...
LLVM
X86
CPP
next_suggestion
CPU
17,806
[ "SDValue", "HorizBinOp", "=", "SplitOpsAndApply", "(", "DAG", ",", "Subtarget", ",", "SDLoc", "(", "N", ")", ",", "VT", ",", "{", "LHS", ",", "RHS", "}", ",", "HOpBuilder", ")", ";" ]
[ "case", "ISD", "::", "SUB", ":", "if", "(", "Subtarget", ".", "hasSSSE3", "(", ")", "&&", "(", "VT", "==", "MVT", "::", "v8i16", "||", "VT", "==", "MVT", "::", "v4i32", "||", "VT", "==", "MVT", "::", "v16i16", "||", "VT", "==", "MVT", "::", "v8...
LLVM
VE
TD
stmt_completion
CPU
17,807
[ ",", "i64", ":", "$", "sz", ",", "v256f64", ":", "$", "vx", ",", "v256i1", ":", "$", "vm", ",", "i32", ":", "$", "vl", ")", ">", ";" ]
[ "def", ":", "Pat", "<", "(", "int_ve_vl_vstuot_vssml", "v256f64", ":", "$", "vx", ",", "i64", ":", "$", "sy", ",", "i64", ":", "$", "sz", ",", "v256i1", ":", "$", "vm", ",", "i32", ":", "$", "vl", ")", ",", "(", "VSTUOTrrvml", "i64", ":", "$", ...
LLVM
MBlaze
CPP
code_generation
MPU
17,808
[ "SDValue", "MBlazeTargetLowering", "::", "LowerCall", "(", "TargetLowering", "::", "CallLoweringInfo", "&", "CLI", ",", "SmallVectorImpl", "<", "SDValue", ">", "&", "InVals", ")", "const", "{", "SelectionDAG", "&", "DAG", "=", "CLI", ".", "DAG", ";", "SDLoc", ...
[ "This", "hook", "must", "be", "implemented", "to", "lower", "calls", "into", "the", "specified", "DAG", "." ]
LLVM
AArch64
TD
next_suggestion
CPU
17,809
[ "let", "RenderMethod", "=", "<STR_LIT>", ";" ]
[ "def", "neon_uimm2_asmoperand", ":", "AsmOperandClass", "{", "let", "Name", "=", "<STR_LIT>", ";", "let", "PredicateMethod", "=", "<STR_LIT>", ";" ]
GCC
i386
CPP
next_suggestion
CPU
17,810
[ "}" ]
[ "extern", "_", "_", "inline", "_", "_", "mmask16", "_", "_", "attribute__", "(", "(", "_", "_", "gnu_inline__", ",", "_", "_", "always_inline__", ",", "_", "_", "artificial__", ")", ")", "_", "mm256_cmpgt_epu16_mask", "(", "_", "_", "m256i", "_", "_", ...
LLVM
AArch64
TD
stmt_completion
CPU
17,811
[ "(", "instregex", "<STR_LIT>", ")", ">", ";" ]
[ "def", ":", "InstRW", "<", "[", "KryoWrite_1cyc_XY_XY_79ln", "]", "," ]
LLVM
Hexagon
TD
next_suggestion
DSP
17,812
[ "let", "hasNewValue", "=", "<NUM_LIT>", ";" ]
[ "def", "G4_tfrgcrr", ":", "HInst", "<", "(", "outs", "IntRegs", ":", "$", "Rd32", ")", ",", "(", "ins", "GuestRegs", ":", "$", "Gs32", ")", ",", "<STR_LIT>", ",", "tc_0d8f5752", ",", "TypeCR", ">", ",", "Enc_44271f", "{", "let", "Inst", "{", "<NUM_LI...
LLVM
Hexagon
TD
next_suggestion
DSP
17,813
[ "let", "opNewValue", "=", "<NUM_LIT>", ";" ]
[ "let", "cofMax1", "=", "<NUM_LIT>", ";", "let", "isRestrictNoSlot1Store", "=", "<NUM_LIT>", ";", "let", "Defs", "=", "[", "PC", "]", ";", "let", "BaseOpcode", "=", "<STR_LIT>", ";", "let", "isTaken", "=", "Inst", "{", "<NUM_LIT>", "}", ";", "let", "isExt...
LLVM
Mips
TD
stmt_completion
CPU
17,814
[ "<STR_LIT>", ")", ">", ";" ]
[ "def", ":", "InstRW", "<", "[", "GenericDSPShort", "]", ",", "(", "instregex" ]
LLVM
Mips
TD
stmt_completion
CPU
17,815
[ "PACKRL_PH_ENC", ",", "PACKRL_PH_DESC", ";" ]
[ "def", "PACKRL_PH", ":", "DspMMRel", "," ]
LLVM
AMDGPU
CPP
code_generation
GPU
17,816
[ "void", "AMDGPUAsmPrinter", "::", "emitFunctionBodyStart", "(", ")", "{", "const", "SIMachineFunctionInfo", "&", "MFI", "=", "*", "MF", "->", "getInfo", "<", "SIMachineFunctionInfo", ">", "(", ")", ";", "const", "GCNSubtarget", "&", "STM", "=", "MF", "->", "...
[ "Targets", "can", "override", "this", "to", "emit", "stuff", "before", "the", "first", "basic", "block", "in", "the", "function", "." ]
GCC
i386
CPP
next_suggestion
CPU
17,817
[ "return", "volatile_ok", "||", "!", "MEM_VOLATILE_P", "(", "mem", ")", ";" ]
[ "mem", "=", "XEXP", "(", "set", ",", "opnum", ")", ";", "while", "(", "SUBREG_P", "(", "mem", ")", ")", "mem", "=", "SUBREG_REG", "(", "mem", ")", ";", "gcc_assert", "(", "MEM_P", "(", "mem", ")", ")", ";" ]
LLVM
ARM
CPP
stmt_completion
CPU
17,818
[ "(", "F", ")", ";" ]
[ "if", "(", "TM", "->", "Options", ".", "ThreadModel", "==", "ThreadModel", "::", "Single", ")", "addPass", "(", "createLowerAtomicPass", "(", ")", ")", ";", "else", "addPass", "(", "createAtomicExpandPass", "(", ")", ")", ";", "if", "(", "TM", "->", "get...
LLVM
AMDGPU
TD
stmt_completion
GPU
17,819
[ ">", ";" ]
[ "def", "LoadAddress_region", ":", "AddressSpaceList", "<", "[", "AddrSpaces", ".", "Region", "]" ]
GCC
pa
MD
next_suggestion
CPU
17,820
[ "<STR_LIT>" ]
[ "(", "trap_if", "(", "ne", "(", "plus", ":", "TI", "(", "sign_extend", ":", "TI", "(", "match_dup", "<NUM_LIT>", ")", ")", "(", "sign_extend", ":", "TI", "(", "match_dup", "<NUM_LIT>", ")", ")", ")", "(", "sign_extend", ":", "TI", "(", "plus", ":", ...
LLVM
AArch64
TD
next_suggestion
CPU
17,821
[ "}" ]
[ "}", "]", ",", "logical_imm32_XFORM", ">", "{", "let", "PrintMethod", "=", "<STR_LIT>", ";", "let", "ParserMatchClass", "=", "LogicalImm32Operand", ";" ]
GCC
i386
MD
stmt_completion
CPU
17,822
[ "<STR_LIT>", ")" ]
[ "(", "define_reservation", "<STR_LIT>" ]
GCC
avr
MD
stmt_completion
MPU
17,823
[ ")", ")", ")" ]
[ "(", "and", "(", "match_operand", "<NUM_LIT>", "<STR_LIT>", ")", "(", "match_test", "<STR_LIT>", ")" ]
LLVM
ARM
TD
next_suggestion
CPU
17,824
[ "}" ]
[ "let", "DecoderMethod", "=", "<STR_LIT>", ";", "let", "ParserMatchClass", "=", "ShiftedImmAsmOperand", ";", "let", "MIOperandInfo", "=", "(", "ops", "GPR", ",", "i32imm", ")", ";" ]
GCC
arm
MD
stmt_completion
CPU
17,825
[ "<STR_LIT>", ")" ]
[ "(", "define_insn_reservation", "<STR_LIT>", "<NUM_LIT>", "(", "and", "(", "eq_attr", "<STR_LIT>" ]
GCC
s390
CPP
stmt_completion
MPU
17,826
[ ";" ]
[ "emit_insn", "(", "gen_vpdi4_2", "(", "d", ".", "vmode", ",", "tmp", ",", "op0_reg", ",", "op0_reg", ")", ")", ";", "if", "(", "d", ".", "vmode", "==", "V4SImode", ")", "emit_insn", "(", "gen_rotlv4si3_di", "(", "d", ".", "target", ",", "tmp", ")", ...
LLVM
X86
CPP
stmt_completion
CPU
17,827
[ ")", "return", "false", ";" ]
[ "VT", "=", "evt", ".", "getSimpleVT", "(", ")", ";", "if", "(", "VT", "==", "MVT", "::", "f64", "&&", "!", "X86ScalarSSEf64", ")", "return", "false", ";", "if", "(", "VT", "==", "MVT", "::", "f32", "&&", "!", "X86ScalarSSEf32" ]
GCC
pa
CPP
program_repair
CPU
17,828
[ "<FIXS>", "gen_rtx", "(", "REG", ",", "SImode", ",", "<FIXE>" ]
[ "emit_insn", "(", "gen_pre_ldwm", "(", "stack_pointer_rtx", ",", "stack_pointer_rtx", ",", "GEN_INT", "(", "-", "actual_fsize", ")", ",", "<BUGS>", "gen_rtx", "(", "REG", ",", "SImode", ",", "<BUGE>", "merge_sp_adjust_with_load", ")", ")", ")", ";", "else", "i...
GCC
v850
MD
next_suggestion
MPU
17,829
[ "{" ]
[ "(", "define_expand", "<STR_LIT>", "[", "(", "set", "(", "match_operand", ":", "HI", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", "(", "match_operand", ":", "HI", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", ")", "]", "<STR_LIT>" ]
GCC
arm
MD
next_suggestion
CPU
17,830
[ "<STR_LIT>", ")" ]
[ "(", "and", "(", "eq_attr", "<STR_LIT>", "<STR_LIT>", ")", "(", "eq_attr", "<STR_LIT>", "<STR_LIT>", ")", ")" ]
LLVM
Hexagon
TD
next_suggestion
DSP
17,831
[ "let", "Constraints", "=", "<STR_LIT>", ";" ]
[ "def", "L2_loadalignh_pr", ":", "HInst", "<", "(", "outs", "DoubleRegs", ":", "$", "Ryy32", ",", "IntRegs", ":", "$", "Rx32", ")", ",", "(", "ins", "DoubleRegs", ":", "$", "Ryy32in", ",", "IntRegs", ":", "$", "Rx32in", ",", "ModRegs", ":", "$", "Mu2"...
LLVM
MOS
CPP
next_suggestion
MPU
17,832
[ "return", "Ty", "==", "Type", "::", "getInt8Ty", "(", "Ty", "->", "getContext", "(", ")", ")", ";" ]
[ "bool", "is8BitIndex", "(", "Type", "*", "Ty", ")", "{", "if", "(", "!", "Ty", ")", "return", "false", ";" ]
GCC
arm
MD
next_suggestion
CPU
17,833
[ "rtx", "step1", "=", "gen_reg_rtx", "(", "<", "V_HALF", ">", "mode", ")" ]
[ "(", "match_operand", ":", "VQ", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", "]", "<STR_LIT>", "{" ]
LLVM
VE
CPP
next_suggestion
CPU
17,834
[ "}" ]
[ "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "<STR_LIT>", "::", "<STR_LIT>", ")", ",", "<STR_LIT>", "::", "<STR_LIT>", ")", ".", "addReg", "(", "<STR_LIT>", "::", "<STR_LIT>", ")", ".", "addImm", "(", "<NUM_LIT>", ")", ...
LLVM
ARM
CPP
next_suggestion
CPU
17,835
[ "unsigned", "PCAdj", "=", "Subtarget", "->", "isThumb", "(", ")", "?", "<NUM_LIT>", ":", "<NUM_LIT>", ";" ]
[ "ARMFunctionInfo", "*", "AFI", "=", "MF", ".", "getInfo", "<", "ARMFunctionInfo", ">", "(", ")", ";", "unsigned", "ARMPCLabelIndex", "=", "<NUM_LIT>", ";", "DebugLoc", "DL", "=", "Op", ".", "getDebugLoc", "(", ")", ";", "EVT", "PtrVT", "=", "getPointerTy",...
LLVM
ARM64
CPP
stmt_completion
CPU
17,836
[ "OffsetLoc", ";" ]
[ "SMLoc", "getOffsetLoc", "(", ")", "const", "{", "return" ]
LLVM
Hexagon
CPP
next_suggestion
DSP
17,837
[ "return", "Subtarget", ".", "getInstrInfo", "(", ")", "->", "isValidAutoIncImm", "(", "VT", ",", "V", ")", ";" ]
[ "bool", "IsLegalType", "=", "VT", "==", "MVT", "::", "i8", "||", "VT", "==", "MVT", "::", "i16", "||", "VT", "==", "MVT", "::", "i32", "||", "VT", "==", "MVT", "::", "i64", "||", "VT", "==", "MVT", "::", "f32", "||", "VT", "==", "MVT", "::", ...
LLVM
PTX
CPP
program_repair
GPU
17,838
[ "<FIXS>", "StringRef", "Directory", ",", "StringRef", "Filename", ")", "{", "if", "(", "!", "Directory", ".", "empty", "(", ")", ")", "{", "if", "(", "sys", "::", "path", "::", "is_absolute", "(", "Filename", ")", ")", "return", "EmitDwarfFileDirective", ...
[ "bool", "PTXMCAsmStreamer", "::", "EmitDwarfFileDirective", "(", "unsigned", "FileNo", ",", "<BUGS>", "StringRef", "Filename", ")", "{", "<BUGE>", "OS", "<<", "<STR_LIT>", "\\t.file\\t", "<STR_LIT>", "<<", "FileNo", "<<", "'", "'", ";", "PrintQuotedString", "(", ...
GCC
mips
MD
next_suggestion
CPU
17,839
[ "(", "eq_attr", "<STR_LIT>", "<STR_LIT>", ")", ")", ")" ]
[ "(", "define_insn_reservation", "<STR_LIT>", "<NUM_LIT>", "(", "and", "(", "eq_attr", "<STR_LIT>", "<STR_LIT>", ")", "(", "and", "(", "eq_attr", "<STR_LIT>", "<STR_LIT>", ")" ]
GCC
msp430
CPP
stmt_completion
MPU
17,840
[ ":", "Pmode", ")", ";" ]
[ "static", "fixed_size_mode", "msp430_get_raw_arg_mode", "(", "int", "regno", ")", "{", "return", "as_a", "<", "fixed_size_mode", ">", "(", "regno", "==", "ARG_POINTER_REGNUM", "?", "VOIDmode" ]
GCC
i386
CPP
stmt_completion
CPU
17,841
[ "_", "v4si", ")", "_", "_", "B", ")", ";" ]
[ "return", "(", "_", "_", "m128i", ")", "_", "_", "builtin_ia32_vpcomtrued", "(", "(", "_", "_", "v4si", ")", "_", "_", "A", ",", "(", "_" ]
GCC
i386
CPP
stmt_completion
CPU
17,842
[ ")", "[", "<NUM_LIT>", "]", ")", ";" ]
[ "return", "_", "mm_set_epi32", "(", "<NUM_LIT>", ",", "<NUM_LIT>", ",", "<NUM_LIT>", ",", "(", "*", "(", "_", "_", "m32_u", "*", ")", "_", "_", "P" ]
LLVM
WebAssembly
CPP
program_repair
Virtual ISA
17,843
[ "<FIXS>", "if", "(", "(", "ML", "&&", "!", "WE", ")", "||", "(", "ML", "&&", "WE", "&&", "WE", "->", "contains", "(", "ML", "->", "getHeader", "(", ")", ")", ")", ")", "{", "<FIXE>" ]
[ "const", "auto", "*", "WE", "=", "WEI", ".", "getExceptionFor", "(", "MBB", ")", ";", "if", "(", "!", "ML", "&&", "!", "WE", ")", "return", "nullptr", ";", "<BUGS>", "if", "(", "(", "ML", "&&", "!", "WE", ")", "||", "(", "ML", "&&", "WE", "&&...
GCC
m68k
MD
stmt_completion
MPU
17,844
[ ")", ")" ]
[ "(", "and", "(", "and", "(", "and", "(", "and", "(", "eq_attr", "<STR_LIT>", "<STR_LIT>", ")", "(", "eq_attr", "<STR_LIT>", "<STR_LIT>", ")", ")", "(", "eq_attr", "<STR_LIT>", "<STR_LIT>", ")", ")", "(", "eq_attr", "<STR_LIT>", "<STR_LIT>" ]
GCC
rs6000
MD
next_suggestion
CPU
17,845
[ "<STR_LIT>", ")" ]
[ "(", "and", "(", "eq_attr", "<STR_LIT>", "<STR_LIT>", ")", "(", "eq_attr", "<STR_LIT>", "<STR_LIT>", ")", ")" ]
GCC
m68k
CPP
next_suggestion
MPU
17,846
[ "break", ";" ]
[ "if", "(", "flags_operand2", "!=", "NULL_RTX", "&&", "modified_in_p", "(", "flags_operand2", ",", "insn", ")", ")", "flags_operand2", "=", "NULL_RTX", ";", "return", ";", "}", "flags_valid", "=", "v", ";", "rtx", "set", "=", "single_set", "(", "insn", ")",...
GCC
arm
MD
next_suggestion
CPU
17,847
[ "(", "const_string", "<STR_LIT>", ")" ]
[ "(", "define_attr", "<STR_LIT>", "<STR_LIT>", "(", "cond", "[", "(", "eq_attr", "<STR_LIT>", "<STR_LIT>", ")" ]
GCC
i386
CPP
stmt_completion
CPU
17,848
[ "B", ",", "(", "_", "_", "v8sf", ")", "_", "_", "C", ")", ";" ]
[ "return", "(", "_", "_", "m256", ")", "_", "_", "builtin_ia32_vfmsubps256", "(", "(", "_", "_", "v8sf", ")", "_", "_", "A", ",", "(", "_", "_", "v8sf", ")", "_", "_" ]
LLVM
AMDGPU
TD
next_suggestion
GPU
17,849
[ "bit", "Gradients", "=", "<NUM_LIT>", ";" ]
[ "bit", "Store", "=", "<NUM_LIT>", ";", "bit", "Atomic", "=", "<NUM_LIT>", ";", "bit", "AtomicX2", "=", "<NUM_LIT>", ";", "bit", "Sampler", "=", "<NUM_LIT>", ";", "bit", "Gather4", "=", "<NUM_LIT>", ";", "bits", "<", "<NUM_LIT>", ">", "NumExtraArgs", "=", ...
GCC
iq2000
MD
next_suggestion
CPU
17,850
[ "<STR_LIT>", ")" ]
[ "(", "zero_extend", ":", "HI", "(", "match_operand", ":", "QI", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", ")", ")", "]", "<STR_LIT>" ]
LLVM
HSAIL
TD
stmt_completion
Virtual ISA
17,851
[ "sourceType", ")", ",", "opName", "#", "<STR_LIT>", ">", ";" ]
[ "class", "HSAILInstSourceType_3Op", "<", "string", "opName", ",", "bits", "<", "<NUM_LIT>", ">", "BrigVal", ",", "HSAILProfile", "P", ">", ":", "HSAILInstSourceType", "<", "BrigVal", ",", "(", "outs", "P", ".", "DestRC", ":", "$", "dest", ")", ",", "(", ...
LLVM
Hexagon
TD
next_suggestion
DSP
17,852
[ "let", "hasSideEffects", "=", "<NUM_LIT>", ";" ]
[ "def", "J2_trap0", ":", "HInst", "<", "(", "outs", ")", ",", "(", "ins", "u8_0Imm", ":", "$", "Ii", ")", ",", "<STR_LIT>", ",", "tc_fc3999b4", ",", "TypeJ", ">", ",", "Enc_a51a9a", "{", "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "...
LLVM
AMDGPU
CPP
next_suggestion
GPU
17,853
[ "return", "SelectVOP3Mods", "(", "In", ",", "Src", ",", "SrcMods", ")", ";" ]
[ "SDLoc", "DL", "(", "In", ")", ";", "Clamp", "=", "CurDAG", "->", "getTargetConstant", "(", "<NUM_LIT>", ",", "DL", ",", "MVT", "::", "i1", ")", ";", "Omod", "=", "CurDAG", "->", "getTargetConstant", "(", "<NUM_LIT>", ",", "DL", ",", "MVT", "::", "i1...
LLVM
R600
CPP
next_suggestion
GPU
17,854
[ "}" ]
[ "virtual", "bool", "mayNeedRelaxation", "(", "const", "MCInst", "&", "Inst", ")", "const", "{", "return", "false", ";" ]
GCC
xtensa
MD
stmt_completion
MPU
17,855
[ "]", ")" ]
[ "(", "define_code_iterator", "ior_op", "[", "ior", "plus" ]
GCC
i386
CPP
stmt_completion
CPU
17,856
[ "A", "<", "(", "_", "_", "v16qs", ")", "_", "_", "B", ")", ";" ]
[ "extern", "_", "_", "inline", "_", "_", "m128i", "_", "_", "attribute__", "(", "(", "_", "_", "gnu_inline__", ",", "_", "_", "always_inline__", ",", "_", "_", "artificial__", ")", ")", "_", "mm_cmplt_epi8", "(", "_", "_", "m128i", "_", "_", "A", ",...
LLVM
PTX
CPP
next_suggestion
GPU
17,857
[ "}" ]
[ "void", "PTXMCAsmStreamer", "::", "SwitchSection", "(", "const", "MCSection", "*", "Section", ")", "{", "assert", "(", "Section", "&&", "<STR_LIT>", "Cannot switch to a null section!", "<STR_LIT>", ")", ";", "if", "(", "Section", "!=", "CurSection", ")", "{", "P...
LLVM
Hexagon
TD
stmt_completion
DSP
17,858
[ "=", "<STR_LIT>", ";" ]
[ "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "<NUM_LIT>", ";", "let", "isPredicated", "=", "<NUM_LIT>", ";", "let", "hasNewValue", "=", "<NUM_LIT>", ";", "let", "opNewValue", "=", "<NUM_LIT>", ";", "let", "addrMode", "=", "Absolute", ";", "...
GCC
sparc
MD
next_suggestion
CPU
17,859
[ "[", "(", "set_attr", "<STR_LIT>", "<STR_LIT>", ")", "]", ")" ]
[ "(", "set", "(", "match_dup", "<NUM_LIT>", ")", "(", "if_then_else", ":", "W", "(", "eq", ":", "DI", "(", "match_dup", "<NUM_LIT>", ")", "(", "const_int", "<NUM_LIT>", ")", ")", "(", "const_int", "<NUM_LIT>", ")", "(", "match_dup", "<NUM_LIT>", ")", ")",...
LLVM
MCS51
CPP
stmt_completion
MPU
17,860
[ "Success", ";" ]
[ "static", "DecodeStatus", "DecodeGPR8RegisterClass", "(", "MCInst", "&", "Inst", ",", "unsigned", "RegNo", ",", "uint64_t", "Address", ",", "const", "void", "*", "Decoder", ")", "{", "if", "(", "RegNo", ">", "<NUM_LIT>", ")", "return", "MCDisassembler", "::", ...
GCC
aarch64
MD
next_suggestion
CPU
17,861
[ "(", "define_reservation", "<STR_LIT>", "<STR_LIT>", ")" ]
[ "(", "define_reservation", "<STR_LIT>", "<STR_LIT>", ")", "(", "define_reservation", "<STR_LIT>", "<STR_LIT>", ")" ]
GCC
h8300
MD
program_repair
MPU
17,862
[ "<FIXS>", "<STR_LIT>", "<FIXE>" ]
[ "(", "match_operand", ":", "SI", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", ")", ")", "]", "<STR_LIT>", "<STR_LIT>", "<BUGS>", "<STR_LIT>", "<BUGE>", "[", "(", "parallel", "[", "(", "set", "(", "match_dup", "<NUM_LIT>", ")", "(", "ior", ":", "SI", "(", ...
LLVM
X86
CPP
stmt_completion
CPU
17,863
[ ")", ")", "return", "<NUM_LIT>", ";" ]
[ "assert", "(", "Val", "->", "isVectorTy", "(", ")", "&&", "<STR_LIT>", "This must be a vector type", "<STR_LIT>", ")", ";", "if", "(", "Index", "!=", "-", "<NUM_LIT>", "U", ")", "{", "std", "::", "pair", "<", "unsigned", ",", "MVT", ">", "LT", "=", "TL...
LLVM
Mips
TD
next_suggestion
CPU
17,864
[ "InstrItinClass", "Itinerary", "=", "itin", ";" ]
[ "string", "AsmString", "=", "!", "strconcat", "(", "instr_asm", ",", "<STR_LIT>", ")", ";", "list", "<", "dag", ">", "Pattern", "=", "[", "]", ";", "bit", "hasSideEffects", "=", "<NUM_LIT>", ";" ]
LLVM
BPF
CPP
next_suggestion
Virtual ISA
17,865
[ "}" ]
[ "if", "(", "!", "MOP", ".", "isReg", "(", ")", "||", "!", "MOP", ".", "isDef", "(", ")", ")", "continue", ";", "unsigned", "Reg", "=", "MOP", ".", "getReg", "(", ")", ";", "if", "(", "TargetRegisterInfo", "::", "isVirtualRegister", "(", "Reg", ")",...
LLVM
Hexagon
CPP
next_suggestion
DSP
17,866
[ "}" ]
[ "bool", "Collected", "=", "collect", "(", ")", ";", "if", "(", "!", "Collected", ")", "return", "false", ";", "const", "SetVector", "<", "NodeId", ">", "&", "DeadNodes", "=", "getDeadNodes", "(", ")", ";", "const", "SetVector", "<", "NodeId", ">", "&",...
LLVM
AArch64
CPP
next_suggestion
CPU
17,867
[ "return", "FPOffset", ";" ]
[ "if", "(", "isFixed", ")", "{", "UseFP", "=", "hasFP", "(", "MF", ")", ";", "}", "else", "if", "(", "isCSR", "&&", "RegInfo", "->", "needsStackRealignment", "(", "MF", ")", ")", "{", "assert", "(", "hasFP", "(", "MF", ")", "&&", "<STR_LIT>", "Re-al...
GCC
nds32
MD
stmt_completion
CPU
17,868
[ "<STR_LIT>", ")" ]
[ "(", "define_automaton" ]
GCC
sh
MD
stmt_completion
CPU
17,869
[ "<STR_LIT>", ")" ]
[ "[", "(", "set", "(", "match_operand", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", "(", "call", "(", "mem", ":", "SI", "(", "match_operand", ":", "SI", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", ")", "(", "match_operand", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>"...
GCC
arm
MD
next_suggestion
CPU
17,870
[ "(", "define_mode_attr", "cas_cmp_str" ]
[ "(", "define_mode_attr", "cas_cmp_operand", "[", "(", "SI", "<STR_LIT>", ")", "(", "DI", "<STR_LIT>", ")", "]", ")" ]
LLVM
Hexagon
CPP
next_suggestion
DSP
17,871
[ "BuildMI", "(", "EntryBB", ",", "DebugLoc", "(", ")", ",", "HII", "->", "get", "(", "Hexagon", "::", "PS_aligna", ")", ",", "AR", ")", ".", "addImm", "(", "EntryMaxA", ")", ";" ]
[ "unsigned", "AR", "=", "FuncInfo", "->", "CreateReg", "(", "MVT", "::", "i32", ")", ";", "unsigned", "EntryMaxA", "=", "MFI", ".", "getMaxAlignment", "(", ")", ";" ]
GCC
frv
MD
stmt_completion
VLIW
17,872
[ ")", ")" ]
[ "(", "eq_attr", "<STR_LIT>", "<STR_LIT>" ]
GCC
aarch64
CPP
next_suggestion
CPU
17,873
[ "}" ]
[ "uint16x8_t", "result", ";", "_", "_", "asm__", "(", "<STR_LIT>", "mul %0.8h,%1.8h,%2.h[0]", "<STR_LIT>", ":", "<STR_LIT>", "=w", "<STR_LIT>", "(", "result", ")", ":", "<STR_LIT>", "w", "<STR_LIT>", "(", "a", ")", ",", "<STR_LIT>", "x", "<STR_LIT>", "(", "b"...
LLVM
Hexagon
CPP
stmt_completion
DSP
17,874
[ "<STR_LIT>", ";" ]
[ "const", "uint64_t", "V", "=", "(", "(", "F", ">>", "<STR_LIT>", "::", "<STR_LIT>", ")", "&", "<STR_LIT>", "::", "<STR_LIT>", ")", ";", "return", "V", "==", "<STR_LIT>", "::", "<STR_LIT>", "||", "V", "==", "<STR_LIT>", "::" ]
GCC
avr
MD
stmt_completion
MPU
17,875
[ "<STR_LIT>", "<STR_LIT>", ")" ]
[ "(", "match_operand", ":", "QI", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", ")", ")", "]", "<STR_LIT>", "{", "return", "ashlqi3_out", "(", "insn", ",", "operands", ",", "NULL", ")", "}", "[", "(", "set_attr", "<STR_LIT>", "<STR_LIT>", ")", "(", "set_attr"...
GCC
msp430
CPP
next_suggestion
MPU
17,876
[ "return", "false", ";" ]
[ "int", "rn", "=", "REGNO", "(", "r", ")", ";", "if", "(", "strict", "&&", "rn", ">=", "FIRST_PSEUDO_REGISTER", ")", "rn", "=", "reg_renumber", "[", "rn", "]", ";", "if", "(", "strict", "&&", "<NUM_LIT>", "<=", "rn", "&&", "rn", "<", "FIRST_PSEUDO_REG...
LLVM
CSKY
CPP
next_suggestion
CPU
17,877
[ "case", "Match_InvalidUImm12", ":" ]
[ "ListSeparator", "LS", ";", "std", "::", "string", "Msg", "=", "<STR_LIT>", "instruction requires the following: ", "<STR_LIT>", ";", "for", "(", "unsigned", "i", "=", "<NUM_LIT>", ",", "e", "=", "MissingFeatures", ".", "size", "(", ")", ";", "i", "!=", "e",...
LLVM
Mips
CPP
next_suggestion
CPU
17,878
[ "}" ]
[ "for", "(", "MCSubRegIterator", "SubRegIt", "(", "Reg", ",", "MCRegInfo", ",", "true", ")", ";", "SubRegIt", ".", "isValid", "(", ")", ";", "++", "SubRegIt", ")", "{", "unsigned", "CurrentSubReg", "=", "*", "SubRegIt", ";", "unsigned", "EncVal", "=", "MC...
GCC
bfin
CPP
next_suggestion
DSP
17,879
[ "max_arg_registers", "=", "i", ";" ]
[ "FILE", "*", "file", "=", "asm_out_file", ";", "int", "i", ";", "fprintf", "(", "file", ",", "<STR_LIT>", ".file \\\"%s\\\";\\n", "<STR_LIT>", ",", "LOCATION_FILE", "(", "input_location", ")", ")", ";", "for", "(", "i", "=", "<NUM_LIT>", ";", "arg_regs", "...
GCC
aarch64
CPP
program_repair
CPU
17,880
[ "<FIXS>", "&&", "!", "aarch64_nopcrelative_literal_loads", ")", ")", ")", ";", "<FIXE>" ]
[ "return", "(", "(", "GET_CODE", "(", "sym", ")", "==", "LABEL_REF", "||", "(", "GET_CODE", "(", "sym", ")", "==", "SYMBOL_REF", "&&", "CONSTANT_POOL_ADDRESS_P", "(", "sym", ")", "<BUGS>", "&&", "!", "nopcrelative_literal_loads", ")", ")", ")", ";", "<BUGE>...
GCC
arm
MD
next_suggestion
CPU
17,881
[ "(", "const_int", "<NUM_LIT>", ")", ")", ")", "]" ]
[ "(", "define_insn", "<STR_LIT>", "[", "(", "set", "(", "match_operand", ":", "V4HI", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", "(", "vec_merge", ":", "V4HI", "(", "ss_minus", ":", "V4HI", "(", "match_operand", ":", "V4HI", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT...
LLVM
AArch64
CPP
stmt_completion
CPU
17,882
[ "=", "true", ";" ]
[ "if", "(", "skipFunction", "(", "*", "MF", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "for", "(", "auto", "&", "MBB", ":", "MF", ")", "if", "(", "processMachineBasicBlock", "(", "MBB", ")", ")", "Changed" ]
LLVM
AMDGPU
CPP
program_repair
GPU
17,883
[ "<FIXS>", "const", "bool", "Overlap", "=", "RI", ".", "regsOverlap", "(", "SrcReg", ",", "DestReg", ")", ";", "indirectCopyToAGPR", "(", "*", "this", ",", "MBB", ",", "MI", ",", "DL", ",", "DestReg", ",", "SrcReg", ",", "KillSrc", ",", "RS", ",", "Ov...
[ "RegScavenger", "RS", ";", "<BUGS>", "indirectCopyToAGPR", "(", "*", "this", ",", "MBB", ",", "MI", ",", "DL", ",", "DestReg", ",", "SrcReg", ",", "KillSrc", ",", "RS", ")", ";", "<BUGE>", "return", ";", "}" ]
LLVM
rvex
CPP
stmt_completion
VLIW
17,884
[ "rvex VLIW Packetizer", "<STR_LIT>", ";" ]
[ "const", "char", "*", "getPassName", "(", ")", "const", "{", "return", "<STR_LIT>" ]
LLVM
CSKY
CPP
code_generation
CPU
17,885
[ "void", "emitInstruction", "(", "const", "MCInst", "&", "Inst", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "override", "{", "EmitMappingSymbol", "(", "<STR_LIT>", "$t", "<STR_LIT>", ")", ";", "MCELFStreamer", "::", "emitInstruction", "(", "Inst", ",", "...
[ "Targets", "should", "implement", "this", "to", "emit", "instructions", "." ]
LLVM
AMDGPU
CPP
next_suggestion
GPU
17,886
[ "if", "(", "(", "!", "(", "S1IsSigned", "||", "S1IsUnsigned", ")", "&&", "!", "(", "S0IsSigned", "||", "S0IsUnsigned", ")", ")", ")", "return", "true", ";" ]
[ "bool", "S0IsSigned", "=", "Known0", ".", "countMinLeadingOnes", "(", ")", ">", "<NUM_LIT>", ";", "auto", "Known1", "=", "DAG", ".", "computeKnownBits", "(", "S1Op", ",", "<NUM_LIT>", ")", ";", "bool", "S1IsUnsigned", "=", "Known1", ".", "countMinLeadingZeros"...
LLVM
AMDGPU
CPP
stmt_completion
GPU
17,887
[ ")", ";" ]
[ "AMDGPUPassConfig", "::", "AMDGPUPassConfig", "(", "LLVMTargetMachine", "&", "TM", ",", "PassManagerBase", "&", "PM", ")", ":", "TargetPassConfig", "(", "TM", ",", "PM", ")", "{", "disablePass", "(", "&", "StackMapLivenessID", ")", ";", "disablePass", "(", "&"...
GCC
s390
MD
next_suggestion
MPU
17,888
[ "(", "clobber", "(", "match_scratch", ":", "SI", "<NUM_LIT>", "<STR_LIT>", ")", ")", "]" ]
[ "(", "match_operand", ":", "SI", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", ")", "(", "const_int", "<NUM_LIT>", ")", ")", ")" ]
LLVM
X86
CPP
code_generation
CPU
17,889
[ "bool", "X86TTIImpl", "::", "isLegalMaskedLoad", "(", "Type", "*", "DataTy", ")", "{", "Type", "*", "ScalarTy", "=", "DataTy", "->", "getScalarType", "(", ")", ";", "int", "DataWidth", "=", "ScalarTy", "->", "getPrimitiveSizeInBits", "(", ")", ";", "return",...
[ "Return", "true", "if", "the", "target", "supports", "masked", "load", "." ]
LLVM
TPC
CPP
next_suggestion
Virtual ISA
17,890
[ "}" ]
[ "if", "(", "N", "->", "isMachineOpcode", "(", ")", ")", "{", "LLVM_DEBUG", "(", "errs", "(", ")", "<<", "<STR_LIT>", "== ", "<STR_LIT>", ";", "N", "->", "dump", "(", "CurDAG", ")", ";", "errs", "(", ")", "<<", "<STR_LIT>", "\\n", "<STR_LIT>", ")", ...
LLVM
X86
CPP
program_repair
CPU
17,891
[ "<FIXS>", "if", "(", "SrcVT", "==", "MVT", "::", "i32", "&&", "Op", ".", "getValueType", "(", ")", "==", "MVT", "::", "f32", "&&", "X86ScalarSSEf32", ")", "return", "Result", ";", "if", "(", "SrcVT", "==", "MVT", "::", "i32", "&&", "Op", ".", "getV...
[ "StackSlot", ",", "NULL", ",", "<NUM_LIT>", ")", ";", "<BUGS>", "if", "(", "SrcVT", "==", "MVT", "::", "i32", "&&", "Op", ".", "getValueType", "(", ")", "!=", "MVT", "::", "f80", "&&", "X86ScalarSSE", ")", "<BUGE>", "return", "Result", ";", "if", "("...
GCC
aarch64
CPP
program_repair
CPU
17,892
[ "<FIXS>", "bool", "replace_regs", "(", "rtx_insn", "*", ",", "df_ref", ")", ";", "<FIXE>" ]
[ "void", "broaden_colors", "(", ")", ";", "void", "finalize_allocation", "(", ")", ";", "<BUGS>", "bool", "replace_regs", "(", "df_ref", ")", ";", "<BUGE>", "int", "try_enforce_constraints", "(", "rtx_insn", "*", ",", "vec", "std", "::", "pair", "int", ",", ...
LLVM
ARM
CPP
next_suggestion
CPU
17,893
[ "return", "true", ";" ]
[ "unsigned", "Idx", "=", "WhichResult", "*", "NumElts", "/", "<NUM_LIT>", ";", "for", "(", "unsigned", "j", "=", "<NUM_LIT>", ";", "j", "<", "NumElts", ";", "j", "+=", "<NUM_LIT>", ")", "{", "if", "(", "(", "M", "[", "i", "+", "j", "]", ">=", "<NU...
LLVM
AArch64
TD
stmt_completion
CPU
17,894
[ ")", ",", "uimm_s", ",", "neon_uimm2_bare", ",", "asmop", ">", "{" ]
[ "def", "_S_fixed", ":", "STN_WBFx_Lane", "<", "r", ",", "<NUM_LIT>", ",", "op0", ",", "!", "cast", "<", "RegisterOperand", ">", "(", "List", "#", "<STR_LIT>" ]
LLVM
AMDGPU
CPP
program_repair
GPU
17,895
[ "<FIXS>", "bool", "parseExpr", "(", "int64_t", "&", "Imm", ",", "StringRef", "Expected", "=", "<STR_LIT>", "<STR_LIT>", ")", ";", "<FIXE>" ]
[ "void", "peekTokens", "(", "MutableArrayRef", "AsmToken", ">", "Tokens", ")", ";", "AsmToken", "::", "TokenKind", "getTokenKind", "(", ")", "const", ";", "<BUGS>", "bool", "parseExpr", "(", "int64_t", "&", "Imm", ")", ";", "<BUGE>", "bool", "parseExpr", "(",...
GCC
gcn
MD
stmt_completion
GPU
17,896
[ ")", ")" ]
[ "(", "and", "(", "match_code", "<STR_LIT>", ")", "(", "match_test", "<STR_LIT>", ")" ]
LLVM
AArch64
TD
next_suggestion
CPU
17,897
[ "let", "Defs", "=", "!", "if", "(", "!", "eq", "(", "s", ",", "<NUM_LIT>", ")", ",", "[", "NZCV", "]", ",", "[", "]", ")", ";" ]
[ "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "<NUM_LIT>", ";", "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "Pg", ";", "let", "Inst", "{", "<NUM_LIT>", "}", "=", "<NUM_LIT>", ";", "let", "Inst", "{", "<NUM_LIT>", "-", ...
LLVM
Mips
CPP
code_generation
CPU
17,898
[ "unsigned", "MipsOutgoingValueHandler", "::", "assignCustomValue", "(", "CallLowering", "::", "ArgInfo", "&", "Arg", ",", "ArrayRef", "<", "CCValAssign", ">", "VAs", ",", "std", "::", "function", "<", "void", "(", ")", ">", "*", "Thunk", ")", "{", "const", ...
[ "Handle", "custom", "values", ",", "which", "may", "be", "passed", "into", "one", "or", "more", "of", "VAs", "." ]
LLVM
AVR
CPP
stmt_completion
MPU
17,899
[ "isVoidTy", "(", ")", ";" ]
[ "return", "!", "F", ".", "getReturnType", "(", ")", "->" ]