MLIR 23.0.0git
BuiltinTypeInterfaces.h File Reference
#include "mlir/IR/OpAsmSupport.h"
#include "mlir/IR/Types.h"
#include "mlir/IR/BuiltinTypeInterfaces.h.inc"
#include "mlir/IR/OpAsmTypeInterface.h.inc"

Go to the source code of this file.

Namespaces

namespace  llvm
 The OpAsmOpInterface, see OpAsmInterface.td for more details.
namespace  mlir
 Include the generated interface declarations.
namespace  mlir::detail
 AttrTypeReplacer.

Functions

size_t mlir::detail::getFloatTypeDenseElementBitSize (Type type)
 Float type implementation of DenseElementTypeInterface::getDenseElementBitSize.
Attribute mlir::detail::convertFloatTypeToAttribute (Type type, llvm::ArrayRef< char > rawData)
 Float type implementation of DenseElementTypeInterface::convertToAttribute.
LogicalResult mlir::detail::convertFloatTypeFromAttribute (Type type, Attribute attr, llvm::SmallVectorImpl< char > &result)
 Float type implementation of DenseElementTypeInterface::convertFromAttribute.
llvm::APInt mlir::detail::readBits (const char *rawData, size_t bitPos, size_t bitWidth)
 Read bitWidth bits from byte-aligned position in rawData and return as an APInt.
void mlir::detail::writeBits (char *rawData, size_t bitPos, llvm::APInt value)
 Write value to byte-aligned position bitPos in rawData.