Changeset View
Changeset View
Standalone View
Standalone View
llvm/lib/Target/PowerPC/PPCISelLowering.h
Show First 20 Lines • Show All 870 Lines • ▼ Show 20 Lines | bool shouldInsertFencesForAtomic(const Instruction *I) const override { | ||||
return true; | return true; | ||||
} | } | ||||
Instruction *emitLeadingFence(IRBuilderBase &Builder, Instruction *Inst, | Instruction *emitLeadingFence(IRBuilderBase &Builder, Instruction *Inst, | ||||
AtomicOrdering Ord) const override; | AtomicOrdering Ord) const override; | ||||
Instruction *emitTrailingFence(IRBuilderBase &Builder, Instruction *Inst, | Instruction *emitTrailingFence(IRBuilderBase &Builder, Instruction *Inst, | ||||
AtomicOrdering Ord) const override; | AtomicOrdering Ord) const override; | ||||
TargetLowering::AtomicExpansionKind | |||||
shouldExpandAtomicRMWInIR(AtomicRMWInst *AI) const override; | |||||
TargetLowering::AtomicExpansionKind | |||||
shouldExpandAtomicCmpXchgInIR(AtomicCmpXchgInst *AI) const override; | |||||
Value *emitMaskedAtomicRMWIntrinsic(IRBuilderBase &Builder, | |||||
AtomicRMWInst *AI, Value *AlignedAddr, | |||||
Value *Incr, Value *Mask, | |||||
Value *ShiftAmt, | |||||
AtomicOrdering Ord) const override; | |||||
Value *emitMaskedAtomicCmpXchgIntrinsic(IRBuilderBase &Builder, | |||||
AtomicCmpXchgInst *CI, | |||||
Value *AlignedAddr, Value *CmpVal, | |||||
Value *NewVal, Value *Mask, | |||||
AtomicOrdering Ord) const override; | |||||
MachineBasicBlock * | MachineBasicBlock * | ||||
EmitInstrWithCustomInserter(MachineInstr &MI, | EmitInstrWithCustomInserter(MachineInstr &MI, | ||||
MachineBasicBlock *MBB) const override; | MachineBasicBlock *MBB) const override; | ||||
MachineBasicBlock *EmitAtomicBinary(MachineInstr &MI, | MachineBasicBlock *EmitAtomicBinary(MachineInstr &MI, | ||||
MachineBasicBlock *MBB, | MachineBasicBlock *MBB, | ||||
unsigned AtomicSize, | unsigned AtomicSize, | ||||
unsigned BinOpcode, | unsigned BinOpcode, | ||||
unsigned CmpOpcode = 0, | unsigned CmpOpcode = 0, | ||||
▲ Show 20 Lines • Show All 528 Lines • Show Last 20 Lines |