Home
last modified time | relevance | path

Searched refs:getVectorType (Results 1 – 25 of 51) sorted by relevance

123

/external/mesa3d/src/gallium/drivers/swr/rasterizer/jitter/
Dbuilder.cpp66 mSimd4FP64Ty = getVectorType(mDoubleTy, 4); in Builder()
73 mSimd16Int1Ty = getVectorType(mInt1Ty, mVWidth16); in Builder()
74 mSimd16Int16Ty = getVectorType(mInt16Ty, mVWidth16); in Builder()
75 mSimd16Int32Ty = getVectorType(mInt32Ty, mVWidth16); in Builder()
76 mSimd16Int64Ty = getVectorType(mInt64Ty, mVWidth16); in Builder()
77 mSimd16FP16Ty = getVectorType(mFP16Ty, mVWidth16); in Builder()
78 mSimd16FP32Ty = getVectorType(mFP32Ty, mVWidth16); in Builder()
82 mSimd32Int8Ty = getVectorType(mInt8Ty, 32); in Builder()
104 mSimdInt1Ty = getVectorType(mInt1Ty, mVWidth); in SetTargetWidth()
105 mSimdInt16Ty = getVectorType(mInt16Ty, mVWidth); in SetTargetWidth()
[all …]
Djit_pch.hpp142 static inline llvm::VectorType* getVectorType(llvm::Type *ElementType, unsigned NumElements) in getVectorType() function
147 static inline llvm::VectorType* getVectorType(llvm::Type *ElementType, unsigned NumElements) in getVectorType() function
Dbuilder_misc.cpp244 Value* Builder::VUNDEF_IPTR() { return UndefValue::get(getVectorType(mInt32PtrTy, mVWidth)); } in VUNDEF_IPTR()
246 Value* Builder::VUNDEF(Type* t) { return UndefValue::get(getVectorType(t, mVWidth)); } in VUNDEF()
248 Value* Builder::VUNDEF_I() { return UndefValue::get(getVectorType(mInt32Ty, mVWidth)); } in VUNDEF_I()
250 Value* Builder::VUNDEF_I_16() { return UndefValue::get(getVectorType(mInt32Ty, mVWidth16)); } in VUNDEF_I_16()
252 Value* Builder::VUNDEF_F() { return UndefValue::get(getVectorType(mFP32Ty, mVWidth)); } in VUNDEF_F()
254 Value* Builder::VUNDEF_F_16() { return UndefValue::get(getVectorType(mFP32Ty, mVWidth16)); } in VUNDEF_F_16()
258 return UndefValue::get(getVectorType(ty, size)); in VUNDEF()
625 Value* vShuf = UndefValue::get(getVectorType(mInt8Ty, numElms)); in PSHUFB()
666 Type* v8x32Ty = getVectorType(mInt32Ty, 8); in PMOVSXBD()
678 Type* v8x32Ty = getVectorType(mInt32Ty, 8); in PMOVSXWD()
[all …]
Dbuilder_mem.cpp430 Type* vGatherTy = getVectorType(IntegerType::getInt32Ty(JM()->mContext), mVWidth); in Shuffle16bpcGather4()
431 Type* v32x8Ty = getVectorType(mInt8Ty, mVWidth * 4); // vwidth is units of 32 bits in Shuffle16bpcGather4()
439 Type* v128bitTy = getVectorType(IntegerType::getIntNTy(JM()->mContext, 128), in Shuffle16bpcGather4()
535 Type* vGatherTy = getVectorType(IntegerType::getInt32Ty(JM()->mContext), mVWidth); in Shuffle8bpcGather4()
536 Type* v32x8Ty = getVectorType(mInt8Ty, mVWidth * 4); // vwidth is units of 32 bits in Shuffle8bpcGather4()
540 Type* v128Ty = getVectorType(IntegerType::getIntNTy(JM()->mContext, 128), in Shuffle8bpcGather4()
Dfetch_jit.cpp181 BITCAST(indices, PointerType::get(getVectorType(mInt8Ty, mpJitMgr->mVWidth), 0)), in Create()
194 BITCAST(indices, PointerType::get(getVectorType(mInt16Ty, mpJitMgr->mVWidth), 0)), in Create()
1315 Type* vGatherTy = getVectorType(mInt32Ty, 8); in Shuffle8bpcGatherd16()
1316 Type* v32x8Ty = getVectorType(mInt8Ty, 32); in Shuffle8bpcGatherd16()
1321 Type* v16x8Ty = getVectorType(mInt8Ty, 16); // 8x16bit ints in a 128bit lane in Shuffle8bpcGatherd16()
1322 Type* v128Ty = getVectorType(IntegerType::getIntNTy(JM()->mContext, 128), 2); in Shuffle8bpcGatherd16()
1578 Type* v32x8Ty = getVectorType(mInt8Ty, mVWidth * 4); // vwidth is units of 32 bits in Shuffle8bpcGatherd()
1692 Type* vGatherTy = getVectorType(mInt32Ty, 8); in Shuffle16bpcGather16()
1693 Type* v32x8Ty = getVectorType(mInt8Ty, 32); in Shuffle16bpcGather16()
1702 Type* v8x16Ty = getVectorType(mInt16Ty, 8); // 8x16bit in a 128bit lane in Shuffle16bpcGather16()
[all …]
Dstreamout_jit.cpp141 Type* simd4Ty = getVectorType(IRB()->getFloatTy(), 4); in buildDecl()
/external/llvm-project/mlir/lib/Conversion/VectorToSPIRV/
DVectorToSPIRV.cpp35 !spirv::CompositeType::isValid(broadcastOp.getVectorType())) in matchAndRewrite()
38 SmallVector<Value, 4> source(broadcastOp.getVectorType().getNumElements(), in matchAndRewrite()
41 broadcastOp.getLoc(), broadcastOp.getVectorType(), source); in matchAndRewrite()
54 !spirv::CompositeType::isValid(extractOp.getVectorType())) in matchAndRewrite()
89 if (!spirv::CompositeType::isValid(extractElementOp.getVectorType())) in matchAndRewrite()
/external/llvm-project/mlir/lib/Dialect/Vector/
DVectorTransferOpTransforms.cpp103 write.getVectorType() == nextWrite.getVectorType() && in deadStoreOp()
178 write.getVectorType() == read.getVectorType() && in storeToLoadForwarding()
DVectorUtils.cpp273 superVectorType = transfer.getVectorType(); in operatesOnSuperVectorsOf()
320 if (transferA.getVectorType() != transferB.getVectorType()) in isDisjointTransferSet()
342 if (distance >= transferA.getVectorType().getDimSize(i - rankOffset)) in isDisjointTransferSet()
DVectorOps.cpp127 int64_t rank = op.getVectorType().getRank(); in verify()
552 VectorType vectorType = op.getVectorType(); in verify()
628 if (positionAttr.size() > static_cast<unsigned>(op.getVectorType().getRank())) in verify()
634 attr.getInt() >= op.getVectorType().getDimSize(en.index())) in verify()
879 stride *= getDimReverse(extractOp.getVectorType(), i + destinationRank); in foldExtractFromShapeCast()
1080 VectorType dstVectorType = op.getVectorType(); in verify()
1105 auto vectorType = getVectorType(); in fold()
1133 VectorType resultType = op.getVectorType(); in verify()
1519 vACC = op.getOperandVectorTypeACC(), vRES = op.getVectorType(); in verify()
1651 auto type = op.getVectorType(); in verify()
[all …]
DVectorTransforms.cpp595 auto sourceVectorType = readOp.getVectorType(); in unrollTransferReadOp()
639 VectorType sourceVectorType = writeOp.getVectorType(); in unrollTransferWriteOp()
1134 VectorType dstType = op.getVectorType(); in matchAndRewrite()
1337 VectorType resType = op.getVectorType(); in matchAndRewrite()
2139 int64_t vectorSize = xferOp.getVectorType().getDimSize(resultIdx); in createScopedInBoundsCond()
2423 auto shape = xferOp.getVectorType().getShape(); in splitFullAndPartialTransfer()
2424 Type elementType = xferOp.getVectorType().getElementType(); in splitFullAndPartialTransfer()
/external/llvm-project/mlir/lib/Conversion/VectorToSCF/
DVectorToSCF.cpp106 vectorType = xferOp.getVectorType(); in NDTransferOpHelper()
279 if (!xferOp.isMaskedDim(xferOp.getVectorType().getRank() - 1)) { in doReplace()
384 if (!xferOp.isMaskedDim(xferOp.getVectorType().getRank() - 1)) { in doReplace()
457 auto vectorType = transfer.getVectorType(); in tmpMemRefType()
549 if (transfer.getVectorType().getRank() > 1) in matchAndRewrite()
553 if (transfer.getVectorType().getRank() == 1) in matchAndRewrite()
634 if (transfer.getVectorType().getRank() > 1) in matchAndRewrite()
638 if (transfer.getVectorType().getRank() == 1) in matchAndRewrite()
/external/llvm-project/mlir/lib/Dialect/Linalg/Transforms/
DHoisting.cpp137 transferRead.getVectorType() == transferWrite.getVectorType()) in hoistRedundantVectorTransfers()
DVectorization.cpp473 xferOp.getLoc(), xferOp.getVectorType(), in, xferOp.indices(), in matchAndRewrite()
/external/llvm-project/mlir/lib/Conversion/VectorToLLVM/
DConvertVectorToLLVM.cpp237 VectorType fillType = xferOp.getVectorType(); in replaceTransferOpWithMasked()
241 Type vecTy = typeConverter.convertType(xferOp.getVectorType()); in replaceTransferOpWithMasked()
666 auto vectorType = shuffleOp.getVectorType(); in matchAndRewrite()
721 auto vectorType = extractEltOp.getVectorType(); in matchAndRewrite()
747 auto vectorType = extractOp.getVectorType(); in matchAndRewrite()
815 VectorType vType = fmaOp.getVectorType(); in matchAndRewrite()
943 auto vType = op.getVectorType(); in matchAndRewrite()
1225 if (xferOp.getVectorType().getRank() > 1 || in matchAndRewrite()
1230 xferOp.getVectorType().getRank(), in matchAndRewrite()
1247 xferOp.getVectorType().getElementType()) in matchAndRewrite()
[all …]
/external/llvm-project/mlir/lib/Conversion/VectorToROCDL/
DVectorToROCDL.cpp71 if (xferOp.getVectorType().getRank() > 1 || in matchAndRewrite()
84 toLLVMTy(xferOp.getVectorType()).template cast<LLVM::LLVMType>(); in matchAndRewrite()
/external/mesa3d/src/gallium/drivers/swr/rasterizer/jitter/functionpasses/
Dlower_x86.cpp300 return ConstantVector::getNullValue(getVectorType(pTy, numElem)); in GetZeroVec()
328 return B->S_EXT(vi1Mask, getVectorType(B->mInt32Ty, numElem)); in VectorMask()
624 v64Mask = B->S_EXT(v64Mask, getVectorType(B->mInt64Ty, numElem)); in VGATHER_EMU()
647 src0 = B->BITCAST(src0, getVectorType(B->mInt64Ty, numElemSrc0)); in VGATHER_EMU()
648 mask0 = B->BITCAST(mask0, getVectorType(B->mInt64Ty, numElemMask0)); in VGATHER_EMU()
651 src1 = B->BITCAST(src1, getVectorType(B->mInt64Ty, numElemSrc1)); in VGATHER_EMU()
652 mask1 = B->BITCAST(mask1, getVectorType(B->mInt64Ty, numElemMask1)); in VGATHER_EMU()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DMVETailPredication.cpp293 static VectorType* getVectorType(IntrinsicInst *I) { in getVectorType() function
306 VectorType *VecTy = getVectorType(cast<IntrinsicInst>(&I)); in IsPredicatedVectorLoop()
524 VectorType *VecTy = getVectorType(I); in TryConvert()
/external/llvm-project/mlir/lib/Dialect/Affine/Transforms/
DSuperVectorize.cpp913 static VectorType getVectorType(Type scalarTy, in getVectorType() function
939 auto vectorTy = getVectorType(value.getType(), state->strategy); in vectorizeUniform()
995 getVectorType(operand.getType(), state->strategy)); in vectorizeOperand()
/external/llvm-project/clang/utils/TableGen/
DMveEmitter.cpp995 const VectorType *getVectorType(const ScalarType *ST, unsigned Lanes) { in getVectorType() function in __anond0646b370111::EmitterBase
1002 const VectorType *getVectorType(const ScalarType *ST) { in getVectorType() function in __anond0646b370111::EmitterBase
1003 return getVectorType(ST, 128 / ST->sizeInBits()); in getVectorType()
1106 return getVectorType(cast<ScalarType>(Element)); in getType()
1109 return getVectorType(cast<ScalarType>(Element), in getType()
1765 const VectorType *VT = getVectorType(ST); in EmitHeader()
2032 const VectorType *VT = getVectorType(ST); in EmitHeader()
/external/llvm-project/mlir/lib/Conversion/StandardToSPIRV/
DLegalizeStandardForSPIRV.cpp70 loadOp, loadOp.getVectorType(), subViewOp.source(), sourceIndices, in replaceOp()
/external/llvm-project/mlir/include/mlir/Interfaces/
DVectorInterfaces.td137 /*methodName=*/"getVectorType",
/external/llvm-project/mlir/include/mlir/Dialect/Vector/
DVectorOps.td224 VectorType getVectorType() {
268 VectorType getVectorType() {
325 VectorType getVectorType() {
362 VectorType getVectorType() {
394 VectorType getVectorType() {
555 VectorType getVectorType() { return lhs().getType().cast<VectorType>(); }
879 VectorType getVectorType() {
1046 VectorType getVectorType(){ return vector().getType().cast<VectorType>(); }
1895 VectorType getVectorType() {
/external/mesa3d/src/gallium/drivers/swr/
Dswr_shader.cpp763 Value *vMask1 = TRUNC(vMask, getVectorType(mInt1Ty, mVWidth)); in swr_gs_llvm_emit_vertex()
886 Value *vMask1 = TRUNC(vMask, getVectorType(mInt1Ty, 8)); in swr_gs_llvm_end_primitive()
899 vMask1 = TRUNC(mask, getVectorType(mInt1Ty, 8)); in swr_gs_llvm_end_primitive()
905 vValue = TRUNC(vValue, getVectorType(mInt8Ty, 8)); in swr_gs_llvm_end_primitive()
1842 Value* sys_value_outer_factors = UndefValue::get(getVectorType(mFP32Ty, 4)); in CompileTES()
1850 Value* sys_value_inner_factors = UndefValue::get(getVectorType(mFP32Ty, 4)); in CompileTES()
/external/llvm-project/mlir/lib/Conversion/AffineToStandard/
DAffineToStandard.cpp616 op, op.getVectorType(), op.getMemRef(), *resultOperands); in matchAndRewrite()

123