Lines Matching defs:CIV
622 bool matchLeftShift(SelectInst *SelI, Value *CIV, ParsedValues &PV);
625 Value *CIV, ParsedValues &PV, bool PreScan);
684 Value *CIV, ParsedValues &PV) {
711 if (match(A, m_Shl(m_One(), m_Specific(CIV)))) {
714 } else if (match(B, m_Shl(m_One(), m_Specific(CIV)))) {
784 if (!match(T, m_Shl(m_Value(Q), m_Specific(CIV))) &&
785 !match(T, m_Shl(m_ZExt(m_Value(Q)), m_ZExt(m_Specific(CIV)))))
868 BasicBlock *LoopB, BasicBlock *PrehB, Value *CIV, ParsedValues &PV,
909 if (matchLeftShift(SelI, CIV, PV)) {
1304 Value *CIV = getCountIV(LoopB);
1305 if (CIV == nullptr)
1307 auto *CIVTy = dyn_cast<IntegerType>(CIV->getType());
1429 // First, the shift amount will be CIV or CIV+1, depending on
1430 // whether the value is early or late. Instead of creating CIV+1,
1432 Value *ShAmt = CIV, *ShVal = Op;
1797 Value *CIV = getCountIV(LoopB);
1798 if (CIV == nullptr)
1803 LLVM_DEBUG(dbgs() << "Loop IV: " << *CIV << "\nIterCount: " << IterCount
1832 if (scanSelect(SelI, LoopB, EntryB, CIV, PV, true)) {
1885 FoundScan = scanSelect(SelI, LoopB, EntryB, CIV, PV, false);