Lines Matching refs:BaseCost
944 InstructionCost BaseCost = 2; in getMinMaxReductionCost() local
947 return (LT.first - 1) + BaseCost; in getMinMaxReductionCost()
950 return (LT.first - 1) + BaseCost + Log2_32_Ceil(VL); in getMinMaxReductionCost()
977 InstructionCost BaseCost = 2; in getArithmeticReductionCost() local
980 return (LT.first - 1) + BaseCost; in getArithmeticReductionCost()
984 return (LT.first - 1) + BaseCost + VL; in getArithmeticReductionCost()
985 return (LT.first - 1) + BaseCost + Log2_32_Ceil(VL); in getArithmeticReductionCost()
1049 InstructionCost BaseCost = in getMemoryOpCost() local
1057 BaseCost *= TLI->getLMULCost(LT.second); in getMemoryOpCost()
1058 return Cost + BaseCost; in getMemoryOpCost()
1223 unsigned BaseCost = 1; in getVectorInstrCost() local
1263 BaseCost = Opcode == Instruction::InsertElement ? 3 : 4; in getVectorInstrCost()
1265 return BaseCost + SlideCost; in getVectorInstrCost()