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
Patmos
CPP
stmt_completion
VLIW
3,400
[ "(", ")", ")", ";" ]
[ "MachineModulePass", "(", "ID", ")", ",", "STC", "(", "*", "tm", ".", "getSubtargetImpl", "(", ")", ")", ",", "TII", "(", "*", "tm", ".", "getInstrInfo", "(", ")", ")", ",", "SCAGraph", "(", "STC", ")", ",", "BI", "(", "BoundsFile", ")", "{", "in...
LLVM
X86
CPP
next_suggestion
CPU
3,401
[ "}" ]
[ "return", "CSR_64_RT_AllRegs_RegMask", ";", "case", "CallingConv", "::", "CXX_FAST_TLS", ":", "if", "(", "Is64Bit", ")", "return", "CSR_64_TLS_Darwin_RegMask", ";", "break", ";", "case", "CallingConv", "::", "Intel_OCL_BI", ":", "{", "if", "(", "HasAVX512", "&&", ...
GCC
i386
CPP
next_suggestion
CPU
3,402
[ "insn", "=", "BB_HEAD", "(", "dest_blk", ")", ";" ]
[ "for", "(", "insn", "=", "BB_HEAD", "(", "bb", ")", ";", "insn", "!=", "NEXT_INSN", "(", "BB_END", "(", "bb", ")", ")", ";", "insn", "=", "NEXT_INSN", "(", "insn", ")", ")", "{", "if", "(", "CALL_P", "(", "insn", ")", ")", "{", "if", "(", "fi...
LLVM
AArch64
TD
stmt_completion
CPU
3,403
[ "=", "<STR_LIT>", ";" ]
[ "def", "MovWSymbolG0AsmOperand", ":", "AsmOperandClass", "{", "let", "Name" ]
LLVM
M680x0
CPP
stmt_completion
MPU
3,404
[ ";" ]
[ "bool", "getRestoreBasePointer", "(", ")", "const", "{", "return", "RestoreBasePointerOffset", "!=", "<NUM_LIT>" ]
LLVM
X86
TD
program_repair
CPU
3,405
[ "<FIXS>", "def", "PSm_Int", ":", "PSI", "opc", ",", "MRMSrcMem", ",", "(", "outs", "VR128", ":", "$", "dst", ")", ",", "(", "ins", "f128mem", ":", "$", "src", ")", ",", "<FIXE>" ]
[ "}", "<BUGS>", "def", "PSm_Int", ":", "PSI", "opc", ",", "MRMSrcMem", ",", "(", "outs", "VR128", ":", "$", "dst", ")", ",", "(", "ins", "f32mem", ":", "$", "src", ")", ",", "<BUGE>", "!", "strconcat", "(", "OpcodeStr", ",", "<STR_LIT>", ")", ",", ...
LLVM
AArch64
CPP
code_generation
CPU
3,406
[ "bool", "AArch64TargetLowering", "::", "shouldReduceLoadWidth", "(", "SDNode", "*", "Load", ",", "ISD", "::", "LoadExtType", "ExtTy", ",", "EVT", "NewVT", ")", "const", "{", "if", "(", "!", "TargetLoweringBase", "::", "shouldReduceLoadWidth", "(", "Load", ",", ...
[ "Return", "true", "if", "we", "believe", "it", "is", "correct", "and", "profitable", "to", "reduce", "the", "load", "node", "to", "a", "smaller", "type", "." ]
GCC
cris
MD
program_repair
MPU
3,407
[ "<FIXS>", "(", "match_test", "<STR_LIT>", ")", ")", ")", "<FIXE>" ]
[ "(", "define_predicate", "<STR_LIT>", "(", "and", "(", "match_code", "<STR_LIT>", ")", "<BUGS>", "(", "match_test", "<STR_LIT>", ")", ")", ")", "<BUGE>", "(", "define_predicate", "<STR_LIT>", "(", "and", "(", "match_code", "<STR_LIT>", ")" ]
GCC
rs6000
MD
program_repair
CPU
3,408
[ "<FIXS>", "[", "(", "clobber", "(", "reg", ":", "P", "LR_REGNO", ")", ")", "<FIXE>" ]
[ "(", "define_insn", "<STR_LIT>", "[", "(", "match_parallel", "<NUM_LIT>", "<STR_LIT>", "<BUGS>", "[", "(", "clobber", "(", "reg", ":", "P", "<NUM_LIT>", ")", ")", "<BUGE>", "(", "use", "(", "match_operand", ":", "P", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")...
LLVM
ARM64
CPP
code_generation
CPU
3,409
[ "bool", "ARM64InstrInfo", "::", "isGPRCopy", "(", "const", "MachineInstr", "*", "MI", ")", "const", "{", "switch", "(", "MI", "->", "getOpcode", "(", ")", ")", "{", "default", ":", "break", ";", "case", "TargetOpcode", "::", "COPY", ":", "{", "unsigned",...
[ "Does", "this", "instruction", "rename", "a", "GPR", "without", "modifying", "bits", "?" ]
LLVM
R600
CPP
next_suggestion
GPU
3,410
[ "}" ]
[ "std", "::", "vector", "<", "int64_t", ">", "::", "iterator", "It", "=", "std", "::", "find", "(", "Lits", ".", "begin", "(", ")", ",", "Lits", ".", "end", "(", ")", ",", "Imm", ")", ";", "if", "(", "It", "!=", "Lits", ".", "end", "(", ")", ...
LLVM
SystemZ
TD
next_suggestion
CPU
3,411
[ "let", "M6", "=", "m6", ";" ]
[ "class", "TernaryVRRd", "<", "string", "mnemonic", ",", "bits", "<", "<NUM_LIT>", ">", "opcode", ",", "SDPatternOperator", "operator", ",", "TypedReg", "tr1", ",", "TypedReg", "tr2", ",", "bits", "<", "<NUM_LIT>", ">", "type", "=", "<NUM_LIT>", ",", "bits", ...
LLVM
X86
CPP
code_generation
CPU
3,412
[ "SDValue", "X86TargetLowering", "::", "EmitTargetCodeForMemset", "(", "SelectionDAG", "&", "DAG", ",", "DebugLoc", "dl", ",", "SDValue", "Chain", ",", "SDValue", "Dst", ",", "SDValue", "Src", ",", "SDValue", "Size", ",", "unsigned", "Align", ",", "const", "Val...
[ "Emit", "target-specific", "code", "that", "performs", "a", "memset", "." ]
GCC
rs6000
MD
next_suggestion
CPU
3,413
[ "else", "if", "(", "TARGET_VSX", ")" ]
[ "<STR_LIT>", "{", "if", "(", "FLOAT128_IEEE_P", "(", "<", "MODE", ">", "mode", ")", ")", "rs6000_expand_float128_convert", "(", "operands", "[", "<NUM_LIT>", "]", ",", "operands", "[", "<NUM_LIT>", "]", ",", "false", ")" ]
GCC
h8300
CPP
stmt_completion
MPU
3,414
[ ",", "<NUM_LIT>", ")", ")", ";" ]
[ "h8300_print_operand_address", "(", "file", ",", "mode", ",", "XEXP", "(", "addr", ",", "<NUM_LIT>", ")", ")", ";", "fprintf", "(", "file", ",", "<STR_LIT>", ",", "<STR_LIT>", ")", ";", "switch", "(", "size", ")", "{", "case", "<NUM_LIT>", ":", "h8300_pr...
LLVM
AMDGPU
CPP
stmt_completion
GPU
3,415
[ "=", "NewPtr", ";" ]
[ "unsigned", "PtrIdx", "=", "getBasePtrIndex", "(", "N", ")", ";", "SDValue", "Ptr", "=", "N", "->", "getOperand", "(", "PtrIdx", ")", ";", "if", "(", "Ptr", ".", "getOpcode", "(", ")", "==", "ISD", "::", "SHL", ")", "{", "SDValue", "NewPtr", "=", "...
LLVM
PowerPC
CPP
next_suggestion
CPU
3,416
[ "assert", "(", "I", "!=", "MBB", ".", "begin", "(", ")", "&&", "<STR_LIT>", "loadRegFromStackSlot didn't insert any code!", "<STR_LIT>", ")", ";" ]
[ "if", "(", "CR2Spilled", "||", "CR3Spilled", "||", "CR4Spilled", ")", "{", "bool", "is31", "=", "needsFP", "(", "*", "MF", ")", ";", "restoreCRs", "(", "is31", ",", "CR2Spilled", ",", "CR3Spilled", ",", "CR4Spilled", ",", "MBB", ",", "I", ",", "CSI", ...
GCC
arm
CPP
program_repair
CPU
3,417
[ "<FIXS>", "int", "op1cost", "=", "rtx_cost", "(", "XEXP", "(", "x", ",", "<NUM_LIT>", ")", ",", "mode", ",", "SET", ",", "<NUM_LIT>", ",", "speed_p", ")", ";", "int", "op2cost", "=", "rtx_cost", "(", "XEXP", "(", "x", ",", "<NUM_LIT>", ")", ",", "m...
[ "*", "cost", "=", "COSTS_N_INSNS", "(", "<NUM_LIT>", ")", ";", "return", "true", ";", "}", "<BUGS>", "int", "op1cost", "=", "rtx_cost", "(", "XEXP", "(", "x", ",", "<NUM_LIT>", ")", ",", "SET", ",", "<NUM_LIT>", ",", "speed_p", ")", ";", "int", "op2c...
GCC
aarch64
MD
stmt_completion
CPU
3,418
[ ")", "]", ")" ]
[ "(", "define_int_attr", "unspec", "[", "(", "UNSPEC_WHILERW", "<STR_LIT>", ")", "(", "UNSPEC_WHILEWR", "<STR_LIT>" ]
LLVM
WebAssembly
CPP
code_generation
Virtual ISA
3,419
[ "const", "char", "*", "getPassName", "(", ")", "const", "override", "{", "return", "<STR_LIT>", "WebAssembly Argument Move", "<STR_LIT>", ";", "}" ]
[ "getPassName", "-", "Return", "a", "nice", "clean", "name", "for", "a", "pass", "." ]
LLVM
AArch64
TD
next_suggestion
CPU
3,420
[ "}" ]
[ "return", "(", "(", "(", "uint32_t", ")", "Imm", ")", ">", "<NUM_LIT>", ")", "&", "&", "(", "(", "(", "uint32_t", ")", "Imm", ")", "<", "<NUM_LIT>", ")", ";", "}", "]", ">", "{", "let", "EncoderMethod", "=", "<STR_LIT>", ";", "let", "DecoderMethod"...
LLVM
ARM
TD
program_repair
CPU
3,421
[ "<FIXS>", "def", "MVE_SQSHL", ":", "MVE_ScalarShiftSRegImm", "<STR_LIT>", ",", "<NUM_LIT>", ">", ";", "def", "MVE_SRSHR", ":", "MVE_ScalarShiftSRegImm", "<STR_LIT>", ",", "<NUM_LIT>", ">", ";", "def", "MVE_UQSHL", ":", "MVE_ScalarShiftSRegImm", "<STR_LIT>", ",", "<N...
[ "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "<NUM_LIT>", ";", "}", "<BUGS>", "def", "t2SQSHL", ":", "t2MVEShiftSRegImm", "<STR_LIT>", ",", "<NUM_LIT>", ">", ";", "def", "t2SRSHR", ":", "t2MVEShiftSRegImm", "<STR_LIT>", ",", "<NUM_LIT>", ">", ...
GCC
mips
CPP
program_repair
CPU
3,422
[ "<FIXS>", "if", "(", "TUNE_SB1", ")", "<FIXE>" ]
[ "mips_multipass_dfa_lookahead", "(", "void", ")", "{", "<BUGS>", "if", "(", "mips_tune", "==", "PROCESSOR_SB1", ")", "<BUGE>", "return", "<NUM_LIT>", ";", "return", "<NUM_LIT>", ";", "}" ]
GCC
i386
MD
program_repair
CPU
3,423
[ "<FIXS>", "(", "and", "(", "eq_attr", "<STR_LIT>", "<STR_LIT>", ")", "<FIXE>" ]
[ "(", "eq_attr", "<STR_LIT>", "<STR_LIT>", ")", ")", "<STR_LIT>", ")", "(", "define_insn_reservation", "<STR_LIT>", "<NUM_LIT>", "<BUGS>", "(", "and", "(", "eq_attr", "<STR_LIT>", "<STR_LIT>", ")", "<BUGE>", "(", "eq_attr", "<STR_LIT>", "<STR_LIT>", ")", ")", "<S...
LLVM
AMDGPU
TD
next_suggestion
GPU
3,424
[ "let", "has_data1", "=", "<NUM_LIT>", ";" ]
[ "class", "DS_1A", "<", "string", "opName", ">", ":", "DS_Pseudo", "<", "opName", ",", "(", "outs", ")", ",", "(", "ins", "VGPR_32", ":", "$", "addr", ",", "offset", ":", "$", "offset", ",", "gds", ":", "$", "gds", ")", ",", "<STR_LIT>", ">", "{",...
LLVM
Patmos
CPP
code_generation
VLIW
3,425
[ "bool", "PatmosBypassFromPML", "::", "runOnMachineFunction", "(", "MachineFunction", "&", "MF", ")", "{", "if", "(", "!", "EnableBypassFromPML", ")", "return", "false", ";", "PMLImport", "&", "PI", "=", "getAnalysis", "<", "PMLImport", ">", "(", ")", ";", "P...
[ "runOnMachineFunction", "-", "Emit", "the", "function", "body", "." ]
LLVM
AMDGPU
CPP
next_suggestion
GPU
3,426
[ "}" ]
[ "bool", "AMDGPUInstructionSelector", "::", "selectGlobalAtomicFaddIntrinsic", "(", "MachineInstr", "&", "MI", ")", "const", "{", "MachineBasicBlock", "*", "MBB", "=", "MI", ".", "getParent", "(", ")", ";", "const", "DebugLoc", "&", "DL", "=", "MI", ".", "getDe...
GCC
aarch64
MD
next_suggestion
CPU
3,427
[ "(", "const_int", "<NUM_LIT>", ")", ")", ")" ]
[ "<STR_LIT>", "{", "if", "(", "get_attr_length", "(", "insn", ")", "=", "=", "<NUM_LIT>", ")", "{", "if", "(", "get_attr_far_branch", "(", "insn", ")", "=", "=", "<NUM_LIT>", ")", "return", "aarch64_gen_far_branch", "(", "operands", ",", "<NUM_LIT>", ",", "...
LLVM
SystemZ
TD
next_suggestion
CPU
3,428
[ "}" ]
[ "bits", "<", "<NUM_LIT>", ">", "BD1", ";", "bits", "<", "<NUM_LIT>", ">", "I2", ";", "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "op", ";", "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "BD1", ";", "let", "Inst", "{"...
LLVM
Hexagon
TD
stmt_completion
DSP
3,429
[ "<NUM_LIT>", ";" ]
[ "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "<NUM_LIT>", ";", "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "<NUM_LIT>", ";", "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=" ]
LLVM
ARM
CPP
stmt_completion
CPU
3,430
[ "->", "RealOpc", "==", "ARM", "::", "VST1d16Twb_fixed", "||", "TableEntry", "->", "RealOpc", "==", "ARM", "::", "VST1d32Twb_fixed", "||", "TableEntry", "->", "RealOpc", "==", "ARM", "::", "VST1d64Twb_fixed", ")", "{" ]
[ "const", "NEONLdStTableEntry", "*", "TableEntry", "=", "LookupNEONLdSt", "(", "MI", ".", "getOpcode", "(", ")", ")", ";", "assert", "(", "TableEntry", "&&", "!", "TableEntry", "->", "IsLoad", "&&", "<STR_LIT>", "NEONLdStTable lookup failed", "<STR_LIT>", ")", ";...
LLVM
Mips
CPP
next_suggestion
CPU
3,431
[ "unsigned", "ATReg", "=", "getATReg", "(", "IDLoc", ")", ";" ]
[ "else", "TOut", ".", "emitII", "(", "Mips", "::", "BREAK", ",", "<NUM_LIT>", ",", "<NUM_LIT>", ",", "IDLoc", ",", "STI", ")", ";", "return", "false", ";", "}", "if", "(", "ImmValue", "==", "<NUM_LIT>", ")", "{", "TOut", ".", "emitRRR", "(", "Mips", ...
LLVM
JVM
CPP
stmt_completion
Virtual ISA
3,432
[ ";" ]
[ "static", "bool", "isAllocationCandidate", "(", "const", "JVMInstrInfo", "*", "TII", ",", "MachineInstr", "*", "MI", ")", "{", "if", "(", "MI", "->", "isReturn", "(", ")", ")", "return", "false", ";", "if", "(", "MI", "->", "skipAllocation", "(", ")", ...
GCC
i386
MD
next_suggestion
CPU
3,433
[ "<STR_LIT>" ]
[ "(", "compare", ":", "CCC", "(", "plus", ":", "SWI", "(", "match_operand", ":", "SWI", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", "(", "match_operand", ":", "SWI", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", ")", "(", "match_dup", "<NUM_LIT>", ")", ")", "...
LLVM
Hexagon
TD
next_suggestion
DSP
3,434
[ "}" ]
[ "let", "isExtended", "=", "<NUM_LIT>", ";", "let", "CextOpcode", "=", "<STR_LIT>", ";", "let", "InputType", "=", "<STR_LIT>", ";", "let", "DecoderNamespace", "=", "<STR_LIT>", ";", "let", "isExtendable", "=", "<NUM_LIT>", ";", "let", "opExtendable", "=", "<NUM...
GCC
arm
CPP
stmt_completion
CPU
3,435
[ "a", ")", "{" ]
[ "vreinterpret_u32_bf16", "(", "bfloat16x4_t", "_", "_" ]
LLVM
ARM
TD
next_suggestion
CPU
3,436
[ "}" ]
[ "let", "ParserMethod", "=", "<STR_LIT>", ";", "let", "RenderMethod", "=", "<STR_LIT>", ";" ]
LLVM
Hexagon
TD
stmt_completion
DSP
3,437
[ ":", "InstrItinClass", ";" ]
[ "def", "tc_2b8da4c2" ]
LLVM
AMDGPU
CPP
next_suggestion
GPU
3,438
[ "return", "AMDGPUTargetLowering", "::", "PerformDAGCombine", "(", "N", ",", "DCI", ")", ";" ]
[ "if", "(", "A", "==", "RHS", ".", "getOperand", "(", "<NUM_LIT>", ")", ")", "{", "const", "SDValue", "NegTwo", "=", "DAG", ".", "getConstantFP", "(", "-", "<NUM_LIT>", ",", "DL", ",", "MVT", "::", "f32", ")", ";", "return", "DAG", ".", "getNode", "...
GCC
rs6000
MD
stmt_completion
CPU
3,439
[ "<STR_LIT>", ")", ")" ]
[ "(", "define_insn_reservation", "<STR_LIT>", "<NUM_LIT>", "(", "and", "(", "eq_attr", "<STR_LIT>", "<STR_LIT>", ")", "(", "eq_attr", "<STR_LIT>" ]
GCC
aarch64
MD
next_suggestion
CPU
3,440
[ "<STR_LIT>" ]
[ "(", "match_operand", ":", "DI", "<NUM_LIT>", "<STR_LIT>", ")", "(", "match_operand", ":", "DI", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", "(", "match_operand", ":", "SVE_2", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", "]", "UNSPEC_ST1_SCATTER", ")", ")", "]" ...
LLVM
AArch64
CPP
next_suggestion
CPU
3,441
[ "case", "<STR_LIT>", "::", "<STR_LIT>", ":" ]
[ "static", "unsigned", "getMatchingWideOpcode", "(", "unsigned", "Opc", ")", "{", "switch", "(", "Opc", ")", "{", "default", ":", "llvm_unreachable", "(", "<STR_LIT>", "Opcode has no wide equivalent!", "<STR_LIT>", ")", ";", "case", "<STR_LIT>", "::", "<STR_LIT>", ...
GCC
s390
MD
stmt_completion
MPU
3,442
[ "const_int", "<NUM_LIT>", ")", "]" ]
[ "(", "define_attr", "<STR_LIT>", "<STR_LIT>", "(", "cond", "[", "(", "eq_attr", "<STR_LIT>", "<STR_LIT>", ")", "(" ]
LLVM
AArch64
TD
next_suggestion
CPU
3,443
[ "}" ]
[ "def", "SIMDImmType10Operand", ":", "AsmOperandClass", "{", "let", "Name", "=", "<STR_LIT>", ";", "}", "class", "UImmScaledMemoryIndexed", "<", "int", "Width", ",", "int", "Scale", ">", ":", "AsmOperandClass", "{", "let", "Name", "=", "<STR_LIT>", "#", "Width"...
LLVM
ARM64
TD
stmt_completion
CPU
3,444
[ "=", "<STR_LIT>", ";" ]
[ "def", "logical_vec_shift", ":", "Operand", "<", "i32", ">", "{", "let", "PrintMethod" ]
LLVM
Mips
CPP
next_suggestion
CPU
3,445
[ "}" ]
[ "void", "storeRegToStackSlot", "(", "MachineBasicBlock", "&", "MBB", ",", "MachineBasicBlock", "::", "iterator", "MBBI", ",", "Register", "SrcReg", ",", "bool", "isKill", ",", "int", "FrameIndex", ",", "const", "TargetRegisterClass", "*", "RC", ",", "const", "Ta...
GCC
rs6000
MD
stmt_completion
CPU
3,446
[ "UNSPEC_SLDB", "UNSPEC_SRDB", "]", ")" ]
[ "(", "define_int_iterator", "VSHIFT_DBL_LR", "[" ]
LLVM
X86
CPP
next_suggestion
CPU
3,447
[ "if", "(", "hasHipeCC", ")", "return", "&", "X86", "::", "GR32RegClass", ";" ]
[ "return", "&", "X86", "::", "GR32RegClass", ";", "case", "<NUM_LIT>", ":", "if", "(", "Subtarget", ".", "isTarget64BitLP64", "(", ")", ")", "return", "&", "X86", "::", "GR64_NOSPRegClass", ";", "return", "&", "X86", "::", "GR32_NOSPRegClass", ";", "case", ...
LLVM
AArch64
CPP
code_generation
CPU
3,448
[ "int", "AArch64TTIImpl", "::", "getIntImmCost", "(", "Intrinsic", "::", "ID", "IID", ",", "unsigned", "Idx", ",", "const", "APInt", "&", "Imm", ",", "Type", "*", "Ty", ")", "{", "assert", "(", "Ty", "->", "isIntegerTy", "(", ")", ")", ";", "unsigned", ...
[ "Calculate", "the", "cost", "of", "materializing", "a", "64-bit", "value", "." ]
LLVM
AArch64
CPP
program_repair
CPU
3,449
[ "<FIXS>", "const", "Register", "*", "ReplacedAddend", "=", "nullptr", ")", "{", "<FIXE>", "<FIXS>", "Register", "ResultReg", "=", "Root", ".", "getOperand", "(", "<NUM_LIT>", ")", ".", "getReg", "(", ")", ";", "Register", "SrcReg0", "=", "MUL", "->", "getO...
[ "SmallVectorImpl", "MachineInstr", "*", ">", "&", "InsInstrs", ",", "unsigned", "IdxMulOpd", ",", "unsigned", "MaddOpc", ",", "const", "TargetRegisterClass", "*", "RC", ",", "FMAInstKind", "kind", "=", "FMAInstKind", "::", "Default", ",", "<BUGS>", "const", "uns...
GCC
i386
MD
next_suggestion
CPU
3,450
[ "[", "(", "set_attr", "<STR_LIT>", "<STR_LIT>", ")" ]
[ "[", "(", "set", "(", "match_operand", ":", "<", "sselongvecmode", ">", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", "(", "any_fix", ":", "<", "sselongvecmode", ">", "(", "match_operand", ":", "VF1_128_256VL", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", ")", ")...
LLVM
Hexagon
CPP
stmt_completion
DSP
3,451
[ ";" ]
[ "if", "(", "CmpOpc", "==", "Hexagon", "::", "A4_cmpbeqi", ")", "return", "isUInt", "<", "<NUM_LIT>", ">", "(", "Imm", ")", ";", "if", "(", "CmpOpc", "==", "Hexagon", "::", "A4_cmpbgti", ")", "return", "isInt", "<", "<NUM_LIT>", ">", "(", "Imm", ")", ...
LLVM
AMDGPU
CPP
code_generation
GPU
3,452
[ "void", "WaitcntBrackets", "::", "print", "(", "raw_ostream", "&", "OS", ")", "{", "OS", "<<", "'", "\\n", "'", ";", "for", "(", "auto", "T", ":", "inst_counter_types", "(", ")", ")", "{", "unsigned", "LB", "=", "getScoreLB", "(", "T", ")", ";", "u...
[ "print", "-", "Print", "a", "debug", "representation", "of", "the", "operand", "to", "the", "given", "stream", "." ]
LLVM
ARM64
CPP
code_generation
CPU
3,453
[ "const", "MCPhysReg", "*", "ARM64RegisterInfo", "::", "getCalleeSavedRegs", "(", "const", "MachineFunction", "*", "MF", ")", "const", "{", "assert", "(", "MF", "&&", "<STR_LIT>", "Invalid MachineFunction pointer.", "<STR_LIT>", ")", ";", "if", "(", "MF", "->", "...
[ "Code", "Generation", "virtual", "methods", "..." ]
LLVM
Hexagon
TD
next_suggestion
DSP
3,454
[ "let", "prefersSlot3", "=", "<NUM_LIT>", ";" ]
[ "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "<NUM_LIT>", ";", "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "<NUM_LIT>", ";" ]
LLVM
PowerPC
TD
next_suggestion
CPU
3,455
[ "def", "i32immNonAllOneNonZero", ":", "ImmLeaf", "<", "i32", ",", "[", "{", "return", "Imm", "&", "&", "(", "Imm", "!", "=", "-", "<NUM_LIT>", ")", ";", "}", "]", ">", ";" ]
[ "}", "]", ">", ";", "def", "getFPAs64BitIntHi", ":", "SDNodeXForm", "<", "fpimm", ",", "[", "{", "APFloat", "APFloatOfN", "=", "N", "-", ">", "getValueAPF", "(", ")", ";", "bool", "Unused", ";", "APFloatOfN", ".", "convert", "(", "APFloat", ":", ":", ...
LLVM
JVM
CPP
stmt_completion
Virtual ISA
3,456
[ ";" ]
[ "LocalsLimit", "=", "limit" ]
GCC
aarch64
MD
next_suggestion
CPU
3,457
[ "<STR_LIT>" ]
[ "(", "ashift", ":", "VDQ_I", "(", "match_operand", ":", "VDQ_I", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", "(", "match_operand", ":", "VDQ_I", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", ")", ")", "]" ]
LLVM
Hexagon
TD
stmt_completion
DSP
3,458
[ "<NUM_LIT>", "}", "=", "<NUM_LIT>", ";" ]
[ "def", "C2_all8", ":", "HInst", "<", "(", "outs", "PredRegs", ":", "$", "Pd4", ")", ",", "(", "ins", "PredRegs", ":", "$", "Ps4", ")", ",", "<STR_LIT>", ",", "tc_de554571", ",", "TypeCR", ">", ",", "Enc_65d691", "{", "let", "Inst", "{", "<NUM_LIT>", ...
LLVM
VE
TD
next_suggestion
CPU
3,459
[ "}" ]
[ "def", "UImm2AsmOperand", ":", "AsmOperandClass", "{", "let", "Name", "=", "<STR_LIT>", ";" ]
LLVM
Mips
CPP
stmt_completion
CPU
3,460
[ ")", "return", "false", ";" ]
[ "const", "MipsTargetLowering", "&", "TLI", "=", "*", "getTLI", "<", "MipsTargetLowering", ">", "(", ")", ";", "SmallVector", "<", "ArgInfo", ",", "<NUM_LIT>", ">", "RetInfos", ";", "ArgInfo", "ArgRetInfo", "(", "VRegs", ",", "*", "Val", ",", "<NUM_LIT>", "...
LLVM
ARM
TD
stmt_completion
CPU
3,461
[ "=", "<STR_LIT>", ";" ]
[ "def", "fadd_mlx", ":", "PatFrag", "<", "(", "ops", "node", ":", "$", "lhs", ",", "node", ":", "$", "rhs", ")", ",", "(", "fadd", "node", ":", "$", "lhs", ",", "node", ":", "$", "rhs", ")", ",", "[", "{", "return", "hasNoVMLxHazardUse", "(", "N...
LLVM
PowerPC
TD
next_suggestion
CPU
3,462
[ "}" ]
[ "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "<NUM_LIT>", ";", "let", "Inst", "{", "<NUM_LIT>", "}", "=", "R", ";", "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "<NUM_LIT>", ";", "let", "Inst", "{", "<NUM_LIT>", "-", "...
LLVM
AArch64
CPP
next_suggestion
CPU
3,463
[ "if", "(", "!", "Functions", ".", "empty", "(", ")", ")", "Changed", "|=", "optimizeFunctions", "(", "Functions", ")", ";" ]
[ "switch", "(", "F", ".", "getIntrinsicID", "(", ")", ")", "{", "case", "Intrinsic", "::", "aarch64_sve_ptrue", ":", "for", "(", "User", "*", "U", ":", "F", ".", "users", "(", ")", ")", "Functions", ".", "insert", "(", "cast", "<", "Instruction", ">",...
LLVM
ARM
CPP
stmt_completion
CPU
3,464
[ "swap", "(", "Op0", ",", "Op1", ")", ";" ]
[ "case", "ISD", "::", "SETULT", ":", "Invert", "=", "true", ";", "Opc", "=", "<STR_LIT>", "::", "<STR_LIT>", ";", "break", ";", "case", "ISD", "::", "SETUEQ", ":", "Invert", "=", "true", ";", "LLVM_FALLTHROUGH", ";", "case", "ISD", "::", "SETONE", ":", ...
GCC
arm
MD
stmt_completion
CPU
3,465
[ "<STR_LIT>", ")", ")" ]
[ "(", "define_insn_reservation", "<STR_LIT>", "<NUM_LIT>", "(", "and", "(", "eq_attr", "<STR_LIT>", "<STR_LIT>", ")", "(", "eq_attr", "<STR_LIT>" ]
GCC
rs6000
CPP
stmt_completion
CPU
3,466
[ "{", "<NUM_LIT>", ",", "<NUM_LIT>", ",", "<NUM_LIT>", ",", "<NUM_LIT>", "}", ";" ]
[ "extern", "_", "_", "inline", "_", "_", "m128", "_", "_", "attribute__", "(", "(", "_", "_", "gnu_inline__", ",", "_", "_", "always_inline__", ",", "_", "_", "artificial__", ")", ")", "_", "mm_rcp_ss", "(", "_", "_", "m128", "_", "_", "A", ")", "...
LLVM
AMDGPU
CPP
stmt_completion
GPU
3,467
[ ";" ]
[ "int", "WaitStates", "=", "std", "::", "max", "(", "<NUM_LIT>", ",", "checkAnyInstHazards", "(", "MI", ")", ")", ";", "if", "(", "SIInstrInfo", "::", "isSMRD", "(", "*", "MI", ")", ")", "return", "std", "::", "max", "(", "WaitStates", ",", "checkSMRDHa...
LLVM
ARM
CPP
next_suggestion
CPU
3,468
[ "StaticDtorsSection", "=", "<STR_LIT>", ".mod_term_func", "<STR_LIT>", ";" ]
[ "LessPrivateGlobalPrefix", "=", "<STR_LIT>", "l", "<STR_LIT>", ";", "StringConstantPrefix", "=", "<STR_LIT>", "\\1LC", "<STR_LIT>", ";", "BSSSection", "=", "<NUM_LIT>", ";", "ZeroDirective", "=", "<STR_LIT>", "\\t.space\\t", "<STR_LIT>", ";", "ZeroFillDirective", "=", ...
LLVM
ARM
CPP
next_suggestion
CPU
3,469
[ "Binary", "|=", "(", "RegD", "&", "<NUM_LIT>", ")", "<<", "<STR_LIT>", "::", "<STR_LIT>", ";" ]
[ "static", "unsigned", "encodeNEONRd", "(", "const", "MachineInstr", "&", "MI", ",", "unsigned", "OpIdx", ")", "{", "unsigned", "RegD", "=", "MI", ".", "getOperand", "(", "OpIdx", ")", ".", "getReg", "(", ")", ";", "unsigned", "Binary", "=", "<NUM_LIT>", ...
LLVM
ARM
TD
program_repair
CPU
3,470
[ "<FIXS>", "def", "tMOVgpr2tgpr", ":", "Thumb1pI", "(", "outs", "tGPR", ":", "$", "Rd", ")", ",", "(", "ins", "GPR", ":", "$", "Rm", ")", ",", "AddrModeNone", ",", "Size2Bytes", ",", "IIC_iMOVr", ",", "<STR_LIT>", ",", "<STR_LIT>", ",", "<STR_LIT>", ","...
[ "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "Rd", ";", "}", "<BUGS>", "def", "tMOVgpr2tgpr", ":", "T1I", "(", "outs", "tGPR", ":", "$", "Rd", ")", ",", "(", "ins", "GPR", ":", "$", "Rm", ")", ",", "IIC_iMOVr", ",", "<STR_LIT>", "...
GCC
h8300
CPP
code_generation
MPU
3,471
[ "unsigned", "int", "compute_logical_op_length", "(", "machine_mode", "mode", ",", "rtx_code", "code", ",", "rtx", "*", "operands", ",", "rtx_insn", "*", "insn", ")", "{", "const", "unsigned", "HOST_WIDE_INT", "intval", "=", "(", "unsigned", "HOST_WIDE_INT", ")",...
[ "Compute", "the", "length", "of", "a", "logical", "insn", "." ]
GCC
arm
CPP
stmt_completion
CPU
3,472
[ "_", "a", ")", "{" ]
[ "vreinterpret_p8_s32", "(", "int32x2_t", "_" ]
LLVM
Hexagon
TD
next_suggestion
DSP
3,473
[ "let", "opNewValue", "=", "<NUM_LIT>", ";" ]
[ "def", "A2_sat", ":", "HInst", "<", "(", "outs", "IntRegs", ":", "$", "Rd32", ")", ",", "(", "ins", "DoubleRegs", ":", "$", "Rss32", ")", ",", "<STR_LIT>", ",", "tc_0ae0825c", ",", "TypeS_2op", ">", ",", "Enc_90cd8b", "{", "let", "Inst", "{", "<NUM_L...
GCC
epiphany
MD
next_suggestion
MPU
3,474
[ "(", "match_test", "<STR_LIT>", ")", ")", ")", ")" ]
[ "(", "match_test", "<STR_LIT>", ")", ")", "(", "and", "(", "match_code", "<STR_LIT>", ")" ]
LLVM
R600
CPP
next_suggestion
GPU
3,475
[ "return", "<NUM_LIT>", ";" ]
[ "MCFixupKind", "Kind", "=", "MCFixupKind", "(", "FK_PCRel_4", ")", ";", "Fixups", ".", "push_back", "(", "MCFixup", "::", "Create", "(", "<NUM_LIT>", ",", "Expr", ",", "Kind", ",", "MI", ".", "getLoc", "(", ")", ")", ")", ";", "return", "<NUM_LIT>", ";...
GCC
s390
MD
next_suggestion
MPU
3,476
[ "[", "(", "set_attr", "<STR_LIT>", "<STR_LIT>", ")", "]", ")" ]
[ "(", "define_insn", "<STR_LIT>", "[", "(", "set", "(", "match_operand", ":", "V2DI", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", "(", "sign_extend", ":", "V2DI", "(", "vec_select", ":", "V2SI", "(", "match_operand", ":", "V4SI", "<NUM_LIT>", "<STR_LIT>", "<STR...
LLVM
TPC
CPP
stmt_completion
Virtual ISA
3,477
[ ")", ";" ]
[ "bool", "TPCPacketizerList", "::", "isLegalToPruneDependencies", "(", "SUnit", "*", "SUI", ",", "SUnit", "*", "SUJ", ")", "{", "assert", "(", "SUI", "->", "getInstr", "(", ")", "&&", "SUJ", "->", "getInstr", "(", ")" ]
GCC
mips
CPP
stmt_completion
CPU
3,478
[ "<NUM_LIT>", ",", "<NUM_LIT>", ")", ";" ]
[ "int", "m16_nuimm8_4", "(", "rtx", "op", ",", "enum", "machine_mode", "mode", "ATTRIBUTE_UNUSED", ")", "{", "return", "m16_check_op", "(", "op", ",", "(", "-", "<NUM_LIT>", ")", "<<", "<NUM_LIT>", "," ]
LLVM
AMDGPU
CPP
stmt_completion
GPU
3,479
[ "WaitStates", ";" ]
[ "}", ";", "return", "::", "getWaitStatesSince", "(", "IsHazard", ",", "CurrCycleInstr", ",", "IsExpiredFn", ")", ";", "}", "int", "WaitStates", "=", "<NUM_LIT>", ";", "for", "(", "MachineInstr", "*", "MI", ":", "EmittedInstrs", ")", "{", "if", "(", "MI", ...
LLVM
ARM
CPP
stmt_completion
CPU
3,480
[ ")", ";" ]
[ "void", "ARMTargetLowering", "::", "initializeSplitCSR", "(", "MachineBasicBlock", "*", "Entry", ")", "const", "{", "ARMFunctionInfo", "*", "AFI", "=", "Entry", "->", "getParent", "(", ")", "->", "getInfo", "<", "ARMFunctionInfo", ">", "(", ")", ";", "AFI", ...
GCC
i386
MD
stmt_completion
CPU
3,481
[ ")", ")", ")" ]
[ "(", "and", "(", "eq_attr", "<STR_LIT>", "<STR_LIT>", ")", "(", "and", "(", "eq_attr", "<STR_LIT>", "<STR_LIT>", ")", "(", "eq_attr", "<STR_LIT>", "<STR_LIT>", ")" ]
LLVM
AMDGPU
CPP
stmt_completion
GPU
3,482
[ "(", "GlobalName", ")", ";" ]
[ "bool", "AMDGPUAsmParser", "::", "ParseDirectiveAMDGPUHsaProgramGlobal", "(", ")", "{", "if", "(", "getLexer", "(", ")", ".", "isNot", "(", "AsmToken", "::", "Identifier", ")", ")", "return", "TokError", "(", "<STR_LIT>", "expected symbol name", "<STR_LIT>", ")", ...
LLVM
AArch64
TD
stmt_completion
CPU
3,483
[ ">", "{" ]
[ "def", "KryoWrite_2cyc_XY_noRSV_67ln", ":", "SchedWriteRes", "<", "[", "KryoUnitXY", "]" ]
LLVM
Hexagon
CPP
next_suggestion
DSP
3,484
[ "}" ]
[ "if", "(", "LoadInst", "*", "Ld", "=", "dyn_cast", "<", "LoadInst", ">", "(", "R", ")", ")", "{", "unsigned", "PtrX", "=", "LoadInst", "::", "getPointerOperandIndex", "(", ")", ";", "if", "(", "&", "Ld", "->", "getOperandUse", "(", "PtrX", ")", "==",...
GCC
visium
MD
next_suggestion
Virtual ISA
3,485
[ "(", "eq_attr", "<STR_LIT>", "<STR_LIT>", ")", ")" ]
[ "(", "define_insn_reservation", "<STR_LIT>", "<NUM_LIT>", "(", "and", "(", "eq_attr", "<STR_LIT>", "<STR_LIT>", ")" ]
GCC
i386
CPP
next_suggestion
CPU
3,486
[ "}" ]
[ "extern", "_", "_", "inline", "_", "_", "m512d", "_", "_", "attribute__", "(", "(", "_", "_", "gnu_inline__", ",", "_", "_", "always_inline__", ",", "_", "_", "artificial__", ")", ")", "_", "mm512_maskz_compress_pd", "(", "_", "_", "mmask8", "_", "_", ...
LLVM
ARM
CPP
next_suggestion
CPU
3,487
[ "}" ]
[ "bool", "isUnspillableTerminatorImpl", "(", "const", "MachineInstr", "*", "MI", ")", "const", "override", "{", "return", "MI", "->", "getOpcode", "(", ")", "==", "ARM", "::", "t2LoopEndDec", "||", "MI", "->", "getOpcode", "(", ")", "==", "ARM", "::", "t2Do...
LLVM
SystemZ
CPP
next_suggestion
CPU
3,488
[ "SDValue", "Shuf", "=", "DAG", ".", "getVectorShuffle", "(", "InVT", ",", "DL", ",", "PackedOp", ",", "ZeroVec", ",", "Mask", ")", ";" ]
[ "SDValue", "PackedOp", "=", "Op", ".", "getOperand", "(", "<NUM_LIT>", ")", ";", "SDLoc", "DL", "(", "Op", ")", ";", "EVT", "OutVT", "=", "Op", ".", "getValueType", "(", ")", ";", "EVT", "InVT", "=", "PackedOp", ".", "getValueType", "(", ")", ";", ...
LLVM
AArch64
TD
next_suggestion
CPU
3,489
[ "let", "Inst", "{", "<NUM_LIT>", "-", "<NUM_LIT>", "}", "=", "<NUM_LIT>", ";" ]
[ "class", "SignAuthTwoOperand", "<", "bits", "<", "<NUM_LIT>", ">", "opc", ",", "string", "asm", ",", "SDPatternOperator", "OpNode", ">", ":", "I", "<", "(", "outs", "GPR64", ":", "$", "Rd", ")", ",", "(", "ins", "GPR64", ":", "$", "Rn", ",", "GPR64sp...
GCC
rs6000
MD
program_repair
CPU
3,490
[ "<FIXS>", "(", "clobber", "(", "match_operand", ":", "DF", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", ")", "<FIXE>" ]
[ "(", "float", ":", "DF", "(", "match_operand", ":", "SI", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", ")", ")", "(", "use", "(", "match_operand", ":", "SI", "<NUM_LIT>", "<STR_LIT>", "<STR_LIT>", ")", ")", "(", "use", "(", "match_operand", ":", "DF", "<N...
LLVM
Sparc
CPP
code_generation
CPU
3,491
[ "void", "SparcFrameLowering", "::", "emitEpilogue", "(", "MachineFunction", "&", "MF", ",", "MachineBasicBlock", "&", "MBB", ")", "const", "{", "SparcMachineFunctionInfo", "*", "FuncInfo", "=", "MF", ".", "getInfo", "<", "SparcMachineFunctionInfo", ">", "(", ")", ...
[ "Insert", "epilog", "code", "into", "the", "function", "." ]
LLVM
X86
CPP
code_generation
CPU
3,492
[ "bool", "X86DAGToDAGISel", "::", "SelectInlineAsmMemoryOperand", "(", "const", "SDValue", "&", "Op", ",", "unsigned", "ConstraintID", ",", "std", "::", "vector", "<", "SDValue", ">", "&", "OutOps", ")", "{", "SDValue", "Op0", ",", "Op1", ",", "Op2", ",", "...
[ "SelectInlineAsmMemoryOperand", "-", "Select", "the", "specified", "address", "as", "a", "target", "addressing", "mode", ",", "according", "to", "the", "specified", "constraint", "." ]
LLVM
CSKY
CPP
code_generation
CPU
3,493
[ "unsigned", "CSKYInstrInfo", "::", "getInstSizeInBytes", "(", "const", "MachineInstr", "&", "MI", ")", "const", "{", "switch", "(", "MI", ".", "getOpcode", "(", ")", ")", "{", "default", ":", "return", "MI", ".", "getDesc", "(", ")", ".", "getSize", "(",...
[ "Returns", "the", "size", "in", "bytes", "of", "the", "specified", "MachineInstr", ",", "or", "~0U", "when", "this", "function", "is", "not", "implemented", "by", "a", "target", "." ]
LLVM
R600
CPP
next_suggestion
GPU
3,494
[ "}" ]
[ "MachineInstr", "*", "MovRel", "=", "BuildMI", "(", "*", "MBB", ".", "getParent", "(", ")", ",", "DL", ",", "TII", "->", "get", "(", "AMDGPU", "::", "V_MOVRELS_B32_e32", ")", ",", "Dst", ")", ".", "addReg", "(", "SubReg", "+", "Off", ")", ".", "add...
GCC
arm
CPP
stmt_completion
CPU
3,495
[ "uint16x8_t", "_", "_", "b", ")", "{" ]
[ "_", "_", "arm_vcaddq_rot90_u16", "(", "uint16x8_t", "_", "_", "a", "," ]
LLVM
PowerPC
TD
stmt_completion
CPU
3,496
[ ")", ">", ";" ]
[ "def", ":", "InstAlias", "<", "<STR_LIT>", ",", "(", "QVFLOGICALb", "qbrc", ":", "$", "FRT", ",", "qbrc", ":", "$", "FRA", ",", "qbrc", ":", "$", "FRA", ",", "<NUM_LIT>" ]
LLVM
Hexagon
TD
stmt_completion
DSP
3,497
[ "<NUM_LIT>", ";" ]
[ "def", "A2_orir", ":", "HInst", "<", "(", "outs", "IntRegs", ":", "$", "Rd32", ")", ",", "(", "ins", "IntRegs", ":", "$", "Rs32", ",", "s32_0Imm", ":", "$", "Ii", ")", ",", "<STR_LIT>", ",", "tc_5a2711e5", ",", "TypeALU32_2op", ">", ",", "Enc_140c83"...
LLVM
AArch64
TD
stmt_completion
CPU
3,498
[ "v2i32", ",", "v2i64", ">", ";" ]
[ "def", "_2s2d", ":", "NeonI_3VDN_addhn_2Op", "<", "<NUM_LIT>", ",", "u", ",", "<NUM_LIT>", ",", "opcode", ",", "asmop", ",", "<STR_LIT>", ",", "<STR_LIT>", ",", "opnode", ",", "NI_get_hi_2d", "," ]
LLVM
ARM
CPP
stmt_completion
CPU
3,499
[ "ELF", "::", "EF_ARM_EABI_VER5", ";" ]
[ "return", "llvm", "::" ]