diff options
author | Nadav Rotem <nrotem@apple.com> | 2012-12-21 01:33:59 +0000 |
---|---|---|
committer | Nadav Rotem <nrotem@apple.com> | 2012-12-21 01:33:59 +0000 |
commit | f5637c399711e37287e01f9d9ca9ce7cd2f3d14f (patch) | |
tree | dcd65a6368e1ef7e88a0e9223df34ee4e70cb64a /lib/Target/X86/X86ISelLowering.h | |
parent | c2a537bd08d9deedefe184c9fb887c6d30ae9fd2 (diff) | |
download | external_llvm-f5637c399711e37287e01f9d9ca9ce7cd2f3d14f.zip external_llvm-f5637c399711e37287e01f9d9ca9ce7cd2f3d14f.tar.gz external_llvm-f5637c399711e37287e01f9d9ca9ce7cd2f3d14f.tar.bz2 |
Improve the X86 cost model for loads and stores.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@170830 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/X86ISelLowering.h')
-rw-r--r-- | lib/Target/X86/X86ISelLowering.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Target/X86/X86ISelLowering.h b/lib/Target/X86/X86ISelLowering.h index 5be7f09..72cd3b3 100644 --- a/lib/Target/X86/X86ISelLowering.h +++ b/lib/Target/X86/X86ISelLowering.h @@ -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; |