Home
last modified time | relevance | path

Searched refs:StepTy (Results 1 – 3 of 3) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVPlanTransforms.cpp588 Type *StepTy = TypeInfo.inferScalarType(Step); in createScalarIVSteps() local
589 if (ResultTy != StepTy) { in createScalarIVSteps()
590 assert(StepTy->getScalarSizeInBits() > ResultTy->getScalarSizeInBits() && in createScalarIVSteps()
592 assert(StepTy->isIntegerTy() && "Truncation requires an integer type"); in createScalarIVSteps()
2616 Type *StepTy = TypeInfo.inferScalarType(Step); in expandVPWidenIntOrFpInduction() local
2617 if (Ty->getScalarSizeInBits() < StepTy->getScalarSizeInBits()) { in expandVPWidenIntOrFpInduction()
2618 assert(StepTy->isIntegerTy() && "Truncation requires an integer type"); in expandVPWidenIntOrFpInduction()
2621 StepTy = Ty; in expandVPWidenIntOrFpInduction()
2626 IntegerType::get(StepTy->getContext(), StepTy->getScalarSizeInBits()); in expandVPWidenIntOrFpInduction()
2628 if (StepTy->isFloatingPointTy()) in expandVPWidenIntOrFpInduction()
[all …]
H A DLoopVectorize.cpp2123 Type *StepTy = Step->getType(); in emitTransformedIndex() local
2124 Value *CastedIndex = StepTy->isIntegerTy() in emitTransformedIndex()
2125 ? B.CreateSExtOrTrunc(Index, StepTy) in emitTransformedIndex()
2126 : B.CreateCast(Instruction::SIToFP, Index, StepTy); in emitTransformedIndex()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaExprCXX.cpp4820 QualType StepTy = ToType; in PerformImplicitConversion() local
4822 StepTy = adjustVectorType(Context, FromType, ToType, &ElTy); in PerformImplicitConversion()
4827 From = ImpCastExprToType(From, StepTy, CK_IntegralToBoolean, VK_PRValue, in PerformImplicitConversion()
4831 From = ImpCastExprToType(From, StepTy, CK_IntegralCast, VK_PRValue, in PerformImplicitConversion()
4840 QualType StepTy = ToType; in PerformImplicitConversion() local
4842 StepTy = adjustVectorType(Context, FromType, ToType); in PerformImplicitConversion()
4843 From = ImpCastExprToType(From, StepTy, CK_FloatingCast, VK_PRValue, in PerformImplicitConversion()
4872 QualType StepTy = ToType; in PerformImplicitConversion() local
4874 StepTy = adjustVectorType(Context, FromType, ToType, &ElTy); in PerformImplicitConversion()
4876 From = ImpCastExprToType(From, StepTy, CK_IntegralToFloating, VK_PRValue, in PerformImplicitConversion()
[all …]