| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/ObjCARC/ |
| H A D | BlotMapVector.h | 28 using VectorTy = std::vector<std::pair<KeyT, ValueT>>; variable 29 VectorTy Vector; 40 for (typename VectorTy::const_iterator I = Vector.begin(), E = Vector.end(); in ~BlotMapVector() 47 using iterator = typename VectorTy::iterator; 48 using const_iterator = typename VectorTy::const_iterator;
|
| H A D | ObjCARC.h | 74 template<class PHINodeTy, class VectorTy> 75 void getEquivalentPHIs(PHINodeTy &PN, VectorTy &PHIList) { in getEquivalentPHIs()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUPromoteAlloca.cpp | 416 auto *VectorTy = dyn_cast<FixedVectorType>(AllocaTy); in tryPromoteAllocaToVector() local 420 VectorTy = arrayTypeToVecType(ArrayTy); in tryPromoteAllocaToVector() 439 if (!VectorTy || VectorTy->getNumElements() > 16 || in tryPromoteAllocaToVector() 440 VectorTy->getNumElements() < 2) { in tryPromoteAllocaToVector() 449 Type *VecEltTy = VectorTy->getElementType(); in tryPromoteAllocaToVector() 497 << *VectorTy << '\n'); in tryPromoteAllocaToVector() 512 Type *VecPtrTy = VectorTy->getPointerTo(AMDGPUAS::PRIVATE_ADDRESS); in tryPromoteAllocaToVector() 514 Value *VecValue = Builder.CreateLoad(VectorTy, BitCast); in tryPromoteAllocaToVector() 533 Type *VecPtrTy = VectorTy->getPointerTo(AMDGPUAS::PRIVATE_ADDRESS); in tryPromoteAllocaToVector() 535 Value *VecValue = Builder.CreateLoad(VectorTy, BitCast); in tryPromoteAllocaToVector()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
| H A D | LoopVectorize.cpp | 7111 return TTI.getAddressComputationCost(VectorTy) + in getGatherScatterCost() 7168 auto *VectorTy = cast<VectorType>(Ty); in getReductionPatternCost() local 7225 VectorTy = VectorType::get(I->getOperand(0)->getType(), VectorTy); in getReductionPatternCost() 7319 Type *VectorTy; in getInstructionCost() local 7323 VF.isVector() && VectorTy->isVectorTy() && in getInstructionCost() 7565 VectorTy = RetTy; in getInstructionCost() 7567 VectorTy = ToVectorTy(RetTy, VF); in getInstructionCost() 7742 VectorTy = ToVectorTy(ValTy, VF); in getInstructionCost() 7837 Type *MinVecTy = VectorTy; in getInstructionCost() 7840 VectorTy = in getInstructionCost() [all …]
|
| H A D | SLPVectorizer.cpp | 4440 if (auto *VectorTy = dyn_cast<FixedVectorType>(ScalarTy)) in getSpillCost() local 4441 ScalarTy = VectorTy->getElementType(); in getSpillCost() 7967 FixedVectorType *VectorTy = FixedVectorType::get(ScalarTy, ReduxWidth); in getReductionCost() local 7978 VectorCost = TTI->getArithmeticReductionCost(RdxOpcode, VectorTy, FMF); in getReductionCost() 7984 auto *VecCondTy = cast<VectorType>(CmpInst::makeCmpResultType(VectorTy)); in getReductionCost() 7985 VectorCost = TTI->getMinMaxReductionCost(VectorTy, VecCondTy, in getReductionCost() 7997 auto *VecCondTy = cast<VectorType>(CmpInst::makeCmpResultType(VectorTy)); in getReductionCost() 8000 VectorCost = TTI->getMinMaxReductionCost(VectorTy, VecCondTy, IsUnsigned); in getReductionCost()
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | TargetTransformInfoImpl.h | 1147 if (VectorType *VectorTy = dyn_cast<VectorType>(DstTy)) in getInstructionLatency() local 1148 DstTy = VectorTy->getElementType(); in getInstructionLatency()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGExpr.cpp | 160 auto *VectorTy = llvm::FixedVectorType::get(ArrayTy->getElementType(), in CreateMemTemp() local 164 Builder.CreateBitCast(Result.getPointer(), VectorTy->getPointerTo()), in CreateMemTemp() 1796 auto *VectorTy = llvm::FixedVectorType::get(ArrayTy->getElementType(), in MaybeConvertMatrixAddress() local 1799 return Address(CGF.Builder.CreateElementBitCast(Addr, VectorTy)); in MaybeConvertMatrixAddress() 1801 auto *VectorTy = dyn_cast<llvm::VectorType>( in MaybeConvertMatrixAddress() local 1803 if (VectorTy && !IsVector) { in MaybeConvertMatrixAddress() 1805 VectorTy->getElementType(), in MaybeConvertMatrixAddress() 1806 cast<llvm::FixedVectorType>(VectorTy)->getNumElements()); in MaybeConvertMatrixAddress()
|
| H A D | CGBuiltin.cpp | 8816 auto *VectorTy = getSVEVectorForElementType(MemEltTy); in EmitSVEPrefetchLoad() local 8817 auto *MemoryTy = llvm::ScalableVectorType::get(MemEltTy, VectorTy); in EmitSVEPrefetchLoad() 8847 auto VectorTy = cast<llvm::ScalableVectorType>(ReturnTy); in EmitSVEMaskedLoad() local 8848 auto MemoryTy = llvm::ScalableVectorType::get(MemEltTy, VectorTy); in EmitSVEMaskedLoad() 8859 return IsZExtReturn ? Builder.CreateZExt(Load, VectorTy) in EmitSVEMaskedLoad() 8860 : Builder.CreateSExt(Load, VectorTy); in EmitSVEMaskedLoad() 8872 auto VectorTy = cast<llvm::ScalableVectorType>(Ops.back()->getType()); in EmitSVEMaskedStore() local 8873 auto MemoryTy = llvm::ScalableVectorType::get(MemEltTy, VectorTy); in EmitSVEMaskedStore()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Target/ARM/ |
| H A D | ARMISelLowering.h | 679 bool canCombineStoreAndExtract(Type *VectorTy, Value *Idx,
|
| H A D | ARMISelLowering.cpp | 20166 bool ARMTargetLowering::canCombineStoreAndExtract(Type *VectorTy, Value *Idx, in canCombineStoreAndExtract() argument 20176 if (VectorTy->isFPOrFPVectorTy()) in canCombineStoreAndExtract() 20184 assert(VectorTy->isVectorTy() && "VectorTy is not a vector type"); in canCombineStoreAndExtract() 20185 unsigned BitWidth = VectorTy->getPrimitiveSizeInBits().getFixedSize(); in canCombineStoreAndExtract()
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | LowerMatrixIntrinsics.cpp | 1656 VectorType *VectorTy = cast<VectorType>(InputVal->getType()); in LowerTranspose() local 1668 FixedVectorType::get(VectorTy->getElementType(), NewNumElts)); in LowerTranspose()
|
| H A D | SROA.cpp | 1446 } else if (VectorType *VectorTy = dyn_cast<VectorType>(ElementTy)) { in getNaturalGEPWithType() local 1447 ElementTy = VectorTy->getElementType(); in getNaturalGEPWithType()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaExpr.cpp | 7513 bool Sema::CheckVectorCast(SourceRange R, QualType VectorTy, QualType Ty, in CheckVectorCast() argument 7515 assert(VectorTy->isVectorType() && "Not a vector type!"); in CheckVectorCast() 7518 if (!areLaxCompatibleVectorTypes(Ty, VectorTy)) in CheckVectorCast() 7523 << VectorTy << Ty << R; in CheckVectorCast() 7527 << VectorTy << Ty << R; in CheckVectorCast() 8161 QualType VectorTy = S.Context.getExtVectorType(ResTy, NumElements); in OpenCLConvertScalarsToVectors() local 8178 LHS = S.ImpCastExprToType(LHS.get(), VectorTy, CK_VectorSplat); in OpenCLConvertScalarsToVectors() 8179 RHS = S.ImpCastExprToType(RHS.get(), VectorTy, CK_VectorSplat); in OpenCLConvertScalarsToVectors() 8181 return VectorTy; in OpenCLConvertScalarsToVectors() 9946 QualType VectorTy = Vector->get()->getType().getUnqualifiedType(); in tryGCCVectorConvertAndSplat() local [all …]
|
| H A D | SemaChecking.cpp | 2599 QualType VectorTy, QualType EltTy) { in isEltOfVectorTy() argument 2600 QualType VectorEltTy = VectorTy->castAs<VectorType>()->getElementType(); in isEltOfVectorTy()
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm-c/ |
| H A D | Core.h | 1482 unsigned LLVMGetVectorSize(LLVMTypeRef VectorTy);
|
| /freebsd-13.1/contrib/llvm-project/llvm/lib/IR/ |
| H A D | Core.cpp | 817 unsigned LLVMGetVectorSize(LLVMTypeRef VectorTy) { in LLVMGetVectorSize() argument 818 return unwrap<VectorType>(VectorTy)->getElementCount().getKnownMinValue(); in LLVMGetVectorSize()
|
| /freebsd-13.1/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | TargetLowering.h | 786 virtual bool canCombineStoreAndExtract(Type *VectorTy, Value *Idx, in canCombineStoreAndExtract() argument
|
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/Sema/ |
| H A D | Sema.h | 11817 bool CheckVectorCast(SourceRange R, QualType VectorTy, QualType Ty, 11822 ExprResult prepareVectorSplat(QualType VectorTy, Expr *SplattedExpr);
|