Lines Matching refs:ValTy
243 int ARMTTIImpl::getVectorInstrCost(unsigned Opcode, Type *ValTy,
249 ValTy->isVectorTy() &&
250 ValTy->getScalarSizeInBits() <= 32)
257 if (ValTy->getVectorElementType()->isIntegerTy())
262 if (ValTy->isVectorTy() &&
263 ValTy->getScalarSizeInBits() <= 32)
264 return std::max(BaseT::getVectorInstrCost(Opcode, ValTy, Index), 2U);
267 return BaseT::getVectorInstrCost(Opcode, ValTy, Index);
270 int ARMTTIImpl::getCmpSelInstrCost(unsigned Opcode, Type *ValTy, Type *CondTy) {
274 if (ST->hasNEON() && ValTy->isVectorTy() && ISD == ISD::SELECT) {
283 EVT SelValTy = TLI->getValueType(DL, ValTy);
291 std::pair<int, MVT> LT = TLI->getTypeLegalizationCost(DL, ValTy);
295 return BaseT::getCmpSelInstrCost(Opcode, ValTy, CondTy);