| /netbsd-src/external/apache2/llvm/dist/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()
|
| /netbsd-src/external/apache2/llvm/dist/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()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-c-test/ |
| H A D | debuginfo.c | 108 LLVMMetadataRef VectorTy = in llvm_test_dibuilder() local 113 LLVMMetadataRef ParamTypes[] = {Int64Ty, Int64Ty, VectorTy}; in llvm_test_dibuilder() 149 42, VectorTy, true, 0); in llvm_test_dibuilder()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Vectorize/ |
| H A D | LoopVectorize.cpp | 1678 Type *&VectorTy); 1683 Type *VectorTy, 6987 auto *VectorTy = cast<VectorType>(ToVectorTy(ValTy, VF)); in getConsecutiveMemOpCost() local 6998 Cost += TTI.getMaskedMemoryOpCost(I->getOpcode(), VectorTy, Alignment, AS, in getConsecutiveMemOpCost() 7001 Cost += TTI.getMemoryOpCost(I->getOpcode(), VectorTy, Alignment, AS, in getConsecutiveMemOpCost() 7007 TTI.getShuffleCost(TargetTransformInfo::SK_Reverse, VectorTy, None, 0); in getConsecutiveMemOpCost() 7017 auto *VectorTy = cast<VectorType>(ToVectorTy(ValTy, VF)); in getUniformMemOpCost() local 7025 TTI.getShuffleCost(TargetTransformInfo::SK_Broadcast, VectorTy); in getUniformMemOpCost() 7035 : TTI.getVectorInstrCost(Instruction::ExtractElement, VectorTy, in getUniformMemOpCost() 7043 auto *VectorTy = cast<VectorType>(ToVectorTy(ValTy, VF)); in getGatherScatterCost() local [all …]
|
| H A D | SLPVectorizer.cpp | 4351 if (auto *VectorTy = dyn_cast<FixedVectorType>(ScalarTy)) in getSpillCost() local 4352 ScalarTy = VectorTy->getElementType(); in getSpillCost() 7603 FixedVectorType *VectorTy = FixedVectorType::get(ScalarTy, ReduxWidth); in getReductionCost() local 7614 VectorCost = TTI->getArithmeticReductionCost(RdxOpcode, VectorTy, in getReductionCost() 7621 auto *VecCondTy = cast<VectorType>(CmpInst::makeCmpResultType(VectorTy)); in getReductionCost() 7623 TTI->getMinMaxReductionCost(VectorTy, VecCondTy, in getReductionCost() 7635 auto *VecCondTy = cast<VectorType>(CmpInst::makeCmpResultType(VectorTy)); in getReductionCost() 7639 TTI->getMinMaxReductionCost(VectorTy, VecCondTy, in getReductionCost()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/ |
| H A D | TargetTransformInfoImpl.h | 1164 if (VectorType *VectorTy = dyn_cast<VectorType>(DstTy)) in getInstructionLatency() local 1165 DstTy = VectorTy->getElementType(); in getInstructionLatency()
|
| /netbsd-src/external/apache2/llvm/dist/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 | 8735 auto *VectorTy = getSVEVectorForElementType(MemEltTy); in EmitSVEPrefetchLoad() local 8736 auto *MemoryTy = llvm::ScalableVectorType::get(MemEltTy, VectorTy); in EmitSVEPrefetchLoad() 8766 auto VectorTy = cast<llvm::ScalableVectorType>(ReturnTy); in EmitSVEMaskedLoad() local 8767 auto MemoryTy = llvm::ScalableVectorType::get(MemEltTy, VectorTy); in EmitSVEMaskedLoad() 8778 return IsZExtReturn ? Builder.CreateZExt(Load, VectorTy) in EmitSVEMaskedLoad() 8779 : Builder.CreateSExt(Load, VectorTy); in EmitSVEMaskedLoad() 8791 auto VectorTy = cast<llvm::ScalableVectorType>(Ops.back()->getType()); in EmitSVEMaskedStore() local 8792 auto MemoryTy = llvm::ScalableVectorType::get(MemEltTy, VectorTy); in EmitSVEMaskedStore()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/ARM/ |
| H A D | ARMISelLowering.h | 664 bool canCombineStoreAndExtract(Type *VectorTy, Value *Idx,
|
| H A D | ARMISelLowering.cpp | 19446 bool ARMTargetLowering::canCombineStoreAndExtract(Type *VectorTy, Value *Idx, in canCombineStoreAndExtract() argument 19456 if (VectorTy->isFPOrFPVectorTy()) in canCombineStoreAndExtract() 19464 assert(VectorTy->isVectorTy() && "VectorTy is not a vector type"); in canCombineStoreAndExtract() 19465 unsigned BitWidth = VectorTy->getPrimitiveSizeInBits().getFixedSize(); in canCombineStoreAndExtract()
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/ |
| H A D | SemaExpr.cpp | 7449 bool Sema::CheckVectorCast(SourceRange R, QualType VectorTy, QualType Ty, in CheckVectorCast() argument 7451 assert(VectorTy->isVectorType() && "Not a vector type!"); in CheckVectorCast() 7454 if (!areLaxCompatibleVectorTypes(Ty, VectorTy)) in CheckVectorCast() 7459 << VectorTy << Ty << R; in CheckVectorCast() 7463 << VectorTy << Ty << R; in CheckVectorCast() 7469 ExprResult Sema::prepareVectorSplat(QualType VectorTy, Expr *SplattedExpr) { in prepareVectorSplat() argument 7470 QualType DestElemTy = VectorTy->castAs<VectorType>()->getElementType(); in prepareVectorSplat() 7479 if (VectorTy->isExtVectorType() && SplattedExpr->getType()->isBooleanType()) { in prepareVectorSplat() 8097 QualType VectorTy = S.Context.getExtVectorType(ResTy, NumElements); in OpenCLConvertScalarsToVectors() local 8114 LHS = S.ImpCastExprToType(LHS.get(), VectorTy, CK_VectorSplat); in OpenCLConvertScalarsToVectors() [all …]
|
| H A D | SemaChecking.cpp | 2595 QualType VectorTy, QualType EltTy) { in isEltOfVectorTy() argument 2596 QualType VectorEltTy = VectorTy->castAs<VectorType>()->getElementType(); in isEltOfVectorTy()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/ |
| H A D | LowerMatrixIntrinsics.cpp | 1463 VectorType *VectorTy = cast<VectorType>(InputVal->getType()); in LowerTranspose() local 1475 FixedVectorType::get(VectorTy->getElementType(), NewNumElts)); in LowerTranspose()
|
| H A D | SROA.cpp | 1445 } else if (VectorType *VectorTy = dyn_cast<VectorType>(ElementTy)) { in getNaturalGEPWithType() local 1446 ElementTy = VectorTy->getElementType(); in getNaturalGEPWithType()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/bindings/ocaml/llvm/ |
| H A D | llvm_ocaml.c | 600 value llvm_vector_size(LLVMTypeRef VectorTy) { in llvm_vector_size() argument 601 return Val_int(LLVMGetVectorSize(VectorTy)); in llvm_vector_size()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm-c/ |
| H A D | Core.h | 1482 unsigned LLVMGetVectorSize(LLVMTypeRef VectorTy);
|
| /netbsd-src/external/apache2/llvm/dist/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()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/ |
| H A D | TargetLowering.h | 781 virtual bool canCombineStoreAndExtract(Type *VectorTy, Value *Idx, in canCombineStoreAndExtract() argument
|
| /netbsd-src/external/apache2/llvm/dist/clang/include/clang/Sema/ |
| H A D | Sema.h | 11716 bool CheckVectorCast(SourceRange R, QualType VectorTy, QualType Ty, 11721 ExprResult prepareVectorSplat(QualType VectorTy, Expr *SplattedExpr);
|