LLVM 22.0.0git
PPCExpandAtomicPseudoInsts.cpp File Reference

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "ppc-atomic-expand"
#define TRIVIAL_ATOMICRMW(Opcode, Instr)

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "ppc-atomic-expand"

Definition at line 25 of file PPCExpandAtomicPseudoInsts.cpp.

◆ TRIVIAL_ATOMICRMW

#define TRIVIAL_ATOMICRMW ( Opcode,
Instr )
Value:
case Opcode: \
BuildMI(CurrentMBB, DL, TII->get((Instr)), ScratchLo) \
.addReg(IncrLo) \
.addReg(OldLo); \
BuildMI(CurrentMBB, DL, TII->get((Instr)), ScratchHi) \
.addReg(IncrHi) \
.addReg(OldHi); \
break
MachineBasicBlock MachineBasicBlock::iterator DebugLoc DL
const HexagonInstrInfo * TII