Searched refs:XADD (Results 1 – 22 of 22) sorted by relevance
473 class XADD<bits<2> SizeOp, string OpcodeStr, PatFrag OpNode>494 def XADD32 : XADD<0, "xadd32", atomic_load_add_32>;495 def XADD64 : XADD<3, "xadd64", atomic_load_add_64>;496 // undefined def XADD16 : XADD<1, "xadd16", atomic_load_add_16>;497 // undefined def XADD8 : XADD<2, "xadd8", atomic_load_add_8>;
70 #define XADD(T, S) "lock *(" #T " *)(" REG(1) OFF(3) ") += " S macro423 code_fmt = XADD(u32, REG(2)); in bpf_disasm()426 code_fmt = XADD(u64, REG(2)); in bpf_disasm()
50 XConcat, XADD, XAND, XSRA, XSRL, XSHL, XListConcat, XStrConcat, XCast, enumerator
473 .Case("add", tgtok::XADD) in LexExclaim()
872 case tgtok::XADD: in ParseOperation()890 case tgtok::XADD: Code = BinOpInit::ADD; Type = IntRecTy::get(); break; in ParseOperation()1438 case tgtok::XADD: in ParseSimpleValue()
50 XConcat, XADD, XAND, XOR, XSRA, XSRL, XSHL, XListConcat, XStrConcat, XCast, enumerator
482 .Case("add", tgtok::XADD) in LexExclaim()
1026 case tgtok::XADD: in ParseOperation()1048 case tgtok::XADD: Code = BinOpInit::ADD; break; in ParseOperation()1078 case tgtok::XADD: in ParseOperation()1921 case tgtok::XADD: in ParseSimpleValue()
549 class XADD<BPFWidthModifer SizeOp, string OpcodeStr, PatFrag OpNode>565 def XADD32 : XADD<BPF_W, "u32", atomic_load_add_32>;566 def XADD64 : XADD<BPF_DW, "u64", atomic_load_add_64>;567 // undefined def XADD16 : XADD<1, "xadd16", atomic_load_add_16>;568 // undefined def XADD8 : XADD<2, "xadd8", atomic_load_add_8>;
568 "XADD(8|16|32|64)rr",585 def : InstRW<[AtomWrite01_3], (instregex "XADD(8|16|32|64)rm",
809 // XADD.810 def : InstRW<[WriteMicrocoded], (instregex "XADD(8|16|32|64)rm")>;
1004 def: InstRW<[SBWriteResGroup86], (instregex "XADD(8|16|32|64)rm")>;
1238 def: InstRW<[SKLWriteResGroup101], (instregex "XADD(8|16|32|64)rm")>;
1157 def: InstRW<[BWWriteResGroup88], (instregex "XADD(8|16|32|64)rm")>;
1227 def: InstRW<[HWWriteResGroup47], (instregex "XADD(8|16|32|64)rm")>;
1508 def: InstRW<[SKXWriteResGroup108], (instregex "XADD(8|16|32|64)rm")>;
123 e.emit(BPF.XADD + BPF.STX + const_width[w], dst_reg, src_reg, off or 0, 0)
1286 if mode == BPF.XADD then cls = 5 end -- The only mode
1007 // XADD.1011 def : InstRW<[WriteXADD], (instregex "XADD(8|16|32|64)rm")>;
438 uses ``XCHG``, ``atomicrmw add`` and ``atomicrmw sub`` use ``XADD``, and all
9932 ICLASS : XADD9943 ICLASS : XADD9970 ICLASS : XADD9982 ICLASS : XADD