Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/
H A DAMDGPUPromoteAlloca.cpp396 auto *VectorTy = dyn_cast<FixedVectorType>(AllocaTy); in tryPromoteAllocaToVector() local
400 VectorTy = arrayTypeToVecType(ArrayTy); in tryPromoteAllocaToVector()
419 if (!VectorTy || VectorTy->getNumElements() > 16 || in tryPromoteAllocaToVector()
420 VectorTy->getNumElements() < 2) { in tryPromoteAllocaToVector()
434 Type *VecEltTy = VectorTy->getElementType(); in tryPromoteAllocaToVector()
553 << *VectorTy << '\n'); in tryPromoteAllocaToVector()
561 Type *VecPtrTy = VectorTy->getPointerTo(Alloca->getAddressSpace()); in tryPromoteAllocaToVector()
564 Builder.CreateAlignedLoad(VectorTy, BitCast, Alloca->getAlign()); in tryPromoteAllocaToVector()
576 Type *VecPtrTy = VectorTy->getPointerTo(Alloca->getAddressSpace()); in tryPromoteAllocaToVector()
579 Builder.CreateAlignedLoad(VectorTy, BitCast, Alloca->getAlign()); in tryPromoteAllocaToVector()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Target/SPIRV/
H A DSPIRVPrepareFunctions.cpp229 FixedVectorType *VectorTy = dyn_cast<FixedVectorType>(Ty); in lowerFunnelShifts() local
230 Type *IntTy = VectorTy ? VectorTy->getElementType() : Ty; in lowerFunnelShifts()
234 VectorTy in lowerFunnelShifts()
235 ? IRB.CreateVectorSplat(VectorTy->getNumElements(), BitWidthConstant) in lowerFunnelShifts()
/openbsd-src/gnu/llvm/llvm/include/llvm/ExecutionEngine/Orc/Shared/
H A DMemoryFlags.h151 using VectorTy = SmallVector<ElemT, 4>;
158 using iterator = typename VectorTy::iterator;
184 VectorTy Elems;
/openbsd-src/gnu/llvm/llvm/tools/llvm-c-test/
H A Ddebuginfo.c107 LLVMMetadataRef VectorTy = in llvm_test_dibuilder() local
112 LLVMMetadataRef ParamTypes[] = {Int64Ty, Int64Ty, VectorTy}; in llvm_test_dibuilder()
148 42, VectorTy, true, 0); in llvm_test_dibuilder()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Vectorize/
H A DLoopVectorize.cpp1654 Type *&VectorTy);
1659 getReductionPatternCost(Instruction *I, ElementCount VF, Type *VectorTy,
6439 auto *VectorTy = cast<VectorType>(ToVectorTy(ValTy, VF)); in getConsecutiveMemOpCost() local
6450 Cost += TTI.getMaskedMemoryOpCost(I->getOpcode(), VectorTy, Alignment, AS, in getConsecutiveMemOpCost()
6454 Cost += TTI.getMemoryOpCost(I->getOpcode(), VectorTy, Alignment, AS, in getConsecutiveMemOpCost()
6460 Cost += TTI.getShuffleCost(TargetTransformInfo::SK_Reverse, VectorTy, in getConsecutiveMemOpCost()
6471 auto *VectorTy = cast<VectorType>(ToVectorTy(ValTy, VF)); in getUniformMemOpCost() local
6479 TTI.getShuffleCost(TargetTransformInfo::SK_Broadcast, VectorTy); in getUniformMemOpCost()
6489 : TTI.getVectorInstrCost(Instruction::ExtractElement, VectorTy, in getUniformMemOpCost()
6497 auto *VectorTy = cast<VectorType>(ToVectorTy(ValTy, VF)); in getGatherScatterCost() local
[all …]
H A DSLPVectorizer.cpp7712 if (auto *VectorTy = dyn_cast<FixedVectorType>(ScalarTy)) in getSpillCost() local
7713 ScalarTy = VectorTy->getElementType(); in getSpillCost()
12899 FixedVectorType *VectorTy = FixedVectorType::get(ScalarTy, ReduxWidth); in getReductionCost() local
12915 TTI->getArithmeticReductionCost(RdxOpcode, VectorTy, FMF, CostKind); in getReductionCost()
12924 cast<VectorType>(CmpInst::makeCmpResultType(VectorTy)); in getReductionCost()
12926 TTI->getMinMaxReductionCost(VectorTy, VecCondTy, in getReductionCost()
12943 cast<VectorType>(CmpInst::makeCmpResultType(VectorTy)); in getReductionCost()
12946 VectorCost = TTI->getMinMaxReductionCost(VectorTy, VecCondTy, in getReductionCost()
/openbsd-src/gnu/llvm/clang/lib/CodeGen/
H A DCGExpr.cpp149 auto *VectorTy = llvm::FixedVectorType::get(ArrayTy->getElementType(), in CreateMemTemp() local
153 Builder.CreateBitCast(Result.getPointer(), VectorTy->getPointerTo()), in CreateMemTemp()
154 VectorTy, Result.getAlignment()); in CreateMemTemp()
1806 auto *VectorTy = llvm::FixedVectorType::get(ArrayTy->getElementType(), in MaybeConvertMatrixAddress() local
1809 return Address(CGF.Builder.CreateElementBitCast(Addr, VectorTy)); in MaybeConvertMatrixAddress()
1811 auto *VectorTy = dyn_cast<llvm::VectorType>(Addr.getElementType()); in MaybeConvertMatrixAddress() local
1812 if (VectorTy && !IsVector) { in MaybeConvertMatrixAddress()
1814 VectorTy->getElementType(), in MaybeConvertMatrixAddress()
1815 cast<llvm::FixedVectorType>(VectorTy)->getNumElements()); in MaybeConvertMatrixAddress()
H A DCGBuiltin.cpp9219 auto *VectorTy = getSVEVectorForElementType(MemEltTy); in EmitSVEPrefetchLoad() local
9220 auto *MemoryTy = llvm::ScalableVectorType::get(MemEltTy, VectorTy); in EmitSVEPrefetchLoad()
9250 auto VectorTy = cast<llvm::ScalableVectorType>(ReturnTy); in EmitSVEMaskedLoad() local
9251 auto MemoryTy = llvm::ScalableVectorType::get(MemEltTy, VectorTy); in EmitSVEMaskedLoad()
9267 return IsZExtReturn ? Builder.CreateZExt(Load, VectorTy) in EmitSVEMaskedLoad()
9268 : Builder.CreateSExt(Load, VectorTy); in EmitSVEMaskedLoad()
9280 auto VectorTy = cast<llvm::ScalableVectorType>(Ops.back()->getType()); in EmitSVEMaskedStore() local
9281 auto MemoryTy = llvm::ScalableVectorType::get(MemEltTy, VectorTy); in EmitSVEMaskedStore()
/openbsd-src/gnu/llvm/llvm/lib/Target/ARM/
H A DARMISelLowering.h676 bool canCombineStoreAndExtract(Type *VectorTy, Value *Idx,
H A DARMISelLowering.cpp21237 bool ARMTargetLowering::canCombineStoreAndExtract(Type *VectorTy, Value *Idx, in canCombineStoreAndExtract() argument
21247 if (VectorTy->isFPOrFPVectorTy()) in canCombineStoreAndExtract()
21255 assert(VectorTy->isVectorTy() && "VectorTy is not a vector type"); in canCombineStoreAndExtract()
21256 unsigned BitWidth = VectorTy->getPrimitiveSizeInBits().getFixedValue(); in canCombineStoreAndExtract()
/openbsd-src/gnu/llvm/llvm/bindings/ocaml/llvm/
H A Dllvm_ocaml.c599 value llvm_vector_size(LLVMTypeRef VectorTy) { in llvm_vector_size() argument
600 return Val_int(LLVMGetVectorSize(VectorTy)); in llvm_vector_size()
/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DSemaExpr.cpp8079 bool Sema::CheckVectorCast(SourceRange R, QualType VectorTy, QualType Ty, in CheckVectorCast() argument
8081 assert(VectorTy->isVectorType() && "Not a vector type!"); in CheckVectorCast()
8084 if (!areLaxCompatibleVectorTypes(Ty, VectorTy)) in CheckVectorCast()
8089 << VectorTy << Ty << R; in CheckVectorCast()
8093 << VectorTy << Ty << R; in CheckVectorCast()
8099 ExprResult Sema::prepareVectorSplat(QualType VectorTy, Expr *SplattedExpr) { in prepareVectorSplat() argument
8100 QualType DestElemTy = VectorTy->castAs<VectorType>()->getElementType(); in prepareVectorSplat()
8109 if (VectorTy->isExtVectorType() && SplattedExpr->getType()->isBooleanType()) { in prepareVectorSplat()
8714 QualType VectorTy = S.Context.getExtVectorType(ResTy, NumElements); in OpenCLConvertScalarsToVectors() local
8731 LHS = S.ImpCastExprToType(LHS.get(), VectorTy, CK_VectorSplat); in OpenCLConvertScalarsToVectors()
[all …]
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Scalar/
H A DLowerMatrixIntrinsics.cpp1788 VectorType *VectorTy = cast<VectorType>(InputVal->getType()); in LowerTranspose() local
1800 FixedVectorType::get(VectorTy->getElementType(), NewNumElts)); in LowerTranspose()
H A DSROA.cpp1710 } else if (VectorType *VectorTy = dyn_cast<VectorType>(ElementTy)) { in getNaturalGEPWithType() local
1711 ElementTy = VectorTy->getElementType(); in getNaturalGEPWithType()
/openbsd-src/gnu/llvm/llvm/include/llvm-c/
H A DCore.h1525 unsigned LLVMGetVectorSize(LLVMTypeRef VectorTy);
/openbsd-src/gnu/llvm/llvm/lib/IR/
H A DCore.cpp833 unsigned LLVMGetVectorSize(LLVMTypeRef VectorTy) { in LLVMGetVectorSize() argument
834 return unwrap<VectorType>(VectorTy)->getElementCount().getKnownMinValue(); in LLVMGetVectorSize()
/openbsd-src/gnu/llvm/llvm/include/llvm/CodeGen/
H A DTargetLowering.h803 virtual bool canCombineStoreAndExtract(Type *VectorTy, Value *Idx, in canCombineStoreAndExtract() argument
/openbsd-src/gnu/llvm/clang/include/clang/Sema/
H A DSema.h12708 bool CheckVectorCast(SourceRange R, QualType VectorTy, QualType Ty,
12713 ExprResult prepareVectorSplat(QualType VectorTy, Expr *SplattedExpr);