llvm-6502/test/CodeGen
Quentin Colombet 7775242da3 [CodeGenPrepare] Refine the cost model provided by the promotion helper.
- Use TargetLowering to check for the actual cost of each extension.
- Provide a factorized method to check for the cost of an extension:
  TargetLowering::isExtFree.
- Provide a virtual method TargetLowering::isExtFreeImpl for targets to be able
  to tune the cost of non-free extensions.

This refactoring offers a better granularity to model what really happens on
different targets.

No performance changes and very few code differences.

Part of <rdar://problem/19267165> 


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@231855 91177308-0d34-0410-b5e6-96231b3b80d8
2015-03-10 21:48:15 +00:00
..
AArch64 [AArch64] Avoid going through GPRs for across-vector instructions. 2015-03-10 20:45:38 +00:00
ARM
BPF
CPP
Generic
Hexagon [Hexagon] Removing unused patterns. 2015-03-09 23:08:46 +00:00
Inputs
Mips
MSP430
NVPTX
PowerPC Add support for part-word atomics for PPC 2015-03-10 20:51:07 +00:00
R600
SPARC
SystemZ
Thumb
Thumb2
WinEH
X86 [CodeGenPrepare] Refine the cost model provided by the promotion helper. 2015-03-10 21:48:15 +00:00
XCore