Compiler_Type
stringclasses
2 values
Target
stringclasses
176 values
Programming Language
stringclasses
3 values
Task
stringclasses
4 values
Target_Type
stringclasses
7 values
Idx
int64
0
636k
Ground_Truth
listlengths
0
2.32k
Input
listlengths
1
1.02k
LLVM
Hexagon
TD
next_suggestion
DSP
30,900
[ "let", "isCodeGenOnly", "=", "<NUM_LIT>", ";" ]
[ "def", "L4_isub_memoph_zomap", ":", "HInst", "<", "(", "outs", ")", ",", "(", "ins", "IntRegs", ":", "$", "Rs32", ",", "u5_0Imm", ":", "$", "II", ")", ",", "<STR_LIT>", ",", "tc_096199d3", ",", "TypeMAPPING", ">", "{", "let", "isPseudo", "=", "<NUM_LIT...
GCC
i386
CPP
next_suggestion
CPU
30,901
[ "if", "(", "size", "!=", "rounded_size", ")", "emit_stack_probe", "(", "plus_constant", "(", "Pmode", ",", "gen_rtx_PLUS", "(", "Pmode", ",", "stack_pointer_rtx", ",", "sr", ".", "reg", ")", ",", "rounded_size", "-", "size", ")", ")", ";" ]
[ "last", "=", "first", "+", "rounded_size", ";", "emit_insn", "(", "ix86_gen_probe_stack_range", "(", "sr", ".", "reg", ",", "sr", ".", "reg", ",", "GEN_INT", "(", "-", "last", ")", ")", ")", ";" ]
LLVM
XCore
CPP
next_suggestion
MPU
30,902
[ "}" ]
[ "if", "(", "I", "!=", "MBB", ".", "end", "(", ")", ")", "DL", "=", "I", "->", "getDebugLoc", "(", ")", ";", "BuildMI", "(", "MBB", ",", "I", ",", "DL", ",", "get", "(", "<STR_LIT>", "::", "<STR_LIT>", ")", ")", ".", "addReg", "(", "SrcReg", "...
LLVM
Hexagon
CPP
code_generation
DSP
30,903
[ "MachineBasicBlock", "*", "HexagonTargetLowering", "::", "EmitInstrWithCustomInserter", "(", "MachineInstr", "*", "MI", ",", "MachineBasicBlock", "*", "BB", ")", "const", "{", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "case", "Hexagon", "::", ...
[ "This", "method", "should", "be", "implemented", "by", "targets", "that", "mark", "instructions", "with", "the", "'usesCustomInserter", "'", "flag", "." ]
GCC
alpha
MD
next_suggestion
MPU
30,904
[ "(", "match_operator", ":", "DF", "<NUM_LIT>", "<STR_LIT>" ]
[ "(", "define_insn", "<STR_LIT>", "[", "(", "set", "(", "match_operand", ":", "DF", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")" ]
GCC
arm
CPP
code_generation
CPU
30,905
[ "int", "arm_memory_move_cost", "(", "machine_mode", "mode", ",", "reg_class_t", "rclass", ",", "bool", "in", "ATTRIBUTE_UNUSED", ")", "{", "if", "(", "TARGET_32BIT", ")", "return", "<NUM_LIT>", ";", "else", "{", "if", "(", "GET_MODE_SIZE", "(", "mode", ")", ...
[ "Implement", "TARGET_MEMORY_MOVE_COST", "." ]
LLVM
X86
CPP
next_suggestion
CPU
30,906
[ "}" ]
[ "else", "if", "(", "Subtarget", "->", "isPICStyleGOT", "(", ")", ")", "OpFlag", "=", "<STR_LIT>", "::", "<STR_LIT>", ";", "else", "if", "(", "Subtarget", "->", "isPICStyleStubPIC", "(", ")", ")", "OpFlag", "=", "<STR_LIT>", "::", "<STR_LIT>", ";", "SDValue...
LLVM
R600
CPP
stmt_completion
GPU
30,907
[ ")", ";" ]
[ "return", "new", "AMDGPUAsmPrinter", "(", "tm", ",", "Streamer" ]
GCC
s390
MD
next_suggestion
MPU
30,908
[ "[", "(", "set_attr", "<STR_LIT>", "<STR_LIT>", ")", "]", ")" ]
[ "(", "vec_concat", ":", "<", "vec_2x_nelts", ">", "(", "match_operand", ":", "V_HW_4", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", "(", "match_operand", ":", "V_HW_4", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", ")", "(", "parallel", "[", "(", "const_int", "<N...
GCC
mn10300
CPP
next_suggestion
MPU
30,909
[ "x", "=", "gen_rtx_COMPARE", "(", "cmp_mode", ",", "XEXP", "(", "cmp_op", ",", "<NUM_LIT>", ")", ",", "XEXP", "(", "cmp_op", ",", "<NUM_LIT>", ")", ")", ";" ]
[ "void", "mn10300_split_cbranch", "(", "machine_mode", "cmp_mode", ",", "rtx", "cmp_op", ",", "rtx", "label_ref", ")", "{", "rtx", "flags", ",", "x", ";", "flags", "=", "gen_rtx_REG", "(", "cmp_mode", ",", "CC_REG", ")", ";" ]
GCC
i386
CPP
next_suggestion
CPU
30,910
[ "else", "{" ]
[ "if", "(", "needed_intregs", ")", "{", "t", "=", "fold_build_pointer_plus", "(", "sav", ",", "gpr", ")", ";", "gimplify_assign", "(", "int_addr", ",", "t", ",", "pre_p", ")", ";", "}", "if", "(", "needed_sseregs", ")", "{", "t", "=", "fold_build_pointer_...
LLVM
X86
CPP
stmt_completion
CPU
30,911
[ "]", "=", "SM_SentinelZero", ";" ]
[ "ShuffleMask", ".", "push_back", "(", "<NUM_LIT>", ")", ";", "unsigned", "ZMask", "=", "Imm", "&", "<NUM_LIT>", ";", "unsigned", "CountD", "=", "(", "Imm", ">>", "<NUM_LIT>", ")", "&", "<NUM_LIT>", ";", "unsigned", "CountS", "=", "(", "Imm", ">>", "<NUM_...
GCC
m68k
CPP
code_generation
MPU
30,912
[ "rtx", "m68k_function_value", "(", "const_tree", "valtype", ",", "const_tree", "func", "ATTRIBUTE_UNUSED", ")", "{", "machine_mode", "mode", ";", "mode", "=", "TYPE_MODE", "(", "valtype", ")", ";", "switch", "(", "mode", ")", "{", "case", "E_SFmode", ":", "c...
[ "Location", "in", "which", "function", "value", "is", "returned", ".", "NOTE", ":", "Due", "to", "differences", "in", "ABIs", ",", "do", "n't", "call", "this", "function", "directly", ",", "use", "FUNCTION_VALUE", "instead", "." ]
GCC
i386
MD
next_suggestion
CPU
30,913
[ "(", "define_reservation", "<STR_LIT>", "<STR_LIT>", ")" ]
[ "(", "define_reservation", "<STR_LIT>", "<STR_LIT>", ")", "(", "define_reservation", "<STR_LIT>", "<STR_LIT>", ")", "(", "define_reservation", "<STR_LIT>", "<STR_LIT>", ")", "(", "define_reservation", "<STR_LIT>", "<STR_LIT>", ")" ]
LLVM
TLCS900
CPP
next_suggestion
MPU
30,914
[ "unsigned", "Reg", "=", "CSI", "[", "i", "-", "<NUM_LIT>", "]", ".", "getReg", "(", ")", ";" ]
[ "bool", "TLCS900FrameLowering", "::", "spillCalleeSavedRegisters", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MI", ",", "const", "std", "::", "vector", "<", "CalleeSavedInfo", ">", "&", "CSI", ",", "const", "TargetRegisterInfo...
LLVM
AMDGPU
CPP
next_suggestion
GPU
30,915
[ "return", "AMDGPU", "::", "NoRegister", ";" ]
[ "Register", "getScratchSGPRCopyDstReg", "(", "Register", "Reg", ")", "const", "{", "auto", "I", "=", "PrologEpilogSGPRSpills", ".", "find", "(", "Reg", ")", ";", "if", "(", "I", "!=", "PrologEpilogSGPRSpills", ".", "end", "(", ")", "&&", "I", "->", "second...
GCC
i386
CPP
program_repair
CPU
30,916
[ "<FIXS>", "emit_i387_cw_initialization", "(", "int", "mode", ")", "<FIXE>", "<FIXS>", "emit_insn", "(", "gen_x86_fnstcw_1", "(", "stored_mode", ")", ")", ";", "emit_move_insn", "(", "reg", ",", "stored_mode", ")", ";", "<FIXE>", "<FIXS>", "if", "(", "TARGET_64BI...
[ "return", "buf", ";", "}", "void", "<BUGS>", "emit_i387_cw_initialization", "(", "rtx", "current_mode", ",", "rtx", "new", "_", "mode", ",", "int", "mode", ")", "<BUGE>", "{", "rtx", "reg", "=", "gen_reg_rtx", "(", "HImode", ")", ";", "<BUGS>", "emit_insn"...
LLVM
X86
CPP
next_suggestion
CPU
30,917
[ "LegacyInfo", ".", "setAction", "(", "{", "G_UNMERGE_VALUES", ",", "s64", "}", ",", "LegacyLegalizeActions", "::", "Legal", ")", ";" ]
[ "for", "(", "const", "auto", "&", "Ty", ":", "{", "v4s32", ",", "v2s64", "}", ")", "{", "LegacyInfo", ".", "setAction", "(", "{", "G_CONCAT_VECTORS", ",", "Ty", "}", ",", "LegacyLegalizeActions", "::", "Legal", ")", ";", "LegacyInfo", ".", "setAction", ...
GCC
i386
MD
stmt_completion
CPU
30,918
[ "SP_REG", ")", ")", ")", ")", "]", ")" ]
[ "(", "plus", ":", "P", "(", "reg", ":", "P", "SP_REG", ")", "(", "match_operand", ":", "P", "<NUM_LIT>", "<STR_LIT>", ")", ")", ")", "(", "clobber", "(", "reg", ":", "CC", "FLAGS_REG", ")", ")", "]", ")", "]", "<STR_LIT>", "[", "(", "set", "(", ...
GCC
arm
CPP
stmt_completion
CPU
30,919
[ "_", "_", "b", ",", "_", "_", "p", ")", ";" ]
[ "_", "_", "arm_vaddq_m", "(", "uint16x8_t", "_", "_", "inactive", ",", "uint16x8_t", "_", "_", "a", ",", "int", "_", "_", "b", ",", "mve_pred16_t", "_", "_", "p", ")", "{", "return", "_", "_", "arm_vaddq_m_n_u16", "(", "_", "_", "inactive", ",", "_...
GCC
nios2
CPP
code_generation
MPU
30,920
[ "static", "void", "nios2_print_operand_address", "(", "FILE", "*", "file", ",", "rtx", "op", ")", "{", "switch", "(", "GET_CODE", "(", "op", ")", ")", "{", "case", "CONST", ":", "case", "CONST_INT", ":", "case", "LABEL_REF", ":", "case", "CONST_DOUBLE", ...
[ "Implement", "TARGET_PRINT_OPERAND_ADDRESS", "." ]
LLVM
Hexagon
CPP
next_suggestion
DSP
30,921
[ "bool", "AllDefs", ",", "Changed", ";" ]
[ "default", ":", "break", ";", "case", "Hexagon", "::", "A2_tfrsi", ":", "case", "Hexagon", "::", "A2_tfrpi", ":", "case", "Hexagon", "::", "CONST32", ":", "case", "Hexagon", "::", "CONST64", ":", "case", "Hexagon", "::", "PS_true", ":", "case", "Hexagon", ...
GCC
c6x
MD
stmt_completion
VLIW
30,922
[ "<STR_LIT>", ")" ]
[ "(", "and", "(", "eq_attr", "<STR_LIT>", "<STR_LIT>", ")", "(", "and", "(", "eq_attr", "<STR_LIT>" ]
GCC
arm
MD
next_suggestion
CPU
30,923
[ ")" ]
[ "(", "const_int", "<NUM_LIT>", ")", "(", "const_int", "<NUM_LIT>", ")", ")", "]", "(", "const_int", "<NUM_LIT>", ")", ")", ")", "(", "set_attr", "<STR_LIT>", "<STR_LIT>", ")", "(", "set_attr", "<STR_LIT>", "<STR_LIT>", ")", "(", "set_attr", "<STR_LIT>", "<ST...
GCC
arm
CPP
next_suggestion
CPU
30,924
[ "}" ]
[ "_", "_", "arm_vldrbq_gather_offset_z_s32", "(", "int8_t", "const", "*", "_", "_", "base", ",", "uint32x4_t", "_", "_", "offset", ",", "mve_pred16_t", "_", "_", "p", ")", "{", "return", "_", "_", "builtin_mve_vldrbq_gather_offset_z_sv4si", "(", "(", "_", "_"...
GCC
c6x
MD
next_suggestion
VLIW
30,925
[ "[", "(", "set_attr", "<STR_LIT>", "<STR_LIT>", ")" ]
[ "(", "float_truncate", ":", "SF", "(", "match_operand", ":", "DF", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", ")", ")", "]", "<STR_LIT>", "<STR_LIT>" ]
GCC
alpha
MD
next_suggestion
MPU
30,926
[ "(", "any_maxmin", ":", "VEC12" ]
[ "(", "define_insn", "<STR_LIT>", "[", "(", "set", "(", "match_operand", ":", "VEC12", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")" ]
GCC
pa
MD
next_suggestion
CPU
30,927
[ "<STR_LIT>" ]
[ "(", "minus", ":", "DI", "(", "const_int", "<NUM_LIT>", ")", "(", "match_operand", ":", "DI", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", ")", ")", ")", "]" ]
LLVM
SPIRV
CPP
stmt_completion
Virtual ISA
30,928
[ "MBB", ")", "{" ]
[ "bool", "hasMBBRegister", "(", "const", "MachineBasicBlock", "&" ]
LLVM
Hexagon
CPP
next_suggestion
DSP
30,929
[ "}" ]
[ "if", "(", "L", ")", "{", "for", "(", "MachineLoop", "::", "iterator", "I", "=", "L", "->", "begin", "(", ")", ",", "E", "=", "L", "->", "end", "(", ")", ";", "I", "!=", "E", ";", "++", "I", ")", "Changed", "|=", "visitLoop", "(", "*", "I",...
LLVM
X86
CPP
code_generation
CPU
30,930
[ "unsigned", "X86InstrInfo", "::", "isLoadFromStackSlot", "(", "const", "MachineInstr", "*", "MI", ",", "int", "&", "FrameIndex", ")", "const", "{", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "X86", "...
[ "isLoadFromStackSlot", "-", "If", "the", "specified", "machine", "instruction", "is", "a", "direct", "load", "from", "a", "stack", "slot", ",", "return", "the", "virtual", "or", "physical", "register", "number", "of", "the", "destination", "along", "with", "th...
LLVM
AArch64
CPP
program_repair
CPU
30,931
[ "<FIXS>", "auto", "&", "Op", "=", "static_cast", "const", "AArch64Operand", "&", ">", "(", "*", "Operands", "[", "ErrorInfo", "]", ")", ";", "if", "(", "Op", ".", "isVectorList", "(", ")", ")", "return", "Error", "(", "Loc", ",", "<STR_LIT>", "operand ...
[ "OperandVector", "&", "Operands", ")", "{", "switch", "(", "ErrCode", ")", "{", "case", "Match_InvalidTiedOperand", ":", "{", "<BUGS>", "RegConstraintEqualityTy", "EqTy", "=", "static_cast", "const", "AArch64Operand", "&", ">", "(", "*", "Operands", "[", "ErrorI...
LLVM
M88k
TD
stmt_completion
MPU
30,932
[ "!", "strconcat", "(", "OpcStr", ",", "<STR_LIT>", ",", "DPrec", ",", "S2Prec", ")", ">", ";" ]
[ "defvar", "S2Opnd", "=", "getFT", "<", "S2", ">", ".", "ret", ".", "opnd", ";", "def", "g", "#", "DPrec", "#", "S2Prec", ":", "F_SFU1D", "<", "Func", ",", "D", ",", "<NUM_LIT>", ",", "S2", ",", "(", "outs", "DOpnd", ":", "$", "rd", ")", ",", ...
GCC
rs6000
CPP
next_suggestion
CPU
30,933
[ "_", "_", "result", "=", "vec_sr", "(", "(", "_", "_", "v2di", ")", "_", "_", "A", ",", "_", "_", "rshift", ")", ";" ]
[ "else", "_", "_", "rshift", "=", "(", "_", "_", "v2du", ")", "vec_splats", "(", "(", "unsigned", "long", "long", ")", "_", "_", "B", ")", ";", "}", "else", "_", "_", "rshift", "=", "(", "_", "_", "v2du", ")", "vec_splats", "(", "(", "unsigned",...
GCC
aarch64
MD
stmt_completion
CPU
30,934
[ ")", "]", ")" ]
[ "(", "define_int_attr", "sm3part_op", "[", "(", "UNSPEC_SM3PARTW1", "<STR_LIT>", ")", "(", "UNSPEC_SM3PARTW2", "<STR_LIT>" ]
GCC
h8300
MD
next_suggestion
MPU
30,935
[ "<STR_LIT>" ]
[ "(", "define_insn", "<STR_LIT>", "[", "(", "set", "(", "match_operand", ":", "HI", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", "(", "plus", ":", "HI", "(", "mult", ":", "HI", "(", "zero_extend", ":", "HI", "(", "match_operand", ":", "QI", "<NUM_LIT>", "<...
LLVM
ARM
CPP
next_suggestion
CPU
30,936
[ "if", "(", "(", "unsigned", ")", "CC", "==", "<NUM_LIT>", ")", "O", "<<", "<STR_LIT>", "<und>", "<STR_LIT>", ";" ]
[ "void", "ARMInstPrinter", "::", "printPredicateOperand", "(", "const", "MCInst", "*", "MI", ",", "unsigned", "OpNum", ",", "raw_ostream", "&", "O", ")", "{", "<STR_LIT>", "::", "<STR_LIT>", "CC", "=", "(", "<STR_LIT>", "::", "<STR_LIT>", ")", "MI", "->", "...
LLVM
rvex
CPP
code_generation
VLIW
30,937
[ "bool", "rvexVLIWPacketizer", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "Fn", ")", "{", "DEBUG", "(", "errs", "(", ")", "<<", "<STR_LIT>", "Voor VLIW packetizer!\\n", "<STR_LIT>", ")", ";", "const", "TargetInstrInfo", "*", "TII", "=", "Fn", ".",...
[ "runOnMachineFunction", "-", "Emit", "the", "function", "body", "." ]
GCC
microblaze
MD
stmt_completion
MPU
30,938
[ "<STR_LIT>", ")", ")" ]
[ "<STR_LIT>", "(", "const_string" ]
GCC
nios2
CPP
code_generation
MPU
30,939
[ "static", "void", "nios2_deregister_custom_code", "(", "unsigned", "int", "N", ")", "{", "if", "(", "N", "<=", "<NUM_LIT>", ")", "{", "custom_code_status", "[", "N", "]", "=", "CCS_UNUSED", ";", "custom_code_index", "[", "N", "]", "=", "<NUM_LIT>", ";", "}...
[ "Mark", "a", "custom", "code", "as", "not", "in", "use", "." ]
GCC
arm
CPP
stmt_completion
CPU
30,940
[ ",", "_", "_", "c", ",", "_", "_", "p", ")", ";" ]
[ "_", "_", "arm_vmladavaq_p_s32", "(", "int32_t", "_", "_", "a", ",", "int32x4_t", "_", "_", "b", ",", "int32x4_t", "_", "_", "c", ",", "mve_pred16_t", "_", "_", "p", ")", "{", "return", "_", "_", "builtin_mve_vmladavaq_p_sv4si", "(", "_", "_", "a", "...
GCC
alpha
MD
stmt_completion
MPU
30,941
[ "<STR_LIT>", ")" ]
[ "(", "if_then_else", "(", "match_code", "<STR_LIT>", ")", "(", "match_test" ]
LLVM
CSKY
CPP
code_generation
CPU
30,942
[ "void", "CSKYMCCodeEmitter", "::", "encodeInstruction", "(", "const", "MCInst", "&", "MI", ",", "raw_ostream", "&", "OS", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "{", "const", "MC...
[ "Encode", "the", "given", "Inst", "to", "bytes", "and", "append", "to", "CB", "." ]
LLVM
IA64
CPP
stmt_completion
CPU
30,943
[ "<STR_LIT>", ":", "<STR_LIT>", "::", "<STR_LIT>", ";" ]
[ "unsigned", "IA64RegisterInfo", "::", "getFrameRegister", "(", "MachineFunction", "&", "MF", ")", "const", "{", "return", "hasFP", "(", "MF", ")", "?", "<STR_LIT>", "::" ]
LLVM
X86
CPP
stmt_completion
CPU
30,944
[ "getSimpleValueType", "(", ")", ";" ]
[ "assert", "(", "(", "VecWidth", "==", "<NUM_LIT>", "||", "VecWidth", "==", "<NUM_LIT>", ")", "&&", "<STR_LIT>", "Unexpected vector width", "<STR_LIT>", ")", ";", "uint64_t", "Index", "=", "N", "->", "getConstantOperandVal", "(", "<NUM_LIT>", ")", ";", "MVT", "...
LLVM
ARM
TD
stmt_completion
CPU
30,945
[ "<", "[", "IsLE", "]", ">", ";" ]
[ "def", ":", "Pat", "<", "(", "byte_alignedstore", "(", "f64", "DPR", ":", "$", "value", ")", ",", "addrmode6", ":", "$", "addr", ")", ",", "(", "VST1d8", "addrmode6", ":", "$", "addr", ",", "DPR", ":", "$", "value", ")", ">", ",", "Requires" ]
LLVM
AArch64
CPP
next_suggestion
CPU
30,946
[ "auto", "MovMI", "=", "MIB", ".", "buildInstr", "(", "<STR_LIT>", "::", "<STR_LIT>", ",", "{", "DstReg", "}", ",", "{", "}", ")", ".", "addJumpTableIndex", "(", "JTI", ",", "<STR_LIT>", "::", "<STR_LIT>", ")", ".", "addJumpTableIndex", "(", "JTI", ",", ...
[ "assert", "(", "I", ".", "getOpcode", "(", ")", "==", "TargetOpcode", "::", "G_JUMP_TABLE", "&&", "<STR_LIT>", "Expected jump table", "<STR_LIT>", ")", ";", "assert", "(", "I", ".", "getOperand", "(", "<NUM_LIT>", ")", ".", "isJTI", "(", ")", "&&", "<STR_L...
LLVM
Hexagon
CPP
next_suggestion
DSP
30,947
[ "while", "(", "unsigned", "n", "=", "MI", "->", "getNumOperands", "(", ")", ")", "MI", "->", "RemoveOperand", "(", "n", "-", "<NUM_LIT>", ")", ";" ]
[ "bool", "HexagonInstrInfo", "::", "PredicateInstruction", "(", "MachineInstr", "*", "MI", ",", "ArrayRef", "<", "MachineOperand", ">", "Cond", ")", "const", "{", "if", "(", "Cond", ".", "empty", "(", ")", "||", "isEndLoopN", "(", "Cond", "[", "<NUM_LIT>", ...
LLVM
Mips
CPP
next_suggestion
CPU
30,948
[ "}" ]
[ "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "<STR_LIT>", "Mips Constant Islands", "<STR_LIT>", ";" ]
GCC
alpha
CPP
next_suggestion
MPU
30,949
[ "objfilename", "=", "xstrdup", "(", "ptr", ")", ";" ]
[ "if", "(", "strcmp", "(", "argv", "[", "i", "]", ",", "<STR_LIT>", "-o", "<STR_LIT>", ")", "==", "<NUM_LIT>", ")", "{", "char", "*", "buff", ",", "*", "ptr", ";", "i", "++", ";", "ptr", "=", "to_host_file_spec", "(", "argv", "[", "i", "]", ")", ...
GCC
ia64
MD
stmt_completion
CPU
30,950
[ ")", "]", ")" ]
[ "<STR_LIT>", "[", "(", "const_int", "<NUM_LIT>", ")", "]", "{", "ia64_split_call", "(", "NULL_RTX", ",", "operands", "[", "<NUM_LIT>", "]", ",", "NULL_RTX", ",", "operands", "[", "<NUM_LIT>", "]", ",", "operands", "[", "<NUM_LIT>", "]", ",", "true", ",", ...
LLVM
AArch64
CPP
stmt_completion
CPU
30,951
[ "(", ")", ")", ";" ]
[ "void", "AArch64InstructionSelector", "::", "processPHIs", "(", "MachineFunction", "&", "MF", ")", "{", "MachineRegisterInfo", "&", "MRI", "=", "MF", ".", "getRegInfo", "(", ")", ";", "SmallVector", "<", "MachineInstr", "*", ",", "<NUM_LIT>", ">", "Phis", ";",...
GCC
arm
CPP
next_suggestion
CPU
30,952
[ "}" ]
[ "vcadd_rot270_f16", "(", "float16x4_t", "_", "_", "a", ",", "float16x4_t", "_", "_", "b", ")", "{", "return", "_", "_", "builtin_neon_vcadd90v4hf", "(", "_", "_", "a", ",", "_", "_", "b", ")", ";" ]
GCC
i386
CPP
stmt_completion
CPU
30,953
[ "_", "_", "mmask16", ")", "_", "_", "U", ",", "_", "MM_FROUND_CUR_DIRECTION", ")", ";" ]
[ "return", "(", "_", "_", "m512", ")", "_", "_", "builtin_ia32_fixupimmps512_maskz", "(", "(", "_", "_", "v16sf", ")", "_", "_", "A", ",", "(", "_", "_", "v16sf", ")", "_", "_", "B", ",", "(", "_", "_", "v16si", ")", "_", "_", "C", ",", "_", ...
GCC
i386
CPP
stmt_completion
CPU
30,954
[ ")", "_", "_", "C", ",", "(", "_", "_", "mmask8", ")", "_", "_", "U", ")", ";" ]
[ "return", "(", "_", "_", "m128", ")", "_", "_", "builtin_ia32_vfnmsubps128_mask", "(", "(", "_", "_", "v4sf", ")", "_", "_", "A", ",", "(", "_", "_", "v4sf", ")", "_", "_", "B", ",", "(", "_", "_", "v4sf" ]
LLVM
Cpu0
CPP
code_generation
CPU
30,955
[ "bool", "Cpu0AsmParser", "::", "ParseDirective", "(", "AsmToken", "DirectiveID", ")", "{", "if", "(", "DirectiveID", ".", "getString", "(", ")", "==", "<STR_LIT>", ".ent", "<STR_LIT>", ")", "{", "Parser", ".", "Lex", "(", ")", ";", "return", "false", ";", ...
[ "ParseDirective", "-", "Parse", "a", "target", "specific", "assembler", "directive", "This", "method", "is", "deprecated", ",", "use", "'parseDirective", "'", "instead", "." ]
LLVM
X86
CPP
stmt_completion
CPU
30,956
[ "<NUM_LIT>", ";" ]
[ "Info", ".", "memVT", "=", "MVT", "::", "getVectorVT", "(", "ScalarVT", ",", "VT", ".", "getVectorNumElements", "(", ")", ")", ";", "Info", ".", "align", "=", "<NUM_LIT>", ";", "Info", ".", "flags", "|=", "MachineMemOperand", "::", "MOStore", ";", "break...
LLVM
Hexagon
TD
program_repair
DSP
30,957
[ "<FIXS>", "def", "SA1_cmpeqi", ":", "SUBInst", "<FIXE>" ]
[ "let", "Defs", "=", "[", "P0", "]", ",", "isCodeGenOnly", "=", "<NUM_LIT>", ",", "hasSideEffects", "=", "<NUM_LIT>", "in", "<BUGS>", "def", "V4_SA1_cmpeqi", ":", "SUBInst", "<BUGE>", "(", "outs", ")", ",", "(", "ins", "IntRegs", ":", "$", "Rs", ",", "u...
GCC
h8300
MD
stmt_completion
MPU
30,958
[ ")" ]
[ "(", "plus", ":", "SI", "(", "and", ":", "SI", "(", "mult", ":", "SI", "(", "match_operand", ":", "SI", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", "(", "const_int", "<NUM_LIT>", ")", ")", "(", "const_int", "<NUM_LIT>", ")", ")", "(", "match_operand", ...
LLVM
BPF
CPP
next_suggestion
Virtual ISA
30,959
[ "}" ]
[ "TargetTransformInfo", "BPFTargetMachine", "::", "getTargetTransformInfo", "(", "const", "Function", "&", "F", ")", "const", "{", "return", "TargetTransformInfo", "(", "BPFTTIImpl", "(", "this", ",", "F", ")", ")", ";" ]
LLVM
Hexagon
CPP
next_suggestion
DSP
30,960
[ "SDValue", "SubV", "=", "DAG", ".", "getNode", "(", "ISD", "::", "SUB", ",", "dl", ",", "MVT", "::", "i32", ",", "{", "DAG", ".", "getConstant", "(", "HwLen", ",", "dl", ",", "MVT", "::", "i32", ")", ",", "MaskV", "}", ")", ";" ]
[ "MVT", "ElemTy", "=", "ty", "(", "VecV", ")", ".", "getVectorElementType", "(", ")", ";", "unsigned", "ElemWidth", "=", "ElemTy", ".", "getSizeInBits", "(", ")", ";", "assert", "(", "ElemWidth", ">=", "<NUM_LIT>", "&&", "ElemWidth", "<=", "<NUM_LIT>", ")",...
GCC
rs6000
MD
next_suggestion
CPU
30,961
[ "<STR_LIT>" ]
[ "(", "unspec", ":", "TLSmode", "[", "(", "match_operand", ":", "TLSmode", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", "(", "match_operand", ":", "TLSmode", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", "]", "UNSPEC_TLSDTPRELLO", ")", ")", "]" ]
LLVM
AMDGPU
CPP
next_suggestion
GPU
30,962
[ "}" ]
[ "void", "usesSgprAt", "(", "int", "i", ")", "{", "if", "(", "i", ">=", "SgprIndexUnusedMin", ")", "{", "SgprIndexUnusedMin", "=", "++", "i", ";", "if", "(", "Ctx", ")", "{", "MCSymbol", "*", "const", "Sym", "=", "Ctx", "->", "getOrCreateSymbol", "(", ...
GCC
i386
CPP
stmt_completion
CPU
30,963
[ "_", "_", "m2", ")", ";" ]
[ "static", "_", "_", "inline", "_", "_", "m64", "_", "mm_unpacklo_pi32", "(", "_", "_", "m64", "_", "_", "m1", ",", "_", "_", "m64", "_", "_", "m2", ")", "{", "return", "(", "_", "_", "m64", ")", "_", "_", "builtin_ia32_punpckldq", "(", "(", "_"...
GCC
avr
MD
stmt_completion
MPU
30,964
[ ")", ")", ")" ]
[ "(", "ior", "(", "match_code", "<STR_LIT>", ")", "(", "match_code", "<STR_LIT>", ")", "(", "match_operand", "<NUM_LIT>", "<STR_LIT>" ]
GCC
xtensa
MD
next_suggestion
MPU
30,965
[ "(", "set_attr", "<STR_LIT>", "\t", "<STR_LIT>", ")", "]", ")" ]
[ "(", "const_int", "<NUM_LIT>", ")", "]", ")", "(", "match_operand", ":", "SI", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", "(", "match_operand", ":", "SI", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", ")", ")", "]", "<STR_LIT>", "{", "return", "xtensa_emit_movc...
GCC
stormy16
MD
program_repair
CPU
30,966
[ "<FIXS>", "[", "(", "set", "(", "pc", ")", "<FIXE>" ]
[ "(", "set_attr", "<STR_LIT>", "<STR_LIT>", ")", "]", ")", "(", "define_insn", "<STR_LIT>", "<BUGS>", "[", "(", "set", "(", "pc", ")", "<BUGE>", "(", "if_then_else", "(", "zero_extract", ":", "HI", "(", "xor", ":", "HI", "(", "subreg", ":", "HI", "(", ...
LLVM
Hexagon
CPP
program_repair
DSP
30,967
[ "<FIXS>", "DEBUG", "(", "dbgs", "(", ")", "<<", "<STR_LIT>", "[TO]: ", "<STR_LIT>", "<<", "*", "MIB", "<<", "<STR_LIT>", "\\n", "<STR_LIT>", ")", ";", "<FIXE>" ]
[ "OpStart", "=", "<NUM_LIT>", ";", "Changed", "=", "true", ";", "DEBUG", "(", "dbgs", "(", ")", "<<", "<STR_LIT>", "[Changing]: ", "<STR_LIT>", "<<", "*", "OldMI", "<<", "<STR_LIT>", "\\n", "<STR_LIT>", ")", ";", "<BUGS>", "DEBUG", "(", "dbgs", "(", ")", ...
LLVM
X86
CPP
code_generation
CPU
30,968
[ "SDValue", "X86TargetLowering", "::", "LowerOperation", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "{", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "llvm_unreachable", "(", "<STR_LIT>", "Should not custom lower thi...
[ "LowerOperation", "-", "Provide", "custom", "lowering", "hooks", "for", "some", "operations", "." ]
LLVM
SPIRV
CPP
code_generation
Virtual ISA
30,969
[ "static", "<STR_LIT>", "::", "<STR_LIT>", "getScope", "(", "SyncScope", "::", "ID", "Ord", ")", "{", "switch", "(", "Ord", ")", "{", "case", "SyncScope", "::", "SingleThread", ":", "return", "<STR_LIT>", "::", "<STR_LIT>", "::", "Invocation", ";", "case", ...
[ "Get", "the", "local", "scope", "for", "this", "variable", "." ]
GCC
mips
MD
stmt_completion
CPU
30,970
[ ")", "]", ")" ]
[ "<STR_LIT>", "<STR_LIT>", "[", "(", "set_attr", "<STR_LIT>", "<STR_LIT>", ")", "(", "set_attr", "<STR_LIT>", "<STR_LIT>" ]
LLVM
Hexagon
TD
stmt_completion
DSP
30,971
[ "<NUM_LIT>", ";" ]
[ "let", "isTerminator", "=", "<NUM_LIT>", ";", "let", "isBranch", "=", "<NUM_LIT>", ";", "let", "isNewValue", "=", "<NUM_LIT>", ";", "let", "cofMax1", "=", "<NUM_LIT>", ";", "let", "isRestrictNoSlot1Store", "=", "<NUM_LIT>", ";", "let", "Defs", "=", "[", "PC"...
GCC
powerpcspe
CPP
next_suggestion
CPU
30,972
[ "return", "(", "(", "qword", ")", "(", "dd", ".", "v", ")", ")", ";" ]
[ "bb", ".", "v", "=", "(", "vec_double2", ")", "(", "b", ")", ";", "cc", ".", "v", "=", "(", "vec_double2", ")", "(", "c", ")", ";", "dd", ".", "d", "[", "<NUM_LIT>", "]", "=", "-", "cc", ".", "d", "[", "<NUM_LIT>", "]", "-", "aa", ".", "d...
LLVM
ARM
CPP
next_suggestion
CPU
30,973
[ "Inst", ".", "addOperand", "(", "MCOperand", "::", "CreateImm", "(", "mode", ")", ")", ";" ]
[ "unsigned", "mode", "=", "fieldFromInstruction32", "(", "Insn", ",", "<NUM_LIT>", ",", "<NUM_LIT>", ")", ";", "DecodeStatus", "S", "=", "MCDisassembler", "::", "Success", ";", "if", "(", "imod", "==", "<NUM_LIT>", ")", "return", "MCDisassembler", "::", "Fail",...
LLVM
AVR
CPP
next_suggestion
MPU
30,974
[ "}" ]
[ "Value", "&=", "<NUM_LIT>", ";", "<STR_LIT>", "::", "<STR_LIT>", "(", "Size", ",", "Fixup", ",", "Value", ",", "Ctx", ")", ";" ]
GCC
arm
CPP
stmt_completion
CPU
30,975
[ "int", "_", "_", "c", ")", "{" ]
[ "vmul_lane_u16", "(", "uint16x4_t", "_", "_", "a", ",", "uint16x4_t", "_", "_", "b", ",", "const" ]
LLVM
Mips
CPP
next_suggestion
CPU
30,976
[ "case", "ISD", "::", "INTRINSIC_W_CHAIN", ":", "return", "lowerINTRINSIC_W_CHAIN", "(", "Op", ",", "DAG", ")", ";" ]
[ "case", "ISD", "::", "MUL", ":", "return", "lowerMulDiv", "(", "Op", ",", "<STR_LIT>", "::", "<STR_LIT>", ",", "true", ",", "false", ",", "DAG", ")", ";", "case", "ISD", "::", "SDIVREM", ":", "return", "lowerMulDiv", "(", "Op", ",", "<STR_LIT>", "::", ...
GCC
nds32
MD
stmt_completion
CPU
30,977
[ "<STR_LIT>", "<STR_LIT>", ")" ]
[ "(", "set", "(", "match_operand", ":", "SI", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", "(", "mem", ":", "SI", "(", "plus", ":", "SI", "(", "match_dup", "<NUM_LIT>", ")", "(", "const_int", "<NUM_LIT>", ")", ")", ")", ")", "(", "set", "(", "match_opera...
LLVM
ARM64
CPP
next_suggestion
CPU
30,978
[ "}" ]
[ "static", "TargetLoweringObjectFile", "*", "createTLOF", "(", "TargetMachine", "&", "TM", ")", "{", "if", "(", "TM", ".", "getSubtarget", "<", "ARM64Subtarget", ">", "(", ")", ".", "isTargetDarwin", "(", ")", ")", "return", "new", "ARM64_MachoTargetObjectFile", ...
GCC
aarch64
MD
stmt_completion
CPU
30,979
[ "xor", "]", ")" ]
[ "(", "define_code_iterator", "LOGICAL", "[", "and", "ior" ]
GCC
rs6000
MD
stmt_completion
CPU
30,980
[ ")", ")" ]
[ "(", "eq_attr", "<STR_LIT>", "<STR_LIT>" ]
GCC
rs6000
MD
next_suggestion
CPU
30,981
[ "<STR_LIT>", ")" ]
[ "(", "and", "(", "eq_attr", "<STR_LIT>", "<STR_LIT>", ")", "(", "eq_attr", "<STR_LIT>", "<STR_LIT>", ")", "(", "eq_attr", "<STR_LIT>", "<STR_LIT>", ")", ")" ]
LLVM
Hexagon
CPP
code_generation
DSP
30,982
[ "std", "::", "pair", "<", "const", "TargetRegisterClass", "*", ",", "uint8_t", ">", "HexagonTargetLowering", "::", "findRepresentativeClass", "(", "const", "TargetRegisterInfo", "*", "TRI", ",", "MVT", "VT", ")", "const", "{", "const", "TargetRegisterClass", "*", ...
[ "Return", "the", "largest", "legal", "super-reg", "register", "class", "of", "the", "register", "class", "for", "the", "specified", "type", "and", "its", "associated", "``", "cost", "''", "." ]
LLVM
ARM
CPP
next_suggestion
CPU
30,983
[ "if", "(", "Subtarget", ".", "isThumb2", "(", ")", ")", "Size", "/", "=", "<NUM_LIT>", ";" ]
[ "unsigned", "ARMBaseInstrInfo", "::", "predictBranchSizeForIfCvt", "(", "MachineInstr", "&", "MI", ")", "const", "{", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "ARM", "::", "t2Bcc", "&&", "findCMPToFoldIntoCBZ", "(", "&", "MI", ",", "&", "getRegiste...
LLVM
ARM
CPP
stmt_completion
CPU
30,984
[ "it would convert a WLS from forward to a ", "<STR_LIT>", "<<", "<STR_LIT>", "backwards branching WLS\\n", "<STR_LIT>", ")", ";" ]
[ "++", "It", ")", "{", "MachineBasicBlock", "*", "MBB", "=", "&", "*", "It", ";", "for", "(", "auto", "&", "Terminator", ":", "MBB", "->", "terminators", "(", ")", ")", "{", "if", "(", "!", "isWhileLoopStart", "(", "Terminator", ")", ")", "continue", ...
LLVM
AArch64
CPP
program_repair
CPU
30,985
[ "<FIXS>", "case", "<STR_LIT>", "::", "<STR_LIT>", ":", "{", "AArch64MCExpr", "::", "VariantKind", "RefKind", "=", "static_cast", "AArch64MCExpr", "::", "VariantKind", ">", "(", "Target", ".", "getRefKind", "(", ")", ")", ";", "if", "(", "AArch64MCExpr", "::", ...
[ "if", "(", "Value", "&", "<NUM_LIT>", ")", "Ctx", ".", "reportError", "(", "Fixup", ".", "getLoc", "(", ")", ",", "<STR_LIT>", "fixup must be 16-byte aligned", "<STR_LIT>", ")", ";", "return", "Value", ">>", "<NUM_LIT>", ";", "<BUGS>", "case", "<STR_LIT>", "...
GCC
arm
CPP
stmt_completion
CPU
30,986
[ "a", ",", "_", "_", "b", ")", ";" ]
[ "_", "_", "arm_vcmpneq_s16", "(", "int16x8_t", "_", "_", "a", ",", "int16x8_t", "_", "_", "b", ")", "{", "return", "_", "_", "builtin_mve_vcmpneq_sv8hi", "(", "_", "_" ]
LLVM
PowerPC
TD
stmt_completion
CPU
30,987
[ ",", "[", "]", ">", ",", "PPC970_Unit_BRU", ";" ]
[ "def", "MovePCtoLR", ":", "PPCEmitTimePseudo", "<", "(", "outs", ")", ",", "(", "ins", ")", ",", "<STR_LIT>" ]
LLVM
M68k
CPP
code_generation
MPU
30,988
[ "unsigned", "M68kInstrInfo", "::", "getGlobalBaseReg", "(", "MachineFunction", "*", "MF", ")", "const", "{", "M68kMachineFunctionInfo", "*", "MxFI", "=", "MF", "->", "getInfo", "<", "M68kMachineFunctionInfo", ">", "(", ")", ";", "unsigned", "GlobalBaseReg", "=", ...
[ "getGlobalBaseReg", "-", "Return", "a", "virtual", "register", "initialized", "with", "the", "the", "global", "base", "register", "value", "." ]
LLVM
Hexagon
TD
next_suggestion
DSP
30,989
[ "let", "isExtendable", "=", "<NUM_LIT>", ";" ]
[ "let", "isBranch", "=", "<NUM_LIT>", ";", "let", "isPredicatedNew", "=", "<NUM_LIT>", ";", "let", "cofRelax1", "=", "<NUM_LIT>", ";", "let", "cofRelax2", "=", "<NUM_LIT>", ";", "let", "cofMax1", "=", "<NUM_LIT>", ";", "let", "Uses", "=", "[", "P0", "]", ...
LLVM
R600
CPP
code_generation
GPU
30,990
[ "bool", "R600InstrInfo", "::", "isPredicated", "(", "const", "MachineInstr", "*", "MI", ")", "const", "{", "int", "idx", "=", "MI", "->", "findFirstPredOperandIdx", "(", ")", ";", "if", "(", "idx", "<", "<NUM_LIT>", ")", "return", "false", ";", "unsigned",...
[ "Returns", "true", "if", "the", "instruction", "is", "already", "predicated", "." ]
LLVM
ARM
TD
stmt_completion
CPU
30,991
[ "fadd", ",", "<NUM_LIT>", ">", ";" ]
[ "def", "VADDfd", ":", "N3VD", "<", "<NUM_LIT>", ",", "<NUM_LIT>", ",", "<NUM_LIT>", ",", "<NUM_LIT>", ",", "<NUM_LIT>", ",", "IIC_VBIND", ",", "<STR_LIT>", ",", "<STR_LIT>", ",", "v2f32", ",", "v2f32", "," ]
LLVM
Hexagon
CPP
stmt_completion
DSP
30,992
[ "N", ")", ";" ]
[ "addImmOperands", "(", "Inst", "," ]
LLVM
X86
CPP
stmt_completion
CPU
30,993
[ "OpIndex", ";" ]
[ "}", "OpTable", "[", "NumTypes", "]", "=", "{", "{", "&", "X86", "::", "GR8RegClass", ",", "X86", "::", "AX", ",", "<NUM_LIT>", ",", "{", "{", "X86", "::", "IDIV8r", ",", "<NUM_LIT>", ",", "X86", "::", "MOVSX16rr8", ",", "X86", "::", "AL", ",", "...
LLVM
AArch64
CPP
next_suggestion
CPU
30,994
[ "}" ]
[ "if", "(", "To", "->", "getParent", "(", ")", "!=", "From", "->", "getParent", "(", ")", ")", "return", "true", ";", "assert", "(", "std", "::", "find_if", "(", "MachineBasicBlock", "::", "reverse_iterator", "(", "To", ")", ",", "To", "->", "getParent"...
LLVM
AArch64
CPP
stmt_completion
CPU
30,995
[ ")", ")", ";" ]
[ "bool", "AArch64SIMDInstrOpt", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "skipFunction", "(", "MF", ".", "getFunction", "(", ")", ")", ")", "return", "false", ";", "TII", "=", "MF", ".", "getSubtarget", "(", ")",...
LLVM
X86
CPP
program_repair
CPU
30,996
[ "<FIXS>", "pshufbMask", ".", "push_back", "(", "DAG", ".", "getConstant", "(", "<NUM_LIT>", ",", "DL", ",", "MVT", "::", "i8", ")", ")", ";", "pshufbMask", ".", "push_back", "(", "DAG", ".", "getConstant", "(", "<NUM_LIT>", ",", "DL", ",", "MVT", "::",...
[ "SmallVector", "SDValue", ",", "<NUM_LIT>", ">", "pshufbMask", ";", "for", "(", "unsigned", "i", "=", "<NUM_LIT>", ";", "i", "<NUM_LIT>", ";", "++", "i", ")", "{", "<BUGS>", "pshufbMask", ".", "push_back", "(", "DAG", ".", "getConstant", "(", "<NUM_LIT>", ...
LLVM
X86
CPP
stmt_completion
CPU
30,997
[ ".", "getDebugLoc", "(", ")", ";" ]
[ "bool", "X86DAGToDAGISel", "::", "MatchAddressRecursively", "(", "SDValue", "N", ",", "X86ISelAddressMode", "&", "AM", ",", "X86ISelListener", "&", "DeadNodes", ",", "unsigned", "Depth", ")", "{", "bool", "is64Bit", "=", "Subtarget", "->", "is64Bit", "(", ")", ...
GCC
sh
MD
program_repair
CPU
30,998
[ "<FIXS>", "(", "define_attr", "<STR_LIT>", "<STR_LIT>", "(", "const", "(", "cond", "[", "(", "symbol_ref", "<STR_LIT>", ")", "(", "const_string", "<STR_LIT>", ")", "(", "symbol_ref", "<STR_LIT>", ")", "(", "const_string", "<STR_LIT>", ")", "]", "(", "const_str...
[ "(", "define_attr", "<STR_LIT>", "<STR_LIT>", "(", "const", "(", "if_then_else", "(", "symbol_ref", "<STR_LIT>", ")", "(", "const_string", "<STR_LIT>", ")", "(", "const_string", "<STR_LIT>", ")", ")", ")", ")", "<BUGS>", "(", "define_attr", "<STR_LIT>", "<STR_LI...
LLVM
PTX
CPP
stmt_completion
GPU
30,999
[ "end", "(", ")", ";" ]
[ "param_iterator", "local_end", "(", ")", "const", "{", "return", "LocalParams", "." ]