Lines Matching refs:CostFactor
591 InstructionCost CostFactor = vectorCostAdjustmentFactor(Opcode, Ty, nullptr); in getArithmeticInstrCost() local
592 if (!CostFactor.isValid()) in getArithmeticInstrCost()
603 return Cost * CostFactor; in getArithmeticInstrCost()
612 InstructionCost CostFactor = in getShuffleCost() local
614 if (!CostFactor.isValid()) in getShuffleCost()
625 return LT.first * CostFactor; in getShuffleCost()
644 InstructionCost CostFactor = vectorCostAdjustmentFactor(Opcode, Dst, Src); in getCastInstrCost() local
645 if (!CostFactor.isValid()) in getCastInstrCost()
650 Cost *= CostFactor; in getCastInstrCost()
662 InstructionCost CostFactor = in getCmpSelInstrCost() local
664 if (!CostFactor.isValid()) in getCmpSelInstrCost()
672 return Cost * CostFactor; in getCmpSelInstrCost()
684 InstructionCost CostFactor = vectorCostAdjustmentFactor(Opcode, Val, nullptr); in getVectorInstrCost() local
685 if (!CostFactor.isValid()) in getVectorInstrCost()
690 Cost *= CostFactor; in getVectorInstrCost()
708 return 2 * CostFactor; in getVectorInstrCost()
725 return CostFactor + MaskCost; in getVectorInstrCost()
762 InstructionCost CostFactor = vectorCostAdjustmentFactor(Opcode, Src, nullptr); in getMemoryOpCost() local
763 if (!CostFactor.isValid()) in getMemoryOpCost()
780 Cost *= CostFactor; in getMemoryOpCost()
848 InstructionCost CostFactor = in getInterleavedMemoryOpCost() local
850 if (!CostFactor.isValid()) in getInterleavedMemoryOpCost()
1054 InstructionCost CostFactor = in getVPMemoryOpCost() local
1056 if (!CostFactor.isValid()) in getVPMemoryOpCost()
1059 InstructionCost Cost = LT.first * CostFactor; in getVPMemoryOpCost()