Improve the X86 cost model for loads and stores.
[oota-llvm.git] / lib / Target / X86 / X86ISelLowering.h
index 5be7f095a4707d9e048599109730b57e479dd090..72cd3b3f5bc139fdbbd4d2c5bc1abfd9afe85019 100644 (file)
@@ -953,6 +953,10 @@ namespace llvm {
 
     virtual unsigned getArithmeticInstrCost(unsigned Opcode, Type *Ty) const;
 
+    virtual unsigned getMemoryOpCost(unsigned Opcode, Type *Src,
+                                     unsigned Alignment,
+                                     unsigned AddressSpace) const;
+
     virtual unsigned getVectorInstrCost(unsigned Opcode, Type *Val,
                                         unsigned Index) const;