Daniil Fukalov 7ed3d81333 [NFCI] Move cost estimation from TargetLowering to TargetTransformInfo.
TragetLowering had two last InstructionCost related `getTypeLegalizationCost()`
and `getScalingFactorCost()` members, but all other costs are processed in TTI.

E.g. it is not comfortable to use other TTI members in these two functions
overrided in a target.

Minor refactoring: `getTypeLegalizationCost()` now doesn't need DataLayout
parameter - it was always passed from TTI.

Reviewed By: RKSimon

Differential Revision: https://reviews.llvm.org/D117723
2022-08-18 00:38:55 +03:00
..
2022-08-07 23:55:27 -07:00
2022-08-14 16:25:36 -07:00
2022-02-06 22:18:35 -08:00
2022-02-18 15:05:21 +01:00
2022-02-18 15:05:21 +01:00
2022-03-16 08:43:00 +01:00
2021-11-12 11:37:21 +01:00
2022-02-18 15:05:21 +01:00
2022-07-05 13:37:44 +02:00
2021-11-12 11:37:21 +01:00
2022-03-16 08:43:00 +01:00
2022-02-18 15:05:21 +01:00