/external/llvm-project/mlir/lib/IR/ |
D | Types.cpp | 93 unsigned Type::getIntOrFloatBitWidth() const { in getIntOrFloatBitWidth() function in Type
|
D | BuiltinTypes.cpp | 201 return getElementType().getIntOrFloatBitWidth(); in getElementTypeBitWidth() 244 return elementType.getIntOrFloatBitWidth() * getNumElements(); in getSizeInBits() 248 return elementType.getIntOrFloatBitWidth() * getNumElements() * 2; in getSizeInBits()
|
D | AttributeDetail.h | 215 return APInt(getType().getIntOrFloatBitWidth(), in getValue() 358 return eltType.getIntOrFloatBitWidth(); in getDenseElementBitWidth()
|
D | Builders.cpp | 171 type, APInt(type.getIntOrFloatBitWidth(), value, type.isSignedInteger())); in getIntegerAttr()
|
/external/tensorflow/tensorflow/compiler/mlir/hlo/lib/utils/ |
D | convert_op_folder.cc | 30 size_t bit_width = new_type.isBF16() ? 64 : new_type.getIntOrFloatBitWidth(); in ConvertElementsAttr()
|
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/transforms/ |
D | constant_fold.cc | 58 tensor_type.getElementType().getIntOrFloatBitWidth(); in ShouldBeFolded()
|
D | tpu_variable_runtime_reformatting.cc | 196 if (data_type.getIntOrFloatBitWidth() == 64) continue; in AnnotateCompileOpAndGetExecuteArgToWhileArgsMapping()
|
D | tensor_list_ops_decomposition.cc | 766 elem_shape.shape_type().getIntOrFloatBitWidth()); in HandleTensorListElementShapeOp()
|
/external/llvm-project/mlir/lib/Dialect/SPIRV/ |
D | LayoutUtils.cpp | 152 auto bitWidth = scalarType.getIntOrFloatBitWidth(); in getScalarTypeAlignment()
|
D | SPIRVTypes.cpp | 595 if (getIntOrFloatBitWidth() == 8) { in getExtensions() 603 if (getIntOrFloatBitWidth() == 16) { in getExtensions() 617 unsigned bitwidth = getIntOrFloatBitWidth(); in getCapabilities() 699 auto bitWidth = getIntOrFloatBitWidth(); in getSizeInBytes()
|
D | SPIRVLowering.cpp | 162 auto bitWidth = t.getIntOrFloatBitWidth(); in getTypeNumBytes()
|
D | SPIRVOps.cpp | 332 auto operandTypeBitWidth = operandType.getIntOrFloatBitWidth(); in verifyCastOp() 333 auto resultTypeBitWidth = resultType.getIntOrFloatBitWidth(); in verifyCastOp() 564 return type.getIntOrFloatBitWidth(); in getBitWidth() 569 vectorType.getElementType().getIntOrFloatBitWidth(); in getBitWidth()
|
/external/llvm-project/mlir/include/mlir/IR/ |
D | Types.h | 137 unsigned getIntOrFloatBitWidth() const;
|
/external/llvm-project/mlir/lib/Conversion/StandardToSPIRV/ |
D | ConvertStandardToSPIRV.cpp | 844 int srcBits = memrefType.getElementType().getIntOrFloatBitWidth(); in matchAndRewrite() 852 int dstBits = dstType.getIntOrFloatBitWidth(); in matchAndRewrite() 964 int srcBits = memrefType.getElementType().getIntOrFloatBitWidth(); in matchAndRewrite() 972 int dstBits = dstType.getIntOrFloatBitWidth(); in matchAndRewrite()
|
/external/tensorflow/tensorflow/compiler/mlir/hlo/lib/Dialect/mhlo/transforms/ |
D | legalize_to_standard.cc | 130 bitwidth = int_or_float_ty.getIntOrFloatBitWidth(); in matchAndRewrite()
|
/external/llvm-project/mlir/lib/Dialect/Quant/IR/ |
D | QuantTypes.cpp | 77 return static_cast<ImplType *>(impl)->storageType.getIntOrFloatBitWidth(); in getStorageTypeIntegralWidth()
|
/external/llvm-project/mlir/lib/Dialect/Linalg/Transforms/ |
D | Promotion.cpp | 75 auto width = llvm::divideCeil(elementType.getIntOrFloatBitWidth(), 8); in allocBuffer()
|
/external/llvm-project/mlir/lib/Dialect/LLVMIR/IR/ |
D | LLVMTypeSyntax.cpp | 435 loc, maybeIntegerType.getIntOrFloatBitWidth()); in parseTypeImpl()
|
/external/tensorflow/tensorflow/compiler/mlir/xla/transforms/ |
D | legalize_tf_patterns.td | 652 "getElementTypeOrSelf($0.getType()).getIntOrFloatBitWidth() == " 653 "getElementTypeOrSelf($1.getType()).getIntOrFloatBitWidth()">,
|
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/ir/ |
D | tf_ops_n_z.cc | 908 getType().cast<ShapedType>().getElementType().getIntOrFloatBitWidth(); in fold() 959 int width = getElementTypeOrSelf(op.getType(0)).getIntOrFloatBitWidth(); in matchAndRewrite() 2195 getType().cast<ShapedType>().getElementType().getIntOrFloatBitWidth(); in fold() 2824 getType().cast<ShapedType>().getElementType().getIntOrFloatBitWidth(); in fold()
|
/external/llvm-project/mlir/lib/Parser/ |
D | AttributeParser.cpp | 336 : type.getIntOrFloatBitWidth(); in buildAttributeAPInt()
|
/external/tensorflow/tensorflow/compiler/mlir/xla/ |
D | hlo_utils.cc | 207 int width = type.getIntOrFloatBitWidth(); in GetElementTypeBytes()
|
/external/llvm-project/mlir/lib/Conversion/SPIRVToLLVM/ |
D | ConvertSPIRVToLLVM.cpp | 59 return type.getIntOrFloatBitWidth(); in getBitWidth() 64 return elementType.getIntOrFloatBitWidth(); in getBitWidth()
|
/external/llvm-project/mlir/lib/Dialect/GPU/IR/ |
D | GPUDialect.cpp | 188 if (!type.isSignlessIntOrFloat() || type.getIntOrFloatBitWidth() != 32) { in verifyShuffleOp()
|
/external/llvm-project/mlir/lib/Analysis/ |
D | Utils.cpp | 394 sizeInBits = elementType.getIntOrFloatBitWidth(); in getMemRefEltSizeInBytes()
|