LLVM 20.0.0git
Macros
PPCExpandAtomicPseudoInsts.cpp File Reference
#include "MCTargetDesc/PPCPredicates.h"
#include "PPC.h"
#include "PPCInstrInfo.h"
#include "PPCTargetMachine.h"
#include "llvm/CodeGen/LivePhysRegs.h"
#include "llvm/CodeGen/MachineFunctionPass.h"
#include "llvm/CodeGen/MachineInstrBuilder.h"

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 26 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