/external/llvm-project/mlir/lib/Dialect/Vector/ |
D | VectorTransforms.cpp | 125 rewriter.create<ConstantOp>(loc, resType, rewriter.getZeroAttr(resType)); in reshapeLoad() 1103 loc, vectorType, rewriter.getZeroAttr(vectorType)); in matchAndRewrite() 1163 rewriter.getZeroAttr(dstType)); in matchAndRewrite() 1211 rewriter.getZeroAttr(dstType)); in matchAndRewrite() 1278 rewriter.getZeroAttr(resType)); in matchAndRewrite() 1350 rewriter.getZeroAttr(resType)); in matchAndRewrite() 1424 rewriter.getZeroAttr(dstType)); in matchAndRewrite() 1466 rewriter.getZeroAttr(lowType)); in matchAndRewrite() 1468 rewriter.getZeroAttr(dstType)); in matchAndRewrite() 1501 loc, resultVectorType, rewriter.getZeroAttr(resultVectorType)); in matchAndRewrite() [all …]
|
D | VectorOps.cpp | 1959 builder.getZeroAttr(elemType)); in build()
|
/external/tensorflow/tensorflow/compiler/mlir/hlo/lib/Dialect/mhlo/transforms/ |
D | optimize_mhlo.cc | 157 gather.getLoc(), rewriter.getZeroAttr(RankedTensorType::get( in matchAndRewrite()
|
D | legalize_to_linalg.cc | 1142 auto zero_attr = rewriter.getZeroAttr(shaped_type.getElementType()); in matchAndRewrite() 1232 auto zero_attr = rewriter.getZeroAttr(shaped_type.getElementType()); in matchAndRewrite()
|
/external/llvm-project/mlir/lib/IR/ |
D | Builders.cpp | 276 Attribute Builder::getZeroAttr(Type type) { in getZeroAttr() function in Builder 285 auto element = getZeroAttr(vtType.getElementType()); in getZeroAttr()
|
D | BuiltinAttributes.cpp | 1390 return getZeroAttr(); in getValue() 1409 return getZeroAttr(); in getValue() 1428 Attribute SparseElementsAttr::getZeroAttr() const { in getZeroAttr() function in SparseElementsAttr
|
/external/llvm-project/flang/lib/Lower/ |
D | FIRBuilder.cpp | 68 attr = getZeroAttr(realType); in createRealZeroConstant()
|
D | IntrinsicCall.cpp | 1188 auto zeroAttr = builder.getZeroAttr(resultType); in genSign()
|
/external/llvm-project/mlir/lib/Dialect/Linalg/Transforms/ |
D | Loops.cpp | 315 return b.getZeroAttr(type); in getPadValueAttr() 321 return b.getZeroAttr(type); in getPadValueAttr()
|
D | Vectorization.cpp | 580 auto acc = std_constant(elemType, rewriter.getZeroAttr(elemType)); in matchAndRewrite()
|
/external/llvm-project/mlir/include/mlir/IR/ |
D | Builders.h | 106 Attribute getZeroAttr(Type type);
|
D | BuiltinAttributes.h | 1269 Attribute getZeroAttr() const; 1277 return getZeroAttr().template cast<T>();
|
/external/llvm-project/mlir/lib/Conversion/VectorToLLVM/ |
D | ConvertVectorToLLVM.cpp | 594 rewriter.getZeroAttr(eltType)); in matchAndRewrite() 950 rewriter.getZeroAttr(elemType)); in matchAndRewrite() 1534 rewriter.getZeroAttr(elemType)); in matchAndRewrite()
|
/external/tensorflow/tensorflow/compiler/mlir/lite/transforms/ |
D | optimize.cc | 369 auto attr = rewriter.getZeroAttr(type); in matchAndRewrite()
|
D | lower_static_tensor_list.cc | 473 Attribute zero_attr = rewriter.getZeroAttr(zero_type); in matchAndRewrite()
|
D | prepare_tf.cc | 365 auto bias_attr = rewriter.getZeroAttr(bias_type); in matchAndRewrite()
|
/external/tensorflow/tensorflow/compiler/mlir/tosa/transforms/ |
D | legalize_tf.cc | 827 auto bias_attr = rewriter.getZeroAttr(bias_type); in matchAndRewrite() 916 auto bias_attr = rewriter.getZeroAttr(bias_type); in matchAndRewrite()
|
D | legalize_common.cc | 430 Attribute zero_attr = rewriter.getZeroAttr(zero_type); in convertZerosLikeOp()
|
/external/tensorflow/tensorflow/compiler/mlir/hlo/lib/Dialect/mhlo/IR/ |
D | hlo_ops.cc | 341 return builder.getZeroAttr(result_ty); in fold() 1582 return builder.getZeroAttr(rType); in fold()
|
/external/llvm-project/mlir/lib/Dialect/StandardOps/IR/ |
D | Ops.cpp | 2976 return Builder(getContext()).getZeroAttr(getType()); in fold() 4339 return Builder(getContext()).getZeroAttr(getType()); in fold()
|
/external/llvm-project/mlir/lib/Dialect/SPIRV/Serialization/ |
D | Deserializer.cpp | 1737 auto attr = opBuilder.getZeroAttr(resultType); in processConstantNull()
|
/external/llvm-project/mlir/lib/Conversion/StandardToLLVM/ |
D | StandardToLLVM.cpp | 3339 rewriter.getZeroAttr(rewriter.getIntegerType(32))); in matchAndRewrite() 3386 rewriter.getZeroAttr(rewriter.getIntegerType(32))); in matchAndRewrite()
|
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/ir/ |
D | tf_ops_n_z.cc | 2370 zero_attr = rewriter.getZeroAttr(type); in matchAndRewrite()
|