Home
last modified time | relevance | path

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

/NextBSD/contrib/llvm/lib/Transforms/ObjCARC/
HDBlotMapVector.h22 typedef std::vector<std::pair<KeyT, ValueT>> VectorTy; typedef
24 VectorTy Vector;
27 typedef typename VectorTy::iterator iterator;
28 typedef typename VectorTy::const_iterator const_iterator;
42 for (typename VectorTy::const_iterator I = Vector.begin(), E = Vector.end(); in ~BlotMapVector()
/NextBSD/contrib/llvm/lib/Target/AMDGPU/
HDAMDGPUPromoteAlloca.cpp198 VectorType *VectorTy = arrayTypeToVecType(AllocaTy); in tryPromoteAllocaToVector() local
201 << *AllocaTy << " -> " << *VectorTy << '\n'); in tryPromoteAllocaToVector()
211 Value *BitCast = Builder.CreateBitCast(Alloca, VectorTy->getPointerTo(0)); in tryPromoteAllocaToVector()
221 Value *BitCast = Builder.CreateBitCast(Alloca, VectorTy->getPointerTo(0)); in tryPromoteAllocaToVector()
/NextBSD/contrib/llvm/lib/Transforms/Vectorize/
HDLoopVectorize.cpp4997 Type *VectorTy = ToVectorTy(RetTy, VF); in getInstructionCost() local
5063 return TTI.getArithmeticInstrCost(I->getOpcode(), VectorTy, Op1VK, Op2VK, in getInstructionCost()
5074 return TTI.getCmpSelInstrCost(I->getOpcode(), VectorTy, CondTy); in getInstructionCost()
5079 VectorTy = ToVectorTy(ValTy, VF); in getInstructionCost()
5080 return TTI.getCmpSelInstrCost(I->getOpcode(), VectorTy); in getInstructionCost()
5088 VectorTy = ToVectorTy(ValTy, VF); in getInstructionCost()
5098 return TTI.getAddressComputationCost(VectorTy) + in getInstructionCost()
5099 TTI.getMemoryOpCost(I->getOpcode(), VectorTy, Alignment, AS); in getInstructionCost()
5113 VectorType::get(VectorTy->getVectorElementType(), in getInstructionCost()
5114 VectorTy->getVectorNumElements() * InterleaveFactor); in getInstructionCost()
[all …]
/NextBSD/contrib/llvm/lib/Transforms/Scalar/
HDScalarReplAggregates.cpp297 VectorType *VectorTy; member in __anon38f7cdc50211::ConvertToScalarInfo
313 ScalarKind(Unknown), VectorTy(nullptr), HadNonMemTransferAccess(false), in ConvertToScalarInfo()
349 if (ScalarKind == Vector && VectorTy->getBitWidth() != AllocaSize * 8) in TryConvert()
360 assert(VectorTy && "Missing type for vector scalar."); in TryConvert()
362 << *VectorTy << '\n'); in TryConvert()
363 NewTy = VectorTy; // Use the vector type. in TryConvert()
431 (!VectorTy || EltSize == VectorTy->getElementType() in MergeInTypeForLoadOrStore()
433 if (!VectorTy) { in MergeInTypeForLoadOrStore()
435 VectorTy = VectorType::get(In, AllocaSize/EltSize); in MergeInTypeForLoadOrStore()
456 if (!VectorTy) in MergeInVectorType()
[all …]
HDSROA.cpp1589 } else if (VectorType *VectorTy = dyn_cast<VectorType>(ElementTy)) { in getNaturalGEPWithType() local
1590 ElementTy = VectorTy->getElementType(); in getNaturalGEPWithType()
/NextBSD/contrib/llvm/lib/Target/ARM/
HDARMISelLowering.h451 bool canCombineStoreAndExtract(Type *VectorTy, Value *Idx,
HDARMISelLowering.cpp11415 bool ARMTargetLowering::canCombineStoreAndExtract(Type *VectorTy, Value *Idx, in canCombineStoreAndExtract() argument
11425 if (VectorTy->isFPOrFPVectorTy()) in canCombineStoreAndExtract()
11433 assert(VectorTy->isVectorTy() && "VectorTy is not a vector type"); in canCombineStoreAndExtract()
11434 unsigned BitWidth = cast<VectorType>(VectorTy)->getBitWidth(); in canCombineStoreAndExtract()
/NextBSD/contrib/llvm/include/llvm-c/
HDCore.h1100 unsigned LLVMGetVectorSize(LLVMTypeRef VectorTy);
/NextBSD/contrib/llvm/tools/clang/lib/Sema/
HDSemaExpr.cpp5428 bool Sema::CheckVectorCast(SourceRange R, QualType VectorTy, QualType Ty, in CheckVectorCast() argument
5430 assert(VectorTy->isVectorType() && "Not a vector type!"); in CheckVectorCast()
5433 if (!VectorTypesMatch(*this, Ty, VectorTy)) in CheckVectorCast()
5438 << VectorTy << Ty << R; in CheckVectorCast()
5442 << VectorTy << Ty << R; in CheckVectorCast()
5991 QualType VectorTy = S.Context.getExtVectorType(ResTy, NumElements); in OpenCLConvertScalarsToVectors() local
6008 LHS = S.ImpCastExprToType(LHS.get(), VectorTy, CK_VectorSplat); in OpenCLConvertScalarsToVectors()
6009 RHS = S.ImpCastExprToType(RHS.get(), VectorTy, CK_VectorSplat); in OpenCLConvertScalarsToVectors()
6011 return VectorTy; in OpenCLConvertScalarsToVectors()
/NextBSD/contrib/llvm/include/llvm/Target/
HDTargetLowering.h312 virtual bool canCombineStoreAndExtract(Type *VectorTy, Value *Idx, in canCombineStoreAndExtract() argument
/NextBSD/contrib/llvm/lib/IR/
HDCore.cpp507 unsigned LLVMGetVectorSize(LLVMTypeRef VectorTy) { in LLVMGetVectorSize() argument
508 return unwrap<VectorType>(VectorTy)->getNumElements(); in LLVMGetVectorSize()
/NextBSD/contrib/llvm/tools/clang/include/clang/Sema/
HDSema.h8410 bool CheckVectorCast(SourceRange R, QualType VectorTy, QualType Ty,