Searched refs:NewCost (Results 1 – 5 of 5) sorted by relevance
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
H A D | VectorCombine.cpp | 240 InstructionCost NewCost = in vectorizeLoadInsert() local 259 if (OldCost < NewCost || !NewCost.isValid()) in vectorizeLoadInsert() 318 InstructionCost NewCost = in widenSubvectorLoad() local 323 if (OldCost < NewCost || !NewCost.isValid()) in widenSubvectorLoad() 469 NewCost += in isExtractExtractCheap() 476 return OldCost < NewCost; in isExtractExtractCheap() 670 if (NewCost > OldCost) in foldInsExtFNeg() 830 if (OldCost < NewCost || !NewCost.isValid()) in scalarizeVPIntrinsic() 949 if (OldCost < NewCost || !NewCost.isValid()) in scalarizeBinopOrCmp() 1058 if (OldCost < NewCost || !NewCost.isValid()) in foldExtractedCmps() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | LoopStrengthReduce.cpp | 5164 Cost NewCost(L, SE, TTI, AMK); in SolveRecurse() local 5191 NewCost = CurCost; in SolveRecurse() 5193 NewCost.RateFormula(F, NewRegs, VisitedRegs, LU); in SolveRecurse() 5194 if (NewCost.isLess(SolutionCost)) { in SolveRecurse() 5197 SolveRecurse(Solution, SolutionCost, Workspace, NewCost, in SolveRecurse() 5202 LLVM_DEBUG(dbgs() << "New best at "; NewCost.print(dbgs()); in SolveRecurse() 5208 SolutionCost = NewCost; in SolveRecurse()
|
H A D | LowerMatrixIntrinsics.cpp | 1370 InstructionCost NewCost = TTI.getArithmeticInstrCost( in lowerDotProduct() local 1372 return NewCost - OriginalCost; in lowerDotProduct()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | CodeGenPrepare.cpp | 3450 bool isPromotionProfitable(unsigned NewCost, unsigned OldCost, 4689 unsigned NewCost, unsigned OldCost, Value *PromotedOperand) const { in isPromotionProfitable() argument 4690 LLVM_DEBUG(dbgs() << "OldCost: " << OldCost << "\tNewCost: " << NewCost in isPromotionProfitable() 4695 if (NewCost > OldCost) in isPromotionProfitable() 4697 if (NewCost < OldCost) in isPromotionProfitable()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/ |
H A D | ARMISelDAGToDAG.cpp | 585 unsigned NewCost = ConstantMaterializationCost(NewMulConstVal, Subtarget); in canExtractShiftFromMul() local 586 return NewCost < OldCost; in canExtractShiftFromMul()
|