Searched refs:InsertMask (Results 1 – 5 of 5) sorted by relevance
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | Scalarizer.cpp | 224 SmallVector<int> InsertMask; in concatenate() local 233 InsertMask.resize(NumElements); in concatenate() 235 InsertMask[I] = I; in concatenate() 259 InsertMask[I * VS.NumPacked + J] = NumElements + J; in concatenate() 260 Res = Builder.CreateShuffleVector(Res, Fragment, InsertMask, in concatenate() 263 InsertMask[I * VS.NumPacked + J] = I * VS.NumPacked + J; in concatenate()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
| H A D | SystemZISelDAGToDAG.cpp | 273 bool detectOrAndInsertion(SDValue &Op, uint64_t InsertMask) const; 748 uint64_t InsertMask) const { in detectOrAndInsertion() 761 if (InsertMask & AndMask) in detectOrAndInsertion() 767 if (Used != (AndMask | InsertMask)) { in detectOrAndInsertion() 769 if (Used != (AndMask | InsertMask | Known.Zero.getZExtValue())) in detectOrAndInsertion()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUInstCombineIntrinsic.cpp | 1924 SmallVector<int> InsertMask(OldNumElts, -1); in simplifyAMDGCNLaneIntrinsicDemanded() local 1927 InsertMask[FirstElt + I] = I; in simplifyAMDGCNLaneIntrinsicDemanded() 1932 return IC.Builder.CreateShuffleVector(NewCall, InsertMask); in simplifyAMDGCNLaneIntrinsicDemanded()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/ |
| H A D | SLPVectorizer.cpp | 13238 SmallVector<int> InsertMask(NumElts, PoisonMaskElem); in getEntryCost() local 13241 InsertMask[OffsetBeg] = 0; in getEntryCost() 13248 InsertMask[Idx] = I + 1; in getEntryCost() 13313 buildUseMask(NumElts, InsertMask, UseMask::UndefsAsMask)); in getEntryCost() 17825 SmallVector<int> InsertMask(Mask); in vectorizeTree() local 17834 if (InsertMask[*InsertIdx] == PoisonMaskElem) in vectorizeTree() 17835 InsertMask[*InsertIdx] = *InsertIdx; in vectorizeTree() 17842 buildUseMask(NumElts, InsertMask, UseMask::UndefsAsMask); in vectorizeTree() 17850 if (InsertMask[I] == PoisonMaskElem && !IsFirstPoison.test(I) && in vectorizeTree() 17853 InsertMask[I] = I < NumScalars ? I : 0; in vectorizeTree() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
| H A D | PPCISelDAGToDAG.cpp | 888 unsigned InsertMask = RKnown.Zero.getZExtValue(); in tryBitfieldInsert() local 890 if ((TargetMask | InsertMask) == 0xFFFFFFFF) { in tryBitfieldInsert() 895 InsertMask = ~InsertMask; in tryBitfieldInsert() 906 std::swap(TargetMask, InsertMask); in tryBitfieldInsert() 914 std::swap(TargetMask, InsertMask); in tryBitfieldInsert() 919 if (isRunOfOnes(InsertMask, MB, ME)) { in tryBitfieldInsert() 930 bool CanFoldMask = InsertMask == MKnown.One.getZExtValue(); in tryBitfieldInsert()
|