Home
last modified time | relevance | path

Searched refs:resultTy (Results 1 – 24 of 24) sorted by relevance

/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/
H A DSimpleSValBuilder.cpp126 return makeIntVal(0, resultTy); in MakeSymIntVal()
144 return makeIntVal(0, resultTy); in MakeSymIntVal()
158 return makeIntVal(0, resultTy); in MakeSymIntVal()
430 return makeTruthVal(true, resultTy); in evalBinOpNN()
438 return makeIntVal(0, resultTy); in evalBinOpNN()
475 resultTy); in evalBinOpNN()
572 return makeZeroVal(resultTy); in evalBinOpNN()
789 return makeZeroVal(resultTy); in evalBinOpLL()
793 return makeTruthVal(true, resultTy); in evalBinOpLL()
797 return makeTruthVal(false, resultTy); in evalBinOpLL()
[all …]
/llvm-project-15.0.7/mlir/lib/Dialect/Tosa/Transforms/
H A DTosaDecomposeTransposeConv.cpp39 auto op = rewriter.create<TosaOp>(loc, resultTy, args...); in createOpAndInfer()
61 mlir::tosa::ValueKnowledge::getKnowledgeFromType(resultTy); in createOpAndInfer()
66 inferredKnowledge.dtype = resultTy.cast<ShapedType>().getElementType(); in createOpAndInfer()
96 ShapedType resultTy = op->getResult(0).getType().cast<ShapedType>(); in matchAndRewrite() local
111 !biasTy.hasStaticShape() || !resultTy.hasStaticShape()) in matchAndRewrite()
131 loc, resultTy, input, reverse2, bias, in matchAndRewrite()
136 loc, resultTy, input, reverse2, bias, in matchAndRewrite()
160 ShapedType resultTy = op->getResult(0).getType().cast<ShapedType>(); in matchAndRewrite() local
165 Type resultETy = resultTy.getElementType(); in matchAndRewrite()
182 !biasTy.hasStaticShape() || !resultTy.hasStaticShape()) in matchAndRewrite()
[all …]
H A DTosaInferShapes.cpp237 Type resultTy = result.getType(); in propagateShapesInRegion() local
239 ValueKnowledge::getKnowledgeFromType(resultTy); in propagateShapesInRegion()
244 resultTy.cast<ShapedType>().getElementType(); in propagateShapesInRegion()
/llvm-project-15.0.7/mlir/lib/Conversion/TosaToLinalg/
H A DTosaToLinalgNamed.cpp111 dynDims.resize(resultTy.getRank()); in inferDynamicDimsForConv()
179 Type resultETy = resultTy.getElementType(); in matchAndRewrite()
245 loc, filteredDims, resultTy.getShape(), resultETy); in matchAndRewrite()
345 int64_t resultRank = resultTy.getRank(); in matchAndRewrite()
348 Type resultETy = resultTy.getElementType(); in matchAndRewrite()
374 auto resultShape = resultTy.getShape(); in matchAndRewrite()
449 loc, resultTy, conv, reassociationMap); in matchAndRewrite()
477 loc, resultTy, conv, reassociationMap); in matchAndRewrite()
736 loc, dynamicDims, resultTy.getShape(), resultTy.getElementType()); in matchAndRewrite()
770 ShapedType accTy = resultTy.clone(accETy); in matchAndRewrite()
[all …]
H A DTosaToLinalg.cpp578 if (!resultTy) in elementwiseMatchAndRewriteHelper()
582 unsigned rank = resultTy.getRank(); in elementwiseMatchAndRewriteHelper()
609 loc, filteredDims, resultTy.getShape(), resultTy.getElementType())); in elementwiseMatchAndRewriteHelper()
794 auto elementTy = resultTy.getElementType(); in reduceMatchAndRewriteHelper()
985 if (isDynamic && resultTy.getRank() != 1) { in matchAndRewrite()
990 if (operandTy == resultTy) { in matchAndRewrite()
1028 if (operandTy == resultTy) { in matchAndRewrite()
1072 if (operandTy == resultTy) { in matchAndRewrite()
1117 inputExprs.resize(resultTy.getRank()); in matchAndRewrite()
1131 loc, filteredDims, resultTy.getShape(), resultTy.getElementType()); in matchAndRewrite()
[all …]
/llvm-project-15.0.7/mlir/lib/Conversion/TosaToArith/
H A DTosaToArith.cpp72 Type resultTy = op.getType(); in matchAndRewrite() local
74 Type i32Ty = matchContainerType(rewriter.getI32Type(), resultTy); in matchAndRewrite()
75 Type i64Ty = matchContainerType(rewriter.getI64Type(), resultTy); in matchAndRewrite()
128 Type resultTy = op.getType(); in matchAndRewrite() local
129 Type i32Ty = matchContainerType(rewriter.getI32Type(), resultTy); in matchAndRewrite()
130 Type i64Ty = matchContainerType(rewriter.getI64Type(), resultTy); in matchAndRewrite()
236 if (!getElementTypeOrSelf(resultTy).isInteger(32)) { in matchAndRewrite()
237 result = rewriter.create<arith::TruncIOp>(loc, resultTy, result); in matchAndRewrite()
/llvm-project-15.0.7/mlir/lib/Dialect/Linalg/Transforms/
H A DNamedOpConversions.cpp43 auto resultTy = result.getType().template dyn_cast<RankedTensorType>(); in matchAndReplaceDepthwiseConv() local
44 if (!kernelTy || !initTy || !resultTy) in matchAndReplaceDepthwiseConv()
91 operation, resultTy, newConv, collapsedInitDims); in matchAndReplaceDepthwiseConv()
/llvm-project-15.0.7/mlir/lib/Dialect/Math/Transforms/
H A DExpandPatterns.cpp61 auto resultTy = op.getType(); in convertCtlzOp() local
100 auto shifted = rewriter.create<arith::ShRUIOp>(loc, resultTy, input, one); in convertCtlzOp()
102 rewriter.create<arith::SubIOp>(loc, resultTy, leadingZeros, one); in convertCtlzOp()
/llvm-project-15.0.7/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DSValBuilder.h96 NonLoc lhs, NonLoc rhs, QualType resultTy) = 0;
101 Loc lhs, Loc rhs, QualType resultTy) = 0;
107 Loc lhs, NonLoc rhs, QualType resultTy) = 0;
120 NonLoc lhs, NonLoc rhs, QualType resultTy);
/llvm-project-15.0.7/mlir/lib/Dialect/Shape/IR/
H A DShape.cpp73 Type resultTy = op->getResultTypes().front(); in verifySizeOrIndexOp() local
75 if (!resultTy.isa<SizeType>()) in verifySizeOrIndexOp()
85 Type resultTy = op->getResultTypes().front(); in verifyShapeOrExtentTensorOp() local
87 if (!resultTy.isa<ShapeType>()) in verifyShapeOrExtentTensorOp()
812 auto resultTy = op.getType().dyn_cast<RankedTensorType>(); in matchAndRewrite() local
813 if (!resultTy || !resultTy.isDynamicDim(0)) in matchAndRewrite()
900 Type resultTy; in parse() local
901 if (parser.parseColonType(resultTy)) in parse()
903 result.types.push_back(resultTy); in parse()
/llvm-project-15.0.7/mlir/lib/Conversion/GPUToNVVM/
H A DLowerGpuOpsToNVVMOps.cpp89 auto resultTy = LLVM::LLVMStructType::getLiteral(rewriter.getContext(), in matchAndRewrite() local
115 loc, resultTy, activeMask, adaptor.value(), adaptor.offset(), in matchAndRewrite()
/llvm-project-15.0.7/mlir/lib/Target/SPIRV/Serialization/
H A DSerializeOps.cpp643 Type resultTy = op.getNumResults() ? *op.result_type_begin() : getVoidType(); in processOp() local
644 if (failed(processType(op.getLoc(), resultTy, resTypeID))) in processOp()
657 if (!resultTy.isa<NoneType>()) in processOp()
/llvm-project-15.0.7/flang/lib/Optimizer/CodeGen/
H A DCodeGen.cpp141 mlir::Type resultTy, in getValueFromBox() argument
147 auto pty = mlir::LLVM::LLVMPointerType::get(resultTy); in getValueFromBox()
150 return rewriter.create<mlir::LLVM::LoadOp>(loc, resultTy, p); in getValueFromBox()
366 mlir::Type resultTy = ty; in matchAndRewrite() local
403 if (ty == resultTy) { in matchAndRewrite()
1412 mlir::Type resultTy = in genBoxOffsetGep() local
1421 resultTy = arrayTy.getElementType(); in genBoxOffsetGep()
1429 resultTy = structTy.getBody()[cstIndex]; in genBoxOffsetGep()
1432 resultTy = arrayTy.getElementType(); in genBoxOffsetGep()
1442 resultTy = arrayTy.getElementType(); in genBoxOffsetGep()
[all …]
/llvm-project-15.0.7/mlir/lib/Conversion/ShapeToStandard/
H A DShapeToStandard.cpp196 Type resultTy = in matchAndRewrite() local
199 rewriter.create<tensor::FromElementsOp>(loc, resultTy, extentOperands); in matchAndRewrite()
200 rewriter.replaceOpWithNewOp<tensor::CastOp>(op, resultTy, tensor); in matchAndRewrite()
/llvm-project-15.0.7/mlir/lib/Dialect/Tensor/IR/
H A DTensorOps.cpp575 RankedTensorType resultTy = getType().cast<RankedTensorType>(); in verify() local
576 if (getNumOperands() != resultTy.getNumDynamicDims()) in verify()
584 RankedTensorType resultTy = getType().cast<RankedTensorType>(); in verifyRegions() local
589 if (getBody().getNumArguments() != resultTy.getRank()) in verifyRegions()
595 if (yieldOp.getValue().getType() != resultTy.getElementType()) in verifyRegions()
604 OpBuilder &b, OperationState &result, Type resultTy, in build() argument
607 build(b, result, resultTy, dynamicExtents); in build()
612 auto rank = resultTy.cast<RankedTensorType>().getRank(); in build()
/llvm-project-15.0.7/mlir/lib/Conversion/VectorToLLVM/
H A DConvertVectorToLLVM.cpp138 VectorType resultTy = bitCastOp.getResultVectorType(); in matchAndRewrite() local
139 if (resultTy.getRank() > 1) in matchAndRewrite()
141 Type newResultTy = typeConverter->convertType(resultTy); in matchAndRewrite()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaObjCProperty.cpp2476 QualType resultTy = property->getType().getAtomicUnqualifiedType(); in ProcessPropertyDecl() local
2481 QualType modifiedTy = resultTy; in ProcessPropertyDecl()
2484 resultTy = Context.getAttributedType(attr::TypeNonNull, in ProcessPropertyDecl()
2490 Context, Loc, Loc, property->getGetterName(), resultTy, nullptr, CD, in ProcessPropertyDecl()
H A DSemaOverload.cpp1729 QualType resultTy; in IsStandardConversion() local
1732 S.ExtractUnqualifiedFunctionType(ToType), resultTy)) in IsStandardConversion()
/llvm-project-15.0.7/flang/lib/Lower/
H A DCallInterface.cpp912 llvm::Optional<Fortran::evaluate::DynamicType> resultTy = in handleImplicitDummy() local
914 if (resultTy && mustPassLengthWithDummyProcedure(procedure)) { in handleImplicitDummy()
H A DConvertExpr.cpp4310 ExtValue lowerArrayExpression(CC f, mlir::Type resultTy) { in lowerArrayExpression() argument
4312 auto [iterSpace, insPt] = genIterSpace(resultTy); in lowerArrayExpression()
/llvm-project-15.0.7/mlir/include/mlir/IR/
H A DOpDefinition.h641 auto resultTy = this->getOperation()->getResult(0).getType(); in getType() local
642 return resultTy.template cast<ResultType>(); in getType()
/llvm-project-15.0.7/clang/lib/AST/
H A DType.cpp1303 QualType resultTy = Ctx.getObjCObjectType( in VisitObjCTypeParamType() local
1308 return Ctx.getObjCObjectPointerType(resultTy); in VisitObjCTypeParamType()
/llvm-project-15.0.7/flang/lib/Optimizer/Dialect/
H A DFIROps.cpp1226 mlir::Type resultTy = getType(); in verify() local
1227 if (auto tdesc = resultTy.dyn_cast<fir::TypeDescType>()) { in verify()
/llvm-project-15.0.7/mlir/include/mlir/Dialect/Tensor/IR/
H A DTensorOps.td443 OpBuilder<(ins "Type":$resultTy, "ValueRange":$dynamicExtents,