Home
last modified time | relevance | path

Searched refs:getResultType (Results 1 – 25 of 44) sorted by relevance

12

/llvm-project-15.0.7/mlir/include/mlir/Dialect/Utils/
H A DReshapeOpsUtils.h90 if (reshapeSrcOp && reshapeSrcOp.getSrcType() == reshapeOp.getResultType()) in foldReshapeOp()
180 ShapedType resultType = reshapeOp.getResultType(); in matchAndRewrite()
237 ShapedType resultType = collapseOp.getResultType(); in matchAndRewrite()
296 ShapedType resultType = expandOp.getResultType(); in matchAndRewrite()
/llvm-project-15.0.7/mlir/lib/Dialect/Tensor/IR/
H A DTensorTilingInterfaceImpl.cpp33 op->getLoc(), mixedSizes, padOp.getResultType().getElementType()); in getDestinationOperands()
39 SmallVector<StringRef> iteratorTypes(padOp.getResultType().getRank(), in getLoopIteratorTypes()
224 RankedTensorType::get(shape, padOp.getResultType().getElementType()); in bubbleUpPadSlice()
H A DTensorOps.cpp881 return verifyTensorReshapeOp(*this, getResultType(), getSrcType()); in verify()
885 return verifyTensorReshapeOp(*this, getSrcType(), getResultType()); in verify()
902 reshapeOp.getResultType(), attr.getRawData()); in matchAndRewrite()
1985 padTensorOp.getResultType().getShape()); in matchAndRewrite()
1987 if (newResultType == padTensorOp.getResultType()) { in matchAndRewrite()
2001 padTensorOp, padTensorOp.getResultType(), newOp); in matchAndRewrite()
2184 padOp.getLoc(), padOp.getResultType(), newSliceOp.getResult(), in matchAndRewrite()
2226 if (getResultType().hasStaticShape() && getResultType() == getSourceType() && in fold()
H A DTensorInferTypeOpInterfaceImpl.cpp157 b, loc, reshapeOp.getSrc(), reshapeOp.getResultType().getShape(), in reifyResultShapes()
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/
H A DTrustReturnsNonnullChecker.cpp43 QualType ExprRetType = Call.getResultType(); in isNonNullPtr()
H A DTraversalChecker.cpp109 if (Call.getResultType()->isVoidType()) in checkPostCall()
H A DSmartPtrModeling.cpp365 C.getSValBuilder().makeZeroVal(Call.getResultType()))); in evalCall()
497 Call.getResultType()); in handleComparisionOp()
724 State, ThisRegion, Call.getOriginExpr(), Call.getResultType(), C); in handleGet()
874 C.getSValBuilder().makeZeroVal(Call.getResultType()))); in handleBoolConversion()
H A DCallAndMessageChecker.cpp642 QualType ResTy = msg.getResultType(); in emitNilReceiverBug()
653 msg.getResultType().print(os, C.getLangOpts()); in emitNilReceiverBug()
681 QualType RetTy = Msg.getResultType(); in HandleNilReceiver()
H A DCastValueChecker.cpp208 QualType CastToTy = Call.getResultType(); in addCastTransition()
483 QualType ResultT = Call.getResultType(); in evalCall()
H A DTrustNonnullChecker.cpp158 QualType ExprRetType = Call.getResultType(); in isNonNullPtr()
H A DIteratorModeling.cpp194 if (!isIteratorType(Call.getResultType())) in checkPostCall()
224 Call.getResultType().getDesugaredType(C.getASTContext()).getTypePtr()) { in checkPostCall()
/llvm-project-15.0.7/mlir/lib/Dialect/Vector/Transforms/
H A DVectorUnrollDistribute.cpp318 auto dstVecType = contractOp.getResultType().cast<VectorType>(); in matchAndRewrite()
559 VectorType::get(extract.getResultType().getShape(), in matchAndRewrite()
564 rewriter, loc, definedOp, extractOperands, extract.getResultType()); in matchAndRewrite()
588 map[affineMap.getDimPosition(i)] = extract.getResultType().getDimSize(i); in matchAndRewrite()
666 extract.getResultType().getDimSize(vectorPos), read.getContext()); in matchAndRewrite()
780 if (tranposeOp.getResultType().getRank() == 0) in matchAndRewrite()
785 auto originalVectorType = tranposeOp.getResultType(); in matchAndRewrite()
H A DVectorTransforms.cpp397 VectorType resType = op.getResultType(); in matchAndRewrite()
511 rewriter.replaceOpWithNewOp<vector::ShapeCastOp>(op, op.getResultType(), in matchAndRewrite()
654 contractOp.getResultType().cast<VectorType>().getDimSize(i)); in matchAndRewrite()
664 contractOp.getResultType().cast<VectorType>().getDimSize(i)); in matchAndRewrite()
1721 VectorType dstType = op.getResultType().cast<VectorType>(); in matchAndRewrite()
1869 VectorType resType = op.getResultType().cast<VectorType>(); in lowerParallel()
1935 Type resType = op.getResultType(); in lowerReduction()
/llvm-project-15.0.7/mlir/lib/Dialect/Async/IR/
H A DAsync.cpp313 if (*getResultType() != value.getValueType()) in verify()
314 return emitOpError() << "result type " << *getResultType() in verify()
/llvm-project-15.0.7/mlir/lib/Dialect/Linalg/Transforms/
H A DFusePadOpWithLinalgProducer.cpp77 RankedTensorType padResultType = padOp.getResultType(); in matchAndRewrite()
H A DHoistPadding.cpp417 RankedTensorType paddedTensorType = opToHoist.getResultType(); in hoistPaddingOnTensors()
/llvm-project-15.0.7/mlir/lib/Dialect/Tensor/Utils/
H A DUtils.cpp27 int rank = padTensorOp.getResultType().getRank(); in createPadScalarOp()
/llvm-project-15.0.7/mlir/include/mlir/Tools/PDLL/AST/
H A DNodes.h892 Type getResultType() const { return resultType; } in getResultType() function
1095 Type getResultType() const { return resultType; } in getResultType() function
1158 Type getResultType() const { in getResultType() function
1160 return cst->getResultType(); in getResultType()
1161 return cast<UserRewriteDecl>(this)->getResultType(); in getResultType()
/llvm-project-15.0.7/mlir/lib/Tools/PDLL/AST/
H A DNodePrinter.cpp290 << "> ResultType<" << decl->getResultType() << ">"; in printImpl()
343 << "> ResultType<" << decl->getResultType() << ">"; in printImpl()
/llvm-project-15.0.7/mlir/lib/Dialect/Vector/IR/
H A DVectorOps.cpp620 << getResultType(); in print()
728 auto resType = getResultType(); in verify()
835 auto resVectorType = getResultType().dyn_cast<VectorType>(); in getIterationBounds()
1621 if (getSourceVectorType().getRank() != getResultType().getRank()) in verify()
1651 getResultType().getDimSize(i)); in getMultiplicity()
1662 op.getResultType().getDimSize(i)) in calculateImplicitMap()
2068 if (getSourceVectorType().getRank() != getResultType().getRank()) in verify()
2071 for (unsigned i = 0, e = getResultType().getRank(); i < e; i++) { in verify()
4568 return attr.reshape(getResultType()); in fold()
4587 VectorType resultType = getResultType(); in verify()
[all …]
/llvm-project-15.0.7/flang/include/flang/Lower/
H A DCallInterface.h183 llvm::SmallVector<mlir::Type> getResultType() const;
/llvm-project-15.0.7/mlir/lib/Dialect/Linalg/IR/
H A DLinalgOps.cpp508 loc, reshapeOp.getResultType(), oldFill.output(), in matchAndRewrite()
541 auto oldResultType = padOp.getResultType(); in matchAndRewrite()
1340 reshapeOp.getResultType().getElementType()); in matchAndRewrite()
1341 if (initTensor.getType() != reshapeOp.getResultType()) { in matchAndRewrite()
1343 reshapeOp, reshapeOp.getResultType(), initTensor); in matchAndRewrite()
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/
H A DRetainCountChecker.cpp540 if (!CE.getResultType()->isScalarType()) { in updateOutParameters()
689 QualType ResultTy = CallOrMsg.getResultType(); in checkSummary()
901 QualType ResultTy = Call.getResultType(); in evalCall()
/llvm-project-15.0.7/mlir/lib/Dialect/Tensor/Transforms/
H A DBufferizableOpInterfaceImpl.cpp113 RankedTensorType tensorResultType = collapseShapeOp.getResultType(); in bufferize()
237 auto tensorResultType = expandShapeOp.getResultType(); in bufferize()
/llvm-project-15.0.7/mlir/lib/Dialect/X86Vector/Transforms/
H A DAVXTranspose.cpp318 res = ib.create<vector::ShapeCastOp>(op.getResultType(), res); in matchAndRewrite()

12