Home
last modified time | relevance | path

Searched refs:vecTy (Results 1 – 9 of 9) sorted by relevance

/llvm-project-15.0.7/clang/lib/CodeGen/
H A DSwiftCallingConv.cpp218 if (auto vecTy = dyn_cast<llvm::VectorType>(type)) { in addTypedData() local
220 legalizeVectorType(CGM, end - begin, vecTy, componentTys); in addTypedData()
251 if (auto vecTy = dyn_cast<llvm::VectorType>(type)) { in addLegalTypedData() local
252 auto split = splitLegalVectorType(CGM, end - begin, vecTy); in addLegalTypedData()
335 if (auto vecTy = dyn_cast_or_null<llvm::VectorType>(type)) { in addEntry() local
336 auto eltTy = vecTy->getElementType(); in addEntry()
338 (end - begin) / cast<llvm::FixedVectorType>(vecTy)->getNumElements(); in addEntry()
341 e = cast<llvm::FixedVectorType>(vecTy)->getNumElements(); in addEntry()
401 auto vecTy = cast<llvm::VectorType>(Entries[index].Type); in splitVectorEntry() local
402 auto split = splitLegalVectorType(CGM, Entries[index].getWidth(), vecTy); in splitVectorEntry()
H A DCGExprScalar.cpp4614 auto *vecTy = cast<llvm::FixedVectorType>(condType); in VisitAbstractConditionalOperator() local
4616 unsigned numElem = vecTy->getNumElements(); in VisitAbstractConditionalOperator()
4617 llvm::Type *elemType = vecTy->getElementType(); in VisitAbstractConditionalOperator()
4619 llvm::Value *zeroVec = llvm::Constant::getNullValue(vecTy); in VisitAbstractConditionalOperator()
/llvm-project-15.0.7/flang/lib/Optimizer/CodeGen/
H A DTypeConverter.h109 addConversion([&](fir::VectorType vecTy) { in LLVMTypeConverter()
110 return mlir::VectorType::get(llvm::ArrayRef<int64_t>(vecTy.getLen()), in LLVMTypeConverter()
111 convertType(vecTy.getEleTy())); in LLVMTypeConverter()
/llvm-project-15.0.7/mlir/lib/Dialect/Affine/Transforms/
H A DSuperVectorize.cpp954 auto vecTy = getVectorType(scalarTy, state.strategy); in vectorizeConstant() local
955 auto vecAttr = DenseElementsAttr::get(vecTy, constOp.getValue()); in vectorizeConstant()
986 auto vecTy = getVectorType(scalarTy, state.strategy); in createInitialVector() local
987 auto vecAttr = DenseElementsAttr::get(vecTy, valueAttr); in createInitialVector()
/llvm-project-15.0.7/mlir/lib/Conversion/VectorToGPU/
H A DVectorToGPU.cpp614 VectorType vecTy = op.getVectorType(); in convertTransferReadToLoads() local
615 int64_t bitWidth = vecTy.getElementType().getIntOrFloatBitWidth(); in convertTransferReadToLoads()
621 (bitWidth != 16 || vecTy.getDimSize(1) < 8 || in convertTransferReadToLoads()
622 vecTy.getDimSize(0) * bitWidth < 128)) in convertTransferReadToLoads()
/llvm-project-15.0.7/flang/lib/Optimizer/Dialect/
H A DFIRType.cpp289 if (auto vecTy = nt.dyn_cast<fir::VectorType>()) in unwrapAllRefAndSeqType() local
290 nt = vecTy.getEleTy(); in unwrapAllRefAndSeqType()
/llvm-project-15.0.7/flang/lib/Lower/
H A DConvertVariable.cpp952 auto vecTy = mlir::VectorType::get(sz, i8Ty); in declareCommonBlock() local
954 auto init = mlir::DenseElementsAttr::get(vecTy, llvm::makeArrayRef(zero)); in declareCommonBlock()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaCast.cpp2708 if (const VectorType *vecTy = DestType->getAs<VectorType>()) { in CheckCXXCStyleCast() local
2714 if (Self.ShouldSplatAltivecScalarInCast(vecTy) && in CheckCXXCStyleCast()
/llvm-project-15.0.7/mlir/lib/Dialect/Vector/Transforms/
H A DVectorTransforms.cpp1218 if (auto vecTy = bcastOp.getSourceType().dyn_cast<VectorType>()) in matchAndRewrite() local
1219 castResTy = VectorType::get(vecTy.getShape(), castResTy); in matchAndRewrite()