reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

include/llvm/CodeGen/BasicTTIImpl.h
 1180       Type *ScalarRetTy = RetTy;
 1181       if (RetTy->isVectorTy()) {
 1183           ScalarizationCost = getScalarizationOverhead(RetTy, true, false);
 1184         ScalarCalls = std::max(ScalarCalls, RetTy->getVectorNumElements());
 1185         ScalarRetTy = RetTy->getScalarType();
 1287       return ConcreteTTI->getMaskedMemoryOpCost(Instruction::Load, RetTy, 0, 0);
 1327       Type *CondTy = RetTy->getWithNewBitWidth(1);
 1329       Type *OpTy = StructType::create({RetTy, CondTy});
 1338           OverflowOp, OpTy, {RetTy, RetTy}, FMF, ScalarizationCostPassed);
 1338           OverflowOp, OpTy, {RetTy, RetTy}, FMF, ScalarizationCostPassed);
 1339       Cost += ConcreteTTI->getCmpSelInstrCost(BinaryOperator::ICmp, RetTy,
 1341       Cost += 2 * ConcreteTTI->getCmpSelInstrCost(BinaryOperator::Select, RetTy,
 1347       Type *CondTy = RetTy->getWithNewBitWidth(1);
 1349       Type *OpTy = StructType::create({RetTy, CondTy});
 1356           OverflowOp, OpTy, {RetTy, RetTy}, FMF, ScalarizationCostPassed);
 1356           OverflowOp, OpTy, {RetTy, RetTy}, FMF, ScalarizationCostPassed);
 1357       Cost += ConcreteTTI->getCmpSelInstrCost(BinaryOperator::Select, RetTy,
 1363       unsigned ExtSize = RetTy->getScalarSizeInBits() * 2;
 1364       Type *ExtTy = RetTy->getWithNewBitWidth(ExtSize);
 1370       Cost += 2 * ConcreteTTI->getCastInstrCost(ExtOp, ExtTy, RetTy);
 1373           2 * ConcreteTTI->getCastInstrCost(Instruction::Trunc, RetTy, ExtTy);
 1374       Cost += ConcreteTTI->getArithmeticInstrCost(Instruction::LShr, RetTy,
 1377       Cost += ConcreteTTI->getArithmeticInstrCost(Instruction::Shl, RetTy,
 1380       Cost += ConcreteTTI->getArithmeticInstrCost(Instruction::Or, RetTy);
 1385       Type *SumTy = RetTy->getContainedType(0);
 1386       Type *OverflowTy = RetTy->getContainedType(1);
 1411       Type *SumTy = RetTy->getContainedType(0);
 1412       Type *OverflowTy = RetTy->getContainedType(1);
 1425       Type *MulTy = RetTy->getContainedType(0);
 1426       Type *OverflowTy = RetTy->getContainedType(1);
 1461     std::pair<unsigned, MVT> LT = TLI->getTypeLegalizationCost(DL, RetTy);
 1499       return ConcreteTTI->getArithmeticInstrCost(BinaryOperator::FMul, RetTy) +
 1500              ConcreteTTI->getArithmeticInstrCost(BinaryOperator::FAdd, RetTy);
 1505     if (RetTy->isVectorTy()) {
 1509                : getScalarizationOverhead(RetTy, true, false));
 1510       unsigned ScalarCalls = RetTy->getVectorNumElements();
 1519           IID, RetTy->getScalarType(), ScalarTys, FMF);