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
sh
CPP
next_suggestion
CPU
37,100
[ "return", "dest_uid", ";" ]
[ "if", "(", "!", "dest", ")", "return", "<NUM_LIT>", ";", "int", "dest_uid", "=", "INSN_UID", "(", "dest", ")", ";", "while", "(", "dest_uid", ">=", "max_uid", ")", "{", "dest", "=", "NEXT_INSN", "(", "dest", ")", ";", "dest_uid", "=", "INSN_UID", "("...
GCC
csky
MD
next_suggestion
CPU
37,101
[ "(", "match_test", "<STR_LIT>", ")", ")", ")" ]
[ "<STR_LIT>", "(", "and", "(", "match_code", "<STR_LIT>", ")" ]
LLVM
Hexagon
TD
next_suggestion
DSP
37,102
[ "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "Rx32", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", ";" ]
[ "class", "Enc_152467", ":", "OpcodeHexagon", "{", "bits", "<", "<NUM_LIT>", ">", "Ii", ";", "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "Ii", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", ";", "bits", "<", "<NUM_LIT>", ">", "Rd32", ";", "le...
LLVM
X86
CPP
stmt_completion
CPU
37,103
[ "I", "]", ")", "{" ]
[ "auto", "CurSled", "=", "OutContext", ".", "createTempSymbol", "(", "<STR_LIT>", "xray_typed_event_sled_", "<STR_LIT>", ",", "true", ")", ";", "OutStreamer", "->", "AddComment", "(", "<STR_LIT>", "# XRay Typed Event Log", "<STR_LIT>", ")", ";", "OutStreamer", "->", ...
LLVM
X86
CPP
stmt_completion
CPU
37,104
[ "TRI", "->", "getRegSizeInBits", "(", "CMovRC", ")", "/", "<NUM_LIT>", ",", "!", "CMovI", ".", "memoperands_empty", "(", ")", ")", ")", ")", ";" ]
[ "MachineBasicBlock", "&", "MBB", "=", "*", "CMovI", ".", "getParent", "(", ")", ";", "insertTest", "(", "MBB", ",", "CMovI", ".", "getIterator", "(", ")", ",", "CMovI", ".", "getDebugLoc", "(", ")", ",", "CondReg", ")", ";", "auto", "&", "CMovRC", "=...
GCC
i386
CPP
stmt_completion
CPU
37,105
[ "mm_avx512_setzero_si128", "(", ")", ",", "(", "_", "_", "mmask8", ")", "_", "_", "U", ")", ";" ]
[ "extern", "_", "_", "inline", "_", "_", "m128i", "_", "_", "attribute__", "(", "(", "_", "_", "gnu_inline__", ",", "_", "_", "always_inline__", ",", "_", "_", "artificial__", ")", ")", "_", "mm_maskz_srav_epi32", "(", "_", "_", "mmask8", "_", "_", "U...
GCC
arm
MD
next_suggestion
CPU
37,106
[ "}" ]
[ "{", "HOST_WIDE_INT", "lane", "=", "NEON_ENDIAN_LANE_N", "(", "<", "MODE", ">", "mode", ",", "INTVAL", "(", "operands", "[", "<NUM_LIT>", "]", ")", ")", "int", "regno", "=", "REGNO", "(", "operands", "[", "<NUM_LIT>", "]", ")", "rtx", "ops", "[", "<NUM...
LLVM
ARM64
TD
stmt_completion
CPU
37,107
[ "let", "EncoderMethod", "=", "<STR_LIT>", ";" ]
[ "return", "(", "(", "(", "uint32_t", ")", "Imm", ")", ">", "<NUM_LIT>", ")", "&", "&", "(", "(", "(", "uint32_t", ")", "Imm", ")", "<", "<NUM_LIT>", ")", ";", "}", "]", ">", "{" ]
LLVM
AArch64
CPP
stmt_completion
CPU
37,108
[ "XOR", ":" ]
[ "case", "ISD", "::", "FP_ROUND", ":", "return", "LowerFP_ROUND", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "FP_EXTEND", ":", "return", "LowerFP_EXTEND", "(", "Op", ",", "DAG", ")", ";", "case", "ISD", "::", "FRAMEADDR", ":", "return", "Lowe...
LLVM
JVM
CPP
code_generation
Virtual ISA
37,109
[ "bool", "JVMInstrInfo", "::", "analyzeBranch", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "*", "&", "TBB", ",", "MachineBasicBlock", "*", "&", "FBB", ",", "SmallVectorImpl", "<", "MachineOperand", ">", "&", "Cond", ",", "bool", "AllowModify"...
[ "analyzeBranch", "-", "Analyze", "the", "branching", "code", "at", "the", "end", "of", "MBB", ",", "returning", "true", "if", "it", "can", "not", "be", "understood", "(", "e.g", "." ]
LLVM
X86
CPP
program_repair
CPU
37,110
[ "<FIXS>", "if", "(", "(", "(", "type", "->", "getPrimitiveSizeInBits", "(", ")", "==", "<NUM_LIT>", ")", "&&", "Subtarget", ".", "hasSSE1", "(", ")", ")", "||", "(", "(", "type", "->", "getPrimitiveSizeInBits", "(", ")", "==", "<NUM_LIT>", ")", "&&", "...
[ "case", "'", "z", "'", ":", "case", "'", "<NUM_LIT>", "'", ":", "<BUGS>", "if", "(", "(", "type", "->", "getPrimitiveSizeInBits", "(", ")", "==", "<NUM_LIT>", ")", "&&", "Subtarget", ".", "hasSSE1", "(", ")", ")", "<BUGE>", "return", "CW_SpecificReg", ...
LLVM
ARM
CPP
next_suggestion
CPU
37,111
[ "case", "<STR_LIT>", "::", "<STR_LIT>", ":", "return", "<STR_LIT>", "ARMISD::VQSHLu", "<STR_LIT>", ";" ]
[ "case", "<STR_LIT>", "::", "<STR_LIT>", ":", "return", "<STR_LIT>", "ARMISD::FMSTAT", "<STR_LIT>", ";", "case", "<STR_LIT>", "::", "<STR_LIT>", ":", "return", "<STR_LIT>", "ARMISD::CMOV", "<STR_LIT>", ";", "case", "<STR_LIT>", "::", "<STR_LIT>", ":", "return", "<S...
LLVM
X86
CPP
next_suggestion
CPU
37,112
[ "FS", "=", "Key", ".", "substr", "(", "FSStart", ")", ";" ]
[ "if", "(", "PreferVecWidthAttr", ".", "isValid", "(", ")", ")", "{", "StringRef", "Val", "=", "PreferVecWidthAttr", ".", "getValueAsString", "(", ")", ";", "unsigned", "Width", ";", "if", "(", "!", "Val", ".", "getAsInteger", "(", "<NUM_LIT>", ",", "Width"...
LLVM
Hexagon
CPP
stmt_completion
DSP
37,113
[ ")", ";" ]
[ "return", "createHexagonELFObjectWriter", "(", "OS", ",", "OSABI", ",", "CPU" ]
LLVM
Hexagon
TD
stmt_completion
DSP
37,114
[ "<NUM_LIT>", ";" ]
[ "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "<NUM_LIT>", ";", "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "<NUM_LIT>", ";", "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "<NUM_LIT>", ";", "let", "hasNewVal...
LLVM
Sparc
CPP
next_suggestion
CPU
37,115
[ "Ops", ".", "push_back", "(", "Result", ")", ";" ]
[ "if", "(", "isInt", "<", "<NUM_LIT>", ">", "(", "C", "->", "getSExtValue", "(", ")", ")", ")", "{", "Result", "=", "DAG", ".", "getTargetConstant", "(", "C", "->", "getSExtValue", "(", ")", ",", "Op", ".", "getValueType", "(", ")", ")", ";", "break...
LLVM
Hexagon
TD
stmt_completion
DSP
37,116
[ "=", "<NUM_LIT>", ";" ]
[ "def", "A4_vcmpweqi", ":", "HInst", "<", "(", "outs", "PredRegs", ":", "$", "Pd4", ")", ",", "(", "ins", "DoubleRegs", ":", "$", "Rss32", ",", "s8_0Imm", ":", "$", "Ii", ")", ",", "<STR_LIT>", ",", "tc_643b4717", ",", "TypeALU64", ">", ",", "Enc_0d8a...
LLVM
X86
CPP
program_repair
CPU
37,117
[ "<FIXS>", "case", "X86", "::", "RETQ", ":", "case", "X86", "::", "RETL", ":", "<FIXE>" ]
[ "switch", "(", "RetOpcode", ")", "{", "default", ":", "llvm_unreachable", "(", "<STR_LIT>", "Can only insert epilog into returning blocks", "<STR_LIT>", ")", ";", "<BUGS>", "case", "X86", "::", "RET", ":", "<BUGE>", "case", "X86", "::", "RETI", ":", "case", "X86...
LLVM
PowerPC
CPP
next_suggestion
CPU
37,118
[ "return", "ScoreboardHazardRecognizer", "::", "PreEmitNoops", "(", "SU", ")", ";" ]
[ "unsigned", "Directive", "=", "DAG", "->", "MF", ".", "getSubtarget", "<", "PPCSubtarget", ">", "(", ")", ".", "getDarwinDirective", "(", ")", ";", "if", "(", "Directive", "==", "PPC", "::", "DIR_PWR6", "||", "Directive", "==", "PPC", "::", "DIR_PWR7", "...
LLVM
ARM
CPP
stmt_completion
CPU
37,119
[ "{" ]
[ "bool", "isTargetDarwin", "(", ")", "const" ]
LLVM
AArch64
CPP
next_suggestion
CPU
37,120
[ "return", "DCI", ".", "DAG", ".", "getNode", "(", "ISD", "::", "EXTRACT_SUBVECTOR", ",", "DL", ",", "VT", ",", "SDValue", "(", "LN", ",", "<NUM_LIT>", ")", ",", "DCI", ".", "DAG", ".", "getConstant", "(", "<NUM_LIT>", ",", "DL", ",", "MVT", "::", "...
[ "EVT", "VT", "=", "N", "->", "getValueType", "(", "<NUM_LIT>", ")", ";", "SDLoc", "DL", "(", "N", ")", ";", "if", "(", "VT", ".", "is64BitVector", "(", ")", "&&", "DCI", ".", "isAfterLegalizeDAG", "(", ")", ")", "{", "EVT", "LVT", "=", "VT", ".",...
GCC
tilegx
MD
next_suggestion
VLIW
37,121
[ "<STR_LIT>" ]
[ "[", "(", "set", "(", "match_operand", ":", "DI", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", "(", "zero_extend", ":", "DI", "(", "match_operand", ":", "SI", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", ")", ")", "]", "<STR_LIT>" ]
GCC
rs6000
MD
stmt_completion
CPU
37,122
[ "<STR_LIT>", ")", ")" ]
[ "(", "define_attr", "<STR_LIT>", "<STR_LIT>", "(", "const_string" ]
GCC
i386
CPP
next_suggestion
CPU
37,123
[ "}" ]
[ "extern", "_", "_", "inline", "_", "_", "m128d", "_", "_", "attribute__", "(", "(", "_", "_", "gnu_inline__", ",", "_", "_", "always_inline__", ",", "_", "_", "artificial__", ")", ")", "_", "mm_frcz_pd", "(", "_", "_", "m128d", "_", "_", "A", ")", ...
LLVM
AMDGPU
CPP
next_suggestion
GPU
37,124
[ "const", "unsigned", "MemSize", "=", "(", "Size", "+", "<NUM_LIT>", ")", "/", "<NUM_LIT>", ";" ]
[ "GISelChangeObserver", "&", "Observer", "=", "Helper", ".", "Observer", ";", "Register", "Dst", "=", "MI", ".", "getOperand", "(", "<NUM_LIT>", ")", ".", "getReg", "(", ")", ";", "LLT", "Ty", "=", "B", ".", "getMRI", "(", ")", "->", "getType", "(", "...
LLVM
AArch64
CPP
next_suggestion
CPU
37,125
[ "setOperationAction", "(", "ISD", "::", "CONCAT_VECTORS", ",", "VT", ",", "Legal", ")", ";" ]
[ "if", "(", "VT", ".", "isFloatingPoint", "(", ")", ")", "{", "MVT", "PromoteTo", "=", "EVT", "(", "VT", ")", ".", "changeVectorElementTypeToInteger", "(", ")", ".", "getSimpleVT", "(", ")", ";", "setOperationPromotedToType", "(", "ISD", "::", "LOAD", ",", ...
LLVM
Hexagon
TD
stmt_completion
DSP
37,126
[ "<NUM_LIT>", ";" ]
[ "def", "F2_sfmpy", ":", "HInst", "<", "(", "outs", "IntRegs", ":", "$", "Rd32", ")", ",", "(", "ins", "IntRegs", ":", "$", "Rs32", ",", "IntRegs", ":", "$", "Rt32", ")", ",", "<STR_LIT>", ",", "tc_3b470976", ",", "TypeM", ">", ",", "Enc_5ab2be", "{...
LLVM
ARM
CPP
stmt_completion
CPU
37,127
[ ",", "State", ",", "SRegList", ")", ";" ]
[ "static", "bool", "CC_ARM_AAPCS_VFP_Custom_f16", "(", "unsigned", "ValNo", ",", "MVT", "ValVT", ",", "MVT", "LocVT", ",", "CCValAssign", "::", "LocInfo", "LocInfo", ",", "ISD", "::", "ArgFlagsTy", "ArgFlags", ",", "CCState", "&", "State", ")", "{", "return", ...
GCC
arm
MD
stmt_completion
CPU
37,128
[ ")", ")", "]" ]
[ "<STR_LIT>", "<STR_LIT>", "<STR_LIT>", "[", "(", "set", "(", "match_dup", "<NUM_LIT>", ")", "(", "match_dup", "<NUM_LIT>", ")", ")", "(", "cond_exec", "(", "match_dup", "<NUM_LIT>", ")", "(", "set", "(", "match_dup", "<NUM_LIT>", ")", "(", "const_int", "<NUM...
GCC
pa
MD
stmt_completion
CPU
37,129
[ "<STR_LIT>", ")", ")", ")", ")", ")" ]
[ "[", "(", "set", "(", "match_operand", ":", "HI", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", "(", "zero_extend", ":", "HI", "(", "mem", ":", "QI", "(", "plus", ":", "SI", "(", "match_operand", ":", "SI", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", "(", ...
GCC
i386
CPP
next_suggestion
CPU
37,130
[ "tree", "symbol_decl", "=", "SYMBOL_REF_DECL", "(", "call_op", ")", ";" ]
[ "static", "bool", "ix86_nopic_noplt_attribute_p", "(", "rtx", "call_op", ")", "{", "if", "(", "flag_pic", "||", "ix86_cmodel", "==", "CM_LARGE", "||", "!", "(", "TARGET_64BIT", "||", "HAVE_AS_IX86_GOT32X", ")", "||", "TARGET_MACHO", "||", "TARGET_SEH", "||", "TA...
GCC
iq2000
MD
stmt_completion
CPU
37,131
[ "]", ")" ]
[ "(", "match_operand", ":", "SI", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", ")", ")", "]", "<STR_LIT>", "<STR_LIT>", "[", "(", "set_attr", "<STR_LIT>", "\t", "<STR_LIT>", ")", "(", "set_attr", "<STR_LIT>", "\t", "<STR_LIT>", ")" ]
LLVM
ARM
CPP
next_suggestion
CPU
37,132
[ "}" ]
[ "static", "inline", "bool", "isMovRegOpcode", "(", "int", "Opc", ")", "{", "return", "Opc", "==", "ARM", "::", "MOVr", "||", "Opc", "==", "ARM", "::", "tMOVr", "||", "Opc", "==", "ARM", "::", "t2MOVr", ";" ]
LLVM
X86
CPP
stmt_completion
CPU
37,133
[ "scale factor in address must be 1, 2, 4 or 8", "<STR_LIT>", ")", ";" ]
[ "SMLoc", "ExprEnd", ";", "getLexer", "(", ")", ".", "UnLex", "(", "AsmToken", "(", "AsmToken", "::", "LParen", ",", "<STR_LIT>", "(", "<STR_LIT>", ")", ")", ";", "if", "(", "getParser", "(", ")", ".", "parseExpression", "(", "Disp", ",", "ExprEnd", ")"...
LLVM
X86
CPP
next_suggestion
CPU
37,134
[ "return", "Cond", ";" ]
[ "if", "(", "N0", ".", "getOpcode", "(", ")", "!=", "ISD", "::", "TRUNCATE", "||", "!", "N0", ".", "hasOneUse", "(", ")", ")", "return", "SDValue", "(", ")", ";", "if", "(", "!", "isOneConstant", "(", "N1", ")", ")", "return", "SDValue", "(", ")",...
LLVM
Hexagon
CPP
next_suggestion
DSP
37,135
[ "return", "false", ";" ]
[ "MBB", ".", "erase", "(", "MI", ")", ";", "MRI", ".", "clearKillFlags", "(", "Src1SubHi", ")", ";", "MRI", ".", "clearKillFlags", "(", "Src1SubLo", ")", ";", "MRI", ".", "clearKillFlags", "(", "Src2SubHi", ")", ";", "MRI", ".", "clearKillFlags", "(", "...
GCC
mips
CPP
next_suggestion
CPU
37,136
[ "if", "(", "FP_REG_P", "(", "regno", ")", "&&", "mips_mode_ok_for_mov_fmt_p", "(", "mode", ")", ")", "return", "NO_REGS", ";" ]
[ "if", "(", "reg_class_subset_p", "(", "rclass", ",", "FP_REGS", ")", ")", "{", "if", "(", "regno", "<", "<NUM_LIT>", "||", "(", "MEM_P", "(", "x", ")", "&&", "(", "GET_MODE_SIZE", "(", "mode", ")", "==", "<NUM_LIT>", "||", "GET_MODE_SIZE", "(", "mode",...
LLVM
AArch64
TD
stmt_completion
CPU
37,137
[ "width", ";" ]
[ "let", "SuperClasses", "=", "[", "ShifterOperand", "]", ";", "let", "Name", "=", "<STR_LIT>", "#" ]
LLVM
AMDGPU
CPP
code_generation
GPU
37,138
[ "bool", "GCNNSAReassign", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "ST", "=", "&", "MF", ".", "getSubtarget", "<", "GCNSubtarget", ">", "(", ")", ";", "if", "(", "!", "ST", "->", "hasNSAEncoding", "(", ")", "||", "!", ...
[ "runOnMachineFunction", "-", "Emit", "the", "function", "body", "." ]
GCC
sh
MD
next_suggestion
CPU
37,139
[ "<STR_LIT>" ]
[ "(", "sign_extend", ":", "SI", "(", "mem", ":", "QI", "(", "plus", ":", "SI", "(", "match_dup", "<NUM_LIT>", ")", "(", "match_operand", ":", "SI", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", ")", ")", ")", ")", "(", "set", "(", "match_operand", ":", ...
LLVM
ARM
CPP
next_suggestion
CPU
37,140
[ "}" ]
[ "static", "bool", "RetCC_ARM_AAPCS_Custom_f64", "(", "unsigned", "&", "ValNo", ",", "MVT", "&", "ValVT", ",", "MVT", "&", "LocVT", ",", "CCValAssign", "::", "LocInfo", "&", "LocInfo", ",", "ISD", "::", "ArgFlagsTy", "&", "ArgFlags", ",", "CCState", "&", "S...
LLVM
AArch64
TD
stmt_completion
CPU
37,141
[ "f64", "FPR64", ":", "$", "Rm", ")", ")", ")", "]", ">", "{" ]
[ "def", "Drr", ":", "BaseTwoOperandFPData", "<", "opcode", ",", "FPR64", ",", "asm", ",", "[", "(", "set", "(", "f64", "FPR64", ":", "$", "Rd", ")", ",", "(", "node", "(", "f64", "FPR64", ":", "$", "Rn", ")", ",", "(" ]
LLVM
AMDGPU
TD
program_repair
GPU
37,142
[ "<FIXS>", "FeatureWavefrontSize32", ",", "FeatureShaderCyclesRegister", "]", ">", ";", "<FIXE>" ]
[ "FeatureDot5Insts", ",", "FeatureDot6Insts", ",", "FeatureNSAEncoding", ",", "<BUGS>", "FeatureWavefrontSize32", "]", ">", ";", "<BUGE>" ]
GCC
m32c
CPP
next_suggestion
MPU
37,143
[ "debug_rtx", "(", "x", ")", ";" ]
[ "else", "if", "(", "GET_MODE_SIZE", "(", "GET_MODE", "(", "x", ")", ")", ">", "<NUM_LIT>", "&&", "~", "class_contents", "[", "rclass", "]", "[", "<NUM_LIT>", "]", "&", "<NUM_LIT>", ")", "new", "class", "=", "DI_REGS", ";", "rclass", "=", "reduce_class", ...
LLVM
AArch64
CPP
stmt_completion
CPU
37,144
[ ")", ")", ";" ]
[ "if", "(", "*", "UI", "!=", "N", ")", "return", "SDValue", "(", ")", ";", "}", "SDValue", "Addr", "=", "LD", "->", "getOperand", "(", "<NUM_LIT>", ")", ";", "SDValue", "Vector", "=", "N", "->", "getOperand", "(", "<NUM_LIT>", ")", ";", "for", "(", ...
LLVM
R600
CPP
code_generation
GPU
37,145
[ "bool", "AMDGPUAsmBackend", "::", "writeNopData", "(", "uint64_t", "Count", ",", "MCObjectWriter", "*", "OW", ")", "const", "{", "for", "(", "unsigned", "i", "=", "<NUM_LIT>", ";", "i", "<", "Count", ";", "++", "i", ")", "OW", "->", "Write8", "(", "<NU...
[ "Write", "an", "(", "optimal", ")", "nop", "sequence", "of", "Count", "bytes", "to", "the", "given", "output", "." ]
GCC
i386
CPP
stmt_completion
CPU
37,146
[ "_", "_", "P", ")", ";" ]
[ "extern", "_", "_", "inline", "_", "_", "m128d", "_", "_", "attribute__", "(", "(", "_", "_", "gnu_inline__", ",", "_", "_", "always_inline__", ",", "_", "_", "artificial__", ")", ")", "_", "mm_load1_pd", "(", "double", "const", "*", "_", "_", "P", ...
GCC
mep
CPP
next_suggestion
CPU
37,147
[ "break", ";" ]
[ "return", "true", ";", "}", "return", "false", ";", "case", "CODE_FOR_mulsi3r", ":", "case", "CODE_FOR_maddsi3r", ":", "extract_insn", "(", "insn", ")", ";", "return", "rtx_equal_p", "(", "recog_data", ".", "operand", "[", "<NUM_LIT>", "]", ",", "gpr", ")", ...
GCC
fr30
MD
stmt_completion
DSP
37,148
[ "<STR_LIT>", ")", ")", ")" ]
[ "(", "define_insn", "<STR_LIT>", "[", "(", "set", "(", "match_operand", ":", "SI", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", "(", "and", ":", "SI", "(", "match_operand", ":", "SI", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", "(", "match_operand", ":", "SI"...
LLVM
X86
CPP
code_generation
CPU
37,149
[ "static", "bool", "hasReassociableSibling", "(", "const", "MachineInstr", "&", "Inst", ",", "bool", "&", "Commuted", ")", "{", "const", "MachineBasicBlock", "*", "MBB", "=", "Inst", ".", "getParent", "(", ")", ";", "const", "MachineRegisterInfo", "&", "MRI", ...
[ "Return", "true", "when", "\\P", "Inst", "has", "reassociable", "sibling", "." ]
GCC
arm
CPP
next_suggestion
CPU
37,150
[ "}" ]
[ "_", "_", "arm_vqrdmladhq", "(", "int32x4_t", "_", "_", "inactive", ",", "int32x4_t", "_", "_", "a", ",", "int32x4_t", "_", "_", "b", ")", "{", "return", "_", "_", "arm_vqrdmladhq_s32", "(", "_", "_", "inactive", ",", "_", "_", "a", ",", "_", "_", ...
LLVM
AMDGPU
CPP
next_suggestion
GPU
37,151
[ "}" ]
[ "bool", "isKImmFP32", "(", ")", "const", "{", "return", "isLiteralImm", "(", "MVT", "::", "f32", ")", ";" ]
LLVM
X86
CPP
stmt_completion
CPU
37,152
[ ")", ";" ]
[ "return", "Len", "<=", "(", "Subtarget", "->", "is64Bit", "(", ")", "?", "<NUM_LIT>", ":", "<NUM_LIT>" ]
LLVM
SystemZ
TD
stmt_completion
CPU
37,153
[ "<NUM_LIT>", "}", "=", "<NUM_LIT>", ";" ]
[ "field", "bits", "<", "<NUM_LIT>", ">", "Inst", ";", "field", "bits", "<", "<NUM_LIT>", ">", "SoftFail", "=", "<NUM_LIT>", ";", "bits", "<", "<NUM_LIT>", ">", "R1", ";", "bits", "<", "<NUM_LIT>", ">", "R3", ";", "bits", "<", "<NUM_LIT>", ">", "RI2", ...
LLVM
SystemZ
CPP
stmt_completion
CPU
37,154
[ "(", ")", ";" ]
[ "if", "(", "Branch", "->", "getOpcode", "(", ")", "!=", "<STR_LIT>", "::", "<STR_LIT>", "||", "Branch", "->", "getOperand", "(", "<NUM_LIT>", ")", ".", "getImm", "(", ")", "!=", "<STR_LIT>", "::", "<STR_LIT>", "||", "Branch", "->", "getOperand", "(", "<N...
LLVM
ARM64
TD
next_suggestion
CPU
37,155
[ "}" ]
[ "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "<NUM_LIT>", ";", "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "Rm", ";", "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "cond", ";", "let", "Inst", "{", "<NUM...
LLVM
AArch64
TD
stmt_completion
CPU
37,156
[ "<NUM_LIT>", ",", "<NUM_LIT>", ">", ";" ]
[ "def", ":", "RWSysReg", "<", "<STR_LIT>", ",", "<NUM_LIT>", ",", "<NUM_LIT>", ",", "<NUM_LIT>", "," ]
LLVM
Mips
CPP
next_suggestion
CPU
37,157
[ "}" ]
[ "assert", "(", "I", "->", "getOperand", "(", "<NUM_LIT>", ")", ".", "isReg", "(", ")", "&&", "I", "->", "getOperand", "(", "<NUM_LIT>", ")", ".", "isFI", "(", ")", ")", ";", "const", "TargetRegisterClass", "*", "RC", "=", "RegInfo", ".", "intRegClass",...
GCC
mips
MD
next_suggestion
CPU
37,158
[ "(", "eq_attr", "<STR_LIT>", "<STR_LIT>", ")" ]
[ "(", "define_insn_reservation", "<STR_LIT>", "<NUM_LIT>", "(", "and", "(", "eq_attr", "<STR_LIT>", "<STR_LIT>", ")" ]
LLVM
PowerPC
TD
stmt_completion
CPU
37,159
[ ";" ]
[ "def", "PPCU3ImmAsmOperand", ":", "AsmOperandClass", "{", "let", "Name", "=", "<STR_LIT>", ";", "let", "PredicateMethod", "=", "<STR_LIT>", ";", "let", "RenderMethod", "=", "<STR_LIT>" ]
LLVM
AArch64
CPP
next_suggestion
CPU
37,160
[ "bool", "res", "=", "processLogicalImmediate", "(", "imm", ",", "regSize", ",", "encoding", ")", ";" ]
[ "static", "inline", "uint64_t", "encodeLogicalImmediate", "(", "uint64_t", "imm", ",", "unsigned", "regSize", ")", "{", "uint64_t", "encoding", "=", "<NUM_LIT>", ";" ]
GCC
mips
MD
stmt_completion
CPU
37,161
[ ")" ]
[ "[", "(", "set", "(", "match_operand", ":", "VWHB", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", "(", "ior", ":", "VWHB", "(", "match_operand", ":", "VWHB", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", "(", "match_operand", ":", "VWHB", "<NUM_LIT>", "<STR_LIT>",...
GCC
sparc
MD
stmt_completion
CPU
37,162
[ "<STR_LIT>", ")" ]
[ "(", "define_cpu_unit", "<STR_LIT>", "<STR_LIT>", ")", "(", "define_cpu_unit", "<STR_LIT>", "<STR_LIT>", ")", "(", "define_cpu_unit", "<STR_LIT>" ]
LLVM
Hexagon
CPP
stmt_completion
DSP
37,163
[ "Max", ";" ]
[ "return", "Min", ">" ]
GCC
i386
CPP
program_repair
CPU
37,164
[ "<FIXS>", "if", "(", "!", "SAVED_REGS_FIRST", ")", "ix86_emit_save_regs", "(", ")", ";", "<FIXE>" ]
[ "CALL_INSN_FUNCTION_USAGE", "(", "insn", ")", ")", ";", "}", "<BUGS>", "ix86_emit_save_regs", "(", ")", ";", "<BUGE>", "#", "ifdef", "SUBTARGET_PROLOGUESUBTARGET_PROLOGUE", ";", "#", "endif" ]
LLVM
TOY
CPP
code_generation
CPU
37,165
[ "bool", "TOYPreRegAlloc", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "DEBUG", "(", "dbgs", "(", ")", "<<", "<STR_LIT>", "********* TOY PreRegAlloc *********\\n", "<STR_LIT>", ")", ";", "bool", "Changed", "=", "false", ";", "Changed"...
[ "runOnMachineFunction", "-", "Emit", "the", "function", "body", "." ]
LLVM
X86
CPP
next_suggestion
CPU
37,166
[ "if", "(", "TmpReg", "==", "<NUM_LIT>", ")", "return", "false", ";" ]
[ "case", "CmpInst", "::", "FCMP_TRUE", ":", "fastEmitBranch", "(", "TrueMBB", ",", "DbgLoc", ")", ";", "return", "true", ";", "}", "const", "Value", "*", "CmpLHS", "=", "CI", "->", "getOperand", "(", "<NUM_LIT>", ")", ";", "const", "Value", "*", "CmpRHS",...
LLVM
AArch64
TD
stmt_completion
CPU
37,167
[ "<", "<NUM_LIT>", ">", ";" ]
[ "def", "uimm12s2", ":", "uimm12_scaled" ]
LLVM
Mips
CPP
stmt_completion
CPU
37,168
[ ";" ]
[ "unsigned", "Value", "=", "getMachineOpValue", "(", "MI", ",", "MI", ".", "getOperand", "(", "OpNo", ")", ",", "Fixups", ",", "STI", ")", ";", "Value", "-=", "Offset", ";", "return", "Value" ]
LLVM
X86
TD
program_repair
CPU
37,169
[ "<FIXS>", "let", "Constraints", "=", "<STR_LIT>", ",", "SchedRW", "=", "[", "WriteALU", "]", "in", "{", "<FIXE>" ]
[ "let", "CodeSize", "=", "<NUM_LIT>", "in", "{", "let", "Defs", "=", "[", "EFLAGS", "]", "in", "{", "<BUGS>", "let", "Constraints", "=", "<STR_LIT>", "in", "{", "<BUGE>", "def", "NEG8r", ":", "I", "<NUM_LIT>", ",", "MRM3r", ",", "(", "outs", "GR8", ":...
LLVM
PowerPC
CPP
program_repair
CPU
37,170
[ "<FIXS>", "Fixups", ".", "push_back", "(", "MCFixup", "::", "Create", "(", "<NUM_LIT>", ",", "MO", ".", "getExpr", "(", ")", ",", "<FIXE>" ]
[ "if", "(", "MO", ".", "isReg", "(", ")", "||", "MO", ".", "isImm", "(", ")", ")", "return", "getMachineOpValue", "(", "MI", ",", "MO", ",", "Fixups", ")", ";", "<BUGS>", "Fixups", ".", "push_back", "(", "MCFixup", "::", "Create", "(", "<NUM_LIT>", ...
GCC
sparc
MD
stmt_completion
CPU
37,171
[ "]", ")" ]
[ "(", "match_operand", ":", "DI", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", ")", ")", ")", ")", "]", "<STR_LIT>", "<STR_LIT>", "[", "(", "set_attr", "<STR_LIT>", "<STR_LIT>", ")", "(", "set_attr", "<STR_LIT>", "<STR_LIT>", ")" ]
GCC
rs6000
CPP
stmt_completion
CPU
37,172
[ ")", ")", ";" ]
[ "tree_vector_builder", "elts", "(", "permute_type", ",", "VECTOR_CST_NELTS", "(", "arg0", ")", ",", "<NUM_LIT>", ")", ";", "for", "(", "int", "i", "=", "<NUM_LIT>", ";", "i", "<", "midpoint", ";", "i", "++", ")", "{", "elts", ".", "safe_push", "(", "bu...
GCC
i386
CPP
stmt_completion
CPU
37,173
[ "_", "_", "A", ",", "_", "_", "R", ")", ";" ]
[ "_", "mm_cvt_roundsh_u64", "(", "_", "_", "m128h", "_", "_", "A", ",", "const", "int", "_", "_", "R", ")", "{", "return", "(", "long", "long", ")", "_", "_", "builtin_ia32_vcvtsh2usi64_round", "(" ]
LLVM
AMDGPU
CPP
next_suggestion
GPU
37,174
[ "return", "DAG", ".", "getMergeValues", "(", "{", "Value", ",", "Status", ",", "SDValue", "(", "Op", ".", "getNode", "(", ")", ",", "<NUM_LIT>", ")", "}", ",", "DL", ")", ";" ]
[ "MachineMemOperand", "*", "OpDWordsMMO", "=", "MF", ".", "getMachineMemOperand", "(", "MMO", ",", "<NUM_LIT>", ",", "NumOpDWords", "*", "<NUM_LIT>", ")", ";", "SDValue", "Op", "=", "getMemIntrinsicNode", "(", "Opcode", ",", "DL", ",", "OpDWordsVTList", ",", "O...
LLVM
Hexagon
TD
next_suggestion
DSP
37,175
[ "let", "isExtendable", "=", "<NUM_LIT>", ";" ]
[ "let", "isTerminator", "=", "<NUM_LIT>", ";", "let", "isBranch", "=", "<NUM_LIT>", ";", "let", "isPredicatedNew", "=", "<NUM_LIT>", ";", "let", "cofRelax1", "=", "<NUM_LIT>", ";", "let", "cofRelax2", "=", "<NUM_LIT>", ";", "let", "cofMax1", "=", "<NUM_LIT>", ...
GCC
loongarch
MD
stmt_completion
CPU
37,176
[ ")", ")" ]
[ "(", "and", "(", "match_code", "<STR_LIT>", ")", "(", "match_test", "<STR_LIT>", ")" ]
LLVM
SystemZ
TD
next_suggestion
CPU
37,177
[ "}" ]
[ "class", "CondBranchRX", "<", "string", "mnemonic", ",", "bits", "<", "<NUM_LIT>", ">", "opcode", ">", ":", "InstRXb", "<", "opcode", ",", "(", "outs", ")", ",", "(", "ins", "cond4", ":", "$", "valid", ",", "cond4", ":", "$", "M1", ",", "bdxaddr12onl...
LLVM
WebAssembly
CPP
code_generation
Virtual ISA
37,178
[ "static", "std", "::", "string", "toString", "(", "const", "APFloat", "&", "FP", ")", "{", "if", "(", "FP", ".", "isNaN", "(", ")", "&&", "!", "FP", ".", "bitwiseIsEqual", "(", "APFloat", "::", "getQNaN", "(", "FP", ".", "getSemantics", "(", ")", "...
[ "Convert", "to", "a", "decimal", "representation", "in", "a", "string", "." ]
LLVM
AArch64
CPP
next_suggestion
CPU
37,179
[ "return", "SDValue", "(", "LitAddr", ",", "<NUM_LIT>", ")", ";" ]
[ "}", "case", "CodeModel", "::", "Large", ":", "{", "SDNode", "*", "LitAddr", ";", "LitAddr", "=", "CurDAG", "->", "getMachineNode", "(", "<STR_LIT>", "::", "<STR_LIT>", ",", "DL", ",", "PtrVT", ",", "CurDAG", "->", "getTargetConstantPool", "(", "CV", ",", ...
LLVM
X86
CPP
next_suggestion
CPU
37,180
[ "}" ]
[ "SDValue", "SizeNode", "=", "DAG", ".", "getConstant", "(", "Flags", ".", "getByValSize", "(", ")", ",", "MVT", "::", "i32", ")", ";", "return", "DAG", ".", "getMemcpy", "(", "Chain", ",", "dl", ",", "Dst", ",", "Src", ",", "SizeNode", ",", "Flags", ...
LLVM
X86
CPP
stmt_completion
CPU
37,181
[ "(", ")", "{" ]
[ "FunctionPass", "*", "llvm", "::", "createX86DynAllocaExpander" ]
LLVM
SystemZ
TD
next_suggestion
CPU
37,182
[ "let", "Inst", "{", "<NUM_LIT>", "}", "=", "V3", "{", "<NUM_LIT>", "}", ";" ]
[ "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "V1", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", ";", "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "V2", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", ";", "let", "Inst", "{", "<NU...
GCC
i386
CPP
stmt_completion
CPU
37,183
[ "ix86_avoid_jump_mispredicts", "(", ")", ";" ]
[ "if", "(", "TARGET_PAD_SHORT_FUNCTION", ")", "ix86_pad_short_function", "(", ")", ";", "else", "if", "(", "TARGET_PAD_RETURNS", ")", "ix86_pad_returns", "(", ")", ";", "if", "(", "TARGET_FOUR_JUMP_LIMIT", ")" ]
LLVM
ARM
CPP
stmt_completion
CPU
37,184
[ ")", ".", "getValueAsString", "(", ")", ".", "getAsInteger", "(", "<NUM_LIT>", ",", "StackProbeSize", ")", ";" ]
[ "const", "MachineFrameInfo", "&", "MFI", "=", "MF", ".", "getFrameInfo", "(", ")", ";", "const", "Function", "*", "F", "=", "MF", ".", "getFunction", "(", ")", ";", "unsigned", "StackProbeSize", "=", "(", "MFI", ".", "getStackProtectorIndex", "(", ")", "...
GCC
microblaze
CPP
code_generation
MPU
37,185
[ "static", "void", "microblaze_block_move_straight", "(", "rtx", "dest", ",", "rtx", "src", ",", "HOST_WIDE_INT", "length", ")", "{", "HOST_WIDE_INT", "offset", ",", "delta", ";", "unsigned", "HOST_WIDE_INT", "bits", ";", "int", "i", ";", "machine_mode", "mode", ...
[ "Emit", "straight-line", "code", "to", "move", "LENGTH", "bytes", "from", "SRC", "to", "DEST", ".", "Assume", "that", "the", "areas", "do", "not", "overlap", "." ]
LLVM
Hexagon
TD
next_suggestion
DSP
37,186
[ "bits", "<", "<NUM_LIT>", ">", "Rx32", ";" ]
[ "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "Ii", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", ";", "bits", "<", "<NUM_LIT>", ">", "Mu2", ";", "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "Mu2", "{", "<NUM_LIT>", "-", "<N...
GCC
mmix
CPP
program_repair
CPU
37,187
[ "<FIXS>", "#", "undef", "TARGET_OPTION_OPTIMIZATION_TABLE", "#", "define", "TARGET_OPTION_OPTIMIZATION_TABLE", "mmix_option_optimization_table", "<FIXE>" ]
[ "#", "undef", "TARGET_OPTION_OVERRIDE", "#", "define", "TARGET_OPTION_OVERRIDE", "mmix_option_override", "<BUGS>", "#", "undef", "TARGET_OPTION_OPTIMIZATION", "#", "define", "TARGET_OPTION_OPTIMIZATION", "mmix_option_optimization", "<BUGE>", "struct", "gcc_target", "targetm", "...
GCC
i386
MD
next_suggestion
CPU
37,188
[ "<STR_LIT>" ]
[ "(", "define_expand", "<STR_LIT>", "[", "(", "match_operand", ":", "<", "sseunpackmode", ">", "<NUM_LIT>", "<STR_LIT>", ")", "(", "any_extend", ":", "<", "sseunpackmode", ">", "(", "match_operand", ":", "VI4_AVX512F", "<NUM_LIT>", "<STR_LIT>", ")", ")", "(", "...
GCC
rs6000
CPP
next_suggestion
CPU
37,189
[ "}" ]
[ "extern", "_", "_", "inline", "int", "_", "_", "attribute__", "(", "(", "_", "_", "gnu_inline__", ",", "_", "_", "always_inline__", ",", "_", "_", "artificial__", ")", ")", "_", "mm_comige_ss", "(", "_", "_", "m128", "_", "_", "A", ",", "_", "_", ...
LLVM
Hexagon
TD
next_suggestion
DSP
37,190
[ "let", "opExtentAlign", "=", "<NUM_LIT>", ";" ]
[ "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "<NUM_LIT>", ";", "let", "isPredicated", "=", "<NUM_LIT>", ";", "let", "isPredicatedFalse", "=", "<NUM_LIT>", ";", "let", "isTerminator", "=", "<NUM_LIT>", ";", "let", "isBranch", "=", "<NUM_LIT>", ...
GCC
lm32
MD
next_suggestion
MPU
37,191
[ "<STR_LIT>" ]
[ "[", "(", "set", "(", "match_operand", ":", "QI", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", "(", "match_operand", ":", "QI", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", ")", "]", "<STR_LIT>" ]
GCC
arm
MD
next_suggestion
CPU
37,192
[ "(", "match_test", "<STR_LIT>", ")", ")", ")" ]
[ "(", "define_special_predicate", "<STR_LIT>", "(", "and", "(", "match_operand", "<NUM_LIT>", "<STR_LIT>", ")" ]
LLVM
WebAssembly
CPP
code_generation
Virtual ISA
37,193
[ "SDValue", "WebAssemblyTargetLowering", "::", "LowerOperation", "(", "SDValue", "Op", ",", "SelectionDAG", "&", "DAG", ")", "const", "{", "SDLoc", "DL", "(", "Op", ")", ";", "switch", "(", "Op", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "llvm...
[ "LowerOperation", "-", "Provide", "custom", "lowering", "hooks", "for", "some", "operations", "." ]
LLVM
Hexagon
TD
next_suggestion
DSP
37,194
[ "let", "isPredicatedNew", "=", "<NUM_LIT>", ";" ]
[ "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "<NUM_LIT>", ";", "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "<NUM_LIT>", ";", "let", "isPredicated", "=", "<NUM_LIT>", ";", "let", "isPredicatedFalse", "=", "<NUM_LIT>", ";", "...
GCC
sparc
MD
stmt_completion
CPU
37,195
[ ")", "]" ]
[ "(", "zero_extend", ":", "DI", "(", "mem", ":", "HI", "(", "plus", ":", "DI", "(", "unspec", ":", "DI", "[", "(", "match_operand", ":", "SI", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", "(", "match_operand", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>" ]
LLVM
ARM64
TD
stmt_completion
CPU
37,196
[ "}", "=", "<NUM_LIT>", ";" ]
[ "let", "Inst", "{", "<NUM_LIT>" ]
GCC
i386
MD
stmt_completion
CPU
37,197
[ ")" ]
[ "(", "set", "(", "attr", "<STR_LIT>", ")", "(", "if_then_else", "(", "eq", "(", "const_string", "<STR_LIT>", ")", "(", "const_string", "<STR_LIT>", ")", ")", "(", "const_string", "<STR_LIT>", ")", "(", "const_string", "<STR_LIT>", ")", ")" ]
LLVM
Hexagon
TD
stmt_completion
DSP
37,198
[ "<NUM_LIT>", ";" ]
[ "def", "A2_satb", ":", "HInst", "<", "(", "outs", "IntRegs", ":", "$", "Rd32", ")", ",", "(", "ins", "IntRegs", ":", "$", "Rs32", ")", ",", "<STR_LIT>", ",", "tc_0ae0825c", ",", "TypeS_2op", ">", ",", "Enc_5e2823", "{", "let", "Inst", "{", "<NUM_LIT>...
LLVM
Z80
CPP
next_suggestion
MPU
37,199
[ "}" ]
[ "bool", "has16BitEZ80Ops", "(", ")", "const", "{", "return", "is16Bit", "(", ")", "&&", "hasEZ80Ops", "(", ")", ";" ]