/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/mlir/lib/CAPI/IR/ |
H A D | BuiltinAttributes.cpp | 485 return wrap(unwrap(attr).cast<DenseElementsAttr>().getSplatValue()); in mlirDenseElementsAttrGetSplatValue() 488 return unwrap(attr).cast<DenseElementsAttr>().getSplatValue<bool>(); in mlirDenseElementsAttrGetBoolSplatValue() 491 return unwrap(attr).cast<DenseElementsAttr>().getSplatValue<int8_t>(); in mlirDenseElementsAttrGetInt8SplatValue() 494 return unwrap(attr).cast<DenseElementsAttr>().getSplatValue<uint8_t>(); in mlirDenseElementsAttrGetUInt8SplatValue() 497 return unwrap(attr).cast<DenseElementsAttr>().getSplatValue<int32_t>(); in mlirDenseElementsAttrGetInt32SplatValue() 500 return unwrap(attr).cast<DenseElementsAttr>().getSplatValue<uint32_t>(); in mlirDenseElementsAttrGetUInt32SplatValue() 503 return unwrap(attr).cast<DenseElementsAttr>().getSplatValue<int64_t>(); in mlirDenseElementsAttrGetInt64SplatValue() 506 return unwrap(attr).cast<DenseElementsAttr>().getSplatValue<uint64_t>(); in mlirDenseElementsAttrGetUInt64SplatValue() 509 return unwrap(attr).cast<DenseElementsAttr>().getSplatValue<float>(); in mlirDenseElementsAttrGetFloatSplatValue() 512 return unwrap(attr).cast<DenseElementsAttr>().getSplatValue<double>(); in mlirDenseElementsAttrGetDoubleSplatValue() [all …]
|
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/mlir/lib/CAPI/IR/ |
H A D | BuiltinAttributes.cpp | 469 return wrap(unwrap(attr).cast<DenseElementsAttr>().getSplatValue()); in mlirDenseElementsAttrGetSplatValue() 472 return unwrap(attr).cast<DenseElementsAttr>().getSplatValue<bool>(); in mlirDenseElementsAttrGetBoolSplatValue() 475 return unwrap(attr).cast<DenseElementsAttr>().getSplatValue<int8_t>(); in mlirDenseElementsAttrGetInt8SplatValue() 478 return unwrap(attr).cast<DenseElementsAttr>().getSplatValue<uint8_t>(); in mlirDenseElementsAttrGetUInt8SplatValue() 481 return unwrap(attr).cast<DenseElementsAttr>().getSplatValue<int32_t>(); in mlirDenseElementsAttrGetInt32SplatValue() 484 return unwrap(attr).cast<DenseElementsAttr>().getSplatValue<uint32_t>(); in mlirDenseElementsAttrGetUInt32SplatValue() 487 return unwrap(attr).cast<DenseElementsAttr>().getSplatValue<int64_t>(); in mlirDenseElementsAttrGetInt64SplatValue() 490 return unwrap(attr).cast<DenseElementsAttr>().getSplatValue<uint64_t>(); in mlirDenseElementsAttrGetUInt64SplatValue() 493 return unwrap(attr).cast<DenseElementsAttr>().getSplatValue<float>(); in mlirDenseElementsAttrGetFloatSplatValue() 496 return unwrap(attr).cast<DenseElementsAttr>().getSplatValue<double>(); in mlirDenseElementsAttrGetDoubleSplatValue() [all …]
|
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/mlir/lib/CAPI/IR/ |
H A D | BuiltinAttributes.cpp | 469 return wrap(unwrap(attr).cast<DenseElementsAttr>().getSplatValue()); in mlirDenseElementsAttrGetSplatValue() 472 return unwrap(attr).cast<DenseElementsAttr>().getSplatValue<bool>(); in mlirDenseElementsAttrGetBoolSplatValue() 475 return unwrap(attr).cast<DenseElementsAttr>().getSplatValue<int8_t>(); in mlirDenseElementsAttrGetInt8SplatValue() 478 return unwrap(attr).cast<DenseElementsAttr>().getSplatValue<uint8_t>(); in mlirDenseElementsAttrGetUInt8SplatValue() 481 return unwrap(attr).cast<DenseElementsAttr>().getSplatValue<int32_t>(); in mlirDenseElementsAttrGetInt32SplatValue() 484 return unwrap(attr).cast<DenseElementsAttr>().getSplatValue<uint32_t>(); in mlirDenseElementsAttrGetUInt32SplatValue() 487 return unwrap(attr).cast<DenseElementsAttr>().getSplatValue<int64_t>(); in mlirDenseElementsAttrGetInt64SplatValue() 490 return unwrap(attr).cast<DenseElementsAttr>().getSplatValue<uint64_t>(); in mlirDenseElementsAttrGetUInt64SplatValue() 493 return unwrap(attr).cast<DenseElementsAttr>().getSplatValue<float>(); in mlirDenseElementsAttrGetFloatSplatValue() 496 return unwrap(attr).cast<DenseElementsAttr>().getSplatValue<double>(); in mlirDenseElementsAttrGetDoubleSplatValue() [all …]
|
/dports/devel/llvm13/llvm-project-13.0.1.src/mlir/lib/CAPI/IR/ |
H A D | BuiltinAttributes.cpp | 469 return wrap(unwrap(attr).cast<DenseElementsAttr>().getSplatValue()); 472 return unwrap(attr).cast<DenseElementsAttr>().getSplatValue<bool>(); 475 return unwrap(attr).cast<DenseElementsAttr>().getSplatValue<int8_t>(); 478 return unwrap(attr).cast<DenseElementsAttr>().getSplatValue<uint8_t>(); 481 return unwrap(attr).cast<DenseElementsAttr>().getSplatValue<int32_t>(); 484 return unwrap(attr).cast<DenseElementsAttr>().getSplatValue<uint32_t>(); 487 return unwrap(attr).cast<DenseElementsAttr>().getSplatValue<int64_t>(); 490 return unwrap(attr).cast<DenseElementsAttr>().getSplatValue<uint64_t>(); 493 return unwrap(attr).cast<DenseElementsAttr>().getSplatValue<float>(); 496 return unwrap(attr).cast<DenseElementsAttr>().getSplatValue<double>(); [all …]
|
/dports/devel/llvm12/llvm-project-12.0.1.src/mlir/lib/CAPI/IR/ |
H A D | BuiltinAttributes.cpp | 448 return wrap(unwrap(attr).cast<DenseElementsAttr>().getSplatValue()); in mlirDenseElementsAttrGetSplatValue() 451 return unwrap(attr).cast<DenseElementsAttr>().getSplatValue<bool>(); in mlirDenseElementsAttrGetBoolSplatValue() 454 return unwrap(attr).cast<DenseElementsAttr>().getSplatValue<int32_t>(); in mlirDenseElementsAttrGetInt32SplatValue() 457 return unwrap(attr).cast<DenseElementsAttr>().getSplatValue<uint32_t>(); in mlirDenseElementsAttrGetUInt32SplatValue() 460 return unwrap(attr).cast<DenseElementsAttr>().getSplatValue<int64_t>(); in mlirDenseElementsAttrGetInt64SplatValue() 463 return unwrap(attr).cast<DenseElementsAttr>().getSplatValue<uint64_t>(); in mlirDenseElementsAttrGetUInt64SplatValue() 466 return unwrap(attr).cast<DenseElementsAttr>().getSplatValue<float>(); in mlirDenseElementsAttrGetFloatSplatValue() 469 return unwrap(attr).cast<DenseElementsAttr>().getSplatValue<double>(); in mlirDenseElementsAttrGetDoubleSplatValue() 473 unwrap(attr).cast<DenseElementsAttr>().getSplatValue<StringRef>()); in mlirDenseElementsAttrGetStringSplatValue()
|
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/mlir/lib/CAPI/IR/ |
H A D | BuiltinAttributes.cpp | 448 return wrap(unwrap(attr).cast<DenseElementsAttr>().getSplatValue()); in mlirDenseElementsAttrGetSplatValue() 451 return unwrap(attr).cast<DenseElementsAttr>().getSplatValue<bool>(); in mlirDenseElementsAttrGetBoolSplatValue() 454 return unwrap(attr).cast<DenseElementsAttr>().getSplatValue<int32_t>(); in mlirDenseElementsAttrGetInt32SplatValue() 457 return unwrap(attr).cast<DenseElementsAttr>().getSplatValue<uint32_t>(); in mlirDenseElementsAttrGetUInt32SplatValue() 460 return unwrap(attr).cast<DenseElementsAttr>().getSplatValue<int64_t>(); in mlirDenseElementsAttrGetInt64SplatValue() 463 return unwrap(attr).cast<DenseElementsAttr>().getSplatValue<uint64_t>(); in mlirDenseElementsAttrGetUInt64SplatValue() 466 return unwrap(attr).cast<DenseElementsAttr>().getSplatValue<float>(); in mlirDenseElementsAttrGetFloatSplatValue() 469 return unwrap(attr).cast<DenseElementsAttr>().getSplatValue<double>(); in mlirDenseElementsAttrGetDoubleSplatValue() 473 unwrap(attr).cast<DenseElementsAttr>().getSplatValue<StringRef>()); in mlirDenseElementsAttrGetStringSplatValue()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/mlir/lib/CAPI/IR/ |
H A D | StandardAttributes.cpp | 451 return wrap(unwrap(attr).cast<DenseElementsAttr>().getSplatValue()); in mlirDenseElementsAttrGetSplatValue() 454 return unwrap(attr).cast<DenseElementsAttr>().getSplatValue<bool>(); in mlirDenseElementsAttrGetBoolSplatValue() 457 return unwrap(attr).cast<DenseElementsAttr>().getSplatValue<int32_t>(); in mlirDenseElementsAttrGetInt32SplatValue() 460 return unwrap(attr).cast<DenseElementsAttr>().getSplatValue<uint32_t>(); in mlirDenseElementsAttrGetUInt32SplatValue() 463 return unwrap(attr).cast<DenseElementsAttr>().getSplatValue<int64_t>(); in mlirDenseElementsAttrGetInt64SplatValue() 466 return unwrap(attr).cast<DenseElementsAttr>().getSplatValue<uint64_t>(); in mlirDenseElementsAttrGetUInt64SplatValue() 469 return unwrap(attr).cast<DenseElementsAttr>().getSplatValue<float>(); in mlirDenseElementsAttrGetFloatSplatValue() 472 return unwrap(attr).cast<DenseElementsAttr>().getSplatValue<double>(); in mlirDenseElementsAttrGetDoubleSplatValue() 476 unwrap(attr).cast<DenseElementsAttr>().getSplatValue<StringRef>()); in mlirDenseElementsAttrGetStringSplatValue()
|
/dports/devel/llvm90/llvm-9.0.1.src/unittests/Analysis/ |
H A D | VectorUtilsTest.cpp | 258 EXPECT_EQ(getSplatValue(A)->getName(), "x"); in TEST_F() 268 EXPECT_EQ(getSplatValue(A), nullptr); in TEST_F() 280 EXPECT_EQ(getSplatValue(A), nullptr); in TEST_F()
|
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/mlir/include/mlir/Dialect/ |
H A D | CommonFolders.h | 51 auto elementResult = calculate(lhs.getSplatValue<ElementValueT>(), in constFoldBinaryOp() 52 rhs.getSplatValue<ElementValueT>()); in constFoldBinaryOp()
|
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/mlir/include/mlir/Dialect/ |
H A D | CommonFolders.h | 51 auto elementResult = calculate(lhs.getSplatValue<ElementValueT>(), in constFoldBinaryOp() 52 rhs.getSplatValue<ElementValueT>()); in constFoldBinaryOp()
|
/dports/devel/llvm12/llvm-project-12.0.1.src/mlir/include/mlir/Dialect/ |
H A D | CommonFolders.h | 51 auto elementResult = calculate(lhs.getSplatValue<ElementValueT>(), in constFoldBinaryOp() 52 rhs.getSplatValue<ElementValueT>()); in constFoldBinaryOp()
|
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/mlir/include/mlir/Dialect/ |
H A D | CommonFolders.h | 51 auto elementResult = calculate(lhs.getSplatValue<ElementValueT>(), in constFoldBinaryOp() 52 rhs.getSplatValue<ElementValueT>()); in constFoldBinaryOp()
|
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/mlir/include/mlir/Dialect/ |
H A D | CommonFolders.h | 51 auto elementResult = calculate(lhs.getSplatValue<ElementValueT>(), in constFoldBinaryOp() 52 rhs.getSplatValue<ElementValueT>()); in constFoldBinaryOp()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/mlir/include/mlir/Dialect/ |
H A D | CommonFolders.h | 51 auto elementResult = calculate(lhs.getSplatValue<ElementValueT>(), in constFoldBinaryOp() 52 rhs.getSplatValue<ElementValueT>()); in constFoldBinaryOp()
|
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/mlir/include/mlir/Dialect/ |
H A D | CommonFolders.h | 51 auto elementResult = calculate(lhs.getSplatValue<ElementValueT>(), in constFoldBinaryOp() 52 rhs.getSplatValue<ElementValueT>()); in constFoldBinaryOp()
|
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/mlir/include/mlir/Dialect/ |
H A D | CommonFolders.h | 51 auto elementResult = calculate(lhs.getSplatValue<ElementValueT>(), in constFoldBinaryOp() 52 rhs.getSplatValue<ElementValueT>()); in constFoldBinaryOp()
|
/dports/devel/llvm13/llvm-project-13.0.1.src/mlir/include/mlir/Dialect/ |
H A D | CommonFolders.h | 51 auto elementResult = calculate(lhs.getSplatValue<ElementValueT>(), in constFoldBinaryOp() 52 rhs.getSplatValue<ElementValueT>()); in constFoldBinaryOp()
|
/dports/devel/llvm10/llvm-10.0.1.src/unittests/IR/ |
H A D | InstructionsTest.cpp | 1014 EXPECT_EQ(Splat0->getSplatValue(), C0); in TEST() 1015 EXPECT_EQ(Splat1->getSplatValue(), C1); in TEST() 1016 EXPECT_EQ(Splat0Undef->getSplatValue(), nullptr); in TEST() 1017 EXPECT_EQ(Splat1Undef->getSplatValue(), nullptr); in TEST() 1018 EXPECT_EQ(NotSplat->getSplatValue(), nullptr); in TEST() 1022 EXPECT_EQ(Splat0->getSplatValue(false), C0); in TEST() 1023 EXPECT_EQ(Splat1->getSplatValue(false), C1); in TEST() 1030 EXPECT_EQ(Splat0->getSplatValue(true), C0); in TEST() 1031 EXPECT_EQ(Splat1->getSplatValue(true), C1); in TEST() 1032 EXPECT_EQ(Splat0Undef->getSplatValue(true), C0); in TEST() [all …]
|
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/llvm/unittests/IR/ |
H A D | InstructionsTest.cpp | 1014 EXPECT_EQ(Splat0->getSplatValue(), C0); in TEST() 1015 EXPECT_EQ(Splat1->getSplatValue(), C1); in TEST() 1016 EXPECT_EQ(Splat0Undef->getSplatValue(), nullptr); in TEST() 1017 EXPECT_EQ(Splat1Undef->getSplatValue(), nullptr); in TEST() 1018 EXPECT_EQ(NotSplat->getSplatValue(), nullptr); in TEST() 1022 EXPECT_EQ(Splat0->getSplatValue(false), C0); in TEST() 1023 EXPECT_EQ(Splat1->getSplatValue(false), C1); in TEST() 1030 EXPECT_EQ(Splat0->getSplatValue(true), C0); in TEST() 1031 EXPECT_EQ(Splat1->getSplatValue(true), C1); in TEST() 1032 EXPECT_EQ(Splat0Undef->getSplatValue(true), C0); in TEST() [all …]
|
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/llvm/unittests/IR/ |
H A D | InstructionsTest.cpp | 1093 EXPECT_EQ(Splat0->getSplatValue(), C0); in TEST() 1094 EXPECT_EQ(Splat1->getSplatValue(), C1); in TEST() 1095 EXPECT_EQ(Splat0Undef->getSplatValue(), nullptr); in TEST() 1096 EXPECT_EQ(Splat1Undef->getSplatValue(), nullptr); in TEST() 1097 EXPECT_EQ(NotSplat->getSplatValue(), nullptr); in TEST() 1101 EXPECT_EQ(Splat0->getSplatValue(false), C0); in TEST() 1102 EXPECT_EQ(Splat1->getSplatValue(false), C1); in TEST() 1109 EXPECT_EQ(Splat0->getSplatValue(true), C0); in TEST() 1110 EXPECT_EQ(Splat1->getSplatValue(true), C1); in TEST() 1111 EXPECT_EQ(Splat0Undef->getSplatValue(true), C0); in TEST() [all …]
|
/dports/devel/llvm11/llvm-11.0.1.src/unittests/IR/ |
H A D | InstructionsTest.cpp | 1093 EXPECT_EQ(Splat0->getSplatValue(), C0); in TEST() 1094 EXPECT_EQ(Splat1->getSplatValue(), C1); in TEST() 1095 EXPECT_EQ(Splat0Undef->getSplatValue(), nullptr); in TEST() 1096 EXPECT_EQ(Splat1Undef->getSplatValue(), nullptr); in TEST() 1097 EXPECT_EQ(NotSplat->getSplatValue(), nullptr); in TEST() 1101 EXPECT_EQ(Splat0->getSplatValue(false), C0); in TEST() 1102 EXPECT_EQ(Splat1->getSplatValue(false), C1); in TEST() 1109 EXPECT_EQ(Splat0->getSplatValue(true), C0); in TEST() 1110 EXPECT_EQ(Splat1->getSplatValue(true), C1); in TEST() 1111 EXPECT_EQ(Splat0Undef->getSplatValue(true), C0); in TEST() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/llvm/unittests/IR/ |
H A D | InstructionsTest.cpp | 1094 EXPECT_EQ(Splat0->getSplatValue(), C0); in TEST() 1095 EXPECT_EQ(Splat1->getSplatValue(), C1); in TEST() 1096 EXPECT_EQ(Splat0Undef->getSplatValue(), nullptr); in TEST() 1097 EXPECT_EQ(Splat1Undef->getSplatValue(), nullptr); in TEST() 1098 EXPECT_EQ(NotSplat->getSplatValue(), nullptr); in TEST() 1102 EXPECT_EQ(Splat0->getSplatValue(false), C0); in TEST() 1103 EXPECT_EQ(Splat1->getSplatValue(false), C1); in TEST() 1110 EXPECT_EQ(Splat0->getSplatValue(true), C0); in TEST() 1111 EXPECT_EQ(Splat1->getSplatValue(true), C1); in TEST() 1112 EXPECT_EQ(Splat0Undef->getSplatValue(true), C0); in TEST() [all …]
|
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/llvm/unittests/IR/ |
H A D | InstructionsTest.cpp | 1134 EXPECT_EQ(Splat0->getSplatValue(), C0); in TEST() 1135 EXPECT_EQ(Splat1->getSplatValue(), C1); in TEST() 1136 EXPECT_EQ(Splat0Undef->getSplatValue(), nullptr); in TEST() 1137 EXPECT_EQ(Splat1Undef->getSplatValue(), nullptr); in TEST() 1138 EXPECT_EQ(NotSplat->getSplatValue(), nullptr); in TEST() 1142 EXPECT_EQ(Splat0->getSplatValue(false), C0); in TEST() 1143 EXPECT_EQ(Splat1->getSplatValue(false), C1); in TEST() 1150 EXPECT_EQ(Splat0->getSplatValue(true), C0); in TEST() 1151 EXPECT_EQ(Splat1->getSplatValue(true), C1); in TEST() 1152 EXPECT_EQ(Splat0Undef->getSplatValue(true), C0); in TEST() [all …]
|
/dports/devel/llvm12/llvm-project-12.0.1.src/llvm/unittests/IR/ |
H A D | InstructionsTest.cpp | 1135 EXPECT_EQ(Splat0->getSplatValue(), C0); in TEST() 1136 EXPECT_EQ(Splat1->getSplatValue(), C1); in TEST() 1137 EXPECT_EQ(Splat0Undef->getSplatValue(), nullptr); in TEST() 1138 EXPECT_EQ(Splat1Undef->getSplatValue(), nullptr); in TEST() 1139 EXPECT_EQ(NotSplat->getSplatValue(), nullptr); in TEST() 1143 EXPECT_EQ(Splat0->getSplatValue(false), C0); in TEST() 1144 EXPECT_EQ(Splat1->getSplatValue(false), C1); in TEST() 1151 EXPECT_EQ(Splat0->getSplatValue(true), C0); in TEST() 1152 EXPECT_EQ(Splat1->getSplatValue(true), C1); in TEST() 1153 EXPECT_EQ(Splat0Undef->getSplatValue(true), C0); in TEST() [all …]
|
/dports/lang/rust/rustc-1.58.1-src/src/llvm-project/llvm/unittests/IR/ |
H A D | InstructionsTest.cpp | 1135 EXPECT_EQ(Splat0->getSplatValue(), C0); in TEST() 1136 EXPECT_EQ(Splat1->getSplatValue(), C1); in TEST() 1137 EXPECT_EQ(Splat0Undef->getSplatValue(), nullptr); in TEST() 1138 EXPECT_EQ(Splat1Undef->getSplatValue(), nullptr); in TEST() 1139 EXPECT_EQ(NotSplat->getSplatValue(), nullptr); in TEST() 1143 EXPECT_EQ(Splat0->getSplatValue(false), C0); in TEST() 1144 EXPECT_EQ(Splat1->getSplatValue(false), C1); in TEST() 1151 EXPECT_EQ(Splat0->getSplatValue(true), C0); in TEST() 1152 EXPECT_EQ(Splat1->getSplatValue(true), C1); in TEST() 1153 EXPECT_EQ(Splat0Undef->getSplatValue(true), C0); in TEST() [all …]
|