/external/llvm/lib/Target/X86/ |
D | X86ISelLowering.cpp | 24752 unsigned &Shuffle, MVT &ShuffleVT) { in matchUnaryVectorShuffle() argument 24760 ShuffleVT = MVT::v2i64; in matchUnaryVectorShuffle() 24770 ShuffleVT = MVT::v2f64; in matchUnaryVectorShuffle() 24775 ShuffleVT = MVT::v4f32; in matchUnaryVectorShuffle() 24780 ShuffleVT = MVT::v4f32; in matchUnaryVectorShuffle() 24789 ShuffleVT = MVT::v4f64; in matchUnaryVectorShuffle() 24794 ShuffleVT = MVT::v8f32; in matchUnaryVectorShuffle() 24799 ShuffleVT = MVT::v8f32; in matchUnaryVectorShuffle() 24809 ShuffleVT = MVT::v8f64; in matchUnaryVectorShuffle() 24815 ShuffleVT = MVT::v16f32; in matchUnaryVectorShuffle() [all …]
|
/external/llvm-project/llvm/lib/Target/X86/ |
D | X86ISelLowering.cpp | 9836 MVT ShuffleVT = VT; in createVariablePermute() local 9907 ShuffleVT = MVT::v16i8; in createVariablePermute() 9914 ShuffleVT = MVT::v4f32; in createVariablePermute() 9917 ShuffleVT = MVT::v16i8; in createVariablePermute() 9926 ShuffleVT = MVT::v2f64; in createVariablePermute() 10062 assert((VT.getSizeInBits() == ShuffleVT.getSizeInBits()) && in createVariablePermute() 10063 (VT.getScalarSizeInBits() % ShuffleVT.getScalarSizeInBits()) == 0 && in createVariablePermute() 10066 uint64_t Scale = VT.getScalarSizeInBits() / ShuffleVT.getScalarSizeInBits(); in createVariablePermute() 10070 EVT ShuffleIdxVT = EVT(ShuffleVT).changeVectorElementTypeToInteger(); in createVariablePermute() 10073 SrcVec = DAG.getBitcast(ShuffleVT, SrcVec); in createVariablePermute() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/ |
D | X86ISelLowering.cpp | 9552 MVT ShuffleVT = VT; in createVariablePermute() local 9621 ShuffleVT = MVT::v16i8; in createVariablePermute() 9628 ShuffleVT = MVT::v4f32; in createVariablePermute() 9631 ShuffleVT = MVT::v16i8; in createVariablePermute() 9640 ShuffleVT = MVT::v2f64; in createVariablePermute() 9776 assert((VT.getSizeInBits() == ShuffleVT.getSizeInBits()) && in createVariablePermute() 9777 (VT.getScalarSizeInBits() % ShuffleVT.getScalarSizeInBits()) == 0 && in createVariablePermute() 9780 uint64_t Scale = VT.getScalarSizeInBits() / ShuffleVT.getScalarSizeInBits(); in createVariablePermute() 9784 EVT ShuffleIdxVT = EVT(ShuffleVT).changeVectorElementTypeToInteger(); in createVariablePermute() 9787 SrcVec = DAG.getBitcast(ShuffleVT, SrcVec); in createVariablePermute() [all …]
|
/external/llvm/lib/Target/AArch64/ |
D | AArch64ISelLowering.cpp | 4998 EVT ShuffleVT = EVT::getVectorVT(*DAG.getContext(), SmallestEltTy, NumElts); in ReconstructShuffle() local 5067 assert(ShuffleVT.getVectorElementType() == SmallestEltTy); in ReconstructShuffle() 5068 Src.ShuffleVec = DAG.getNode(ISD::BITCAST, dl, ShuffleVT, Src.ShuffleVec); in ReconstructShuffle() 5076 assert(Src.ShuffleVec.getValueType() == ShuffleVT); in ReconstructShuffle() 5080 SmallVector<int, 8> Mask(ShuffleVT.getVectorNumElements(), -1); in ReconstructShuffle() 5081 int BitsPerShuffleLane = ShuffleVT.getVectorElementType().getSizeInBits(); in ReconstructShuffle() 5109 if (!isShuffleMaskLegal(Mask, ShuffleVT)) in ReconstructShuffle() 5112 SDValue ShuffleOps[] = { DAG.getUNDEF(ShuffleVT), DAG.getUNDEF(ShuffleVT) }; in ReconstructShuffle() 5116 SDValue Shuffle = DAG.getVectorShuffle(ShuffleVT, dl, ShuffleOps[0], in ReconstructShuffle()
|
/external/llvm/lib/Target/ARM/ |
D | ARMISelLowering.cpp | 5929 EVT ShuffleVT = EVT::getVectorVT(*DAG.getContext(), SmallestEltTy, NumElts); in ReconstructShuffle() local 5999 assert(ShuffleVT.getVectorElementType() == SmallestEltTy); in ReconstructShuffle() 6000 Src.ShuffleVec = DAG.getNode(ISD::BITCAST, dl, ShuffleVT, Src.ShuffleVec); in ReconstructShuffle() 6008 assert(Src.ShuffleVec.getValueType() == ShuffleVT); in ReconstructShuffle() 6012 SmallVector<int, 8> Mask(ShuffleVT.getVectorNumElements(), -1); in ReconstructShuffle() 6013 int BitsPerShuffleLane = ShuffleVT.getVectorElementType().getSizeInBits(); in ReconstructShuffle() 6041 if (!isShuffleMaskLegal(Mask, ShuffleVT)) in ReconstructShuffle() 6048 SDValue ShuffleOps[] = { DAG.getUNDEF(ShuffleVT), DAG.getUNDEF(ShuffleVT) }; in ReconstructShuffle() 6052 SDValue Shuffle = DAG.getVectorShuffle(ShuffleVT, dl, ShuffleOps[0], in ReconstructShuffle()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/ |
D | AArch64ISelLowering.cpp | 6616 EVT ShuffleVT = EVT::getVectorVT(*DAG.getContext(), SmallestEltTy, NumElts); in ReconstructShuffle() local 6686 assert(ShuffleVT.getVectorElementType() == SmallestEltTy); in ReconstructShuffle() 6687 Src.ShuffleVec = DAG.getNode(ISD::BITCAST, dl, ShuffleVT, Src.ShuffleVec); in ReconstructShuffle() 6695 assert(Src.ShuffleVec.getValueType() == ShuffleVT);); in ReconstructShuffle() 6698 SmallVector<int, 8> Mask(ShuffleVT.getVectorNumElements(), -1); in ReconstructShuffle() 6699 int BitsPerShuffleLane = ShuffleVT.getScalarSizeInBits(); in ReconstructShuffle() 6727 if (!isShuffleMaskLegal(Mask, ShuffleVT)) { in ReconstructShuffle() 6732 SDValue ShuffleOps[] = { DAG.getUNDEF(ShuffleVT), DAG.getUNDEF(ShuffleVT) }; in ReconstructShuffle() 6736 SDValue Shuffle = DAG.getVectorShuffle(ShuffleVT, dl, ShuffleOps[0], in ReconstructShuffle()
|
/external/llvm-project/llvm/lib/Target/AArch64/ |
D | AArch64ISelLowering.cpp | 7903 EVT ShuffleVT = EVT::getVectorVT(*DAG.getContext(), SmallestEltTy, NumElts); in ReconstructShuffle() local 7985 assert(ShuffleVT.getVectorElementType() == SmallestEltTy); in ReconstructShuffle() 7986 Src.ShuffleVec = DAG.getNode(ISD::BITCAST, dl, ShuffleVT, Src.ShuffleVec); in ReconstructShuffle() 7995 assert(Src.ShuffleVec.getValueType() == ShuffleVT);); in ReconstructShuffle() 7998 SmallVector<int, 8> Mask(ShuffleVT.getVectorNumElements(), -1); in ReconstructShuffle() 7999 int BitsPerShuffleLane = ShuffleVT.getScalarSizeInBits(); in ReconstructShuffle() 8027 if (!isShuffleMaskLegal(Mask, ShuffleVT)) { in ReconstructShuffle() 8032 SDValue ShuffleOps[] = { DAG.getUNDEF(ShuffleVT), DAG.getUNDEF(ShuffleVT) }; in ReconstructShuffle() 8036 SDValue Shuffle = DAG.getVectorShuffle(ShuffleVT, dl, ShuffleOps[0], in ReconstructShuffle()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/ |
D | ARMISelLowering.cpp | 7459 EVT ShuffleVT = EVT::getVectorVT(*DAG.getContext(), SmallestEltTy, NumElts); in ReconstructShuffle() local 7529 assert(ShuffleVT.getVectorElementType() == SmallestEltTy); in ReconstructShuffle() 7530 Src.ShuffleVec = DAG.getNode(ISD::BITCAST, dl, ShuffleVT, Src.ShuffleVec); in ReconstructShuffle() 7538 assert(Src.ShuffleVec.getValueType() == ShuffleVT);); in ReconstructShuffle() 7541 SmallVector<int, 8> Mask(ShuffleVT.getVectorNumElements(), -1); in ReconstructShuffle() 7542 int BitsPerShuffleLane = ShuffleVT.getScalarSizeInBits(); in ReconstructShuffle() 7574 SDValue ShuffleOps[] = { DAG.getUNDEF(ShuffleVT), DAG.getUNDEF(ShuffleVT) }; in ReconstructShuffle() 7578 SDValue Shuffle = buildLegalVectorShuffle(ShuffleVT, dl, ShuffleOps[0], in ReconstructShuffle()
|
/external/llvm-project/llvm/lib/Target/ARM/ |
D | ARMISelLowering.cpp | 7763 EVT ShuffleVT = EVT::getVectorVT(*DAG.getContext(), SmallestEltTy, NumElts); in ReconstructShuffle() local 7835 assert(ShuffleVT.getVectorElementType() == SmallestEltTy); in ReconstructShuffle() 7836 Src.ShuffleVec = DAG.getNode(ARMISD::VECTOR_REG_CAST, dl, ShuffleVT, Src.ShuffleVec); in ReconstructShuffle() 7844 assert(Src.ShuffleVec.getValueType() == ShuffleVT);); in ReconstructShuffle() 7847 SmallVector<int, 8> Mask(ShuffleVT.getVectorNumElements(), -1); in ReconstructShuffle() 7848 int BitsPerShuffleLane = ShuffleVT.getScalarSizeInBits(); in ReconstructShuffle() 7880 SDValue ShuffleOps[] = { DAG.getUNDEF(ShuffleVT), DAG.getUNDEF(ShuffleVT) }; in ReconstructShuffle() 7884 SDValue Shuffle = buildLegalVectorShuffle(ShuffleVT, dl, ShuffleOps[0], in ReconstructShuffle()
|