Home
last modified time | relevance | path

Searched refs:ToVT (Results 1 – 11 of 11) sorted by relevance

/external/llvm-project/llvm/unittests/CodeGen/
DAArch64SelectionDAGTest.cpp637 EVT ToVT = EVT::getVectorVT(Context, MVT::i64, 8, true); in TEST_F() local
640 EXPECT_EQ(getTypeToTransformTo(FromVT), ToVT); in TEST_F()
/external/llvm/include/llvm/Target/
DTargetLowering.h1665 virtual bool isTruncateFree(EVT FromVT, EVT ToVT) const { in isTruncateFree() argument
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMISelLowering.cpp13546 EVT ToVT = Trunc.getValueType(); in PerformSplittingToNarrowingStores() local
13547 if (!ToVT.isVector()) in PerformSplittingToNarrowingStores()
13549 assert(FromVT.getVectorNumElements() == ToVT.getVectorNumElements()); in PerformSplittingToNarrowingStores()
13550 EVT ToEltVT = ToVT.getVectorElementType(); in PerformSplittingToNarrowingStores()
14038 EVT ToVT = N->getValueType(0); in PerformSplittingToWideningLoad() local
14039 if (!ToVT.isVector()) in PerformSplittingToWideningLoad()
14041 assert(FromVT.getVectorNumElements() == ToVT.getVectorNumElements()); in PerformSplittingToWideningLoad()
14042 EVT ToEltVT = ToVT.getVectorElementType(); in PerformSplittingToWideningLoad()
14068 EVT NewToVT = ToVT.getHalfNumVectorElementsVT(*DAG.getContext()); in PerformSplittingToWideningLoad()
14088 return DAG.getNode(ISD::CONCAT_VECTORS, DL, ToVT, NewLoad1, NewLoad2); in PerformSplittingToWideningLoad()
/external/llvm-project/llvm/lib/Target/ARM/
DARMISelLowering.cpp14655 EVT ToVT = Trunc.getValueType(); in PerformSplittingToNarrowingStores() local
14656 if (!ToVT.isVector()) in PerformSplittingToNarrowingStores()
14658 assert(FromVT.getVectorNumElements() == ToVT.getVectorNumElements()); in PerformSplittingToNarrowingStores()
14659 EVT ToEltVT = ToVT.getVectorElementType(); in PerformSplittingToNarrowingStores()
14679 unsigned NumElts = ToVT.getVectorNumElements(); in PerformSplittingToNarrowingStores()
15542 EVT ToVT = N->getValueType(0); in PerformSplittingToWideningLoad() local
15543 if (!ToVT.isVector()) in PerformSplittingToWideningLoad()
15545 assert(FromVT.getVectorNumElements() == ToVT.getVectorNumElements()); in PerformSplittingToWideningLoad()
15546 EVT ToEltVT = ToVT.getVectorElementType(); in PerformSplittingToWideningLoad()
15611 return DAG.getNode(ISD::CONCAT_VECTORS, DL, ToVT, Loads); in PerformSplittingToWideningLoad()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DTargetLowering.h2311 virtual bool isTruncateFree(EVT FromVT, EVT ToVT) const { in isTruncateFree() argument
/external/llvm/lib/Target/SystemZ/
DSystemZISelLowering.cpp542 bool SystemZTargetLowering::isTruncateFree(EVT FromVT, EVT ToVT) const { in isTruncateFree()
543 if (!FromVT.isInteger() || !ToVT.isInteger()) in isTruncateFree()
546 unsigned ToBits = ToVT.getSizeInBits(); in isTruncateFree()
/external/llvm-project/llvm/include/llvm/CodeGen/
DTargetLowering.h2478 virtual bool isTruncateFree(EVT FromVT, EVT ToVT) const { in isTruncateFree() argument
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/
DSystemZISelLowering.cpp970 bool SystemZTargetLowering::isTruncateFree(EVT FromVT, EVT ToVT) const { in isTruncateFree()
971 if (!FromVT.isInteger() || !ToVT.isInteger()) in isTruncateFree()
974 unsigned ToBits = ToVT.getSizeInBits(); in isTruncateFree()
/external/llvm-project/llvm/lib/Target/SystemZ/
DSystemZISelLowering.cpp993 bool SystemZTargetLowering::isTruncateFree(EVT FromVT, EVT ToVT) const { in isTruncateFree()
994 if (!FromVT.isInteger() || !ToVT.isInteger()) in isTruncateFree()
997 unsigned ToBits = ToVT.getFixedSizeInBits(); in isTruncateFree()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86ISelLowering.cpp18621 static bool useVectorCast(unsigned Opcode, MVT FromVT, MVT ToVT, in useVectorCast() argument
18629 return ToVT == MVT::v4f32 || (Subtarget.hasAVX() && ToVT == MVT::v4f64); in useVectorCast()
18636 return ToVT == MVT::v4f32 || ToVT == MVT::v4f64; in useVectorCast()
18661 MVT ToVT = MVT::getVectorVT(DestVT, NumEltsInXMM); in vectorizeExtractedCast() local
18662 if (!useVectorCast(Cast.getOpcode(), Vec128VT, ToVT, Subtarget)) in vectorizeExtractedCast()
18680 SDValue VCast = DAG.getNode(Cast.getOpcode(), DL, ToVT, VecOp); in vectorizeExtractedCast()
/external/llvm-project/llvm/lib/Target/X86/
DX86ISelLowering.cpp19565 static bool useVectorCast(unsigned Opcode, MVT FromVT, MVT ToVT, in useVectorCast() argument
19573 return ToVT == MVT::v4f32 || (Subtarget.hasAVX() && ToVT == MVT::v4f64); in useVectorCast()
19580 return ToVT == MVT::v4f32 || ToVT == MVT::v4f64; in useVectorCast()
19605 MVT ToVT = MVT::getVectorVT(DestVT, NumEltsInXMM); in vectorizeExtractedCast() local
19606 if (!useVectorCast(Cast.getOpcode(), Vec128VT, ToVT, Subtarget)) in vectorizeExtractedCast()
19624 SDValue VCast = DAG.getNode(Cast.getOpcode(), DL, ToVT, VecOp); in vectorizeExtractedCast()