Home
last modified time | relevance | path

Searched refs:resType (Results 1 – 18 of 18) sorted by relevance

/llvm-project-15.0.7/mlir/lib/Dialect/AMX/Transforms/
H A DLegalizeForLLVMExport.cpp93 Type resType = typeConverter->convertType(vType); in matchAndRewrite() local
94 rewriter.replaceOpWithNewOp<amx::x86_amx_tilezero>(op, resType, tsz.first, in matchAndRewrite()
120 Type resType = typeConverter->convertType(vType); in matchAndRewrite() local
122 op, resType, tsz.first, tsz.second, ptr, stride); in matchAndRewrite()
167 Type resType = typeConverter->convertType(cType); in matchAndRewrite() local
169 op, resType, tsza.first, tszb.second, tsza.second, adaptor.getAcc(), in matchAndRewrite()
189 Type resType = typeConverter->convertType(cType); in matchAndRewrite() local
194 op, resType, tsza.first, tszb.second, tsza.second, adaptor.getAcc(), in matchAndRewrite()
198 op, resType, tsza.first, tszb.second, tsza.second, adaptor.getAcc(), in matchAndRewrite()
202 op, resType, tsza.first, tszb.second, tsza.second, adaptor.getAcc(), in matchAndRewrite()
[all …]
/llvm-project-15.0.7/mlir/lib/Dialect/SparseTensor/Transforms/
H A DSparseTensorConversion.cpp602 Type resType = op.getType(); in matchAndRewrite() local
603 auto enc = getSparseTensorEncoding(resType); in matchAndRewrite()
610 ShapedType stp = resType.cast<ShapedType>(); in matchAndRewrite()
630 RankedTensorType resType = op.getType(); in matchAndRewrite() local
631 auto enc = getSparseTensorEncoding(resType); in matchAndRewrite()
638 if (resType.isDynamicDim(i)) { in matchAndRewrite()
648 ShapedType stp = resType.cast<ShapedType>(); in matchAndRewrite()
670 Type resType = op.getType(); in matchAndRewrite() local
899 Type resType = op.getType(); in matchAndRewrite() local
915 Type resType = op.getType(); in matchAndRewrite() local
[all …]
H A DSparsification.cpp1689 Type resType = lhs->get().getType(); in genResult() local
1690 if (getSparseTensorEncoding(resType)) { in genResult()
1693 rewriter.replaceOpWithNewOp<LoadOp>(op, resType, lhs->get(), in genResult()
1699 rewriter.replaceOpWithNewOp<bufferization::ToTensorOp>(op, resType, val); in genResult()
/llvm-project-15.0.7/mlir/lib/Dialect/Arithmetic/IR/
H A DArithmeticOps.cpp879 Type resType = getType(); in fold() local
908 Type resType = getType(); in fold() local
962 Type resType = getType(); in fold() local
1058 Type resType = getType(); in fold() local
1063 resEleType = resType; in fold()
1084 Type resType = getType(); in fold() local
1089 resEleType = resType; in fold()
1109 Type resType = getType(); in fold() local
1114 resEleType = resType; in fold()
1135 Type resType = getType(); in fold() local
[all …]
/llvm-project-15.0.7/mlir/include/mlir/Dialect/
H A DCommonFolders.h161 Attribute constFoldCastOp(ArrayRef<Attribute> operands, Type resType, in constFoldCastOp() argument
173 return TargetAttrElementT::get(resType, res); in constFoldCastOp()
184 return DenseElementsAttr::get(resType, elementResult); in constFoldCastOp()
201 return DenseElementsAttr::get(resType, elementResults); in constFoldCastOp()
/llvm-project-15.0.7/mlir/lib/Dialect/Vector/Transforms/
H A DVectorTransforms.cpp294 VectorType resType = in matchAndRewrite() local
336 VectorType resType = in matchAndRewrite() local
397 VectorType resType = op.getResultType(); in matchAndRewrite() local
415 VectorType::get(resType.getNumElements(), resType.getElementType()); in matchAndRewrite()
443 loc, resType, rewriter.getZeroAttr(resType)); in matchAndRewrite()
563 loc, resType, rewriter.getZeroAttr(resType)); in matchAndRewrite()
1915 loc, resType, rewriter.getZeroAttr(resType)); in lowerParallel()
1935 Type resType = op.getResultType(); in lowerReduction() local
1936 if (resType.isa<VectorType>()) in lowerReduction()
1939 bool isInt = resType.isa<IntegerType>(); in lowerReduction()
[all …]
/llvm-project-15.0.7/llvm/lib/Target/SPIRV/
H A DSPIRVInstrInfo.td254 (ins TYPE:$resType, ID:$image, ID:$coord, ID:$sample),
257 "$res = OpLoad $resType $pointer">;
275 "$res = OpGenericPtrMemSemantics $resType $pointer">;
279 def OpPtrEqual: Op<401, (outs ID:$res), (ins TYPE:$resType, ID:$a, ID:$b),
280 "$res = OpPtrEqual $resType $a $b">;
281 def OpPtrNotEqual: Op<402, (outs ID:$res), (ins TYPE:$resType, ID:$a, ID:$b),
282 "$res = OpPtrNotEqual $resType $a $b">;
283 def OpPtrDiff: Op<403, (outs ID:$res), (ins TYPE:$resType, ID:$a, ID:$b),
284 "$res = OpPtrDiff $resType $a $b">;
290 "$func = OpFunction $resType $funcControl $funcType">;
[all …]
/llvm-project-15.0.7/mlir/lib/Dialect/NVGPU/IR/
H A DNVGPUDialect.cpp206 Type resType = resVector.getElementType(); in verify() local
207 int64_t elementBitWidth = resType.getIntOrFloatBitWidth(); in verify()
/llvm-project-15.0.7/mlir/lib/Dialect/MemRef/Transforms/
H A DNormalizeMemRefs.cpp454 Type resType = functionType.getResult(resIndex); in normalizeFuncOpMemRefs() local
455 MemRefType memrefType = resType.dyn_cast<MemRefType>(); in normalizeFuncOpMemRefs()
459 resultTypes.push_back(resType); in normalizeFuncOpMemRefs()
/llvm-project-15.0.7/mlir/lib/Conversion/GPUToNVVM/
H A DWmmaOpsToNvvm.cpp110 Type resType = convertMMAToLLVMType(retType); in matchAndRewrite() local
122 op, resType, dataPtr, leadingDim, m, n, k, layout, eltype, frag); in matchAndRewrite()
/llvm-project-15.0.7/mlir/lib/Dialect/Vector/IR/
H A DVectorOps.cpp414 Type resType; in parse() local
420 parser.parseKeywordType("into", resType) || in parse()
425 parser.addTypeToList(resType, result.types)) in parse()
636 Type resType, in verifyOutputShape() argument
667 if (resType.isa<VectorType>() || accType.isa<VectorType>()) in verifyOutputShape()
671 auto resVectorType = resType.dyn_cast<VectorType>(); in verifyOutputShape()
728 auto resType = getResultType(); in verify() local
792 auto vectorType = resType.dyn_cast<VectorType>(); in verify()
793 auto elementType = vectorType ? vectorType.getElementType() : resType; in verify()
2335 VectorType resType = in parse() local
[all …]
/llvm-project-15.0.7/mlir/lib/Dialect/Linalg/Transforms/
H A DVectorization.cpp1411 VectorType resType = VectorType::get({nSize, wSize, fSize}, resEltType); in conv() local
1422 loc, resType, resShaped, ValueRange{zero, zero, zero}); in conv()
1534 VectorType resType = VectorType::get({nSize, wSize, cSize}, resEltType); in depthwiseConv() local
1545 loc, resType, resShaped, ValueRange{zero, zero, zero}); in depthwiseConv()
/llvm-project-15.0.7/mlir/lib/Dialect/Async/Transforms/
H A DAsyncToAsyncRuntime.cpp142 for (auto resType : func.getCallableResults().drop_front()) in setupCoroMachinery() local
143 retValues.emplace_back(builder.create<RuntimeCreateOp>(resType).result()); in setupCoroMachinery()
/llvm-project-15.0.7/mlir/include/mlir/Dialect/Tensor/IR/
H A DTensorOps.td165 auto resType = tensor.getType().cast<ShapedType>().getElementType();
166 build($_builder, $_state, resType, tensor, indices);
496 auto resType = dest.getType();
497 build($_builder, $_state, resType, scalar, dest, indices);
/llvm-project-15.0.7/mlir/lib/Dialect/GPU/IR/
H A DGPUDialect.cpp1168 auto resType = res().getType(); in verify() local
1169 auto resMatrixType = resType.cast<gpu::MMAMatrixType>(); in verify()
/llvm-project-15.0.7/mlir/lib/Dialect/LLVMIR/IR/
H A DLLVMDialect.cpp2526 auto resType = getRes().getType(); in verify() local
2527 if (resType != valType) in verify()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaExpr.cpp16131 QualType resType; in ActOnChooseExpr() local
16134 resType = Context.DependentTy; in ActOnChooseExpr()
16148 resType = ActiveExpr->getType(); in ActOnChooseExpr()
16154 resType, VK, OK, RPLoc, CondIsTrue); in ActOnChooseExpr()
H A DSemaChecking.cpp7446 QualType resType = TheCall->getArg(0)->getType(); in SemaBuiltinShuffleVector() local
7483 resType = Context.getVectorType(eltType, numResElements, in SemaBuiltinShuffleVector()
7517 return new (Context) ShuffleVectorExpr(Context, exprs, resType, in SemaBuiltinShuffleVector()