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
GCC
aarch64
CPP
program_repair
CPU
25,100
[ "<FIXS>", "aarch64_lookup_simd_builtin_type", "(", "machine_mode", "mode", ",", "<FIXE>" ]
[ "}", "static", "tree", "<BUGS>", "aarch64_lookup_simd_builtin_type", "(", "enum", "machine_mode", "mode", ",", "<BUGE>", "enum", "aarch64_type_qualifiers", "q", ")", "{", "int", "i", ";" ]
LLVM
Mips
TD
stmt_completion
CPU
25,101
[ ",", "<NUM_LIT>", ">", ";" ]
[ "class", "ILVR_W_ENC", ":", "MSA_3R_FMT", "<", "<NUM_LIT>", ",", "<NUM_LIT>" ]
GCC
loongarch
CPP
stmt_completion
CPU
25,102
[ "nelt", "/", "<NUM_LIT>", ";", "++", "i", ")", "{" ]
[ "d", ".", "vmode", "=", "GET_MODE", "(", "target", ")", ";", "d", ".", "nelt", "=", "nelt", "=", "GET_MODE_NUNITS", "(", "d", ".", "vmode", ")", ";", "d", ".", "one_vector_p", "=", "false", ";", "d", ".", "testing_p", "=", "false", ";", "base", "...
LLVM
ARM
CPP
code_generation
CPU
25,103
[ "unsigned", "ARMAsmParser", "::", "checkTargetMatchPredicate", "(", "MCInst", "&", "Inst", ")", "{", "unsigned", "Opc", "=", "Inst", ".", "getOpcode", "(", ")", ";", "const", "MCInstrDesc", "&", "MCID", "=", "MII", ".", "get", "(", "Opc", ")", ";", "if",...
[ "checkTargetMatchPredicate", "-", "Validate", "the", "instruction", "match", "against", "any", "complex", "target", "predicates", "not", "expressible", "via", "match", "classes", "." ]
LLVM
AMDGPU
CPP
next_suggestion
GPU
25,104
[ "return", "std", "::", "make_pair", "(", "TypeIdx", ",", "LLT", "::", "vector", "(", "Ty", ".", "getNumElements", "(", ")", "+", "<NUM_LIT>", ",", "EltTy", ")", ")", ";" ]
[ "static", "LegalizeMutation", "oneMoreElement", "(", "unsigned", "TypeIdx", ")", "{", "return", "[", "=", "]", "(", "const", "LegalityQuery", "&", "Query", ")", "{", "const", "LLT", "Ty", "=", "Query", ".", "Types", "[", "TypeIdx", "]", ";", "const", "LL...
LLVM
X86
CPP
program_repair
CPU
25,105
[ "<FIXS>", "BuildMI", "(", "fallMBB", ",", "MIMD", ",", "TII", "->", "get", "(", "PtrLoadOpc", ")", ",", "PrevSSPReg", ")", ";", "<FIXE>" ]
[ "unsigned", "PtrLoadOpc", "=", "(", "PVT", "==", "MVT", "::", "i64", ")", "?", "X86", "::", "MOV64rm", ":", "X86", "::", "MOV32rm", ";", "const", "int64_t", "SPPOffset", "=", "<NUM_LIT>", "*", "PVT", ".", "getStoreSize", "(", ")", ";", "MachineInstrBuild...
LLVM
AArch64
TD
stmt_completion
CPU
25,106
[ "<STR_LIT>", ")", ">", ";" ]
[ "def", ":", "InstRW", "<", "[", "A64FXWrite_ST14", ",", "WriteAdr", "]", ",", "(", "instregex" ]
LLVM
AArch64
TD
next_suggestion
CPU
25,107
[ "}" ]
[ "bits", "<", "<NUM_LIT>", ">", "imm9", ";", "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "<NUM_LIT>", ";", "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "imm9", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", ";", "let", "Inst",...
LLVM
ARM
CPP
next_suggestion
CPU
25,108
[ "}" ]
[ "static", "bool", "RetCC_ARM_AAPCS_Custom_f64", "(", "unsigned", "ValNo", ",", "MVT", "ValVT", ",", "MVT", "LocVT", ",", "CCValAssign", "::", "LocInfo", "LocInfo", ",", "ISD", "::", "ArgFlagsTy", "ArgFlags", ",", "CCState", "&", "State", ")", "{", "return", ...
LLVM
Mips
CPP
next_suggestion
CPU
25,109
[ "return", "<STR_LIT>", "Mips Assembly Printer", "<STR_LIT>", ";" ]
[ "std", "::", "map", "<", "const", "char", "*", ",", "const", "llvm", "::", "<STR_LIT>", "::", "<STR_LIT>", "*", ">", "StubsNeeded", ";", "void", "emitInlineAsmStart", "(", "const", "MCSubtargetInfo", "&", "StartInfo", ")", "const", "override", ";", "void", ...
GCC
i386
MD
stmt_completion
CPU
25,110
[ "<STR_LIT>", ")" ]
[ "operands", "[", "<NUM_LIT>", "]", "=", "gen_lowpart", "(", "SImode", ",", "operands", "[", "<NUM_LIT>", "]", ")", "operands", "[", "<NUM_LIT>", "]", "=", "gen_lowpart", "(", "SImode", ",", "operands", "[", "<NUM_LIT>", "]", ")", "operands", "[", "<NUM_LIT...
LLVM
X86
CPP
stmt_completion
CPU
25,111
[ "*", "MF", ")", ")", "{" ]
[ "unsigned", "LabelReg", "=", "<NUM_LIT>", ";", "const", "int64_t", "LabelOffset", "=", "<NUM_LIT>", "*", "PVT", ".", "getStoreSize", "(", ")", ";", "Reloc", "::", "Model", "RM", "=", "MF", "->", "getTarget", "(", ")", ".", "getRelocationModel", "(", ")", ...
LLVM
Hexagon
TD
stmt_completion
DSP
25,112
[ "USR", "]", ";" ]
[ "def", "J2_ploop2si", ":", "HInst", "<", "(", "outs", ")", ",", "(", "ins", "b30_2Imm", ":", "$", "Ii", ",", "u10_0Imm", ":", "$", "II", ")", ",", "<STR_LIT>", ",", "tc_1c4528a2", ",", "TypeCR", ">", ",", "Enc_4dc228", "{", "let", "Inst", "{", "<NU...
LLVM
X86
CPP
next_suggestion
CPU
25,113
[ "if", "(", "Opcode", "==", "<STR_LIT>", "::", "<STR_LIT>", "&&", "!", "V", ".", "getValueType", "(", ")", ".", "isVector", "(", ")", ")", "V", "=", "DAG", ".", "getNode", "(", "ISD", "::", "SCALAR_TO_VECTOR", ",", "DL", ",", "MVT", "::", "v2f64", "...
[ "V", "=", "V", ".", "getOperand", "(", "BroadcastIdx", ")", ";", "if", "(", "!", "BroadcastFromReg", "&&", "!", "isShuffleFoldableLoad", "(", "V", ")", ")", "return", "SDValue", "(", ")", ";", "}", "else", "if", "(", "MayFoldLoad", "(", "BC", ")", "&...
LLVM
AArch64
TD
next_suggestion
CPU
25,114
[ "}" ]
[ "def", "KryoWrite_4cyc_LS_X_X_X_320ln", ":", "SchedWriteRes", "<", "[", "KryoUnitLS", ",", "KryoUnitX", ",", "KryoUnitX", ",", "KryoUnitX", "]", ">", "{", "let", "Latency", "=", "<NUM_LIT>", ";", "let", "NumMicroOps", "=", "<NUM_LIT>", ";" ]
GCC
m68k
CPP
code_generation
MPU
25,115
[ "int", "emit_move_sequence", "(", "rtx", "*", "operands", ",", "machine_mode", "mode", ",", "rtx", "scratch_reg", ")", "{", "register", "rtx", "operand0", "=", "operands", "[", "<NUM_LIT>", "]", ";", "register", "rtx", "operand1", "=", "operands", "[", "<NUM...
[ "Emit", "insns", "to", "move", "operands", "[", "1", "]", "into", "operands", "[", "0", "]", ".", "Return", "1", "if", "we", "have", "written", "out", "everything", "that", "needs", "to", "be", "done", "to", "do", "the", "move", ".", "Otherwise", ","...
LLVM
AMDGPU
CPP
stmt_completion
GPU
25,116
[ "<STR_LIT>", "::", "<STR_LIT>", ")", "{" ]
[ "if", "(", "!", "STI", ".", "hasFeature", "(", "AMDGPU", "::", "FeatureVscnt", ")", ")", "InstrWaitCntInfo", "[", "Index", "]", ".", "VmCnt", "=", "true", ";", "else", "if", "(", "MCID", ".", "mayLoad", "(", ")", "&&", "!", "(", "MCID", ".", "TSFla...
LLVM
AArch64
TD
program_repair
CPU
25,117
[ "<FIXS>", "RegisterClass", "GPR", ",", "RegisterClass", "GPRsp", ",", "AArch64Reg", "ZR", ">", "{", "<FIXE>" ]
[ "multiclass", "addsubimm_shifts", "string", "prefix", ",", "bit", "sf", ",", "bit", "op", ",", "string", "asmop", ",", "string", "cmpasmop", ",", "string", "operand", ",", "string", "cmpoperand", ",", "<BUGS>", "RegisterClass", "GPR", ",", "RegisterClass", "GP...
GCC
crx
CPP
stmt_completion
CPU
25,118
[ ",", "offset", ")", ";" ]
[ "mem", "=", "adjust_automodify_address", "(", "srcbase", ",", "SImode", ",", "addr", ",", "offset", ")", ";", "emit_move_insn", "(", "tmp_reg", ",", "mem", ")", ";", "addr", "=", "plus_constant", "(", "dst", ",", "offset", ")", ";", "mem", "=", "adjust_a...
LLVM
TPC
TD
next_suggestion
Virtual ISA
25,119
[ "let", "TSFlags", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "SecondImmOp", ";" ]
[ "let", "AsmString", "=", "asmstr", ";", "let", "AsmVariantName", "=", "?", ";", "let", "hasSideEffects", "=", "<NUM_LIT>", ";", "let", "isNotUsedInDisasm", "=", "<NUM_LIT>", ";", "let", "Size", "=", "<NUM_LIT>", ";", "bits", "<", "<NUM_LIT>", ">", "Opcode", ...
LLVM
AArch64
CPP
stmt_completion
CPU
25,120
[ "&", "OpUsefulBits", ";" ]
[ "APInt", "OpUsefulBits", "(", "UsefulBits", ")", ";", "OpUsefulBits", "=", "<NUM_LIT>", ";", "APInt", "ResultUsefulBits", "(", "UsefulBits", ".", "getBitWidth", "(", ")", ",", "<NUM_LIT>", ")", ";", "ResultUsefulBits", ".", "flipAllBits", "(", ")", ";", "APInt...
LLVM
Hexagon
CPP
code_generation
DSP
25,121
[ "void", "reset", "(", ")", "{", "Inst2Replace", "=", "nullptr", ";", "BackedgeInst", "=", "nullptr", ";", "DepChains", ".", "clear", "(", ")", ";", "Iterations", "=", "-", "<NUM_LIT>", ";", "}" ]
[ "Reset", "an", "existing", "scalar", "value", "for", "Def", "and", "a", "given", "Instance", "." ]
GCC
i386
CPP
code_generation
CPU
25,122
[ "static", "void", "init_window", "(", "int", "window_num", ")", "{", "int", "i", ";", "dispatch_windows", "*", "new", "_", "list", ";", "if", "(", "window_num", "==", "<NUM_LIT>", ")", "new", "_", "list", "=", "dispatch_window_list", ";", "else", "new", ...
[ "This", "function", "initializes", "a", "dispatch", "window", "and", "the", "list", "container", "holding", "a", "pointer", "to", "the", "window", "." ]
GCC
arm
MD
program_repair
CPU
25,123
[ "<FIXS>", "(", "set_attr", "<STR_LIT>", "<STR_LIT>", ")", "(", "set_attr", "<STR_LIT>", "<STR_LIT>", ")", "]", "<FIXE>" ]
[ "<STR_LIT>", "[", "(", "set_attr", "<STR_LIT>", "<STR_LIT>", ")", "(", "set_attr", "<STR_LIT>", "<STR_LIT>", ")", "<BUGS>", "(", "set_attr", "<STR_LIT>", "<STR_LIT>", ")", "]", "<BUGE>", ")", "(", "define_expand", "<STR_LIT>" ]
GCC
avr
MD
program_repair
MPU
25,124
[ "<FIXS>", "(", "pc", ")", ")", ")", "]", ")", "<FIXE>" ]
[ "[", "(", "set", "(", "pc", ")", "(", "if_then_else", "(", "eq", "(", "and", ":", "HI", "(", "match_dup", "<NUM_LIT>", ")", "(", "const_int", "-", "<NUM_LIT>", ")", ")", "(", "const_int", "<NUM_LIT>", ")", ")", "(", "label_ref", "(", "match_dup", "<N...
LLVM
X86
CPP
stmt_completion
CPU
25,125
[ ")", ";" ]
[ "static", "bool", "hasMFENCE", "(", "const", "X86Subtarget", "&", "Subtarget", ")", "{", "return", "Subtarget", ".", "hasSSE2", "(", ")", "||", "Subtarget", ".", "is64Bit", "(" ]
GCC
rs6000
MD
next_suggestion
CPU
25,126
[ "UNSPEC_LXVLL", ")", ")", "]" ]
[ "[", "(", "set", "(", "match_operand", ":", "V16QI", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", "(", "unspec", ":", "V16QI", "[", "(", "match_operand", ":", "DI", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", "(", "mem", ":", "V16QI", "(", "match_dup", "<NU...
LLVM
AMDGPU
CPP
next_suggestion
GPU
25,127
[ "if", "(", "isKernelLDS", "(", "F", ")", ")", "{" ]
[ "for", "(", "auto", "&", "GV", ":", "M", ".", "globals", "(", ")", ")", "{", "if", "(", "!", "AMDGPU", "::", "isLDSVariableToLower", "(", "GV", ")", ")", "{", "continue", ";", "}", "if", "(", "GV", ".", "isAbsoluteSymbolRef", "(", ")", ")", "{", ...
LLVM
Kudeyar
CPP
stmt_completion
CPU
25,128
[ ",", "createKudeyarMCInstPrinter", ")", ";" ]
[ "RegisterMCAsmInfo", "<", "KudeyarMCAsmInfo", ">", "X", "(", "TheKudeyarTarget", ")", ";", "TargetRegistry", "::", "RegisterMCCodeGenInfo", "(", "TheKudeyarTarget", ",", "createKudeyarMCCodeGenInfo", ")", ";", "TargetRegistry", "::", "RegisterMCInstrInfo", "(", "TheKudeya...
LLVM
WebAssembly
CPP
code_generation
Virtual ISA
25,129
[ "const", "MCFixupKindInfo", "&", "WebAssemblyAsmBackend", "::", "getFixupKindInfo", "(", "MCFixupKind", "Kind", ")", "const", "{", "const", "static", "MCFixupKindInfo", "Infos", "[", "WebAssembly", "::", "NumTargetFixupKinds", "]", "=", "{", "{", "<STR_LIT>", "fixup...
[ "Get", "information", "on", "a", "fixup", "kind", "." ]
GCC
s390
MD
next_suggestion
MPU
25,130
[ "(", "eq_attr", "<STR_LIT>", "<STR_LIT>", ")", ")", "<STR_LIT>", ")" ]
[ "(", "define_insn_reservation", "<STR_LIT>", "<NUM_LIT>", "(", "and", "(", "eq_attr", "<STR_LIT>", "<STR_LIT>", ")" ]
GCC
arm
CPP
stmt_completion
CPU
25,131
[ "int16x4_t", ")", "_", "_", "b", ")", ";" ]
[ "vhsub_u16", "(", "uint16x4_t", "_", "_", "a", ",", "uint16x4_t", "_", "_", "b", ")", "{", "return", "(", "uint16x4_t", ")", "_", "_", "builtin_neon_vhsubuv4hi", "(", "(", "int16x4_t", ")", "_", "_", "a", ",", "(" ]
LLVM
Mips
CPP
stmt_completion
CPU
25,132
[ "<NUM_LIT>", ",", "<STR_LIT>", "::", "<STR_LIT>", ")", ";" ]
[ "SDValue", "TGALo", "=", "DAG", ".", "getTargetGlobalAddress", "(", "GV", ",", "DL", ",", "MVT", "::", "i32", ",", "<NUM_LIT>", ",", "<STR_LIT>", "::", "<STR_LIT>", ")", ";", "SDValue", "Hi", "=", "DAG", ".", "getNode", "(", "<STR_LIT>", "::", "<STR_LIT>...
GCC
pdp11
MD
next_suggestion
MPU
25,133
[ "(", "match_operand", ":", "HI", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", "]" ]
[ "(", "define_expand", "<STR_LIT>", "[", "(", "match_operand", ":", "HI", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", "(", "match_operand", ":", "HI", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")" ]
LLVM
PowerPC
CPP
next_suggestion
CPU
25,134
[ "}" ]
[ "if", "(", "const", "GlobalVariable", "*", "GVar", "=", "dyn_cast", "<", "GlobalVariable", ">", "(", "GV", ")", ")", "return", "!", "GVar", "->", "hasAttribute", "(", "<STR_LIT>", "toc-data", "<STR_LIT>", ")", ";", "return", "true", ";", "}", "if", "(", ...
LLVM
X86
TD
stmt_completion
CPU
25,135
[ "<NUM_LIT>", ">", ";" ]
[ "def", "sub_8bit", ":", "SubRegIndex", "<" ]
LLVM
AArch64
CPP
stmt_completion
CPU
25,136
[ ";" ]
[ "case", "MVT", "::", "i32", ":", "Opc", "=", "<STR_LIT>", "::", "<STR_LIT>", ";", "break", ";", "case", "MVT", "::", "i64", ":", "Opc", "=", "<STR_LIT>", "::", "<STR_LIT>", ";", "break", ";", "}", "const", "TargetRegisterClass", "*", "RC", "=", "(", ...
GCC
rs6000
MD
next_suggestion
CPU
25,137
[ "{" ]
[ "(", "clobber", "(", "match_scratch", ":", "SI", "<NUM_LIT>", "<STR_LIT>", ")", ")", "]", "<STR_LIT>", "<STR_LIT>", "<STR_LIT>", "[", "(", "set", "(", "match_dup", "<NUM_LIT>", ")", "(", "any_fix", ":", "SI", "(", "match_dup", "<NUM_LIT>", ")", ")", ")", ...
GCC
arm
MD
stmt_completion
CPU
25,138
[ "<STR_LIT>", "<STR_LIT>", ")", "]" ]
[ "(", "unspec", ":", "<", "V_widen", ">", "[", "(", "match_operand", ":", "<", "V_widen", ">", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", "(", "match_operand", ":", "VW", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", "(", "match_operand", ":", "VW", "<NUM_LIT>...
LLVM
VE
CPP
next_suggestion
CPU
25,139
[ "}" ]
[ "MCOperand", "M032", "=", "MCOperand", "::", "createImm", "(", "M0", "(", "<NUM_LIT>", ")", ")", ";", "emitANDrm", "(", "OutStreamer", ",", "RD", ",", "M032", ",", "RD", ",", "STI", ")", ";", "emitLEASLzzi", "(", "OutStreamer", ",", "hi", ",", "RD", ...
LLVM
ARM
CPP
next_suggestion
CPU
25,140
[ "unsigned", "Opc", "=", "isSub", "?", "ARM", "::", "SUBri", ":", "ARM", "::", "ADDri", ";" ]
[ "BuildMI", "(", "MBB", ",", "MBBI", ",", "dl", ",", "TII", ".", "get", "(", "ARM", "::", "MOVr", ")", ",", "DestReg", ")", ".", "addReg", "(", "BaseReg", ",", "RegState", "::", "Kill", ")", ".", "add", "(", "predOps", "(", "Pred", ",", "PredReg",...
LLVM
AArch64
CPP
stmt_completion
CPU
25,141
[ "\\n", "<STR_LIT>", ";" ]
[ "OS", "<<", "<STR_LIT>", "\\t.seh_save_r19r20_x\\t", "<STR_LIT>", "<<", "Offset", "<<", "<STR_LIT>" ]
GCC
i386
MD
program_repair
CPU
25,142
[ "<FIXS>", "<STR_LIT>", "<FIXE>" ]
[ "(", "match_dup", "<NUM_LIT>", ")", "(", "const_int", "<NUM_LIT>", ")", ")", ")", "]", "<STR_LIT>", "<BUGS>", "<STR_LIT>", "<BUGE>", "[", "(", "set_attr", "<STR_LIT>", "<STR_LIT>", ")", "]", ")" ]
LLVM
X86
CPP
next_suggestion
CPU
25,143
[ "}" ]
[ "static", "MCDisassembler", "*", "createX86_32Disassembler", "(", "const", "Target", "&", "T", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "{", "return", "new", "X86Disassembler", "::", "X86GenericDisassembler", "(", "STI", ",", "MODE_32BIT", ",", "T", "."...
LLVM
ARM
TD
stmt_completion
CPU
25,144
[ ",", "<STR_LIT>", ">", "{" ]
[ "def", "VLD3LNd32_UPD", ":", "VLD3LNWB", "<", "<NUM_LIT>", ",", "{", "?", ",", "<NUM_LIT>", ",", "<NUM_LIT>", ",", "<NUM_LIT>", "}" ]
LLVM
ARM64
TD
next_suggestion
CPU
25,145
[ "}" ]
[ "def", "BranchTarget26Operand", ":", "AsmOperandClass", "{", "let", "Name", "=", "<STR_LIT>", ";" ]
LLVM
Sparc
CPP
stmt_completion
CPU
25,146
[ "findAssociatedSection", "(", ")", ";" ]
[ "return", "getSubExpr", "(", ")", "->" ]
GCC
msp430
CPP
stmt_completion
MPU
25,147
[ "mem", ";" ]
[ "cost_p", "=", "(", "speed", "?", "&", "cycle_cost_single_op", ":", "&", "size_cost_single_op", ")", ";", "double_op_cost_p", "=", "(", "speed", "?", "&", "cycle_cost_double_op", ":", "&", "size_cost_double_op", ")", ";", "switch", "(", "dst_code", ")", "{", ...
LLVM
Mips
CPP
program_repair
CPU
25,148
[ "<FIXS>", "MachineBasicBlock", "*", "Mips16TargetLowering", "::", "emitFEXT_CCRX16_ins", "(", "unsigned", "SltOpc", ",", "MachineInstr", "*", "MI", ",", "MachineBasicBlock", "*", "BB", ")", "const", "{", "<FIXE>", "<FIXS>", "const", "TargetInstrInfo", "*", "TII", ...
[ "llvm_unreachable", "(", "<STR_LIT>", "immediate field not usable", "<STR_LIT>", ")", ";", "}", "<BUGS>", "MachineBasicBlock", "*", "Mips16TargetLowering", "::", "emitFEXT_CCRX16_ins", "(", "unsigned", "SltOpc", ",", "MachineInstr", "*", "MI", ",", "MachineBasicBlock", ...
LLVM
PowerPC
TD
stmt_completion
CPU
25,149
[ ")", ",", "[", "{" ]
[ "def", "DSFormStore", ":", "PatFrag", "<", "(", "ops", "node", ":", "$", "val", ",", "node", ":", "$", "ptr", ")", ",", "(", "store", "node", ":", "$", "val", ",", "node", ":", "$", "ptr", ")", ",", "[", "{", "return", "isOffsetMultipleOf", "(", ...
LLVM
FISC
CPP
stmt_completion
CPU
25,150
[ "OpNo", ",", "O", ")", ";" ]
[ "return", "false", ";", "case", "'", "d", "'", ":", "if", "(", "(", "MO", ".", "getType", "(", ")", ")", "!=", "MachineOperand", "::", "MO_Immediate", ")", "return", "true", ";", "O", "<<", "MO", ".", "getImm", "(", ")", ";", "return", "false", "...
LLVM
PIC16
CPP
stmt_completion
MPU
25,151
[ "false", ";" ]
[ "CurFile", "=", "<STR_LIT>", "<STR_LIT>", ";", "CurLine", "=", "<NUM_LIT>", ";", "EmitDebugDirectives", "=" ]
LLVM
TPC
CPP
next_suggestion
Virtual ISA
25,152
[ "default", ":" ]
[ "unsigned", "getRelocType", "(", "MCContext", "&", "Ctx", ",", "const", "MCValue", "&", "Target", ",", "const", "MCFixup", "&", "Fixup", ",", "bool", "IsPCRel", ")", "const", "{", "MCSymbolRefExpr", "::", "VariantKind", "Modifier", "=", "Target", ".", "getAc...
LLVM
AMDGPU
CPP
stmt_completion
GPU
25,153
[ "::", "COMPUTE", "||", "EnableVGPRSpilling", ";" ]
[ "return", "MFI", "->", "getShaderType", "(", ")", "==", "ShaderType" ]
GCC
mep
CPP
program_repair
CPU
25,154
[ "<FIXS>", "(", "OPTIONAL_CP_INSN", "ivc2", "-", "p1", "-", "isa", "(", "SLOTS", "P1", ")", "(", "INTRINSIC", "<STR_LIT>", "cpmulla1u_w", "<STR_LIT>", ")", "(", "CPTYPE", "V2USI", ")", "VOLATILE", ")", "<FIXE>" ]
[ ";", "<NUM_LIT>", "<NUM_LIT>", "qqqqq", "ppppp", "<NUM_LIT>", "cpmulla1u", ".", "w", "crqp", ",", "crpp", "(", "p0_1", ")", "(", "dni", "cpmulla1u_w_P1", "<STR_LIT>", "cpmulla1u.w $crqp,$crpp Pn", "<STR_LIT>", "<BUGS>", "(", "OPTIONAL_CP_INSN", "ivc2", "-", "p1", ...
LLVM
TPC
TD
next_suggestion
Virtual ISA
25,155
[ "let", "VectorPred", "=", "!", "eq", "(", "!", "cast", "<", "string", ">", "(", "Pred", ")", ",", "<STR_LIT>", ")", ";" ]
[ "let", "InOperandList", "=", "(", "ins", "Rsrc", ":", "$", "src", ",", "SwitchSet", ":", "$", "sw", ",", "Rdst", ":", "$", "income", ",", "Pred", ":", "$", "pred", ")", ";", "let", "Itinerary", "=", "IIC_VectorOp", ";", "let", "isNotUsedInDisasm", "=...
LLVM
PowerPC
CPP
next_suggestion
CPU
25,156
[ "return", "DAG", ".", "getNode", "(", "ISD", "::", "BITCAST", ",", "dl", ",", "ReqVT", ",", "Res", ")", ";" ]
[ "if", "(", "Val", "==", "-", "<NUM_LIT>", ")", "SplatSize", "=", "<NUM_LIT>", ";", "EVT", "CanonicalVT", "=", "VTys", "[", "SplatSize", "-", "<NUM_LIT>", "]", ";", "SDValue", "Elt", "=", "DAG", ".", "getConstant", "(", "Val", ",", "MVT", "::", "i32", ...
GCC
i386
CPP
code_generation
CPU
25,157
[ "enum", "calling_abi", "ix86_function_type_abi", "(", "const_tree", "fntype", ")", "{", "if", "(", "fntype", "!=", "NULL_TREE", "&&", "TYPE_ATTRIBUTES", "(", "fntype", ")", "!=", "NULL_TREE", ")", "{", "enum", "calling_abi", "abi", "=", "ix86_abi", ";", "if", ...
[ "Returns", "value", "SYSV_ABI", ",", "MS_ABI", "dependent", "on", "fntype", ",", "specifying", "the", "call", "abi", "used", "." ]
LLVM
AMDGPU
CPP
stmt_completion
GPU
25,158
[ "const", "{" ]
[ "bool", "isOpenCLEnv", "(", ")" ]
GCC
sparc
MD
next_suggestion
CPU
25,159
[ "<STR_LIT>" ]
[ "(", "match_operand", ":", "DI", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", ")", "(", "const_int", "<NUM_LIT>", ")", ")", ")", "]" ]
GCC
mips
MD
next_suggestion
CPU
25,160
[ "(", "set_attr", "<STR_LIT>", "<STR_LIT>", ")", "]", ")" ]
[ "<STR_LIT>", "<STR_LIT>", "[", "(", "set_attr", "<STR_LIT>", "<STR_LIT>", ")" ]
LLVM
ARM
TD
next_suggestion
CPU
25,161
[ "let", "ParserMethod", "=", "<STR_LIT>", ";" ]
[ "def", "VecListThreeDAllLanesAsmOperand", ":", "AsmOperandClass", "{", "let", "Name", "=", "<STR_LIT>", ";" ]
GCC
aarch64
CPP
code_generation
CPU
25,162
[ "static", "rtx", "aarch64_expand_fpsr_fpcr_getter", "(", "enum", "insn_code", "icode", ",", "machine_mode", "mode", ",", "rtx", "target", ")", "{", "expand_operand", "op", ";", "create_output_operand", "(", "&", "op", ",", "target", ",", "mode", ")", ";", "exp...
[ "Expand", "a", "fpsr", "or", "fpcr", "getter", "(", "depending", "on", "UNSPEC", ")", "using", "MODE", ".", "Return", "the", "target", "." ]
LLVM
PowerPC
CPP
next_suggestion
CPU
25,163
[ "return", "Chain", ";" ]
[ "static", "SDValue", "EmitTailCallStoreFPAndRetAddr", "(", "SelectionDAG", "&", "DAG", ",", "MachineFunction", "&", "MF", ",", "SDValue", "Chain", ",", "SDValue", "OldRetAddr", ",", "SDValue", "OldFP", ",", "int", "SPDiff", ",", "bool", "isPPC64", ",", "bool", ...
LLVM
AMDGPU
CPP
next_suggestion
GPU
25,164
[ "}", "else", "if", "(", "AS", "==", "AMDGPUAS", "::", "LOCAL_ADDRESS", "||", "AS", "==", "AMDGPUAS", "::", "REGION_ADDRESS", ")", "{" ]
[ "SDValue", "Chain", "=", "Load", "->", "getChain", "(", ")", ";", "SDValue", "BasePtr", "=", "Load", "->", "getBasePtr", "(", ")", ";", "MachineMemOperand", "*", "MMO", "=", "Load", "->", "getMemOperand", "(", ")", ";", "EVT", "RealMemVT", "=", "(", "M...
GCC
cris
MD
stmt_completion
MPU
25,165
[ "<STR_LIT>", ")", "]", ")" ]
[ "[", "(", "set", "(", "match_operand", ":", "SI", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", "(", "sign_extend", ":", "SI", "(", "match_operand", ":", "BW", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", ")", ")", "]", "<STR_LIT>", "<STR_LIT>", "[", "(", "se...
GCC
arm
MD
stmt_completion
CPU
25,166
[ "<STR_LIT>", ")" ]
[ "(", "define_insn_reservation", "<STR_LIT>", "<NUM_LIT>", "(", "and", "(", "eq_attr", "<STR_LIT>" ]
LLVM
ARM
CPP
next_suggestion
CPU
25,167
[ "}" ]
[ "bool", "supportSplitCSR", "(", "MachineFunction", "*", "MF", ")", "const", "override", "{", "return", "MF", "->", "getFunction", "(", ")", ".", "getCallingConv", "(", ")", "==", "CallingConv", "::", "CXX_FAST_TLS", "&&", "MF", "->", "getFunction", "(", ")",...
GCC
ia64
MD
stmt_completion
CPU
25,168
[ "<STR_LIT>", "<STR_LIT>", ")" ]
[ "(", "define_reservation" ]
GCC
arm
CPP
program_repair
CPU
25,169
[ "<FIXS>", "return", "(", "TARGET_32BIT", "&&", "TARGET_HARD_FLOAT", "&&", "<FIXE>" ]
[ "if", "(", "pcs_variant", "!=", "ARM_PCS_AAPCS_LOCAL", ")", "return", "false", ";", "<BUGS>", "return", "(", "TARGET_32BIT", "&&", "TARGET_VFP", "&&", "TARGET_HARD_FLOAT", "&&", "<BUGE>", "(", "TARGET_VFP_DOUBLE", "||", "!", "is_double", ")", ")", ";", "}" ]
LLVM
ARM
CPP
program_repair
CPU
25,170
[ "<FIXS>", "return", "CFP", "->", "getValueAPF", "(", ")", ".", "isPosZero", "(", ")", ";", "<FIXE>", "<FIXS>", "return", "CFP", "->", "getValueAPF", "(", ")", ".", "isPosZero", "(", ")", ";", "<FIXE>" ]
[ "static", "bool", "isFloatingPointZero", "(", "SDOperand", "Op", ")", "{", "if", "(", "ConstantFPSDNode", "*", "CFP", "=", "dyn_cast", "ConstantFPSDNode", ">", "(", "Op", ")", ")", "<BUGS>", "return", "CFP", "->", "isExactlyValue", "(", "<NUM_LIT>", ")", ";"...
GCC
rs6000
MD
next_suggestion
CPU
25,171
[ "[", "(", "set", "(", "attr", "<STR_LIT>", ")" ]
[ "(", "set", "(", "match_dup", "<NUM_LIT>", ")", "(", "lo_sum", ":", "TLSmode", "(", "match_dup", "<NUM_LIT>", ")", "(", "unspec", ":", "TLSmode", "[", "(", "const_int", "<NUM_LIT>", ")", "(", "match_dup", "<NUM_LIT>", ")", "]", "UNSPEC_TLSLD", ")", ")", ...
LLVM
ARM
TD
next_suggestion
CPU
25,172
[ "}" ]
[ "def", "VMOVv2i32", ":", "N1ModImm", "<", "<NUM_LIT>", ",", "<NUM_LIT>", ",", "{", "?", ",", "?", ",", "?", ",", "?", "}", ",", "<NUM_LIT>", ",", "<NUM_LIT>", ",", "<NUM_LIT>", ",", "<NUM_LIT>", ",", "(", "outs", "DPR", ":", "$", "Vd", ")", ",", ...
LLVM
ARM
TD
next_suggestion
CPU
25,173
[ "let", "iops", "=", "(", "ins", "MQPR", ":", "$", "Qd_src", ",", "rGPR", ":", "$", "Rt", ")", ";" ]
[ "def", "MVE_VMOV_to_lane", ":", "MVE_VMOV_lane_direction", "{", "let", "bit_20", "=", "<NUM_LIT>", ";", "let", "oops", "=", "(", "outs", "MQPR", ":", "$", "Qd", ")", ";" ]
LLVM
AArch64
TD
program_repair
CPU
25,174
[ "<FIXS>", "class", "sve_int_perm_reverse_p", "bits", "<NUM_LIT>", ">", "sz8_64", ",", "string", "asm", ",", "PPRRegOp", "pprty", ",", "SDPatternOperator", "op", ">", "<FIXE>", "<FIXS>", "[", "(", "set", "nxv16i1", ":", "$", "Pd", ",", "(", "op", "nxv16i1", ...
[ "def", ":", "SVE_1_Op_Pat", "nxv8bf16", ",", "op", ",", "nxv8bf16", ",", "!", "cast", "Instruction", ">", "(", "NAME", "#", "_H", ")", ">", ";", "}", "<BUGS>", "class", "sve_int_perm_reverse_p", "bits", "<NUM_LIT>", ">", "sz8_64", ",", "string", "asm", "...
GCC
i386
CPP
code_generation
CPU
25,175
[ "static", "const", "char", "*", "ix86_mangle_type", "(", "const_tree", "type", ")", "{", "type", "=", "TYPE_MAIN_VARIANT", "(", "type", ")", ";", "if", "(", "TREE_CODE", "(", "type", ")", "!=", "VOID_TYPE", "&&", "TREE_CODE", "(", "type", ")", "!=", "BOO...
[ "Return", "the", "mangling", "of", "TYPE", "if", "it", "is", "an", "extended", "fundamental", "type", "." ]
LLVM
AMDGPU
CPP
next_suggestion
GPU
25,176
[ "}" ]
[ "unsigned", "SGPRLimit", "=", "getNumSGPRsAllowed", "(", "STI", ".", "getGeneration", "(", ")", ",", "STI", ".", "getMaxWavesPerCU", "(", ")", ")", ";", "unsigned", "VGPRLimit", "=", "getNumVGPRsAllowed", "(", "STI", ".", "getMaxWavesPerCU", "(", ")", ")", "...
LLVM
ARM
TD
program_repair
CPU
25,177
[ "<FIXS>", "(", "outs", "SPR", ":", "$", "dst", ")", ",", "(", "ins", "SPR", ":", "$", "a", ",", "fbits16", ":", "$", "fbits", ")", ",", "<FIXE>" ]
[ "}", "def", "VUHTOS", ":", "AVConv1XI", "<NUM_LIT>", ",", "<NUM_LIT>", ",", "<NUM_LIT>", ",", "<NUM_LIT>", ",", "<NUM_LIT>", ",", "<BUGS>", "(", "outs", "SPR", ":", "$", "dst", ")", ",", "(", "ins", "SPR", ":", "$", "a", ",", "i32imm", ":", "$", "f...
LLVM
Hexagon
CPP
stmt_completion
DSP
25,178
[ "(", "Callee", ")", ")", "{" ]
[ "MemAddr", "=", "DAG", ".", "getNode", "(", "ISD", "::", "ADD", ",", "dl", ",", "MVT", "::", "i32", ",", "StackPtr", ",", "MemAddr", ")", ";", "if", "(", "ArgAlign", ")", "LargestAlignSeen", "=", "std", "::", "max", "(", "LargestAlignSeen", ",", "Ali...
LLVM
X86
CPP
stmt_completion
CPU
25,179
[ ";" ]
[ "unsigned", "NumElems", "=", "SVOp", "->", "getValueType", "(", "<NUM_LIT>", ")", ".", "getVectorNumElements", "(", ")", ";", "unsigned", "NumZeros", "=", "getNumOfConsecutiveZeros", "(", "SVOp", ",", "NumElems", ",", "true", ",", "DAG", ")", ";", "unsigned", ...
GCC
i386
MD
program_repair
CPU
25,180
[ "<FIXS>", "[", "(", "set_attr", "<STR_LIT>", "<STR_LIT>", ")", "(", "set_attr", "<STR_LIT>", "<STR_LIT>", ")", "]", ")", "<FIXE>" ]
[ "(", "match_operand", ":", "V2SF", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", ")", ")", "]", "<STR_LIT>", "<STR_LIT>", "<BUGS>", "[", "(", "set_attr", "<STR_LIT>", "<STR_LIT>", ")", "]", ")", "<BUGE>", "(", "define_insn", "<STR_LIT>", "[", "(", "set", "(", ...
LLVM
X86
CPP
next_suggestion
CPU
25,181
[ "}" ]
[ "return", ";", "}", "if", "(", "isa", "<", "UndefValue", ">", "(", "COp", ")", ")", "ShuffleMask", ".", "push_back", "(", "SM_SentinelUndef", ")", ";", "else", "{", "APInt", "Element", "=", "cast", "<", "ConstantInt", ">", "(", "COp", ")", "->", "get...
LLVM
Z80
CPP
stmt_completion
MPU
25,182
[ "(", "this", "->", "BrCondCode", ".", "CC", ")", ")", ")", ";" ]
[ "Inst", ".", "addOperand", "(", "MCOperand", "::", "createExpr", "(", "new", "Z80BrCCMCExpr" ]
LLVM
X86
CPP
program_repair
CPU
25,183
[ "<FIXS>", "mInstr", "->", "eraseFromParent", "(", ")", ";", "<FIXE>" ]
[ "BuildMI", "(", "new", "MBB", ",", "dl", ",", "TII", "->", "get", "(", "X86", "::", "JNE_4", ")", ")", ".", "addMBB", "(", "new", "MBB", ")", ";", "<BUGS>", "F", "->", "DeleteMachineInstr", "(", "mInstr", ")", ";", "<BUGE>", "return", "nextMBB", ";...
LLVM
AArch64
CPP
next_suggestion
CPU
25,184
[ "return", "false", ";" ]
[ "case", "<STR_LIT>", "::", "<STR_LIT>", ":", "return", "FirstMI", "==", "nullptr", "||", "FirstMI", "->", "getOpcode", "(", ")", "==", "<STR_LIT>", "::", "<STR_LIT>", ";", "case", "<STR_LIT>", "::", "<STR_LIT>", ":", "case", "<STR_LIT>", "::", "<STR_LIT>", "...
GCC
mips
CPP
next_suggestion
CPU
25,185
[ "return", "false", ";" ]
[ "if", "(", "CONST_INT_P", "(", "length", ")", ")", "{", "if", "(", "INTVAL", "(", "length", ")", "<=", "MIPS_MAX_MOVE_BYTES_STRAIGHT", ")", "{", "mips_block_move_straight", "(", "dest", ",", "src", ",", "INTVAL", "(", "length", ")", ")", ";", "return", "...
GCC
mips
MD
stmt_completion
CPU
25,186
[ "<STR_LIT>", "<STR_LIT>", ")" ]
[ "(", "reg", ":", "SI", "SET_FCSR_REGNUM", ")", "]", "UNSPEC_SET_FCSR", ")", "(", "clobber", "(", "reg", ":", "P", "PIC_FUNCTION_ADDR_REGNUM", ")", ")", "(", "clobber", "(", "reg", ":", "P", "RETURN_ADDR_REGNUM", ")", ")", "]", "<STR_LIT>", "{", "return", ...
LLVM
SystemZ
TD
next_suggestion
CPU
25,187
[ "bits", "<", "<NUM_LIT>", ">", "BD3", ";" ]
[ "class", "InstSMI", "<", "bits", "<", "<NUM_LIT>", ">", "op", ",", "dag", "outs", ",", "dag", "ins", ",", "string", "asmstr", ",", "list", "<", "dag", ">", "pattern", ">", ":", "InstSystemZ", "<", "<NUM_LIT>", ",", "outs", ",", "ins", ",", "asmstr", ...
GCC
i386
MD
stmt_completion
CPU
25,188
[ ")", ")" ]
[ "(", "define_insn_reservation", "<STR_LIT>", "<NUM_LIT>", "(", "and", "(", "eq_attr", "<STR_LIT>", "<STR_LIT>", ")", "(", "and", "(", "eq_attr", "<STR_LIT>", "<STR_LIT>", ")", "(", "eq_attr", "<STR_LIT>", "<STR_LIT>", ")" ]
LLVM
Hexagon
TD
next_suggestion
DSP
25,189
[ "let", "isPredicatedNew", "=", "<NUM_LIT>", ";" ]
[ "def", "L2_ploadrbfnew_pi", ":", "HInst", "<", "(", "outs", "IntRegs", ":", "$", "Rd32", ",", "IntRegs", ":", "$", "Rx32", ")", ",", "(", "ins", "PredRegs", ":", "$", "Pt4", ",", "IntRegs", ":", "$", "Rx32in", ",", "s4_0Imm", ":", "$", "Ii", ")", ...
LLVM
ARM
TD
next_suggestion
CPU
25,190
[ "}" ]
[ "let", "Inst", "{", "<NUM_LIT>", "}", "=", "lane", "{", "<NUM_LIT>", "}", ";", "let", "Inst", "{", "<NUM_LIT>", "}", "=", "Rn", "{", "<NUM_LIT>", "}", ";" ]
LLVM
BPF
CPP
stmt_completion
Virtual ISA
25,191
[ "=", "<NUM_LIT>", ";" ]
[ "}", "else", "if", "(", "Fixup", ".", "getKind", "(", ")", "==", "FK_Data_8", ")", "{", "support", "::", "endian", "::", "write", "<", "uint64_t", ">", "(", "&", "Data", "[", "Fixup", ".", "getOffset", "(", ")", "]", ",", "Value", ",", "Endian", ...
LLVM
TVM
CPP
next_suggestion
Virtual ISA
25,192
[ "VR", "=", "Regs", ".", "pop_back_val", "(", ")", ";" ]
[ "for", "(", "StackVreg", "&", "VR", ":", "Data", ")", "{", "if", "(", "Regs", ".", "empty", "(", ")", ")", "return", ";", "if", "(", "VR", ".", "VirtReg", "==", "TVMFunctionInfo", "::", "UnusedReg", ")", "{" ]
GCC
i386
CPP
stmt_completion
CPU
25,193
[ "_", "_", "m256d", "_", "_", "A", ")", "{" ]
[ "extern", "_", "_", "inline", "_", "_", "m256d", "_", "_", "attribute__", "(", "(", "_", "_", "gnu_inline__", ",", "_", "_", "always_inline__", ",", "_", "_", "artificial__", ")", ")", "_", "mm256_mask_mov_pd", "(", "_", "_", "m256d", "_", "_", "W", ...
LLVM
PowerPC
TD
stmt_completion
CPU
25,194
[ ",", "[", "]", ">", ";" ]
[ "def", "PPCfsqrt", ":", "SDNode", "<", "<STR_LIT>", ",", "SDTFPUnaryOp" ]
LLVM
FISC
CPP
next_suggestion
CPU
25,195
[ "Op", "->", "StartLoc", "=", "S", ";" ]
[ "auto", "Op", "=", "make_unique", "<", "FISCOperand", ">", "(", "k_Immediate", ")", ";", "Op", "->", "Imm", ".", "Val", "=", "Val", ";" ]
LLVM
SystemZ
CPP
next_suggestion
CPU
25,196
[ "uint64_t", "Len", "=", "getMachineOpValue", "(", "MI", ",", "MI", ".", "getOperand", "(", "OpNum", "+", "<NUM_LIT>", ")", ",", "Fixups", ",", "STI", ")", "-", "<NUM_LIT>", ";" ]
[ "getBDLAddr12Len4Encoding", "(", "const", "MCInst", "&", "MI", ",", "unsigned", "OpNum", ",", "SmallVectorImpl", "<", "MCFixup", ">", "&", "Fixups", ",", "const", "MCSubtargetInfo", "&", "STI", ")", "const", "{", "uint64_t", "Base", "=", "getMachineOpValue", "...
LLVM
GBZ80
CPP
stmt_completion
MPU
25,197
[ ")", ";" ]
[ "++", "MBBI", ";", "}", "if", "(", "!", "FrameSize", ")", "{", "return", ";", "}", "while", "(", "FrameSize", "!=", "<NUM_LIT>", ")", "{", "int", "ToSubtract", "=", "std", "::", "min", "(", "<NUM_LIT>", ",", "FrameSize", ")", ";", "MachineInstr", "*"...
LLVM
AMDGPU
CPP
next_suggestion
GPU
25,198
[ "unsigned", "ExecMov", "=", "ST", ".", "isWave32", "(", ")", "?", "AMDGPU", "::", "S_MOV_B32", ":", "AMDGPU", "::", "S_MOV_B64", ";" ]
[ "MCPhysReg", "TmpVGPR", "=", "findScratchNonCalleeSaveRegister", "(", "MRI", ",", "LiveRegs", ",", "AMDGPU", "::", "VGPR_32RegClass", ")", ";", "if", "(", "!", "TmpVGPR", ")", "report_fatal_error", "(", "<STR_LIT>", "failed to find free scratch register", "<STR_LIT>", ...
LLVM
Hexagon
TD
next_suggestion
DSP
25,199
[ "}" ]
[ "let", "Uses", "=", "[", "P1", "]", ";", "let", "Defs", "=", "[", "P1", ",", "PC", "]", ";", "let", "BaseOpcode", "=", "<STR_LIT>", ";", "let", "isTaken", "=", "Inst", "{", "<NUM_LIT>", "}", ";", "let", "isExtendable", "=", "<NUM_LIT>", ";", "let",...