Lines Matching refs:MemoryInst
390 bool optimizeMemoryInst(Instruction *MemoryInst, Value *Addr,
392 bool optimizeGatherScatterInst(Instruction *MemoryInst, Value *Ptr);
3008 Instruction *MemoryInst; member in __anon9452010f0b11::AddressingModeMatcher
3045 MemoryInst(MI), AddrMode(AM), InsertedInsts(InsertedInsts), in AddressingModeMatcher()
3060 Match(Value *V, Type *AccessTy, unsigned AS, Instruction *MemoryInst, in Match() argument
3070 MemoryInst, Result, InsertedInsts, in Match()
4787 return Val->isUsedInBasicBlock(MemoryInst->getParent()); in valueAlreadyLiveAtInst()
4881 MatchedAddrModeInsts, TLI, TRI, AddressAccessTy, AS, MemoryInst, Result, in isProfitableToFoldIntoAddressingMode()
4929 bool CodeGenPrepare::optimizeMemoryInst(Instruction *MemoryInst, Value *Addr, in optimizeMemoryInst() argument
4987 V, AccessTy, AddrSpace, MemoryInst, AddrModeInsts, *TLI, *TRI, in optimizeMemoryInst()
5023 return IsNonLocalValue(V, MemoryInst->getParent()); in optimizeMemoryInst()
5033 IRBuilder<> Builder(MemoryInst); in optimizeMemoryInst()
5046 << " for " << *MemoryInst << "\n"); in optimizeMemoryInst()
5054 << " for " << *MemoryInst << "\n"); in optimizeMemoryInst()
5202 << " for " << *MemoryInst << "\n"); in optimizeMemoryInst()
5274 MemoryInst->replaceUsesOfWith(Repl, SunkAddr); in optimizeMemoryInst()
5309 bool CodeGenPrepare::optimizeGatherScatterInst(Instruction *MemoryInst, in optimizeGatherScatterInst() argument
5324 if (MemoryInst->getParent() != GEP->getParent()) in optimizeGatherScatterInst()
5375 IRBuilder<> Builder(MemoryInst); in optimizeGatherScatterInst()
5408 IRBuilder<> Builder(MemoryInst); in optimizeGatherScatterInst()
5419 MemoryInst->replaceUsesOfWith(Ptr, NewAddr); in optimizeGatherScatterInst()