• Home
  • Raw
  • Download

Lines Matching refs:QueryInst

381     BasicBlock *BB, Instruction *QueryInst) {  in getPointerDependencyFrom()  argument
383 if (QueryInst != nullptr) { in getPointerDependencyFrom()
384 if (auto *LI = dyn_cast<LoadInst>(QueryInst)) { in getPointerDependencyFrom()
392 return getSimplePointerDependencyFrom(MemLoc, isLoad, ScanIt, BB, QueryInst); in getPointerDependencyFrom()
450 BasicBlock *BB, Instruction *QueryInst) { in getSimplePointerDependencyFrom() argument
489 if (isLoad && QueryInst) { in getSimplePointerDependencyFrom()
490 LoadInst *LI = dyn_cast<LoadInst>(QueryInst); in getSimplePointerDependencyFrom()
542 if (!QueryInst) in getSimplePointerDependencyFrom()
545 if (isVolatile(QueryInst)) in getSimplePointerDependencyFrom()
555 if (!QueryInst) in getSimplePointerDependencyFrom()
559 if (auto *QueryLI = dyn_cast<LoadInst>(QueryInst)) { in getSimplePointerDependencyFrom()
562 } else if (auto *QuerySI = dyn_cast<StoreInst>(QueryInst)) { in getSimplePointerDependencyFrom()
565 } else if (QueryInst->mayReadOrWriteMemory()) { in getSimplePointerDependencyFrom()
629 if (!QueryInst) in getSimplePointerDependencyFrom()
633 if (auto *QueryLI = dyn_cast<LoadInst>(QueryInst)) { in getSimplePointerDependencyFrom()
636 } else if (auto *QuerySI = dyn_cast<StoreInst>(QueryInst)) { in getSimplePointerDependencyFrom()
639 } else if (QueryInst->mayReadOrWriteMemory()) { in getSimplePointerDependencyFrom()
732 MemDepResult MemoryDependenceAnalysis::getDependency(Instruction *QueryInst) { in getDependency() argument
733 Instruction *ScanPos = QueryInst; in getDependency()
736 MemDepResult &LocalCache = LocalDeps[QueryInst]; in getDependency()
748 RemoveFromReverseMap(ReverseLocalDeps, Inst, QueryInst); in getDependency()
751 BasicBlock *QueryParent = QueryInst->getParent(); in getDependency()
754 if (BasicBlock::iterator(QueryInst) == QueryParent->begin()) { in getDependency()
763 ModRefInfo MR = GetLocation(QueryInst, MemLoc, *TLI); in getDependency()
767 if (IntrinsicInst *II = dyn_cast<IntrinsicInst>(QueryInst)) in getDependency()
771 MemLoc, isLoad, ScanPos->getIterator(), QueryParent, QueryInst); in getDependency()
772 } else if (isa<CallInst>(QueryInst) || isa<InvokeInst>(QueryInst)) { in getDependency()
773 CallSite QueryCS(QueryInst); in getDependency()
784 ReverseLocalDeps[I].insert(QueryInst); in getDependency()
953 getNonLocalPointerDependency(Instruction *QueryInst, in getNonLocalPointerDependency() argument
955 const MemoryLocation Loc = MemoryLocation::get(QueryInst); in getNonLocalPointerDependency()
956 bool isLoad = isa<LoadInst>(QueryInst); in getNonLocalPointerDependency()
957 BasicBlock *FromBB = QueryInst->getParent(); in getNonLocalPointerDependency()
980 if (isVolatile(QueryInst) || isOrdered(QueryInst)) { in getNonLocalPointerDependency()
994 if (!getNonLocalPointerDepFromBB(QueryInst, Address, Loc, isLoad, FromBB, in getNonLocalPointerDependency()
1008 Instruction *QueryInst, const MemoryLocation &Loc, bool isLoad, in GetNonLocalInfoForBlock() argument
1049 QueryInst); in GetNonLocalInfoForBlock()
1122 Instruction *QueryInst, const PHITransAddr &Pointer, in getNonLocalPointerDepFromBB() argument
1159 return getNonLocalPointerDepFromBB(QueryInst, Pointer, in getNonLocalPointerDepFromBB()
1179 return getNonLocalPointerDepFromBB(QueryInst, in getNonLocalPointerDepFromBB()
1283 MemDepResult Dep = GetNonLocalInfoForBlock(QueryInst, in getNonLocalPointerDepFromBB()
1416 getNonLocalPointerDepFromBB(QueryInst, PredPointer, in getNonLocalPointerDepFromBB()