Lines Matching defs:Cost

273   InstructionCost Cost = TTIImpl->getInstructionCost(U, Operands, CostKind);
274 assert((CostKind == TTI::TCK_RecipThroughput || Cost >= 0) &&
276 return Cost;
563 InstructionCost Cost = TTIImpl->getScalingFactorCost(
565 assert(Cost >= 0 && "TTI should not produce negative costs!");
566 return Cost;
713 InstructionCost Cost = TTIImpl->getFPOpCost(Ty);
714 assert(Cost >= 0 && "TTI should not produce negative costs!");
715 return Cost;
722 InstructionCost Cost = TTIImpl->getIntImmCodeSizeCost(Opcode, Idx, Imm, Ty);
723 assert(Cost >= 0 && "TTI should not produce negative costs!");
724 return Cost;
730 InstructionCost Cost = TTIImpl->getIntImmCost(Imm, Ty, CostKind);
731 assert(Cost >= 0 && "TTI should not produce negative costs!");
732 return Cost;
738 InstructionCost Cost =
740 assert(Cost >= 0 && "TTI should not produce negative costs!");
741 return Cost;
748 InstructionCost Cost =
750 assert(Cost >= 0 && "TTI should not produce negative costs!");
751 return Cost;
959 InstructionCost Cost =
963 assert(Cost >= 0 && "TTI should not produce negative costs!");
964 return Cost;
970 InstructionCost Cost =
972 assert(Cost >= 0 && "TTI should not produce negative costs!");
973 return Cost;
980 InstructionCost Cost = TTIImpl->getShuffleCost(Kind, Ty, Mask, CostKind,
982 assert(Cost >= 0 && "TTI should not produce negative costs!");
983 return Cost;
1044 InstructionCost Cost =
1046 assert(Cost >= 0 && "TTI should not produce negative costs!");
1047 return Cost;
1052 InstructionCost Cost =
1054 assert(Cost >= 0 && "TTI should not produce negative costs!");
1055 return Cost;
1062 InstructionCost Cost = TTIImpl->getCFInstrCost(Opcode, CostKind, I);
1063 assert(Cost >= 0 && "TTI should not produce negative costs!");
1064 return Cost;
1073 InstructionCost Cost = TTIImpl->getCmpSelInstrCost(
1075 assert(Cost >= 0 && "TTI should not produce negative costs!");
1076 return Cost;
1085 InstructionCost Cost =
1087 assert(Cost >= 0 && "TTI should not produce negative costs!");
1088 return Cost;
1098 InstructionCost Cost = TTIImpl->getVectorInstrCost(
1100 assert(Cost >= 0 && "TTI should not produce negative costs!");
1101 return Cost;
1111 InstructionCost Cost = TTIImpl->getVectorInstrCost(I, Val, CostKind, Index);
1112 assert(Cost >= 0 && "TTI should not produce negative costs!");
1113 return Cost;
1119 InstructionCost Cost = TTIImpl->getReplicationShuffleCost(
1121 assert(Cost >= 0 && "TTI should not produce negative costs!");
1122 return Cost;
1131 InstructionCost Cost = TTIImpl->getMemoryOpCost(
1133 assert(Cost >= 0 && "TTI should not produce negative costs!");
1134 return Cost;
1140 InstructionCost Cost = TTIImpl->getMaskedMemoryOpCost(Opcode, Src, Alignment,
1142 assert(Cost >= 0 && "TTI should not produce negative costs!");
1143 return Cost;
1149 InstructionCost Cost = TTIImpl->getGatherScatterOpCost(
1151 assert((!Cost.isValid() || Cost >= 0) &&
1153 return Cost;
1159 InstructionCost Cost = TTIImpl->getStridedMemoryOpCost(
1161 assert(Cost >= 0 && "TTI should not produce negative costs!");
1162 return Cost;
1169 InstructionCost Cost = TTIImpl->getInterleavedMemoryOpCost(
1172 assert(Cost >= 0 && "TTI should not produce negative costs!");
1173 return Cost;
1179 InstructionCost Cost = TTIImpl->getIntrinsicInstrCost(ICA, CostKind);
1180 assert(Cost >= 0 && "TTI should not produce negative costs!");
1181 return Cost;
1188 InstructionCost Cost = TTIImpl->getCallInstrCost(F, RetTy, Tys, CostKind);
1189 assert(Cost >= 0 && "TTI should not produce negative costs!");
1190 return Cost;
1200 InstructionCost Cost = TTIImpl->getAddressComputationCost(Tp, SE, Ptr);
1201 assert(Cost >= 0 && "TTI should not produce negative costs!");
1202 return Cost;
1206 InstructionCost Cost = TTIImpl->getMemcpyCost(I);
1207 assert(Cost >= 0 && "TTI should not produce negative costs!");
1208 return Cost;
1218 InstructionCost Cost =
1220 assert(Cost >= 0 && "TTI should not produce negative costs!");
1221 return Cost;
1227 InstructionCost Cost =
1229 assert(Cost >= 0 && "TTI should not produce negative costs!");
1230 return Cost;