Home
last modified time | relevance | path

Searched refs:StoreMI (Results 1 – 4 of 4) sorted by relevance

/llvm-project-15.0.7/llvm/lib/CodeGen/GlobalISel/
H A DLoadStoreOpt.cpp301 for (auto *StoreMI : StoresToMerge) in mergeStores() local
501 LLT ValueTy = MRI->getType(StoreMI.getValueReg()); in addStoreToCandidate()
502 LLT PtrTy = MRI->getType(StoreMI.getPointerReg()); 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()
554 C.Stores.emplace_back(&StoreMI); in addStoreToCandidate()
568 if (auto *StoreMI = dyn_cast<GStore>(&MI)) { in mergeBlockStores() local
571 if (!addStoreToCandidate(*StoreMI, Candidate)) { in mergeBlockStores()
[all …]
H A DLegalizerHelper.cpp1078 auto &StoreMI = cast<GStore>(MI); in narrowScalar() local
1080 Register SrcReg = StoreMI.getValueReg(); in narrowScalar()
1091 if (8 * StoreMI.getMemSize() != SrcTy.getSizeInBits()) { in narrowScalar()
1094 MIRBuilder.buildStore(TmpReg, StoreMI.getPointerReg(), StoreMI.getMMO()); in narrowScalar()
1095 StoreMI.eraseFromParent(); in narrowScalar()
1099 return reduceLoadStoreWidth(StoreMI, 0, NarrowTy); in narrowScalar()
3070 Register SrcReg = StoreMI.getValueReg(); in lowerStore()
3071 Register PtrReg = StoreMI.getPointerReg(); in lowerStore()
3074 MachineMemOperand &MMO = **StoreMI.memoperands_begin(); in lowerStore()
3100 StoreMI.eraseFromParent(); in lowerStore()
[all …]
H A DCombinerHelper.cpp3615 auto &StoreMI = cast<GStore>(MI); in matchTruncStoreMerge() local
3616 LLT MemTy = StoreMI.getMMO().getMemoryType(); in matchTruncStoreMerge()
3629 if (!StoreMI.isSimple()) in matchTruncStoreMerge()
3642 auto &LastStore = StoreMI; in matchTruncStoreMerge()
/llvm-project-15.0.7/llvm/lib/Target/X86/
H A DX86AvoidStoreForwardingBlocks.cpp542 MachineInstr &StoreMI = *StoreMO.getParent(); in findPotentiallylBlockedCopies() local
544 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()