Lines Matching refs:MemoryInst
888 Instruction *MemoryInst; member in __anon9021557f0311::AddressingModeMatcher
902 : AddrModeInsts(AMI), TLI(T), AccessTy(AT), MemoryInst(MI), AddrMode(AM) { in AddressingModeMatcher()
911 Instruction *MemoryInst, in Match() argument
918 MemoryInst, Result).MatchAddr(V, 0); in Match()
1340 return Val->isUsedInBasicBlock(MemoryInst->getParent()); in ValueAlreadyLiveAtInst()
1422 MemoryInst, Result); in IsProfitableToFoldIntoAddressingMode()
1457 bool CodeGenPrepare::OptimizeMemoryInst(Instruction *MemoryInst, Value *Addr, in OptimizeMemoryInst() argument
1495 AddressingModeMatcher::Match(V, AccessTy, MemoryInst, in OptimizeMemoryInst()
1539 if (IsNonLocalValue(AddrModeInsts[i], MemoryInst->getParent())) { in OptimizeMemoryInst()
1554 IRBuilder<> Builder(MemoryInst); in OptimizeMemoryInst()
1563 << *MemoryInst); in OptimizeMemoryInst()
1568 << *MemoryInst); in OptimizeMemoryInst()
1632 MemoryInst->replaceUsesOfWith(Repl, SunkAddr); in OptimizeMemoryInst()