Home
last modified time | relevance | path

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

1234567

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DInterleavedAccessPass.cpp374 for (auto *Shuffle : Shuffles) { in tryReplaceExtracts() local
377 if (!DT->dominates(Shuffle, Extract)) in tryReplaceExtracts()
384 Shuffle->getShuffleMask(Indices); in tryReplaceExtracts()
387 assert(Extract->getOperand(0) == Shuffle->getOperand(0) && in tryReplaceExtracts()
389 ReplacementMap[Extract] = std::make_pair(Shuffle, I); in tryReplaceExtracts()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUTargetTransformInfo.cpp793 const ShuffleVectorInst *Shuffle = cast<ShuffleVectorInst>(I); in getUserCost() local
794 Type *Ty = Shuffle->getType(); in getUserCost()
795 Type *SrcTy = Shuffle->getOperand(0)->getType(); in getUserCost()
799 if (Shuffle->isExtractSubvectorMask(SubIndex)) in getUserCost()
802 if (Shuffle->changesLength()) in getUserCost()
805 if (Shuffle->isIdentity()) in getUserCost()
808 if (Shuffle->isReverse()) in getUserCost()
811 if (Shuffle->isSelect()) in getUserCost()
814 if (Shuffle->isTranspose()) in getUserCost()
817 if (Shuffle->isZeroEltSplat()) in getUserCost()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DTargetTransformInfo.cpp1124 ShuffleVectorInst *Shuffle; in matchVectorSplittingReduction() local
1125 std::tie(NextRdxOp, Shuffle) = in matchVectorSplittingReduction()
1129 if (Shuffle == nullptr) in matchVectorSplittingReduction()
1131 if (Shuffle->getOperand(0) != NextRdxOp) in matchVectorSplittingReduction()
1140 SmallVector<int, 16> Mask = Shuffle->getShuffleMask(); in matchVectorSplittingReduction()
1298 const ShuffleVectorInst *Shuffle = cast<ShuffleVectorInst>(I); in getInstructionThroughput() local
1299 Type *Ty = Shuffle->getType(); in getInstructionThroughput()
1300 Type *SrcTy = Shuffle->getOperand(0)->getType(); in getInstructionThroughput()
1304 if (Shuffle->isExtractSubvectorMask(SubIndex)) in getInstructionThroughput()
1307 if (Shuffle->changesLength()) in getInstructionThroughput()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DUseListOrder.h29 std::vector<unsigned> Shuffle; member
32 : V(V), F(F), Shuffle(ShuffleSize) {} in UseListOrder()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineSimplifyDemanded.cpp1100 Value *Shuffle = in simplifyAMDGCNMemoryIntrinsicDemanded() local
1103 return Shuffle; in simplifyAMDGCNMemoryIntrinsicDemanded()
1280 auto *Shuffle = cast<ShuffleVectorInst>(I); in SimplifyDemandedVectorElts() local
1281 assert(Shuffle->getOperand(0)->getType() == in SimplifyDemandedVectorElts()
1282 Shuffle->getOperand(1)->getType() && in SimplifyDemandedVectorElts()
1285 Shuffle->getOperand(0)->getType()->getVectorNumElements(); in SimplifyDemandedVectorElts()
1289 unsigned MaskVal = Shuffle->getMaskValue(i); in SimplifyDemandedVectorElts()
1321 unsigned MaskVal = Shuffle->getMaskValue(i); in SimplifyDemandedVectorElts()
1328 return Shuffle->getOperand(0); in SimplifyDemandedVectorElts()
1337 unsigned MaskVal = Shuffle->getMaskValue(i); in SimplifyDemandedVectorElts()
[all …]
/third_party/skia/third_party/externals/swiftshader/src/Pipeline/
DSpirvShaderGroup.cpp58 …TYPE v2 = apply(v, Shuffle(v, identity, 0x4012) /* [id, v.y, v.z, v.w] */); // [x] [xy] [yz] … in BinaryOperation()
59 …TYPE v3 = apply(v2, Shuffle(v2, identity, 0x4401) /* [id, id, v2.x, v2.y] */); // [x] [xy] [xyz]… in BinaryOperation()
65 …TYPE v2 = apply(v, Shuffle(v, identity, 0x4012) /* [id, v.y, v.z, v.w] */); // [x] [xy] [yz] … in BinaryOperation()
66 …TYPE v3 = apply(v2, Shuffle(v2, identity, 0x4401) /* [id, id, v2.x, v2.y] */); // [x] [xy] [xyz]… in BinaryOperation()
67 …auto v4 = Shuffle(v3, identity, 0x4012 /* [id, v3.x, v3.y, v3.z] */); // [i] [x] [xy] … in BinaryOperation()
/third_party/skia/third_party/externals/spirv-tools/source/fuzz/
Dfuzzer_context.h71 void Shuffle(std::vector<T>* sequence, size_t lo, size_t hi) const { in Shuffle() function
96 void Shuffle(std::vector<T>* sequence) const { in Shuffle() function
98 Shuffle(sequence, 0, sequence->size() - 1); in Shuffle()
Dfuzzer_pass_add_dead_blocks.cpp74 GetFuzzerContext()->Shuffle(&candidate_transformations); in Apply()
Dfuzzer_pass_permute_phi_operands.cpp56 GetFuzzerContext()->Shuffle(&permutation); in Apply()
Dfuzzer_pass_permute_function_parameters.cpp61 GetFuzzerContext()->Shuffle(&permutation); in Apply()
/third_party/spirv-tools/source/fuzz/
Dfuzzer_context.h71 void Shuffle(std::vector<T>* sequence, size_t lo, size_t hi) const { in Shuffle() function
96 void Shuffle(std::vector<T>* sequence) const { in Shuffle() function
98 Shuffle(sequence, 0, sequence->size() - 1); in Shuffle()
Dfuzzer_pass_permute_phi_operands.cpp56 GetFuzzerContext()->Shuffle(&permutation); in Apply()
Dfuzzer_pass_add_dead_blocks.cpp74 GetFuzzerContext()->Shuffle(&candidate_transformations); in Apply()
Dfuzzer_pass_permute_function_parameters.cpp61 GetFuzzerContext()->Shuffle(&permutation); in Apply()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/
Dfuzzer_context.h71 void Shuffle(std::vector<T>* sequence, size_t lo, size_t hi) const { in Shuffle() function
96 void Shuffle(std::vector<T>* sequence) const { in Shuffle() function
98 Shuffle(sequence, 0, sequence->size() - 1); in Shuffle()
Dfuzzer_pass_add_dead_blocks.cpp74 GetFuzzerContext()->Shuffle(&candidate_transformations); in Apply()
Dfuzzer_pass_permute_phi_operands.cpp56 GetFuzzerContext()->Shuffle(&permutation); in Apply()
Dfuzzer_pass_permute_function_parameters.cpp61 GetFuzzerContext()->Shuffle(&permutation); in Apply()
Dfuzzer_pass_replace_params_with_struct.cpp80 GetFuzzerContext()->Shuffle(&parameter_index); in Apply()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DMVETailPredication.cpp215 Instruction *Shuffle = nullptr; in isTailPredicate() local
220 m_Instruction(Shuffle))) || in isTailPredicate()
228 if (!match(Shuffle, m_ShuffleVector(m_Instruction(Insert), m_Undef(), in isTailPredicate()
/third_party/musl/src/thread/mips/
Dclone.s11 # Shuffle (fn,sp,fl,arg,ptid,tls,ctid) to (fl,sp,ptid,tls,ctid)
/third_party/flutter/skia/bench/
DTopoSortBench.cpp52 ToolUtils::TopoTestNode::Shuffle(&fGraph, &fRand); in onDraw()
/third_party/skia/bench/
DTopoSortBench.cpp52 ToolUtils::TopoTestNode::Shuffle(&fGraph, &fRand); in onDraw()
/third_party/musl/src/thread/mips64/
Dclone.s12 # Shuffle (fn,sp,fl,arg,ptid,tls,ctid) to (fl,sp,ptid,tls,ctid)
/third_party/musl/src/thread/mipsn32/
Dclone.s12 # Shuffle (fn,sp,fl,arg,ptid,tls,ctid) to (fl,sp,ptid,tls,ctid)

1234567