Home
last modified time | relevance | path

Searched refs:getZeroAttr (Results 1 – 23 of 23) sorted by relevance

/external/llvm-project/mlir/lib/Dialect/Vector/
DVectorTransforms.cpp125 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 …]
DVectorOps.cpp1959 builder.getZeroAttr(elemType)); in build()
/external/tensorflow/tensorflow/compiler/mlir/hlo/lib/Dialect/mhlo/transforms/
Doptimize_mhlo.cc157 gather.getLoc(), rewriter.getZeroAttr(RankedTensorType::get( in matchAndRewrite()
Dlegalize_to_linalg.cc1142 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/
DBuilders.cpp276 Attribute Builder::getZeroAttr(Type type) { in getZeroAttr() function in Builder
285 auto element = getZeroAttr(vtType.getElementType()); in getZeroAttr()
DBuiltinAttributes.cpp1390 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/
DFIRBuilder.cpp68 attr = getZeroAttr(realType); in createRealZeroConstant()
DIntrinsicCall.cpp1188 auto zeroAttr = builder.getZeroAttr(resultType); in genSign()
/external/llvm-project/mlir/lib/Dialect/Linalg/Transforms/
DLoops.cpp315 return b.getZeroAttr(type); in getPadValueAttr()
321 return b.getZeroAttr(type); in getPadValueAttr()
DVectorization.cpp580 auto acc = std_constant(elemType, rewriter.getZeroAttr(elemType)); in matchAndRewrite()
/external/llvm-project/mlir/include/mlir/IR/
DBuilders.h106 Attribute getZeroAttr(Type type);
DBuiltinAttributes.h1269 Attribute getZeroAttr() const;
1277 return getZeroAttr().template cast<T>();
/external/llvm-project/mlir/lib/Conversion/VectorToLLVM/
DConvertVectorToLLVM.cpp594 rewriter.getZeroAttr(eltType)); in matchAndRewrite()
950 rewriter.getZeroAttr(elemType)); in matchAndRewrite()
1534 rewriter.getZeroAttr(elemType)); in matchAndRewrite()
/external/tensorflow/tensorflow/compiler/mlir/lite/transforms/
Doptimize.cc369 auto attr = rewriter.getZeroAttr(type); in matchAndRewrite()
Dlower_static_tensor_list.cc473 Attribute zero_attr = rewriter.getZeroAttr(zero_type); in matchAndRewrite()
Dprepare_tf.cc365 auto bias_attr = rewriter.getZeroAttr(bias_type); in matchAndRewrite()
/external/tensorflow/tensorflow/compiler/mlir/tosa/transforms/
Dlegalize_tf.cc827 auto bias_attr = rewriter.getZeroAttr(bias_type); in matchAndRewrite()
916 auto bias_attr = rewriter.getZeroAttr(bias_type); in matchAndRewrite()
Dlegalize_common.cc430 Attribute zero_attr = rewriter.getZeroAttr(zero_type); in convertZerosLikeOp()
/external/tensorflow/tensorflow/compiler/mlir/hlo/lib/Dialect/mhlo/IR/
Dhlo_ops.cc341 return builder.getZeroAttr(result_ty); in fold()
1582 return builder.getZeroAttr(rType); in fold()
/external/llvm-project/mlir/lib/Dialect/StandardOps/IR/
DOps.cpp2976 return Builder(getContext()).getZeroAttr(getType()); in fold()
4339 return Builder(getContext()).getZeroAttr(getType()); in fold()
/external/llvm-project/mlir/lib/Dialect/SPIRV/Serialization/
DDeserializer.cpp1737 auto attr = opBuilder.getZeroAttr(resultType); in processConstantNull()
/external/llvm-project/mlir/lib/Conversion/StandardToLLVM/
DStandardToLLVM.cpp3339 rewriter.getZeroAttr(rewriter.getIntegerType(32))); in matchAndRewrite()
3386 rewriter.getZeroAttr(rewriter.getIntegerType(32))); in matchAndRewrite()
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/ir/
Dtf_ops_n_z.cc2370 zero_attr = rewriter.getZeroAttr(type); in matchAndRewrite()