Home
last modified time | relevance | path

Searched refs:EltCnt (Results 1 – 3 of 3) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/unittests/CodeGen/
DScalableVectorMVTsTest.cpp51 auto EltCnt = MVT::ElementCount(2, true); in TEST() local
52 EVT Vnx2i32 = EVT::getVectorVT(Ctx, MVT::i32, EltCnt); in TEST()
64 EXPECT_EQ(EVT::getVectorVT(Ctx, MVT::i64, EltCnt * 2), MVT::nxv4i64); in TEST()
65 EXPECT_EQ(EVT::getVectorVT(Ctx, MVT::i64, EltCnt / 2), MVT::nxv1i64); in TEST()
72 EltCnt = Vnx4i32.getVectorElementCount(); in TEST()
73 EXPECT_EQ(EltCnt.Min, 4U); in TEST()
74 ASSERT_TRUE(EltCnt.Scalable); in TEST()
83 EltCnt = V8i32.getVectorElementCount(); in TEST()
84 EXPECT_EQ(EltCnt.Min, 8U); in TEST()
85 ASSERT_FALSE(EltCnt.Scalable); in TEST()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/
DValueTypes.h353 auto EltCnt = getVectorElementCount(); in getHalfNumVectorElementsVT() local
354 assert(!(EltCnt.Min & 1) && "Splitting vector, but not in half!"); in getHalfNumVectorElementsVT()
355 return EVT::getVectorVT(Context, EltVT, EltCnt / 2); in getHalfNumVectorElementsVT()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/
DLegalizeTypes.cpp877 auto EltCnt = Op.getValueType().getVectorElementCount(); in BitConvertVectorToIntegerVector() local
879 EVT::getVectorVT(*DAG.getContext(), EltNVT, EltCnt), Op); in BitConvertVectorToIntegerVector()