[Power] Use AtomicExpandPass for fence insertion, and use lwsync where appropriate
[oota-llvm.git] / lib / Target / PowerPC / PPCISelLowering.h
index 5628bc79342de218b18ebc735495b094511b0377..7444d41bbc47603b399f0a85100652f52c9342ad 100644 (file)
@@ -413,6 +413,11 @@ namespace llvm {
                                        const SelectionDAG &DAG,
                                        unsigned Depth = 0) const override;
 
+    Instruction* emitLeadingFence(IRBuilder<> &Builder, AtomicOrdering Ord,
+                                  bool IsStore, bool IsLoad) const override;
+    Instruction* emitTrailingFence(IRBuilder<> &Builder, AtomicOrdering Ord,
+                                   bool IsStore, bool IsLoad) const override;
+
     MachineBasicBlock *
       EmitInstrWithCustomInserter(MachineInstr *MI,
                                   MachineBasicBlock *MBB) const override;