Lines Matching defs:Cost
187 // Cost of HVX loads.
190 // Cost of constructing HVX vector from scalar loads
202 unsigned Cost =
210 return Cost * NumLoads;
214 return (3 - LogA) * Cost * NumLoads;
311 InstructionCost Cost =
315 return Cost == 0 ? 0 : 1;
316 return Cost;
329 unsigned Cost = (Index != 0) ? 2 : 0;
331 return Cost;
333 return Cost + getVectorInstrCost(Instruction::ExtractElement, Val, CostKind,