Searched refs:StoreMI (Results 1 – 4 of 4) sorted by relevance
301 for (auto *StoreMI : StoresToMerge) in mergeStores() local302 assert(MRI->getType(StoreMI->getValueReg()) == OrigTy); in mergeStores()497 bool LoadStoreOpt::addStoreToCandidate(GStore &StoreMI, in addStoreToCandidate() argument501 LLT ValueTy = MRI->getType(StoreMI.getValueReg()); in addStoreToCandidate()502 LLT PtrTy = MRI->getType(StoreMI.getPointerReg()); in addStoreToCandidate()509 if (StoreMI.getMemSizeInBits() != ValueTy.getSizeInBits()) in addStoreToCandidate()515 if (!StoreMI.isSimple()) in addStoreToCandidate()518 Register StoreAddr = StoreMI.getPointerReg(); in addStoreToCandidate()530 C.Stores.emplace_back(&StoreMI); in addStoreToCandidate()532 << StoreMI); in addStoreToCandidate()[all …]
1084 auto &StoreMI = cast<GStore>(MI); in narrowScalar() local1086 Register SrcReg = StoreMI.getValueReg(); in narrowScalar()1097 if (8 * StoreMI.getMemSize() != SrcTy.getSizeInBits()) { in narrowScalar()1100 MIRBuilder.buildStore(TmpReg, StoreMI.getPointerReg(), StoreMI.getMMO()); in narrowScalar()1101 StoreMI.eraseFromParent(); in narrowScalar()1105 return reduceLoadStoreWidth(StoreMI, 0, NarrowTy); in narrowScalar()3070 LegalizerHelper::LegalizeResult LegalizerHelper::lowerStore(GStore &StoreMI) { in lowerStore() argument3077 Register SrcReg = StoreMI.getValueReg(); in lowerStore()3078 Register PtrReg = StoreMI.getPointerReg(); in lowerStore()3081 MachineMemOperand &MMO = **StoreMI.memoperands_begin(); in lowerStore()[all …]
3686 auto &StoreMI = cast<GStore>(MI); in matchTruncStoreMerge() local3687 LLT MemTy = StoreMI.getMMO().getMemoryType(); in matchTruncStoreMerge()3700 if (!StoreMI.isSimple()) in matchTruncStoreMerge()3713 auto &LastStore = StoreMI; in matchTruncStoreMerge()
542 MachineInstr &StoreMI = *StoreMO.getParent(); in findPotentiallylBlockedCopies() local544 if (StoreMI.getParent() == MI.getParent() && in findPotentiallylBlockedCopies()545 isPotentialBlockedMemCpyPair(MI.getOpcode(), StoreMI.getOpcode()) && in findPotentiallylBlockedCopies()547 isRelevantAddressingMode(&StoreMI) && in findPotentiallylBlockedCopies()548 MI.hasOneMemOperand() && StoreMI.hasOneMemOperand()) { in findPotentiallylBlockedCopies()549 if (!alias(**MI.memoperands_begin(), **StoreMI.memoperands_begin())) in findPotentiallylBlockedCopies()550 BlockedLoadsStoresPairs.push_back(std::make_pair(&MI, &StoreMI)); in findPotentiallylBlockedCopies()