Lines Matching defs:Cost

51   InstructionCost Cost = 0;
55 Cost += TLI->getVRGatherVICost(VT);
58 Cost += TLI->getVRGatherVVCost(VT);
62 Cost += TLI->getVSlideVICost(VT);
66 Cost += TLI->getVSlideVXCost(VT);
82 Cost += Log2_32_Ceil(VL);
89 Cost += VL;
103 Cost += 1;
106 Cost += LMULCost;
109 return Cost;
449 InstructionCost Cost = 0;
460 Cost += getShuffleCost(IsSingleVector ? TTI::SK_PermuteSingleSrc
463 return Cost;
675 InstructionCost Cost = MemCost;
683 Cost += ShuffleCost;
685 return Cost;
727 // Cost is proportional to the number of memory operations implied. For
750 // Cost is proportional to the number of memory operations implied. For
938 InstructionCost Cost = getRISCVInstructionCost(
946 Cost += getCmpSelInstrCost(Instruction::ICmp, BoolTy, RetTy,
951 return Cost;
955 unsigned Cost = 5;
958 return Cost * LT.first;
963 unsigned Cost = 7;
966 return Cost * LT.first;
976 unsigned Cost = 7;
980 return Cost * LT.first;
1017 return LT.first * Entry->Cost;
1089 InstructionCost Cost = 0;
1097 Cost += getRISCVInstructionCost(Op, DstMVT, CostKind);
1099 return Cost;
1173 // Cost of Canonical Nan + branch
1192 // Cost of Canonical Nan + branch
1390 InstructionCost Cost = 0;
1392 Cost += getStoreImmCost(Src, OpInfo, CostKind);
1402 return Cost + BaseCost;
1481 // ScalarizeCost + Num * Cost for fixed vector,
1777 InstructionCost Cost = TTI::TCC_Free;
1808 Cost += getArithmeticInstrCost(Instruction::Add, GEP->getType(), CostKind,
1814 Cost += getGEPCost(GEP->getSourceElementType(), GEP->getPointerOperand(),
1818 return Cost;
1863 InstructionCost Cost = 0;
1880 Cost += getInstructionCost(&I, Operands,
1885 LLVM_DEBUG(dbgs() << "Cost of loop: " << Cost << "\n");
1895 if (Cost < 12)