Home
last modified time | relevance | path

Searched refs:rawBuffer (Results 1 – 4 of 4) sorted by relevance

/llvm-project-15.0.7/mlir/lib/IR/
H A DBuiltinAttributes.cpp1097 DenseElementsAttr::getFromRawBuffer(ShapedType type, ArrayRef<char> rawBuffer) { in getFromRawBuffer() argument
1098 return DenseIntOrFPElementsAttr::getRaw(type, rawBuffer); in getFromRawBuffer()
1103 ArrayRef<char> rawBuffer, in isValidRawBuffer() argument
1106 size_t rawBufferWidth = rawBuffer.size() * CHAR_BIT; in isValidRawBuffer()
1116 if (rawBuffer.size() == 1) { in isValidRawBuffer()
1117 auto rawByte = static_cast<uint8_t>(rawBuffer[0]); in isValidRawBuffer()
/llvm-project-15.0.7/mlir/lib/CAPI/IR/
H A DBuiltinAttributes.cpp345 const void *rawBuffer) { in mlirDenseElementsAttrRawBufferGet() argument
347 ArrayRef<char> rawBufferCpp(static_cast<const char *>(rawBuffer), in mlirDenseElementsAttrRawBufferGet()
/llvm-project-15.0.7/mlir/include/mlir-c/
H A DBuiltinAttributes.h332 MlirType shapedType, size_t rawBufferSize, const void *rawBuffer);
/llvm-project-15.0.7/mlir/include/mlir/IR/
H A DBuiltinAttributes.h199 ArrayRef<char> rawBuffer);
210 static bool isValidRawBuffer(ShapedType type, ArrayRef<char> rawBuffer,