Home
last modified time | relevance | path

Searched refs:toVectorTy (Results 1 – 6 of 6) sorted by relevance

/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DVectorTypeUtils.h20 inline Type *toVectorTy(Type *Scalar, ElementCount EC) { in toVectorTy() function
26 inline Type *toVectorTy(Type *Scalar, unsigned VF) { in toVectorTy() function
27 return toVectorTy(Scalar, ElementCount::getFixed(VF)); in toVectorTy()
58 return toVectorTy(Ty, EC); in toVectorizedTy()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DVPlanRecipes.cpp904 ResTy = toVectorTy(ResTy, VF); in computeCost()
926 auto *VecTy = toVectorTy(Ctx.Types.inferScalarType(getOperand(0)), VF); in computeCost()
931 auto *VecTy = toVectorTy(Ctx.Types.inferScalarType(this), VF); in computeCost()
937 auto *PredTy = toVectorTy(Ctx.Types.inferScalarType(getOperand(0)), VF); in computeCost()
947 Type *VectorTy = toVectorTy(Ctx.Types.inferScalarType(this), VF); in computeCost()
956 Type *RetTy = toVectorTy(Type::getInt1Ty(Ctx.LLVMCtx), VF); in computeCost()
1550 toVectorTy(Ctx.Types.inferScalarType(getOperand(I)), VF)); in computeCost()
1721 Type *VectorTy = toVectorTy(Ctx.Types.inferScalarType(this), VF); in computeCost()
1947 Type *VectorTy = toVectorTy(Ctx.Types.inferScalarType(this), VF); in computeCost()
1982 Type *VectorTy = toVectorTy(Ctx.Types.inferScalarType(this), VF); in computeCost()
[all …]
H A DLoopVectorize.cpp1168 Type *SrcTy = toVectorTy(Trunc->getSrcTy(), VF); in isOptimizableIVTruncate()
1169 Type *DestTy = toVectorTy(Trunc->getDestTy(), VF); in isOptimizableIVTruncate()
3042 auto *VecTy = toVectorTy(I->getType(), VF); in getDivRemSpeculationCost()
3048 toVectorTy(Type::getInt1Ty(I->getContext()), VF), in getDivRemSpeculationCost()
5164 Type *PtrTy = toVectorTy(Ptr->getType(), VF); in getMemInstScalarizationCost()
5214 auto *VectorTy = cast<VectorType>(toVectorTy(ValTy, VF)); in getConsecutiveMemOpCost()
5245 auto *VectorTy = cast<VectorType>(toVectorTy(ValTy, VF)); in getUniformMemOpCost()
5275 auto *VectorTy = cast<VectorType>(toVectorTy(ValTy, VF)); in getGatherScatterCost()
5293 auto *VectorTy = cast<VectorType>(toVectorTy(ValTy, VF)); in getInterleaveGroupCost()
6049 toVectorTy(Switch->getCondition()->getType(), VF), in getInstructionCost()
[all …]
H A DVPlanTransforms.cpp2873 auto *SrcVecTy = cast<VectorType>(toVectorTy(SrcTy, VF)); in tryToMatchAndCreateExtendedReduction()
2927 auto *SrcVecTy = cast<VectorType>(toVectorTy(SrcTy, VF)); in tryToMatchAndCreateMulAccumulateReduction()
H A DVectorCombine.cpp2269 toVectorTy(Type::getInt1Ty(I.getContext()), DstVecTy->getNumElements())); in foldShuffleOfSelects()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64TargetTransformInfo.cpp2908 auto toVectorTy = [&](Type *ArgTy) { in isWideningInstruction() local
2938 toVectorTy(cast<Instruction>(Args[1])->getOperand(0)->getType()); in isWideningInstruction()
2948 toVectorTy(cast<Instruction>(Args[0])->getOperand(0)->getType()); in isWideningInstruction()
2960 SrcTy = toVectorTy(Type::getIntNTy(DstTy->getContext(), in isWideningInstruction()