Home
last modified time | relevance | path

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

/external/llvm-project/mlir/unittests/IR/
DAttributeTest.cpp25 auto detectedSplat = in testSplat() local
27 EXPECT_EQ(detectedSplat, splat); in testSplat()
29 for (auto newValue : detectedSplat.template getValues<EltTy>()) in testSplat()
50 auto detectedSplat = DenseElementsAttr::get(shape, {true, true, true, true}); in TEST() local
51 EXPECT_EQ(detectedSplat, trueSplat); in TEST()
53 detectedSplat = DenseElementsAttr::get(shape, {false, false, false, false}); in TEST()
54 EXPECT_EQ(detectedSplat, falseSplat); in TEST()
74 auto detectedSplat = DenseElementsAttr::get(shape, trueValues); in TEST() local
75 EXPECT_EQ(detectedSplat, trueSplat); in TEST()
78 detectedSplat = DenseElementsAttr::get(shape, falseValues); in TEST()
[all …]
/external/llvm-project/mlir/lib/Parser/
DAttributeParser.cpp704 bool detectedSplat = false; in getHexAttr() local
705 if (!DenseElementsAttr::isValidRawBuffer(type, rawData, detectedSplat)) { in getHexAttr()
722 detectedSplat); in getHexAttr()
725 return DenseElementsAttr::getFromRawBuffer(type, rawData, detectedSplat); in getHexAttr()
/external/llvm-project/mlir/lib/IR/
DBuiltinAttributes.cpp898 bool &detectedSplat) { in isValidRawBuffer() argument
905 if ((detectedSplat = rawBuffer.size() == 1)) in isValidRawBuffer()
910 if ((detectedSplat = rawBufferWidth == storageWidth)) in isValidRawBuffer()
/external/llvm-project/mlir/include/mlir/IR/
DBuiltinAttributes.h671 bool &detectedSplat);