Searched refs:CostCtx (Results 1 – 2 of 2) sorted by relevance
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
| H A D | LoopVectorize.cpp | 4021 VPCostContext CostCtx(CM.TTI, *CM.TLI, Legal->getWidestInductionType(), in emitInvalidCostRemarks() local 4023 precomputeCosts(*Plan, VF, CostCtx); in emitInvalidCostRemarks() 4027 if (!R.cost(VF, CostCtx).isValid()) in emitInvalidCostRemarks() 4276 VPCostContext CostCtx(CM.TTI, *CM.TLI, CM.Legal->getWidestInductionType(), in selectVectorizationFactor() local 4289 C += VPI->cost(VF, CostCtx); in selectVectorizationFactor() 6735 VPCostContext &CostCtx) const { in precomputeCosts() 6764 if (!CostCtx.CM.isOptimizableIVTruncate(CI, VF)) in precomputeCosts() 6777 CostCtx.SkipCostComputation); in precomputeCosts() 6780 if (CostCtx.skipCostComputation(IVInst, VF.isVector())) in precomputeCosts() 6782 InstructionCost InductionCost = CostCtx.getLegacyCost(IVInst, VF); in precomputeCosts() [all …]
|
| H A D | LoopVectorizationPlanner.h | 461 VPCostContext &CostCtx) const;
|