• Home
  • Raw
  • Download

Lines Matching refs:BaseInst

379       Instruction *BaseInst;  member
896 if (hasUsesOutsideLoop(DRS.BaseInst, L)) in validateRootSet()
908 const auto *ADR = dyn_cast<SCEVAddRecExpr>(SE->getSCEV(DRS.BaseInst)); in validateRootSet()
948 DRS.BaseInst = nullptr; in findRootsBase()
953 if (!DRS.BaseInst) { in findRootsBase()
954 DRS.BaseInst = KV.second; in findRootsBase()
967 DRS.BaseInst = KV.second; in findRootsBase()
1038 Exclude.insert(DRS.BaseInst); in collectUsedInstructions()
1044 collectInLoopUserSet(DRS.BaseInst, Exclude, PossibleRedSet, VBase); in collectUsedInstructions()
1078 Exclude.insert(DRS.BaseInst); in collectUsedInstructions()
1106 if (DRS.BaseInst == I) in isBaseInst()
1242 Instruction *BaseInst = BaseIt->first; in validate() local
1247 if (isBaseInst(BaseInst)) { in validate()
1248 Visited.insert(BaseInst); in validate()
1260 if (!BaseInst->isSameOperationAs(RootInst)) { in validate()
1274 !BaseInst->isSameOperationAs(TryIt->first) && in validate()
1283 << *BaseInst << " vs. " << *RootInst << "\n"); in validate()
1319 LLVM_DEBUG(dbgs() << "LRR: iteration root match failed at " << *BaseInst in validate()
1331 << *BaseInst << " vs. " << *RootInst in validate()
1341 if (FutureSideEffects && ((!isUnorderedLoadStore(BaseInst) && in validate()
1342 !isSafeToSpeculativelyExecute(BaseInst)) || in validate()
1345 LLVM_DEBUG(dbgs() << "LRR: iteration root match failed at " << *BaseInst in validate()
1361 bool InReduction = Reductions.isPairInSame(BaseInst, RootInst); in validate()
1363 if (!(InReduction && BaseInst->isAssociative())) { in validate()
1365 for (unsigned j = 0; j < BaseInst->getNumOperands(); ++j) { in validate()
1382 Op2 = DRS.BaseInst; in validate()
1388 if (BaseInst->getOperand(Swapped ? unsigned(!j) : j) != Op2) { in validate()
1394 if (!Swapped && BaseInst->isCommutative() && !SomeOpMatched && in validate()
1395 BaseInst->getOperand(!j) == Op2) { in validate()
1399 << "LRR: iteration root match failed at " << *BaseInst in validate()
1409 if ((!PossibleRedLastSet.count(BaseInst) && in validate()
1410 hasUsesOutsideLoop(BaseInst, L)) || in validate()
1413 LLVM_DEBUG(dbgs() << "LRR: iteration root match failed at " << *BaseInst in validate()
1418 Reductions.recordPair(BaseInst, RootInst, Iter); in validate()
1419 BaseMap.insert(std::make_pair(RootInst, BaseInst)); in validate()
1422 Visited.insert(BaseInst); in validate()
1446 cast<SCEVAddRecExpr>(SE->getSCEV(DRS.BaseInst)); in replace()
1503 Instruction *Inst = DRS.BaseInst; in replaceIV()