Lines Matching refs:SelI

622     bool matchLeftShift(SelectInst *SelI, Value *CIV, ParsedValues &PV);
623 bool matchRightShift(SelectInst *SelI, ParsedValues &PV);
683 bool PolynomialMultiplyRecognize::matchLeftShift(SelectInst *SelI, in matchLeftShift() argument
692 Value *CondV = SelI->getCondition(); in matchLeftShift()
693 Value *TrueV = SelI->getTrueValue(); in matchLeftShift()
694 Value *FalseV = SelI->getFalseValue(); in matchLeftShift()
766 if (!SelI->hasOneUse()) in matchLeftShift()
772 Value *U = *SelI->user_begin(); in matchLeftShift()
773 if (!match(U, m_c_Xor(m_Specific(SelI), m_Value(R)))) in matchLeftShift()
797 bool PolynomialMultiplyRecognize::matchRightShift(SelectInst *SelI, in matchRightShift() argument
806 Value *CondV = SelI->getCondition(); in matchRightShift()
807 Value *TrueV = SelI->getTrueValue(); in matchRightShift()
808 Value *FalseV = SelI->getFalseValue(); in matchRightShift()
867 bool PolynomialMultiplyRecognize::scanSelect(SelectInst *SelI, in scanSelect() argument
909 if (matchLeftShift(SelI, CIV, PV)) { in scanSelect()
918 if (SelI != RPhi->getIncomingValueForBlock(LoopB)) in scanSelect()
920 PV.Res = SelI; in scanSelect()
960 if (matchRightShift(SelI, PV)) { in scanSelect()
1828 SelectInst *SelI = (T && isa<SelectInst>(T)) ? cast<SelectInst>(T) : SI; in recognize() local
1829 LLVM_DEBUG(dbgs() << "scanSelect(pre-scan): " << PE(C, SelI) << '\n'); in recognize()
1830 if (scanSelect(SelI, LoopB, EntryB, CIV, PV, true)) { in recognize()
1832 if (SelI != SI) { in recognize()
1862 SelectInst *SelI = dyn_cast_or_null<SelectInst>(T); in recognize() local
1863 if (SelI != SI) { in recognize()
1879 SelectInst *SelI = dyn_cast<SelectInst>(&In); in recognize() local
1880 if (!SelI) in recognize()
1882 LLVM_DEBUG(dbgs() << "scanSelect: " << *SelI << '\n'); in recognize()
1883 FoundScan = scanSelect(SelI, LoopB, EntryB, CIV, PV, false); in recognize()