Lines Matching refs:BaseInst

369       Instruction *BaseInst;  member
892 const auto *ADR = dyn_cast<SCEVAddRecExpr>(SE->getSCEV(DRS.BaseInst)); in validateRootSet()
922 DRS.BaseInst = nullptr; in findRootsBase()
927 if (!DRS.BaseInst) { in findRootsBase()
928 DRS.BaseInst = KV.second; in findRootsBase()
941 DRS.BaseInst = KV.second; in findRootsBase()
1012 Exclude.insert(DRS.BaseInst); in collectUsedInstructions()
1018 collectInLoopUserSet(DRS.BaseInst, Exclude, PossibleRedSet, VBase); in collectUsedInstructions()
1052 Exclude.insert(DRS.BaseInst); in collectUsedInstructions()
1080 if (DRS.BaseInst == I) in isBaseInst()
1216 Instruction *BaseInst = BaseIt->first; in validate() local
1221 if (isBaseInst(BaseInst)) { in validate()
1222 Visited.insert(BaseInst); in validate()
1234 if (!BaseInst->isSameOperationAs(RootInst)) { in validate()
1248 !BaseInst->isSameOperationAs(TryIt->first) && in validate()
1257 << *BaseInst << " vs. " << *RootInst << "\n"); in validate()
1293 LLVM_DEBUG(dbgs() << "LRR: iteration root match failed at " << *BaseInst in validate()
1305 << *BaseInst << " vs. " << *RootInst in validate()
1315 if (FutureSideEffects && ((!isUnorderedLoadStore(BaseInst) && in validate()
1316 !isSafeToSpeculativelyExecute(BaseInst)) || in validate()
1319 LLVM_DEBUG(dbgs() << "LRR: iteration root match failed at " << *BaseInst in validate()
1335 bool InReduction = Reductions.isPairInSame(BaseInst, RootInst); in validate()
1337 if (!(InReduction && BaseInst->isAssociative())) { in validate()
1339 for (unsigned j = 0; j < BaseInst->getNumOperands(); ++j) { in validate()
1356 Op2 = DRS.BaseInst; in validate()
1362 if (BaseInst->getOperand(Swapped ? unsigned(!j) : j) != Op2) { in validate()
1368 if (!Swapped && BaseInst->isCommutative() && !SomeOpMatched && in validate()
1369 BaseInst->getOperand(!j) == Op2) { in validate()
1373 << "LRR: iteration root match failed at " << *BaseInst in validate()
1383 if ((!PossibleRedLastSet.count(BaseInst) && in validate()
1384 hasUsesOutsideLoop(BaseInst, L)) || in validate()
1387 LLVM_DEBUG(dbgs() << "LRR: iteration root match failed at " << *BaseInst in validate()
1392 Reductions.recordPair(BaseInst, RootInst, Iter); in validate()
1393 BaseMap.insert(std::make_pair(RootInst, BaseInst)); in validate()
1396 Visited.insert(BaseInst); in validate()
1420 cast<SCEVAddRecExpr>(SE->getSCEV(DRS.BaseInst)); in replace()
1477 Instruction *Inst = DRS.BaseInst; in replaceIV()