Lines Matching refs:ScalarBits
558 unsigned ScalarBits = Ty->getScalarSizeInBits(); in getArithmeticInstrCost() local
611 if ((ScalarBits <= 64 && ST->hasMiscellaneousExtensions3()) || in getArithmeticInstrCost()
621 ((ScalarBits <= 64 && ST->hasMiscellaneousExtensions3()) || in getArithmeticInstrCost()
633 if (Opcode == Instruction::Xor && ScalarBits == 1) { in getArithmeticInstrCost()
666 if (ST->hasVectorEnhancements3() && ScalarBits >= 32) in getArithmeticInstrCost()
682 switch (ScalarBits) { in getArithmeticInstrCost()
716 if (VF == 2 && ScalarBits == 32) in getArithmeticInstrCost()
1102 unsigned ScalarBits = ValTy->getScalarSizeInBits(); in getCmpSelInstrCost() local
1103 if (I != nullptr && (ScalarBits == 32 || ScalarBits == 64)) in getCmpSelInstrCost()
1434 InstructionCost getIntAddReductionCost(unsigned NumVec, unsigned ScalarBits) { in getIntAddReductionCost() argument
1439 Cost += (ScalarBits < 32) ? 3 : 2; in getIntAddReductionCost()
1444 unsigned ScalarBits) { in getFastReductionCost() argument
1445 unsigned NumEltsPerVecReg = (SystemZ::VectorBits / ScalarBits); in getFastReductionCost()
1464 unsigned ScalarBits = Ty->getScalarSizeInBits(); in getArithmeticReductionCost() local
1469 ScalarBits <= SystemZ::VectorBits) { in getArithmeticReductionCost()
1474 return getIntAddReductionCost(NumVectors, ScalarBits); in getArithmeticReductionCost()
1477 getFastReductionCost(NumVectors, NumElems, ScalarBits); in getArithmeticReductionCost()
1495 unsigned ScalarBits = Ty->getScalarSizeInBits(); in getMinMaxReductionCost() local
1501 Cost += 2 * (std::min(NumElems, SystemZ::VectorBits / ScalarBits) - 1); in getMinMaxReductionCost()