Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DInjectTLIMappings.cpp61 static Type *ToVectorTy(Type *Scalar, unsigned VF, bool isScalable = false) { in ToVectorTy() function
77 Type *RetTy = ToVectorTy(CI.getType(), VF); in addVariantDeclaration()
80 Tys.push_back(ToVectorTy(ArgOperand->getType(), VF)); in addVariantDeclaration()
/external/llvm-project/llvm/lib/Transforms/Utils/
DInjectTLIMappings.cpp48 Type *RetTy = ToVectorTy(CI.getType(), VF); in addVariantDeclaration()
51 Tys.push_back(ToVectorTy(ArgOperand->getType(), VF)); in addVariantDeclaration()
/external/llvm-project/llvm/include/llvm/Analysis/
DVectorUtils.h306 inline Type *ToVectorTy(Type *Scalar, ElementCount EC) { in ToVectorTy() function
312 inline Type *ToVectorTy(Type *Scalar, unsigned VF) { in ToVectorTy() function
313 return ToVectorTy(Scalar, ElementCount::getFixed(VF)); in ToVectorTy()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Vectorize/
DLoopVectorize.cpp300 static Type *ToVectorTy(Type *Scalar, unsigned VF) { in ToVectorTy() function
1169 Type *SrcTy = ToVectorTy(cast<CastInst>(I)->getSrcTy(), VF); in isOptimizableIVTruncate()
1170 Type *DestTy = ToVectorTy(cast<CastInst>(I)->getDestTy(), VF); in isOptimizableIVTruncate()
3276 Type *RetTy = ToVectorTy(ScalarRetTy, VF); in getVectorCallCost()
3278 Tys.push_back(ToVectorTy(ScalarTy, VF)); in getVectorCallCost()
4344 Type *RetTy = ToVectorTy(CI->getType(), VF); in widenInstruction()
4347 Tys.push_back(ToVectorTy(ArgOperand->getType(), VF)); in widenInstruction()
5679 ScalarCost += TTI.getScalarizationOverhead(ToVectorTy(I->getType(), VF), in computePredInstDiscount()
5696 ToVectorTy(J->getType(),VF), false, true); in computePredInstDiscount()
5798 Type *PtrTy = ToVectorTy(Ptr->getType(), VF); in getMemInstScalarizationCost()
[all …]
/external/llvm-project/llvm/lib/Transforms/Vectorize/
DLoopVectorize.cpp1431 Type *SrcTy = ToVectorTy(cast<CastInst>(I)->getSrcTy(), VF); in isOptimizableIVTruncate()
1432 Type *DestTy = ToVectorTy(cast<CastInst>(I)->getDestTy(), VF); in isOptimizableIVTruncate()
3696 Type *RetTy = ToVectorTy(ScalarRetTy, VF); in getVectorCallCost()
3698 Tys.push_back(ToVectorTy(ScalarTy, VF)); in getVectorCallCost()
4852 Tys.push_back(ToVectorTy(ArgOperand->getType(), VF.getKnownMinValue())); in widenCallInstruction()
6416 cast<VectorType>(ToVectorTy(I->getType(), VF)), in computePredInstDiscount()
6437 cast<VectorType>(ToVectorTy(J->getType(), VF)), in computePredInstDiscount()
6544 Type *PtrTy = ToVectorTy(Ptr->getType(), VF); in getMemInstScalarizationCost()
6583 auto *VectorTy = cast<VectorType>(ToVectorTy(ValTy, VF)); in getConsecutiveMemOpCost()
6611 auto *VectorTy = cast<VectorType>(ToVectorTy(ValTy, VF)); in getUniformMemOpCost()
[all …]
/external/llvm/lib/Transforms/Vectorize/
DLoopVectorize.cpp241 static Type *ToVectorTy(Type *Scalar, unsigned VF) { in ToVectorTy() function
3293 Type *RetTy = ToVectorTy(ScalarRetTy, VF); in getVectorCallCost()
3295 Tys.push_back(ToVectorTy(ScalarTy, VF)); in getVectorCallCost()
3330 Type *RetTy = ToVectorTy(CI->getType(), VF); in getVectorIntrinsicCost()
3333 Tys.push_back(ToVectorTy(ArgOperand->getType(), VF)); in getVectorIntrinsicCost()
4220 Type *RetTy = ToVectorTy(CI->getType(), VF); in vectorizeBlockInLoop()
4223 Tys.push_back(ToVectorTy(ArgOperand->getType(), VF)); in vectorizeBlockInLoop()
5819 VectorTy = ToVectorTy(RetTy, VF); in getInstructionCost()
5914 VectorTy = ToVectorTy(ValTy, VF); in getInstructionCost()
5922 VectorTy = ToVectorTy(ValTy, VF); in getInstructionCost()
[all …]