Home
last modified time | relevance | path

Searched refs:Shuffles (Results 1 – 25 of 25) sorted by relevance

/external/llvm/lib/CodeGen/
DInterleavedAccessPass.cpp100 ArrayRef<ShuffleVectorInst *> Shuffles);
201 SmallVector<ShuffleVectorInst *, 4> Shuffles; in lowerInterleavedLoad() local
218 Shuffles.push_back(SVI); in lowerInterleavedLoad()
221 if (Shuffles.empty()) in lowerInterleavedLoad()
227 if (!isDeInterleaveMask(Shuffles[0]->getShuffleMask(), Factor, Index)) in lowerInterleavedLoad()
234 Type *VecTy = Shuffles[0]->getType(); in lowerInterleavedLoad()
238 for (unsigned i = 1; i < Shuffles.size(); i++) { in lowerInterleavedLoad()
239 if (Shuffles[i]->getType() != VecTy) in lowerInterleavedLoad()
242 if (!isDeInterleaveMaskOfFactor(Shuffles[i]->getShuffleMask(), Factor, in lowerInterleavedLoad()
251 if (!tryReplaceExtracts(Extracts, Shuffles)) in lowerInterleavedLoad()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DInterleavedAccessPass.cpp120 ArrayRef<ShuffleVectorInst *> Shuffles);
281 SmallVector<ShuffleVectorInst *, 4> Shuffles; in lowerInterleavedLoad() local
298 Shuffles.push_back(SVI); in lowerInterleavedLoad()
301 if (Shuffles.empty()) in lowerInterleavedLoad()
307 if (!isDeInterleaveMask(Shuffles[0]->getShuffleMask(), Factor, Index, in lowerInterleavedLoad()
315 Type *VecTy = Shuffles[0]->getType(); in lowerInterleavedLoad()
319 for (unsigned i = 1; i < Shuffles.size(); i++) { in lowerInterleavedLoad()
320 if (Shuffles[i]->getType() != VecTy) in lowerInterleavedLoad()
323 if (!isDeInterleaveMaskOfFactor(Shuffles[i]->getShuffleMask(), Factor, in lowerInterleavedLoad()
332 if (!tryReplaceExtracts(Extracts, Shuffles)) in lowerInterleavedLoad()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/
DX86InterleavedAccess.cpp56 ArrayRef<ShuffleVectorInst *> Shuffles; member in __anon5f735e4b0111::X86InterleavedAccessGroup
115 : Inst(I), Shuffles(Shuffs), Indices(Ind), Factor(F), Subtarget(STarget), in X86InterleavedAccessGroup()
130 VectorType *ShuffleVecTy = Shuffles[0]->getType(); in isSupported()
149 WideInstSize = DL.getTypeSizeInBits(Shuffles[0]->getType()); in isSupported()
554 MVT VT = MVT::getVT(Shuffles[0]->getType()); in deinterleave8bitStride3()
721 VectorType *ShuffleTy = Shuffles[0]->getType(); in lowerIntoOptimizedSequence()
750 for (unsigned i = 0, e = Shuffles.size(); i < e; ++i) in lowerIntoOptimizedSequence()
751 Shuffles[i]->replaceAllUsesWith(TransposedVectors[Indices[i]]); in lowerIntoOptimizedSequence()
762 decompose(Shuffles[0], Factor, VectorType::get(ShuffleEltTy, NumSubVecElems), in lowerIntoOptimizedSequence()
804 LoadInst *LI, ArrayRef<ShuffleVectorInst *> Shuffles, in lowerInterleavedLoad() argument
[all …]
DX86ISelLowering.h1120 ArrayRef<ShuffleVectorInst *> Shuffles,
DX86.td292 "true", "Shuffles with variable masks are fast">;
/external/llvm/lib/Target/Hexagon/
DHexagonInstrInfoVector.td429 // Shuffles even bytes for i=0..3: A[2*i].b = C[2*i].b; A[2*i+1].b = B[2*i].b
432 // Shuffles odd bytes for i=0..3: A[2*i].b = C[2*i+1].b; A[2*i+1].b = B[2*i+1].b
435 // Shuffles even half for i=0,1: A[2*i].h = C[2*i].h; A[2*i+1].h = B[2*i].h
438 // Shuffles odd half for i=0,1: A[2*i].h = C[2*i+1].h; A[2*i+1].h = B[2*i+1].h
/external/llvm/lib/Target/AArch64/
DAArch64ISelLowering.h305 ArrayRef<ShuffleVectorInst *> Shuffles,
DAArch64ISelLowering.cpp7096 LoadInst *LI, ArrayRef<ShuffleVectorInst *> Shuffles, in lowerInterleavedLoad() argument
7100 assert(!Shuffles.empty() && "Empty shufflevector input"); in lowerInterleavedLoad()
7101 assert(Shuffles.size() == Indices.size() && in lowerInterleavedLoad()
7106 VectorType *VecTy = Shuffles[0]->getType(); in lowerInterleavedLoad()
7135 for (unsigned i = 0; i < Shuffles.size(); i++) { in lowerInterleavedLoad()
7136 ShuffleVectorInst *SVI = Shuffles[i]; in lowerInterleavedLoad()
/external/llvm/lib/Target/ARM/
DARMISelLowering.h455 ArrayRef<ShuffleVectorInst *> Shuffles,
DARMISelLowering.cpp12577 LoadInst *LI, ArrayRef<ShuffleVectorInst *> Shuffles, in lowerInterleavedLoad() argument
12581 assert(!Shuffles.empty() && "Empty shufflevector input"); in lowerInterleavedLoad()
12582 assert(Shuffles.size() == Indices.size() && in lowerInterleavedLoad()
12585 VectorType *VecTy = Shuffles[0]->getType(); in lowerInterleavedLoad()
12621 for (unsigned i = 0; i < Shuffles.size(); i++) { in lowerInterleavedLoad()
12622 ShuffleVectorInst *SV = Shuffles[i]; in lowerInterleavedLoad()
DARMInstrNEON.td6322 // Other Vector Shuffles.
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AArch64/
DAArch64ISelLowering.h329 ArrayRef<ShuffleVectorInst *> Shuffles,
DAArch64ISelLowering.cpp8105 LoadInst *LI, ArrayRef<ShuffleVectorInst *> Shuffles, in lowerInterleavedLoad() argument
8109 assert(!Shuffles.empty() && "Empty shufflevector input"); in lowerInterleavedLoad()
8110 assert(Shuffles.size() == Indices.size() && in lowerInterleavedLoad()
8115 VectorType *VecTy = Shuffles[0]->getType(); in lowerInterleavedLoad()
8176 for (unsigned i = 0; i < Shuffles.size(); i++) { in lowerInterleavedLoad()
8177 ShuffleVectorInst *SVI = Shuffles[i]; in lowerInterleavedLoad()
8195 for (ShuffleVectorInst *SVI : Shuffles) { in lowerInterleavedLoad()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/ARM/
DARMISelLowering.h526 ArrayRef<ShuffleVectorInst *> Shuffles,
DARMISelLowering.cpp14596 LoadInst *LI, ArrayRef<ShuffleVectorInst *> Shuffles, in lowerInterleavedLoad() argument
14600 assert(!Shuffles.empty() && "Empty shufflevector input"); in lowerInterleavedLoad()
14601 assert(Shuffles.size() == Indices.size() && in lowerInterleavedLoad()
14604 VectorType *VecTy = Shuffles[0]->getType(); in lowerInterleavedLoad()
14672 for (unsigned i = 0; i < Shuffles.size(); i++) { in lowerInterleavedLoad()
14673 ShuffleVectorInst *SV = Shuffles[i]; in lowerInterleavedLoad()
14692 for (ShuffleVectorInst *SVI : Shuffles) { in lowerInterleavedLoad()
DARMInstrNEON.td6597 // Other Vector Shuffles.
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp15809 SmallVector<SDValue, 4> Shuffles; in reduceBuildVecToShuffle() local
15818 Shuffles.push_back(Shuffle); in reduceBuildVecToShuffle()
15826 Shuffles.push_back(VT.isInteger() ? DAG.getConstant(0, DL, VT) in reduceBuildVecToShuffle()
15830 if (Shuffles.size() == 1) in reduceBuildVecToShuffle()
15831 return Shuffles[0]; in reduceBuildVecToShuffle()
15836 Vec = Shuffles.size() - 1; in reduceBuildVecToShuffle()
15852 if (Shuffles.size() % 2) in reduceBuildVecToShuffle()
15853 Shuffles.push_back(DAG.getUNDEF(VT)); in reduceBuildVecToShuffle()
15855 for (unsigned CurSize = Shuffles.size(); CurSize > 1; CurSize /= 2) { in reduceBuildVecToShuffle()
15857 Shuffles[CurSize] = DAG.getUNDEF(VT); in reduceBuildVecToShuffle()
[all …]
/external/llvm/include/llvm/Target/
DTargetLowering.h1759 ArrayRef<ShuffleVectorInst *> Shuffles, in lowerInterleavedLoad() argument
/external/llvm/lib/Target/PowerPC/
DPPCInstrAltivec.td478 // Shuffles.
891 // Shuffles.
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/PowerPC/
DPPCInstrAltivec.td479 // Shuffles.
902 // Shuffles.
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/
DTargetLowering.h2197 ArrayRef<ShuffleVectorInst *> Shuffles, in lowerInterleavedLoad() argument
/external/llvm/test/CodeGen/X86/
Dsse41.ll408 ;;;;;; Shuffles optimizable with a single insertps or blend instruction
/external/swiftshader/third_party/llvm-7.0/llvm/test/Analysis/CostModel/X86/
Dshuffle-single-src.ll352 ; Test some Identity Shuffles
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/X86/
Dsse41.ll804 ;;;;;; Shuffles optimizable with a single insertps or blend instruction
/external/swiftshader/third_party/llvm-7.0/configs/common/lib/Target/X86/
DX86GenSubtargetInfo.inc198 …{ "fast-variable-shuffle", "Shuffles with variable masks are fast", { X86::FeatureFastVariableShuf…