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
ARM
CPP
stmt_completion
CPU
12,200
[ ";" ]
[ "if", "(", "STI", ".", "getFeatureBits", "(", ")", "[", "llvm", "::", "ARM", "::", "HasV8Ops", "]", "&&", "MI", ".", "getOperand", "(", "<NUM_LIT>", ")", ".", "isImm", "(", ")", "&&", "MI", ".", "getOperand", "(", "<NUM_LIT>", ")", ".", "getImm", "...
LLVM
Hexagon
CPP
next_suggestion
DSP
12,201
[ "}" ]
[ "bool", "HexagonTargetLowering", "::", "isFPImmLegal", "(", "const", "APFloat", "&", "Imm", ",", "EVT", "VT", ")", "const", "{", "return", "Subtarget", ".", "hasV5TOps", "(", ")", ";" ]
GCC
mips
MD
next_suggestion
CPU
12,202
[ "{" ]
[ "(", "match_operand", ":", "DI", "<NUM_LIT>", "<STR_LIT>", ")", ")", ")", "]", "<STR_LIT>", "[", "(", "set", "(", "match_dup", "<NUM_LIT>", ")", "(", "plus", ":", "DI", "(", "match_dup", "<NUM_LIT>", ")", "(", "match_dup", "<NUM_LIT>", ")", ")", ")", "...
LLVM
AMDGPU
CPP
next_suggestion
GPU
12,203
[ "AU", ".", "addPreserved", "<", "MachineDominatorTree", ">", "(", ")", ";" ]
[ "AU", ".", "addRequired", "<", "TargetPassConfig", ">", "(", ")", ";", "AU", ".", "setPreservesCFG", "(", ")", ";", "getSelectionDAGFallbackAnalysisUsage", "(", "AU", ")", ";", "AU", ".", "addRequired", "<", "GISelKnownBitsAnalysis", ">", "(", ")", ";", "AU"...
GCC
aarch64
MD
next_suggestion
CPU
12,204
[ "operands", "[", "<NUM_LIT>", "]", ",", "operands", "[", "<NUM_LIT>", "]", ",", "operands", "[", "<NUM_LIT>", "]", ")" ]
[ "<STR_LIT>", "<STR_LIT>", "<STR_LIT>", "[", "(", "const_int", "<NUM_LIT>", ")", "]", "{", "aarch64_split_atomic_op", "(", "<", "CODE", ">", ",", "NULL", ",", "operands", "[", "<NUM_LIT>", "]", ",", "operands", "[", "<NUM_LIT>", "]", "," ]
LLVM
ARM
CPP
next_suggestion
CPU
12,205
[ "}" ]
[ "DecodeStatus", "S", "=", "MCDisassembler", "::", "Success", ";", "if", "(", "Val", "==", "<NUM_LIT>", ")", "S", "=", "MCDisassembler", "::", "Fail", ";", "Inst", ".", "addOperand", "(", "MCOperand", "::", "CreateImm", "(", "Val", ")", ")", ";", "return"...
LLVM
AArch64
TD
stmt_completion
CPU
12,206
[ "A64FXGI03", "]", ">", "{" ]
[ "def", "A64FXWrite_BIF", ":", "SchedWriteRes", "<", "[" ]
LLVM
Mips
TD
stmt_completion
CPU
12,207
[ "}", "=", "minor", ";" ]
[ "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "<NUM_LIT>", ";", "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "n", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", ";", "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", ...
LLVM
AArch64
CPP
program_repair
CPU
12,208
[ "<FIXS>", "bool", "SimplifyValuePattern", "(", "SmallVector", "Value", "*", ">", "&", "Vec", ",", "bool", "AllowPoison", ")", "{", "<FIXE>" ]
[ "return", "std", "::", "nullopt", ";", "}", "<BUGS>", "bool", "SimplifyValuePattern", "(", "SmallVector", "Value", "*", ">", "&", "Vec", ")", "{", "<BUGE>", "size_t", "VecSize", "=", "Vec", ".", "size", "(", ")", ";", "if", "(", "VecSize", "==", "<NUM_...
LLVM
AMDGPU
CPP
stmt_completion
GPU
12,209
[ "?", "AMDGPU", "::", "SGPRRegBank", ":", "AMDGPU", "::", "VGPRRegBank", ";" ]
[ "if", "(", "&", "RC", "==", "&", "AMDGPU", "::", "SReg_1RegClass", ")", "return", "AMDGPU", "::", "VCCRegBank", ";", "return", "TRI", "->", "isSGPRClass", "(", "&", "RC", ")" ]
LLVM
ARM
CPP
next_suggestion
CPU
12,210
[ "OutStreamer", ".", "EmitRawText", "(", "<STR_LIT>", "\\t.eabi_attribute ", "<STR_LIT>", "+", "Twine", "(", "<STR_LIT>", "::", "<STR_LIT>", ")", "+", "<STR_LIT>", ", 1", "<STR_LIT>", ")", ";" ]
[ "if", "(", "RelocM", "==", "Reloc", "::", "PIC_", "||", "RelocM", "==", "Reloc", "::", "DynamicNoPIC", ")", "{", "TargetLoweringObjectFileMachO", "&", "TLOFMacho", "=", "static_cast", "<", "TargetLoweringObjectFileMachO", "&", ">", "(", "getObjFileLowering", "(", ...
GCC
i386
MD
next_suggestion
CPU
12,211
[ "(", "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
m68k
CPP
next_suggestion
MPU
12,212
[ "dl", ".", "l", ".", "upper", "|=", "(", "a1", ">>", "<NUM_LIT>", "L", ")", "&", "~", "HIDDEND", ";" ]
[ "if", "(", "!", "a1", ")", "{", "dl", ".", "l", ".", "upper", "=", "dl", ".", "l", ".", "lower", "=", "<NUM_LIT>", ";", "return", "dl", ".", "d", ";", "}", "if", "(", "a1", "<", "<NUM_LIT>", ")", "{", "sign", "=", "SIGNBIT", ";", "a1", "=",...
LLVM
AArch64
CPP
stmt_completion
CPU
12,213
[ "::", "<STR_LIT>", ":" ]
[ "case", "<STR_LIT>", "::", "<STR_LIT>", ":", "case", "<STR_LIT>", "::", "<STR_LIT>", ":", "Changed", "=", "convertSpPAInstr", "(", "MBB", ",", "MI", ")", "|", "Changed", ";", "break", ";", "case", "<STR_LIT>", "::", "<STR_LIT>", ":", "case", "<STR_LIT>", "...
LLVM
Sparc
CPP
stmt_completion
CPU
12,214
[ ")", ".", "addMBB", "(", "TBB", ")", ";" ]
[ "assert", "(", "Cond", ".", "empty", "(", ")", "&&", "!", "FBB", "&&", "TBB", "&&", "<STR_LIT>", "Can only handle uncond branches!", "<STR_LIT>", ")", ";", "BuildMI", "(", "&", "MBB", ",", "DL", ",", "get", "(", "<STR_LIT>", "::", "<STR_LIT>", ")" ]
GCC
stormy16
MD
next_suggestion
CPU
12,215
[ "(", "use", "(", "match_operand", ":", "HI", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", ")", "]" ]
[ "(", "define_insn", "<STR_LIT>", "[", "(", "set", "(", "pc", ")", "(", "match_operand", ":", "HI", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", ")" ]
GCC
xtensa
MD
next_suggestion
MPU
12,216
[ "(", "set_attr", "<STR_LIT>", "\t", "<STR_LIT>", ")", "]", ")" ]
[ "<STR_LIT>", "<STR_LIT>", "[", "(", "set_attr", "<STR_LIT>", "\t", "<STR_LIT>", ")", "(", "set_attr", "<STR_LIT>", "\t", "<STR_LIT>", ")" ]
LLVM
X86
CPP
next_suggestion
CPU
12,217
[ "case", "X86", "::", "CJEf64rm", ":" ]
[ "case", "X86", "::", "CJE64rm", ":", "NativeOpcode", "=", "X86", "::", "CMP64rm", ";", "result", "=", "true", ";", "break", ";", "case", "X86", "::", "FS_CJE32rm", ":", "isFrameSetup", "=", "true", ";", "case", "X86", "::", "CJE32rm", ":", "NativeOpcode"...
LLVM
X86
CPP
stmt_completion
CPU
12,218
[ ";" ]
[ "EVT", "VT", "=", "N", "->", "getValueType", "(", "<NUM_LIT>", ")", ";", "EVT", "SVT", "=", "VT", ".", "getScalarType", "(", ")", ";", "EVT", "InVT", "=", "N0", ".", "getValueType", "(", ")", ";", "EVT", "InSVT", "=", "InVT", ".", "getScalarType", ...
GCC
tilepro
MD
stmt_completion
VLIW
12,219
[ ")", "]" ]
[ "(", "match_operand", ":", "V2HI", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", "(", "match_operand", ":", "V2HI", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", ")" ]
GCC
arm
CPP
code_generation
CPU
12,220
[ "void", "build", "(", "function_builder", "&", "b", ",", "const", "function_group_info", "&", "group", ",", "bool", "preserve_user_namespace", ")", "const", "override", "{", "b", ".", "add_overloaded_functions", "(", "group", ",", "MODE_none", ",", "preserve_user_...
[ "Build", "new", "chain", "starting", "from", "insn", "INSN_UID", "recursively", "adding", "all", "dependent", "uses", "and", "definitions", ".", "Return", "true", "if", "OK", ",", "false", "if", "the", "chain", "discovery", "was", "aborted", "." ]
LLVM
AArch64
CPP
stmt_completion
CPU
12,221
[ ",", "Ops", ")", ";" ]
[ "unsigned", "EltSize", "=", "VT", ".", "getScalarSizeInBits", "(", ")", "/", "<NUM_LIT>", ";", "unsigned", "NumElts", "=", "VT", ".", "getVectorNumElements", "(", ")", ";", "MVT", "TruncVT", "=", "MVT", "::", "getIntegerVT", "(", "EltSize", ")", ";", "Smal...
LLVM
X86
TD
stmt_completion
CPU
12,222
[ "VR128", ":", "$", "src", ")", ">", ";" ]
[ "def", ":", "Pat", "<", "(", "store", "(", "v2i64", "VR128", ":", "$", "src", ")", ",", "addr", ":", "$", "dst", ")", ",", "(", "MOVUPSmr", "addr", ":", "$", "dst", "," ]
LLVM
Hexagon
TD
stmt_completion
DSP
12,223
[ "=", "<STR_LIT>", ";" ]
[ "def", "A2_pandf", ":", "HInst", "<", "(", "outs", "IntRegs", ":", "$", "Rd32", ")", ",", "(", "ins", "PredRegs", ":", "$", "Pu4", ",", "IntRegs", ":", "$", "Rs32", ",", "IntRegs", ":", "$", "Rt32", ")", ",", "<STR_LIT>", ",", "tc_4c5ba658", ",", ...
LLVM
ARM64
TD
stmt_completion
CPU
12,224
[ "}", "=", "<NUM_LIT>", ";" ]
[ "let", "Inst", "{", "<NUM_LIT>", "}", "=", "Q", ";", "let", "Inst", "{", "<NUM_LIT>", "}", "=", "op", ";", "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "<NUM_LIT>", ";", "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "...
LLVM
Hexagon
TD
next_suggestion
DSP
12,225
[ "}" ]
[ "let", "Defs", "=", "[", "PC", "]", ";", "let", "InputType", "=", "<STR_LIT>", ";", "let", "BaseOpcode", "=", "<STR_LIT>", ";", "let", "isTaken", "=", "Inst", "{", "<NUM_LIT>", "}", ";", "let", "isExtendable", "=", "<NUM_LIT>", ";", "let", "opExtendable"...
LLVM
AMDGPU
CPP
stmt_completion
GPU
12,226
[ "VCC", ")", "{" ]
[ "}", "}", "if", "(", "MI", ".", "getOpcode", "(", ")", "==", "AMDGPU", "::", "S_NOP", "&&", "Next", "!=", "MBB", ".", "end", "(", ")", "&&", "(", "*", "Next", ")", ".", "getOpcode", "(", ")", "==", "AMDGPU", "::", "S_NOP", ")", "{", "MachineIns...
GCC
s390
CPP
stmt_completion
MPU
12,227
[ "s390_hotpatch_hw_after_label", ";" ]
[ "attr", "=", "lookup_attribute", "(", "<STR_LIT>", "hotpatch", "<STR_LIT>", ",", "DECL_ATTRIBUTES", "(", "decl", ")", ")", ";", "if", "(", "attr", ")", "{", "tree", "args", "=", "TREE_VALUE", "(", "attr", ")", ";", "*", "hw_before", "=", "TREE_INT_CST_LOW"...
GCC
arm
MD
stmt_completion
CPU
12,228
[ ")", "]" ]
[ "[", "(", "set", "(", "match_operand", ":", "V4HI", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", "(", "vec_merge", ":", "V4HI", "(", "vec_duplicate", ":", "V4HI", "(", "truncate", ":", "HI", "(", "match_operand", ":", "SI", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT...
LLVM
AMDGPU
CPP
stmt_completion
GPU
12,229
[ "(", "MI", ")", ")", ")", ")", "{" ]
[ "if", "(", "isVOP3", "(", "MI", ")", ")", "{", "legalizeOperandsVOP3", "(", "MRI", ",", "MI", ")", ";", "return", "CreatedBB", ";", "}", "if", "(", "isSMRD", "(", "MI", ")", ")", "{", "legalizeOperandsSMRD", "(", "MRI", ",", "MI", ")", ";", "return...
LLVM
ARM
TD
next_suggestion
CPU
12,230
[ "}" ]
[ "def", "AddrMode6AsmOperand", ":", "AsmOperandClass", "{", "let", "Name", "=", "<STR_LIT>", ";", "}", "def", "addrmode6", ":", "MemOperand", ",", "ComplexPattern", "<", "i32", ",", "<NUM_LIT>", ",", "<STR_LIT>", ",", "[", "]", ",", "[", "SDNPWantParent", "]"...
GCC
nds32
MD
next_suggestion
CPU
12,231
[ "}" ]
[ "case", "<NUM_LIT>", ":", "case", "<NUM_LIT>", ":", "case", "<NUM_LIT>", ":", "case", "<NUM_LIT>", ":", "case", "<NUM_LIT>", ":", "return", "nds32_output_16bit_load", "(", "operands", ",", "<", "byte", ">", ")", "case", "<NUM_LIT>", ":", "return", "nds32_outpu...
LLVM
Hexagon
CPP
next_suggestion
DSP
12,232
[ "return", "true", ";" ]
[ "if", "(", "getOptLevel", "(", ")", "!=", "CodeGenOpt", "::", "None", ")", "addPass", "(", "&", "IfConverterID", ")", ";", "addPass", "(", "createHexagonSplitConst32AndConst64", "(", "TM", ")", ")", ";", "printAndVerify", "(", "<STR_LIT>", "After hexagon split c...
GCC
arm
MD
next_suggestion
CPU
12,233
[ "<STR_LIT>" ]
[ "(", "define_insn", "<STR_LIT>", "[", "(", "set", "(", "match_operand", ":", "VDI", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", "(", "unspec", ":", "VDI", "[", "(", "match_operand", ":", "VDI", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", "(", "match_operand", ...
GCC
i386
MD
program_repair
CPU
12,234
[ "<FIXS>", "<STR_LIT>", "<FIXE>" ]
[ "(", "match_dup", "<NUM_LIT>", ")", "(", "const_int", "<NUM_LIT>", ")", ")", ")", "]", "<STR_LIT>", "<BUGS>", "<STR_LIT>", "<BUGE>", "[", "(", "set_attr", "<STR_LIT>", "<STR_LIT>", ")", "(", "set_attr", "<STR_LIT>", "<STR_LIT>", ")", "]", ")" ]
LLVM
Hexagon
TD
next_suggestion
DSP
12,235
[ "let", "opNewValue", "=", "<NUM_LIT>", ";" ]
[ "let", "isPredicatedFalse", "=", "<NUM_LIT>", ";", "let", "isTerminator", "=", "<NUM_LIT>", ";", "let", "isBranch", "=", "<NUM_LIT>", ";", "let", "isNewValue", "=", "<NUM_LIT>", ";", "let", "cofMax1", "=", "<NUM_LIT>", ";", "let", "isRestrictNoSlot1Store", "=", ...
LLVM
AMDGPU
CPP
next_suggestion
GPU
12,236
[ "case", "ISD", "::", "FMUL", ":" ]
[ "if", "(", "GlueChain", "->", "getNumValues", "(", ")", "<=", "<NUM_LIT>", ")", "{", "return", "DAG", ".", "getNode", "(", "Opcode", ",", "SL", ",", "VT", ",", "A", ",", "B", ",", "Flags", ")", ";", "}", "assert", "(", "GlueChain", "->", "getNumVal...
GCC
i386
CPP
stmt_completion
CPU
12,237
[ "B", ",", "(", "_", "_", "v8hi", ")", "_", "_", "W", ",", "(", "_", "_", "mmask8", ")", "_", "_", "U", ")", ";" ]
[ "extern", "_", "_", "inline", "_", "_", "m128i", "_", "_", "attribute__", "(", "(", "_", "_", "gnu_inline__", ",", "_", "_", "always_inline__", ",", "_", "_", "artificial__", ")", ")", "_", "mm_mask_mulhi_epi16", "(", "_", "_", "m128i", "_", "_", "W"...
LLVM
PowerPC
CPP
program_repair
CPU
12,238
[ "<FIXS>", "unsigned", "PPCCodeEmitter", "::", "getS16ImmEncoding", "(", "const", "MachineInstr", "&", "MI", ",", "unsigned", "OpNo", ")", "const", "{", "<FIXE>", "<FIXS>", "unsigned", "RelocID", ";", "switch", "(", "MO", ".", "getTargetFlags", "(", ")", "&", ...
[ "return", "<NUM_LIT>", ";", "}", "<BUGS>", "unsigned", "PPCCodeEmitter", "::", "getHA16Encoding", "(", "const", "MachineInstr", "&", "MI", ",", "unsigned", "OpNo", ")", "const", "{", "<BUGE>", "const", "MachineOperand", "&", "MO", "=", "MI", ".", "getOperand",...
LLVM
X86
CPP
next_suggestion
CPU
12,239
[ "initializeWinEHStatePassPass", "(", "PR", ")", ";" ]
[ "void", "LLVMInitializeX86Target", "(", ")", "{", "RegisterTargetMachine", "<", "X86TargetMachine", ">", "X", "(", "getTheX86_32Target", "(", ")", ")", ";", "RegisterTargetMachine", "<", "X86TargetMachine", ">", "Y", "(", "getTheX86_64Target", "(", ")", ")", ";", ...
LLVM
ARM
CPP
stmt_completion
CPU
12,240
[ ")", ")", "return", "MCDisassembler", "::", "Fail", ";" ]
[ "if", "(", "!", "Check", "(", "S", ",", "DecodeSPRRegisterClass", "(", "Inst", ",", "Vd", ",", "Address", ",", "Decoder", ")", ")", ")", "return", "MCDisassembler", "::", "Fail", ";", "for", "(", "unsigned", "i", "=", "<NUM_LIT>", ";", "i", "<", "(",...
LLVM
PowerPC
CPP
stmt_completion
CPU
12,241
[ "hasSubClassEq", "(", "RC", ")", ")", "{" ]
[ "if", "(", "PPC", "::", "GPRCRegClass", ".", "hasSubClassEq", "(", "RC", ")", "||", "PPC", "::", "GPRC_NOR0RegClass", ".", "hasSubClassEq", "(", "RC", ")", ")", "{", "NewMIs", ".", "push_back", "(", "addFrameReference", "(", "BuildMI", "(", "MF", ",", "D...
LLVM
Mips
CPP
next_suggestion
CPU
12,242
[ "}" ]
[ "Bits", "=", "<NUM_LIT>", ";", "Scale", "=", "<NUM_LIT>", ";", "isCond", "=", "true", ";", "break", ";", "case", "Mips", "::", "BtnezX16", ":", "UOpc", "=", "Mips", "::", "Bimm16", ";", "Bits", "=", "<NUM_LIT>", ";", "Scale", "=", "<NUM_LIT>", ";", "...
LLVM
ARM
CPP
stmt_completion
CPU
12,243
[ "(", "MCAF_Code32", ")", ";" ]
[ "OutStreamer", "->", "EmitThumbFunc", "(", "CurrentFnSym", ")", ";", "}", "else", "{", "OutStreamer", "->", "EmitAssemblerFlag" ]
GCC
z8k
MD
stmt_completion
MPU
12,244
[ ")", ")", "]" ]
[ "(", "match_operand", ":", "SPF", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>" ]
LLVM
Mips
CPP
stmt_completion
CPU
12,245
[ ")", "return", "SDValue", "(", ")", ";" ]
[ "if", "(", "DCI", ".", "isBeforeLegalizeOps", "(", ")", "||", "!", "Subtarget", ".", "hasExtractInsert", "(", ")", ")", "return", "SDValue", "(", ")", ";", "SDValue", "And0", "=", "N", "->", "getOperand", "(", "<NUM_LIT>", ")", ",", "And1", "=", "N", ...
GCC
pa
CPP
stmt_completion
CPU
12,246
[ "addr", ";" ]
[ "if", "(", "GET_CODE", "(", "XEXP", "(", "addr", ",", "<NUM_LIT>", ")", ")", "==", "REG", ")", "addr", "=", "XEXP", "(", "addr", ",", "<NUM_LIT>", ")", ";", "else", "if", "(", "GET_CODE", "(", "XEXP", "(", "addr", ",", "<NUM_LIT>", ")", ")", "=="...
LLVM
Hexagon
TD
stmt_completion
DSP
12,247
[ "]", ";" ]
[ "let", "isPredicatedFalse", "=", "<NUM_LIT>", ";", "let", "isTerminator", "=", "<NUM_LIT>", ";", "let", "isBranch", "=", "<NUM_LIT>", ";", "let", "isPredicatedNew", "=", "<NUM_LIT>", ";", "let", "cofRelax1", "=", "<NUM_LIT>", ";", "let", "cofRelax2", "=", "<NU...
GCC
mips
CPP
stmt_completion
CPU
12,248
[ ")", "{" ]
[ "static", "void", "mips_multi_start", "(", "void" ]
LLVM
AMDGPU
CPP
stmt_completion
GPU
12,249
[ "Value", ")", ";" ]
[ "void", "R600MCCodeEmitter", "::", "Emit", "(", "uint64_t", "Value", ",", "raw_ostream", "&", "OS", ")", "const", "{", "support", "::", "endian", "::", "Writer", "<", "support", "::", "little", ">", "(", "OS", ")", ".", "write", "(" ]
GCC
sh
CPP
next_suggestion
CPU
12,250
[ "rtx", "pset", ";" ]
[ "set", "=", "<NUM_LIT>", ";", "live", "=", "true", ";", "}", "else", "{", "set", "=", "<NUM_LIT>", ";", "live", "=", "false", ";", "}", "rtx_insn", "*", "insn", "=", "BB_HEAD", "(", "b", ")", ";", "rtx_insn", "*", "end", "=", "BB_END", "(", "b", ...
LLVM
Sparc
CPP
stmt_completion
CPU
12,251
[ "registerIndex", ")", ";" ]
[ "std", "::", "vector", "<", "int", ">", "UsedRegisters", ";", "protected", ":", "LEONMachineFunctionPass", "(", "TargetMachine", "&", "tm", ",", "char", "&", "ID", ")", ";", "LEONMachineFunctionPass", "(", "char", "&", "ID", ")", ";", "int", "GetRegIndexForO...
LLVM
Hexagon
CPP
next_suggestion
DSP
12,252
[ "return", "DAG", ".", "getNode", "(", "<STR_LIT>", "::", "<STR_LIT>", ",", "dl", ",", "ValTy", ",", "Res", ")", ";" ]
[ "SDValue", "Res", ";", "if", "(", "CP", "->", "isMachineConstantPoolEntry", "(", ")", ")", "Res", "=", "DAG", ".", "getTargetConstantPool", "(", "CP", "->", "getMachineCPVal", "(", ")", ",", "ValTy", ",", "CP", "->", "getAlignment", "(", ")", ")", ";", ...
LLVM
X86
CPP
next_suggestion
CPU
12,253
[ "unsigned", "CommutableOpIdx1", ";" ]
[ "}", "if", "(", "isMem", "(", "MI", ",", "LastCommutableVecOp", ")", ")", "LastCommutableVecOp", "--", ";", "if", "(", "SrcOpIdx1", "!=", "CommuteAnyOperandIndex", "&&", "(", "SrcOpIdx1", "<", "FirstCommutableVecOp", "||", "SrcOpIdx1", ">", "LastCommutableVecOp", ...
LLVM
Mips
CPP
next_suggestion
CPU
12,254
[ "}" ]
[ "addPass", "(", "createMipsSEISelDag", "(", "getMipsTargetMachine", "(", ")", ")", ")", ";", "return", "false", ";" ]
GCC
h8300
MD
stmt_completion
MPU
12,255
[ "(", "symbol_ref", "<STR_LIT>", ")", ")", "]", ")" ]
[ "<STR_LIT>", "[", "(", "set", "(", "attr", "<STR_LIT>", ")" ]
LLVM
ARM64
TD
stmt_completion
CPU
12,256
[ ";" ]
[ "class", "BaseOneOperandFPComparison", "<", "bit", "signalAllNans", ",", "RegisterClass", "regtype", ",", "string", "asm", ",", "list", "<", "dag", ">", "pat", ">", ":", "I", "<", "(", "outs", ")", ",", "(", "ins", "regtype", ":", "$", "Rn", ")", ",", ...
LLVM
PowerPC
CPP
program_repair
CPU
12,257
[ "<FIXS>", "Fixups", ".", "push_back", "(", "MCFixup", "::", "Create", "(", "IsLittleEndian", "?", "<NUM_LIT>", ":", "<NUM_LIT>", ",", "MO", ".", "getExpr", "(", ")", ",", "<FIXE>" ]
[ "return", "(", "(", "getMachineOpValue", "(", "MI", ",", "MO", ",", "Fixups", ",", "STI", ")", ">>", "<NUM_LIT>", ")", "&", "<NUM_LIT>", ")", "|", "RegBits", ";", "<BUGS>", "Fixups", ".", "push_back", "(", "MCFixup", "::", "Create", "(", "<NUM_LIT>", "...
LLVM
AMDGPU
CPP
code_generation
GPU
12,258
[ "StringRef", "getPassName", "(", ")", "const", "override", "{", "return", "<STR_LIT>", "R600 Control Flow Finalizer Pass", "<STR_LIT>", ";", "}" ]
[ "getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "." ]
LLVM
Hexagon
TD
next_suggestion
DSP
12,259
[ "let", "hasNewValue", "=", "<NUM_LIT>", ";" ]
[ "def", "A2_abssat", ":", "HInst", "<", "(", "outs", "IntRegs", ":", "$", "Rd32", ")", ",", "(", "ins", "IntRegs", ":", "$", "Rs32", ")", ",", "<STR_LIT>", ",", "tc_cf8126ae", ",", "TypeS_2op", ">", ",", "Enc_5e2823", "{", "let", "Inst", "{", "<NUM_LI...
GCC
rs6000
MD
next_suggestion
CPU
12,260
[ "<STR_LIT>", ")" ]
[ "[", "(", "set", "(", "match_dup", "<NUM_LIT>", ")", "(", "and", ":", "SI", "(", "lshiftrt", ":", "SI", "(", "match_dup", "<NUM_LIT>", ")", "(", "match_dup", "<NUM_LIT>", ")", ")", "(", "match_dup", "<NUM_LIT>", ")", ")", ")", "(", "set", "(", "match...
LLVM
AMDGPU
CPP
next_suggestion
GPU
12,261
[ "}" ]
[ "AMDGPUReplaceLDSUseWithPointer", "(", ")", ":", "ModulePass", "(", "ID", ")", "{", "initializeAMDGPUReplaceLDSUseWithPointerPass", "(", "*", "PassRegistry", "::", "getPassRegistry", "(", ")", ")", ";" ]
GCC
rs6000
CPP
stmt_completion
CPU
12,262
[ "<NUM_LIT>", ")", ")", ";" ]
[ "return", "(", "(", "_", "_", "m128", ")", "vec_ctf", "(", "(", "_", "_", "v4si", ")", "_", "_", "A", "," ]
GCC
rs6000
MD
next_suggestion
CPU
12,263
[ "(", "eq_attr", "<STR_LIT>", "<STR_LIT>", ")", ")", ")" ]
[ "(", "define_insn_reservation", "<STR_LIT>", "<NUM_LIT>", "(", "and", "(", "ior", "(", "eq_attr", "<STR_LIT>", "<STR_LIT>", ")", "(", "and", "(", "eq_attr", "<STR_LIT>", "<STR_LIT>", ")" ]
LLVM
Hexagon
TD
stmt_completion
DSP
12,264
[ ";" ]
[ "let", "Defs", "=", "[", "PC", "]", ";", "let", "InputType", "=", "<STR_LIT>", ";", "let", "BaseOpcode", "=", "<STR_LIT>", ";", "let", "isBarrier", "=", "<NUM_LIT>", ";", "let", "isPredicable", "=", "<NUM_LIT>", ";", "let", "isExtendable", "=", "<NUM_LIT>"...
LLVM
AArch64
CPP
code_generation
CPU
12,265
[ "TargetLowering", "::", "AtomicExpansionKind", "AArch64TargetLowering", "::", "shouldExpandAtomicRMWInIR", "(", "AtomicRMWInst", "*", "AI", ")", "const", "{", "unsigned", "Size", "=", "AI", "->", "getType", "(", ")", "->", "getPrimitiveSizeInBits", "(", ")", ";", ...
[ "Returns", "how", "the", "IR-level", "AtomicExpand", "pass", "should", "expand", "the", "given", "AtomicRMW", ",", "if", "at", "all", "." ]
GCC
arm
CPP
next_suggestion
CPU
12,266
[ "}" ]
[ "vst1q_lane_f16", "(", "float16_t", "*", "_", "_", "a", ",", "float16x8_t", "_", "_", "b", ",", "const", "int", "_", "_", "c", ")", "{", "_", "_", "builtin_neon_vst1_lanev8hf", "(", "_", "_", "a", ",", "_", "_", "b", ",", "_", "_", "c", ")", ";...
GCC
pa
MD
next_suggestion
CPU
12,267
[ "(", "const_int", "<NUM_LIT>", ")" ]
[ "(", "define_insn", "<STR_LIT>", "[", "(", "set", "(", "pc", ")", "(", "if_then_else", "(", "eq", "(", "zero_extract", ":", "SI", "(", "match_operand", ":", "SI", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", "(", "const_int", "<NUM_LIT>", ")", "(", "match_o...
GCC
frv
CPP
next_suggestion
VLIW
12,268
[ "break", ";" ]
[ "if", "(", "GET_CODE", "(", "src", ")", "==", "SYMBOL_REF", ")", "{", "enum", "tls_model", "model", "=", "SYMBOL_REF_TLS_MODEL", "(", "src", ")", ";", "if", "(", "model", "!=", "<NUM_LIT>", ")", "src", "=", "frv_legitimize_tls_address", "(", "src", ",", ...
LLVM
AArch64
CPP
stmt_completion
CPU
12,269
[ "<STR_LIT>", ":" ]
[ "case", "<STR_LIT>", "::", "<STR_LIT>", ":", "case", "<STR_LIT>", "::", "<STR_LIT>", ":", "return", "MF", ".", "getSubtarget", "<", "AArch64Subtarget", ">", "(", ")", ".", "isX18Reserved", "(", ")", ";", "case", "<STR_LIT>", "::", "<STR_LIT>", ":", "case", ...
LLVM
Mips
CPP
stmt_completion
CPU
12,270
[ "createReg", "(", "Reg", ")", ")", ";" ]
[ "static", "DecodeStatus", "DecodeAFGR64RegisterClass", "(", "MCInst", "&", "Inst", ",", "unsigned", "RegNo", ",", "uint64_t", "Address", ",", "const", "MCDisassembler", "*", "Decoder", ")", "{", "if", "(", "RegNo", ">", "<NUM_LIT>", "||", "RegNo", "%", "<NUM_L...
GCC
sh
MD
next_suggestion
CPU
12,271
[ "<STR_LIT>" ]
[ "(", "clobber", "(", "match_scratch", ":", "SI", "<NUM_LIT>", "<STR_LIT>", ")", ")", "(", "clobber", "(", "match_scratch", ":", "SI", "<NUM_LIT>", "<STR_LIT>", ")", ")", "]", "<STR_LIT>", "{", "return", "<STR_LIT>", "\t", "\t", "\t", "<STR_LIT>", "<STR_LIT>"...
GCC
i386
CPP
stmt_completion
CPU
12,272
[ "_", "_", "m128h", "_", "_", "D", ")", "{" ]
[ "extern", "_", "_", "inline", "_", "_", "m128h", "_", "_", "attribute__", "(", "(", "_", "_", "gnu_inline__", ",", "_", "_", "always_inline__", ",", "_", "_", "artificial__", ")", ")", "_", "mm_mask_mul_sh", "(", "_", "_", "m128h", "_", "_", "A", "...
LLVM
Hexagon
CPP
next_suggestion
DSP
12,273
[ "assert", "(", "ResourcesModel", "&&", "<STR_LIT>", "Unimplemented CreateTargetScheduleState.", "<STR_LIT>", ")", ";" ]
[ "VLIWResourceModel", "(", "const", "TargetMachine", "&", "TM", ",", "const", "TargetSchedModel", "*", "SM", ")", ":", "SchedModel", "(", "SM", ")", ",", "TotalPackets", "(", "<NUM_LIT>", ")", "{", "ResourcesModel", "=", "TM", ".", "getSubtargetImpl", "(", ")...
LLVM
CellSPU
CPP
next_suggestion
MPU
12,274
[ "return", "DAG", ".", "getNode", "(", "ISD", "::", "BUILD_VECTOR", ",", "dl", ",", "VT", ",", "T", ",", "T", ",", "T", ",", "T", ")", ";" ]
[ "APInt", "APSplatBits", ",", "APSplatUndef", ";", "unsigned", "SplatBitSize", ";", "bool", "HasAnyUndefs", ";", "if", "(", "!", "BCN", "->", "isConstantSplat", "(", "APSplatBits", ",", "APSplatUndef", ",", "SplatBitSize", ",", "HasAnyUndefs", ",", "minSplatBits", ...
LLVM
Hexagon
CPP
next_suggestion
DSP
12,275
[ "DEBUG", "(", "dbgs", "(", ")", "<<", "<STR_LIT>", "************* SelectionDAG after preprocessing: ***********\\n", "<STR_LIT>", ";" ]
[ "if", "(", "T0", ".", "getOpcode", "(", ")", "!=", "ISD", "::", "ADD", ")", "continue", ";", "SDValue", "T1", "=", "T0", ".", "getOperand", "(", "<NUM_LIT>", ")", ";", "SDValue", "T2", "=", "T0", ".", "getOperand", "(", "<NUM_LIT>", ")", ";", "if",...
LLVM
SNES
TD
stmt_completion
DSP
12,276
[ "<STR_LIT>", ",", "SDTIntShiftOp", ">", ";" ]
[ "def", "SNESlslLoop", ":", "SDNode", "<" ]
LLVM
AArch64
CPP
next_suggestion
CPU
12,277
[ "Op", "=", "DAG", ".", "getNode", "(", "<STR_LIT>", "::", "<STR_LIT>", ",", "DL", ",", "ContainerVT", ",", "Pg", ",", "SrcOp1", ",", "SrcOp2", ")", ";" ]
[ "EVT", "SrcVT", "=", "SrcOp1", ".", "getValueType", "(", ")", ";", "if", "(", "NumOperands", ">", "<NUM_LIT>", ")", "{", "SmallVector", "<", "SDValue", ",", "<NUM_LIT>", ">", "Ops", ";", "EVT", "PairVT", "=", "SrcVT", ".", "getDoubleNumVectorElementsVT", "...
LLVM
ARM
CPP
stmt_completion
CPU
12,278
[ "tMOVgpr2tgpr", ":" ]
[ "SrcSubIdx", "=", "DstSubIdx", "=", "<NUM_LIT>", ";", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "ARM", "::", "FCPYS", ":", "case", "ARM", "::", "FCPYD", ":", "case", "ARM", "::", "VMOVD", ":", ...
LLVM
AArch64
TD
stmt_completion
CPU
12,279
[ "UMSUBLrrr", "GPR32", ":", "$", "Rn", ",", "(", "MOVi32imm", "(", "trunc_imm", "imm", ":", "$", "C", ")", ")", ",", "XZR", ")", ">", ";" ]
[ "def", ":", "Pat", "<", "(", "i64", "(", "ineg", "(", "mul", "(", "zext", "GPR32", ":", "$", "Rn", ")", ",", "(", "i64imm_32bit", ":", "$", "C", ")", ")", ")", ")", ",", "(" ]
LLVM
SPIRV
TD
next_suggestion
Virtual ISA
12,280
[ "bits", "<", "<NUM_LIT>", ">", "Value", "=", "value", ";" ]
[ "class", "ImageChannelDataType", "<", "string", "name", ",", "bits", "<", "<NUM_LIT>", ">", "value", ">", "{", "string", "Name", "=", "name", ";" ]
GCC
loongarch
CPP
next_suggestion
CPU
12,281
[ "}" ]
[ "extern", "_", "_", "inline", "_", "_", "attribute__", "(", "(", "_", "_", "gnu_inline__", ",", "_", "_", "always_inline__", ",", "_", "_", "artificial__", ")", ")", "_", "_", "m256i", "_", "_", "lasx_xvssrarn_w_d", "(", "_", "_", "m256i", "_", "<NUM...
LLVM
X86
CPP
next_suggestion
CPU
12,282
[ "SDValue", "Cmov", "=", "DAG", ".", "getNode", "(", "<STR_LIT>", "::", "<STR_LIT>", ",", "DL", ",", "VT", ",", "TrueOp", ",", "FalseOp", ",", "N1", ".", "getOperand", "(", "<NUM_LIT>", ")", ",", "Cond", ")", ";" ]
[ "SDValue", "FalseOp", "=", "N1", ".", "getOperand", "(", "<NUM_LIT>", ")", ";", "SDValue", "TrueOp", "=", "N1", ".", "getOperand", "(", "<NUM_LIT>", ")", ";", "if", "(", "!", "(", "TrueOp", "==", "X", "&&", "FalseOp", "==", "NegX", ")", "&&", "!", ...
GCC
i386
MD
next_suggestion
CPU
12,283
[ "(", "set_attr", "<STR_LIT>", "<STR_LIT>", ")", "]", ")" ]
[ "(", "const_int", "<NUM_LIT>", ")", "(", "const_int", "<NUM_LIT>", ")", "(", "const_int", "<NUM_LIT>", ")", "(", "const_int", "<NUM_LIT>", ")", "(", "const_int", "<NUM_LIT>", ")", "(", "const_int", "<NUM_LIT>", ")", "]", ")", ")", ")", "]", "<STR_LIT>", "<...
LLVM
ARM64
TD
next_suggestion
CPU
12,284
[ "let", "ParserMatchClass", "=", "Imm1_16Operand", ";" ]
[ "def", "vecshiftR16", ":", "Operand", "<", "i32", ">", ",", "ImmLeaf", "<", "i32", ",", "[", "{", "return", "(", "(", "(", "uint32_t", ")", "Imm", ")", ">", "<NUM_LIT>", ")", "&", "&", "(", "(", "(", "uint32_t", ")", "Imm", ")", "<", "<NUM_LIT>",...
LLVM
Hexagon
TD
next_suggestion
DSP
12,285
[ "}" ]
[ "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "<NUM_LIT>", ";", "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "<NUM_LIT>", ";" ]
LLVM
AMDGPU
CPP
stmt_completion
GPU
12,286
[ "IntVal", ")", ")", "return", "MatchOperand_ParseFail", ";" ]
[ "if", "(", "getLexer", "(", ")", ".", "getKind", "(", ")", "==", "AsmToken", "::", "Minus", ")", "{", "Minus", "=", "true", ";", "Parser", ".", "Lex", "(", ")", ";", "}", "SMLoc", "S", "=", "Parser", ".", "getTok", "(", ")", ".", "getLoc", "(",...
GCC
mips
MD
stmt_completion
CPU
12,287
[ "operands", "[", "<NUM_LIT>", "]", ")" ]
[ "(", "define_insn_and_split", "<STR_LIT>", "[", "(", "set", "(", "match_operand", ":", "P", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", "(", "unspec", ":", "P", "[", "(", "match_operand", ":", "P", "<NUM_LIT>", ")", "(", "match_operand", ":", "P", "<NUM_LIT>...
LLVM
Hexagon
TD
next_suggestion
DSP
12,288
[ "let", "isCodeGenOnly", "=", "<NUM_LIT>", ";" ]
[ "def", "L2_loadalignb_zomap", ":", "HInst", "<", "(", "outs", "DoubleRegs", ":", "$", "Ryy32", ")", ",", "(", "ins", "DoubleRegs", ":", "$", "Ryy32in", ",", "IntRegs", ":", "$", "Rs32", ")", ",", "<STR_LIT>", ",", "tc_5ef37dc4", ",", "TypeMAPPING", ">", ...
LLVM
WebAssembly
CPP
stmt_completion
Virtual ISA
12,289
[ "MF", ")", ";" ]
[ "if", "(", "MF", ".", "getTarget", "(", ")", ".", "getMCAsmInfo", "(", ")", "->", "getExceptionHandlingType", "(", ")", "!=", "ExceptionHandling", "::", "Wasm", ")", "return", "false", ";", "bool", "Changed", "=", "false", ";", "Changed", "|=", "addRethrow...
LLVM
X86
CPP
stmt_completion
CPU
12,290
[ ",", "makeArrayRef", "(", "Vec", "->", "op_begin", "(", ")", "+", "IdxVal", ",", "ElemsPerChunk", ")", ")", ";" ]
[ "unsigned", "Factor", "=", "VT", ".", "getSizeInBits", "(", ")", "/", "vectorWidth", ";", "EVT", "ResultVT", "=", "EVT", "::", "getVectorVT", "(", "*", "DAG", ".", "getContext", "(", ")", ",", "ElVT", ",", "VT", ".", "getVectorNumElements", "(", ")", "...
GCC
bfin
CPP
code_generation
DSP
12,291
[ "static", "bool", "must_save_p", "(", "bool", "is_inthandler", ",", "unsigned", "regno", ")", "{", "if", "(", "D_REGNO_P", "(", "regno", ")", ")", "{", "bool", "is_eh_return_reg", "=", "false", ";", "if", "(", "crtl", "->", "calls_eh_return", ")", "{", "...
[ "For", "a", "given", "REGNO", ",", "determine", "whether", "it", "must", "be", "saved", "in", "the", "function", "prologue", ".", "IS_INTHANDLER", "specifies", "whether", "we", "'re", "generating", "a", "normal", "prologue", "or", "an", "interrupt/exception", ...
GCC
i386
MD
next_suggestion
CPU
12,292
[ "(", "const_int", "<NUM_LIT>", ")" ]
[ "(", "define_insn", "<STR_LIT>", "[", "(", "set", "(", "match_operand", ":", "V16HI", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", "(", "vec_select", ":", "V16HI", "(", "match_operand", ":", "V16HI", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", "(", "parallel", ...
GCC
i386
CPP
next_suggestion
CPU
12,293
[ "}" ]
[ "emit_insn", "(", "gen_andqi3", "(", "ret", ",", "gen_lowpart", "(", "QImode", ",", "tag", ")", ",", "gen_int_mode", "(", "and", "_", "imm", ",", "QImode", ")", ")", ")", ";", "}", "else", "emit_move_insn", "(", "ret", ",", "gen_lowpart", "(", "QImode"...
LLVM
ARM
CPP
next_suggestion
CPU
12,294
[ "lastInsIndex", "=", "index", ";" ]
[ "ARMFunctionInfo", "*", "AFI", "=", "MF", ".", "getInfo", "<", "ARMFunctionInfo", ">", "(", ")", ";", "SmallVector", "<", "CCValAssign", ",", "<NUM_LIT>", ">", "ArgLocs", ";", "ARMCCState", "CCInfo", "(", "CallConv", ",", "isVarArg", ",", "DAG", ".", "getM...
LLVM
AMDGPU
CPP
code_generation
GPU
12,295
[ "SDValue", "AMDGPUTargetLowering", "::", "SplitVectorLoad", "(", "const", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "LoadSDNode", "*", "Load", "=", "cast", "<", "LoadSDNode", ">", "(", "Op", ")", ";", "EVT", "VT", "=", "Op", "....
[ "Split", "a", "vector", "load", "into", "2", "loads", "of", "half", "the", "vector", "." ]
LLVM
AArch64
TD
next_suggestion
CPU
12,296
[ "}" ]
[ "class", "PCRelLabel", "<", "int", "N", ">", ":", "BranchTarget", "<", "N", ">", "{", "let", "Name", "=", "<STR_LIT>", "#", "N", ";" ]
GCC
rx
MD
stmt_completion
CPU
12,297
[ ")" ]
[ "<STR_LIT>", ")", ")", "(", "match_operand", ":", "SI", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", ")", ")", "]", "<STR_LIT>", "<STR_LIT>", "[", "(", "set_attr", "<STR_LIT>", "<STR_LIT>" ]
LLVM
ARM
CPP
stmt_completion
CPU
12,298
[ "<<", "pReloc", ".", "symInfo", "(", ")", "->", "name", "(", ")", ";" ]
[ "case", "llvm", "::", "ELF", "::", "R_ARM_TLS_DTPMOD32", ":", "case", "llvm", "::", "ELF", "::", "R_ARM_TLS_DTPOFF32", ":", "case", "llvm", "::", "ELF", "::", "R_ARM_TLS_TPOFF32", ":", "break", ";", "default", ":", "error", "(", "diag", "::", "non_pic_reloca...
LLVM
SystemZ
CPP
stmt_completion
CPU
12,299
[ ")", ";" ]
[ "if", "(", "!", "Stubs", ".", "empty", "(", ")", ")", "{", "OutStreamer", ".", "SwitchSection", "(", "TLOFELF", ".", "getDataRelSection", "(", ")", ")", ";", "const", "DataLayout", "*", "TD", "=", "TM", ".", "getDataLayout", "(", ")", ";", "for", "("...