reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
6094 if (canTruncateToMinimalBitwidth(I, VF)) 6096 VectorTy = isScalarAfterVectorization(I, VF) ? RetTy : ToVectorTy(RetTy, VF); 6096 VectorTy = isScalarAfterVectorization(I, VF) ? RetTy : ToVectorTy(RetTy, VF); 6113 if (VF > 1 && BI->isConditional() && 6123 VectorType::get(IntegerType::getInt1Ty(RetTy->getContext()), VF); 6125 (TTI.getCFInstrCost(Instruction::Br) * VF)); 6126 } else if (I->getParent() == TheLoop->getLoopLatch() || VF == 1) 6141 if (VF > 1 && Legal->isFirstOrderRecurrence(Phi)) 6143 VectorTy, VF - 1, VectorType::get(RetTy, 1)); 6148 if (VF > 1 && Phi->getParent() != TheLoop->getHeader()) 6151 Instruction::Select, ToVectorTy(Phi->getType(), VF), 6152 ToVectorTy(Type::getInt1Ty(Phi->getContext()), VF)); 6164 if (VF > 1 && isScalarWithPredication(I)) { 6171 Cost += VF * TTI.getCFInstrCost(Instruction::PHI); 6174 Cost += VF * TTI.getArithmeticInstrCost(I->getOpcode(), RetTy); 6178 Cost += getScalarizationOverhead(I, VF); 6213 unsigned N = isScalarAfterVectorization(I, VF) ? VF : 1; 6213 unsigned N = isScalarAfterVectorization(I, VF) ? VF : 1; 6219 unsigned N = isScalarAfterVectorization(I, VF) ? VF : 1; 6219 unsigned N = isScalarAfterVectorization(I, VF) ? VF : 1; 6232 CondTy = VectorType::get(CondTy, VF); 6240 if (canTruncateToMinimalBitwidth(Op0AsInstruction, VF)) 6242 VectorTy = ToVectorTy(ValTy, VF); 6247 unsigned Width = VF; 6256 return getMemoryInstructionCost(I, VF); 6273 if (isOptimizableIVTruncate(I, VF)) { 6281 VectorTy->isVectorTy() ? ToVectorTy(SrcScalarTy, VF) : SrcScalarTy; 6282 if (canTruncateToMinimalBitwidth(I, VF)) { 6292 largestIntegerVectorType(ToVectorTy(I->getType(), VF), MinVecTy); 6297 smallestIntegerVectorType(ToVectorTy(I->getType(), VF), MinVecTy); 6301 unsigned N = isScalarAfterVectorization(I, VF) ? VF : 1; 6301 unsigned N = isScalarAfterVectorization(I, VF) ? VF : 1; 6307 unsigned CallCost = getVectorCallCost(CI, VF, NeedToScalarize); 6309 return std::min(CallCost, getVectorIntrinsicCost(CI, VF)); 6315 return VF * TTI.getArithmeticInstrCost(Instruction::Mul, VectorTy) + 6316 getScalarizationOverhead(I, VF);