Home
last modified time | relevance | path

Searched refs:VectorTy (Results 1 – 21 of 21) sorted by relevance

/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/ObjCARC/
H A DBlotMapVector.h28 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 DObjCARC.h73 template<class PHINodeTy, class VectorTy>
74 void getEquivalentPHIs(PHINodeTy &PN, VectorTy &PHIList) { in getEquivalentPHIs()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUPromoteAlloca.cpp388 Type *VecEltTy = VectorTy->getElementType(); in promoteAllocaUserToVector()
462 else if (VectorTy->isPtrOrPtrVectorTy()) in promoteAllocaUserToVector()
463 Val = CreateTempPtrIntCast(Val, VectorTy); in promoteAllocaUserToVector()
632 auto *VectorTy = dyn_cast<FixedVectorType>(AllocaTy); in tryPromoteAllocaToVector() local
655 if (!VectorTy) { in tryPromoteAllocaToVector()
660 if (VectorTy->getNumElements() > 16 || VectorTy->getNumElements() < 2) { in tryPromoteAllocaToVector()
661 LLVM_DEBUG(dbgs() << " " << *VectorTy in tryPromoteAllocaToVector()
684 Type *VecEltTy = VectorTy->getElementType(); in tryPromoteAllocaToVector()
716 if (!isSupportedAccessType(VectorTy, AccessTy, *DL)) in tryPromoteAllocaToVector()
830 << *VectorTy << '\n'); in tryPromoteAllocaToVector()
[all …]
H A DAMDGPULegalizerInfo.cpp512 const LLT VectorTy = getBufferRsrcRegisterType(PointerTy); in castBufferRsrcFromV4I32() local
518 Register VectorReg = MRI.createGenericVirtualRegister(VectorTy); in castBufferRsrcFromV4I32()
526 return VectorTy; in castBufferRsrcFromV4I32()
528 Register BitcastReg = MRI.createGenericVirtualRegister(VectorTy); in castBufferRsrcFromV4I32()
534 return VectorTy; in castBufferRsrcFromV4I32()
546 const LLT VectorTy = getBufferRsrcRegisterType(PointerTy); in castBufferRsrcToV4I32() local
555 return B.buildBuildVector(VectorTy, PointerParts).getReg(0); in castBufferRsrcToV4I32()
558 return B.buildBitcast(VectorTy, Scalar).getReg(0); in castBufferRsrcToV4I32()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/SPIRV/
H A DSPIRVPrepareFunctions.cpp177 FixedVectorType *VectorTy = dyn_cast<FixedVectorType>(Ty); in lowerFunnelShifts() local
178 Type *IntTy = VectorTy ? VectorTy->getElementType() : Ty; in lowerFunnelShifts()
182 VectorTy in lowerFunnelShifts()
183 ? IRB.CreateVectorSplat(VectorTy->getNumElements(), BitWidthConstant) in lowerFunnelShifts()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/Shared/
H A DMemoryFlags.h168 using VectorTy = SmallVector<ElemT, 4>;
175 using iterator = typename VectorTy::iterator;
201 VectorTy Elems;
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DLoopVectorize.cpp6235 auto *VectorTy = cast<VectorType>(Ty); in getReductionPatternCost() local
6297 VectorTy = VectorType::get(I->getOperand(0)->getType(), VectorTy); in getReductionPatternCost()
6363 Op0->getOpcode(), VectorTy, VectorType::get(Op0Ty, VectorTy), in getReductionPatternCost()
6366 Op1->getOpcode(), VectorTy, VectorType::get(Op1Ty, VectorTy), in getReductionPatternCost()
6441 Type *VectorTy; in getInstructionCost() local
6887 VectorTy = RetTy; in getInstructionCost()
6889 VectorTy = ToVectorTy(RetTy, VF); in getInstructionCost()
7067 VectorTy = ToVectorTy(ValTy, VF); in getInstructionCost()
7168 Type *MinVecTy = VectorTy; in getInstructionCost()
7171 VectorTy = in getInstructionCost()
[all …]
H A DSLPVectorizer.cpp8755 if (auto *VectorTy = dyn_cast<FixedVectorType>(ScalarTy)) in getSpillCost() local
8756 ScalarTy = VectorTy->getElementType(); in getSpillCost()
15086 FixedVectorType *VectorTy = FixedVectorType::get(ScalarTy, ReduxWidth); in getReductionCost() local
15131 TTI->getArithmeticReductionCost(RdxOpcode, VectorTy, FMF, CostKind); in getReductionCost()
15147 VectorCost = TTI->getMinMaxReductionCost(Id, VectorTy, FMF, CostKind); in getReductionCost()
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExpr.cpp148 auto *VectorTy = llvm::FixedVectorType::get(ArrayTy->getElementType(), in CreateMemTemp() local
151 Result = Address(Result.getPointer(), VectorTy, Result.getAlignment(), in CreateMemTemp()
2063 auto *VectorTy = llvm::FixedVectorType::get(ArrayTy->getElementType(), in MaybeConvertMatrixAddress() local
2066 return Addr.withElementType(VectorTy); in MaybeConvertMatrixAddress()
2068 auto *VectorTy = dyn_cast<llvm::VectorType>(Addr.getElementType()); in MaybeConvertMatrixAddress() local
2069 if (VectorTy && !IsVector) { in MaybeConvertMatrixAddress()
2071 VectorTy->getElementType(), in MaybeConvertMatrixAddress()
2072 cast<llvm::FixedVectorType>(VectorTy)->getNumElements()); in MaybeConvertMatrixAddress()
H A DCGBuiltin.cpp9845 auto *VectorTy = getSVEVectorForElementType(MemEltTy); in EmitSVEPrefetchLoad() local
9846 auto *MemoryTy = llvm::ScalableVectorType::get(MemEltTy, VectorTy); in EmitSVEPrefetchLoad()
9872 auto VectorTy = cast<llvm::ScalableVectorType>(ReturnTy); in EmitSVEMaskedLoad() local
9885 MemoryTy = llvm::ScalableVectorType::get(MemEltTy, VectorTy); in EmitSVEMaskedLoad()
9897 Function *F = CGM.getIntrinsic(IntrinsicID, IsQuadLoad ? VectorTy : MemoryTy); in EmitSVEMaskedLoad()
9906 return IsZExtReturn ? Builder.CreateZExt(Load, VectorTy) in EmitSVEMaskedLoad()
9907 : Builder.CreateSExt(Load, VectorTy); in EmitSVEMaskedLoad()
9919 auto VectorTy = cast<llvm::ScalableVectorType>(Ops.back()->getType()); in EmitSVEMaskedStore() local
9920 auto MemoryTy = llvm::ScalableVectorType::get(MemEltTy, VectorTy); in EmitSVEMaskedStore()
9949 CGM.getIntrinsic(IntrinsicID, IsQuadStore ? VectorTy : MemoryTy); in EmitSVEMaskedStore()
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaExprMember.cpp1723 QualType VectorTy = S.Context.getExtVectorType(BaseType, 1); in LookupMemberExpr() local
1724 BaseExpr = S.ImpCastExprToType(BaseExpr.get(), VectorTy, CK_VectorSplat, in LookupMemberExpr()
H A DSemaExpr.cpp8423 assert(VectorTy->isVectorType() && "Not a vector type!"); in CheckVectorCast()
8426 if (!areLaxCompatibleVectorTypes(Ty, VectorTy)) in CheckVectorCast()
8431 << VectorTy << Ty << R; in CheckVectorCast()
8435 << VectorTy << Ty << R; in CheckVectorCast()
9056 QualType VectorTy = S.Context.getExtVectorType(ResTy, NumElements); in OpenCLConvertScalarsToVectors() local
9073 LHS = S.ImpCastExprToType(LHS.get(), VectorTy, CK_VectorSplat); in OpenCLConvertScalarsToVectors()
9074 RHS = S.ImpCastExprToType(RHS.get(), VectorTy, CK_VectorSplat); in OpenCLConvertScalarsToVectors()
9076 return VectorTy; in OpenCLConvertScalarsToVectors()
10971 QualType VectorTy = Vector->get()->getType().getUnqualifiedType(); in tryGCCVectorConvertAndSplat() local
10974 if (const auto *VT = VectorTy->getAs<VectorType>()) { in tryGCCVectorConvertAndSplat()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMISelLowering.h687 bool canCombineStoreAndExtract(Type *VectorTy, Value *Idx,
H A DARMISelLowering.cpp21445 bool ARMTargetLowering::canCombineStoreAndExtract(Type *VectorTy, Value *Idx, in canCombineStoreAndExtract() argument
21455 if (VectorTy->isFPOrFPVectorTy()) in canCombineStoreAndExtract()
21463 assert(VectorTy->isVectorTy() && "VectorTy is not a vector type"); in canCombineStoreAndExtract()
21464 unsigned BitWidth = VectorTy->getPrimitiveSizeInBits().getFixedValue(); in canCombineStoreAndExtract()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCISelLowering.h795 shallExtractConstSplatVectorElementToStore(Type *VectorTy,
H A DPPCISelLowering.cpp1648 Type *VectorTy, unsigned ElemSizeInBits, unsigned &Index) const { in shallExtractConstSplatVectorElementToStore() argument
1652 if (auto *VTy = dyn_cast<VectorType>(VectorTy)) { in shallExtractConstSplatVectorElementToStore()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLowerMatrixIntrinsics.cpp1942 VectorType *VectorTy = cast<VectorType>(InputVal->getType()); in LowerTranspose() local
1954 FixedVectorType::get(VectorTy->getElementType(), NewNumElts)); in LowerTranspose()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DTargetLowering.h889 virtual bool canCombineStoreAndExtract(Type *VectorTy, Value *Idx, in canCombineStoreAndExtract() argument
899 Type *VectorTy, unsigned ElemSizeInBits, unsigned &Index) const { in shallExtractConstSplatVectorElementToStore() argument
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm-c/
H A DCore.h1619 unsigned LLVMGetVectorSize(LLVMTypeRef VectorTy);
/freebsd-14.2/contrib/llvm-project/llvm/lib/IR/
H A DCore.cpp888 unsigned LLVMGetVectorSize(LLVMTypeRef VectorTy) { in LLVMGetVectorSize() argument
889 return unwrap<VectorType>(VectorTy)->getElementCount().getKnownMinValue(); in LLVMGetVectorSize()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h13122 bool CheckVectorCast(SourceRange R, QualType VectorTy, QualType Ty,
13127 ExprResult prepareVectorSplat(QualType VectorTy, Expr *SplattedExpr);