Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DLoadStoreOpt.cpp314 for (auto *StoreMI : StoresToMerge) in mergeStores() local
315 assert(MRI->getType(StoreMI->getValueReg()) == OrigTy); in mergeStores()
509 bool LoadStoreOpt::addStoreToCandidate(GStore &StoreMI, in addStoreToCandidate() argument
513 LLT ValueTy = MRI->getType(StoreMI.getValueReg()); in addStoreToCandidate()
514 LLT PtrTy = MRI->getType(StoreMI.getPointerReg()); in addStoreToCandidate()
521 if (StoreMI.getMemSizeInBits() != ValueTy.getSizeInBits()) in addStoreToCandidate()
527 if (!StoreMI.isSimple()) in addStoreToCandidate()
530 Register StoreAddr = StoreMI.getPointerReg(); in addStoreToCandidate()
546 C.Stores.emplace_back(&StoreMI); in addStoreToCandidate()
548 << StoreMI); in addStoreToCandidate()
[all …]
H A DLegalizerHelper.cpp1663 auto &StoreMI = cast<GStore>(MI); in narrowScalar() local
1665 Register SrcReg = StoreMI.getValueReg(); in narrowScalar()
1676 if (8 * StoreMI.getMemSize().getValue() != SrcTy.getSizeInBits()) { in narrowScalar()
1679 MIRBuilder.buildStore(TmpReg, StoreMI.getPointerReg(), StoreMI.getMMO()); in narrowScalar()
1680 StoreMI.eraseFromParent(); in narrowScalar()
1684 return reduceLoadStoreWidth(StoreMI, 0, NarrowTy); in narrowScalar()
4198 LegalizerHelper::LegalizeResult LegalizerHelper::lowerStore(GStore &StoreMI) { in lowerStore() argument
4205 Register SrcReg = StoreMI.getValueReg(); in lowerStore()
4206 Register PtrReg = StoreMI.getPointerReg(); in lowerStore()
4209 MachineMemOperand &MMO = **StoreMI.memoperands_begin(); in lowerStore()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86AvoidStoreForwardingBlocks.cpp541 MachineInstr &StoreMI = *StoreMO.getParent(); in findPotentiallylBlockedCopies() local
543 if (StoreMI.getParent() == MI.getParent() && in findPotentiallylBlockedCopies()
544 isPotentialBlockedMemCpyPair(MI.getOpcode(), StoreMI.getOpcode()) && in findPotentiallylBlockedCopies()
546 isRelevantAddressingMode(&StoreMI) && in findPotentiallylBlockedCopies()
547 MI.hasOneMemOperand() && StoreMI.hasOneMemOperand()) { in findPotentiallylBlockedCopies()
548 if (!alias(**MI.memoperands_begin(), **StoreMI.memoperands_begin())) in findPotentiallylBlockedCopies()
549 BlockedLoadsStoresPairs.push_back(std::make_pair(&MI, &StoreMI)); in findPotentiallylBlockedCopies()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
H A DLoadStoreOpt.h150 bool mergeTruncStore(GStore &StoreMI,