Home
last modified time | relevance | path

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

123

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DInterleavedAccessPass.cpp120 ArrayRef<ShuffleVectorInst *> Shuffles);
286 SmallVector<ShuffleVectorInst *, 4> Shuffles; in lowerInterleavedLoad()
299 ShuffleVectorInst *SVI = dyn_cast<ShuffleVectorInst>(*UI); in lowerInterleavedLoad()
356 ArrayRef<ShuffleVectorInst *> Shuffles) { in tryReplaceExtracts()
423 ShuffleVectorInst *SVI = dyn_cast<ShuffleVectorInst>(SI->getValueOperand()); in lowerInterleavedStore()
DInterleavedLoadCombinePass.cpp670 ShuffleVectorInst *SVI;
713 ShuffleVectorInst *SVI = dyn_cast<ShuffleVectorInst>(V); in compute()
786 static bool computeFromSVI(ShuffleVectorInst *SVI, VectorInfo &Result, in computeFromSVI()
1267 if (auto SVI = dyn_cast<ShuffleVectorInst>(&I)) { in run()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineVectorOps.cpp274 ShuffleVectorInst *Shuffle = cast<ShuffleVectorInst>(UserInstr); in findDemandedEltsBySingleUser()
407 } else if (auto *SVI = dyn_cast<ShuffleVectorInst>(I)) { in visitExtractElementInst()
572 auto *WideVec = new ShuffleVectorInst(ExtVecOp, UndefValue::get(ExtVecType), in replaceExtractElements()
725 static bool isShuffleEquivalentToSelect(ShuffleVectorInst &Shuf) { in isShuffleEquivalentToSelect()
811 return new ShuffleVectorInst(FirstIE, UndefVec, ConstantVector::get(Mask)); in foldInsSequenceIntoSplat()
818 auto *Shuf = dyn_cast<ShuffleVectorInst>(InsElt.getOperand(0)); in foldInsEltIntoSplat()
845 return new ShuffleVectorInst(Op0, UndefValue::get(Op0->getType()), NewMask); in foldInsEltIntoSplat()
852 auto *Shuf = dyn_cast<ShuffleVectorInst>(InsElt.getOperand(0)); in foldInsEltIntoIdentityShuffle()
894 return new ShuffleVectorInst(X, Shuf->getOperand(1), NewMask); in foldInsEltIntoIdentityShuffle()
935 if (auto *Shuf = dyn_cast<ShuffleVectorInst>(InsElt.getOperand(0))) { in foldConstantInsEltIntoShuffle()
[all …]
DInstructionCombining.cpp1451 cast<ShuffleVectorInst>(LHS)->isConcat() && in foldVectorBinop()
1452 cast<ShuffleVectorInst>(RHS)->isConcat()) { in foldVectorBinop()
1464 return new ShuffleVectorInst(NewBO0, NewBO1, Mask); in foldVectorBinop()
1477 return new ShuffleVectorInst(XY, UndefValue::get(XY->getType()), M); in foldVectorBinop()
1497 auto *LShuf = cast<ShuffleVectorInst>(LHS); in foldVectorBinop()
1498 auto *RShuf = cast<ShuffleVectorInst>(RHS); in foldVectorBinop()
1535 ShuffleVectorInst::getShuffleMask(Mask, ShMask); in foldVectorBinop()
DInstCombineCasts.cpp640 auto *Shuf = dyn_cast<ShuffleVectorInst>(Trunc.getOperand(0)); in shrinkSplatShuffle()
647 return new ShuffleVectorInst(NarrowOp, NarrowUndef, Shuf->getMask()); in shrinkSplatShuffle()
1934 return new ShuffleVectorInst(InVal, V2, in optimizeVectorResizeWithIntegerBitCasts()
2506 if (auto *Shuf = dyn_cast<ShuffleVectorInst>(Src)) { in visitBitCast()
2528 return new ShuffleVectorInst(LHS, RHS, Shuf->getOperand(2)); in visitBitCast()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86InterleavedAccess.cpp55 ArrayRef<ShuffleVectorInst *> Shuffles;
110 ArrayRef<ShuffleVectorInst *> Shuffs, in X86InterleavedAccessGroup()
170 assert((isa<LoadInst>(VecInst) || isa<ShuffleVectorInst>(VecInst)) && in decompose()
180 if (auto *SVI = dyn_cast<ShuffleVectorInst>(VecInst)) { in decompose()
187 cast<ShuffleVectorInst>(Builder.CreateShuffleVector( in decompose()
807 LoadInst *LI, ArrayRef<ShuffleVectorInst *> Shuffles, in lowerInterleavedLoad()
824 ShuffleVectorInst *SVI, in lowerInterleavedStore()
839 ArrayRef<ShuffleVectorInst *> Shuffles = makeArrayRef(SVI); in lowerInterleavedStore()
DX86ISelLowering.h1265 ArrayRef<ShuffleVectorInst *> Shuffles,
1271 bool lowerInterleavedStore(StoreInst *SI, ShuffleVectorInst *SVI,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DTargetTransformInfo.cpp559 if (auto *ShuffleInst = dyn_cast<ShuffleVectorInst>(V)) in getOperandInfo()
859 static bool matchPairwiseShuffleMask(ShuffleVectorInst *SI, bool IsLeft, in matchPairwiseShuffleMask()
945 ShuffleVectorInst *LS = dyn_cast<ShuffleVectorInst>(RD->LHS); in matchPairwiseReductionAtLevel()
948 ShuffleVectorInst *RS = dyn_cast<ShuffleVectorInst>(RD->RHS); in matchPairwiseReductionAtLevel()
1063 static std::pair<Value *, ShuffleVectorInst *>
1065 ShuffleVectorInst *S = nullptr; in getShuffleAndOtherOprd()
1067 if ((S = dyn_cast<ShuffleVectorInst>(L))) in getShuffleAndOtherOprd()
1070 S = dyn_cast<ShuffleVectorInst>(R); in getShuffleAndOtherOprd()
1124 ShuffleVectorInst *Shuffle; in matchVectorSplittingReduction()
1298 const ShuffleVectorInst *Shuffle = cast<ShuffleVectorInst>(I); in getInstructionThroughput()
DVectorUtils.cpp288 if (ShuffleVectorInst *SVI = dyn_cast<ShuffleVectorInst>(V)) { in findScalarElement()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DInstructions.cpp1781 ShuffleVectorInst::ShuffleVectorInst(Value *V1, Value *V2, Value *Mask, in ShuffleVectorInst() function in ShuffleVectorInst
1787 OperandTraits<ShuffleVectorInst>::op_begin(this), in ShuffleVectorInst()
1788 OperandTraits<ShuffleVectorInst>::operands(this), in ShuffleVectorInst()
1798 ShuffleVectorInst::ShuffleVectorInst(Value *V1, Value *V2, Value *Mask, in ShuffleVectorInst() function in ShuffleVectorInst
1804 OperandTraits<ShuffleVectorInst>::op_begin(this), in ShuffleVectorInst()
1805 OperandTraits<ShuffleVectorInst>::operands(this), in ShuffleVectorInst()
1816 void ShuffleVectorInst::commute() { in commute()
1835 bool ShuffleVectorInst::isValidOperands(const Value *V1, const Value *V2, in isValidOperands()
1882 int ShuffleVectorInst::getMaskValue(const Constant *Mask, unsigned i) { in getMaskValue()
1892 void ShuffleVectorInst::getShuffleMask(const Constant *Mask, in getShuffleMask()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DRewriteStatepointsForGC.cpp458 if (isa<ShuffleVectorInst>(I)) in findBaseDefiningValueOfVector()
641 !isa<ShuffleVectorInst>(V)) { in isKnownBaseResult()
794 isa<ShuffleVectorInst>(BDV); in findBasePointer()
837 } else if (auto *SV = dyn_cast<ShuffleVectorInst>(Current)) { in findBasePointer()
906 auto *SV = cast<ShuffleVectorInst>(BDV); in findBasePointer()
987 auto *SV = cast<ShuffleVectorInst>(I); in findBasePointer()
990 return new ShuffleVectorInst(VecUndef, VecUndef, SV->getOperand(2), in findBasePointer()
1103 auto *BaseSV = cast<ShuffleVectorInst>(State.getBaseValue()); in findBasePointer()
1104 auto *BdvSV = cast<ShuffleVectorInst>(BDV); in findBasePointer()
DScalarizer.cpp195 bool visitShuffleVectorInst(ShuffleVectorInst &SVI);
737 bool ScalarizerVisitor::visitShuffleVectorInst(ShuffleVectorInst &SVI) { in visitShuffleVectorInst()
DEarlyCSE.cpp116 isa<ShuffleVectorInst>(Inst) || isa<ExtractValueInst>(Inst) || in canHandle()
282 isa<ShuffleVectorInst>(Inst) || isa<UnaryOperator>(Inst)) && in getHashValueImpl()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/FuzzMutate/
DOperations.cpp298 return ShuffleVectorInst::isValidOperands(Cur[0], Cur[1], V); in validShuffleVectorIndex()
313 return new ShuffleVectorInst(Srcs[0], Srcs[1], Srcs[2], "S", Inst); in shuffleVectorDescriptor()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/Interpreter/
DInterpreter.h165 void visitShuffleVectorInst(ShuffleVectorInst &I);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUPrintfRuntimeBinding.cpp492 ShuffleVectorInst *Shuffle = new ShuffleVectorInst(Arg, Arg, Mask); in lowerPrintfForGpu()
DAMDGPUTargetTransformInfo.cpp793 const ShuffleVectorInst *Shuffle = cast<ShuffleVectorInst>(I); in getUserCost()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMISelLowering.h556 ArrayRef<ShuffleVectorInst *> Shuffles,
559 bool lowerInterleavedStore(StoreInst *SI, ShuffleVectorInst *SVI,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64ISelLowering.h414 ArrayRef<ShuffleVectorInst *> Shuffles,
417 bool lowerInterleavedStore(StoreInst *SI, ShuffleVectorInst *SVI,
DAArch64PromoteConstant.cpp262 if (isa<const ShuffleVectorInst>(Instr) && OpIdx == 2) in shouldConvertUse()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DInstruction.def193 HANDLE_OTHER_INST(61, ShuffleVector, ShuffleVectorInst) // shuffle two vectors.
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DInstVisitor.h195 RetTy visitShuffleVectorInst(ShuffleVectorInst &I) { DELEGATE(Instruction);} in visitShuffleVectorInst()
DNoFolder.h329 return new ShuffleVectorInst(V1, V2, Mask); in CreateShuffleVector()
DInstruction.def216 HANDLE_OTHER_INST(63, ShuffleVector, ShuffleVectorInst) // shuffle two vectors.
DInstructions.h1983 class ShuffleVectorInst : public Instruction {
1988 ShuffleVectorInst *cloneImpl() const;
1991 ShuffleVectorInst(Value *V1, Value *V2, Value *Mask,
1994 ShuffleVectorInst(Value *V1, Value *V2, Value *Mask,
2285 struct OperandTraits<ShuffleVectorInst> :
2286 public FixedNumOperandTraits<ShuffleVectorInst, 3> {
2289 DEFINE_TRANSPARENT_OPERAND_ACCESSORS(ShuffleVectorInst, Value)

123