| /openbsd-src/gnu/llvm/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 | 73 template<class PHINodeTy, class VectorTy> 74 void getEquivalentPHIs(PHINodeTy &PN, VectorTy &PHIList) { in getEquivalentPHIs()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUPromoteAlloca.cpp | 396 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 D | SPIRVPrepareFunctions.cpp | 229 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 D | MemoryFlags.h | 151 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 D | debuginfo.c | 107 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 D | LoopVectorize.cpp | 1654 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 D | SLPVectorizer.cpp | 7712 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 D | CGExpr.cpp | 149 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 D | CGBuiltin.cpp | 9219 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 D | ARMISelLowering.h | 676 bool canCombineStoreAndExtract(Type *VectorTy, Value *Idx,
|
| H A D | ARMISelLowering.cpp | 21237 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 D | llvm_ocaml.c | 599 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 D | SemaExpr.cpp | 8079 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 D | LowerMatrixIntrinsics.cpp | 1788 VectorType *VectorTy = cast<VectorType>(InputVal->getType()); in LowerTranspose() local 1800 FixedVectorType::get(VectorTy->getElementType(), NewNumElts)); in LowerTranspose()
|
| H A D | SROA.cpp | 1710 } 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 D | Core.h | 1525 unsigned LLVMGetVectorSize(LLVMTypeRef VectorTy);
|
| /openbsd-src/gnu/llvm/llvm/lib/IR/ |
| H A D | Core.cpp | 833 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 D | TargetLowering.h | 803 virtual bool canCombineStoreAndExtract(Type *VectorTy, Value *Idx, in canCombineStoreAndExtract() argument
|
| /openbsd-src/gnu/llvm/clang/include/clang/Sema/ |
| H A D | Sema.h | 12708 bool CheckVectorCast(SourceRange R, QualType VectorTy, QualType Ty, 12713 ExprResult prepareVectorSplat(QualType VectorTy, Expr *SplattedExpr);
|