2 struct TargetLoweringBase {
3 void getTypeLegalizationCost(const DataLayout &DL) const;
5 struct TargetTransformInfoImplBase {
9 struct TargetTransformInfoImplCRTPBase : public TargetTransformInfoImplBase {};
11 struct BasicTTIImplBase : public TargetTransformInfoImplCRTPBase<T> {
12 const TargetLoweringBase *getTLI() const;
13 using TargetTransformInfoImplBase::DL;
14 void getArithmeticInstrCost() {
15 const TargetLoweringBase *TLI = getTLI();
16 TLI->getTypeLegalizationCost(DL);