Lines Matching refs:MemoryInst
351 bool optimizeMemoryInst(Instruction *MemoryInst, Value *Addr,
2602 Instruction *MemoryInst; member in __anon6227213d0811::AddressingModeMatcher
2632 MemoryInst(MI), AddrMode(AM), InsertedInsts(InsertedInsts), in AddressingModeMatcher()
2646 Match(Value *V, Type *AccessTy, unsigned AS, Instruction *MemoryInst, in Match() argument
2655 MemoryInst, Result, InsertedInsts, in Match()
4356 return Val->isUsedInBasicBlock(MemoryInst->getParent()); in valueAlreadyLiveAtInst()
4449 MatchedAddrModeInsts, TLI, TRI, AddressAccessTy, AS, MemoryInst, Result, in isProfitableToFoldIntoAddressingMode()
4497 bool CodeGenPrepare::optimizeMemoryInst(Instruction *MemoryInst, Value *Addr, in optimizeMemoryInst() argument
4555 V, AccessTy, AddrSpace, MemoryInst, AddrModeInsts, *TLI, *TRI, in optimizeMemoryInst()
4559 if (GEP && GEP->getParent() != MemoryInst->getParent() && in optimizeMemoryInst()
4591 return IsNonLocalValue(V, MemoryInst->getParent()); in optimizeMemoryInst()
4601 IRBuilder<> Builder(MemoryInst); in optimizeMemoryInst()
4614 << " for " << *MemoryInst << "\n"); in optimizeMemoryInst()
4622 << " for " << *MemoryInst << "\n"); in optimizeMemoryInst()
4762 << " for " << *MemoryInst << "\n"); in optimizeMemoryInst()
4834 MemoryInst->replaceUsesOfWith(Repl, SunkAddr); in optimizeMemoryInst()