Lines Matching refs:BaseInst

379       Instruction *BaseInst;  member
895 if (hasUsesOutsideLoop(DRS.BaseInst, L)) in validateRootSet()
907 const auto *ADR = dyn_cast<SCEVAddRecExpr>(SE->getSCEV(DRS.BaseInst)); in validateRootSet()
949 DRS.BaseInst = nullptr; in findRootsBase()
954 if (!DRS.BaseInst) { in findRootsBase()
955 DRS.BaseInst = KV.second; in findRootsBase()
968 DRS.BaseInst = KV.second; in findRootsBase()
1039 Exclude.insert(DRS.BaseInst); in collectUsedInstructions()
1045 collectInLoopUserSet(DRS.BaseInst, Exclude, PossibleRedSet, VBase); in collectUsedInstructions()
1079 Exclude.insert(DRS.BaseInst); in collectUsedInstructions()
1113 if (DRS.BaseInst == I) in isBaseInst()
1249 Instruction *BaseInst = BaseIt->first; in validate() local
1254 if (isBaseInst(BaseInst)) { in validate()
1255 Visited.insert(BaseInst); in validate()
1267 if (!BaseInst->isSameOperationAs(RootInst)) { in validate()
1281 !BaseInst->isSameOperationAs(TryIt->first) && in validate()
1290 << *BaseInst << " vs. " << *RootInst << "\n"); in validate()
1326 LLVM_DEBUG(dbgs() << "LRR: iteration root match failed at " << *BaseInst in validate()
1338 << *BaseInst << " vs. " << *RootInst in validate()
1348 if (FutureSideEffects && ((!isUnorderedLoadStore(BaseInst) && in validate()
1349 !isSafeToSpeculativelyExecute(BaseInst)) || in validate()
1352 LLVM_DEBUG(dbgs() << "LRR: iteration root match failed at " << *BaseInst in validate()
1368 bool InReduction = Reductions.isPairInSame(BaseInst, RootInst); in validate()
1370 if (!(InReduction && BaseInst->isAssociative())) { in validate()
1372 for (unsigned j = 0; j < BaseInst->getNumOperands(); ++j) { in validate()
1389 Op2 = DRS.BaseInst; in validate()
1395 if (BaseInst->getOperand(Swapped ? unsigned(!j) : j) != Op2) { in validate()
1401 if (!Swapped && BaseInst->isCommutative() && !SomeOpMatched && in validate()
1402 BaseInst->getOperand(!j) == Op2) { in validate()
1406 << "LRR: iteration root match failed at " << *BaseInst in validate()
1416 if ((!PossibleRedLastSet.count(BaseInst) && in validate()
1417 hasUsesOutsideLoop(BaseInst, L)) || in validate()
1420 LLVM_DEBUG(dbgs() << "LRR: iteration root match failed at " << *BaseInst in validate()
1425 Reductions.recordPair(BaseInst, RootInst, Iter); in validate()
1426 BaseMap.insert(std::make_pair(RootInst, BaseInst)); in validate()
1429 Visited.insert(BaseInst); in validate()
1453 cast<SCEVAddRecExpr>(SE->getSCEV(DRS.BaseInst)); in replace()
1510 Instruction *Inst = DRS.BaseInst; in replaceIV()