Lines Matching defs:StoreInst

244   if (auto *SI = dyn_cast<StoreInst>(V))
1112 StoreInst *SI = cast<StoreInst>(UserInst);
1130 if (StoreInst *SI = dyn_cast<StoreInst>(I))
1141 if (StoreInst *SI = dyn_cast<StoreInst>(I))
1354 using StoreList = SmallVector<StoreInst *, 8>;
3186 SmallVector<SmallVector<StoreInst *>>
3193 bool canFormVector(ArrayRef<StoreInst *> StoresVec,
5692 (TopToBottom && isa<StoreInst, InsertElementInst>(TE.getMainOp())))) {
6191 (isa<ExtractElementInst, ExtractValueInst, LoadInst, StoreInst,
6200 if (isa<InsertElementInst, StoreInst>(TE->getMainOp()))
6522 if (!isa<InsertElementInst, StoreInst>(Data.first->getMainOp()) ||
6640 SmallVector<SmallVector<StoreInst *>>
6643 SmallVector<StoreInst *>, 8>
6656 auto *SI = dyn_cast<StoreInst>(U);
6687 SmallVector<SmallVector<StoreInst *>> Res(PtrToStoresMap.size());
6696 bool BoUpSLP::canFormVector(ArrayRef<StoreInst *> StoresVec,
6704 StoreInst *S0 = StoresVec[0];
6709 StoreInst *SI = StoresVec[Idx];
6761 SmallVector<SmallVector<StoreInst *>> Stores = collectUserStores(TE);
6770 for (ArrayRef<StoreInst *> StoresVec : Stores) {
7875 llvm::Type *ScalarTy = cast<StoreInst>(VL0)->getValueOperand()->getType();
7886 auto *SI = cast<StoreInst>(V);
8798 LLVM_DEBUG(dbgs() << "SLP: added a new TreeEntry (StoreInst).\n";
8802 dbgs() << "SLP: added a new TreeEntry (jumbled StoreInst).\n";
9982 cast<StoreInst>(E.getMainOp())->getValueOperand()->getType();
9984 Align CommonAlignment = computeCommonAlignment<StoreInst>(E.Scalars);
9991 auto *BaseSI = cast<StoreInst>(E.Scalars.back());
10007 auto *BaseSI = cast<StoreInst>(E.Scalars.front());
11701 auto *VI = cast<StoreInst>(VL[Idx]);
11708 cast<StoreInst>(IsReorder ? VL[E->ReorderIndices.front()] : VL0);
11714 computeCommonAlignment<StoreInst>(UniqueValues.getArrayRef());
11740 PointerOps[Idx] = cast<StoreInst>(V)->getPointerOperand();
15940 auto *SI = cast<StoreInst>(VL0);
15958 SI = cast<StoreInst>(E->Scalars[E->ReorderIndices.front()]);
15961 Align CommonAlignment = computeCommonAlignment<StoreInst>(E->Scalars);
17639 if (auto *Store = dyn_cast<StoreInst>(V))
18573 *TTI, cast<StoreInst>(Chain.front())->getValueOperand()->getType(),
18588 ValOps.insert(cast<StoreInst>(V)->getValueOperand());
18618 R.isNotScheduled(cast<StoreInst>(Chain.front())->getValueOperand()))
18642 cast<StoreInst>(Chain[0]))
18685 ArrayRef<StoreInst *> Stores, BoUpSLP &R,
18723 cast<StoreInst>(Operands.front())->getValueOperand(),
18725 cast<StoreInst>(Operands.back())->getValueOperand(),
18736 auto *Store = cast<StoreInst>(Operands[0]);
18832 return cast<StoreInst>(V)
18835 cast<StoreInst>(Slice.front())
19009 auto FillStoresSet = [&](unsigned Idx, StoreInst *SI) {
19095 if (auto *SI = dyn_cast<StoreInst>(&I)) {
21740 auto *SI = dyn_cast<StoreInst>(It);
21892 auto &&StoreSorter = [this](StoreInst *V, StoreInst *V2) {
21931 auto &&AreCompatibleStores = [this](StoreInst *V1, StoreInst *V2) {
21970 SmallVector<StoreInst *> ReversedStores(Pair.second.rbegin(),
21972 Changed |= tryToVectorizeSequence<StoreInst>(
21974 [&](ArrayRef<StoreInst *> Candidates, bool) {