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 | PowerPC | CPP | program_repair | CPU | 624,300 | [
"<FIXS>",
"int",
"NewFPIdx",
"=",
"MF",
".",
"getFrameInfo",
"(",
")",
"->",
"CreateFixedObject",
"(",
"SlotSize",
",",
"NewFPLoc",
",",
"true",
",",
"false",
")",
";",
"<FIXE>"
] | [
"if",
"(",
"isDarwinABI",
")",
"{",
"int",
"NewFPLoc",
"=",
"SPDiff",
"+",
"PPCFrameInfo",
"::",
"getFramePointerSaveOffset",
"(",
"isPPC64",
",",
"isDarwinABI",
")",
";",
"<BUGS>",
"int",
"NewFPIdx",
"=",
"MF",
".",
"getFrameInfo",
"(",
")",
"->",
"CreateFi... |
GCC | i386 | CPP | program_repair | CPU | 624,301 | [
"<FIXS>",
"GET_SSE_REGNO",
"(",
"sse_regno",
")",
")",
";",
"<FIXE>"
] | [
"case",
"X86_64_SSEDF_CLASS",
":",
"if",
"(",
"mode",
"!=",
"BLKmode",
")",
"return",
"gen_reg_or_parallel",
"(",
"mode",
",",
"or",
"ig_mode",
",",
"<BUGS>",
"SSE_REGNO",
"(",
"sse_regno",
")",
")",
";",
"<BUGE>",
"break",
";",
"case",
"X86_64_X87_CLASS",
"... |
LLVM | ARM | CPP | code_generation | CPU | 624,302 | [
"unsigned",
"getFramePred",
"(",
"const",
"MachineInstr",
"&",
"MI",
")",
"const",
"{",
"assert",
"(",
"isFrameInstr",
"(",
"MI",
")",
")",
";",
"return",
"MI",
".",
"getOperand",
"(",
"<NUM_LIT>",
")",
".",
"getReg",
"(",
")",
";",
"}"
] | [
"Returns",
"predicate",
"register",
"associated",
"with",
"the",
"given",
"frame",
"instruction",
"."
] |
LLVM | Hexagon | TD | next_suggestion | DSP | 624,303 | [
"}"
] | [
"let",
"Inst",
"{",
"<NUM_LIT>",
"-",
"<NUM_LIT>",
"}",
"=",
"<NUM_LIT>",
";",
"let",
"Inst",
"{",
"<NUM_LIT>",
"-",
"<NUM_LIT>",
"}",
"=",
"<NUM_LIT>",
";",
"let",
"isPredicated",
"=",
"<NUM_LIT>",
";",
"let",
"hasNewValue",
"=",
"<NUM_LIT>",
";",
"let",
... |
GCC | aarch64 | CPP | code_generation | CPU | 624,304 | [
"void",
"build",
"(",
"function_builder",
"&",
"b",
",",
"const",
"function_group_info",
"&",
"group",
")",
"const",
"override",
"{",
"b",
".",
"add_overloaded_functions",
"(",
"group",
",",
"MODE_none",
")",
";",
"build_all",
"(",
"b",
",",
"<STR_LIT>",
"v0... | [
"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 | X86 | CPP | program_repair | CPU | 624,305 | [
"<FIXS>",
"if",
"(",
"(",
"TM",
"->",
"getCodeModel",
"(",
")",
"==",
"CodeModel",
"::",
"Large",
"||",
"MF",
".",
"getFunction",
"(",
")",
".",
"hasAddressTaken",
"(",
")",
"||",
"<FIXE>"
] | [
"TII",
"=",
"SubTarget",
".",
"getInstrInfo",
"(",
")",
";",
"EndbrOpcode",
"=",
"SubTarget",
".",
"is64Bit",
"(",
")",
"?",
"X86",
"::",
"ENDBR64",
":",
"X86",
"::",
"ENDBR32",
";",
"<BUGS>",
"if",
"(",
"(",
"MF",
".",
"getFunction",
"(",
")",
".",
... |
LLVM | ARM | CPP | next_suggestion | CPU | 624,306 | [
"case",
"ARM",
"::",
"VST2b16wb_register",
":"
] | [
"case",
"ARM",
"::",
"VST2b32wb_register",
":",
"if",
"(",
"Rm",
"==",
"<NUM_LIT>",
")",
"return",
"MCDisassembler",
"::",
"Fail",
";",
"Inst",
".",
"addOperand",
"(",
"MCOperand",
"::",
"CreateImm",
"(",
"<NUM_LIT>",
")",
")",
";",
"break",
";",
"case",
... |
GCC | rs6000 | MD | stmt_completion | CPU | 624,307 | [
")",
")"
] | [
"(",
"define_insn_reservation",
"<STR_LIT>",
"<NUM_LIT>",
"(",
"and",
"(",
"eq_attr",
"<STR_LIT>",
"<STR_LIT>",
")",
"(",
"eq_attr",
"<STR_LIT>",
"<STR_LIT>"
] |
LLVM | X86 | CPP | stmt_completion | CPU | 624,308 | [
"(",
"AVX512BoolReduction",
",",
"ISD",
",",
"MTy",
")",
")",
"return",
"LT",
".",
"first",
"*",
"Entry",
"->",
"Cost",
";"
] | [
"if",
"(",
"ST",
"->",
"isSLM",
"(",
")",
")",
"if",
"(",
"const",
"auto",
"*",
"Entry",
"=",
"CostTableLookup",
"(",
"SLMCostTblPairWise",
",",
"ISD",
",",
"MTy",
")",
")",
"return",
"LT",
".",
"first",
"*",
"Entry",
"->",
"Cost",
";",
"if",
"(",
... |
GCC | tilegx | MD | stmt_completion | VLIW | 624,309 | [
"<STR_LIT>",
")"
] | [
"(",
"define_automaton"
] |
LLVM | Sparc | CPP | next_suggestion | CPU | 624,310 | [
"return",
"true",
";"
] | [
"O",
"<<",
"<STR_LIT>",
"\\tcall\\t.LLGETPC",
"<STR_LIT>",
"<<",
"mfNum",
"<<",
"'",
"_",
"'",
"<<",
"bbNum",
"<<",
"'",
"\\n",
"'",
";",
"O",
"<<",
"<STR_LIT>",
"\\t sethi\\t",
"<STR_LIT>",
"<<",
"<STR_LIT>",
"%hi(_GLOBAL_OFFSET_TABLE_+(.-.LLGETPCH",
"<STR_LIT>"... |
GCC | msp430 | MD | next_suggestion | MPU | 624,311 | [
")"
] | [
"(",
"define_insn",
"<STR_LIT>",
"[",
"(",
"set",
"(",
"pc",
")",
"(",
"if_then_else",
"(",
"eq",
"(",
"zero_extract",
":",
"HI",
"(",
"match_operand",
":",
"QHI",
"<NUM_LIT>",
"<STR_LIT>",
"<STR_LIT>",
")",
"(",
"const_int",
"<NUM_LIT>",
")",
"(",
"match_... |
LLVM | X86 | CPP | next_suggestion | CPU | 624,312 | [
"case",
"X86",
"::",
"SUB64mi8",
":",
"return",
"X86",
"::",
"SUB64mi32",
";"
] | [
"case",
"X86",
"::",
"IMUL32rri8",
":",
"return",
"X86",
"::",
"IMUL32rri",
";",
"case",
"X86",
"::",
"IMUL32rmi8",
":",
"return",
"X86",
"::",
"IMUL32rmi",
";",
"case",
"X86",
"::",
"IMUL64rri8",
":",
"return",
"X86",
"::",
"IMUL64rri32",
";",
"case",
"... |
GCC | m32c | MD | stmt_completion | MPU | 624,313 | [
"<STR_LIT>",
")"
] | [
"(",
"and",
"(",
"match_operand",
"<NUM_LIT>"
] |
LLVM | Mips | CPP | code_generation | CPU | 624,314 | [
"void",
"MipsFrameLowering",
"::",
"emitPrologue",
"(",
"MachineFunction",
"&",
"MF",
")",
"const",
"{",
"MachineBasicBlock",
"&",
"MBB",
"=",
"MF",
".",
"front",
"(",
")",
";",
"MachineFrameInfo",
"*",
"MFI",
"=",
"MF",
".",
"getFrameInfo",
"(",
")",
";",... | [
"emitProlog/emitEpilog",
"-",
"These",
"methods",
"insert",
"prolog",
"and",
"epilog",
"code",
"into",
"the",
"function",
"."
] |
LLVM | ARM | TD | stmt_completion | CPU | 624,315 | [
"}",
"=",
"<NUM_LIT>",
";"
] | [
"def",
"VJCVT",
":",
"AVConv1IsD_Encode",
"<",
"<NUM_LIT>",
",",
"<NUM_LIT>",
",",
"<NUM_LIT>",
",",
"<NUM_LIT>",
",",
"(",
"outs",
"SPR",
":",
"$",
"Sd",
")",
",",
"(",
"ins",
"DPR",
":",
"$",
"Dm",
")",
",",
"IIC_fpCVTDI",
",",
"<STR_LIT>",
",",
"<... |
LLVM | R600 | TD | program_repair | GPU | 624,316 | [
"<FIXS>",
"bit",
"HasMods",
",",
"bit",
"DefExec",
",",
"string",
"revOp",
">",
"{",
"<FIXE>",
"<FIXS>",
"opName",
",",
"HasMods",
",",
"DefExec",
",",
"revOp",
">",
",",
"<FIXE>"
] | [
"multiclass",
"VOPC_Class_Helper",
"vopc",
"op",
",",
"string",
"opName",
",",
"dag",
"ins32",
",",
"string",
"asm32",
",",
"list",
"dag",
">",
"pat32",
",",
"dag",
"out64",
",",
"dag",
"ins64",
",",
"string",
"asm64",
",",
"list",
"dag",
">",
"pat64",
... |
LLVM | Hexagon | TD | next_suggestion | DSP | 624,317 | [
"let",
"BaseOpcode",
"=",
"<STR_LIT>",
";"
] | [
"let",
"Inst",
"{",
"<NUM_LIT>",
"-",
"<NUM_LIT>",
"}",
"=",
"<NUM_LIT>",
";",
"let",
"isPredicated",
"=",
"<NUM_LIT>",
";",
"let",
"hasNewValue",
"=",
"<NUM_LIT>",
";",
"let",
"opNewValue",
"=",
"<NUM_LIT>",
";"
] |
LLVM | PowerPC | CPP | next_suggestion | CPU | 624,318 | [
"addFrameReference",
"(",
"BuildMI",
"(",
"MBB",
",",
"II",
",",
"dl",
",",
"TII",
".",
"get",
"(",
"LP64",
"?",
"PPC",
"::",
"STW8",
":",
"PPC",
"::",
"STW",
")",
")",
".",
"addReg",
"(",
"Reg",
",",
"RegState",
"::",
"Kill",
")",
",",
"FrameInd... | [
"const",
"TargetRegisterClass",
"*",
"GPRC",
"=",
"&",
"PPC",
"::",
"GPRCRegClass",
";",
"unsigned",
"Reg",
"=",
"MF",
".",
"getRegInfo",
"(",
")",
".",
"createVirtualRegister",
"(",
"LP64",
"?",
"G8RC",
":",
"GPRC",
")",
";",
"unsigned",
"SrcReg",
"=",
... |
LLVM | AMDGPU | CPP | next_suggestion | GPU | 624,319 | [
"int64_t",
"Val",
"=",
"DefInst",
"->",
"getOperand",
"(",
"<NUM_LIT>",
")",
".",
"getImm",
"(",
")",
";"
] | [
"bool",
"SILowerI1Copies",
"::",
"runOnMachineFunction",
"(",
"MachineFunction",
"&",
"MF",
")",
"{",
"MachineRegisterInfo",
"&",
"MRI",
"=",
"MF",
".",
"getRegInfo",
"(",
")",
";",
"const",
"SISubtarget",
"&",
"ST",
"=",
"MF",
".",
"getSubtarget",
"<",
"SIS... |
LLVM | MSP430 | CPP | next_suggestion | MPU | 624,320 | [
"else",
"BuildMI",
"(",
"MBB",
",",
"std",
"::",
"next",
"(",
"II",
")",
",",
"dl",
",",
"TII",
".",
"get",
"(",
"<STR_LIT>",
"::",
"<STR_LIT>",
")",
",",
"DstReg",
")",
".",
"addReg",
"(",
"DstReg",
")",
".",
"addImm",
"(",
"Offset",
")",
";"
] | [
"int",
"FrameIndex",
"=",
"MI",
".",
"getOperand",
"(",
"FIOperandNum",
")",
".",
"getIndex",
"(",
")",
";",
"unsigned",
"BasePtr",
"=",
"(",
"TFI",
"->",
"hasFP",
"(",
"MF",
")",
"?",
"<STR_LIT>",
"::",
"<STR_LIT>",
":",
"<STR_LIT>",
"::",
"<STR_LIT>",
... |
GCC | h8300 | CPP | next_suggestion | MPU | 624,321 | [
"target_flags",
"|=",
"<NUM_LIT>",
";"
] | [
"cpu_type",
"=",
"(",
"int",
")",
"CPU_H8300",
";",
"h8_reg_names",
"=",
"names_big",
";",
"}",
"else",
"{",
"cpu_type",
"=",
"(",
"int",
")",
"CPU_H8300H",
";",
"h8_reg_names",
"=",
"names_extended",
";",
"}",
"h8_push_op",
"=",
"h8_push_ops",
"[",
"cpu_t... |
GCC | sparc | MD | next_suggestion | CPU | 624,322 | [
"<STR_LIT>"
] | [
"(",
"define_insn",
"<STR_LIT>",
"[",
"(",
"const_int",
"<NUM_LIT>",
")",
"]"
] |
LLVM | AArch64 | TD | stmt_completion | CPU | 624,323 | [
"<STR_LIT>",
",",
"[",
"(",
"set",
"(",
"v1i16",
"FPR16",
":",
"$",
"Rd",
")",
",",
"(",
"v1i16",
"(",
"opnode",
"(",
"v4i16",
"VPR64",
":",
"$",
"Rn",
")",
")",
")",
")",
"]",
",",
"NoItinerary",
">",
";"
] | [
"def",
"_1h4h",
":",
"NeonI_2VAcross",
"<",
"<NUM_LIT>",
",",
"u",
",",
"<NUM_LIT>",
",",
"opcode",
",",
"(",
"outs",
"FPR16",
":",
"$",
"Rd",
")",
",",
"(",
"ins",
"VPR64",
":",
"$",
"Rn",
")",
",",
"asmop",
"#"
] |
LLVM | Hexagon | CPP | next_suggestion | DSP | 624,324 | [
"}"
] | [
"UseHVXOps",
"=",
"false",
";",
"UseHVXDblOps",
"=",
"false",
";",
"UseLongCalls",
"=",
"false",
";",
"ParseSubtargetFeatures",
"(",
"CPUString",
",",
"FS",
")",
";",
"if",
"(",
"EnableHexagonHVX",
".",
"getPosition",
"(",
")",
")",
"UseHVXOps",
"=",
"Enable... |
LLVM | P2 | CPP | stmt_completion | MPU | 624,325 | [
"addImm",
"(",
"imm",
">>",
"<NUM_LIT>",
")",
";"
] | [
"if",
"(",
"SI",
".",
"getOperand",
"(",
"<NUM_LIT>",
")",
".",
"isGlobal",
"(",
")",
")",
"{",
"BuildMI",
"(",
"*",
"SI",
".",
"getParent",
"(",
")",
",",
"SI",
",",
"SI",
".",
"getDebugLoc",
"(",
")",
",",
"TII",
"->",
"get",
"(",
"<STR_LIT>",
... |
LLVM | X86 | CPP | code_generation | CPU | 624,326 | [
"bool",
"X86FrameLowering",
"::",
"assignCalleeSavedSpillSlots",
"(",
"MachineFunction",
"&",
"MF",
",",
"const",
"TargetRegisterInfo",
"*",
"TRI",
",",
"std",
"::",
"vector",
"<",
"CalleeSavedInfo",
">",
"&",
"CSI",
")",
"const",
"{",
"MachineFrameInfo",
"*",
"... | [
"This",
"function",
"will",
"assign",
"callee",
"saved",
"gprs",
"to",
"volatile",
"vector",
"registers",
"for",
"prologue",
"spills",
"when",
"applicable",
"."
] |
GCC | ia64 | CPP | code_generation | CPU | 624,327 | [
"static",
"int",
"ia64_first_cycle_multipass_dfa_lookahead_guard",
"(",
"rtx_insn",
"*",
"insn",
",",
"int",
"ready_index",
")",
"{",
"gcc_assert",
"(",
"insn",
"&&",
"INSN_P",
"(",
"insn",
")",
")",
";",
"if",
"(",
"pending_data_specs",
">=",
"<NUM_LIT>",
"&&",... | [
"We",
"are",
"choosing",
"insn",
"from",
"the",
"ready",
"queue",
".",
"Return",
"nonzero",
"if",
"INSN",
"can",
"be",
"chosen",
"."
] |
GCC | mips | MD | next_suggestion | CPU | 624,328 | [
"[",
"(",
"set_attr",
"<STR_LIT>",
"<STR_LIT>",
")",
"]",
")"
] | [
"(",
"vec_concat",
":",
"V16QI",
"(",
"match_operand",
":",
"V8QI",
"<NUM_LIT>",
"<STR_LIT>",
"<STR_LIT>",
")",
"(",
"match_operand",
":",
"V8QI",
"<NUM_LIT>",
"<STR_LIT>",
"<STR_LIT>",
")",
")",
"(",
"parallel",
"[",
"(",
"const_int",
"<NUM_LIT>",
")",
"(",
... |
LLVM | Mips | TD | stmt_completion | CPU | 624,329 | [
"v8i16",
",",
"MSA128HOpnd",
">",
";"
] | [
"class",
"ST_H_DESC",
":",
"ST_DESC_BASE",
"<",
"<STR_LIT>",
",",
"store",
","
] |
LLVM | SystemZ | TD | stmt_completion | CPU | 624,330 | [
"<",
"<NUM_LIT>",
">",
",",
"SDTCisVT",
"<",
"<NUM_LIT>",
",",
"i64",
">",
",",
"SDTCisVT",
"<",
"<NUM_LIT>",
",",
"i64",
">",
"]",
">",
";"
] | [
"def",
"SDT_ZMemMemLoopCC",
":",
"SDTypeProfile",
"<",
"<NUM_LIT>",
",",
"<NUM_LIT>",
",",
"[",
"SDTCisVT",
"<",
"<NUM_LIT>",
",",
"i32",
">",
",",
"SDTCisPtrTy",
"<",
"<NUM_LIT>",
">",
",",
"SDTCisPtrTy"
] |
LLVM | Hexagon | CPP | stmt_completion | DSP | 624,331 | [
">",
"<NUM_LIT>",
")",
"{"
] | [
"reportError",
"(",
"llvm",
"::",
"Twine",
"(",
"<STR_LIT>",
"invalid instruction packet: out of slots",
"<STR_LIT>",
")",
")",
";",
"return",
"false",
";",
"}",
"}",
"bool",
"validateSlots",
"=",
"true",
";",
"if",
"(",
"jumps",
">",
"<NUM_LIT>",
")",
"{",
... |
GCC | arm | CPP | program_repair | CPU | 624,332 | [
"<FIXS>",
"fpu_name",
"=",
"<STR_LIT>",
"softvfp",
"<STR_LIT>",
";",
"<FIXE>"
] | [
"if",
"(",
"TARGET_SOFT_FLOAT",
")",
"{",
"<BUGS>",
"if",
"(",
"TARGET_VFP",
")",
"fpu_name",
"=",
"<STR_LIT>",
"softvfp",
"<STR_LIT>",
";",
"elsefpu_name",
"=",
"<STR_LIT>",
"softfpa",
"<STR_LIT>",
";",
"<BUGE>",
"}",
"else",
"{"
] |
LLVM | Hexagon | TD | next_suggestion | DSP | 624,333 | [
"let",
"Inst",
"{",
"<NUM_LIT>",
"-",
"<NUM_LIT>",
"}",
"=",
"s16",
"{",
"<NUM_LIT>",
"-",
"<NUM_LIT>",
"}",
";"
] | [
"let",
"Inst",
"{",
"<NUM_LIT>",
"-",
"<NUM_LIT>",
"}",
"=",
"s16",
"{",
"<NUM_LIT>",
"-",
"<NUM_LIT>",
"}",
";",
"let",
"Inst",
"{",
"<NUM_LIT>",
"-",
"<NUM_LIT>",
"}",
"=",
"Rs",
";"
] |
LLVM | AMDGPU | CPP | next_suggestion | GPU | 624,334 | [
"DEBUG",
"(",
"dbgs",
"(",
")",
"<<",
"<STR_LIT>",
"AMDIC: ",
"<STR_LIT>",
"<<",
"*",
"CI",
"<<",
"<STR_LIT>",
" ---> ",
"<STR_LIT>",
")",
";"
] | [
"AMDGPULibFunc",
"nf",
"=",
"FInfo",
";",
"nf",
".",
"setPrefix",
"(",
"AMDGPULibFunc",
"::",
"NATIVE",
")",
";",
"if",
"(",
"Constant",
"*",
"FPExpr",
"=",
"getFunction",
"(",
"M",
",",
"nf",
")",
")",
"{"
] |
GCC | avr | CPP | next_suggestion | MPU | 624,335 | [
"}"
] | [
"static",
"bool",
"str_prefix_p",
"(",
"const",
"char",
"*",
"str",
",",
"const",
"char",
"*",
"prefix",
")",
"{",
"return",
"<NUM_LIT>",
"==",
"strncmp",
"(",
"str",
",",
"prefix",
",",
"strlen",
"(",
"prefix",
")",
")",
";"
] |
LLVM | ARM64 | CPP | next_suggestion | CPU | 624,336 | [
"}"
] | [
"if",
"(",
"MI",
"->",
"getOperand",
"(",
"<NUM_LIT>",
")",
".",
"isImm",
"(",
")",
"&&",
"MI",
"->",
"getOperand",
"(",
"<NUM_LIT>",
")",
".",
"getImm",
"(",
")",
"==",
"<NUM_LIT>",
")",
"{",
"assert",
"(",
"MI",
"->",
"getDesc",
"(",
")",
".",
... |
LLVM | AArch64 | CPP | stmt_completion | CPU | 624,337 | [
">",
"(",
")",
";"
] | [
"return",
"isSImmScaled",
"<",
"Width",
",",
"<NUM_LIT>"
] |
GCC | nds32 | CPP | stmt_completion | CPU | 624,338 | [
"false",
")",
";"
] | [
"enum",
"machine_mode",
"val_mode",
"=",
"(",
"mode",
"==",
"V4QImode",
")",
"?",
"QImode",
":",
"HImode",
";",
"int",
"shift_acc",
"=",
"(",
"val_mode",
"==",
"QImode",
")",
"?",
"<NUM_LIT>",
":",
"<NUM_LIT>",
";",
"int",
"mask",
"=",
"(",
"val_mode",
... |
GCC | i386 | CPP | stmt_completion | CPU | 624,339 | [
"_",
"A",
",",
"_",
"_",
"A",
",",
"_",
"_",
"A",
",",
"_",
"_",
"A",
",",
"_",
"_",
"A",
",",
"_",
"_",
"A",
",",
"_",
"_",
"A",
")",
";"
] | [
"return",
"_",
"mm256_set_ph",
"(",
"_",
"_",
"A",
",",
"_",
"_",
"A",
",",
"_",
"_",
"A",
",",
"_",
"_",
"A",
",",
"_",
"_",
"A",
",",
"_",
"_",
"A",
",",
"_",
"_",
"A",
",",
"_",
"_",
"A",
",",
"_",
"_",
"A",
",",
"_"
] |
LLVM | AMDGPU | CPP | next_suggestion | GPU | 624,340 | [
"if",
"(",
"isVectorSuperClass",
"(",
"&",
"RC",
")",
")",
"return",
"RC",
".",
"hasSuperClassEq",
"(",
"getVectorSuperClassForBitWidth",
"(",
"getRegSizeInBits",
"(",
"RC",
")",
")",
")",
";"
] | [
"bool",
"SIRegisterInfo",
"::",
"isProperlyAlignedRC",
"(",
"const",
"TargetRegisterClass",
"&",
"RC",
")",
"const",
"{",
"if",
"(",
"!",
"ST",
".",
"needsAlignedVGPRs",
"(",
")",
")",
"return",
"true",
";",
"if",
"(",
"isVGPRClass",
"(",
"&",
"RC",
")",
... |
LLVM | X86 | CPP | stmt_completion | CPU | 624,341 | [
"(",
"<NUM_LIT>",
")",
";"
] | [
"unsigned",
"Reg",
"=",
"getFPReg",
"(",
"MI",
"->",
"getOperand",
"(",
"<NUM_LIT>",
")",
")",
";",
"bool",
"KillsSrc",
"=",
"MI",
"->",
"killsRegister",
"(",
"X86",
"::",
"FP0",
"+",
"Reg",
")",
";",
"if",
"(",
"KillsSrc",
")",
"{",
"moveToTop",
"("... |
LLVM | MBlaze | CPP | stmt_completion | MPU | 624,342 | [
"Lex",
"(",
")",
";"
] | [
"return",
"getLexer",
"(",
")",
"->"
] |
GCC | aarch64 | CPP | stmt_completion | CPU | 624,343 | [
"_",
"a",
";"
] | [
"return",
"(",
"int32x4_t",
")",
"_"
] |
GCC | alpha | MD | stmt_completion | MPU | 624,344 | [
")"
] | [
"(",
"div",
":",
"DF",
"(",
"match_operand",
":",
"DF",
"<NUM_LIT>",
"<STR_LIT>",
"<STR_LIT>",
")",
"(",
"match_operand",
":",
"DF",
"<NUM_LIT>",
"<STR_LIT>",
"<STR_LIT>",
")",
")",
")",
"]",
"<STR_LIT>",
"<STR_LIT>",
"[",
"(",
"set_attr",
"<STR_LIT>",
"<STR... |
GCC | tilegx | MD | stmt_completion | VLIW | 624,345 | [
"<STR_LIT>",
")"
] | [
"(",
"define_insn_reservation",
"<STR_LIT>",
"<NUM_LIT>",
"(",
"eq_attr",
"<STR_LIT>"
] |
GCC | stormy16 | CPP | next_suggestion | CPU | 624,346 | [
"t",
"=",
"fold_build1",
"(",
"NEGATE_EXPR",
",",
"TREE_TYPE",
"(",
"t",
")",
",",
"t",
")",
";"
] | [
"static",
"tree",
"xstormy16_gimplify_va_arg_expr",
"(",
"tree",
"valist",
",",
"tree",
"type",
",",
"gimple_seq",
"*",
"pre_p",
",",
"gimple_seq",
"*",
"post_p",
"ATTRIBUTE_UNUSED",
")",
"{",
"tree",
"f_base",
",",
"f_count",
";",
"tree",
"base",
",",
"count"... |
LLVM | ARM | CPP | stmt_completion | CPU | 624,347 | [
"MF",
")",
"const",
"{"
] | [
"bool",
"ARMBaseRegisterInfo",
"::",
"requiresFrameIndexScavenging",
"(",
"const",
"MachineFunction",
"&"
] |
LLVM | Patmos | CPP | code_generation | VLIW | 624,348 | [
"std",
"::",
"string",
"getNodeLabel",
"(",
"const",
"MCGNode",
"*",
"N",
",",
"const",
"MCallSubGraph",
"&",
"G",
")",
"{",
"if",
"(",
"N",
"->",
"isUnknown",
"(",
")",
")",
"{",
"std",
"::",
"string",
"tmp",
";",
"raw_string_ostream",
"s",
"(",
"tm... | [
"Print",
"a",
"DDG",
"node",
"either",
"in",
"concise",
"form",
"(",
"-ddg-dot-only",
")",
"or",
"verbose",
"mode",
"(",
"-ddg-dot",
")",
"."
] |
LLVM | X86 | CPP | program_repair | CPU | 624,349 | [
"<FIXS>",
"OpSizeFixed",
"=",
"<NUM_LIT>",
"<<",
"OpSizeShift",
",",
"OpSize16",
"=",
"<NUM_LIT>",
"<<",
"OpSizeShift",
",",
"OpSize32",
"=",
"<NUM_LIT>",
"<<",
"OpSizeShift",
",",
"<FIXE>",
"<FIXS>",
"AdSizeMask",
"=",
"<NUM_LIT>",
"<<",
"AdSizeShift",
",",
"Ad... | [
"OpSizeShift",
"=",
"<NUM_LIT>",
",",
"OpSizeMask",
"=",
"<NUM_LIT>",
"<<",
"OpSizeShift",
",",
"<BUGS>",
"OpSize16",
"=",
"<NUM_LIT>",
"<<",
"OpSizeShift",
",",
"OpSize32",
"=",
"<NUM_LIT>",
"<<",
"OpSizeShift",
",",
"<BUGE>",
"AdSizeShift",
"=",
"OpSizeShift",
... |
GCC | i386 | MD | stmt_completion | CPU | 624,350 | [
")"
] | [
"[",
"(",
"set",
"(",
"match_operand",
":",
"VF1_AVX512VL",
"<NUM_LIT>",
"<STR_LIT>",
"<STR_LIT>",
")",
"(",
"unsigned_float",
":",
"VF1_AVX512VL",
"(",
"match_operand",
":",
"<",
"sseintvecmode",
">",
"<NUM_LIT>",
"<STR_LIT>",
"<STR_LIT>",
")",
")",
")",
"]",
... |
LLVM | AMDGPU | CPP | code_generation | GPU | 624,351 | [
"SDValue",
"SITargetLowering",
"::",
"handleD16VData",
"(",
"SDValue",
"VData",
",",
"SelectionDAG",
"&",
"DAG",
",",
"bool",
"ImageStore",
")",
"const",
"{",
"EVT",
"StoreVT",
"=",
"VData",
".",
"getValueType",
"(",
")",
";",
"if",
"(",
"!",
"StoreVT",
".... | [
"Handle",
"register",
"layout",
"difference",
"for",
"f16",
"images",
"for",
"some",
"subtargets",
"."
] |
LLVM | AMDGPU | CPP | next_suggestion | GPU | 624,352 | [
"}"
] | [
"bool",
"InlineHint",
"=",
"Callee",
"&&",
"!",
"Callee",
"->",
"isDeclaration",
"(",
")",
"&&",
"Callee",
"->",
"hasFnAttribute",
"(",
"Attribute",
"::",
"InlineHint",
")",
";",
"if",
"(",
"InlineHint",
"&&",
"Params",
".",
"HintThreshold",
"&&",
"Params",
... |
LLVM | Hexagon | TD | stmt_completion | DSP | 624,353 | [
"=",
"<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",
"isPredica... |
GCC | mips | MD | stmt_completion | CPU | 624,354 | [
")"
] | [
"(",
"and",
"(",
"eq_attr",
"<STR_LIT>",
"<STR_LIT>",
")",
"(",
"eq_attr",
"<STR_LIT>",
"<STR_LIT>",
")",
")"
] |
LLVM | R600 | CPP | next_suggestion | GPU | 624,355 | [
"SDValue",
"MergedValues",
"[",
"<NUM_LIT>",
"]",
"=",
"{"
] | [
"if",
"(",
"Load",
"->",
"getAddressSpace",
"(",
")",
"!=",
"<STR_LIT>",
"::",
"<STR_LIT>",
")",
"return",
"SDValue",
"(",
")",
";",
"SDValue",
"TruncPtr",
"=",
"DAG",
".",
"getNode",
"(",
"ISD",
"::",
"EXTRACT_ELEMENT",
",",
"DL",
",",
"MVT",
"::",
"i... |
LLVM | MSP430 | CPP | stmt_completion | MPU | 624,356 | [
"[",
"CSI",
".",
"size",
"(",
")",
"-",
"<NUM_LIT>",
"]",
".",
"getReg",
"(",
")",
")",
".",
"setMIFlag",
"(",
"MachineInstr",
"::",
"FrameSetup",
")",
";"
] | [
"for",
"(",
"unsigned",
"i",
"=",
"CSI",
".",
"size",
"(",
")",
";",
"i",
"!=",
"<NUM_LIT>",
";",
"--",
"i",
")",
"{",
"unsigned",
"Reg",
"=",
"CSI",
"[",
"i",
"-",
"<NUM_LIT>",
"]",
".",
"getReg",
"(",
")",
";",
"MBB",
".",
"addLiveIn",
"(",
... |
LLVM | Hexagon | CPP | stmt_completion | DSP | 624,357 | [
"(",
")",
";"
] | [
"AU",
".",
"addPreserved",
"<",
"MachineDominatorTree",
">",
"(",
")",
";",
"AU",
".",
"addRequired",
"<",
"MachineLoopInfo",
">"
] |
LLVM | M88k | CPP | next_suggestion | MPU | 624,358 | [
"}"
] | [
"const",
"MCPhysReg",
"*",
"M88kRegisterInfo",
"::",
"getCalleeSavedRegs",
"(",
"const",
"MachineFunction",
"*",
"MF",
")",
"const",
"{",
"return",
"CSR_M88k_SaveList",
";"
] |
GCC | i386 | MD | stmt_completion | CPU | 624,359 | [
"]",
")"
] | [
"(",
"define_mode_iterator",
"VF1_128_256VL",
"[",
"(",
"V8SF",
"<STR_LIT>",
")",
"(",
"V4SF",
"<STR_LIT>",
")"
] |
GCC | i386 | CPP | program_repair | CPU | 624,360 | [
"<FIXS>",
"symtab",
"->",
"call_cgraph_insertion_hooks",
"(",
"cgraph_node",
"::",
"get_create",
"(",
"decl",
")",
")",
";",
"<FIXE>"
] | [
"*",
"empty_bb",
"=",
"init_lowered_empty_function",
"(",
"decl",
",",
"false",
")",
";",
"cgraph_node",
"::",
"add_new_function",
"(",
"decl",
",",
"true",
")",
";",
"<BUGS>",
"cgraph_node",
"::",
"get_create",
"(",
"decl",
")",
"->",
"call_function_insertion_h... |
GCC | nios2 | CPP | stmt_completion | MPU | 624,361 | [
";"
] | [
"static",
"bool",
"nios2_ldstwm_regset_p",
"(",
"unsigned",
"int",
"regno",
",",
"unsigned",
"int",
"*",
"regset",
")",
"{",
"if",
"(",
"*",
"regset",
"==",
"<NUM_LIT>",
")",
"{",
"if",
"(",
"CDX_LDSTWM_VALID_REGS_0",
"&",
"(",
"<NUM_LIT>",
"<<",
"regno",
... |
LLVM | ARM | CPP | code_generation | CPU | 624,362 | [
"unsigned",
"ARMConstantIslands",
"::",
"getOffsetOf",
"(",
"MachineInstr",
"*",
"MI",
")",
"const",
"{",
"MachineBasicBlock",
"*",
"MBB",
"=",
"MI",
"->",
"getParent",
"(",
")",
";",
"unsigned",
"Offset",
"=",
"BBInfo",
"[",
"MBB",
"->",
"getNumber",
"(",
... | [
"getOffsetOf",
"-",
"Return",
"the",
"current",
"offset",
"of",
"the",
"specified",
"machine",
"instruction",
"from",
"the",
"start",
"of",
"the",
"function",
"."
] |
LLVM | SystemZ | TD | stmt_completion | CPU | 624,363 | [
"asmvariantin",
";"
] | [
"class",
"CondVariant",
"<",
"bits",
"<",
"<NUM_LIT>",
">",
"ccmaskin",
",",
"string",
"suffixin",
",",
"bit",
"alternatein",
",",
"string",
"asmvariantin",
"=",
"<STR_LIT>",
">",
"{",
"bits",
"<",
"<NUM_LIT>",
">",
"ccmask",
"=",
"ccmaskin",
";",
"string",
... |
LLVM | Cpu0 | CPP | next_suggestion | CPU | 624,364 | [
"}"
] | [
"}",
"switch",
"(",
"MOTy",
")",
"{",
"case",
"MachineOperand",
"::",
"MO_GlobalAddress",
":",
"Symbol",
"=",
"AsmPrinter",
".",
"getSymbol",
"(",
"MO",
".",
"getGlobal",
"(",
")",
")",
";",
"Offset",
"+=",
"MO",
".",
"getOffset",
"(",
")",
";",
"break... |
LLVM | Mips | CPP | next_suggestion | CPU | 624,365 | [
"DebugLoc",
"DL",
"=",
"MI",
"->",
"getDebugLoc",
"(",
")",
";"
] | [
"const",
"TargetInstrInfo",
"*",
"TII",
"=",
"Subtarget",
".",
"getInstrInfo",
"(",
")",
";",
"MachineRegisterInfo",
"&",
"RegInfo",
"=",
"BB",
"->",
"getParent",
"(",
")",
"->",
"getRegInfo",
"(",
")",
";",
"const",
"TargetRegisterClass",
"*",
"RC",
"=",
... |
GCC | sparc | CPP | stmt_completion | CPU | 624,366 | [
"<NUM_LIT>",
",",
"OPTAB_DIRECT",
")",
";"
] | [
"rtx",
"t_1",
",",
"t_2",
",",
"t_3",
";",
"sel",
"=",
"gen_lowpart",
"(",
"DImode",
",",
"sel",
")",
";",
"switch",
"(",
"vmode",
")",
"{",
"case",
"E_V2SImode",
":",
"t_1",
"=",
"expand_simple_binop",
"(",
"DImode",
",",
"LSHIFTRT",
",",
"sel",
","... |
GCC | i386 | CPP | program_repair | CPU | 624,367 | [
"<FIXS>",
"else",
"<FIXE>",
"<FIXS>",
"t",
"=",
"build2",
"(",
"POINTER_PLUS_EXPR",
",",
"TREE_TYPE",
"(",
"ovf",
")",
",",
"ovf",
",",
"size_int",
"(",
"align",
"-",
"<NUM_LIT>",
")",
")",
";",
"t",
"=",
"fold_convert",
"(",
"sizetype",
",",
"t",
")",... | [
"if",
"(",
"FUNCTION_ARG_BOUNDARY",
"(",
"VOIDmode",
",",
"type",
")",
"<=",
"<NUM_LIT>",
"||",
"integer_zerop",
"(",
"TYPE_SIZE",
"(",
"type",
")",
")",
")",
"t",
"=",
"ovf",
";",
"<BUGS>",
"else",
"<BUGE>",
"{",
"HOST_WIDE_INT",
"align",
"=",
"FUNCTION_A... |
GCC | i386 | CPP | stmt_completion | CPU | 624,368 | [
"m512d",
"_",
"_",
"A",
",",
"_",
"_",
"m512d",
"_",
"_",
"B",
")",
"{"
] | [
"extern",
"_",
"_",
"inline",
"_",
"_",
"m512d",
"_",
"_",
"attribute__",
"(",
"(",
"_",
"_",
"gnu_inline__",
",",
"_",
"_",
"always_inline__",
",",
"_",
"_",
"artificial__",
")",
")",
"_",
"mm512_max_pd",
"(",
"_",
"_"
] |
GCC | rs6000 | CPP | stmt_completion | CPU | 624,369 | [
"VOIDmode",
",",
"scratch",
")",
";"
] | [
"static",
"void",
"rs6000_secondary_reload_trace",
"(",
"int",
"line",
",",
"rtx",
"reg",
",",
"rtx",
"mem",
",",
"rtx",
"scratch",
",",
"bool",
"store_p",
")",
"{",
"rtx",
"set",
",",
"clobber",
";",
"gcc_assert",
"(",
"reg",
"!=",
"NULL_RTX",
"&&",
"me... |
LLVM | AArch64 | TD | next_suggestion | CPU | 624,370 | [
"let",
"Inst",
"{",
"<NUM_LIT>",
"-",
"<NUM_LIT>",
"}",
"=",
"Rn",
";"
] | [
"let",
"Inst",
"{",
"<NUM_LIT>",
"-",
"<NUM_LIT>",
"}",
"=",
"<NUM_LIT>",
";",
"let",
"Inst",
"{",
"<NUM_LIT>",
"-",
"<NUM_LIT>",
"}",
"=",
"Rm",
";",
"let",
"Inst",
"{",
"<NUM_LIT>",
"-",
"<NUM_LIT>",
"}",
"=",
"<NUM_LIT>",
";",
"let",
"Inst",
"{",
... |
GCC | powerpcspe | MD | next_suggestion | CPU | 624,371 | [
"DONE"
] | [
"<STR_LIT>",
"{",
"rs6000_emit_popcount",
"(",
"operands",
"[",
"<NUM_LIT>",
"]",
",",
"operands",
"[",
"<NUM_LIT>",
"]",
")"
] |
LLVM | MSP430 | CPP | code_generation | MPU | 624,372 | [
"void",
"MSP430FrameLowering",
"::",
"eliminateCallFramePseudoInstr",
"(",
"MachineFunction",
"&",
"MF",
",",
"MachineBasicBlock",
"&",
"MBB",
",",
"MachineBasicBlock",
"::",
"iterator",
"I",
")",
"const",
"{",
"const",
"MSP430InstrInfo",
"&",
"TII",
"=",
"*",
"st... | [
"This",
"method",
"is",
"called",
"during",
"prolog/epilog",
"code",
"insertion",
"to",
"eliminate",
"call",
"frame",
"setup",
"and",
"destroy",
"pseudo",
"instructions",
"(",
"but",
"only",
"if",
"the",
"Target",
"is",
"using",
"them",
")",
"."
] |
GCC | i386 | MD | program_repair | CPU | 624,373 | [
"<FIXS>",
"(",
"match_operand",
"<NUM_LIT>",
"<STR_LIT>",
"<STR_LIT>",
")",
"(",
"match_operand",
"<NUM_LIT>",
"<STR_LIT>",
"<STR_LIT>",
")",
"]",
"<FIXE>"
] | [
"(",
"define_insn",
"<STR_LIT>",
"[",
"(",
"set",
"(",
"match_operand",
":",
"V2DI",
"<NUM_LIT>",
"<STR_LIT>",
"<STR_LIT>",
")",
"(",
"unspec",
":",
"V2DI",
"[",
"(",
"match_operand",
":",
"V2DI",
"<NUM_LIT>",
"<STR_LIT>",
"<STR_LIT>",
")",
"<BUGS>",
"(",
"m... |
LLVM | AArch64 | CPP | next_suggestion | CPU | 624,374 | [
"}"
] | [
"static",
"bool",
"canGuaranteeTCO",
"(",
"CallingConv",
"::",
"ID",
"CC",
",",
"bool",
"GuaranteeTailCalls",
")",
"{",
"return",
"(",
"CC",
"==",
"CallingConv",
"::",
"Fast",
"&&",
"GuaranteeTailCalls",
")",
"||",
"CC",
"==",
"CallingConv",
"::",
"Tail",
"|... |
GCC | rs6000 | MD | next_suggestion | CPU | 624,375 | [
"if",
"(",
"MEM_P",
"(",
"operands",
"[",
"<NUM_LIT>",
"]",
")",
")"
] | [
"(",
"clobber",
"(",
"match_scratch",
":",
"DI",
"<NUM_LIT>",
")",
")",
"(",
"clobber",
"(",
"match_scratch",
":",
"DI",
"<NUM_LIT>",
")",
")",
"]",
")",
"]",
"<STR_LIT>",
"{"
] |
GCC | arm | CPP | stmt_completion | CPU | 624,376 | [
"_",
"b",
")",
";"
] | [
"return",
"(",
"int16x8_t",
")",
"_",
"_",
"builtin_neon_vqaddsv8hi",
"(",
"_",
"_",
"a",
",",
"_"
] |
GCC | s390 | MD | stmt_completion | MPU | 624,377 | [
"<STR_LIT>",
")",
")"
] | [
"(",
"eq_attr",
"<STR_LIT>"
] |
LLVM | AArch64 | CPP | code_generation | CPU | 624,378 | [
"SDValue",
"AArch64TargetLowering",
"::",
"getGOT",
"(",
"NodeTy",
"*",
"N",
",",
"SelectionDAG",
"&",
"DAG",
",",
"unsigned",
"Flags",
")",
"const",
"{",
"LLVM_DEBUG",
"(",
"dbgs",
"(",
")",
"<<",
"<STR_LIT>",
"AArch64TargetLowering::getGOT\\n",
"<STR_LIT>",
")... | [
"Return",
"a",
"pseudo",
"source",
"value",
"referencing",
"the",
"global",
"offset",
"table",
"(",
"or",
"something",
"the",
"like",
")",
"."
] |
LLVM | PowerPC | CPP | stmt_completion | CPU | 624,379 | [
";"
] | [
"bool",
"PPCPassConfig",
"::",
"addIRTranslator",
"(",
")",
"{",
"addPass",
"(",
"new",
"IRTranslator",
"(",
")",
")",
";",
"return",
"false"
] |
GCC | i386 | MD | stmt_completion | CPU | 624,380 | [
")",
")"
] | [
"(",
"eq_attr",
"<STR_LIT>",
"<STR_LIT>"
] |
GCC | rs6000 | CPP | program_repair | CPU | 624,381 | [
"<FIXS>",
"if",
"(",
"TARGET_DIRECT_MOVE_64BIT",
"&&",
"!",
"lra_in_progress",
"&&",
"!",
"reload_completed",
"<FIXE>"
] | [
"static",
"boolrs6000_emit_move_si_sf_subreg",
"(",
"rtx",
"dest",
",",
"rtx",
"source",
",",
"machine_mode",
"mode",
")",
"{",
"<BUGS>",
"if",
"(",
"TARGET_DIRECT_MOVE_64BIT",
"&&",
"!",
"reload_in_progress",
"&&",
"!",
"reload_completed",
"&&",
"!",
"lra_in_progre... |
LLVM | X86 | CPP | next_suggestion | CPU | 624,382 | [
"return",
"getGPRsForTailCall",
"(",
"MF",
")",
";"
] | [
"if",
"(",
"Subtarget",
".",
"isTarget64BitLP64",
"(",
")",
")",
"return",
"&",
"X86",
"::",
"GR64_NOSPRegClass",
";",
"return",
"&",
"X86",
"::",
"GR32_NOSPRegClass",
";",
"case",
"<NUM_LIT>",
":",
"if",
"(",
"Subtarget",
".",
"isTarget64BitLP64",
"(",
")",... |
LLVM | CellSPU | TD | stmt_completion | MPU | 624,383 | [
"<",
"v2f64",
">",
";"
] | [
"def",
"v2f64",
":",
"SHLQBYIVecInst"
] |
GCC | aarch64 | MD | stmt_completion | CPU | 624,384 | [
"VNx8HI",
"VNx4SI",
"VNx2DI",
"]",
")"
] | [
"(",
"define_mode_iterator",
"SVE_FULL_I",
"[",
"VNx16QI"
] |
GCC | i386 | CPP | next_suggestion | CPU | 624,385 | [
"emit_insn",
"(",
"gen_rtx_PARALLEL",
"(",
"VOIDmode",
",",
"gen_rtvec",
"(",
"<NUM_LIT>",
",",
"op",
",",
"clob",
")",
")",
")",
";"
] | [
"else",
"dst",
"=",
"gen_reg_rtx",
"(",
"mode",
")",
";",
"}",
"if",
"(",
"!",
"use_ndd",
"&&",
"MEM_P",
"(",
"src",
")",
"&&",
"!",
"matching_memory",
")",
"src",
"=",
"force_reg",
"(",
"mode",
",",
"src",
")",
";",
"op",
"=",
"gen_rtx_SET",
"(",
... |
LLVM | Cpu0 | CPP | code_generation | CPU | 624,386 | [
"void",
"Cpu0TargetObjectFile",
"::",
"Initialize",
"(",
"MCContext",
"&",
"Ctx",
",",
"const",
"TargetMachine",
"&",
"TM",
")",
"{",
"TargetLoweringObjectFileELF",
"::",
"Initialize",
"(",
"Ctx",
",",
"TM",
")",
";",
"SmallDataSection",
"=",
"getContext",
"(",
... | [
"This",
"method",
"must",
"be",
"called",
"before",
"any",
"actual",
"lowering",
"is",
"done",
"."
] |
LLVM | Hexagon | TD | next_suggestion | DSP | 624,387 | [
"let",
"prefersSlot3",
"=",
"<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>",
";"
] |
GCC | aarch64 | CPP | stmt_completion | CPU | 624,388 | [
")",
";"
] | [
"switch",
"(",
"code",
"&",
"AARCH64_BUILTIN_CLASS",
")",
"{",
"case",
"AARCH64_BUILTIN_GENERAL",
":",
"return",
"true",
";",
"case",
"AARCH64_BUILTIN_SVE",
":",
"return",
"<STR_LIT>",
"::",
"<STR_LIT>",
"(",
"loc",
",",
"arg_loc",
",",
"subcode",
",",
"or",
"... |
LLVM | ARM | TD | stmt_completion | CPU | 624,389 | [
",",
"SDTARMVCMP",
">",
";"
] | [
"def",
"NEONvcge",
":",
"SDNode",
"<",
"<STR_LIT>"
] |
LLVM | VE | CPP | stmt_completion | CPU | 624,390 | [
"DAG",
")",
";"
] | [
"SDValue",
"VETargetLowering",
"::",
"lowerBlockAddress",
"(",
"SDValue",
"Op",
",",
"SelectionDAG",
"&",
"DAG",
")",
"const",
"{",
"return",
"makeAddress",
"(",
"Op",
","
] |
GCC | sparc | CPP | program_repair | CPU | 624,391 | [
"<FIXS>",
"return",
"-",
"<NUM_LIT>",
";",
"<FIXE>"
] | [
"if",
"(",
"TARGET_FPU",
"&&",
"named",
")",
"{",
"if",
"(",
"slotno",
">=",
"SPARC_FP_ARG_MAX",
")",
"<BUGS>",
"return",
"<NUM_LIT>",
";",
"<BUGE>",
"regno",
"=",
"SPARC_FP_ARG_FIRST",
"+",
"slotno",
"*",
"<NUM_LIT>",
";",
"if",
"(",
"mode",
"==",
"SFmode... |
LLVM | Hexagon | CPP | stmt_completion | DSP | 624,392 | [
")",
"{"
] | [
"if",
"(",
"Eval",
")",
"{",
"dbgs",
"(",
")",
"<<",
"<STR_LIT>",
" outputs:",
"<STR_LIT>",
";",
"for",
"(",
"auto",
"&",
"I",
":",
"Outputs",
")",
"dbgs",
"(",
")",
"<<",
"'",
"'",
"<<",
"I",
".",
"second",
";",
"dbgs",
"(",
")",
"<<",
"'",
... |
LLVM | Sparc | CPP | next_suggestion | CPU | 624,393 | [
"Hi",
"=",
"DAG",
".",
"getNode",
"(",
"ISD",
"::",
"ZERO_EXTEND",
",",
"dl",
",",
"MVT",
"::",
"i64",
",",
"Hi",
")",
";"
] | [
"SDValue",
"Src2Lo",
"=",
"DAG",
".",
"getNode",
"(",
"ISD",
"::",
"TRUNCATE",
",",
"dl",
",",
"MVT",
"::",
"i32",
",",
"Src2",
")",
";",
"SDValue",
"Src2Hi",
"=",
"DAG",
".",
"getNode",
"(",
"ISD",
"::",
"SRL",
",",
"dl",
",",
"MVT",
"::",
"i64"... |
GCC | loongarch | CPP | stmt_completion | CPU | 624,394 | [
"ATTRIBUTE_UNUSED",
")",
"{"
] | [
"static",
"rtx",
"loongarch_function_value",
"(",
"const_tree",
"valtype",
",",
"const_tree",
"fn_decl_or_type",
",",
"bool",
"outgoing"
] |
LLVM | ARM | CPP | stmt_completion | CPU | 624,395 | [
")",
"*",
"Sign",
";"
] | [
"else",
"if",
"(",
"Opcode",
"!=",
"ARM",
"::",
"ADDri",
")",
"return",
"std",
"::",
"nullopt",
";",
"if",
"(",
"!",
"MI",
".",
"getOperand",
"(",
"<NUM_LIT>",
")",
".",
"isReg",
"(",
")",
"||",
"!",
"MI",
".",
"getOperand",
"(",
"<NUM_LIT>",
")",
... |
LLVM | X86 | CPP | next_suggestion | CPU | 624,396 | [
"MachineInstr",
"*",
"NewMI",
"=",
"BuildMI",
"(",
"*",
"MFI",
",",
"MI",
",",
"DL",
",",
"TII",
"->",
"get",
"(",
"LEAOpcode",
")",
")",
".",
"add",
"(",
"Dst",
")",
".",
"addReg",
"(",
"<NUM_LIT>",
")",
".",
"add",
"(",
"Scale",
")",
".",
"ad... | [
"if",
"(",
"!",
"IsInefficientBase",
"||",
"(",
"!",
"IsInefficientIndex",
"&&",
"IsScale1",
")",
")",
"{",
"MachineInstr",
"*",
"NewMI",
"=",
"BuildMI",
"(",
"*",
"MFI",
",",
"MI",
",",
"DL",
",",
"TII",
"->",
"get",
"(",
"LEAOpcode",
")",
")",
".",... |
LLVM | ARM | CPP | stmt_completion | CPU | 624,397 | [
"OpNum",
")",
".",
"getReg",
"(",
")",
"+",
"<NUM_LIT>",
")",
"<<",
"<STR_LIT>",
"[]}",
"<STR_LIT>",
";"
] | [
"O",
"<<",
"<STR_LIT>",
"{",
"<STR_LIT>",
"<<",
"getRegisterName",
"(",
"MI",
"->",
"getOperand",
"(",
"OpNum",
")",
".",
"getReg",
"(",
")",
")",
"<<",
"<STR_LIT>",
"[], ",
"<STR_LIT>",
"<<",
"getRegisterName",
"(",
"MI",
"->",
"getOperand",
"("
] |
GCC | aarch64 | CPP | code_generation | CPU | 624,398 | [
"static",
"bool",
"aarch64_hard_regno_call_part_clobbered",
"(",
"unsigned",
"int",
"regno",
",",
"machine_mode",
"mode",
")",
"{",
"return",
"FP_REGNUM_P",
"(",
"regno",
")",
"&&",
"maybe_gt",
"(",
"GET_MODE_SIZE",
"(",
"mode",
")",
",",
"<NUM_LIT>",
")",
";",
... | [
"Implement",
"TARGET_HARD_REGNO_CALL_PART_CLOBBERED",
".",
"The",
"callee",
"only",
"saves",
"the",
"lower",
"64",
"bits",
"of",
"a",
"128-bit",
"register",
".",
"Tell",
"the",
"compiler",
"the",
"callee",
"clobbers",
"the",
"top",
"64",
"bits",
"when",
"restori... |
LLVM | SystemZ | CPP | stmt_completion | CPU | 624,399 | [
"CurDAG",
"->",
"getConstant",
"(",
"ShlAmt",
",",
"DL",
",",
"MVT",
"::",
"i32",
")",
")",
";"
] | [
"SDValue",
"Result",
"=",
"CurDAG",
"->",
"getNode",
"(",
"<STR_LIT>",
"::",
"<STR_LIT>",
",",
"DL",
",",
"MVT",
"::",
"i32",
",",
"Glue",
")",
";",
"if",
"(",
"IPM",
".",
"XORValue",
")",
"Result",
"=",
"CurDAG",
"->",
"getNode",
"(",
"ISD",
"::",
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.