reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
764 assert(Val->isVectorTy() && "This must be a vector type"); 769 int Cost = BaseT::getVectorInstrCost(Opcode, Val, Index); 770 Cost = vectorCostAdjustment(Cost, Opcode, Val, nullptr); 772 if (ST->hasVSX() && Val->getScalarType()->isDoubleTy()) { 780 } else if (ST->hasQPX() && Val->getScalarType()->isFloatingPointTy()) { 787 } else if (Val->getScalarType()->isIntegerTy() && Index != -1U) { 792 return vectorCostAdjustment(2, Opcode, Val, nullptr); 795 unsigned EltSize = Val->getScalarSizeInBits(); 809 return vectorCostAdjustment(1, Opcode, Val, nullptr);