• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-12-stable/contrib/llvm-project/llvm/lib/Analysis/

Lines Matching refs:QueryInst

330     BasicBlock *BB, Instruction *QueryInst, unsigned *Limit,
333 if (QueryInst != nullptr) {
334 if (auto *LI = dyn_cast<LoadInst>(QueryInst)) {
342 MemLoc, isLoad, ScanIt, BB, QueryInst, Limit, OBB);
443 BasicBlock *BB, Instruction *QueryInst, unsigned *Limit,
453 // QueryInst is not a simple (non-atomic) memory access, we automatically
483 if (isLoad && QueryInst) {
484 LoadInst *LI = dyn_cast<LoadInst>(QueryInst);
555 if (!QueryInst)
556 // Original QueryInst *may* be volatile
558 if (isVolatile(QueryInst))
559 // Ordering required if QueryInst is itself volatile
569 if (!QueryInst || isNonSimpleLoadOrStore(QueryInst) ||
570 isOtherMemAccess(QueryInst))
622 if (!QueryInst || isNonSimpleLoadOrStore(QueryInst) ||
623 isOtherMemAccess(QueryInst))
634 if (!QueryInst || isNonSimpleLoadOrStore(QueryInst) ||
635 isOtherMemAccess(QueryInst))
715 MemDepResult MemoryDependenceResults::getDependency(Instruction *QueryInst,
717 Instruction *ScanPos = QueryInst;
720 MemDepResult &LocalCache = LocalDeps[QueryInst];
732 RemoveFromReverseMap(ReverseLocalDeps, Inst, QueryInst);
735 BasicBlock *QueryParent = QueryInst->getParent();
738 if (BasicBlock::iterator(QueryInst) == QueryParent->begin()) {
747 ModRefInfo MR = GetLocation(QueryInst, MemLoc, TLI);
751 if (auto *II = dyn_cast<IntrinsicInst>(QueryInst))
756 QueryParent, QueryInst, nullptr, OBB);
757 } else if (auto *QueryCall = dyn_cast<CallBase>(QueryInst)) {
768 ReverseLocalDeps[I].insert(QueryInst);
817 // << Cache.size() << " cached: " << *QueryInst;
819 // Seed DirtyBlocks with each of the preds of QueryInst's block.
870 // We're removing QueryInst's use of Inst.
876 // Find out if this block has a local dependency for QueryInst.
916 Instruction *QueryInst, SmallVectorImpl<NonLocalDepResult> &Result) {
917 const MemoryLocation Loc = MemoryLocation::get(QueryInst);
918 bool isLoad = isa<LoadInst>(QueryInst);
919 BasicBlock *FromBB = QueryInst->getParent();
927 auto NonLocalDefIt = NonLocalDefsCache.find(QueryInst);
931 .erase(QueryInst);
937 // Doing so would require piping through the QueryInst all the way through.
952 if (isVolatile(QueryInst) || isOrdered(QueryInst)) {
965 if (getNonLocalPointerDepFromBB(QueryInst, Address, Loc, isLoad, FromBB,
979 Instruction *QueryInst, const MemoryLocation &Loc, bool isLoad,
1019 getPointerDependencyFrom(Loc, isLoad, ScanPos, BB, QueryInst);
1094 Instruction *QueryInst, const PHITransAddr &Pointer,
1145 QueryInst, Pointer, Loc.getWithNewSize(CacheInfo->Size), isLoad,
1164 QueryInst, Pointer, Loc.getWithoutAATags(), isLoad, StartBB, Result,
1264 MemDepResult Dep = GetNonLocalInfoForBlock(QueryInst, Loc, isLoad, BB,
1400 !getNonLocalPointerDepFromBB(QueryInst, PredPointer,