Lines Matching refs:CommonCost
6075 InstructionCost CommonCost = 0; in getEntryCost() local
6091 CommonCost = in getEntryCost()
6117 CommonCost -= TTI->getVectorInstrCost(Instruction::ExtractElement, in getEntryCost()
6121 CommonCost -= TTI->getVectorInstrCost(Instruction::ExtractElement, in getEntryCost()
6130 CommonCost += TTI->getVectorInstrCost(Instruction::ExtractElement, in getEntryCost()
6135 CommonCost += TTI->getVectorInstrCost(Instruction::ExtractElement, in getEntryCost()
6151 CommonCost -= TTI->getExtractWithExtendCost( in getEntryCost()
6154 CommonCost += TTI->getCastInstrCost( in getEntryCost()
6160 CommonCost -= in getEntryCost()
6164 AdjustExtractsCost(CommonCost); in getEntryCost()
6166 return CommonCost; in getEntryCost()
6287 CommonCost -= (EntryVF - VL.size()) * ScalarEltCost; in getEntryCost()
6297 VecCost = CommonCost + TTI->getCastInstrCost( in getEntryCost()
6301 LLVM_DEBUG(dumpTreeCosts(E, CommonCost, VecCost, ScalarCost)); in getEntryCost()
6312 CommonCost -= (EntryVF - VL.size()) * ScalarEltCost; in getEntryCost()
6352 LLVM_DEBUG(dumpTreeCosts(E, CommonCost, VecCost, ScalarCost)); in getEntryCost()
6353 return CommonCost + VecCost - ScalarCost; in getEntryCost()
6416 CommonCost -= (EntryVF - VL.size()) * ScalarEltCost; in getEntryCost()
6422 LLVM_DEBUG(dumpTreeCosts(E, CommonCost, VecCost, ScalarCost)); in getEntryCost()
6423 return CommonCost + VecCost - ScalarCost; in getEntryCost()
6441 CommonCost -= (EntryVF - VL.size()) * ScalarEltCost; in getEntryCost()
6446 LLVM_DEBUG(dumpTreeCosts(E, CommonCost, VecCost, ScalarCost)); in getEntryCost()
6447 return CommonCost + VecCost - ScalarCost; in getEntryCost()
6455 CommonCost -= (EntryVF - VL.size()) * ScalarEltCost; in getEntryCost()
6472 LLVM_DEBUG(dumpTreeCosts(E, CommonCost, VecLdCost, ScalarLdCost)); in getEntryCost()
6473 return CommonCost + VecLdCost - ScalarLdCost; in getEntryCost()
6486 LLVM_DEBUG(dumpTreeCosts(E, CommonCost, VecStCost, ScalarStCost)); in getEntryCost()
6487 return CommonCost + VecStCost - ScalarStCost; in getEntryCost()
6498 CommonCost -= (EntryVF - VL.size()) * ScalarEltCost; in getEntryCost()
6510 return CommonCost + VecCallCost - ScalarCallCost; in getEntryCost()
6524 CommonCost -= TTI->getInstructionCost(I, CostKind); in getEntryCost()
6528 CommonCost += TTI->getInstructionCost(I, CostKind); in getEntryCost()
6586 CommonCost = in getEntryCost()
6597 CommonCost = TTI->getShuffleCost(TargetTransformInfo::SK_PermuteTwoSrc, in getEntryCost()
6600 LLVM_DEBUG(dumpTreeCosts(E, CommonCost, VecCost, ScalarCost)); in getEntryCost()
6601 return CommonCost + VecCost - ScalarCost; in getEntryCost()